JP5157613B2 - Image processing apparatus and application execution method - Google Patents

Image processing apparatus and application execution method Download PDF

Info

Publication number
JP5157613B2
JP5157613B2 JP2008109515A JP2008109515A JP5157613B2 JP 5157613 B2 JP5157613 B2 JP 5157613B2 JP 2008109515 A JP2008109515 A JP 2008109515A JP 2008109515 A JP2008109515 A JP 2008109515A JP 5157613 B2 JP5157613 B2 JP 5157613B2
Authority
JP
Japan
Prior art keywords
filter
condition
data
setting
document
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
JP2008109515A
Other languages
Japanese (ja)
Other versions
JP2009135872A (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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2008109515A priority Critical patent/JP5157613B2/en
Priority to US12/236,770 priority patent/US8462370B2/en
Publication of JP2009135872A publication Critical patent/JP2009135872A/en
Application granted granted Critical
Publication of JP5157613B2 publication Critical patent/JP5157613B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimiles In General (AREA)
  • Storing Facsimile Image Data (AREA)
  • Record Information Processing For Printing (AREA)

Description

本発明は、画像処理装置およびアプリケーション実行方法に関し、特に画像処理の対象とするデータを入力する複数種類の入力部と、該画像処理の結果を出力する複数種類の出力部とを備えた画像処理装置およびアプリケーション実行方法に関する。   The present invention relates to an image processing apparatus and an application execution method, and in particular, image processing including a plurality of types of input units that input data to be subjected to image processing and a plurality of types of output units that output the results of the image processing. The present invention relates to an apparatus and an application execution method.

近年におけるプリンタ、コピー機、スキャナ、ファクシミリ、またはこれらの機能を一台の筐体で実現する複合機等の画像処理装置では、メモリ等の制限は厳しいものの、汎用的なコンピュータと同様にCPUを備え、各機能はアプリケーションの制御によって実現されるようになっている。   In recent years, image processing apparatuses such as printers, copiers, scanners, facsimiles, or multi-function machines that implement these functions in a single housing, although the memory and the like are severely limited, a CPU is installed like a general-purpose computer. Each function is realized by application control.

例えば、特許文献1に記載された画像処理装置では、各アプリケーションから共通的に利用される機能をプラットフォームとして備えており、当該プラットフォームのAPI(Application Program Interface)を利用してアプリケーションを実装することができる。かかる画像処理装置によれば、共通的に利用される機能がプラットフォームとして備えられていることにより、アプリケーションごとに重複した機能の実装が回避され、アプリケーション全体の開発効率を向上させることができる。
特許第3679349号公報
For example, the image processing apparatus described in Patent Document 1 includes a function commonly used by each application as a platform, and an application can be implemented using an API (Application Program Interface) of the platform. it can. According to such an image processing apparatus, since a commonly used function is provided as a platform, it is possible to avoid the implementation of a duplicate function for each application, and to improve the development efficiency of the entire application.
Japanese Patent No. 3679349

しかしながら、一般的に、共通的に利用されるAPIを備えたプラットフォームについては、当該プラットフォームによって提供される機能またはインタフェースの粒度が適切に設計されていないと、アプリケーションの開発効率の向上が期待以上に図れない場合がある。   However, in general, for platforms with commonly used APIs, if the granularity of the functions or interfaces provided by the platform is not designed appropriately, the improvement of application development efficiency will exceed the expectation. It may not be possible.

例えば、当該粒度が小さ過ぎると、単純なサービスを提供するアプリケーションであるにもかかわらず、多くのAPIの呼び出しが必要とされ、そのソースコードは複雑なものとなってしまう。   For example, if the granularity is too small, many API calls are required even though the application provides a simple service, and the source code becomes complicated.

一方、当該粒度が大き過ぎると、あるインタフェースによって提供されている機能の一部について変更を加えたサービスを提供するアプリケーションを実装したい場合、当該プラットフォーム内を修正しなければならず、開発工数の増加を招いてしまいかねない。特に、プラットフォーム内における各モジュールの依存関係が強い場合は、プラットフォームに新規機能を追加するだけでなく、既存部分の修正も必要とされる場合があり、事態はより複雑となる。   On the other hand, if the granularity is too large, if you want to implement an application that provides a service that changes some of the functions provided by an interface, you must modify the platform and increase the development man-hours. May be invited. In particular, when the dependence of each module in the platform is strong, not only a new function is added to the platform but also a modification of an existing part may be required, and the situation becomes more complicated.

また、既存のアプリケーションによって提供されているサービスの一部(例えば、画像の入力処理)を変更したアプリケーションを実装したい場合、当該一部以外の部分については既存のアプリケーションを呼び出すといったようなことはできない。したがって、改めてソースコードを記述して新たなアプリケーションを実装しなければならない。   Also, if you want to implement an application that changes some of the services provided by an existing application (for example, image input processing), you cannot call an existing application for any other part. . Therefore, a new application must be implemented by rewriting the source code.

本発明は上記の従来の問題点に鑑み提案されたものであり、その目的とするところは、機能のカスタマイズまたは拡張等を簡便化させることのできる画像処理装置およびアプリケーション実行方法を提供することにある。   The present invention has been proposed in view of the above-described conventional problems, and an object of the present invention is to provide an image processing apparatus and an application execution method capable of simplifying customization or expansion of functions. is there.

また、文書の保管(蓄積)と同時に編集や印刷等の処理が行われる場合に、ユーザにより設定された編集や印刷等の条件を文書本体とともに保存し、保管文書の再利用時に編集や印刷等の条件を再現する要求に対し、コンポーネント間の強い依存が発生せず、ページ単位に付された条件についても正確に再現することのできる画像処理装置およびアプリケーション実行方法を提供することも目的とする。   Also, when processing such as editing or printing is performed at the same time as storing (accumulating) the document, the editing and printing conditions set by the user are saved together with the document body, and editing and printing are performed when the stored document is reused. Another object of the present invention is to provide an image processing apparatus and an application execution method capable of accurately reproducing the conditions assigned to each page without causing strong dependence between components in response to a request to reproduce the conditions of .

上記の課題を解決するため、本発明にあっては、請求項1に記載されるように、画像処理の対象とするデータを入力する一つ以上の入力部と、該画像処理の結果を出力する一つ以上の出力部と、前記入力部に応じて当該入力部からのデータの入力処理を制御する第一のフィルタと、前記出力部に応じて当該出力部への出力を制御する第二のフィルタとを備え、前記第一のフィルタと前記第二のフィルタとの接続によりアプリケーションが構築される画像処理装置であって、前記第一のフィルタおよび前記第二のフィルタに対してそれぞれ設定条件を設定し、当該設定条件の内容を管理しているフィルタに設定条件を保存させる設定手段と、保管文書の登録を指示する指示手段と、前記第一のフィルタおよび前記第二のフィルタにそれぞれ設けられ、前記指示手段による保管文書の登録が指示されると、前記設定手段により設定された設定条件をデータ管理手段に通知し、該設定条件ごとに付与された複数の条件IDを取得するID取得手段と、前記ID取得手段により取得した複数の条件IDを前記画像データと関連付けてともに保管する保管手段とを備える画像処理装置を要旨としている。 In order to solve the above-described problems, in the present invention, as described in claim 1, one or more input units for inputting data to be subjected to image processing, and the result of the image processing are output. One or more output units, a first filter that controls input processing of data from the input unit according to the input unit, and a second that controls output to the output unit according to the output unit And an image processing apparatus in which an application is constructed by connecting the first filter and the second filter, each of which is a setting condition for the first filter and the second filter. set, respectively a setting means for saving the filter criteria that manages the content of the setting condition, and instruction means for instructing registration of secure documents, the first filter and the second filter When the storage unit is instructed to register by the instruction unit, the setting condition set by the setting unit is notified to the data management unit, and an ID acquisition for acquiring a plurality of condition IDs assigned for each setting condition is obtained. The gist of the present invention is an image processing apparatus that includes a storage unit that stores a plurality of condition IDs acquired by the ID acquisition unit in association with the image data.

また、請求項2に記載されるように、請求項1に記載の画像処理装置において、前記設定条件は、画像データに対する編集条件または印刷条件であるものとすることができる。   According to a second aspect of the present invention, in the image processing apparatus according to the first aspect, the setting condition may be an editing condition or a printing condition for image data.

また、請求項3に記載されるように、請求項1または2のいずれか一項に記載の画像処理装置において、前記設定手段は、ページごとに設定条件を設定する手段であり、前記ID取得手段は、連続して入力するページごとの設定条件をチェックし、設定条件に変更がある場合のみ設定条件を前記データ管理手段に通知し、条件IDを取得するようにすることができる。   In addition, as described in claim 3, in the image processing device according to claim 1, the setting unit is a unit that sets a setting condition for each page, and the ID acquisition The means can check the setting condition for each page that is continuously input, notify the setting condition to the data management means only when the setting condition is changed, and acquire the condition ID.

また、請求項4に記載されるように、請求項1乃至3のいずれか一項に記載の画像処理装置において、前記保管手段は、ページごとに複数の条件IDを付加して保管するようにすることができる。   According to a fourth aspect of the present invention, in the image processing apparatus according to any one of the first to third aspects, the storage unit stores a plurality of condition IDs added to each page. can do.

また、請求項5に記載されるように、請求項1乃至4のいずれか一項に記載の画像処理装置において、前記保管手段に保管された画像データを特定する特定手段と、前記画像データから、画像データに関連付いている条件IDを読み出す条件ID読出手段と、読み出した条件IDを前記第一のフィルタおよび前記第二のフィルタに通知する通知手段と、前記第一のフィルタおよび前記第二のフィルタにそれぞれ設けられ、通知された条件IDを前記データ管理手段に通知し、該条件IDに紐付けられた設定条件を入手する入手手段と、入手した設定条件に基づき設定を復元する条件復元手段とを更に備えるようにすることができる。   According to a fifth aspect of the present invention, in the image processing apparatus according to any one of the first to fourth aspects, the specifying means for specifying the image data stored in the storage means, and the image data A condition ID reading means for reading a condition ID associated with the image data, a notification means for notifying the read condition ID to the first filter and the second filter, the first filter and the second filter Provided in each of the filters, the notified condition ID is notified to the data management means, the obtaining means for obtaining the setting condition associated with the condition ID, and the condition restoration for restoring the setting based on the obtained setting condition Means.

また、請求項6に記載されるように、画像処理の対象とするデータを入力する一つ以上の入力部と、該画像処理の結果を出力する一つ以上の出力部と、前記入力部に応じて当該入力部からのデータの入力処理を制御する第一のフィルタと、前記出力部に応じて当該出力部への出力を制御する第二のフィルタとを備え、前記第一のフィルタと前記第二のフィルタとの接続によりアプリケーションが構築される画像処理装置であって、前記第一のフィルタおよび前記第二のフィルタに対してそれぞれ設定条件を設定する設定手段と、保管文書の登録を指示する指示手段と、前記第一のフィルタおよび前記第二のフィルタにそれぞれ設けられ、前記指示手段による保管文書の登録が指示されると、前記設定手段により設定された設定条件をフィルタ内のデータ定義に依存しない条件データに変換する変換手段と、前記変換手段により生成した複数の条件データを前記画像データと関連付けてともに保管する保管手段とを備える画像処理装置として構成することができる。 According to a sixth aspect of the present invention, one or more input units that input data to be subjected to image processing, one or more output units that output the results of the image processing, and the input unit And a second filter for controlling the output to the output unit according to the output unit, the first filter and the An image processing apparatus in which an application is constructed by connecting to a second filter, and setting means for setting setting conditions for each of the first filter and the second filter, and instructions for registering stored documents filter and instruction means, respectively provided in the first filter and the second filter, the registration of a stored document by the instruction means is instructed, the setting condition set by said setting means Conversion means for converting the condition data in the data definition is independent, it is possible to configure multiple condition data generated by said converting means as an image processing apparatus and a both storing storage means in association with the image data.

また、請求項7に記載されるように、請求項6に記載の画像処理装置において、前記保管手段に保管された画像データを特定する特定手段と、前記画像データから、画像データに関連付いている条件データを読み出す条件データ読出手段と、読み出した条件データを前記第一のフィルタおよび前記第二のフィルタに通知する通知手段と、前記第一のフィルタおよび前記第二のフィルタにそれぞれ設けられ、通知された条件データをフィルタ内のデータ定義に依存しない条件データに変換する前の形式の設定条件に復元する条件復元手段とを更に備えるようにすることができる。 According to a seventh aspect of the present invention, in the image processing apparatus according to the sixth aspect, the specifying means for specifying the image data stored in the storage means and the image data are related to the image data. Condition data reading means for reading out the condition data, notification means for notifying the read condition data to the first filter and the second filter, and the first filter and the second filter, It is possible to further comprise condition restoring means for restoring the notified condition data to a setting condition in a format before conversion into condition data independent of the data definition in the filter .

また、請求項8〜11に記載されるように、アプリケーション実行方法として構成することができる。   Moreover, as described in claims 8 to 11, it can be configured as an application execution method.

本発明の画像処理装置およびアプリケーション実行方法にあっては、機能のカスタマイズまたは拡張等を簡便化させることのできる画像処理装置およびアプリケーション実行方法を提供することができる。また、ユーザにより設定された編集や印刷等の条件を文書本体とともに保存し、保管文書の再利用時に編集や印刷等の条件を再現する要求に対し、コンポーネント間の強い依存が発生せず、ページ単位に付された条件についても正確に再現することができる。   In the image processing apparatus and the application execution method of the present invention, it is possible to provide an image processing apparatus and an application execution method capable of simplifying customization or expansion of functions. In addition, there is no strong dependency between components in response to a request to save the editing and printing conditions set by the user together with the document body and to reproduce the editing and printing conditions when the stored document is reused. The conditions attached to the units can also be accurately reproduced.

以下、本発明の好適な実施形態につき説明する。   Hereinafter, preferred embodiments of the present invention will be described.

<第1の実施形態>
図1は第1の実施形態における複合機のソフトウェア構成例を示す図である。ここで、複合機とは、プリンタ、コピー、スキャナ、またはFAX等の複数の機能を一台の筐体において実現する画像処理装置をいう。
<First Embodiment>
FIG. 1 is a diagram illustrating a software configuration example of a multifunction machine according to the first embodiment. Here, the multifunction peripheral refers to an image processing apparatus that realizes a plurality of functions such as a printer, a copy, a scanner, or a FAX in a single casing.

図1に示されるように、複合機1におけるソフトウェアは、ユーザインタフェース層10、コントロール層20、アプリケーションロジック層30、デバイスサービス層40、およびデバイス制御層50等より構成される。なお、図中における各層の上下関係は、層間の呼び出し関係に基づいている。すなわち、基本的に図中において上にある層が下の層を呼び出す。   As shown in FIG. 1, the software in the multifunction device 1 includes a user interface layer 10, a control layer 20, an application logic layer 30, a device service layer 40, a device control layer 50, and the like. In addition, the vertical relationship of each layer in the drawing is based on the calling relationship between layers. That is, basically, the upper layer in the figure calls the lower layer.

ユーザインタフェース層10は、機能(例えば、コピー、印刷、スキャン、FAX送信)の実行要求を受け付けるための機能が実装されている部分であり、例えば、通信サーバ部11およびローカルUI部12等が含まれる。通信サーバ部11は、例えば、図示しないクライアントPC(Personal Computer)等からネットワーク経由で要求を受け付ける。ローカルUI部12は、例えば、図示しないオペレーションパネルを介して入力される要求を受け付ける。ユーザインタフェース層10において受け付けられた要求は、コントロール層20に伝えられる。   The user interface layer 10 is a part on which a function for receiving an execution request for a function (for example, copying, printing, scanning, FAX transmission) is implemented, and includes, for example, the communication server unit 11 and the local UI unit 12. It is. The communication server unit 11 receives a request via a network from, for example, a client PC (Personal Computer) (not shown). For example, the local UI unit 12 receives a request input via an operation panel (not shown). The request accepted by the user interface layer 10 is transmitted to the control layer 20.

コントロール層20は、要求された機能を実現するための処理を制御するための機能が実装されている部分である。具体的には、要求された機能に応じて、アプリケーションロジック層30における各フィルタを接続し、接続されたフィルタに基づいて機能の実行を制御する。なお、本実施形態において「複合機1の機能」とは、複合機1がユーザに対して提供する一つのまとまった単位(要求が入力されて最終的な出力が得られるまで)のサービスと同義であり、ソフトウェア的には一つのまとまった単位のサービスを提供するアプリケーションと同義である。
アプリケーションロジック層30は、それぞれが複合機1において提供される機能の一部を実現する部品群が実装されている部分である。すなわち、アプリケーションロジック層30における部品を組み合わせることにより一つの機能が実現される。ここでは、各部品を「フィルタ」と呼ぶ。これは、複合機1のソフトウェアアーキテクチャが「パイプ&フィルタ」と呼ばれる考え方に基づくことによる。
The control layer 20 is a part on which a function for controlling processing for realizing the requested function is mounted. Specifically, each filter in the application logic layer 30 is connected according to the requested function, and the execution of the function is controlled based on the connected filter. In the present embodiment, the “function of the multifunction device 1” is synonymous with a service of a single unit provided by the multifunction device 1 to the user (until a request is input and a final output is obtained). In terms of software, it is synonymous with an application that provides a single unit of service.
The application logic layer 30 is a part on which a group of components that implement some of the functions provided in the multifunction device 1 is mounted. That is, one function is realized by combining components in the application logic layer 30. Here, each component is called a “filter”. This is because the software architecture of the multifunction device 1 is based on a concept called “pipe & filter”.

図2はパイプ&フィルタの概念を説明するための図である。図2において、「F」はフィルタを示し、「P」はパイプを示す。図中に示されるように、各フィルタはパイプによって接続される。フィルタは、入力されたデータに対して変換を施し、その結果を出力する。パイプは、フィルタから出力されたデータを次のフィルタに伝達する。   FIG. 2 is a diagram for explaining the concept of the pipe and filter. In FIG. 2, “F” indicates a filter, and “P” indicates a pipe. As shown in the figure, each filter is connected by a pipe. The filter converts the input data and outputs the result. The pipe transmits the data output from the filter to the next filter.

すなわち、本実施形態における複合機1では、各機能をドキュメント(データ)に対する「変換」の連続として捉える。複合機の各機能は、ドキュメントの入力、加工、および出力によって構成されるものとして一般化することができる。そこで「入力」、「加工」、および「出力」を「変換」として捉え、一つの「変換」を実現するソフトウェア部品がフィルタとして構成される。入力を実現するフィルタを特に「入力フィルタ」という。また、加工を実現するフィルタを特に「変換フィルタ」という。更に、出力を実現するフィルタを特に「出力フィルタ」という。なお、各フィルタは独立しており、フィルタ間における依存関係(呼び出し関係)は基本的に存在しない。したがって、フィルタ単位で追加(インストール)または削除(アンインストール)が可能とされている。   That is, in the MFP 1 according to the present embodiment, each function is regarded as a series of “conversions” for documents (data). Each function of the multi-function peripheral can be generalized as being configured by document input, processing, and output. Therefore, “input”, “processing”, and “output” are regarded as “conversion”, and a software component that realizes one “conversion” is configured as a filter. A filter that realizes input is particularly called an “input filter”. A filter that realizes processing is particularly referred to as a “conversion filter”. Further, a filter that realizes output is particularly referred to as an “output filter”. Each filter is independent, and basically there is no dependency relationship (call relationship) between the filters. Therefore, addition (installation) or deletion (uninstallation) is possible in units of filters.

図1に戻り、アプリケーションロジック層30には、入力フィルタとして、読取フィルタ301、保管文書読出フィルタ302、メール受信フィルタ303、FAX受信フィルタ304、PC文書受信フィルタ305、レポートフィルタ306等が含まれている。   Returning to FIG. 1, the application logic layer 30 includes a read filter 301, a stored document read filter 302, a mail reception filter 303, a FAX reception filter 304, a PC document reception filter 305, a report filter 306, and the like as input filters. Yes.

読取フィルタ301は、スキャナによる画像データの読み取りを制御し、読み取られた画像データを出力する。保管文書読出フィルタ302は、複合機1の記憶装置に保管されている文書データ(画像データ)を読み出し、読み出されたデータを出力する。メール受信フィルタ303は、電子メールの受信し、当該電子メールに含まれているデータを出力する。FAX受信フィルタ304は、FAX受信を制御し、受信されたデータを出力する。PC文書受信フィルタ305は、図示しないクライアントPCから印刷データを受信し、受信された印刷データを出力する。レポートフィルタ306は、複合機1の設定情報や履歴情報等を、例えば表形式に整形されたデータとして出力する。   The reading filter 301 controls reading of image data by the scanner and outputs the read image data. The stored document read filter 302 reads document data (image data) stored in the storage device of the multifunction device 1 and outputs the read data. The mail reception filter 303 receives an email and outputs data included in the email. The FAX reception filter 304 controls FAX reception and outputs received data. The PC document reception filter 305 receives print data from a client PC (not shown) and outputs the received print data. The report filter 306 outputs setting information, history information, and the like of the multifunction device 1 as data formatted in, for example, a table format.

また、変換フィルタとしては、文書加工フィルタ311および文書変換フィルタ312等が含まれている。文書加工フィルタ311は、入力されたデータに所定の画像変換処理(集約、拡大、または縮小等)を施し、出力する。文書変換フィルタ312は、レンダリング処理を実行する。すなわち、入力されたPostScriptデータをビットマップデータに変換して出力する。   Further, the conversion filters include a document processing filter 311 and a document conversion filter 312. The document processing filter 311 performs predetermined image conversion processing (aggregation, enlargement, reduction, etc.) on the input data and outputs it. The document conversion filter 312 executes a rendering process. That is, the input PostScript data is converted into bitmap data and output.

また、出力フィルタとしては、印刷フィルタ321、保管文書登録フィルタ322、メール送信フィルタ323、FAX送信フィルタ324、PC文書送信フィルタ325、およびプレビューフィルタ326等が含まれている。   The output filters include a print filter 321, a stored document registration filter 322, a mail transmission filter 323, a FAX transmission filter 324, a PC document transmission filter 325, a preview filter 326, and the like.

印刷フィルタ321は、入力されたデータをプロッタに出力(印刷)させる。保管文書登録フィルタ322は、入力されたデータを複合機1内のハードディスク内に保存する。メール送信フィルタ323は、入力されたデータを電子メールに添付して送信する。FAX送信フィルタ324は、入力されたデータをFAX送信する。PC文書送信フィルタ325は、入力されたデータをクライアントPCに送信する。プレビューフィルタ326は、入力されたデータを、複合機1のオペレーションパネルにプレビュー表示させる。   The print filter 321 causes the plotter to output (print) the input data. The stored document registration filter 322 stores the input data in the hard disk in the multifunction device 1. The mail transmission filter 323 transmits the input data attached to the e-mail. The FAX transmission filter 324 transmits the input data by FAX. The PC document transmission filter 325 transmits the input data to the client PC. The preview filter 326 displays the input data on the operation panel of the multifunction device 1 as a preview.

一方、アプリケーションロジック層30は、コピーアクティビティ31a、プリンタアクティビティ31b、およびマルチ文書アクティビティ31c等のアクティビティ31を含む。ここで、「アクティビティ」とは、予め固定的に定義されたフィルタの組み合わせによって、一つの「機能」(複合機1がユーザに対して提供する一つのまとまった単位のサービスまたはアプリケーション)を実現するソフトウェアである。   On the other hand, the application logic layer 30 includes activities 31 such as a copy activity 31a, a printer activity 31b, and a multi-document activity 31c. Here, the “activity” realizes one “function” (one unit of service or application provided to the user by the multifunction device 1) by a combination of filters fixedly defined in advance. Software.

すなわち、ユーザに各フィルタを個々に選択させることで「複合機1の機能」を組み立てることができるが、コピーのように頻繁に利用する機能については、毎回フィルタの選択によって実行指示を行うのはユーザにとって煩雑である。そこで、フィルタの組み合わせをアクティビティ31として予め定義しておくことで、ユーザが、アクティビティ31を単位として実行対象を選択すると、選択されたアクティビティ31は、当該アクティビティ31に定義された組み合わせに係る各フィルタを自動的に実行させる。これにより、操作の煩雑さを解消することができるとともに、アプリケーション単位で実行対象を選択していた従来のユーザインタフェースと同様の操作感を提供することができる。   That is, it is possible to assemble “functions of the MFP 1” by allowing the user to select each filter individually. However, for functions that are frequently used such as copying, the execution instruction is performed by selecting the filter every time. It is cumbersome for the user. Therefore, by defining a combination of filters in advance as an activity 31, when the user selects an execution target in units of the activity 31, the selected activity 31 includes each filter related to the combination defined in the activity 31. Is automatically executed. Accordingly, it is possible to eliminate the complexity of the operation and to provide the same operational feeling as that of the conventional user interface in which the execution target is selected in units of applications.

図1において、コピーアクティビティ31aは、読取フィルタ301と、文書加工フィルタ311と、印刷フィルタ321との組み合わせにより、コピー機能(コピーアプリケーション)を実現するアクティビティ31である。   In FIG. 1, a copy activity 31 a is an activity 31 that realizes a copy function (copy application) by combining a reading filter 301, a document processing filter 311, and a print filter 321.

プリンタアクティビティ31bは、PC文書受信フィルタ305と、文書変換フィルタ312と、印刷フィルタ321との組み合わせにより、印刷機能(プリンタアプリケーション)を実現するアクティビティ31である。   The printer activity 31 b is an activity 31 that realizes a print function (printer application) by combining the PC document reception filter 305, the document conversion filter 312, and the print filter 321.

マルチ文書アクティビティ31cは、入力フィルタ、変換フィルタ、および出力フィルタのそれぞれについて、自由な組み合わせが可能なアクティビティ31である。   The multi-document activity 31c is an activity 31 in which any combination of the input filter, the conversion filter, and the output filter is possible.

なお、各アクティビティ31は独立しており、アクティビティ31間における依存関係(呼び出し関係)は基本的に存在しない。したがって、アクティビティ31単位で追加(インストール)または削除(アンインストール)が可能である。よって、図1に示されているアクティビティ31以外にも、必要に応じて各種のフィルタの組み合わせによるアクティビティ31を作成し、インストールすることができる。   Each activity 31 is independent, and there is basically no dependency relationship (call relationship) between the activities 31. Therefore, addition (installation) or deletion (uninstallation) can be performed in units of activities 31. Therefore, in addition to the activity 31 shown in FIG. 1, it is possible to create and install an activity 31 by combining various filters as necessary.

一方、デバイスサービス層40は、アプリケーションロジック層30における各フィルタから共通に利用される下位機能が実装されている部分であり、例えば、画像パイプ41およびデータ管理部42等が含まれる。画像パイプ41は、上述したパイプの機能を実現する。すなわち、あるフィルタからの出力データを次のフィルタに伝達する。データ管理部42は、各種のデータベースを表現する。例えば、ユーザ情報が登録されたデータベースや、文書または画像データ等が蓄積されるデータベース等が相当する。   On the other hand, the device service layer 40 is a portion in which lower functions commonly used by the filters in the application logic layer 30 are mounted, and includes, for example, an image pipe 41 and a data management unit 42. The image pipe 41 realizes the above-described pipe function. That is, output data from one filter is transmitted to the next filter. The data management unit 42 represents various databases. For example, it corresponds to a database in which user information is registered, a database in which documents, image data, or the like is stored.

デバイス制御層50は、デバイス(ハードウェア)を制御するドライバと呼ばれるプログラムモジュール群が実装されている部分であり、例えば、スキャナ制御部51、プロッタ制御部52、メモリ制御部53、Tel回線制御部54、およびネットワーク制御部55等が含まれる。各制御部は、当該制御部の名前に付けられているデバイスを制御する。   The device control layer 50 is a part in which a program module group called a driver that controls a device (hardware) is mounted. For example, a scanner control unit 51, a plotter control unit 52, a memory control unit 53, a Tel line control unit. 54, a network control unit 55, and the like. Each control unit controls a device attached to the name of the control unit.

図3は複合機1のハードウェア構成の一例を示す図である。複合機1のハードウェアとしては、コントローラ201と、オペレーションパネル202と、ファクシミリコントロールユニット(FCU)203と、撮像部121と、印刷部122が存在する。   FIG. 3 is a diagram illustrating an example of a hardware configuration of the multifunction machine 1. As hardware of the multifunction machine 1, there are a controller 201, an operation panel 202, a facsimile control unit (FCU) 203, an imaging unit 121, and a printing unit 122.

コントローラ201は、CPU211、ASIC212、NB221、SB222、MEM−P231、MEM−C232、HDD(ハードディスクドライブ)233、メモリカードスロット234、NIC(ネットワークインタフェースコントローラ)241、USBデバイス242、IEEE1394デバイス243、セントロニクスデバイス244により構成される。   The controller 201 includes a CPU 211, ASIC 212, NB221, SB222, MEM-P231, MEM-C232, HDD (hard disk drive) 233, memory card slot 234, NIC (network interface controller) 241, USB device 242, IEEE 1394 device 243, and Centronics device. 244.

CPU211は、種々の情報処理用のIC(Integrated Circuit)である。ASIC212は、種々の画像処理用のICである。NB221は、コントローラ201のノースブリッジである。SB222は、コントローラ201のサウスブリッジである。MEM−P231は、複合機1のシステムメモリである。MEM−C232は、複合機1のローカルメモリである。HDD233は、複合機1のストレージである。メモリカードスロット234は、メモリカード235をセットするためのスロットである。NIC241は、MACアドレスによるネットワーク通信用のコントローラである。USBデバイス242は、USB規格の接続端子を提供するためのデバイスである。IEEE1394デバイス243は、IEEE1394規格の接続端子を提供するためのデバイスである。セントロニクスデバイス244は、セントロニクス仕様の接続端子を提供するためのデバイスである。オペレーションパネル202は、オペレータが複合機1に入力を行うためのハードウェア(操作部)であると共に、オペレータが複合機1から出力を得るためのハードウェア(表示部)である。   The CPU 211 is an IC (Integrated Circuit) for various information processing. The ASIC 212 is an IC for various image processing. The NB 221 is a north bridge of the controller 201. The SB 222 is a south bridge of the controller 201. The MEM-P 231 is a system memory of the multifunction machine 1. The MEM-C 232 is a local memory of the multifunction machine 1. The HDD 233 is a storage of the multifunction device 1. The memory card slot 234 is a slot for setting the memory card 235. The NIC 241 is a controller for network communication using a MAC address. The USB device 242 is a device for providing a USB standard connection terminal. The IEEE 1394 device 243 is a device for providing a connection terminal of the IEEE 1394 standard. The Centronics device 244 is a device for providing a Centronics specification connection terminal. The operation panel 202 is hardware (operation unit) for an operator to input to the multifunction device 1 and hardware (display unit) for an operator to obtain an output from the multifunction device 1.

なお、図1に示されるソフトウェアは、例えば、MEM−C232に格納され、CPU211によって処理されることによりその機能を複合機1に実行させる。   The software shown in FIG. 1 is stored in, for example, the MEM-C 232 and is processed by the CPU 211 to cause the multifunction device 1 to execute the function.

以下、アクティビティおよびフィルタについて更に詳しく説明する。図4はアクティビティの構成要素を説明するための図である。図4に示されるように、アクティビティ31は、アクティビティUI、アクティビティロジック、および永続記憶領域情報等より構成される。   Hereinafter, the activity and the filter will be described in more detail. FIG. 4 is a diagram for explaining the components of the activity. As shown in FIG. 4, the activity 31 includes an activity UI, activity logic, permanent storage area information, and the like.

アクティビティUIは、アクティビティ31に関する画面(例えば、アクティビティ31の実行条件等を設定させるための設定画面)をオペレーションパネル等に表示させるための情報またはプログラムである。   The activity UI is information or a program for displaying a screen related to the activity 31 (for example, a setting screen for setting an execution condition or the like of the activity 31) on the operation panel or the like.

アクティビティロジックは、アクティビティ31の処理内容が実装されたプログラムである。基本的に、アクティビティロジックには、フィルタの組み合わせに関するロジック(例えば、フィルタの実行順、複数のフィルタに跨る設定、フィルタの接続変更、エラー処理等)が実装されている。   The activity logic is a program in which the processing content of the activity 31 is implemented. Basically, logic related to a combination of filters (for example, filter execution order, setting across a plurality of filters, filter connection change, error processing, etc.) is mounted in the activity logic.

永続記憶領域情報は、アクティビティ31に対する設定情報(例えば、実行条件のデフォルト値)等、不揮発メモリに保存する必要があるデータのスキーマ定義が相当する。当該スキーマ定義は、アクティビティ31のインストール時にデータ管理部42に登録される。   The permanent storage area information corresponds to a schema definition of data that needs to be saved in the nonvolatile memory, such as setting information (for example, default values of execution conditions) for the activity 31. The schema definition is registered in the data management unit 42 when the activity 31 is installed.

図5はフィルタの構成要素を説明するための図である。図5に示されるように、各フィルタは、フィルタ設定用UI、フィルタロジック、フィルタ固有下位サービス、および永続記憶領域情報等より構成される。このうち、フィルタ設定用UI、フィルタ固有下位サービス、および永続記憶領域情報については、フィルタによって必ずしも構成要素に含まれない。   FIG. 5 is a diagram for explaining the components of the filter. As shown in FIG. 5, each filter includes a filter setting UI, filter logic, a filter-specific lower service, permanent storage area information, and the like. Among these, the filter setting UI, the filter-specific lower service, and the permanent storage area information are not necessarily included in the constituent elements by the filter.

フィルタ設定用UIは、フィルタの実行条件等を設定させるための画面をオペレーションパネル等に表示させるプログラムである。例えば、読取フィルタ301であれば、解像度、濃度、画像種別等を設定させる画面が相当する。なお、オペレーションパネルの表示がHTMLデータや、スクリプトに基づいて行われ得ることに鑑みれば、フィルタ設定用UIはHTMLデータやスクリプトであってもよい。   The filter setting UI is a program for displaying a screen for setting filter execution conditions and the like on an operation panel or the like. For example, the reading filter 301 corresponds to a screen for setting resolution, density, image type, and the like. In view of the fact that the operation panel can be displayed based on HTML data or a script, the filter setting UI may be HTML data or a script.

フィルタロジックは、フィルタの機能を実現するためロジックが実装されたプログラムである。すなわち、フィルタの構成要素としてのフィルタ固有下位サービスや、デバイスサービス層40またはデバイス制御層50等を利用して、フィルタ設定用UIを介して設定された実行条件に応じてフィルタの機能を実現する。例えば、読取フィルタ301であれば、スキャナによる原稿の読み取り制御のためのロジックが相当する。   The filter logic is a program in which logic is implemented to realize a filter function. That is, the filter function is realized according to the execution condition set through the filter setting UI by using the filter-specific lower-level service as the component of the filter, the device service layer 40 or the device control layer 50, and the like. . For example, in the case of the reading filter 301, the logic for reading control of the document by the scanner corresponds.

フィルタ固有下位サービスは、フィルタロジックを実現するために必要な下位機能(ライブラリ)である。すなわち、デバイスサービス層40またはデバイス制御層50相当する機能であるが、他のフィルタから使用されないものについては、フィルタの一部として実装されてもよく、当該一部がフィルタ固有下位サービスに相当する。例えば、読取フィルタ301であれば、スキャナを制御するための機能が相当するが、本実施形態では、デバイス制御層50においてスキャナ制御部51として実装されている。したがって、読取フィルタ301において、フィルタ固有下位サービスの実装は必ずしも必要ではない。   The filter-specific lower service is a lower function (library) necessary for realizing the filter logic. In other words, the functions corresponding to the device service layer 40 or the device control layer 50, but those not used by other filters may be implemented as a part of the filter, and the part corresponds to the filter-specific lower service. . For example, the reading filter 301 corresponds to a function for controlling the scanner, but in the present embodiment, it is implemented as the scanner control unit 51 in the device control layer 50. Therefore, it is not always necessary to implement the filter-specific lower service in the reading filter 301.

永続記憶領域情報は、フィルタに対する設定情報(例えば、実行条件のデフォルト値)等、不揮発メモリに保存する必要があるデータのスキーマ定義が相当する。当該スキーマ定義は、フィルタのインストール時にデータ管理部42に登録される。   The permanent storage area information corresponds to a schema definition of data that needs to be stored in a nonvolatile memory, such as setting information for a filter (for example, default value of execution condition). The schema definition is registered in the data management unit 42 when the filter is installed.

図6は複合機1における各機能を実現するためのフィルタの組み合わせの例を示す図である。例えば、コピー機能は、読取フィルタ301と印刷フィルタ321とを接続することにより実現される。読取フィルタ301によって原稿より読み取られた画像データを印刷フィルタ321によって印刷すればよいからである。なお、集約、拡大、または縮小等の加工が要求された場合は、これらの加工を実現する文書加工フィルタ311が二つのフィルタの間に挿入される。   FIG. 6 is a diagram illustrating an example of a combination of filters for realizing each function in the multifunction machine 1. For example, the copy function is realized by connecting the reading filter 301 and the print filter 321. This is because the image data read from the original by the reading filter 301 may be printed by the print filter 321. When processing such as aggregation, enlargement, or reduction is requested, a document processing filter 311 that realizes these processing is inserted between the two filters.

プリンタ機能(クライアントPCからの印刷機能)は、PC文書受信フィルタ305と文書変換フィルタ312と印刷フィルタ321とを接続することにより実現される。スキャンto email機能(スキャンした画像データを電子メールで転送する機能)は、読取フィルタ301とメール送信フィルタ323とを接続することによって実現される。FAX送信機能は、読取フィルタ301とFAX送信フィルタ324とを接続することによって実現される。FAX受信機能は、FAX受信フィルタ304と印刷フィルタ321とを接続することによって実現される。ドキュメントボックス蓄積機能(スキャンした画像データを複合機1内に保存する機能)は、読取フィルタ301と保管文書登録フィルタ322とを接続することによって実現される。ドキュメントボックス印刷機能(複合機1内に保存されている文書データを印刷する機能)は、保管文書読出フィルタ302と印刷フィルタ321とを接続することにより実現される。   The printer function (printing function from the client PC) is realized by connecting the PC document reception filter 305, the document conversion filter 312, and the print filter 321. A scan-to-email function (a function for transferring scanned image data by e-mail) is realized by connecting a reading filter 301 and a mail transmission filter 323. The FAX transmission function is realized by connecting the reading filter 301 and the FAX transmission filter 324. The FAX reception function is realized by connecting the FAX reception filter 304 and the print filter 321. A document box storage function (a function of storing scanned image data in the multifunction machine 1) is realized by connecting the reading filter 301 and the stored document registration filter 322. A document box printing function (a function of printing document data stored in the multifunction device 1) is realized by connecting the stored document reading filter 302 and the print filter 321.

図6において、例えば、読取フィルタ301については4つの機能(コピー、スキャンto email、FAX送信、ドキュメントボックス蓄積)において利用されている。このように、各フィルタは複数の機能から利用可能であり、それによって各機能を実現するための開発工数を削減することができる。例えば、コピー機能とスキャン機能(ドキュメントボックス蓄積)について、その実行条件を設定させるためのユーザインタフェースは類似しているものであった。しかし、各機能をアプリケーションによって実装する場合には、アプリケーションごとに個別にユーザインタフェースの実装も行われていた。しかし、本実施形態では、コピー機能およびスキャン機能のいずれの場合も、読取フィルタ301のユーザインタフェースによって設定が行われ、ユーザインタフェースの共通化をも図ることができる。   In FIG. 6, for example, the read filter 301 is used in four functions (copy, scan to email, FAX transmission, document box accumulation). Thus, each filter can be used from a plurality of functions, thereby reducing the number of development steps for realizing each function. For example, the user interface for setting the execution conditions for the copy function and the scan function (document box accumulation) is similar. However, when each function is implemented by an application, a user interface has also been individually implemented for each application. However, in this embodiment, setting is performed by the user interface of the reading filter 301 in both the copy function and the scan function, and the user interface can be shared.

更に、新たな機能を実現する場合について考える。まず、機能#1として、複合機1では対応していないPDL(Page Description Language)(以下、「他PDL」という。)によってクライアントPCから送信される印刷データを印刷する機能を実現する場合について考える。この場合、図6におけるプリンタ機能を雛形とすることができる。ただし、プリンタ機能では、PC文書受信フィルタ305により出力されるデータがPostScript形式であることが前提とされている。文書変換フィルタ312が入力データとして扱えるのはPostScript形式のデータだからである。しかし、機能#1の場合、PC文書受信フィルタ305によって受信され、当該フィルタより出力されるのは他PDL形式のデータである。したがって、このまま文書変換フィルタ312に転送しても文書変換フィルタ312は適切に処理を実行することができない。そこで、他PDL形式からPostScript形式へのデータ変換を実行する変換フィルタ(以下「他PDL−PS変換フィルタ」という。)を新たに実装し、当該フィルタをPC文書受信フィルタ305と文書変換フィルタ312との間に挿入すれば、機能#1を実現することができる。すなわち、機能#1は、PC文書受信フィルタ305と他PDL−PS変換フィルタと文書変換フィルタ312と印刷フィルタ321とを接続することにより実現される。   Further, consider the case of realizing a new function. First, let us consider a case where a function for printing print data transmitted from a client PC by PDL (Page Description Language) (hereinafter referred to as “other PDL”) that is not supported by the multifunction device 1 is realized as the function # 1. . In this case, the printer function in FIG. 6 can be used as a model. However, in the printer function, it is assumed that the data output from the PC document reception filter 305 is in the PostScript format. The document conversion filter 312 can handle it as input data because it is data in PostScript format. However, in the case of function # 1, it is data in another PDL format that is received by the PC document reception filter 305 and output from the filter. Accordingly, even if the document conversion filter 312 is transferred as it is, the document conversion filter 312 cannot appropriately execute the process. Therefore, a conversion filter (hereinafter referred to as “other PDL-PS conversion filter”) that performs data conversion from another PDL format to PostScript format is newly implemented, and the filter is a PC document reception filter 305 and a document conversion filter 312. If it is inserted between the two, function # 1 can be realized. That is, the function # 1 is realized by connecting the PC document reception filter 305, another PDL-PS conversion filter, the document conversion filter 312, and the print filter 321.

次に、機能#2として、Webサイトから情報を収集し、収集された情報を印刷する機能を実現する場合について考える。この場合、Webサイトから情報を収集するフィルタが存在しない。したがって、少なくともWebサイトから情報を収集する入力フィルタ(以下「Web収集フィルタ」という。)を新たに実装する必要がある。また、機能#2では最終的に印刷を実行させたいので、出力フィルタとしては印刷フィルタ321を用いるのが適切である。ここで問題となるのが、Web収集フィルタと印刷フィルタ321との間をどのように接続するかである。すなわち、印刷フィルタ321の入力データはレンダリングされたビットマップである必要があるところ、Web収集フィルタ内にレンダリング機能を実装するのは非常に工数がかかるので適切ではない。そこで、既にレンダリング機能を実現する文書変換フィルタ312を利用することが考えられる。ただし、文書変換フィルタ312の入力データは、PostScript形式である必要がある。そこで、Web収集フィルタを、収集した情報をPostScript形式によって出力するように実装すれば、文書変換フィルタ312との接続が可能となる。このようにWeb収集フィルタを実装することにより、機能#2は、Web収集フィルタと文書変換フィルタ312と、文書変換フィルタ312と印刷フィルタ321との接続により実現される。   Next, consider the case of realizing a function of collecting information from a Web site and printing the collected information as function # 2. In this case, there is no filter that collects information from the Web site. Therefore, it is necessary to newly implement an input filter for collecting information from at least a website (hereinafter referred to as “Web collection filter”). In function # 2, since it is desired to execute printing finally, it is appropriate to use the print filter 321 as the output filter. The problem here is how to connect the Web collection filter and the print filter 321. That is, the input data of the print filter 321 needs to be a rendered bitmap, but it is not appropriate to implement the rendering function in the Web collection filter because it takes a lot of man-hours. Therefore, it is conceivable to use the document conversion filter 312 that already realizes the rendering function. However, the input data of the document conversion filter 312 needs to be in the PostScript format. Therefore, if the Web collection filter is mounted so that the collected information is output in the PostScript format, the connection with the document conversion filter 312 becomes possible. By implementing the Web collection filter in this way, the function # 2 is realized by connecting the Web collection filter, the document conversion filter 312, the document conversion filter 312, and the print filter 321.

以下、本実施形態における複合機1の処理手順について説明する。図7および図8は、複合機1が一つの機能を実現する際の処理手順を説明するためのフローチャートである。   Hereinafter, a processing procedure of the multifunction machine 1 in the present embodiment will be described. 7 and 8 are flowcharts for explaining a processing procedure when the multifunction device 1 realizes one function.

まず、ユーザによってアクティビティが選択されることにより、選択されたアクティビティにより特定される入力フィルタが選択され(ステップS101)、選択された入力フィルタの実行条件が設定される(ステップS102)。同様に、変換フィルタまたは出力フィルタについても選択が行われ(ステップS103)、フィルタ間の接続が指定され(ステップS104)、実行条件が設定される(ステップS105)。   First, when an activity is selected by the user, an input filter specified by the selected activity is selected (step S101), and an execution condition for the selected input filter is set (step S102). Similarly, a conversion filter or an output filter is also selected (step S103), a connection between the filters is designated (step S104), and an execution condition is set (step S105).

上記の操作は、ローカルUI部12の制御のもと、例えば、図9に示されるようなオペレーションパネル(図3のオペレーションパネル202)を介して行われる。オペレーションパネル202は、タッチパネルとスタートボタンとを含む。タッチパネルは、タッチ操作で入力を行うためのハードウェア(タッチ操作部)であると共に、画面表示で出力を得るためのハードウェア(画面表示部)である。スタートボタンは、要求した機能の実行開始指示を行うためのハードウェアである。   The above operation is performed through the operation panel (operation panel 202 in FIG. 3) as shown in FIG. 9, for example, under the control of the local UI unit 12. The operation panel 202 includes a touch panel and a start button. The touch panel is hardware (touch operation unit) for performing input by touch operation and hardware (screen display unit) for obtaining output by screen display. The start button is hardware for instructing execution of a requested function.

図9は、アクティビティを利用させるための操作画面例を示す図である。図9において、アクティビティ選択画面600は、実行対象とするアクティビティを選択させるためにオペレーションパネル202のタッチパネルに表示される画面である。アクティビティ選択画面600には、複合機1にインストールされているアクティビティ31ごとにボタンが表示される。図中では、コピーアクティビティ31bに対応するコピーボタン610、プリンタアクティビティ31bに対応するプリンタボタン620、マルチ文書アクティビティ31cに対応するマルチ文書ボタン630が表示されている。   FIG. 9 is a diagram illustrating an example of an operation screen for using an activity. In FIG. 9, an activity selection screen 600 is a screen displayed on the touch panel of the operation panel 202 to select an activity to be executed. On the activity selection screen 600, a button is displayed for each activity 31 installed in the multifunction machine 1. In the figure, a copy button 610 corresponding to the copy activity 31b, a printer button 620 corresponding to the printer activity 31b, and a multi-document button 630 corresponding to the multi-document activity 31c are displayed.

なお、インストールされているアクティビティ31の一覧情報は、記憶装置に記録されており、例えば、コントロール層20によって管理されている。したがって、ローカルUI部12は、コントロール層20に問い合わせることにより、アクティビティ31の一覧情報を取得し、当該一覧情報に基づいて、アクティビティ選択画面600の各ボタンを表示させる。   Note that the list information of the installed activities 31 is recorded in the storage device, and is managed by the control layer 20, for example. Therefore, the local UI unit 12 obtains the list information of the activities 31 by making an inquiry to the control layer 20, and displays each button of the activity selection screen 600 based on the list information.

アクティビティ選択画面600において、コピーボタン610が選択(タッチ)されると、ローカルUI部12は、コピーアクティビティ31aのアクティビティUIを呼び出すことによりコピーアクティビティ31aの画面情報を取得し、当該画面情報に基づいてコピーアクティビティ画面611をタッチパネルに表示させる。コピーアクティビティ画面611は、コピーアクティビティ31aの実行条件を設定させるための画面であり、図中では、コピーアクティビティ31aを構成する各フィルタの設定画面(読取フィルタ設定画面611a、文書加工フィルタ設定画面611b、および印刷フィルタ設定画面611c)が表示された例が示されている。すなわち、各フィルタの実行条件を設定させることで、コピーアクティビティ31aの実行条件が設定されるからである。各フィルタの設定画面の画面情報は、コピーアクティビティ31aのアクティビティUIが、ローカルUI部12からの呼び出しに応じて各フィルタのフィルタ用設定UIを呼び出すことにより取得され、コピーアクティビティ31aの画面情報に含められる(マージされる)。なお、単に、各フィルタの設定画面を並べるだけでなく、各フィルタに対して一括して設定を行うためのUI(例えば、「両面→両面」ボタン、読み取りの設定(両面)ボタン、印刷の設定(両面)ボタン等)をコピーアクティビティ画面611に表示させるようにしてもよい。   When the copy button 610 is selected (touched) on the activity selection screen 600, the local UI unit 12 acquires the screen information of the copy activity 31a by calling the activity UI of the copy activity 31a, and based on the screen information. A copy activity screen 611 is displayed on the touch panel. The copy activity screen 611 is a screen for setting the execution conditions of the copy activity 31a. In the figure, setting screens for each filter constituting the copy activity 31a (reading filter setting screen 611a, document processing filter setting screen 611b, In addition, an example in which a print filter setting screen 611c) is displayed is shown. That is, the execution condition of the copy activity 31a is set by setting the execution condition of each filter. The screen information of each filter setting screen is acquired when the activity UI of the copy activity 31a calls the filter setting UI of each filter in response to the call from the local UI unit 12, and is included in the screen information of the copy activity 31a. Be merged. In addition to simply arranging the setting screens of the respective filters, a UI (for example, a “double-sided → double-sided” button, a reading setting (double-sided) button, and a printing setting for collectively setting the respective filters is set. (Both sides) button, etc.) may be displayed on the copy activity screen 611.

プリンタボタン620が選択されると、ローカルUI部12は、プリンタアクティビティ31bのアクティビティUIを呼び出すことによりプリンタアクティビティ31bの画面情報を取得し、当該画面情報に基づいてプリンタアクティビティ画面621をタッチパネルに表示させる。プリンタアクティビティ画面621は、プリンタアクティビティ31bの状態(印刷中等)を表示させる画面である。すなわち、プリンタアクティビティ31bは、印刷データの受信に応じて起動されるものであり(すなわち、オペレーションパネル202上における操作によって起動されるものではない。)、基本的に設定画面は不要だからである。   When the printer button 620 is selected, the local UI unit 12 acquires the screen information of the printer activity 31b by calling the activity UI of the printer activity 31b, and displays the printer activity screen 621 on the touch panel based on the screen information. . The printer activity screen 621 is a screen for displaying the status of the printer activity 31b (printing, etc.). That is, the printer activity 31b is activated in response to reception of print data (that is, not activated by an operation on the operation panel 202), and basically no setting screen is required.

マルチ文書ボタン630が選択されると、ローカルUI部12は、マルチ文書アクティビティ31cのアクティビティUIを呼び出すことによりマルチ文書アクティビティ31cの画面情報を取得し、当該画面情報に基づいてマルチ文書アクティビティ画面631をタッチパネルに表示させる。   When the multi-document button 630 is selected, the local UI unit 12 acquires the screen information of the multi-document activity 31c by calling the activity UI of the multi-document activity 31c, and displays the multi-document activity screen 631 based on the screen information. Display on the touch panel.

マルチ文書アクティビティ画面631においては、ユーザの操作により任意のフィルタを組み合わせることができる。マルチ文書アクティビティ画面631は、入力フィルタ選択領域513、変換フィルタ選択領域514、出力フィルタ選択領域515、および要求表示領域516等より構成される。入力フィルタ選択領域513は、入力フィルタを選択させるための領域であり、入力フィルタごとにボタンが表示されている。入力フィルタ選択領域513でいずれかのボタンが選択されると、選択されたボタンに対応する入力フィルタのボタンが要求表示領域516に表示される。図中では、便宜上、読取フィルタ301および保管文書読出フィルタ513のボタンが表示されている。   In the multi-document activity screen 631, arbitrary filters can be combined by a user operation. The multi-document activity screen 631 includes an input filter selection area 513, a conversion filter selection area 514, an output filter selection area 515, a request display area 516, and the like. The input filter selection area 513 is an area for selecting an input filter, and a button is displayed for each input filter. When any button is selected in the input filter selection area 513, an input filter button corresponding to the selected button is displayed in the request display area 516. In the drawing, for convenience, buttons of the reading filter 301 and the stored document reading filter 513 are displayed.

変換フィルタ選択領域514は、変換フィルタを選択させるための領域であり、変換フィルタごとにボタンが表示されている。変換フィルタ選択領域514でいずれかのボタンが選択されると、選択されたボタンに対応する変換フィルタのボタンが要求表示領域516に表示される。   The conversion filter selection area 514 is an area for selecting a conversion filter, and a button is displayed for each conversion filter. When any button is selected in the conversion filter selection area 514, a button for the conversion filter corresponding to the selected button is displayed in the request display area 516.

出力フィルタ選択領域515は、出力フィルタを選択させるための領域であり、出力フィルタごとにボタンが表示されている。出力フィルタ選択領域515でいずれかのボタンが選択されると、選択されたボタンに対応する出力フィルタのボタンが要求表示領域516に表示される。図中では、便宜上、印刷フィルタ321、保管文書登録フィルタ322、メール送信フィルタ323、およびFAX送信フィルタ324のボタンが表示されている。   The output filter selection area 515 is an area for selecting an output filter, and a button is displayed for each output filter. When any button is selected in the output filter selection area 515, an output filter button corresponding to the selected button is displayed in the request display area 516. In the drawing, for convenience, buttons of a print filter 321, a stored document registration filter 322, a mail transmission filter 323, and a FAX transmission filter 324 are displayed.

なお、インストールされているフィルタ(入力フィルタ、変換フィルタ、出力フィルタ)の一覧情報は、記憶装置に記録されており、例えば、コントロール層20によって管理されている。したがって、ローカルUI部12は、コントロール層20に問い合わせることにより、入力フィルタ選択領域513、変換フィルタ選択領域514、出力フィルタ選択領域515を表示させるためのフィルタの一覧情報を取得する。   Note that the list information of installed filters (input filter, conversion filter, output filter) is recorded in the storage device, and is managed by the control layer 20, for example. Therefore, the local UI unit 12 obtains filter list information for displaying the input filter selection area 513, the conversion filter selection area 514, and the output filter selection area 515 by making an inquiry to the control layer 20.

要求表示領域516には、入力フィルタ選択領域513、変換フィルタ選択領域514または出力フィルタ選択領域515において選択されたフィルタのボタンが表示され、入力フィルタ、変換フィルタ、または出力フィルタとの間は、データの流れまたはパイプを示す矢印で接続される。矢印を操作することにより、実行するフィルタの順番を変更することも可能である。要求表示領域516における表示内容によって、ユーザは、利用するフィルタとその流れを認識することができる。要求表示領域516には、更に、設定ボタン517および削除ボタン518が配置されている。設定ボタン517は、要求表示領域516においてフィルタのボタンが選択されている場合に、当該フィルタの設定画面を表示させるためのボタンである。すなわち、設定ボタン517が押下(タッチ)されると、選択されているフィルタのフィルタ設定UIに基づいて、その設定画面がタッチパネル511に表示される。削除ボタン518は、要求表示領域516においてフィルタのボタンが選択されている場合に、当該フィルタの利用を解除するためのボタンである。   In the request display area 516, the buttons of the filters selected in the input filter selection area 513, the conversion filter selection area 514, or the output filter selection area 515 are displayed, and data between the input filter, the conversion filter, and the output filter is displayed. Connected by arrows indicating the flow or pipe. It is also possible to change the order of filters to be executed by manipulating the arrows. The user can recognize the filter to be used and its flow according to the display contents in the request display area 516. In the request display area 516, a setting button 517 and a deletion button 518 are further arranged. The setting button 517 is a button for displaying a filter setting screen when a filter button is selected in the request display area 516. That is, when the setting button 517 is pressed (touched), the setting screen is displayed on the touch panel 511 based on the filter setting UI of the selected filter. The delete button 518 is a button for canceling the use of the filter when the filter button is selected in the request display area 516.

なお、入力フィルタ、変換フィルタ、および出力フィルタは、一つの機能に対してそれぞれ複数個の選択が可能である。例えば、スキャンされた画像と、複合機1内に保存されている画像を合成して、印刷すると共にFAX送信するといったような場合、少なくとも二つの入力フィルタ(読取フィルタ301および保管文書読出フィルタ302)と二つの出力フィルタ(印刷フィルタ321およびFAX送信フィルタ324)とが選択される。   Note that a plurality of input filters, conversion filters, and output filters can be selected for each function. For example, when the scanned image and the image stored in the multifunction device 1 are combined, printed, and transmitted by FAX, at least two input filters (read filter 301 and stored document read filter 302) And two output filters (print filter 321 and FAX transmission filter 324) are selected.

図7に戻り、フィルタの選択が完了し(ステップS106でYES)、スタートボタンが押下されると、ユーザインタフェース層10からコントロール層20に対して、要求内容が通知される。   Returning to FIG. 7, when the selection of the filter is completed (YES in step S <b> 106) and the start button is pressed, the request contents are notified from the user interface layer 10 to the control layer 20.

図10はユーザインタフェース層10からコントロール層20へ通知される要求内容を概念的に示す図である。図10に示されるように、ユーザインタフェース層10からの要求は、ユーザインタフェース層10において選択されたフィルタごとに、フィルタの種別と当該フィルタに対する設定情報とを含むものであり、更にフィルタの実行順も含も含んでいる(図中において各ブロックを結ぶ矢印が、フィルタの実行順を示す)。   FIG. 10 is a diagram conceptually showing the request contents notified from the user interface layer 10 to the control layer 20. As shown in FIG. 10, the request from the user interface layer 10 includes a filter type and setting information for the filter for each filter selected in the user interface layer 10. (In the figure, the arrows connecting the blocks indicate the execution order of the filters).

図7に戻り、上述したような要求内容を受けて、コントロール層20は、選択された各フィルタ間をパイプによって接続する(ステップS107)。パイプの実体はメモリ(HDD(Hard Disk Drive)も含む)であるが、パイプの両端のフィルタに応じて利用するメモリの種類が異なり、その対応関係は、例えば、複合機1のHDD内に予め定義されている。   Returning to FIG. 7, in response to the request content as described above, the control layer 20 connects the selected filters with a pipe (step S107). The entity of the pipe is a memory (including an HDD (Hard Disk Drive)), but the type of memory to be used differs depending on the filters at both ends of the pipe, and the correspondence relationship is, for example, in advance in the HDD of the multifunction device 1. Is defined.

図11はフィルタとパイプの対応テーブルの例を示す図である。図11の対応テーブル60によれば、例えば、読取フィルタ301と印刷フィルタ321や、文書変換フィルタ312と印刷フィルタ321は、DMA(Direct Memory Access)パイプによって接続され、高速にデータが転送される。また、PC文書受信フィルタ305と文書変換フィルタ312とは、スプールパイプによって接続される。スプールパイプとは、HDDを用いるパイプであり、左側のフィルタから出力されたデータは、右側のフィルタが読み出すまでHDDにスプール(保存)される。それ以外のフィルタ間は、汎用メモリパイプによって接続される。汎用メモリパイプとは、有限サイズのRAMバッファによってデータ転送を行うパイプである。図11に示される対応テーブル60は、フィルタやパイプの拡張(追加)や削除等に応じて編集可能である。なお、図1における画像パイプ41は、上記の各種のパイプへのインタフェースを提供するモジュールを抽象的に表現したものである。   FIG. 11 is a diagram showing an example of a correspondence table between filters and pipes. According to the correspondence table 60 of FIG. 11, for example, the reading filter 301 and the print filter 321, and the document conversion filter 312 and the print filter 321 are connected by a DMA (Direct Memory Access) pipe, and data is transferred at high speed. The PC document reception filter 305 and the document conversion filter 312 are connected by a spool pipe. The spool pipe is a pipe that uses the HDD, and data output from the left filter is spooled (stored) in the HDD until the right filter reads the data. The other filters are connected by a general-purpose memory pipe. A general-purpose memory pipe is a pipe that transfers data using a RAM buffer of a finite size. The correspondence table 60 shown in FIG. 11 can be edited according to expansion (addition) or deletion of filters and pipes. The image pipe 41 in FIG. 1 is an abstract representation of a module that provides an interface to the various pipes described above.

したがって、コントロール層20は、図11の対応テーブル60に基づいて、各フィルタ間を特定のパイプで接続する。図12はコントロール層20によって生成される情報を概念的に示す図である。図12では、各フィルタ(「F」)間がパイプ(「P」)によって接続されている様子が示されている。   Therefore, the control layer 20 connects each filter with a specific pipe based on the correspondence table 60 of FIG. FIG. 12 is a diagram conceptually showing information generated by the control layer 20. FIG. 12 shows a state in which the filters (“F”) are connected by pipes (“P”).

図7に戻り、コントロール層20は、各フィルタに対して並列的に実行要求を出力する(ステップS108)。すなわち、フィルタの呼び出しはフィルタの接続順ではなく、全てのフィルタに対してほぼ同時に行われる。フィルタ間の同期はパイプによってとられるからである。すなわち、コントロール層からの実行要求を受けて、各フィルタは自分の入力側のパイプにデータが入力されるまで待機する。ただし、入力フィルタには、入力側にパイプは存在しない。したがって、入力フィルタは実行要求に応じて処理を開始する。   Returning to FIG. 7, the control layer 20 outputs an execution request to each filter in parallel (step S108). That is, the filters are called almost simultaneously for all filters, not in the order of filter connection. This is because the synchronization between the filters is taken by a pipe. That is, in response to an execution request from the control layer, each filter waits until data is input to its input side pipe. However, the input filter has no pipe on the input side. Therefore, the input filter starts processing in response to the execution request.

次に、図8において、まず、入力フィルタは、入力デバイスよりデータを入力し(ステップS111)、当該データを、出力側に接続されているパイプに出力する(ステップS112)。なお、データが複数回に分けて入力される場合(複数枚の原稿がスキャンされる場合等)は、データの入力とパイプへの出力が繰り返される。全ての入力データについて処理が終了すると(ステップS113でYES)、入力フィルタの処理は終了する。   Next, in FIG. 8, first, the input filter inputs data from the input device (step S111), and outputs the data to a pipe connected to the output side (step S112). When data is input in a plurality of times (for example, when a plurality of documents are scanned), data input and output to a pipe are repeated. When the process is completed for all input data (YES in step S113), the input filter process ends.

変換フィルタは、入力側に接続されているパイプに対するデータの入力を検知すると処理を開始する。まず、当該パイプからデータを読み込み(ステップS121)、データに対して画像処理を施す(ステップS122)。続いて、処理結果としてのデータを出力側に接続されているパイプに出力する(ステップS123)。入力側のパイプに入力された全てのデータについて処理が終了すると(ステップS124でYES)、変換フィルタの処理は終了する。   The conversion filter starts processing when it detects data input to a pipe connected to the input side. First, data is read from the pipe (step S121), and image processing is performed on the data (step S122). Subsequently, the data as the processing result is output to a pipe connected to the output side (step S123). When the process is completed for all data input to the input side pipe (YES in step S124), the conversion filter process ends.

出力フィルタは、入力側に接続されているパイプに対するデータの入力を検知すると処理を開始する。まず、当該パイプからデータを読み込み(ステップS131)。続いて、読み込まれたデータを出力デバイスを利用して出力する(ステップS132)。入力側のパイプに入力された全てのデータについて処理が終了すると(ステップS133でYES)、出力フィルタの処理は終了する。   The output filter starts processing when it detects data input to the pipe connected to the input side. First, data is read from the pipe (step S131). Subsequently, the read data is output using an output device (step S132). When the process is completed for all data input to the input side pipe (YES in step S133), the output filter process ends.

以下、パイプについて更に詳しく説明する。図13はパイプを介したフィルタ間のデータの伝達手順を説明するための図である。図中において、フィルタA300aおよびフィルタB300bは、それぞれフィルタを示す。DMAパイプ41aは、図11において説明した、画像パイプ41の一例としてのDMAパイプである。画像メモリ250は、複合機1に備えられた物理的な(ハードウェアとしての)画像メモリである。   Hereinafter, the pipe will be described in more detail. FIG. 13 is a diagram for explaining a data transmission procedure between filters via a pipe. In the figure, the filter A 300a and the filter B 300b each indicate a filter. The DMA pipe 41a is a DMA pipe as an example of the image pipe 41 described in FIG. The image memory 250 is a physical (as hardware) image memory provided in the multifunction machine 1.

フィルタA300aからフィルタB300bにデータ(画像データ)が伝達される場合、フィルタA300aは、DMAパイプ41aに対して画像データを格納するためのメモリ領域の確保を要求する(ステップS51)。DMAパイプ41aは、当該メモリ領域を確保し、そのアドレスをフィルタA300aに返却する(ステップS52)。フィルタA300aは、返却されたアドレス(画像メモリ250)に画像データを書き込み(ステップS53)、画像データを書き込んだアドレスをDMAパイプ41aに通知する(ステップS54)。   When data (image data) is transmitted from the filter A 300a to the filter B 300b, the filter A 300a requests the DMA pipe 41a to secure a memory area for storing the image data (step S51). The DMA pipe 41a secures the memory area and returns the address to the filter A 300a (step S52). The filter A 300a writes the image data to the returned address (image memory 250) (step S53), and notifies the DMA pipe 41a of the address where the image data is written (step S54).

フィルタB300bは、DMAパイプ41aに対して画像データが書き込まれたアドレスが通知されるまで、当該アドレスの問い合わせを繰り返し(定期的に)行っている(ステップS55)。ただし、フィルタB300bは、当該アドレスが通知されるまで待機していてもよい。当該アドレスがDMAパイプ41aに通知されると、フィルタB300bは、当該アドレスを取得し、画像メモリ250に対する画像データの書き込みを検知する。そこで、フィルタB300bは、画像メモリ250の当該アドレスより画像データを読み出し(ステップS56)、当該画像データに対してフィルタ300bに関する処理を実行する。処理が完了すると、フィルタB300bは、当該アドレスに係るメモリ領域の開放をDMAパイプ41aに要求する(ステップS57)。DMAパイプ41aは、当該メモリ領域を開放する(ステップS58)。   The filter B 300b repeatedly (periodically) inquires about the address until the address at which the image data is written is notified to the DMA pipe 41a (step S55). However, the filter B 300b may be on standby until the address is notified. When the address is notified to the DMA pipe 41a, the filter B 300b acquires the address and detects writing of image data to the image memory 250. Therefore, the filter B 300b reads the image data from the address in the image memory 250 (step S56), and executes processing related to the filter 300b on the image data. When the process is completed, the filter B 300b requests the DMA pipe 41a to release the memory area related to the address (step S57). The DMA pipe 41a releases the memory area (step S58).

このように、フィルタ間のデータの伝達を画像メモリ(共有メモリ)を介して行うことにより、フィルタごとに画像データを格納するためのメモリ領域を確保する必要がなくなり、メモリ効率や処理性能の向上を図ることができる。また、フィルタ間に呼び出し関係が生じないため、フィルタの独立性を保つことができる。   In this way, by transmitting data between filters via an image memory (shared memory), it is not necessary to secure a memory area for storing image data for each filter, improving memory efficiency and processing performance. Can be achieved. In addition, since the calling relationship does not occur between the filters, the independence of the filters can be maintained.

<第2の実施形態>
第2の実施形態は、多出力により文書の保管と同時に編集や印刷等の処理が行われる場合に、ユーザにより設定された編集や印刷等の条件(詳細な設定項目)を文書本体とともに保存し、保管文書の再利用時に編集や印刷等の条件を再現する要求に対し、コンポーネント間の強い依存が発生せず、ページ単位に付された条件についても正確に再現できるようにしたものである。なお、この第2の実施形態はパイプ&フィルタのメカニズムを前提としており、その基本的な構成および動作については第1の実施形態において説明したものと同様である。
<Second Embodiment>
In the second embodiment, when processing such as editing and printing is performed simultaneously with document storage by multiple outputs, conditions (detailed setting items) such as editing and printing set by the user are stored together with the document body. Thus, there is no strong dependency between components in response to a request for reproducing conditions such as editing and printing when a stored document is reused, and the conditions assigned to each page can be accurately reproduced. The second embodiment is based on the pipe and filter mechanism, and the basic configuration and operation thereof are the same as those described in the first embodiment.

一般に、文書の保管は保管文書登録フィルタにより行われ、ユーザにより設定された編集や印刷等の条件についてもこの保管文書登録フィルタにより文書本体とともに保存されるのが通常の手法である。図14は文書本体とともに編集条件や印刷条件を保存する場合の問題点の説明図であり、編集フィルタに設定された編集条件(集約設定、変倍等)と印刷フィルタに設定された印刷条件(出力トレイ、ステープル、ソート等)とが保管文書登録フィルタに引き渡され、保管文書登録フィルタの制御下で文書本体とともにデータベースに保存される。   In general, documents are stored by a stored document registration filter, and it is a normal method that conditions such as editing and printing set by the user are stored together with the document body by the stored document registration filter. FIG. 14 is an explanatory diagram of problems when the editing conditions and printing conditions are saved together with the document body. The editing conditions set in the editing filter (aggregation setting, scaling, etc.) and the printing conditions set in the printing filter ( Output tray, staple, sort, etc.) are transferred to the stored document registration filter, and stored in the database together with the document body under the control of the stored document registration filter.

この場合、保管文書登録フィルタは編集フィルタの編集条件と印刷フィルタの印刷条件とを直接に扱うこととなるため、そのデータ形式等についても保管文書登録フィルタ側で把握していることが前提となる。そのため、保管文書登録フィルタと編集フィルタの間および保管文書登録フィルタと印刷フィルタの間では強い依存関係が発生することとなり、コンポーネントの独立性が阻害され、一方のコンポーネントに修正等を加える場合、他のコンポーネントにも修正等が必要になって、カスタマイズ性能が低下してしまう。例えば、編集フィルタの編集条件や印刷フィルタの印刷条件に追加・変更等を行う場合、保管文書登録フィルタにも修正等が必要になってしまう。   In this case, since the archived document registration filter directly handles the editing conditions of the editing filter and the printing conditions of the print filter, it is assumed that the archived document registration filter also knows the data format and the like. . Therefore, a strong dependency occurs between the archived document registration filter and the edit filter, and between the archived document registration filter and the print filter, which impedes the independence of the component. These components will also need to be modified and the customization performance will be degraded. For example, when adding / changing the editing condition of the editing filter or the printing condition of the printing filter, the stored document registration filter needs to be corrected.

一方、ユーザにより設定される条件は、文書単位の条件とページ単位の条件とが存在する。文書単位の条件とは、ユーザがジョブ(アクティビティ)実行開始時に設定した条件であり、一連の文書処理の中で通して使用される条件である。ページ単位の条件とは、ジョブ開始後の一時停止状態(例えば、原稿を1枚ずつセットして読み取る圧板読取時や、複数枚の原稿を読み取っては次の原稿セットを待機する半自動読取時に発生)にユーザによりページ単位に設定される条件であり、一連のジョブの中で複数種類の条件となることがある。   On the other hand, the conditions set by the user include a document unit condition and a page unit condition. The document unit condition is a condition set by the user at the start of job (activity) execution, and is a condition used through a series of document processing. The page unit condition is a paused state after starting a job (for example, when pressing a platen for reading one document at a time, or for semi-automatic reading when waiting for the next document set after reading multiple documents) ) Is a condition set for each page by the user, and may be a plurality of types of conditions in a series of jobs.

