JP4534814B2 - Data processing apparatus, data processing program, and data processing method - Google Patents
Data processing apparatus, data processing program, and data processing method Download PDFInfo
- Publication number
- JP4534814B2 JP4534814B2 JP2005074508A JP2005074508A JP4534814B2 JP 4534814 B2 JP4534814 B2 JP 4534814B2 JP 2005074508 A JP2005074508 A JP 2005074508A JP 2005074508 A JP2005074508 A JP 2005074508A JP 4534814 B2 JP4534814 B2 JP 4534814B2
- Authority
- JP
- Japan
- Prior art keywords
- data processing
- data
- inquiry
- callback
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Description
本発明は、パイプライン形態に接続された複数のデータ処理モジュール(データ処理手段)を用いて処理対象となるデータに対するデータ処理を行うデータ処理装置、データ処理プログラムおよびデータ処理方法に関するものである。 The present invention relates to a data processing apparatus, a data processing program, and a data processing method for performing data processing on data to be processed using a plurality of data processing modules (data processing means) connected in a pipeline form.
近年、複数のデータ処理モジュールがパイプライン形態に接続されてなるデータ処理装置が広く用いられている。パイプライン形態の接続とは、例えば図5に示すように、複数のデータ処理モジュールA1〜A3が直列に接続されているとともに、あるデータ処理モジュールの出力が次のデータ処理モジュールの入力となるようなデータフローモデルに基づいて接続されていることをいう。例えば、画像データを処理するデータ処理装置であれば、画像読み取りモジュール、画像回転モジュール、画像先鋭化モジュール、画像書き込みモジュール等をパイプライン形態に接続する、といった具合である(例えば、特許文献1)。このように、複数のデータ処理モジュールをパイプライン形態に接続して用いれば、高度な専用化されたモジュールを個別に用意することなく、原始的なモジュールを幾つか用意するだけで、開発コストを上げることなく汎用のデータ処理機能を提供できるという利点がある。 In recent years, data processing apparatuses in which a plurality of data processing modules are connected in a pipeline form have been widely used. For example, as shown in FIG. 5, a plurality of data processing modules A1 to A3 are connected in series, and the output of one data processing module becomes the input of the next data processing module. It is connected based on a simple data flow model. For example, in the case of a data processing apparatus that processes image data, an image reading module, an image rotation module, an image sharpening module, an image writing module, and the like are connected in a pipeline form (for example, Patent Document 1). . In this way, if a plurality of data processing modules are connected and used in a pipeline form, development costs can be reduced by preparing several primitive modules without separately preparing highly specialized modules. There is an advantage that a general-purpose data processing function can be provided without increasing it.
ところで、従来のデータ処理装置では、複数のデータ処理モジュールがパイプライン形態に接続されていると、そのデータ処理装置での処理全体を中断したい場合であっても、あるデータ処理モジュールでのデータ処理の開始後は、処理対象であるデータの全てについて、そのデータ処理が終了するまで処理全体の中断を行うことができない。そのため、各データ処理モジュールの中に幾何変換処理や解析処理等のように処理負荷の重いものがあると、そのデータ処理モジュールでのデータ処理に多くの時間を要してしまうため、処理中断要求に対する応答性が悪いものとなってしまう。 By the way, in a conventional data processing device, when a plurality of data processing modules are connected in a pipeline form, even if it is desired to interrupt the entire processing in the data processing device, the data processing in a certain data processing module After starting the process, the entire process cannot be interrupted until the data process is completed for all the data to be processed. Therefore, if there is a heavy processing load such as geometric transformation processing or analysis processing in each data processing module, the data processing in that data processing module will take a lot of time. The response to is poor.
例えば、図5に示した画像データを処理するデータ処理装置において、パイプライン形態に接続された各データ処理モジュールA1〜A3の中で、そのうちの一つのデータ処理モジュールA2が画像データの回転処理を行うものであると、その画像回転モジュールA2では事前に1面分の画像データの全てを当該モジュールA2内のローカルメモリに読み込む処理を行い、しかもそのデータ読み込みは後段モジュールA3からの実効命令の開始前に行われるため、その画像回転モジュールA2でのローカルメモリ内へのデータ読み込み処理中は処理を中断することができない。さらに詳しくは、画像回転モジュールA2の制御部は、後段モジュールA3の制御部からのデータ要求があると、画像回転モジュールA2内の入力バッファに1面分の画像データを準備するため、前段モジュールA1の制御部に何回かのデータ要求を発行してその1面分の画像データを取得するが、この間に外部から処理を中断させようとしても、画像回転モジュールA2内の制御部はその中断情報を取得できないため、前段モジュールA1の出力バッファから画像回転モジュールA2内の入力バッファへのデータ入力処理を中断することはできない。 For example, in the data processing apparatus for processing image data shown in FIG. 5, one of the data processing modules A1 to A3 connected in a pipeline form, one of the data processing modules A2 performs image data rotation processing. If so, the image rotation module A2 performs a process of reading all of the image data for one surface into the local memory in the module A2 in advance, and the data reading is the start of an effective command from the subsequent module A3. Since it is performed before, the process cannot be interrupted during the data reading process into the local memory in the image rotation module A2. More specifically, when there is a data request from the control unit of the subsequent module A3, the control unit of the image rotation module A2 prepares image data for one surface in the input buffer in the image rotation module A2, and thus the front module A1. The controller in the image rotation module A2 receives the interruption information even if it is attempted to interrupt the processing from outside during this period by issuing several data requests to the controller. Therefore, the data input process from the output buffer of the preceding module A1 to the input buffer in the image rotation module A2 cannot be interrupted.
そこで、本発明は、複数のデータ処理モジュールがパイプライン形態に接続されている場合であっても、処理中断要求等に対する応答性に優れたデータ処理装置、データ処理プログラムおよびデータ処理方法を提供することを目的とする。 Therefore, the present invention provides a data processing device, a data processing program, and a data processing method that are excellent in responsiveness to a processing interruption request or the like even when a plurality of data processing modules are connected in a pipeline form. For the purpose.
本発明は、上記目的を達成するために案出されたデータ処理装置で、パイプライン形態に接続されて各々が所定のデータ処理を実行するとともに、当該データ処理を処理対象となるデータの所定処理単位毎に行う複数のデータ処理手段と、前記複数のデータ処理手段の間に少なくとも一つが配されて、当該データ処理手段の間でのデータの受け渡しに関する問い合わせを前記所定処理単位毎に行うとともに、当該問い合わせに対する応答指示に従いつつ前記データの受け渡しを前記所定処理単位毎に行うコールバック手段と、前記コールバック手段からの問い合わせを受け付けるとともに、当該問い合わせに対する応答指示を前記コールバック手段に与える制御手段とを備えることを特徴とするものである。 The present invention is a data processing apparatus devised to achieve the above object, and each of the data processing apparatuses connected to the pipeline form executes predetermined data processing, and the data processing is subject to predetermined processing of data to be processed. A plurality of data processing means for each unit, and at least one is arranged between the plurality of data processing means, and performs an inquiry about data transfer between the data processing means for each predetermined processing unit, Callback means for delivering the data for each predetermined processing unit while following a response instruction to the inquiry, and a control means for receiving an inquiry from the callback means and giving a response instruction to the inquiry to the callback means; It is characterized by providing.
また、本発明は、上記目的を達成するために案出されたデータ処理プログラムで、コンピュータを、パイプライン形態に接続されて各々が所定のデータ処理を実行するとともに、当該データ処理を処理対象となるデータの所定処理単位毎に行う複数のデータ処理手段と、前記複数のデータ処理手段の間に少なくとも一つが配されて、当該データ処理手段の間でのデータの受け渡しに関する問い合わせを前記所定処理単位毎に行うとともに、当該問い合わせに対する応答指示に従いつつ前記データの受け渡しを前記所定処理単位毎に行うコールバック手段と、前記コールバック手段からの問い合わせを受け付けるとともに、当該問い合わせに対する応答指示を前記コールバック手段に与える制御手段として機能させることを特徴とするものである。 In addition, the present invention is a data processing program devised to achieve the above object, wherein a computer is connected in a pipeline form and each executes predetermined data processing, and the data processing is processed. A plurality of data processing means for each predetermined processing unit of data, and at least one is arranged between the plurality of data processing means, and inquires about the data transfer between the data processing means And a callback means for delivering the data for each of the predetermined processing units while following a response instruction for the inquiry, and accepting an inquiry from the callback means, and providing a response instruction for the inquiry to the callback means It functions as a control means to give to .
また、本発明は、上記目的を達成するために案出されたデータ処理方法で、パイプライン形態に接続された複数のデータ処理手段を備えたデータ処理装置にて用いられるデータ処理方法であって、前記データ処理手段の各々が所定のデータ処理を実行するとともに、当該データ処理を処理対象となるデータの所定処理単位毎に行うデータ処理ステップと、前記複数のデータ処理手段の間でのデータの受け渡しに関する問い合わせを前記所定処理単位毎に外部制御部に対して行う問い合わせステップと、前記問い合わせに対する応答指示に従いつつ前記複数のデータ処理手段の間でのデータの受け渡しを前記所定処理単位毎に行うデータ受け渡しステップとを備えることを特徴とする。 Further, the present invention is a data processing method devised to achieve the above object, and is a data processing method used in a data processing apparatus having a plurality of data processing means connected in a pipeline form. Each of the data processing means executes predetermined data processing, and performs a data processing step for each predetermined processing unit of the data to be processed, and data processing between the plurality of data processing means An inquiry step for making an inquiry about delivery to the external control unit for each predetermined processing unit, and data for transferring data between the plurality of data processing means for each predetermined processing unit while following a response instruction to the inquiry And a delivery step.
上記構成のデータ処理装置、データ処理プログラムおよびデータ処理方法では、各データ処理手段が処理対象となるデータの所定処理単位毎(例えば、画像データであればスキャンライン単位毎)にデータ処理を実行するとともに、各データ処理手段の間に少なくとも一つコールバック手段が配されており、そのコールバック手段が所定処理単位毎にデータの受け渡しを行う。その際に、コールバック手段は、データの受け渡しに関する問い合わせを制御手段に対して所定処理単位毎に行い、その制御手段からの応答指示に従いつつデータの受け渡しを行う。したがって、例えば、あるデータについて、そのデータを構成する所定処理単位の全てについて受け渡しが終了していなくても、制御手段から処理を中断する旨の応答指示があると、コールバック手段は、その応答指示以降のデータの受け渡しを行わない。 In the data processing apparatus, data processing program, and data processing method configured as described above, each data processing unit executes data processing for each predetermined processing unit of data to be processed (for example, for each scan line in the case of image data). In addition, at least one callback means is arranged between the data processing means, and the callback means delivers data for each predetermined processing unit. At that time, the callback means makes an inquiry about the data delivery to the control means for each predetermined processing unit, and delivers the data while following the response instruction from the control means. Therefore, for example, for a certain data, even if the transfer is not completed for all of the predetermined processing units constituting the data, if there is a response instruction from the control means to interrupt the processing, the callback means No data is transferred after the instruction.
以上のように、本発明のデータ処理装置、データ処理プログラムおよびデータ処理方法では、コールバック手段が処理対象となるデータの所定処理単位毎にそのデータ受け渡しに関する問い合わせを行い、その問い合わせに対する応答指示に従いつつデータの受け渡しを行うので、制御手段からの応答指示を与えることにより、そのデータの全てについて処理が終了しなくても、その途中で処理を中断させることが可能となる。つまり、各データ処理手段がパイプライン形態に接続されている場合に、あるデータ処理手段でのデータ処理の開始後に、そのデータ処理が処理対象となるデータの全てについて終了していなくとも、当該データの全てについてデータ処理が終了するのを待つことなく、処理全体の中断を行うことができる。したがって、各データ処理手段がパイプライン形態に接続されている場合であっても、処理中断要求等に対する応答性に優れたものとなる。 As described above, in the data processing device, the data processing program, and the data processing method of the present invention, the callback means inquires about the data delivery for each predetermined processing unit of the data to be processed, and follows the response instruction to the inquiry. However, since the data is transferred, by giving a response instruction from the control means, it is possible to interrupt the process midway even if the process is not completed for all of the data. In other words, when each data processing means is connected in a pipeline form, after the data processing in a certain data processing means is started, the data processing is not completed for all the data to be processed. The entire processing can be interrupted without waiting for the data processing to be completed for all of the above. Therefore, even when each data processing means is connected in a pipeline form, it has excellent responsiveness to a processing interruption request or the like.
以下、図面に基づき本発明に係るデータ処理装置、データ処理プログラムおよびデータ処理方法について説明する。ここでは、複写機やプリンタ装置、これらの機能を統合した複合機、または画像処理機能を有したコンピュータ装置等のように、画像データを処理するデータ処理装置およびデータ処理プログラムに本発明を適用した場合を例に挙げて説明する。 Hereinafter, a data processing device, a data processing program, and a data processing method according to the present invention will be described with reference to the drawings. Here, the present invention is applied to a data processing apparatus and a data processing program for processing image data, such as a copying machine, a printer apparatus, a multi-function apparatus integrating these functions, or a computer apparatus having an image processing function. A case will be described as an example.
図1は、本発明に係るデータ処理装置の概略構成例を示すブロック図である。図例のデータ処理装置は、パイプライン形態に接続されて用いられる複数のデータ処理モジュール10a〜10cと、データ処理モジュール10a,10bの間に配されるコールバックモジュール20と、そのコールバックモジュール20と接続する外部制御部30と、を備えている。
FIG. 1 is a block diagram showing a schematic configuration example of a data processing apparatus according to the present invention. The data processing apparatus shown in FIG. 1 includes a plurality of
データ処理モジュール10a〜10cは、各々が所定のデータ処理を実行するものである。所定のデータ処理としては、例えば、画像データの読み取り処理、画像データの色調整処理、画像データの解像度変換処理、画像データの拡縮処理、画像データの回転処理、画像データの先鋭化処理、画像データの書き込み(出力)処理等が挙げられる。ただし、これらのデータ処理は例示に過ぎず、これらに限定されるものでない。
Each of the
これらのデータ処理を実行するために、データ処理モジュール10a〜10cは、各々が制御部11a〜11cを有している。そして、各制御部11a〜11cは、当該データ処理を、処理対象となる画像データの所定処理単位毎に行うようになっている。所定処理単位は、例えば画像データのスキャンライン単位である場合が考えられる。ただし、必ずしもスキャンライン単位である必要はなく、例えば2〜3スキャンラインからなるバンド単位であっても、所定画素数×所定画素数のブロック単位であってもよい。
In order to execute these data processing, each of the
さらに、各制御部11a〜11cは、各々がデータ処理を実行するのにあたり、処理対象となる画像データの所定処理単位毎に、パイプライン接続における後段側から前段側に対してデータ要求を発行するとともに、そのデータ要求を受け付けると前段側で所定処理単位の画像データに対するデータ処理を実行し、その処理後の画像データを後段側へ受け渡すようになっている。ただし、各制御部11a〜11cは、後段側からのデータ要求に応じてデータ処理を実行するのではなく、前段側から処理後の画像データを受け取るとその画像データに対するデータ処理を実行するものであってもよい。
Further, each of the
また、データ処理モジュール10a〜10cは、パイプライン形態に接続されて用いられることから、各々が入力バッファ12a〜12cおよび出力バッファ13a〜13cを有している。そして、これらの入力バッファ12a〜12cおよび出力バッファ13a〜13cが、あるデータ処理モジュールの出力バッファが次のデータ処理モジュールの入力バッファに繋がるようなデータフローモデルに基づいて接続されている。なお、これら入力バッファ12a〜12cおよび出力バッファ13a〜13cの間での画像データの受け渡しも、処理対象となる画像データの所定処理単位毎に行われるものとする。
Since the
コールバックモジュール20は、データ処理モジュール10a,10bの間において、後段側のデータ処理モジュール10bからのデータ要求があると、これを制御部21で受け取るとともに、そのデータ要求をトリガーとして、データの受け渡しに関する問い合わせを、制御部21が外部制御部30に対して行うものである。データの受け渡しに関する問い合わせとしては、当該受け渡しの可否についての問い合わせや、当該受け渡しのモニタリング要否についての問い合わせ等が挙げられる。コールバックモジュール20では、これらのうちの少なくとも一つを、外部制御部30に問い合わせるものとする。また、その問い合わせは、後段側のデータ処理モジュール10bからのデータ要求をトリガーとするので、そのデータ要求がある度に、すなわち処理対象となる画像データの所定処理単位毎に行うようになっている。
When the
また、コールバックモジュール20は、外部制御部30への問い合わせに対する当該外部制御部30からの応答指示に従いつつ、処理対象となる画像データの受け渡しを、その画像データの所定処理単位毎に行うようになっている。例えば、受け渡しの可否についての問い合わせを行った場合に、問い合わせに対する応答指示が受け渡し可であれば、その応答指示に係る所定処理単位について画像データの受け渡しを行い、問い合わせに対する応答指示が受け渡し不可であれば、その応答指示に係る所定処理単位についてデータの受け渡しを中止する、といった具合である。また、例えば、モニタリング要否についての問い合わせを行った場合に、問い合わせに対する応答指示がモニタリング要であれば、画像データの受け渡しを所定処理単位毎に行う都度、受け渡しを行った所定処理単位の数を計数して出力する、といった具合である。
Further, the
外部制御部30は、コールバックモジュール20からの問い合わせを受け付けるとともに、その問い合わせに対する応答指示をコールバックモジュール20に与えるものである。応答指示は、外部からの入力に基づいて、その指示内容を特定すればよい。外部からの入力としては、例えばユーザインタフェース(以下「UI」と略す)からの情報入力が考えられる。また、その他にも、データ処理装置内に設けられている異常検出手段(例えば、紙詰まり検出センサ)での検出結果を用いることも考えられる。
The
以上に説明したデータ処理モジュール10a〜10c、コールバックモジュール20および外部制御部30は、いずれも、コンピュータとしての機能に所定プログラムを実行させることによって実現することが考えられる。例えば、コールバックモジュール20であれば、コールバック関数を実行させることによって実現するといった具合である。その場合に、所定プログラムは、コンピュータとしての機能を有したデータ処理装置内に予めインストールしておくことが考えられるが、予めインストールされているのではなく、コンピュータ読み取り可能な記憶媒体に格納されて提供されるものであっても、または有線若しくは無線による通信手段を介して配信されるものであってもよい。つまり、上述した構成のデータ処理装置は、コンピュータをデータ処理装置として機能させるデータ処理プログラムによっても実現可能である。
The
次に、以上のように構成されたデータ処理装置(教材処理プログラムによっても実現される場合を含む)における処理動作例、すなわち本発明に係るデータ処理方法について説明する。図2〜4は、本発明に係るデータ処理装置の処理動作例を示すデータフロー図である。 Next, an example of a processing operation in the data processing apparatus configured as described above (including a case where the data processing apparatus is also realized by a teaching material processing program), that is, a data processing method according to the present invention will be described. 2 to 4 are data flow diagrams showing examples of processing operations of the data processing apparatus according to the present invention.
〔動作継続の場合〕
例えば、データ処理モジュール10bが画像データの回転処理を行うものである場合、データ処理モジュール10bの制御部11bは、当該回転処理を行うのにあたり、図2に示すように、所定処理単位である1スキャンライン分の画像データのデータ要求を、そのデータ処理モジュール10bの前段に位置するコールバックモジュール20の制御部21に要求する(ステップ101、以下ステップを「S」と略す)。データ処理モジュール10bの制御部11bからのデータ要求があると、コールバックモジュール20の制御部21は、そのデータ要求をトリガーに、外部制御部30に対してデータの受け渡しに関する問い合わせを行って(S102)、制御主体を制御部21から外部制御部30へ移行させる。そして、外部制御部30では、コールバックモジュール20からの問い合わせを受け付けると、その問い合わせに対する応答指示をコールバックモジュール20に与える(S103)
[For continued operation]
For example, when the
このとき、外部制御部30は、外部からの入力に基づいて、その指示内容を特定する。具体的には、UIから処理を中断させる旨の情報入力がなく、また異常検出手段による異常検出もなければ、外部制御部30は、処理を継続して行うべきと判断して、処理継続信号をコールバックモジュール20に対して出力し、その処理継続信号を問い合わせに対する応答指示とする(S104)。
At this time, the
そして、外部制御部30から処理継続信号を取得すると、コールバックモジュール20の制御部21は、処理を継続して行うべく、データ処理モジュール10bの制御部11bからのデータ要求を、コールバックモジュール20の前段に位置するデータ処理モジュール10aの制御部11aに受け渡す。すなわち、コールバックモジュール20の制御部21は、所定処理単位である1スキャンライン分の画像データのデータ要求を、データ処理モジュール10aの制御部11aに要求する(S105)。
When the processing continuation signal is acquired from the
コールバックモジュール20の制御部21からのデータ要求を受け取ると、データ処理モジュール10aは、要求された1スキャンライン分の画像データを、そのデータ処理モジュール10aの後段に位置するコールバックモジュール20に転送する(S106)。さらに、コールバックモジュール20は、データ処理モジュール10aから転送された1スキャンライン分の画像データを、そのコールバックモジュール20の後段に位置するデータ処理モジュール10bに転送する(S107)。このようにして1スキャンライン分の画像データを取得した後は、データ処理モジュール10bの制御部11bは、その1スキャンライン分の画像データに対して回転処理を実行する。
Upon receiving a data request from the
データ処理モジュール10a〜10c、コールバックモジュール20および外部制御部30は、以上のような一連の処理を、画像データの1面分(例えば画像データ出力用紙の1ページ分)について終了するまで、繰り返して行うのである。
The
〔動作中断の場合〕
ところで、上述した一連の処理において、コールバックモジュール20が制御主体を制御部21から外部制御部30へ移行させた際に、その外部制御部30に対しUIから処理を中断させる旨の情報入力がされているか、あるいは異常検出手段による異常検出があった場合には、外部制御部30は、処理を中断すべきと判断し、図3に示すように、処理中断信号をコールバックモジュール20に対して出力し、その処理中断信号を問い合わせに対する応答指示とする(S201)。
[When operation is interrupted]
By the way, in the series of processes described above, when the
そして、外部制御部30から処理中断信号を取得すると、コールバックモジュール20の制御部21は、その処理を中断すべく、データ処理モジュール10bの制御部11bからのデータ要求をデータ処理モジュール10aの制御部11aに受け渡すことなく、そのデータ処理モジュール10bの制御部11bに対してデータ転送中断の信号を送出する(S202)。このデータ転送中断の信号を受け取ると、データ処理モジュール10bの制御部11bは、それ以降、処理途中である画像データに対する回転処理を実行せずに、その画像データについての処理を終了する。つまり、画像データの1面分について処理が終了していなくても、その処理が中断されることになる。
When the processing interruption signal is acquired from the
また、外部制御部30から処理中断信号を取得すると、コールバックモジュール20の制御部21は、データ転送中断の信号を、データ処理モジュール10bの制御部11bに対してではなく、図4に示すように、データ処理装置の全体またはデータ処理装置を含んで構築されたシステム全体を管理しているシステム管理モジュール40へ送信するものであってもよい(S301)。システム管理モジュール40へデータ転送中断の信号を送信する場合には、その信号送信を、例外通知機能により実現することが考えられる。例外通知機能とは、何らかの理由で「処理が続行できない状況(例外状態)」と判断した場合に、それを上位に伝えるために設けられた機能であり、コンピュータ上で動作する一般的なプログラムにおいても広く用いられている機能である。
When the processing interruption signal is acquired from the
このように、データ転送中断の信号をシステム管理モジュール40へ送信すれば、データ処理装置を構成する各データ処理モジュール10a〜10cにおける処理のみならず、そのデータ処理装置の全体またはデータ処理装置を含んで構築されたシステム全体における処理をも中断し得るため、特に異常検出手段による異常検出に応じて処理を中断する場合に適用して非常に有効なものとなる。
In this way, if the data transfer interruption signal is transmitted to the
〔モニタリング動作の場合〕
また、上述した一連の処理において、コールバックモジュール20が制御主体を制御部21から外部制御部30へ移行させた際に、その外部制御部30に対しUIから処理を中断させる旨の情報入力はないが、データ受け渡しのモニタリングが必要である旨の情報入力がされている場合には、外部制御部30は、処理を継続して行いつつ、その処理の進捗状況を認識して出力すべきと判断して、処理継続信号およびモニタリング実行信号をコールバックモジュール20に対して出力し、これらの信号を問い合わせに対する応答指示とする。
[For monitoring operation]
In the series of processes described above, when the
そして、コールバックモジュール20の制御部21は、処理継続信号に応じて、処理を継続して行うべく、データ処理モジュール10bとデータ処理モジュール10aとの間で、データ要求の受け渡しおよび当該データ要求に係る1スキャンライン分の画像データの受け渡しを行う。さらに、コールバックモジュール20の制御部21は、1スキャンライン分の画像データの受け渡しを都度、制御部21が有しているカウンタまたは制御部21がアクセスし得るカウンタの値をインクリメントし、これによりデータ受け渡しを行ったスキャンラインの数を計数して出力する。
Then, the
計数結果の出力は、例えばUIにおけるディスプレイ上に、例えばプログレスバーのようなGUI(Graphical User Interface)画像を表示して行うことが考えられる。このようなスキャンライン数の計数結果に基づくGUI画像を表示出力すれば、そのGUI画像を参照することで、データ処理装置での画像データに対する処理の進捗状況を、容易かつ的確に把握し得るようになるので、そのデータ処理装置のユーザにとっては非常に便利なものとなる。 For example, the counting result may be output by displaying a GUI (Graphical User Interface) image such as a progress bar on a display in the UI, for example. If a GUI image based on the counting result of the number of scan lines is displayed and output, it is possible to easily and accurately grasp the progress of processing of image data in the data processing apparatus by referring to the GUI image. Therefore, it becomes very convenient for the user of the data processing apparatus.
なお、モニタリングが必要である旨の情報入力がされていない場合(不要である旨の情報が入力されている場合を含む)には、データ受け渡しを行ったスキャンライン数を計数およびその計数結果の出力は行わない。 If no information indicating that monitoring is necessary (including the case where information indicating that it is not necessary) is entered, count the number of scan lines to which data has been transferred and the count result. Does not output.
以上に説明したように、本実施形態におけるデータ処理装置、データ処理プログラムおよびデータ処理方法では、各データ処理モジュール10a〜10cが画像データの1スキャンライン単位毎にデータ処理を実行するとともに、データ処理モジュール10a,10bの間にコールバックモジュール20が配されており、そのコールバックモジュール20が1スキャンライン単位毎に画像データの受け渡しを行うようになっている。そして、その際に、コールバックモジュール20は、画像データの受け渡しに関する問い合わせを外部制御部30に対して1スキャンライン単位毎に行い、その外部制御部30からの応答指示に従いつつ画像データの受け渡しを行うようになっている。つまり、コールバックモジュール20は、例えば、ある画像データについて、その画像データの1面の全ての受け渡しが終了していなくても、外部制御部30から処理を中断する旨の応答指示があると、の応答指示以降の画像データの受け渡しを行わない。
As described above, in the data processing apparatus, the data processing program, and the data processing method according to the present embodiment, each
したがって、本実施形態におけるデータ処理装置、データ処理プログラムおよびデータ処理方法によれば、コールバックモジュール20が処理対象となる画像データの1スキャンライン単位毎にその画像データ受け渡しに関する問い合わせを行い、その問い合わせに対する応答指示に従いつつ画像データの受け渡しを行うので、外部制御部30からの応答指示を与えることにより、その画像データの1面の全てについて処理が終了しなくても、その途中で処理を中断させることが可能となる。つまり、各データ処理モジュール10a〜10cがパイプライン形態に接続されている場合に、あるデータ処理モジュールでのデータ処理の開始後に、そのデータ処理が処理対象となるデータの全てについて終了していなくとも、当該データの全てについてデータ処理が終了するのを待つことなく、処理全体の中断を行うことができる。そのため、各データ処理モジュール10a〜10cがパイプライン形態に接続されている場合であっても、処理中断要求等に対する応答性に優れたものとなるのである。
Therefore, according to the data processing device, the data processing program, and the data processing method in the present embodiment, the
なお、本実施形態では、本発明の好適な実施具体例を説明したが、本発明はその内容に限定されるものではなく、その要旨を逸脱しない範囲で適宜変更が可能である。 In the present embodiment, the preferred specific examples of the present invention have been described. However, the present invention is not limited to the contents, and various modifications can be made without departing from the scope of the present invention.
例えば、本実施形態では、データ処理モジュール10a,10bの間に一つのコールバックモジュール20が配されている場合を例に挙げたが、コールバックモジュール20は、各データ処理モジュール10a〜10cのいずれかの間に少なくとも一つ設けられていればよい。したがって、全ての間にそれぞれ配することも考えられる。ただし、数多く設けると、装置構成の複雑化を招き得るため、処理負荷の重いデータ処理を行うデータ処理モジュールに対応して、その前段または後段に配することが望ましい。
For example, in the present embodiment, the case where one
また、本実施形態では、データの受け渡しに関する問い合わせとして、当該受け渡しの可否と当該受け渡しのモニタリング要否との両方を外部制御部30に問い合わせる場合を例に挙げたが、これらのいずれか一方のみを問い合わせるようにしても構わない。さらには、受け渡しの可否の問い合わせに対する応答指示の指示内容特定を、UIからの情報入力と異常検出手段での検出結果との両方に基づいて行う場合を例に挙げたが、これらのいずれか一方のみに基づいて行うようにしても構わない。
Further, in the present embodiment, as an inquiry regarding data transfer, an example is given in which the
さらに、本実施形態では、画像データを処理するデータ処理装置、データ処理プログラムおよびデータ処理方法に本発明を適用した場合を例に挙げたが、パイプライン形態に接続された複数のデータ処理モジュール(データ処理手段)を用いてデータ処理を行うものであれば、他のデータに対するデータ処理を行うものであっても、全く同様に適用することが可能である。 Furthermore, in the present embodiment, the case where the present invention is applied to a data processing apparatus, a data processing program, and a data processing method for processing image data has been described as an example, but a plurality of data processing modules ( As long as data processing is performed using data processing means), it is possible to apply the same in the same manner even if data processing is performed on other data.
10a〜10c…データ処理モジュール、11a〜11c…制御部、12a〜12c…入力バッファ、13a〜13c…出力バッファ、20…コールバックモジュール、21…制御部、30…外部制御部、40…システム管理モジュール 10a to 10c ... data processing module, 11a to 11c ... control unit, 12a to 12c ... input buffer, 13a to 13c ... output buffer, 20 ... callback module, 21 ... control unit, 30 ... external control unit, 40 ... system management module
Claims (7)
前記複数のデータ処理手段の間に少なくとも一つが配されて、当該データ処理手段の間でのデータの受け渡しに関する問い合わせを前記所定処理単位毎に行うとともに、当該問い合わせに対する応答指示に従いつつ前記データの受け渡しを前記所定処理単位毎に行うコールバック手段と、
前記コールバック手段からの問い合わせを受け付けるとともに、当該問い合わせに対する応答指示を前記コールバック手段に与える制御手段と
を備えることを特徴とするデータ処理装置。 A plurality of data processing means connected to each other in a pipeline form to execute predetermined data processing and perform the data processing for each predetermined processing unit of data to be processed;
At least one is arranged between the plurality of data processing means, and inquiries about data delivery between the data processing means are performed for each predetermined processing unit, and the data delivery is performed according to a response instruction to the inquiry. Callback means for performing each predetermined processing unit;
A data processing apparatus comprising: a control unit that receives an inquiry from the callback unit and that gives a response instruction to the inquiry to the callback unit.
ことを特徴とする請求項1記載のデータ処理装置。 The callback means inquires to the control means as to whether or not the delivery is possible as an inquiry about the delivery of data. If the response instruction to the inquiry is acceptable, the callback means delivers the data for a predetermined processing unit related to the response instruction. The data processing apparatus according to claim 1, wherein if a response instruction to the inquiry is not delivered, data delivery is stopped for a predetermined processing unit related to the response instruction.
ことを特徴とする請求項1または2記載のデータ処理装置。 The callback means notifies the system management module that manages the entire data processing apparatus or the entire system constructed including the data processing apparatus, to the effect that the data transfer is stopped. The data processing apparatus according to claim 1, wherein the data processing apparatus is provided.
ことを特徴とする請求項1、2または3記載のデータ処理装置。 The callback means inquires of the control means whether or not monitoring of the delivery is necessary as an inquiry regarding the delivery of data, and if the response instruction to the inquiry requires monitoring, the data is delivered for each predetermined processing unit. The data processing device according to claim 1, 2, or 3, wherein the data processing device counts and outputs the number of the predetermined processing units that have been delivered each time.
パイプライン形態に接続されて各々が所定のデータ処理を実行するとともに、当該データ処理を処理対象となるデータの所定処理単位毎に行う複数のデータ処理手段と、
前記複数のデータ処理手段の間に少なくとも一つが配されて、当該データ処理手段の間でのデータの受け渡しに関する問い合わせを前記所定処理単位毎に行うとともに、当該問い合わせに対する応答指示に従いつつ前記データの受け渡しを前記所定処理単位毎に行うコールバック手段と、
前記コールバック手段からの問い合わせを受け付けるとともに、当該問い合わせに対する応答指示を前記コールバック手段に与える制御手段
として機能させることを特徴とするデータ処理プログラム。 Computer
A plurality of data processing means connected to each other in a pipeline form to execute predetermined data processing and perform the data processing for each predetermined processing unit of data to be processed;
At least one is arranged between the plurality of data processing means, and inquiries about data transfer between the data processing means are performed for each predetermined processing unit, and the data is transferred while following a response instruction to the inquiry Callback means for performing each predetermined processing unit;
A data processing program that receives an inquiry from the callback unit and functions as a control unit that gives a response instruction to the inquiry to the callback unit.
当該コンピュータの全体または当該コンピュータを含んで構築されたシステム全体を管理するとともに、前記コールバック手段からの前記データの受け渡しを中止する旨の情報を受け付けるシステム管理モジュール
として機能させることを特徴とする請求項5記載のデータ処理プログラム。 The computer,
A system management module that manages the entire computer or the entire system constructed by including the computer and that functions as a system management module that receives information indicating that the data transfer from the callback unit is stopped. Item 6. A data processing program according to Item 5.
前記データ処理手段の各々が所定のデータ処理を実行するとともに、当該データ処理を処理対象となるデータの所定処理単位毎に行うデータ処理ステップと、
前記複数のデータ処理手段の間でのデータの受け渡しに関する問い合わせを前記所定処理単位毎に外部制御部に対して行う問い合わせステップと、
前記問い合わせに対する応答指示に従いつつ前記複数のデータ処理手段の間でのデータの受け渡しを前記所定処理単位毎に行うデータ受け渡しステップと
を備えることを特徴とするデータ処理方法。
A data processing method used in a data processing apparatus including a plurality of data processing means connected in a pipeline form,
A data processing step in which each of the data processing means executes predetermined data processing and performs the data processing for each predetermined processing unit of data to be processed;
An inquiry step for inquiring an external control unit for each predetermined processing unit for an inquiry about data transfer among the plurality of data processing means;
A data transfer method comprising: a data transfer step of transferring data between the plurality of data processing means for each of the predetermined processing units while following a response instruction to the inquiry.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005074508A JP4534814B2 (en) | 2005-03-16 | 2005-03-16 | Data processing apparatus, data processing program, and data processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005074508A JP4534814B2 (en) | 2005-03-16 | 2005-03-16 | Data processing apparatus, data processing program, and data processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006259970A JP2006259970A (en) | 2006-09-28 |
JP4534814B2 true JP4534814B2 (en) | 2010-09-01 |
Family
ID=37099178
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005074508A Expired - Fee Related JP4534814B2 (en) | 2005-03-16 | 2005-03-16 | Data processing apparatus, data processing program, and data processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4534814B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009258908A (en) * | 2008-04-15 | 2009-11-05 | Fuji Xerox Co Ltd | Image processing apparatus and image processing program |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06242950A (en) * | 1993-02-17 | 1994-09-02 | Toshiba Corp | Pipeline input/output controller |
JPH06259391A (en) * | 1993-03-05 | 1994-09-16 | N T T Data Tsushin Kk | Pipeline processor constitution system |
JPH09106388A (en) * | 1995-10-11 | 1997-04-22 | Oki Electric Ind Co Ltd | Parallel computer for signal processing |
JPH09146782A (en) * | 1995-11-24 | 1997-06-06 | Hitachi Ltd | Method for handling occurance of abnormality in inter-job data succession |
JPH10240558A (en) * | 1997-02-24 | 1998-09-11 | Hitachi Ltd | Control method for data processor, data processor and electronic beam plotting device |
JP2000163388A (en) * | 1998-11-24 | 2000-06-16 | Minolta Co Ltd | Data processing system |
JP2000182036A (en) * | 1998-12-16 | 2000-06-30 | Minolta Co Ltd | Data processing system |
JP2004062779A (en) * | 2002-07-31 | 2004-02-26 | Fuji Xerox Co Ltd | Image processor |
JP2004521417A (en) * | 2000-12-06 | 2004-07-15 | インテル・コーポレーション | Stop the processor |
-
2005
- 2005-03-16 JP JP2005074508A patent/JP4534814B2/en not_active Expired - Fee Related
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06242950A (en) * | 1993-02-17 | 1994-09-02 | Toshiba Corp | Pipeline input/output controller |
JPH06259391A (en) * | 1993-03-05 | 1994-09-16 | N T T Data Tsushin Kk | Pipeline processor constitution system |
JPH09106388A (en) * | 1995-10-11 | 1997-04-22 | Oki Electric Ind Co Ltd | Parallel computer for signal processing |
JPH09146782A (en) * | 1995-11-24 | 1997-06-06 | Hitachi Ltd | Method for handling occurance of abnormality in inter-job data succession |
JPH10240558A (en) * | 1997-02-24 | 1998-09-11 | Hitachi Ltd | Control method for data processor, data processor and electronic beam plotting device |
JP2000163388A (en) * | 1998-11-24 | 2000-06-16 | Minolta Co Ltd | Data processing system |
JP2000182036A (en) * | 1998-12-16 | 2000-06-30 | Minolta Co Ltd | Data processing system |
JP2004521417A (en) * | 2000-12-06 | 2004-07-15 | インテル・コーポレーション | Stop the processor |
JP2004062779A (en) * | 2002-07-31 | 2004-02-26 | Fuji Xerox Co Ltd | Image processor |
Also Published As
Publication number | Publication date |
---|---|
JP2006259970A (en) | 2006-09-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8804174B2 (en) | Information processing apparatus for managing a non-print job in a print queue, recording medium, and control method | |
JP4534814B2 (en) | Data processing apparatus, data processing program, and data processing method | |
JP5987797B2 (en) | Information processing apparatus and program | |
JP2017047642A (en) | Post-rip data saving method at preceding rip time | |
JP4745832B2 (en) | Image forming apparatus, billing processing apparatus, and image forming system | |
US9207889B2 (en) | Information processing apparatus, information processing method, and storage medium | |
JP5779905B2 (en) | Image processing apparatus, image processing system, and image processing program | |
US10510059B2 (en) | Printer device | |
JP2017156855A (en) | Receipt issuing device, control method, and program | |
JP3730586B2 (en) | Image processing device | |
JP2009123079A (en) | Printing system for judging abnormality of print controller and restoring printer | |
JP2007172343A (en) | Print control unit and its method | |
JP2016203566A (en) | Image formation apparatus | |
JP4172363B2 (en) | Printing system | |
JP5643269B2 (en) | Image forming apparatus and display apparatus | |
JP6451251B2 (en) | Printing apparatus and printing system | |
JP5459109B2 (en) | Printing device | |
JP2002373073A (en) | Printer | |
JPH09307685A (en) | Image data read system | |
JP2008149489A (en) | Image forming apparatus, printing system and output controlling program | |
US6278851B1 (en) | Image forming and accounting system | |
JP5451824B2 (en) | Print system and print processing apparatus | |
JP2013129091A (en) | Printing device, and method for controlling the same | |
JP2009181304A (en) | Print system | |
EP2600286B1 (en) | Image forming apparatus and image forming method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080221 |
|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20091009 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100512 |
|
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: 20100525 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100607 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130625 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4534814 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140625 Year of fee payment: 4 |
|
LAPS | Cancellation because of no payment of annual fees |