この場合、図14に示したような保管文書登録フィルタの制御下で編集や印刷等の条件を保存する手法では、
・ページ単位の条件はジョブ実行開始後に決まるため、保存するタイミングがつかめない。
・仮に保存できたとしても、ページ単位の条件を設定が行われた時点のページに対応付けて保存した場合、途中で集約等を行ってページの数が変わってしまった場合やページの入れ替えが行われた場合に整合がとれなくなる。
という問題がある。
In this case, in the method of storing conditions such as editing and printing under the control of the stored document registration filter as shown in FIG.
-Since the condition for each page is determined after the job execution starts, the timing for saving cannot be determined.
・ Even if it could be saved, if the conditions for each page were saved in association with the page at the time when the settings were made, if the number of pages changed due to aggregation, etc., or the pages were changed If done, it will not be consistent.
There is a problem.

また、ページ単位の条件は、ユーザが設定する側面から分析を行うと次のことが判る。
・ページ単位の条件とは、ユーザがジョブ実行開始時の条件(初期条件)から途中で条件変更を行った場合の条件である。
・初期条件と途中で変更を行った際の条件は、設定項目としては同じものになる。
・文書単位の条件については、ユーザがジョブ実行開始時の条件から条件変更を行わなかったものと同等になる。
Further, the conditions for each page can be understood as follows by analyzing from the aspect set by the user.
The condition for each page is a condition when the user changes the condition halfway from the condition at the start of job execution (initial condition).
・ The initial conditions and the conditions when changing in the middle are the same as the setting items.
The document unit condition is the same as when the user did not change the condition from the condition at the start of job execution.

従って、この「ユーザが途中で条件変更を行った」という処理を再現することができれば、ページ単位の条件を保存して読み出す要件を実現することができる。   Therefore, if it is possible to reproduce the process of “the user has changed the condition in the middle”, the requirement to save and read the condition in page units can be realized.

そこで、本実施形態では、
・条件(文書単位の条件、ページ単位の条件を問わない)はその詳細を把握しているコンポーネント自身がデータベースに保存し、保管文書登録フィルタにはデータベースに登録した条件IDのみを渡す。
・保管文書登録フィルタは、文書単位の条件とページ単位の条件として、条件IDとコンポーネント名の対を列挙したリスト(文書単位条件リスト、ページ単位条件リスト)を保持し、適時に文書本体とともにデータベースに保存する。ページ単位の条件としては、条件の設定が行われた時点のページだけでなく、異なる条件の設定が行われるまでのページに同内容のページ単位条件リストを付す。これは、ページの入替や処理順序変更に対応するためである。
という方針で上記の問題点を解決している。
Therefore, in this embodiment,
The condition (regardless of the document unit condition or page unit condition) is stored in the database by the component itself that knows the details, and only the condition ID registered in the database is passed to the stored document registration filter.
-The archived document registration filter holds a list (document unit condition list, page unit condition list) that lists pairs of condition IDs and component names as document unit conditions and page unit conditions. Save to. As a page unit condition, a page unit condition list having the same contents is attached not only to the page at the time when the condition is set, but also to pages until a different condition is set. This is to cope with page replacement and processing order change.
The above-mentioned problem is solved with this policy.

すなわち、保管文書登録フィルタと他のコンポーネント(編集フィルタ、印刷フィルタ等)との間では条件IDをやりとりするだけでよいため、保管文書登録フィルタは条件のデータ形式等について関知することがなくなり、両者間の依存関係が弱まり(コンポーネントの独立性が高まり)、カスタマイズ性能が向上する。   That is, since it is only necessary to exchange the condition ID between the stored document registration filter and other components (editing filter, print filter, etc.), the stored document registration filter does not know about the data format of the condition. Dependency between them is weakened (independence of components is increased), and customization performance is improved.

また、ページ単位の条件はユーザにより設定されたタイミングで保存すればよいため、保存するタイミングも明確になる。   Further, since the condition for each page may be stored at the timing set by the user, the timing for storing becomes clear.

また、ページ毎に条件が変更されているか否かを判断し、変更されている場合にはその時点から処理を変更すればよいため、途中で集約等を行ってページの数が変わってしまった場合やページの入れ替えが行われた場合にも整合をとることができる。ページ単位の条件は、ユーザ操作を起点に考えると、一連のジョブの途中で条件が変更されたことによるものであり、集約等を行ってページの数が変わったとしても、条件が変更されたページの起点は同じになることによる。   In addition, it is determined whether the condition has been changed for each page, and if it has been changed, the processing has only to be changed from that point. In this case, it is possible to achieve consistency even when pages are replaced. The condition for each page is due to the change of the condition in the middle of a series of jobs when the user operation is taken as the starting point. Even if the number of pages has changed due to aggregation etc., the condition has been changed. The starting point of the page is the same.

図15は本実施形態の基本となる、コンポーネント間の強い依存が発生しないための仕組の概念図である。   FIG. 15 is a conceptual diagram of a mechanism for preventing strong dependence between components, which is the basis of the present embodiment.

図15において、編集フィルタはジョブ開始時において条件が設定された際に、集約設定、変倍等の項目からなる編集条件をデータベースに保存し、保存データを特定する条件ID「1111」を取得すると、その条件ID「1111」を保管文書登録フィルタに渡す。また、印刷フィルタはジョブ開始時において条件が設定された際に、出力トレイ、ステープル、ソート等の項目からなる印刷条件をデータベースに保存し、保存データを特定する条件ID「2222」を取得すると、その条件ID「2222」を保管文書登録フィルタに渡す。そして、保管文書登録フィルタは、ジョブ開始時に渡された条件ID「1111」、コンポーネント名「編集フィルタ」と条件ID「2222」、コンポーネント名「印刷フィルタ」とを文書単位条件リストおよび先頭ページのページ単位条件リストに格納する。コンポーネント名を条件IDと対にしているのは、条件ごとに異なるデータ体系をとることから、条件IDはそれぞれ個別に割り当てられ、コンポーネント毎に重複する可能性があるからである。   In FIG. 15, when conditions are set at the start of a job, the editing filter stores editing conditions including items such as aggregation setting and scaling in the database, and acquires a condition ID “1111” for specifying stored data. The condition ID “1111” is passed to the stored document registration filter. Further, when the conditions are set at the start of the job, the print filter stores the print conditions including items such as output tray, staple, and sort in the database, and acquires the condition ID “2222” for specifying the stored data. The condition ID “2222” is passed to the stored document registration filter. Then, the stored document registration filter includes the condition ID “1111”, the component name “edit filter”, the condition ID “2222”, and the component name “print filter” that are passed at the start of the job, the document unit condition list, and the page of the first page. Store in the unit condition list. The reason why the component name is paired with the condition ID is that the condition IDs are individually assigned and may be duplicated for each component because different data systems are used for each condition.

また、編集フィルタおよび印刷フィルタは、ジョブ開始後のジョブ一時停止状態において条件が設定された際にも同様に条件をデータベースに保存し、その条件IDを保管文書登録フィルタに渡す。保管文書登録フィルタはその時点での対象となるページのページ単位条件リストとして、それらの条件IDおよびコンポーネント名を格納する。   In addition, the editing filter and the print filter similarly store the condition in the database when the condition is set in the job suspended state after the job starts, and pass the condition ID to the stored document registration filter. The stored document registration filter stores the condition ID and the component name as a page unit condition list of the target page at that time.

そして、保管文書登録フィルタは、適時に文書本体とともに文書単位条件リストおよびページ単位条件リストをデータベースに保存する。例えば、ページ単位条件リストはページ単位の文書本体を保存するのと同時にデータベースに保存し、文書単位条件リストは全ページの処理が完了した時点でデータベースに保存する。   The stored document registration filter saves the document unit condition list and the page unit condition list in the database together with the document body in a timely manner. For example, the page unit condition list is stored in the database at the same time as the document body of the page unit is stored, and the document unit condition list is stored in the database when processing of all pages is completed.

図16は第2の実施形態における複合機1のソフトウェア構成例を示す図である。   FIG. 16 is a diagram illustrating a software configuration example of the multifunction machine 1 according to the second embodiment.

図16において、ユーザインタフェース層10にはユーザインタフェースの提供を行うコンポーネントであるUI C1が設けられている。アプリケーションロジック層30には、コピーおよび蓄積(蓄積コピー)を行う機能を提供するコンポーネントであるコピーアクティビティC2と、スキャナによる原稿の読取の機能を提供するコンポーネントである読取フィルタC3と、読取画像の編集の機能を提供するコンポーネントである編集フィルタC4と、読取画像の印刷の機能を提供するコンポーネントである印刷フィルタC5と、読取画像の蓄積の機能を提供するコンポーネントである保管文書登録フィルタC6と、保管文書の読出の機能を提供するコンポーネントである保管文書読出フィルタC7とが設けられている。デバイスサービス層40には、文書の保存および読出の機能を提供するコンポーネントである保管文書共有サービスC8と、データベースへのデータの保存および読出の機能を提供するコンポーネントであるデータ管理C9と、画像加工の機能を提供するコンポーネントである画像加工C10とが設けられている。   In FIG. 16, the user interface layer 10 is provided with UI C1 which is a component that provides a user interface. The application logic layer 30 includes a copy activity C2 that is a component that provides a function of performing copying and accumulation (accumulated copy), a reading filter C3 that is a component that provides a function of reading a document by a scanner, and editing of a read image Edit filter C4 that is a component that provides a function for printing, a print filter C5 that is a component that provides a print image printing function, a stored document registration filter C6 that is a component that provides a read image storage function, and storage A stored document read filter C7, which is a component that provides a document reading function, is provided. The device service layer 40 includes a stored document sharing service C8 that is a component that provides document storage and reading functions, a data management C9 that is a component that provides data storage and reading functions to a database, and image processing. And an image processing C10 that is a component that provides the above functions.

図17はコンポーネントで扱われるデータ構造の例を示す図である。(a)に示すように、文書IDで特定される文書情報には、文書名と文書アクセス権と文書単位条件リストとページ情報IDリストとが含まれている。文書単位条件リストには1または複数の文書単位条件が含まれ、文書単位条件には条件IDとコンポーネント名とが含まれている。   FIG. 17 is a diagram illustrating an example of a data structure handled by a component. As shown in (a), the document information specified by the document ID includes a document name, a document access right, a document unit condition list, and a page information ID list. The document unit condition list includes one or more document unit conditions, and the document unit condition includes a condition ID and a component name.

ページ情報IDリストに含まれるページ情報IDで特定される各ページのページ情報には、用紙サイズと画像サイズと解像度と画像識別子とページ単位条件リストとが含まれている。ページ単位条件リストには1または複数のページ単位条件が含まれ、ページ単位条件には条件IDとコンポーネント名とが含まれている。   The page information of each page specified by the page information ID included in the page information ID list includes a paper size, an image size, a resolution, an image identifier, and a page unit condition list. The page unit condition list includes one or a plurality of page unit conditions, and the page unit condition includes a condition ID and a component name.

(b)(c)はページ単位条件リストの具体例を示しており、ページ単位条件を連続して示している。(b)では、コンポーネント名「編集フィルタ」と対をなす条件ID「1111」で特定される編集条件として「集約設定:4 in 1、変倍:-」、コンポーネント名「印刷フィルタ」と対をなす条件ID「2222」で特定される印刷条件として「出力トレイ:トレイ1、ステープル:なし、ソート:しない」が設定されている。「集約設定:4 in 1」とは4ページを1ページに集約することを示している。(c)では、コンポーネント名「編集フィルタ」と対をなす条件ID「1112」で特定される編集条件として「集約設定:2 in 1、変倍:-」、コンポーネント名「印刷フィルタ」と対をなす条件ID「2223」で特定される印刷条件として「出力トレイ:トレイ2、ステープル:なし、ソート:しない」が設定されている。文書単位条件リストの具体例は省略しているが、ページ単位条件リストの具体例と同様である。   (B) and (c) show specific examples of the page unit condition list, and continuously show page unit conditions. In (b), as an editing condition specified by the condition ID “1111” paired with the component name “editing filter”, a pair with “aggregation setting: 4 in 1, scaling: −” and component name “printing filter” is set. “Output tray: tray 1, staple: none, sort: not” is set as the printing condition specified by the condition ID “2222” to be made. “Aggregation setting: 4 in 1” indicates that four pages are consolidated into one page. In (c), as the editing condition specified by the condition ID “1112” paired with the component name “edit filter”, “aggregation setting: 2 in 1, scaling: −” and the component name “print filter” are paired. “Output tray: tray 2, staple: none, sort: not” is set as the printing condition specified by the condition ID “2223” to be made. Although a specific example of the document unit condition list is omitted, it is the same as the specific example of the page unit condition list.

図18は実施形態の全体的な処理概要を示すフローチャートである。処理を大別すると、多出力により文書の保管と同時に編集および印刷の処理を行うコピー蓄積と、保管文書を読み出して編集および印刷を行う保管文書印刷とに分かれる。   FIG. 18 is a flowchart showing an overall processing outline of the embodiment. The processing is roughly divided into copy accumulation in which editing and printing processing is performed simultaneously with document storage by multiple outputs, and stored document printing in which stored documents are read and edited and printed.

コピー蓄積は、(a)に示すように、開始条件の設定(ユーザによる設定)および保存(ステップS201)の後、ページ単位の文書の読取、編集、印刷および蓄積(ステップS202)が、条件が変更されない限りページ数分だけ続く。このページ単位の文書の蓄積では、ページ単位条件リストを含むページ情報が同時に保存される。   As shown in (a), in copy accumulation, after start condition setting (setting by the user) and storage (step S201), document reading, editing, printing, and accumulation (page S202) in page units are performed under the conditions. It lasts for the number of pages unless changed. In this accumulation of document in page units, page information including a page unit condition list is simultaneously saved.

次いで、ジョブ一時停止状態でのページ単位条件の設定および保存(ステップS203)が行われると、その後、ページ単位の文書の読取、編集、印刷および蓄積(ステップS204)が、条件が変更されない限りページ数分だけ続く。ジョブの一時停止状態でのページ単位条件の設定および保存(ステップS203)はその後に何度か行われる場合もあり、その後にページ単位の文書の読取、編集、印刷および蓄積(ステップS204)が続く。   Next, when the setting and saving of the page unit condition in the job suspended state (step S203) is performed, the page reading, editing, printing, and storing (step S204) are performed as long as the condition is not changed. It lasts for a few minutes. The setting and storage of the page unit condition in the job suspension state (step S203) may be performed several times thereafter, and then reading, editing, printing, and storage of the document in page unit (step S204) follow. .

図19はコピー蓄積において条件設定が行われるタイミングの例を示す図であり、(a)に示すように、ジョブ開始時に条件#1を設定し、第4ページが完了して第5ページが始まる前のジョブ一時停止状態で条件#2を設定したものである。この場合、第1ページから第4ページまでは条件#1が適用され、第5ページ以降は条件#2が適用される。(b)は条件の内容の例を示しており、条件#1は、編集時に「集約:4 in 1」、印刷時に「出力トレイ:トレイ1」を示し、条件#2は、編集時に「集約:2 in 1」、印刷時に「出力トレイ:トレイ2」を示している。(c)は各ページに対応付けられるページ単位条件を模式的に示したものであり、第1ページから第4ページには同じページ単位条件が付けられ、第5ページ以降には異なるページ単位条件が付けられる。   FIG. 19 is a diagram showing an example of timing for setting conditions in copy accumulation. As shown in FIG. 19A, condition # 1 is set at the start of a job, the fourth page is completed, and the fifth page starts. Condition # 2 is set in the previous job suspended state. In this case, condition # 1 is applied from the first page to the fourth page, and condition # 2 is applied from the fifth page onward. (B) shows an example of the contents of the condition. Condition # 1 indicates “aggregation: 4 in 1” at the time of editing, “output tray: tray 1” at the time of printing, and condition # 2 indicates “aggregation at the time of editing. : 2 in 1 ”and“ output tray: tray 2 ”at the time of printing. (C) schematically shows page unit conditions associated with each page. The same page unit conditions are assigned to the first to fourth pages, and different page unit conditions are applied to the fifth and subsequent pages. Is attached.

図18に戻り、全てのページの処理が完了した時点で、文書情報の保存(ステップS205)が行われる。保存される文書情報には文書単位条件リストが含まれる。   Returning to FIG. 18, when all the pages have been processed, the document information is stored (step S205). The stored document information includes a document unit condition list.

一方、保管文書印刷は、(b)に示すように、ユーザにより選択された文書からの条件復元が行われ(ステップS301)、その後、ページ単位条件の読出、編集および印刷(ステップS302)がページ数分だけ続く。読み出したページ単位条件はパイプ&フィルタのパイプを通して後続のフィルタに流す。これは、ユーザがオペレーションパネル上で条件を設定したときと同等の流れを、UIからトリガを発生させるか、パイプ&フィルタのパイプを通してトリガを発生するかの違いのみで実現が可能だからである。   On the other hand, in the stored document printing, as shown in (b), condition restoration is performed from the document selected by the user (step S301), and thereafter, reading, editing and printing of page unit conditions (step S302) are performed. It lasts for a few minutes. The read page unit condition is passed through the pipe & filter pipe to the subsequent filter. This is because the same flow as when the user sets conditions on the operation panel can be realized only by the difference between generating the trigger from the UI or generating the trigger through the pipe of the filter & filter.

また、各フィルタは次のルールで処理を行う。
・各フィルタは、パイプから流れてきたページデータに自分の条件が設定されている場合、ページに付いている条件が前のページの条件と同じ場合は、引き続きその条件で処理を続行する。
・ページに付いている条件が前のページの条件と異なる場合は、そこでユーザが条件を変更したと判断して、条件が変更された際の処理を行う。
・集約などを行ってページをまとめたり、ページを分割したりする場合は、ソースとなるページの条件を持たせる。
・集約する際に条件が異なるページを統合するパタンがある場合は、半端なページは白紙にする等の通常出力時(再利用時ではないとき)の仕様に従う。
Each filter performs processing according to the following rules.
Each filter, if its own condition is set in the page data flowing from the pipe, if the condition attached to the page is the same as the condition of the previous page, the processing continues with that condition.
If the condition attached to the page is different from the condition of the previous page, it is determined that the user has changed the condition, and processing when the condition is changed is performed.
・ If you want to combine pages or divide pages by aggregation, give the condition of the source page.
-If there is a pattern for integrating pages with different conditions when consolidating, follow the specifications for normal output (when not reusing), such as making blank pages blank.

図20は保管文書印刷における条件読出の例を示す図であり、条件の内容は図19に対応している。図20(a)において、処理の基本としては、ページ毎に条件が変更されているか否かを判断し、変更されている場合にはその時点から処理を変更することで対応することができる。すなわち、同じページ単位条件が付けられた第1ページから第4ページは、その条件#1に従い、編集時に編集条件「集約:4 in 1」により4ページを1ページに集約し、印刷時に印刷条件「出力トレイ:トレイ1」によりトレイ1に排出する。また、条件が変更された後の第5ページ以降はその条件#2に従い、編集時に編集条件「集約:2 in 1」により2ページを1ページに集約し、印刷時に印刷条件「出力トレイ:トレイ2」によりトレイ2に排出する。   FIG. 20 is a diagram showing an example of condition reading in stored document printing, and the content of the condition corresponds to FIG. In FIG. 20A, the basic processing can be dealt with by determining whether or not the condition has been changed for each page, and changing the processing from that point in time if it has been changed. That is, the first page to the fourth page with the same page unit condition are aggregated into one page by the editing condition “aggregation: 4 in 1” at the time of editing according to the condition # 1, and the printing condition at the time of printing. “Output tray: Tray 1” is discharged to tray 1. In addition, the fifth and subsequent pages after the change of the condition are in accordance with the condition # 2, and two pages are consolidated into one page by the editing condition “aggregation: 2 in 1” at the time of editing, and the printing condition “output tray: tray” at the time of printing. 2 ”to the tray 2.

また、(b)はページ入替もしくは処理順序変更が行われた場合を示している。すなわち、元文書が第1ページ→第2ページ→第3ページ→第4ページ→第5ページ→第6ページで、条件変更点が第4ページと第5ページの間にあるとして、第6ページが第1ページの前に移動した場合、条件変更点が第6ページと第1ページの間と第4ページと第5ページの間の2箇所になる。この場合も処理の基本は同じであり、ページ毎に条件が変更されているか否かを判断し、変更されている場合にはその時点から処理を変更することで対応することができる。   Further, (b) shows a case where the page is changed or the processing order is changed. That is, assuming that the original document is 1st page → 2nd page → 3rd page → 4th page → 5th page → 6th page and the condition change point is between the 4th page and the 5th page, the 6th page Is moved before the first page, there are two condition change points between the sixth page and the first page, and between the fourth page and the fifth page. In this case as well, the basic processing is the same, and it is determined whether or not the condition is changed for each page. If the condition is changed, the processing can be changed from that point.

また、これを更に処理順序を逆順に変更して第5ページ→第4ページ→第3ページ→第2ページ→第1ページ→第6ページとした場合、条件変更点は第5ページと第4ページの間と第1ページと第6ページの間の2箇所になる。この場合も処理の基本は同じであり、ページ毎に条件が変更されているか否かを判断し、変更されている場合にはその時点から処理を変更することで対応することができる。   Further, when the processing order is further changed in the reverse order so that the fifth page → the fourth page → the third page → the second page → the first page → the sixth page, the condition change points are the fifth page and the fourth page. There are two places between the pages and between the first page and the sixth page. In this case as well, the basic processing is the same, and it is determined whether or not the condition is changed for each page. If the condition is changed, the processing can be changed from that point.

図21はコピー蓄積における開始条件の設定および保存(図18(a)のステップS201)の処理例を示すシーケンス図である。   FIG. 21 is a sequence diagram showing a processing example of setting and saving a start condition in copy accumulation (step S201 in FIG. 18A).

図21において、ユーザのオペレーションパネルへの操作に応じ、UI C1から読取フィルタC3に対して読取条件の条件設定が行われ(ステップS221、S222)、UI C1から編集フィルタC4に対して編集条件の条件設定が行われ(ステップS223、S224)、UI C1から印刷フィルタC5に対して印刷条件の条件設定が行われ(ステップS225、S226)、UI C1から保管文書登録フィルタC6に対して蓄積条件の条件設定が行われる(ステップS227、S228)。   In FIG. 21, in accordance with the user's operation on the operation panel, reading conditions are set from the UI C1 to the reading filter C3 (steps S221 and S222), and the editing conditions are set from the UI C1 to the editing filter C4. Conditions are set (steps S223 and S224), conditions for printing conditions are set from the UI C1 to the printing filter C5 (steps S225 and S226), and storage conditions are set from the UI C1 to the stored document registration filter C6. Condition setting is performed (steps S227 and S228).

次いで、ユーザのオペレーションパネルへの操作に応じ、UI C1からコピーアクティビティC2に対してジョブスタートが要求されると(ステップS229)、コピーアクティビティC2は編集フィルタC4に対して条件保存を要求する(ステップS230)。編集フィルタC4は、データ管理C9に編集条件のデータ蓄積を要求し(ステップS231)、データ管理C9から蓄積したデータを識別する条件IDを取得し(ステップS232)、コピーアクティビティC2に条件IDを返す(ステップS233)。   Next, when a job start is requested from the UI C1 to the copy activity C2 in response to a user operation on the operation panel (step S229), the copy activity C2 requests the editing filter C4 to save the condition (step S229). S230). The editing filter C4 requests the data management C9 to store data of editing conditions (step S231), acquires a condition ID for identifying the stored data from the data management C9 (step S232), and returns the condition ID to the copy activity C2. (Step S233).

同様に、コピーアクティビティC2は印刷フィルタC5に対して条件保存を要求し(ステップS234)、印刷フィルタC5は、データ管理C9に印刷条件のデータ蓄積を要求し(ステップS235)、データ管理C9から蓄積したデータを識別する条件IDを取得し(ステップS236)、コピーアクティビティC2に条件IDを返す(ステップS237)。   Similarly, the copy activity C2 requests the print filter C5 to save the conditions (step S234), and the print filter C5 requests the data management C9 to store the print condition data (step S235), and stores the data from the data management C9. A condition ID for identifying the processed data is acquired (step S236), and the condition ID is returned to the copy activity C2 (step S237).

なお、読取フィルタC3における読取条件や保管文書登録フィルタC6における蓄積条件は、保管文書印刷時に再現する必要のない条件であるため、保存は行なわない。   Note that the reading conditions in the reading filter C3 and the accumulation conditions in the stored document registration filter C6 are conditions that do not need to be reproduced when the stored document is printed, and thus are not saved.

次いで、コピーアクティビティC2は保管文書登録フィルタC6に対して文書単位条件リストの条件設定を行う(ステップS238、S239)。保管文書登録フィルタC6はこの時点では文書単位条件リストの保存は行なわず、文書情報の一部として全ページの処理が完了した時点の文書情報の保存(図18(a)のステップS205)において行なう。   Next, the copy activity C2 sets the conditions of the document unit condition list for the stored document registration filter C6 (steps S238 and S239). The archived document registration filter C6 does not save the document unit condition list at this time, but saves the document information when all pages have been processed as part of the document information (step S205 in FIG. 18A). .

図22はコピー蓄積における文書の読取、編集および蓄積(図18(a)のステップS202、S204の一部)ならびに文書情報の保存(図18のステップS205)の処理例を示すシーケンス図である。印刷処理については省略してある。   FIG. 22 is a sequence diagram showing processing examples of document reading, editing and storage (part of steps S202 and S204 in FIG. 18A) and document information storage (step S205 in FIG. 18) in copy storage. The printing process is omitted.

図22において、読取フィルタC3は読取処理を開始すると(ステップS241)、ページデータ(Page Data)を生成し(ステップS242)、読み取った画像情報をページデータに設定し(ステップS243、S244)、編集フィルタC4にページデータへのデータ書込を通知する(ステップS245)。これらの処理はパイプを介して行なわれる。   In FIG. 22, when the reading filter C3 starts the reading process (step S241), it generates page data (Page Data) (step S242), sets the read image information as page data (steps S243 and S244), and edits it. The filter C4 is notified of data writing to the page data (step S245). These processes are performed via a pipe.

編集フィルタC4はページデータから画像データを取得し(ステップS246、S247)、編集処理を開始し(ステップS248)、ページデータを生成し(ステップS249)、編集した画像情報をページデータに設定し(ステップS250)、保管文書登録フィルタC6にページデータへのデータ書込を通知する(ステップS251)。これらの処理はパイプを介して行なわれる。   The editing filter C4 acquires image data from the page data (steps S246 and S247), starts editing processing (step S248), generates page data (step S249), and sets the edited image information as page data ( In step S250), the stored document registration filter C6 is notified of data writing to the page data (step S251). These processes are performed via a pipe.

保管文書登録フィルタC6はページデータから画像データを取得し(ステップS252、S253)、蓄積処理を開始し(ステップS254)、画像加工C10に画像データと画像識別子を伴って画像永続化を要求する(ステップS255、S256)。また、保管文書登録フィルタC6は保管文書共有サービスC8にページ画像と画像識別子とページ単位条件リストを伴ってページ情報永続化を要求し(ステップS257)、保管文書共有サービスC8はデータ管理C9に永続データを渡してデータ永続化を要求し(ステップS258)、保存したデータを識別するデータIDをデータ管理C9から取得し(ステップS259)、保管文書登録フィルタC6にページ情報IDを返す(ステップS260)。ページ単位の処理はここまでであり、各ページにつき同様に処理が行なわれる。   The stored document registration filter C6 acquires image data from the page data (steps S252 and S253), starts an accumulation process (step S254), and requests the image processing C10 to make the image permanent with the image data and the image identifier ( Steps S255 and S256). The stored document registration filter C6 requests the stored document sharing service C8 to make page information permanent with the page image, the image identifier, and the page unit condition list (step S257), and the stored document sharing service C8 continues to the data management C9. Data is passed to request data perpetuation (step S258), a data ID for identifying stored data is acquired from the data management C9 (step S259), and a page information ID is returned to the stored document registration filter C6 (step S260). . This is the process for each page, and the same process is performed for each page.

また、最終ページの読取・編集の完了時には、続いて以下の処理が行われる。すなわち、保管文書登録フィルタC6は保管文書共有サービスC8に文書情報とページ情報IDと文書単位条件リストを伴って文書情報永続化を要求し(ステップS261)、保管文書共有サービスC8はデータ管理C9に永続データを渡してデータ永続化を要求し(ステップS262)、保存したデータを識別するデータIDをデータ管理C9から取得し(ステップS263)、保管文書登録フィルタC6に文書情報IDを返す(ステップS264)。   Further, when the reading / editing of the final page is completed, the following processing is subsequently performed. That is, the stored document registration filter C6 requests the stored document sharing service C8 to make the document information permanent with the document information, the page information ID, and the document unit condition list (step S261), and the stored document sharing service C8 requests the data management C9. Persistent data is passed to request data perpetuation (step S262), a data ID for identifying stored data is acquired from the data management C9 (step S263), and a document information ID is returned to the stored document registration filter C6 (step S264). ).

図23はコピー蓄積におけるページ単位条件の設定および保存(図18(a)のステップS203)の処理例を示すフローチャートである。   FIG. 23 is a flowchart showing an example of processing for setting and storing page unit conditions in copy accumulation (step S203 in FIG. 18A).

図23において、次原稿待ち状態のジョブ一時停止中にて(ステップS271)、ユーザが条件(編集条件/印刷条件)を設定し(ステップS272)、ユーザが原稿をセットしてジョブを再開すると(ステップS273)、各フィルタ(編集フィルタC4、印刷フィルタC5)は条件が変更されているか否か判断する(ステップS274)。   In FIG. 23, while the job waiting for the next original is suspended (step S271), the user sets conditions (editing conditions / printing conditions) (step S272), and the user sets the original and restarts the job (step S272). In step S273, each filter (edit filter C4, print filter C5) determines whether the condition has been changed (step S274).

条件が変更されている場合(ステップS274のYES)、各フィルタは条件を保存して新たな条件IDを取得し(ステップS275)、保持している条件IDを古い条件IDから新しい条件IDに更新する(ステップS276)。条件が変更されていない場合(ステップS274のNO)はこれらの処理は行わない。   If the condition has been changed (YES in step S274), each filter saves the condition and acquires a new condition ID (step S275), and updates the held condition ID from the old condition ID to the new condition ID. (Step S276). If the conditions have not been changed (NO in step S274), these processes are not performed.

次いで、各フィルタは保持している条件IDと自分のコンポーネント名をコピーアクティビティC2に通知する(ステップS277)。そして、コピーアクティビティC2は保管文書登録フィルタC6に各フィルタのページ単位条件リストを設定する(ステップS278)。その後、ジョブを再開する(ステップS279)。   Next, each filter notifies the copy activity C2 of the held condition ID and its component name (step S277). Then, the copy activity C2 sets the page unit condition list of each filter in the stored document registration filter C6 (step S278). Thereafter, the job is resumed (step S279).

図24はコピー蓄積におけるページ単位条件の設定および保存(図18(a)のステップS203)の処理例を示すシーケンス図である。   FIG. 24 is a sequence diagram showing a processing example of setting and storing page unit conditions in copy accumulation (step S203 in FIG. 18A).

図24において、次原稿待ち状態のジョブ一時停止中にて、ユーザがUI C1に対して編集条件を設定すると(ステップS281)、UI C1は編集フィルタC4に編集条件の条件設定を行う(ステップS282、S283)。   In FIG. 24, when the user sets an editing condition for the UI C1 while the job is waiting for the next original (step S281), the UI C1 sets the editing condition in the editing filter C4 (step S282). , S283).

同様に、ユーザがUI C1に対して印刷条件を設定すると(ステップS284)、UI C1は印刷フィルタC5に印刷条件の条件設定を行う(ステップS285、S286)。   Similarly, when the user sets print conditions for the UI C1 (step S284), the UI C1 sets the print condition conditions for the print filter C5 (steps S285 and S286).

次いで、ユーザが原稿をセットしてUI C1に対してスタートボタンの押下を行なうと(ステップS287)、UI C1はコピーアクティビティC2にジョブの再開を要求する(ステップS288)。なお、SADFモードの場合は原稿をADF(Automatic Document Feeder)にセットした時点で、スタートボタンの押下を行わなくても、自動にジョブの再開が行われる。   Next, when the user sets an original and presses the start button on the UI C1 (step S287), the UI C1 requests the copy activity C2 to resume the job (step S288). In the case of the SADF mode, when the document is set in an ADF (Automatic Document Feeder), the job is automatically restarted without pressing the start button.

コピーアクティビティC2は編集フィルタC4に対してページブロック番号を伴ってページブロックの変更を伝え(ステップS289)、編集フィルタC4は、条件が変更されていた場合、条件の保存を開始し(ステップS290)、データ管理C9に編集条件のデータ蓄積を要求し(ステップS291)、蓄積したデータを識別する条件IDをデータ管理C9から取得し(ステップS292)、コピーアクティビティC2にページ単位条件を伴って条件変更通知を行う(ステップS293)。   The copy activity C2 notifies the editing filter C4 of the change of the page block with the page block number (step S289), and the editing filter C4 starts saving the condition if the condition has been changed (step S290). The data management C9 is requested to store data for editing conditions (step S291), a condition ID for identifying the stored data is acquired from the data management C9 (step S292), and the copy activity C2 is changed with a page unit condition. Notification is performed (step S293).

同様に、コピーアクティビティC2は印刷フィルタC5に対してページブロック番号を伴ってページブロックの変更を伝え(ステップS294)、印刷フィルタC5は、編集フィルタC4によるのと同様の処理(ステップS290〜S292)を行い(ステップS295)、コピーアクティビティC2にページ単位条件を伴って条件変更通知を行う(ステップS296)。   Similarly, the copy activity C2 notifies the print filter C5 of the change of the page block with the page block number (step S294), and the print filter C5 performs the same processing as that by the edit filter C4 (steps S290 to S292). (Step S295), and sends a condition change notification to the copy activity C2 with the page unit condition (Step S296).

次いで、コピーアクティビティC2は保管文書登録フィルタC6に対してページ単位条件リストの条件設定を行う(ステップS297、S298)。保管文書登録フィルタC6はこの時点ではページ単位条件リストの保存は行なわず、前述したページ単位の蓄積時(図18(a)のステップS204)において行なう。   Next, the copy activity C2 sets the condition of the page unit condition list for the stored document registration filter C6 (steps S297 and S298). The stored document registration filter C6 does not store the page unit condition list at this time, but performs the storage in the above-described page unit accumulation (step S204 in FIG. 18A).

図25は保管文書印刷における選択された文書からの条件復元(図18(b)のステップS301)の処理例を示すフローチャートである。   FIG. 25 is a flowchart showing a processing example of condition restoration (step S301 in FIG. 18B) from a selected document in stored document printing.

図25において、保管文書印刷の開始にあたり(ステップS311)、ユーザが文書Aを選択すると(ステップS312)、UI C1は文書Aに条件IDが関連付いているか否か判断する(ステップS313)。前述したコピー蓄積による場合は文書に条件IDが関連付いているが、コピー等を伴わない蓄積だけの場合は文書に条件IDが関連付いておらず、条件の復元はできない。   In FIG. 25, at the start of stored document printing (step S311), when the user selects document A (step S312), UI C1 determines whether or not a condition ID is associated with document A (step S313). In the case of the above-described copy accumulation, the condition ID is associated with the document. However, in the case of only accumulation without copying or the like, the condition ID is not associated with the document, and the condition cannot be restored.

文書Aに条件IDが関連付いている場合(ステップS313のYES)、UI C1は文書Aに条件IDが関連付いていることをユーザに通知し(ステップS314)、ユーザの選択操作により条件を復元するか否か判断する(ステップS315)。   When the condition ID is associated with the document A (YES in step S313), the UI C1 notifies the user that the condition ID is associated with the document A (step S314), and the condition is restored by the user's selection operation. It is determined whether or not to perform (step S315).

条件を復元することが選択された場合(ステップS315のYES)、各フィルタ(編集フィルタC4、印刷フィルタC5)は条件IDを元に条件を読み出して復元を行う(ステップS316)。   If it is selected to restore the condition (YES in step S315), each filter (edit filter C4, print filter C5) reads the condition based on the condition ID and restores it (step S316).

文書Aに条件IDが関連付いていない場合(ステップS313のNO)もしくは条件を復元することが選択されなかった場合(ステップS315のNO)は、ユーザ操作に応じて条件を設定する(ステップS317)。   When the condition ID is not associated with the document A (NO in step S313) or when restoring the condition is not selected (NO in step S315), the condition is set according to the user operation (step S317). .

その後、ジョブをスタートし(ステップS318)、処理を終了する(ステップS319)。   Thereafter, the job is started (step S318), and the process is terminated (step S319).

図26は保管文書印刷における選択された文書からの条件復元(図18(b)のステップS301)の処理例を示すシーケンス図である。   FIG. 26 is a sequence diagram illustrating a processing example of condition restoration (step S301 in FIG. 18B) from a selected document in stored document printing.

図26において、保管文書印刷を行う場合、ユーザはUI C1から所望の文書Aを選択する(ステップS321)。図27(a)は文書一覧の画面例を示しており、文書Aを選択し、OKボタンを押下することで文書Aの選択が行われる。   In FIG. 26, when printing a stored document, the user selects a desired document A from the UI C1 (step S321). FIG. 27A shows a screen example of the document list. The document A is selected by selecting the document A and pressing the OK button.

図26に戻り、UI C1は保管文書読出フィルタC7に文書Aを読出条件として条件設定し(ステップS322)、保管文書読出フィルタC7は保管文書共有サービスC8に文書Aの文書情報読出を要求する(ステップS323)。保管文書共有サービスC8はデータ管理C9から永続データを読み出し(ステップS324、S325)、保管文書読出フィルタC7に文書情報を返す(ステップS326)。保管文書読出フィルタC7は文書に条件が関連付いている場合、UI C1に条件ありの通知を行い(ステップS327)、UI C1は文書に関連付いている条件を復元するか否かをユーザに求める。図27(b)は条件の復元の可否を求める画面例を示しており、復元する場合には「する」ボタンを、復元しない場合は「しない」ボタンを押下する。   Returning to FIG. 26, the UI C1 sets a condition for reading the document A to the stored document read filter C7 as a reading condition (step S322), and the stored document read filter C7 requests the stored document sharing service C8 to read the document information of the document A ( Step S323). The stored document sharing service C8 reads the permanent data from the data management C9 (steps S324 and S325), and returns the document information to the stored document read filter C7 (step S326). When the document is associated with a condition, the stored document read filter C7 notifies the UI C1 that there is a condition (step S327), and the UI C1 asks the user whether to restore the condition associated with the document. . FIG. 27B shows an example of a screen for requesting whether or not conditions can be restored. When restoring, the “Yes” button is pressed, and when not restoring, the “No” button is pressed.

図26に戻り、条件を復元する場合、ユーザはUI C1に条件復元を要求し(ステップS328)、UI C1は保管文書読出フィルタC7に条件の復元を要求し(ステップS329)、保管文書読出フィルタC7はコピーアクティビティC2に文書単位条件リストを伴って条件復元要求通知を行う(ステップS330)。   Returning to FIG. 26, when restoring the condition, the user requests the UI C1 to restore the condition (step S328), the UI C1 requests the saved document read filter C7 to restore the condition (step S329), and the saved document read filter. C7 sends a condition restoration request notification to the copy activity C2 with the document unit condition list (step S330).

コピーアクティビティC2は編集フィルタC4に条件IDを伴って条件読出を要求し(ステップS331)、編集フィルタC4はデータ管理C9から条件IDにより編集条件を取得し(ステップS332、S333)、読み出した編集条件に基づいて条件を更新し(ステップS334)、UI C1に条件設定完了通知を行う(ステップS335)。これを受け、UI C1は表示画面の更新を行う(ステップS336)。   The copy activity C2 requests the editing filter C4 to read the condition with the condition ID (step S331), the editing filter C4 acquires the editing condition from the data management C9 by the condition ID (steps S332 and S333), and the editing condition thus read out. The condition is updated based on (Step S334), and the condition setting completion notification is sent to the UI C1 (Step S335). In response to this, the UI C1 updates the display screen (step S336).

同様に、コピーアクティビティC2は印刷フィルタC5に条件IDを伴って条件読出を要求し(ステップS337)、印刷フィルタC5はデータ管理C9から条件IDにより印刷条件を取得し(ステップS338、S339)、読み出した印刷条件に基づいて条件を更新し(ステップS340)、UI C1に条件設定完了通知を行う(ステップS341)。これを受け、UI C1は表示画面の更新を行う(ステップS342)。図27(c)は復元された条件が表示された設定画面例を示しており、用紙として「A3」が既に選択され、編集内容として「集約」が既に選択された状態を示している。   Similarly, the copy activity C2 requests the print filter C5 to read the condition with the condition ID (step S337), and the print filter C5 acquires the print condition by the condition ID from the data management C9 (steps S338 and S339) and reads it. The conditions are updated based on the printing conditions (step S340), and the condition setting completion notification is sent to the UI C1 (step S341). In response to this, the UI C1 updates the display screen (step S342). FIG. 27C shows an example of a setting screen on which the restored condition is displayed, and shows a state where “A3” has already been selected as the paper and “aggregation” has already been selected as the editing content.

図26に戻り、条件を復元しない場合、ユーザはUI C1に条件を復元しない旨を要求する(ステップS343)。そして、ユーザはUI C1に対して編集条件を設定し(ステップS344)、UI C1は編集フィルタC4に編集条件を設定する(ステップS345)。同様に、ユーザはUI C1に対して印刷条件を設定し(ステップS346)、UI C1は印刷フィルタC5に印刷条件を設定する(ステップS347)。   Returning to FIG. 26, when the condition is not restored, the user requests the UI C1 not to restore the condition (step S343). Then, the user sets editing conditions for the UI C1 (step S344), and the UI C1 sets editing conditions for the editing filter C4 (step S345). Similarly, the user sets printing conditions for the UI C1 (step S346), and the UI C1 sets printing conditions for the print filter C5 (step S347).

その後、ユーザがUI C1に対してスタートボタンを押下すると(ステップS348)、UI C1はコピーアクティビティC2にジョブスタートを要求し(ステップS349)、コピーアクティビティC2は保管文書読出フィルタC7と編集フィルタC4と印刷フィルタC5にジョブスタートを要求する(ステップS350〜S352)。   Thereafter, when the user presses the start button on the UI C1 (step S348), the UI C1 requests the copy activity C2 to start the job (step S349), and the copy activity C2 includes the stored document read filter C7 and the edit filter C4. A job start is requested to the print filter C5 (steps S350 to S352).

図28は保管文書印刷におけるページ単位条件の読出(図18(b)のステップS302の一部)の処理例を示すフローチャートである。   FIG. 28 is a flowchart showing an example of processing for reading page unit conditions (part of step S302 in FIG. 18B) in stored document printing.

図28において、処理を開始すると(ステップS361)、保管文書読出フィルタC7はページ情報を読み出してページデータを生成する(ステップS362)。次いで、既にユーザによってなされた条件を復元するか否かの選択に応じ(ステップS363)、条件を復元する場合(ステップS363のYES)、保管文書読出フィルタC7はページデータに条件IDリストを設定する(ステップS364)。条件を復元しない場合(ステップS363のNO)はこの処理は行わない。   In FIG. 28, when processing is started (step S361), the stored document read filter C7 reads page information and generates page data (step S362). Next, according to the selection of whether or not to restore the conditions already made by the user (step S363), when restoring the conditions (YES in step S363), the stored document read filter C7 sets the condition ID list in the page data. (Step S364). If the conditions are not restored (NO in step S363), this process is not performed.

次いで、保管文書読出フィルタC7はページデータを書き込む(ステップS365)。   Next, the stored document read filter C7 writes page data (step S365).

次いで、編集フィルタC4はページデータから条件IDを取得し(ステップS366)、自分の条件IDがあるか否か判断する(ステップS367)。自分の条件IDがある場合(ステップS367のYES)は、続いて、前のページの条件IDと異なるか否か判断する(ステップS368)。前のページの条件IDと異なる場合(ステップS368のYES)、編集フィルタC4は条件IDを元に条件を読み出す(ステップS369)。自分の条件IDがない場合(ステップS367のNO)もしくは前のページの条件IDと同じ場合(ステップS368のNO)はこの処理は行わない。   Next, the edit filter C4 acquires the condition ID from the page data (step S366), and determines whether or not there is its own condition ID (step S367). If there is a condition ID of its own (YES in step S367), it is then determined whether or not the condition ID is different from that of the previous page (step S368). If the condition ID is different from that of the previous page (YES in step S368), the editing filter C4 reads the condition based on the condition ID (step S369). If there is no own condition ID (NO in step S367) or if it is the same as the condition ID of the previous page (NO in step S368), this process is not performed.

次いで、編集フィルタC4は編集処理を実行し、ページデータに条件IDリストを設定してデータを書き込み(ステップS370)、処理を終了する(ステップS371)。   Next, the editing filter C4 executes an editing process, sets a condition ID list in the page data, writes the data (step S370), and ends the process (step S371).

印刷フィルタC5についても同様にして処理が行われるが、保管文書読出フィルタC7が生成したページデータからではなく、編集フィルタC4が生成したページデータを介して条件IDを取得して条件の読み出しを行う。   The process is performed in the same manner for the print filter C5, but the condition ID is acquired not through the page data generated by the stored document read filter C7 but through the page data generated by the edit filter C4, and the condition is read out. .

図29は保管文書印刷におけるページ単位条件の読出および編集(図18(b)のステップS302の一部)の処理例を示すシーケンス図である。   FIG. 29 is a sequence diagram showing a processing example of reading and editing of page unit conditions (part of step S302 of FIG. 18B) in stored document printing.

図29において、保管文書読出フィルタC7は保管文書共有サービスC8に対してページIDを伴ってページ情報読出を要求し(ステップS381)、保管文書共有サービスC8からページ情報を取得する(ステップS382)。次いで、保管文書読出フィルタC7はページデータを生成し(ステップS383)、条件を復元する場合には、ページデータにページ単位条件リストを設定し(ステップS384)、編集フィルタC4にページデータへのデータ書込を通知する(ステップS385)。これらの処理はパイプを介して行なわれる。   In FIG. 29, the stored document read filter C7 requests the stored document sharing service C8 to read page information with a page ID (step S381), and acquires page information from the stored document sharing service C8 (step S382). Next, the stored document read filter C7 generates page data (step S383). When restoring the conditions, a page unit condition list is set for the page data (step S384), and the data for the page data is set in the edit filter C4. The writing is notified (step S385). These processes are performed via a pipe.

次いで、編集フィルタC4はページデータからページ単位条件リストを取得する(ステップS386、S387)。そして、編集フィルタC4は自分の条件IDがあり、かつ、前のページで読み出した条件IDと異なる場合、データ管理C9から条件IDに基づいて編集条件を読み出し(ステップS388、S389)、読み出した編集条件に条件を更新し(ステップS390)、UI C1に条件設定完了通知を行う(ステップS391)。これを受け、UI C1は表示画面の更新を行う(ステップS392)。   Next, the edit filter C4 acquires a page unit condition list from the page data (steps S386 and S387). If the edit filter C4 has its own condition ID and is different from the condition ID read in the previous page, the edit filter C4 reads the edit condition based on the condition ID from the data management C9 (steps S388 and S389), and the read edit The condition is updated to the condition (step S390), and the condition setting completion notification is sent to the UI C1 (step S391). In response to this, the UI C1 updates the display screen (step S392).

次いで、編集フィルタC4は更新された編集条件に基づいて編集処理を行い(ステップS393)、ページデータを生成し(ステップS394)、ページデータにページ単位条件リストを設定し(ステップS395)、印刷フィルタC5にページデータへのデータ書込を通知する(ステップS396)。   Next, the editing filter C4 performs editing processing based on the updated editing conditions (step S393), generates page data (step S394), sets a page unit condition list in the page data (step S395), and print filter. C5 is notified of the data writing to the page data (step S396).

次いで、印刷フィルタC5は、自分の条件IDがあり、かつ、前のページで読み出した条件IDと異なる場合、編集フィルタC4と同様の処理(ステップS388〜S391)を行う(ステップS397)。   Next, when the print filter C5 has its own condition ID and is different from the condition ID read in the previous page, the print filter C5 performs the same processing (steps S388 to S391) as the edit filter C4 (step S397).

図30は編集時の集約処理の例を示すフローチャートであり、図29のステップS393で行われる処理例である。「4 in 1」等の集約設定がされている場合に、1ページ分の画像が全て埋まらない状態で集約設定が変更された時(例えば「2 in 1」に変更)、埋まらない領域は空白のまま出力し、集約設定が変更されたページからは新しく領域に画像の割当を行う。   FIG. 30 is a flowchart showing an example of the aggregation process during editing, and is an example of the process performed in step S393 in FIG. When aggregation settings such as “4 in 1” are set, if the aggregation settings are changed in a state where all images for one page are not filled (for example, changed to “2 in 1”), the unfilled area is blank. The image is output as it is, and an image is allocated to a new area from the page whose aggregation setting has been changed.

図30において、処理を開始すると(ステップS401)、編集フィルタC4は集約条件が変更されているか否か判断し(ステップS402)、変更されている場合(ステップS402のYES)、1ページの画像を印刷フィルタC5に書き込む(ステップS403)。集約条件が変更されていない場合(ステップS402のNO)はこの処理は行わない。   In FIG. 30, when the process is started (step S401), the edit filter C4 determines whether or not the aggregation condition has been changed (step S402), and if it has been changed (YES in step S402), the image of one page is displayed. Write to the print filter C5 (step S403). If the aggregation condition has not been changed (NO in step S402), this process is not performed.

次いで、編集フィルタC4はページデータから画像を取得して集約サイズに変倍し(ステップS404)、ページに変倍した画像を割り当てる(ステップS405)。そして、ページ内に未割当の領域があるか否か判断し(ステップS406)、ある場合(ステップS406のYES)は集約条件変更の判断(ステップS402)に移行する。未割当の領域がない(ステップS406のNO)、1ページの画像を印刷フィルタC5に書き込み(ステップS407)、処理を終了する(ステップS408)。   Next, the editing filter C4 acquires an image from the page data, scales it to the aggregate size (step S404), and assigns the scaled image to the page (step S405). Then, it is determined whether or not there is an unallocated area in the page (step S406), and if there is (YES in step S406), the process proceeds to determination of aggregation condition change (step S402). There is no unallocated area (NO in step S406), an image of one page is written in the print filter C5 (step S407), and the process ends (step S408).

<第3の実施形態>
第3の実施形態は、上述した第2の実施形態の基本的な考え方を維持しつつ、更に、編集や印刷等の条件(詳細な設定項目)を文書本体とともに保存する先のデータベースへのフィルタの依存を最小限にしたものである。
<Third Embodiment>
In the third embodiment, while maintaining the basic concept of the second embodiment described above, a filter to a database that further stores conditions (detailed setting items) such as editing and printing together with the document body The dependency of is minimized.

すなわち、図15に示した第2の実施形態の仕組では、編集フィルタや印刷フィルタが編集条件や印刷条件を直接にデータベースに保存していたため、データベースのインタフェースに変更が生じた場合、最終的に文書本体と文書単位条件リストおよびページ単位条件リストをデータベースに保存する保管文書登録フィルタのみならず、編集フィルタや印刷フィルタにも修正が必要となってしまい、データベースとの強い依存が存在している。データベースが装置内に存在するローカルストレージの場合にはインタフェースが変更される可能性は極めて低いが、データベースとしてネットワーク上のストレージ(ネットワークストレージ)を用いる場合には、運用上の都合から形式の異なるデータベースに保存先が変更される可能性が高く、その都度に関係するフィルタの全てに修正を施し、あるいは変更を予想して対応可能なインタフェースを予め備えておくことは現実的ではない。   That is, in the structure of the second embodiment shown in FIG. 15, the editing filter and the printing filter store the editing conditions and the printing conditions directly in the database. Not only the stored document registration filter that saves the document body, document unit condition list and page unit condition list in the database, but also the editing filter and print filter need to be modified, and there is a strong dependence on the database. . If the database is local storage in the device, the possibility that the interface will be changed is very low. However, if the storage on the network (network storage) is used as the database, the database is of a different format due to operational reasons. However, it is not realistic to modify all the filters related to each time, or to prepare an interface that can cope with the change in advance.

そこで、この第3の実施形態では、保管文書登録フィルタのみがデータベースにアクセスすることでデータベースへの依存を最小限にし、かつ、編集フィルタや印刷フィルタと保管文書登録フィルタとの依存を発生させないために、編集フィルタや印刷フィルタから保管文書登録フィルタに渡す条件のデータを、フィルタ内のデータ定義に依存しない、項目データを直列化したバイト(Byte)配列等の、汎用的なデータ系列によるブラックボックス化した条件データとしている。   Therefore, in the third embodiment, since only the stored document registration filter accesses the database, the dependence on the database is minimized, and the dependency between the editing filter, the print filter, and the stored document registration filter does not occur. In addition, the data of the condition passed from the edit filter or print filter to the stored document registration filter is a black box based on a general data series such as a byte array in which item data is serialized without depending on the data definition in the filter. Conditional data.

図31は第3の実施形態の仕組の概念図である。   FIG. 31 is a conceptual diagram of the structure of the third embodiment.

図31において、編集フィルタはジョブ開始時において条件が設定された際に、集約設定、変倍等の項目からなる編集条件の項目データを直列化してバイト配列の条件データを生成し、その条件データを保管文書登録フィルタに渡す。また、印刷フィルタはジョブ開始時において条件が設定された際に、出力トレイ、ステープル、ソート等の項目からなる印刷条件の項目データを直列化してバイト配列の条件データを生成し、その条件データを保管文書登録フィルタに渡す。そして、保管文書登録フィルタは、ジョブ開始時に渡された条件データおよびコンポーネント名「編集フィルタ」と条件データおよびコンポーネント名「印刷フィルタ」とを文書単位条件リストおよび先頭ページのページ単位条件リストに格納する。コンポーネント名を条件データと対にしているのは、条件データは単なるバイト配列であるため、その生成元のコンポーネントを特定するためである。   In FIG. 31, when the conditions are set at the start of the job, the editing filter serializes the editing condition item data including items such as aggregation setting and scaling, and generates byte array condition data. Is passed to the stored document registration filter. In addition, when conditions are set at the start of a job, the print filter serializes print condition item data such as output tray, staple, sort, and the like to generate byte array condition data. Pass to stored document registration filter. Then, the stored document registration filter stores the condition data and component name “edit filter” and the condition data and component name “print filter” passed at the start of the job in the document unit condition list and the page unit condition list of the first page. . The reason why the component name is paired with the condition data is that the condition data is a simple byte array, so that the component of the generation source is specified.

また、編集フィルタおよび印刷フィルタは、ジョブ開始後のジョブ一時停止状態において条件が設定された際にも同様に条件データを生成し、その条件データを保管文書登録フィルタに渡す。保管文書登録フィルタはその時点での対象となるページのページ単位条件リストとして、条件データおよびコンポーネント名と、新たに採番した条件IDとを格納する。   The edit filter and print filter also generate condition data in the same way when conditions are set in a job suspension state after the job starts, and pass the condition data to the stored document registration filter. The stored document registration filter stores the condition data, the component name, and the newly assigned condition ID as the page unit condition list of the target page at that time.

そして、保管文書登録フィルタは、適時に文書本体とともに文書単位条件リストおよびページ単位条件リストをデータベース(ネットワーク上もしくはローカル上のストレージ)に保存する。例えば、ページ単位条件リストはページ単位の文書本体を保存するのと同時にデータベースに保存し、文書単位条件リストは全ページの処理が完了した時点でデータベースに保存する。   Then, the archived document registration filter saves the document unit condition list and the page unit condition list together with the document main body in a database (storage on the network or locally) in a timely manner. For example, the page unit condition list is stored in the database at the same time as the document body of the page unit is stored, and the document unit condition list is stored in the database when processing of all pages is completed.

図32は条件データの生成および復元の概念図である。すなわち、文書蓄積時において、各フィルタでのデータ定義に依存する条件の元データから、項目データの直列化(シリアライズ)によりバイト配列の条件データが生成される。また、文書再利用時において、バイト配列の条件データから、各フィルタでのデータ定義に依存する条件の元データが復元(デシリアライズ)される。   FIG. 32 is a conceptual diagram of generation and restoration of condition data. That is, at the time of document accumulation, byte array condition data is generated by serializing item data from the original data that depends on the data definition in each filter. Further, when reusing a document, the original data of the condition depending on the data definition in each filter is restored (deserialized) from the condition data of the byte array.

第3の実施形態における複合機1のソフトウェア構成例は、図16に示したものと同様となるが、後述するように、編集フィルタC4、印刷フィルタC5、保管文書登録フィルタC6、保管文書読出フィルタC7等における条件の扱いに関する処理機能が異なってくる。   A software configuration example of the multifunction machine 1 in the third embodiment is the same as that shown in FIG. 16, but as will be described later, an edit filter C4, a print filter C5, a stored document registration filter C6, and a stored document read filter. Processing functions related to handling of conditions in C7 and the like are different.

図33はデータ構造の例を示す図であり、文書IDで特定される文書情報には、文書名と文書アクセス権と文書単位条件リストとページ情報IDリストとが含まれている。文書単位条件リストには1または複数の文書単位条件が含まれ、文書単位条件には条件データとコンポーネント名とが含まれている。   FIG. 33 is a diagram showing an example of the data structure, and the document information specified by the document ID includes a document name, a document access right, a document unit condition list, and a page information ID list. The document unit condition list includes one or more document unit conditions, and the document unit condition includes condition data and a component name.

ページ情報IDリストに含まれるページ情報IDで特定される各ページのページ情報には、用紙サイズと画像サイズと解像度と画像識別子とページ単位条件リストとが含まれている。ページ単位条件リストには1または複数のページ単位条件が含まれ、ページ単位条件には条件データとコンポーネント名と条件IDとが含まれている。   The page information of each page specified by the page information ID included in the page information ID list includes a paper size, an image size, a resolution, an image identifier, and a page unit condition list. The page unit condition list includes one or a plurality of page unit conditions, and the page unit condition includes condition data, a component name, and a condition ID.

以下、第3の実施形態の動作について説明する。   The operation of the third embodiment will be described below.

全体的な処理概要は図18に示したフローチャートと同様である。   The overall processing outline is the same as the flowchart shown in FIG.

図34はコピー蓄積における開始条件の設定および保存(図18(a)のステップS201)の処理例を示すシーケンス図である。   FIG. 34 is a sequence diagram showing a processing example of setting and saving a start condition in copy accumulation (step S201 in FIG. 18A).

図34において、ユーザのオペレーションパネルへの操作に応じ、UI C1から読取フィルタC3に対して読取条件の条件設定が行われ(ステップS501、S502)、UI C1から編集フィルタC4に対して編集条件の条件設定が行われ(ステップS503、S504)、UI C1から印刷フィルタC5に対して印刷条件の条件設定が行われ(ステップS505、S506)、UI C1から保管文書登録フィルタC6に対して蓄積条件の条件設定が行われる(ステップS507、S508)。   In FIG. 34, in accordance with the user's operation on the operation panel, the reading conditions are set from the UI C1 to the reading filter C3 (steps S501 and S502), and the editing conditions are set from the UI C1 to the editing filter C4. Conditions are set (steps S503 and S504), the printing conditions are set from the UI C1 to the printing filter C5 (steps S505 and S506), and the accumulation conditions are set from the UI C1 to the stored document registration filter C6. Condition setting is performed (steps S507 and S508).

次いで、ユーザのオペレーションパネルへの操作に応じ、UI C1からコピーアクティビティC2に対してジョブスタートが要求されると(ステップS509)、コピーアクティビティC2は編集フィルタC4に対して条件保存を要求する(ステップS510)。編集フィルタC4は、条件の項目データの直列化により条件データを生成し(ステップS511)、コピーアクティビティC2に直列化済みの条件データを返す(ステップS512)。   Next, when a job start is requested from the UI C1 to the copy activity C2 in response to a user operation on the operation panel (step S509), the copy activity C2 requests the editing filter C4 to save a condition (step S509). S510). The edit filter C4 generates condition data by serializing the condition item data (step S511), and returns the serialized condition data to the copy activity C2 (step S512).

同様に、コピーアクティビティC2は印刷フィルタC5に対して条件保存を要求し(ステップS513)、印刷フィルタC5は、条件の項目データの直列化により条件データを生成し(ステップS514)、コピーアクティビティC2に直列化済みの条件データを返す(ステップS515)。   Similarly, the copy activity C2 requests the print filter C5 to save the condition (step S513), and the print filter C5 generates condition data by serializing the condition item data (step S514), and sends it to the copy activity C2. The serialized condition data is returned (step S515).

なお、読取フィルタC3における読取条件や保管文書登録フィルタC6における蓄積条件は、保管文書印刷時に再現する必要のない条件であるため、条件データの生成は行なわない。   Note that the reading conditions in the reading filter C3 and the storage conditions in the stored document registration filter C6 are conditions that do not need to be reproduced when printing the stored document, so that no condition data is generated.

次いで、コピーアクティビティC2は保管文書登録フィルタC6に対して条件データを含む文書単位条件リストの条件設定を行う(ステップS516、S517)。保管文書登録フィルタC6はこの時点では文書単位条件リストの保存は行なわず、文書情報の一部として全ページの処理が完了した時点の文書情報の保存(図18(a)のステップS205)において行なう。   Next, the copy activity C2 sets the conditions of the document unit condition list including the condition data for the stored document registration filter C6 (steps S516 and S517). The archived document registration filter C6 does not save the document unit condition list at this time, but saves the document information when all pages have been processed as part of the document information (step S205 in FIG. 18A). .

次に、コピー蓄積における文書の読取、編集および蓄積(図18(a)のステップS202、S204の一部)ならびに文書情報の保存(図18のステップS205)の処理は図22に示したものと同様である。   Next, the process of reading, editing and storing a document in copy storage (part of steps S202 and S204 in FIG. 18A) and storing document information (step S205 in FIG. 18) are as shown in FIG. It is the same.

図35はコピー蓄積におけるページ単位条件の設定および保存(図18(a)のステップS203)の処理例を示すフローチャートである。   FIG. 35 is a flowchart showing an example of processing for setting and saving page unit conditions in copy accumulation (step S203 in FIG. 18A).

図35において、次原稿待ち状態のジョブ一時停止中にて(ステップS521)、ユーザが条件(編集条件/印刷条件)を設定し(ステップS522)、ユーザが原稿をセットしてジョブを再開すると(ステップS523)、各フィルタ(編集フィルタC4、印刷フィルタC5)は条件が変更されているか否か判断する(ステップS524)。   In FIG. 35, while the job waiting for the next original is suspended (step S521), the user sets conditions (editing conditions / printing conditions) (step S522), and the user sets the original and resumes the job (step S522). In step S523, each filter (edit filter C4, print filter C5) determines whether the condition has been changed (step S524).

条件が変更されている場合(ステップS524のYES)、各フィルタは条件を直列化し、バイト配列の条件データを作成する(ステップS525)。条件が変更されていない場合(ステップS524のNO)はこの処理は行わない。   If the condition has been changed (YES in step S524), each filter serializes the condition and creates byte array condition data (step S525). If the condition has not been changed (NO in step S524), this process is not performed.

次いで、各フィルタは保持している条件データと自分のコンポーネント名をコピーアクティビティC2に通知する(ステップS526)。   Next, each filter notifies the copy activity C2 of the held condition data and its component name (step S526).

次いで、コピーアクティビティC2は保管文書登録フィルタC6に各フィルタのページ単位条件リストを設定する(ステップS527)。   Next, the copy activity C2 sets a page unit condition list for each filter in the stored document registration filter C6 (step S527).

そして、保管文書登録フィルタC6は渡されたページ単位条件リストのページ単位条件に条件IDを採番する(ステップS528)。その後、ジョブを再開する(ステップS529)。   Then, the stored document registration filter C6 assigns a condition ID to the page unit condition in the passed page unit condition list (step S528). Thereafter, the job is resumed (step S529).

図36はコピー蓄積におけるページ単位条件の設定および保存(図18(a)のステップS203)の処理例を示すシーケンス図である。   FIG. 36 is a sequence diagram showing a processing example of setting and storing page unit conditions in copy accumulation (step S203 in FIG. 18A).

図36において、次原稿待ち状態のジョブ一時停止中にて、ユーザがUI C1に対して編集条件を設定すると(ステップS531)、UI C1は編集フィルタC4に編集条件の条件設定を行う(ステップS532、S533)。   In FIG. 36, when the user sets an editing condition for the UI C1 while the job is waiting for the next original (step S531), the UI C1 sets the editing condition in the editing filter C4 (step S532). , S533).

同様に、ユーザがUI C1に対して印刷条件を設定すると(ステップS534)、UI C1は印刷フィルタC5に印刷条件の条件設定を行う(ステップS535、S536)。   Similarly, when the user sets print conditions for the UI C1 (step S534), the UI C1 sets the print condition conditions for the print filter C5 (steps S535 and S536).

次いで、ユーザが原稿をセットしてUI C1に対してスタートボタンの押下を行なうと(ステップS537)、UI C1はコピーアクティビティC2にジョブの再開を要求する(ステップS538)。なお、SADFモードの場合は原稿をADFにセットした時点で、スタートボタンの押下を行わなくても、自動にジョブの再開が行われる。   Next, when the user sets a document and presses the start button on the UI C1 (step S537), the UI C1 requests the copy activity C2 to resume the job (step S538). In the SADF mode, when the document is set on the ADF, the job is automatically restarted without pressing the start button.

コピーアクティビティC2は編集フィルタC4に対してページブロック番号を伴ってページブロックの変更を伝え(ステップS539)、編集フィルタC4は、条件が変更されていた場合、条件データを生成し(ステップS540)、コピーアクティビティC2に直列化済みの条件データを含むページ単位条件を伴って条件変更通知を行う(ステップS541)。条件が変更されていない場合は条件データの生成は行わず、これまでの条件IDを返す。   The copy activity C2 notifies the editing filter C4 of the change of the page block with the page block number (step S539), and the editing filter C4 generates the condition data when the condition is changed (step S540). A condition change notification is made with a page unit condition including serialized condition data in the copy activity C2 (step S541). If the condition has not been changed, the condition data is not generated and the previous condition ID is returned.

同様に、コピーアクティビティC2は印刷フィルタC5に対してページブロック番号を伴ってページブロックの変更を伝え(ステップS542)、印刷フィルタC5は、編集フィルタC4によるのと同様の処理(ステップS540)を行い(ステップS543)、コピーアクティビティC2に直列化済みの条件データを含むページ単位条件を伴って条件変更通知を行う(ステップS544)。   Similarly, the copy activity C2 notifies the print filter C5 of the page block change with the page block number (step S542), and the print filter C5 performs the same processing (step S540) as that performed by the edit filter C4. (Step S543), a condition change notification is made with a page unit condition including condition data serialized in the copy activity C2 (Step S544).

次いで、コピーアクティビティC2は保管文書登録フィルタC6に対してページ単位条件リストの条件設定を行うと(ステップS545)、保管文書登録フィルタC6は条件IDを採番し(ステップS546)、コピーアクティビティC2に応答を返す(ステップS547)。新たな条件IDが採番されることで、このタイミングで条件が変わったことが明らかとなる。なお、保管文書登録フィルタC6はこの時点ではページ単位条件リストの保存は行なわず、前述したページ単位の蓄積時(図18(a)のステップS204)において行なう。   Next, when the copy activity C2 sets the condition of the page unit condition list for the archived document registration filter C6 (step S545), the archived document registration filter C6 assigns a condition ID (step S546), and enters the copy activity C2. A response is returned (step S547). By assigning a new condition ID, it becomes clear that the condition has changed at this timing. Note that the stored document registration filter C6 does not store the page unit condition list at this time, but performs the storage in the above-described page unit accumulation (step S204 in FIG. 18A).

図37は保管文書印刷における選択された文書からの条件復元(図18(b)のステップS301)の処理例を示すフローチャートである。   FIG. 37 is a flowchart showing a processing example of condition restoration (step S301 in FIG. 18B) from a selected document in stored document printing.

図37において、保管文書印刷の開始にあたり(ステップS551)、ユーザが文書Aを選択すると(ステップS552)、UI C1は文書Aに条件IDが関連付いているか否か判断する(ステップS553)。前述したコピー蓄積による場合は文書に条件IDが関連付いているが、コピー等を伴わない蓄積だけの場合は文書に条件IDが関連付いておらず、条件の復元はできない。   In FIG. 37, at the start of stored document printing (step S551), when the user selects document A (step S552), UI C1 determines whether or not a condition ID is associated with document A (step S553). In the case of the above-described copy accumulation, the condition ID is associated with the document. However, in the case of only accumulation without copying or the like, the condition ID is not associated with the document, and the condition cannot be restored.

文書Aに条件IDが関連付いている場合(ステップS553のYES)、UI C1は文書Aに条件IDが関連付いていることをユーザに通知し(ステップS554)、ユーザの選択操作により条件を復元するか否か判断する(ステップS555)。   When the condition ID is associated with the document A (YES in step S553), the UI C1 notifies the user that the condition ID is associated with the document A (step S554), and the condition is restored by the user's selection operation. It is determined whether or not to perform (step S555).

条件を復元することが選択された場合(ステップS555のYES)、各フィルタ(編集フィルタC4、印刷フィルタC5)は条件データを元に条件を読み出して復元を行う(ステップS556)。   If it is selected to restore the condition (YES in step S555), each filter (edit filter C4, print filter C5) reads the condition based on the condition data and restores it (step S556).

文書Aに条件IDが関連付いていない場合(ステップS553のNO)もしくは条件を復元することが選択されなかった場合(ステップS555のNO)は、ユーザ操作に応じて条件を設定する(ステップS557)。   When the condition ID is not associated with the document A (NO in step S553) or when it is not selected to restore the condition (NO in step S555), the condition is set according to the user operation (step S557). .

その後、ジョブをスタートし(ステップS558)、処理を終了する(ステップS559)。   Thereafter, the job is started (step S558), and the process is ended (step S559).

図38は保管文書印刷における選択された文書からの条件復元(図18(b)のステップS301)の処理例を示すシーケンス図である。   FIG. 38 is a sequence diagram showing a processing example of condition restoration (step S301 in FIG. 18B) from a selected document in stored document printing.

図38において、保管文書印刷を行う場合、ユーザはUI C1から所望の文書Aを選択する(ステップS561)。   In FIG. 38, when printing a stored document, the user selects a desired document A from the UI C1 (step S561).

次いで、UI C1は保管文書読出フィルタC7に文書Aを読出条件として条件設定し(ステップS562)、保管文書読出フィルタC7は保管文書共有サービスC8に文書Aの文書情報読出を要求し(ステップS563)、保管文書共有サービスC8は保管文書読出フィルタC7に文書情報を返す(ステップS564)。保管文書読出フィルタC7は文書に条件が関連付いている場合、UI C1に条件ありの通知を行い(ステップS565)、UI C1は文書に関連付いている条件を復元するか否かをユーザに求める。   Next, the UI C1 sets conditions for the document A as a read condition to the stored document read filter C7 (step S562), and the stored document read filter C7 requests the stored document sharing service C8 to read the document information of the document A (step S563). The stored document sharing service C8 returns the document information to the stored document read filter C7 (step S564). When the document is associated with a condition, the stored document read filter C7 notifies the UI C1 that there is a condition (step S565), and the UI C1 asks the user whether to restore the condition associated with the document. .

条件を復元する場合、ユーザはUI C1に条件復元を要求し(ステップS566)、UI C1は保管文書読出フィルタC7に条件の復元を要求し(ステップS567)、保管文書読出フィルタC7はコピーアクティビティC2に文書単位条件リストを伴って条件復元要求通知を行う(ステップS568)。   When restoring the conditions, the user requests the UI C1 to restore the conditions (step S566), the UI C1 requests the saved document read filter C7 to restore the conditions (step S567), and the saved document read filter C7 uses the copy activity C2. A condition restoration request notification is sent with the document unit condition list (step S568).

コピーアクティビティC2は編集フィルタC4に直列化済みの条件データを伴って条件読出を要求し(ステップS569)、編集フィルタC4は条件データを復元して編集条件を取得し(ステップS570)、取得した編集条件に基づいて条件を更新し(ステップS571)、UI C1に条件設定完了通知を行う(ステップS572)。これを受け、UI C1は表示画面の更新を行う(ステップS573)。   The copy activity C2 requests the editing filter C4 to read the condition with the serialized condition data (step S569). The editing filter C4 restores the condition data to acquire the editing condition (step S570), and the acquired editing is performed. The condition is updated based on the condition (step S571), and a condition setting completion notification is sent to the UI C1 (step S572). In response to this, the UI C1 updates the display screen (step S573).

同様に、コピーアクティビティC2は印刷フィルタC5に直列化済みの条件データを伴って条件読出を要求し(ステップS574)、印刷フィルタC5は条件データを復元して印刷条件を取得し(ステップS575)、取得した印刷条件に基づいて条件を更新し(ステップS576)、UI C1に条件設定完了通知を行う(ステップS577)。これを受け、UI C1は表示画面の更新を行う(ステップS578)。   Similarly, the copy activity C2 requests the print filter C5 to read the condition with the serialized condition data (step S574), and the print filter C5 restores the condition data to acquire the print condition (step S575). The conditions are updated based on the acquired printing conditions (step S576), and a condition setting completion notification is sent to the UI C1 (step S577). In response to this, the UI C1 updates the display screen (step S578).

一方、条件を復元しない場合、ユーザはUI C1に条件を復元しない旨を要求する(ステップS579)。そして、ユーザはUI C1に対して編集条件を設定し(ステップS580)、UI C1は編集フィルタC4に編集条件を設定する(ステップS581)。同様に、ユーザはUI C1に対して印刷条件を設定し(ステップS582)、UI C1は印刷フィルタC5に印刷条件を設定する(ステップS583)。   On the other hand, when the condition is not restored, the user requests the UI C1 not to restore the condition (step S579). Then, the user sets editing conditions for the UI C1 (step S580), and the UI C1 sets editing conditions for the editing filter C4 (step S581). Similarly, the user sets printing conditions for the UI C1 (step S582), and the UI C1 sets printing conditions for the print filter C5 (step S583).

その後、ユーザがUI C1に対してスタートボタンを押下すると(ステップS584)、UI C1はコピーアクティビティC2にジョブスタートを要求し(ステップS585)、コピーアクティビティC2は保管文書読出フィルタC7と編集フィルタC4と印刷フィルタC5にジョブスタートを要求する(ステップS586〜S588)。   Thereafter, when the user presses the start button on the UI C1 (step S584), the UI C1 requests the copy activity C2 to start a job (step S585), and the copy activity C2 includes the stored document read filter C7 and the edit filter C4. A job start is requested to the print filter C5 (steps S586 to S588).

図39は保管文書印刷におけるページ単位条件の読出(図18(b)のステップS302の一部)の処理例を示すフローチャートである。   FIG. 39 is a flowchart showing an example of processing for reading page unit conditions (part of step S302 in FIG. 18B) in stored document printing.

図39において、処理を開始すると(ステップS601)、保管文書読出フィルタC7はページ情報を読み出してページデータを生成する(ステップS602)。次いで、既にユーザによってなされた条件を復元するか否かの選択に応じ(ステップS603)、条件を復元する場合(ステップS603のYES)、保管文書読出フィルタC7は前のページの条件IDと異なるか否か判断する(ステップS604)。   In FIG. 39, when processing is started (step S601), the stored document read filter C7 reads page information and generates page data (step S602). Next, according to the selection of whether or not to restore the condition already made by the user (step S603), when restoring the condition (YES in step S603), is the stored document read filter C7 different from the condition ID of the previous page? It is determined whether or not (step S604).

前のページの条件IDと異なる場合(ステップS604のYES)、保管文書読出フィルタC7はコピーアクティビティC2にジョブ一時中断通知を出し、読み出した条件データをコピーアクティビティC2に通知する(ステップS605)。   If the condition ID is different from the condition ID of the previous page (YES in step S604), the stored document reading filter C7 issues a job temporary suspension notification to the copy activity C2, and notifies the copy activity C2 of the read condition data (step S605).

次いで、コピーアクティビティC2は条件データとブロックIDを各フィルタ(編集フィルタC4、印刷フィルタC5)に設定する(ステップS606)。   Next, the copy activity C2 sets the condition data and the block ID in each filter (edit filter C4, print filter C5) (step S606).

図40は設定条件とブロックIDの関係を示す図である。すなわち、ページ単位の条件を更新する場合、コピーアクティビティC2は、条件データに対して、設定された条件とその条件が適用されるべきページとを紐付けるブロックIDを付与する。各フィルタは、ページデータに紐付いているブロックIDと一致するブロックIDをもつ設定条件を、処理するページの条件として適用する。   FIG. 40 is a diagram showing the relationship between setting conditions and block IDs. In other words, when updating a page unit condition, the copy activity C2 assigns a block ID that links a set condition and a page to which the condition is applied, to the condition data. Each filter applies a setting condition having a block ID that matches the block ID associated with the page data as a condition for the page to be processed.

図39に戻り、各フィルタは条件データを復元して設定条件を更新する(ステップS607)。   Returning to FIG. 39, each filter restores the condition data and updates the set condition (step S607).

次いで、コピーアクティビティC2は各フィルタのジョブを再開する(ステップS608)。   Next, the copy activity C2 resumes each filter job (step S608).

また、条件を復元しない場合(ステップS603のNO)もしくは前のページの条件IDと異ならない場合(ステップS604のNO)はこれらの処理は行わない。   Further, when the condition is not restored (NO in step S603) or when it is not different from the condition ID of the previous page (NO in step S604), these processes are not performed.

次いで、保管文書読出フィルタC7はページデータを書き込む(ステップS609)。   Next, the stored document read filter C7 writes page data (step S609).

次いで、編集フィルタC4は、条件データに紐付いているブロックIDとページデータのブロックIDとが一致していた場合に、設定条件を更新する(ステップS610)。   Next, the edit filter C4 updates the setting condition when the block ID associated with the condition data matches the block ID of the page data (step S610).

次いで、編集フィルタC4は編集処理を実行し、ページデータにデータを書き込み(ステップS611)、処理を終了する(ステップS612)。   Next, the editing filter C4 executes editing processing, writes data in the page data (step S611), and ends the processing (step S612).

印刷フィルタC5についても同様にして処理が行われるが、保管文書読出フィルタC7が生成したページデータからではなく、編集フィルタC4が生成したページデータを対象に処理を行う。   The same processing is performed for the print filter C5, but the processing is performed on the page data generated by the editing filter C4, not the page data generated by the stored document read filter C7.

図41は保管文書印刷におけるページ単位条件の読出および編集(図18(b)のステップS302の一部)の処理例を示すシーケンス図である。   FIG. 41 is a sequence diagram showing a processing example of reading and editing of page unit conditions (part of step S302 in FIG. 18B) in stored document printing.

図41において、保管文書読出フィルタC7は保管文書共有サービスC8に対してページIDを伴ってページ情報読出を要求し(ステップS621)、保管文書共有サービスC8からページ情報を取得する(ステップS622)。   In FIG. 41, the stored document reading filter C7 requests the stored document sharing service C8 to read page information with a page ID (step S621), and acquires page information from the stored document sharing service C8 (step S622).

次いで、保管文書読出フィルタC7は条件IDを確認し(ステップS623)、条件IDがこれまでのものと異なる場合、以下の処理を行う。   Next, the stored document read filter C7 confirms the condition ID (step S623). If the condition ID is different from the previous one, the following processing is performed.

すなわち、保管文書読出フィルタC7はコピーアクティビティC2に文書単位条件リストを伴って条件復元要求通知を行う(ステップS624)。   That is, the stored document read filter C7 sends a condition restoration request notification to the copy activity C2 with the document unit condition list (step S624).

コピーアクティビティC2は編集フィルタC4に直列化済みの条件データとブロックIDを伴って条件変更を行い(ステップS625)、編集フィルタC4は条件復元を行い(ステップS626)、コピーアクティビティC2に応答を返す(ステップS627)。   The copy activity C2 changes the condition with the condition data and the block ID serialized in the edit filter C4 (step S625), the edit filter C4 restores the condition (step S626), and returns a response to the copy activity C2 ( Step S627).

同様に、コピーアクティビティC2は印刷フィルタC5に直列化済みの条件データとブロックIDを伴って条件変更を行い(ステップS628)、印刷フィルタC5は条件復元を行い(ステップS629)、コピーアクティビティC2に応答を返す(ステップS630)。   Similarly, the copy activity C2 changes the condition with the serialized condition data and block ID in the print filter C5 (step S628), the print filter C5 performs condition restoration (step S629), and responds to the copy activity C2. Is returned (step S630).

その後、保管文書読出フィルタC7はページデータを生成し(ステップS631)、編集フィルタC4にページデータへのデータ書込を通知する(ステップS632)。これらの処理はパイプを介して行なわれる。   Thereafter, the stored document reading filter C7 generates page data (step S631), and notifies the editing filter C4 of data writing to the page data (step S632). These processes are performed via a pipe.

編集フィルタC4は条件を更新し(ステップS633)、更新された編集条件に基づいて編集処理を行い(ステップS634)、ページデータを生成し(ステップS635)、印刷フィルタC5にページデータへのデータ書込を通知する(ステップS636)。   The editing filter C4 updates the conditions (step S633), performs editing processing based on the updated editing conditions (step S634), generates page data (step S635), and prints the data document to the page data in the print filter C5. (Step S636).

その後、印刷フィルタC5においても、編集フィルタC4の場合と同様の処理(ステップS633〜S636)を行う(ステップS637)。   Thereafter, in the print filter C5, the same processing (steps S633 to S636) as in the editing filter C4 is performed (step S637).

<総括>
以上、本発明の好適な実施の形態により本発明を説明した。ここでは特定の具体例を示して本発明を説明したが、特許請求の範囲に定義された本発明の広範な趣旨および範囲から逸脱することなく、これら具体例に様々な修正および変更を加えることができることは明らかである。すなわち、具体例の詳細および添付の図面により本発明が限定されるものと解釈してはならない。
<Summary>
The present invention has been described above by the preferred embodiments of the present invention. While the invention has been described with reference to specific embodiments, various modifications and changes may be made to the embodiments without departing from the broad spirit and scope of the invention as defined in the claims. Obviously you can. In other words, the present invention should not be construed as being limited by the details of the specific examples and the accompanying drawings.

第1の実施形態における複合機のソフトウェア構成例を示す図である。FIG. 3 is a diagram illustrating an example of a software configuration of a multifunction machine according to the first embodiment. パイプ&フィルタの概念を説明するための図である。It is a figure for demonstrating the concept of a pipe & filter. 複合機のハードウェア構成の一例を示す図である。2 is a diagram illustrating an example of a hardware configuration of a multifunction peripheral. FIG. アクティビティの構成要素を説明するための図である。It is a figure for demonstrating the component of an activity. フィルタの構成要素を説明するための図である。It is a figure for demonstrating the component of a filter. 複合機における各機能を実現するためのフィルタの組み合わせの例を示す図である。FIG. 3 is a diagram illustrating an example of a combination of filters for realizing each function in a multifunction peripheral. 複合機が一つの機能を実現する際の処理手順を説明するためのフローチャート(その1)である。5 is a flowchart (No. 1) for explaining a processing procedure when the multifunction peripheral realizes one function. 複合機が一つの機能を実現する際の処理手順を説明するためのフローチャート(その2)である。12 is a flowchart (No. 2) for explaining a processing procedure when the multifunction peripheral realizes one function. アクティビティを利用させるための操作画面例を示す図である。It is a figure which shows the example of an operation screen for utilizing an activity. ユーザインタフェース層からコントロール層へ通知される要求内容を概念的に示す図である。It is a figure which shows notionally the request | requirement content notified to a control layer from a user interface layer. フィルタとパイプの対応テーブルの例を示す図である。It is a figure which shows the example of the correspondence table of a filter and a pipe. コントロール層によって生成される情報を概念的に示す図である。It is a figure which shows notionally the information produced | generated by the control layer. パイプを介したフィルタ間のデータの伝達手順を説明するための図である。It is a figure for demonstrating the transmission procedure of the data between the filters via a pipe. 文書本体とともに編集条件や印刷条件を保存する場合の問題点の説明図である。FIG. 10 is an explanatory diagram of a problem when editing conditions and printing conditions are saved together with a document body. コンポーネント間の強い依存が発生しないための仕組の概念図である。It is a conceptual diagram of a structure for preventing strong dependence between components. 第2の実施形態における複合機のソフトウェア構成例を示す図である。FIG. 9 is a diagram illustrating a software configuration example of a multifunction machine according to a second embodiment. データ構造の例を示す図である。It is a figure which shows the example of a data structure. 全体的な処理概要を示すフローチャートである。It is a flowchart which shows the whole process outline. コピー蓄積において条件設定が行われるタイミングの例を示す図である。It is a figure which shows the example of the timing which conditions are set in copy accumulation | storage. 保管文書印刷における条件読出の例を示す図である。It is a figure which shows the example of the condition reading in storage document printing. コピー蓄積における開始条件の設定および保存の処理例を示すシーケンス図である。FIG. 10 is a sequence diagram illustrating an example of processing for setting and storing a start condition in copy accumulation. コピー蓄積における文書の読取、編集および蓄積ならびに文書情報の保存の処理例を示すシーケンス図である。FIG. 10 is a sequence diagram illustrating a processing example of reading, editing and storing a document and storing document information in copy storage. コピー蓄積におけるページ単位条件の設定および保存の処理例を示すフローチャートである。It is a flowchart which shows the example of a process of the setting of a page unit condition in copy accumulation | storage, and a preservation | save. コピー蓄積におけるページ単位条件の設定および保存の処理例を示すシーケンス図である。FIG. 10 is a sequence diagram illustrating an example of processing for setting and saving a page unit condition in copy accumulation. 保管文書印刷における選択された文書からの条件復元の処理例を示すフローチャートである。It is a flowchart which shows the example of a process of a condition restoration from the selected document in stored document printing. 保管文書印刷における選択された文書からの条件復元の処理例を示すシーケンス図である。It is a sequence diagram showing an example of processing for restoring conditions from a selected document in stored document printing. 画面例を示す図である。It is a figure which shows the example of a screen. 保管文書印刷におけるページ単位条件の読出の処理例を示すフローチャートである。It is a flowchart which shows the example of a process of reading the page unit conditions in stored document printing. 保管文書印刷におけるページ単位条件の読出および編集の処理例を示すシーケンス図である。FIG. 10 is a sequence diagram illustrating an example of processing for reading and editing page unit conditions in stored document printing. 編集時の集約処理の例を示すフローチャートである。It is a flowchart which shows the example of the aggregation process at the time of editing. 第3の実施形態の仕組の概念図である。It is a conceptual diagram of the structure of 3rd Embodiment. 条件データの生成および復元の概念図である。It is a conceptual diagram of generation and restoration of condition data. データ構造の例を示す図である。It is a figure which shows the example of a data structure. コピー蓄積における開始条件の設定および保存の処理例を示すシーケンス図である。FIG. 10 is a sequence diagram illustrating an example of processing for setting and storing a start condition in copy accumulation. コピー蓄積におけるページ単位条件の設定および保存の処理例を示すフローチャートである。It is a flowchart which shows the example of a process of the setting of a page unit condition in copy accumulation | storage, and a preservation | save. コピー蓄積におけるページ単位条件の設定および保存の処理例を示すシーケンス図である。FIG. 10 is a sequence diagram illustrating an example of processing for setting and saving a page unit condition in copy accumulation. 保管文書印刷における選択された文書からの条件復元の処理例を示すフローチャートである。It is a flowchart which shows the example of a process of a condition restoration from the selected document in stored document printing. 保管文書印刷における選択された文書からの条件復元の処理例を示すシーケンス図である。It is a sequence diagram showing an example of processing for restoring conditions from a selected document in stored document printing. 保管文書印刷におけるページ単位条件の読出の処理例を示すフローチャートである。It is a flowchart which shows the example of a process of reading the page unit conditions in stored document printing. 設定条件とブロックIDの関係を示す図である。It is a figure which shows the relationship between setting conditions and block ID. 保管文書印刷におけるページ単位条件の読出および編集の処理例を示すシーケンス図である。FIG. 10 is a sequence diagram illustrating an example of processing for reading and editing page unit conditions in stored document printing.

符号の説明Explanation of symbols

1 複合機
10 ユーザインタフェース層
11 通信サーバ部
12 ローカルUI部
20 コントロール層
30 アプリケーションロジック層
31 アクティビティ
31a コピーアクティビティ
31b プリンタアクティビティ
31c マルチ文書アクティビティ
301 読取フィルタ
302 保管文書読出フィルタ
303 メール受信フィルタ
304 FAX受信フィルタ
305 PC文書受信フィルタ
306 レポートフィルタ
311 文書加工フィルタ
312 文書変換フィルタ
321 印刷フィルタ
322 保管文書登録フィルタ
323 メール送信フィルタ
324 FAX送信フィルタ
325 PC文書送信フィルタ
326 プレビューフィルタ
40 デバイスサービス層
41 画像パイプ
42 データ管理部
50 デバイス制御層
51 スキャナ制御部
52 プロッタ制御部
53 メモリ制御部
54 Tel回線制御部
55 ネットワーク制御部
C1 UI
C2 コピーアクティビティ
C3 読取フィルタ
C4 編集フィルタ
C5 印刷フィルタ
C6 保管文書登録フィルタ
C7 保管文書読出フィルタ
C8 保管文書共有サービス
C9 データ管理
C10 画像加工
DESCRIPTION OF SYMBOLS 1 MFP 10 User interface layer 11 Communication server part 12 Local UI part 20 Control layer 30 Application logic layer 31 Activity 31a Copy activity 31b Printer activity 31c Multi-document activity 301 Reading filter 302 Archived document reading filter 303 Mail reception filter 304 FAX reception filter 305 PC document reception filter 306 Report filter 311 Document processing filter 312 Document conversion filter 321 Print filter 322 Archived document registration filter 323 Mail transmission filter 324 FAX transmission filter 325 PC document transmission filter 326 Preview filter 40 Device service layer 41 Image pipe 42 Data management 50 Device control layer 51 Scanner system Part 52 plotter controller 53 the memory control section 54 Tel line control unit 55 network controller C1 UI
C2 Copy activity C3 Reading filter C4 Editing filter C5 Printing filter C6 Archived document registration filter C7 Archived document readout filter C8 Archived document sharing service C9 Data management C10 Image processing

Claims (11)

画像処理の対象とするデータを入力する一つ以上の入力部と、該画像処理の結果を出力する一つ以上の出力部と、前記入力部に応じて当該入力部からのデータの入力処理を制御する第一のフィルタと、前記出力部に応じて当該出力部への出力を制御する第二のフィルタとを備え、前記第一のフィルタと前記第二のフィルタとの接続によりアプリケーションが構築される画像処理装置であって、
前記第一のフィルタおよび前記第二のフィルタに対してそれぞれ設定条件を設定し、当該設定条件の内容を管理しているフィルタに設定条件を保存させる設定手段と、
保管文書の登録を指示する指示手段と、
前記第一のフィルタおよび前記第二のフィルタにそれぞれ設けられ、前記指示手段による保管文書の登録が指示されると、前記設定手段により設定された設定条件をデータ管理手段に通知し、該設定条件ごとに付与された複数の条件IDを取得するID取得手段と、
前記ID取得手段により取得した複数の条件IDを前記画像データと関連付けてともに保管する保管手段と
を備えたことを特徴とする画像処理装置。
One or more input units for inputting data to be subjected to image processing, one or more output units for outputting the result of the image processing, and input processing of data from the input unit according to the input unit A first filter to be controlled, and a second filter for controlling output to the output unit according to the output unit, and an application is constructed by connecting the first filter and the second filter. An image processing apparatus comprising:
A setting means for setting a setting condition for each of the first filter and the second filter, and for saving the setting condition in a filter managing the contents of the setting condition ;
An instruction means for instructing registration of a stored document;
Provided in each of the first filter and the second filter, and when the storage unit is instructed to register by the instruction unit, the setting condition set by the setting unit is notified to the data management unit, and the setting condition ID acquisition means for acquiring a plurality of condition IDs assigned to each,
An image processing apparatus comprising: a storage unit that stores a plurality of condition IDs acquired by the ID acquisition unit in association with the image data.
請求項1に記載の画像処理装置において、
前記設定条件は、画像データに対する編集条件または印刷条件である
ことを特徴とする画像処理装置。
The image processing apparatus according to claim 1.
The image processing apparatus according to claim 1, wherein the setting condition is an editing condition or a printing condition for image data.
請求項1または2のいずれか一項に記載の画像処理装置において、
前記設定手段は、ページごとに設定条件を設定する手段であり、
前記ID取得手段は、連続して入力するページごとの設定条件をチェックし、設定条件に変更がある場合のみ設定条件を前記データ管理手段に通知し、条件IDを取得する
ことを特徴とする画像処理装置。
The image processing apparatus according to claim 1, wherein:
The setting means is means for setting a setting condition for each page,
The ID acquisition unit checks a setting condition for each page to be continuously input, notifies the setting condition to the data management unit only when the setting condition is changed, and acquires a condition ID. Processing equipment.
請求項1乃至3のいずれか一項に記載の画像処理装置において、
前記保管手段は、ページごとに複数の条件IDを付加して保管する
ことを特徴とする画像処理装置。
In the image processing device according to any one of claims 1 to 3,
The image processing apparatus, wherein the storage unit stores a plurality of condition IDs added to each page.
請求項1乃至4のいずれか一項に記載の画像処理装置において、
前記保管手段に保管された画像データを特定する特定手段と、
前記画像データから、画像データに関連付いている条件IDを読み出す条件ID読出手段と、
読み出した条件IDを前記第一のフィルタおよび前記第二のフィルタに通知する通知手段と、
前記第一のフィルタおよび前記第二のフィルタにそれぞれ設けられ、通知された条件IDを前記データ管理手段に通知し、該条件IDに紐付けられた設定条件を入手する入手手段と、
入手した設定条件に基づき設定を復元する条件復元手段と
を更に備えたことを特徴とする画像処理装置。
In the image processing device according to any one of claims 1 to 4,
Specifying means for specifying image data stored in the storage means;
Condition ID reading means for reading a condition ID associated with the image data from the image data;
Notification means for notifying the read condition ID to the first filter and the second filter;
Obtaining means provided in each of the first filter and the second filter, notifying the notified condition ID to the data management means, and obtaining a setting condition associated with the condition ID;
An image processing apparatus, further comprising: condition restoring means for restoring settings based on the obtained setting conditions.
画像処理の対象とするデータを入力する一つ以上の入力部と、該画像処理の結果を出力する一つ以上の出力部と、前記入力部に応じて当該入力部からのデータの入力処理を制御する第一のフィルタと、前記出力部に応じて当該出力部への出力を制御する第二のフィルタとを備え、前記第一のフィルタと前記第二のフィルタとの接続によりアプリケーションが構築される画像処理装置であって、
前記第一のフィルタおよび前記第二のフィルタに対してそれぞれ設定条件を設定する設定手段と、
保管文書の登録を指示する指示手段と、
前記第一のフィルタおよび前記第二のフィルタにそれぞれ設けられ、前記指示手段による保管文書の登録が指示されると、前記設定手段により設定された設定条件をフィルタ内のデータ定義に依存しない条件データに変換する変換手段と、
前記変換手段により生成した複数の条件データを前記画像データと関連付けてともに保管する保管手段と
を備えたことを特徴とする画像処理装置。
One or more input units for inputting data to be subjected to image processing, one or more output units for outputting the result of the image processing, and input processing of data from the input unit according to the input unit A first filter to be controlled, and a second filter for controlling output to the output unit according to the output unit, and an application is constructed by connecting the first filter and the second filter. An image processing apparatus comprising:
Setting means for setting a setting condition for each of the first filter and the second filter;
An instruction means for instructing registration of a stored document;
Condition data that is provided in each of the first filter and the second filter and that does not depend on the data definition in the filter when the registered document is instructed by the instruction unit. Conversion means for converting to
An image processing apparatus comprising: a storage unit that stores a plurality of condition data generated by the conversion unit in association with the image data.
請求項6に記載の画像処理装置において、
前記保管手段に保管された画像データを特定する特定手段と、
前記画像データから、画像データに関連付いている条件データを読み出す条件データ読出手段と、
読み出した条件データを前記第一のフィルタおよび前記第二のフィルタに通知する通知手段と、
前記第一のフィルタおよび前記第二のフィルタにそれぞれ設けられ、通知された条件データをフィルタ内のデータ定義に依存しない条件データに変換する前の形式の設定条件に復元する条件復元手段と
を更に備えたことを特徴とする画像処理装置。
The image processing apparatus according to claim 6.
Specifying means for specifying image data stored in the storage means;
Condition data reading means for reading out condition data associated with the image data from the image data;
Notifying means for notifying the read condition data to the first filter and the second filter;
Condition restoring means provided in the first filter and the second filter, respectively, for restoring the notified condition data to a setting condition in a format before converting the notified condition data into condition data independent of the data definition in the filter. An image processing apparatus comprising the image processing apparatus.
画像処理の対象とするデータを入力する一つ以上の入力部と、該画像処理の結果を出力する一つ以上の出力部と、前記入力部に応じて当該入力部からのデータの入力処理を制御する第一のフィルタと、前記出力部に応じて当該出力部への出力を制御する第二のフィルタとを備え、前記第一のフィルタと前記第二のフィルタとの接続によりアプリケーションが構築される画像処理装置のアプリケーション実行方法であって、
前記第一のフィルタおよび前記第二のフィルタに対してそれぞれ設定条件を設定し、当該設定条件の内容を管理しているフィルタに設定条件を保存させる工程と、
保管文書の登録を指示する工程と、
前記第一のフィルタおよび前記第二のフィルタにより、保管文書の登録が指示されると設定条件をデータ管理手段に通知し、該設定条件ごとに付与された複数の条件IDを取得する工程と、
取得した複数の条件IDを前記画像データと関連付けてともに保管する工程と
を備えたことを特徴とするアプリケーション実行方法。
One or more input units for inputting data to be subjected to image processing, one or more output units for outputting the result of the image processing, and input processing of data from the input unit according to the input unit A first filter to be controlled, and a second filter for controlling output to the output unit according to the output unit, and an application is constructed by connecting the first filter and the second filter. An application execution method for an image processing apparatus,
Setting a setting condition for each of the first filter and the second filter, and storing the setting condition in a filter managing the contents of the setting condition ;
A process for instructing registration of archived documents;
A step of notifying the data management means of a setting condition when registration of a stored document is instructed by the first filter and the second filter, and acquiring a plurality of condition IDs assigned to the setting condition;
A method of executing an application, comprising: storing a plurality of acquired condition IDs in association with the image data.
請求項8に記載のアプリケーション実行方法において、
保管された画像データを特定する工程と、
特定された画像データから、当該画像データに関連付いている条件IDを読み出す工程と、
読み出した条件IDを前記第一のフィルタおよび前記第二のフィルタに通知する工程と、
前記第一のフィルタおよび前記第二のフィルタにより、通知された条件IDを前記データ管理手段に通知し、該条件IDに紐付けられた設定条件を入手する工程と、
入手した設定条件に基づき設定を復元する工程と
を更に備えたことを特徴とするアプリケーション実行方法。
In the application execution method of Claim 8,
Identifying the stored image data;
Reading a condition ID associated with the image data from the identified image data;
Notifying the read condition ID to the first filter and the second filter;
A step of notifying the data management means of the notified condition ID by the first filter and the second filter, and obtaining a setting condition associated with the condition ID;
And a step of restoring the setting based on the acquired setting condition.
画像処理の対象とするデータを入力する一つ以上の入力部と、該画像処理の結果を出力する一つ以上の出力部と、前記入力部に応じて当該入力部からのデータの入力処理を制御する第一のフィルタと、前記出力部に応じて当該出力部への出力を制御する第二のフィルタとを備え、前記第一のフィルタと前記第二のフィルタとの接続によりアプリケーションが構築される画像処理装置のアプリケーション実行方法であって、
前記第一のフィルタおよび前記第二のフィルタに対してそれぞれ設定条件を設定する工程と、
保管文書の登録を指示する工程と、
前記第一のフィルタおよび前記第二のフィルタにより、保管文書の登録が指示されると設定条件をフィルタ内のデータ定義に依存しない条件データに変換する工程と、
生成した複数の条件データを前記画像データと関連付けてともに保管する工程と
を備えたことを特徴とするアプリケーション実行方法。
One or more input units for inputting data to be subjected to image processing, one or more output units for outputting the result of the image processing, and input processing of data from the input unit according to the input unit A first filter to be controlled, and a second filter for controlling output to the output unit according to the output unit, and an application is constructed by connecting the first filter and the second filter. An application execution method for an image processing apparatus,
Setting a setting condition for each of the first filter and the second filter;
A process for instructing registration of archived documents;
A step of converting a setting condition into condition data independent of data definition in the filter when registration of a stored document is instructed by the first filter and the second filter;
And a step of associating the plurality of generated condition data with the image data and storing them together.
請求項10に記載のアプリケーション実行方法において、
保管された画像データを特定する工程と、
特定された画像データから、当該画像データに関連付いている条件データを読み出す工程と、
読み出した条件データを前記第一のフィルタおよび前記第二のフィルタに通知する工程と、
前記第一のフィルタおよび前記第二のフィルタにより、通知された条件データをフィルタ内のデータ定義に依存しない条件データに変換する前の形式の設定条件に復元する工程と
を更に備えたことを特徴とするアプリケーション実行方法。
In the application execution method of Claim 10,
Identifying the stored image data;
Reading out condition data associated with the image data from the identified image data;
Notifying the first filter and the second filter of the read condition data;
The method further comprises a step of restoring the notified condition data to a setting condition in a format before converting the notified condition data into condition data independent of the data definition in the filter by the first filter and the second filter. Application execution method.
JP2008109515A 2007-10-30 2008-04-18 Image processing apparatus and application execution method Expired - Fee Related JP5157613B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2008109515A JP5157613B2 (en) 2007-10-30 2008-04-18 Image processing apparatus and application execution method
US12/236,770 US8462370B2 (en) 2007-10-30 2008-09-24 Image processing apparatus and application executing method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2007282454 2007-10-30
JP2007282454 2007-10-30
JP2008109515A JP5157613B2 (en) 2007-10-30 2008-04-18 Image processing apparatus and application execution method

Publications (2)

Publication Number Publication Date
JP2009135872A JP2009135872A (en) 2009-06-18
JP5157613B2 true JP5157613B2 (en) 2013-03-06

Family

ID=40867301

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008109515A Expired - Fee Related JP5157613B2 (en) 2007-10-30 2008-04-18 Image processing apparatus and application execution method

Country Status (1)

Country Link
JP (1) JP5157613B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5105011B1 (en) 2012-02-02 2012-12-19 富士ゼロックス株式会社 Print control apparatus, image forming system, and program

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3958006B2 (en) * 2001-09-14 2007-08-15 キヤノン株式会社 Image processing apparatus, image processing apparatus control method, program, and storage medium
JP2003250018A (en) * 2002-02-22 2003-09-05 Konica Corp Image processing apparatus
JP2004243588A (en) * 2003-02-12 2004-09-02 Canon Inc Image forming apparatus
JP2005176159A (en) * 2003-12-15 2005-06-30 Ricoh Co Ltd Compound machine
JP4292088B2 (en) * 2004-01-30 2009-07-08 株式会社リコー Image processing device
JP2006339705A (en) * 2005-05-31 2006-12-14 Nippon Kogyosha:Kk Digital copying machine and recording medium
JP2006339928A (en) * 2005-06-01 2006-12-14 Ricoh Co Ltd Image processing apparatus

Also Published As

Publication number Publication date
JP2009135872A (en) 2009-06-18

Similar Documents

Publication Publication Date Title
JP4861883B2 (en) Image forming apparatus and application execution method
JP2009111904A (en) Device for processing images and method of executing applications
JP2010018004A (en) Implementation device of work flow and implementation method of work flow
US20090080019A1 (en) Image forming apparatus
US8462370B2 (en) Image processing apparatus and application executing method
JP4462186B2 (en) Data backup device, data backup system, and data backup processing program
JP2009111784A (en) Image processing unit and method of executing application
JP5517606B2 (en) Processing server, control method thereof, policy server, and computer program
JP5157613B2 (en) Image processing apparatus and application execution method
JP5958172B2 (en) Fault analysis information management system and fault analysis information management method
JP6794408B2 (en) Information processing equipment, image forming equipment, information processing methods and programs
JP4752589B2 (en) Information processing apparatus, information processing program, and recording medium
US8810840B2 (en) Image forming system, output management method, and program product, configured to determine type of PDL in output data
JP4591943B2 (en) Job processing device
JP5057899B2 (en) Image forming apparatus, application control method, and application control program
JP2000330752A (en) Device, system and method for forming image and storage medium
US20060044613A1 (en) Image data management apparatus, and method, program and storage medium therefor
JP5263108B2 (en) Network printer system
JP2009212914A (en) Image processing apparatus and image processing method
JP2006239932A (en) Image forming apparatus
JP5025318B2 (en) Image processing apparatus, image processing apparatus control method, and image processing apparatus control program
JP2010201776A (en) Image processing apparatus, control method of the same, and program
JP4188308B2 (en) Image processing apparatus, image processing system, and control program for image processing apparatus
JP3564116B2 (en) Image forming system and image forming method
JP5924360B2 (en) Image forming apparatus and job data management method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101116

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120124

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120314

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121126

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151221

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees