JP2000172725A - Plotting controller - Google Patents

Plotting controller

Info

Publication number
JP2000172725A
JP2000172725A JP10348093A JP34809398A JP2000172725A JP 2000172725 A JP2000172725 A JP 2000172725A JP 10348093 A JP10348093 A JP 10348093A JP 34809398 A JP34809398 A JP 34809398A JP 2000172725 A JP2000172725 A JP 2000172725A
Authority
JP
Japan
Prior art keywords
character
cache
rio
unit
control 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.)
Withdrawn
Application number
JP10348093A
Other languages
Japanese (ja)
Inventor
Masahiro Date
昌弘 伊達
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP10348093A priority Critical patent/JP2000172725A/en
Publication of JP2000172725A publication Critical patent/JP2000172725A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Memory System Of A Hierarchy Structure (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve plotting performance by arranging an independent cache in each of plural plotting modules. SOLUTION: This controller is provided with plural character storing means 61a and 62a which store character plotting data undergoing cache management, plural plotting parts 10a and 11a which performs plotting of the character plotting data of each of the means 61a and 62a, a cache managing means 21a which manages each of the means 61a and 62a and a plotting controlling part 5a which controls each of the parts 10a and 11a, and the means 21a performs cache management with each part 10a and 11a as a unit while being respectively independent.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、アウトライン文字
を使用する描画制御装置に関する。
The present invention relates to a drawing control device using outline characters.

【0002】プリンタ等は、今後より高速/高解像度が
要求され、そのコントローラである描画制御装置はます
ます性能向上が求められている。性能を向上させる手段
に、描画モジュールを複数個持ち、多重に動作させて平
均性能を上げる手法がある。また、アウトライン文字
は、文字資源のサイズはラスタ文字に比べて少なく、斜
体などの加工も可能であり今後も使用される重要な技術
であるが、文字作成時間がかかる問題がある。よって、
キャッシュを使用することでこの性能問題に対処する必
要がある。
2. Description of the Related Art In the future, printers and the like are required to have higher speed and higher resolution, and a drawing controller, which is a controller thereof, is required to further improve performance. As a means for improving the performance, there is a method of improving the average performance by having a plurality of drawing modules and operating them in a multiplexed manner. Outline characters have a smaller character resource size than raster characters and can be used for processing of italics, etc., and are an important technique that will be used in the future. Therefore,
You need to address this performance issue by using a cache.

【0003】[0003]

【従来の技術】従来、文字格納テーブル上のデータをB
MM(ビットマップメモリ)に転送する描画モジュール
およびキャッシュ管理を行う文字管理単位を1つで行っ
ていた。
2. Description of the Related Art Conventionally, data on a character storage table is represented by B
The drawing module for transferring to the MM (bitmap memory) and the character management unit for performing cache management are performed by one.

【0004】このため、描画性能向上は、描画モジュー
ルや描画制御装置の制御MPU(マイクロプロセッサユ
ニット)の周波数向上に依存していて、それ以上の性能
向上は不可能であった。
For this reason, the improvement of the drawing performance depends on the improvement of the frequency of the drawing module and the control MPU (microprocessor unit) of the drawing control device, and it is impossible to further improve the performance.

【0005】[0005]

【発明が解決しようとする課題】前記従来のものは、描
画モジュールおよび文字管理単位が1つであるため、性
能向上は、描画モジュールおよび制御MPUの周波数向
上に依存していた。
Since the above-mentioned conventional apparatus has one drawing module and one character management unit, the performance improvement depends on the frequency improvement of the drawing module and the control MPU.

【0006】本発明は、このような従来の課題を解決
し、複数の描画モジュール毎に独立したキャッシュを配
置し描画性能を向上することを目的とする。
An object of the present invention is to solve such a conventional problem and improve the drawing performance by arranging an independent cache for each of a plurality of drawing modules.

【0007】[0007]

【課題を解決するための手段】図1は本発明の原理説明
図である。図1中、10a、11aは描画部、16、1
7はビットマップメモリ(BMM)、5aは描画制御手
段、21aはキャッシュ管理手段、23aは2次キャッ
シュ、61a、62aは文字格納手段、64、65はワ
ーク領域である。
FIG. 1 is a diagram illustrating the principle of the present invention. In FIG. 1, reference numerals 10a and 11a denote drawing units, 16 and 1,
7 is a bitmap memory (BMM), 5a is a drawing control unit, 21a is a cache management unit, 23a is a secondary cache, 61a and 62a are character storage units, and 64 and 65 are work areas.

【0008】本発明は前記従来の課題を解決するため次
のように構成した。
The present invention has the following configuration to solve the above-mentioned conventional problems.

【0009】(1):キャッシュ管理される文字描画デ
ータを格納する複数個の文字格納手段61a、62a
と、前記各文字格納手段61a、62aの文字描画デー
タの描画を行う複数個の描画部10a、11aと、前記
各文字格納手段61a、62aの管理をするキャッシュ
管理手段21aと、前記各描画部10a、11aの制御
を行う描画制御手段5aとを備え、前記キャッシュ管理
手段21aは、前記各描画部10a、11aを単位とし
てそれぞれが独立したキャッシュ管理を行う。
(1): A plurality of character storage means 61a, 62a for storing character drawing data to be cache-managed
A plurality of drawing units 10a and 11a for drawing character drawing data in the character storage units 61a and 62a; a cache management unit 21a for managing the character storage units 61a and 62a; And a drawing control unit 5a for controlling the units 10a and 11a. The cache management unit 21a performs independent cache management for each of the drawing units 10a and 11a.

【0010】(2):前記(1)の描画制御装置におい
て、前記キャッシュ管理手段21aは、一つの描画部の
単位のキャッシュでミスヒット時、他の描画部の単位の
キャッシュをサーチする。
(2) In the drawing control device of (1), the cache management unit 21a searches for a cache of a unit of another drawing unit when there is a mishit in a cache of a unit of one drawing unit.

【0011】(3):前記(1)又は(2)の描画制御
装置において、前記各描画部10a、11aの単位に複
数のキャッシュ管理単位を備え、前記キャッシュ管理手
段21aは、前記キャッシュ管理単位に予定した個数分
の文字追加が行われたら、前記描画部10a、11aの
描画開始を行う。
(3) In the drawing control device according to (1) or (2), each of the drawing units 10a and 11a includes a plurality of cache management units, and the cache management unit 21a includes the cache management unit. After the predetermined number of characters have been added, the drawing units 10a and 11a start drawing.

【0012】(4):前記(1)又は(2)の描画制御
装置において、前記各描画部10a、11aの単位に存
在するキャッシュ管理単位以外に、独立した共通の2次
キャッシュ23aを備える。
(4) In the drawing control apparatus according to (1) or (2), an independent common secondary cache 23a is provided in addition to the cache management unit existing in each of the drawing units 10a and 11a.

【0013】(5):前記(4)の描画制御装置におい
て、前記2次キャッシュ23aをサーチしてミスヒット
時、各描画部10a、11aの単位に存在するキャッシ
ュをサーチする。
(5) In the drawing control device of (4), when the secondary cache 23a is searched and a mishit occurs, the cache existing in the unit of each of the drawing units 10a and 11a is searched.

【0014】(6):前記(1)の描画制御装置におい
て、前記各描画部10a、11aの単位に文字描画デー
タを格納するワーク領域64、65を備え、前記キャッ
シュ管理手段21aは、キャッシュに文字を登録する
時、前記ワーク領域64、65に文字を配置し、前記描
画部10a、11aを用いて文字を前記文字格納手段6
1a、62aに転送する。
(6) In the drawing control device of the above (1), there are provided work areas 64 and 65 for storing character drawing data in units of the drawing units 10a and 11a. When registering characters, the characters are arranged in the work areas 64 and 65, and the characters are stored using the drawing units 10a and 11a.
1a and 62a.

【0015】(作用)前記構成に基づく作用を説明す
る。
(Operation) The operation based on the above configuration will be described.

【0016】複数個の文字格納手段61a、62aでキ
ャッシュ管理される文字描画データを格納し、複数個の
描画部10a、11aで前記各文字格納手段61a、6
2aの文字描画データの描画を行い、キャッシュ管理手
段21aで前記各文字格納手段61a、62aの管理を
し、描画制御手段5aで前記各描画部10a、11aの
制御を行い、前記キャッシュ管理手段21aで前記各描
画部10a、11aを単位としてそれぞれが独立したキ
ャッシュ管理を行う。このため、各キャッシュの管理状
況が他の描画部の文字転送に影響を与えず動作可能とな
るので、描画効率を向上することができる。
A plurality of character storage means 61a and 62a store character drawing data to be cache-managed, and a plurality of drawing units 10a and 11a store the respective character storage means 61a and 6a.
2a, the cache management unit 21a manages the character storage units 61a, 62a, the drawing control unit 5a controls the drawing units 10a, 11a, and the cache management unit 21a Then, independent cache management is performed for each of the drawing units 10a and 11a. For this reason, the management state of each cache becomes operable without affecting the character transfer of the other drawing units, so that the drawing efficiency can be improved.

【0017】また、前記キャッシュ管理手段21aで、
一つの描画部の単位のキャッシュでミスヒット時、他の
描画部の単位のキャッシュをサーチする。このため、他
の描画部のキャッシュ上の文字を有効に利用(コピー)
することができ、文字作成時間を短縮することができ
る。
In the cache management means 21a,
When there is a mishit in the cache of one drawing unit, the cache of another drawing unit is searched. For this reason, the characters on the cache of other drawing units are used effectively (copy)
Character creation time can be reduced.

【0018】さらに、前記各描画部10a、11aの単
位に複数のキャッシュ管理単位を備え、前記キャッシュ
管理手段21aで、前記キャッシュ管理単位に予定した
個数分の文字追加が行われたら、前記描画部10a、1
1aの描画開始を行う。このため、描画部を1ページ分
の文字処理が終了する前に起動するため、描画部終了に
よる空き領域(キャッシュ管理単位)の解放を早く行う
ことが可能である。また、次のキャッシュ管理単位がフ
ルになるまで描画部動作中に文字処理を並行して行うこ
とができるので、性能上有利となる。
Further, each of the drawing units 10a and 11a has a plurality of cache management units. When the cache management unit 21a adds characters of the number expected in the cache management unit, the drawing unit 10a, 1
1a is started. For this reason, since the drawing unit is started before the character processing for one page is completed, it is possible to quickly release the free area (cache management unit) due to the completion of the drawing unit. Also, character processing can be performed in parallel during the operation of the drawing unit until the next cache management unit becomes full, which is advantageous in performance.

【0019】また、前記各描画部10a、11aの単位
に存在するキャッシュ管理単位以外に、独立した共通の
2次キャッシュ23aを備える。このため、2次キャッ
シュから文字をコピーすることで、各ページ共通に使用
する文字の再作成を防ぎ、文字処理時間を短縮すること
ができる。
In addition to the cache management unit existing in each of the drawing units 10a and 11a, an independent common secondary cache 23a is provided. For this reason, by copying the characters from the secondary cache, it is possible to prevent the characters used commonly for each page from being re-created and to reduce the character processing time.

【0020】さらに、前記2次キャッシュ23aをサー
チしてミスヒット時、各描画部10a、11aの単位に
存在するキャッシュをサーチする。このため、他の描画
部のキャッシュ上の文字も有効に利用することができ、
文字作成時間を短縮することができる。
Furthermore, when the secondary cache 23a is searched and a mishit occurs, the cache existing in the unit of each of the drawing units 10a and 11a is searched. For this reason, characters on the cache of other drawing units can also be used effectively,
Character creation time can be reduced.

【0021】また、前記各描画部10a、11aの単位
に文字描画データを格納するワーク領域64、65を備
え、前記キャッシュ管理手段21aで、キャッシュに文
字を登録する時、前記ワーク領域64、65に文字を配
置し、前記描画部10a、11aを用いて文字を前記文
字格納手段61a、62aに転送する。このため、ワー
ク領域が有る間、描画部終了待ち無しに文字を登録する
ことができ、文字処理と描画部との並行動作が可能とな
る。
Further, work areas 64 and 65 for storing character drawing data in units of the drawing units 10a and 11a are provided. When the cache management means 21a registers characters in a cache, the work areas 64 and 65 are used. Then, the characters are transferred to the character storage means 61a, 62a using the drawing units 10a, 11a. Therefore, while the work area is present, characters can be registered without waiting for the end of the drawing unit, and the character processing and the drawing unit can operate in parallel.

【0022】[0022]

【発明の実施の形態】図2〜図19は本発明の実施の形
態を示した図である。以下、図面に基づいて本発明の実
施の形態を説明する。
FIG. 2 to FIG. 19 are diagrams showing an embodiment of the present invention. Hereinafter, embodiments of the present invention will be described with reference to the drawings.

【0023】(1):描画制御装置の説明 :各部の説明 図2は描画制御装置の説明図である。図2において、描
画制御装置であるコントローラ2は、ホスト(ホストコ
ンピュータ)1からコマンド/データを受けてメカ3を
制御するものである。
(1) Description of Drawing Control Device: Description of Each Part FIG. 2 is an explanatory diagram of the drawing control device. In FIG. 2, a controller 2 serving as a drawing control device receives commands / data from a host (host computer) 1 and controls the mechanism 3.

【0024】コントローラ2には、コマンド制御部4、
描画制御部5、印刷順制御部6、RIO(ラスタイメー
ジオペレータ)1DMAコントローラ7、RIO2DM
Aコントローラ8、RIO3DMAコントローラ9、R
IO110、RIO211、RIO312、RIM(ラ
スタイメージメモリ)13、RIM14、RIM15、
BMM(ビットマップメモリ)16、BMM17、BM
M18、メカ制御部19が設けてある。
The controller 2 includes a command control unit 4,
Drawing control unit 5, printing order control unit 6, RIO (raster image operator) 1 DMA controller 7, RIO 2DM
A controller 8, RIO3DMA controller 9, R
IO110, RIO211, RIO312, RIM (raster image memory) 13, RIM14, RIM15,
BMM (bitmap memory) 16, BMM17, BM
M18 and a mechanical control unit 19 are provided.

【0025】描画制御部5には、文字処理部20、RI
O制御部30、RIO1パラメタ格納領域41、RIO
2パラメタ格納領域42、RIO3パラメタ格納領域4
3、RIO1ハッシュテーブル51、RIO2ハッシュ
テーブル52、RIO3ハッシュテーブル53、RIO
1キャッシュ管理テーブル54、RIO2キャッシュ管
理テーブル55、RIO3キャッシュ管理テーブル5
6、2次キャッシュハッシュテーブル57、2次キャッ
シュキャッシュ管理テーブル58が設けてある。
The drawing control unit 5 includes a character processing unit 20, an RI
O control unit 30, RIO1 parameter storage area 41, RIO
2 parameter storage area 42, RIO3 parameter storage area 4
3, RIO1 hash table 51, RIO2 hash table 52, RIO3 hash table 53, RIO
1 cache management table 54, RIO2 cache management table 55, RIO3 cache management table 5
6, a secondary cache hash table 57 and a secondary cache cache management table 58 are provided.

【0026】RIM13には、文字格納テーブル61と
ワーク領域64が、RIM14には、文字格納テーブル
62とワーク領域65が、RIM15には、文字格納テ
ーブル63とワーク領域66が設けてある。
The RIM 13 has a character storage table 61 and a work area 64, the RIM 14 has a character storage table 62 and a work area 65, and the RIM 15 has a character storage table 63 and a work area 66.

【0027】文字処理部20には、キャッシュ管理部1
次21、文字作成部22、キャッシュ管理部2次23が
設けてある。RIO制御部30には、RIOパラメタ作
成部31が設けてある。
The character processing unit 20 includes a cache management unit 1
A next 21, a character creation unit 22, and a cache management unit secondary 23 are provided. The RIO control unit 30 includes a RIO parameter creation unit 31.

【0028】コマンド制御部4は、ホスト1間のインタ
フェースを担当しており、ホスト1からのコマンドやデ
ータの受信及び受信データの解析等を行うものである。
描画制御部5は、BMM上の描画に関する制御を行うも
のである。印刷順制御部6は、BMM管理とメカ3に対
するBMM転送順番を管理するものである(メカ毎に違
っている)。
The command control unit 4 is in charge of an interface between the hosts 1 and receives commands and data from the host 1 and analyzes received data.
The drawing control unit 5 controls the drawing on the BMM. The print order control unit 6 manages the BMM management and the BMM transfer order to the mechanism 3 (different for each mechanism).

【0029】RIO1DMAコントローラ7は、RIO
1パラメタ格納領域41のRIOパラメタをRIO1に
対して転送するLSI(大規模集積回路)である。RI
O2DMAコントローラ8は、RIO2パラメタ格納領
域42のRIOパラメタをRIO2に対して転送するL
SIである。RIO3DMAコントローラ9は、RIO
3パラメタ格納領域43のRIOパラメタをRIO3に
対して転送するLSIである。
[0029] The RIO1DMA controller 7
This is an LSI (Large Scale Integrated Circuit) that transfers the RIO parameters in the one parameter storage area 41 to the RIO1. RI
The O2DMA controller 8 transfers the RIO parameters in the RIO2 parameter storage area 42 to the
SI. The RIO3DMA controller 9 uses the RIO
This is an LSI that transfers the RIO parameters in the three-parameter storage area 43 to the RIO3.

【0030】RIO110は、RIM13上のデータを
BMM16に転送するLSI(描画部)であり、転送は
矩形領域で行われ、回転、リピート、論理演算が可能で
あり、ベクトル描画もサポートしている。RIO211
は、RIM14上のデータをBMM17に転送するLS
I(描画部)であり、転送は矩形領域で行われ、回転、
リピート、論理演算が可能であり、ベクトル描画もサポ
ートしている。RIO312は、RIM15上のデータ
をBMM18に転送するLSI(描画部)であり、転送
は矩形領域で行われ、回転、リピート、論理演算が可能
であり、ベクトル描画もサポートしている。
The RIO 110 is an LSI (drawing unit) for transferring data on the RIM 13 to the BMM 16, the transfer is performed in a rectangular area, rotation, repeat, logic operation is possible, and vector drawing is also supported. RIO211
Is the LS that transfers the data on the RIM 14 to the BMM 17
I (drawing unit), transfer is performed in a rectangular area, rotation,
It can perform repeat and logical operations, and also supports vector drawing. The RIO 312 is an LSI (drawing unit) that transfers data on the RIM 15 to the BMM 18, the transfer is performed in a rectangular area, rotation, repeat, logic operation is possible, and vector drawing is also supported.

【0031】RIM13は、BMM16に転送する文字
パターン、面塗りパターン、ベクトルパターン等を配置
するメモリであり、文字を変形する場合のワークとして
も使用され、また、文字キャッシュの文字データが格納
される文字格納テーブル61が配置されている。RIM
14は、BMM17に転送する文字パターン、面塗りパ
ターン、ベクトルパターン等を配置するメモリであり、
文字を変形する場合のワークとしても使用され、また、
文字キャッシュの文字データが格納される文字格納テー
ブル62が配置されている。RIM15は、BMM18
に転送する文字パターン、面塗りパターン、ベクトルパ
ターン等を配置するメモリであり、文字を変形する場合
のワークとしても使用され、また、文字キャッシュの文
字データが格納される文字格納テーブル63が配置され
ている。
The RIM 13 is a memory for arranging a character pattern, a face-painting pattern, a vector pattern, and the like to be transferred to the BMM 16, and is also used as a work for deforming a character, and stores character data of a character cache. A character storage table 61 is provided. RIM
Reference numeral 14 denotes a memory for arranging a character pattern, a face painting pattern, a vector pattern, and the like to be transferred to the BMM 17;
It is also used as a work when transforming characters,
A character storage table 62 in which character data of the character cache is stored is arranged. RIM15 is BMM18
Is a memory for arranging a character pattern, a face-painting pattern, a vector pattern, and the like to be transferred to the memory. The memory is also used as a work for deforming a character. A character storage table 63 for storing character data of a character cache is arranged. ing.

【0032】BMM16、BMM17、BMM18は、
それぞれメカ3に転送される1ページ分のデータが格納
されるメモリである。メカ制御部19は、メカ3とコン
トローラ2間のインタフェースを担当するものである。
BMM16, BMM17 and BMM18 are
Each memory is for storing one page of data transferred to the mechanism 3. The mechanism control unit 19 is in charge of an interface between the mechanism 3 and the controller 2.

【0033】文字処理部20は、文字を描画する依頼デ
ータの処理を行うものである。RIO制御部30は、R
IO1〜3とそれらのDMAコントローラに対する制御
を行うものである。RIO1パラメタ格納領域41は、
RIO1のパラメタを格納するものである。RIO2パ
ラメタ格納領域42は、RIO2のパラメタを格納する
ものである。RIO3パラメタ格納領域43は、RIO
3のパラメタを格納するものである。
The character processing section 20 processes request data for drawing characters. The RIO control unit 30 uses R
It controls IOs 1-3 and their DMA controllers. The RIO1 parameter storage area 41 is
This stores the parameters of RIO1. The RIO2 parameter storage area 42 stores the RIO2 parameters. The RIO3 parameter storage area 43 stores the RIO
3 is stored.

【0034】RIO1ハッシュテーブル51は、RIO
1キャッシュ管理テーブル54の文字管理テーブル列の
先頭ポインタを格納するものである。RIO2ハッシュ
テーブル52は、RIO2キャッシュ管理テーブル55
の文字管理テーブル列の先頭ポインタを格納するもので
ある。RIO3ハッシュテーブル53は、RIO3キャ
ッシュ管理テーブル56の文字管理テーブル列の先頭ポ
インタを格納するものである。
The RIO1 hash table 51 stores the RIO
It stores the head pointer of the character management table column of the one cache management table 54. The RIO2 hash table 52 includes a RIO2 cache management table 55
The first pointer of the character management table column is stored. The RIO3 hash table 53 stores the head pointer of the character management table column of the RIO3 cache management table 56.

【0035】RIO1キャッシュ管理テーブル54は、
文字格納テーブル61の文字の管理情報を格納するもの
である。RIO2キャッシュ管理テーブル55は、文字
格納テーブル62の文字の管理情報を格納するものであ
る。RIO3キャッシュ管理テーブル56は、文字格納
テーブル63の文字の管理情報を格納するものである。
2次キャッシュハッシュテーブル57は、2次キャッシ
ュキャッシュ管理テーブル58の文字管理テーブル列の
先頭ポインタを格納するものである。2次キャッシュキ
ャッシュ管理テーブル58は、文字格納テーブル(図示
しないが描画制御部5内に設けられる)の文字の管理情
報を格納するものである。
The RIO1 cache management table 54 is
It stores character management information of the character storage table 61. The RIO2 cache management table 55 stores character management information of the character storage table 62. The RIO3 cache management table 56 stores the management information of the characters in the character storage table 63.
The secondary cache hash table 57 stores the head pointer of the character management table column of the secondary cache cache management table 58. The secondary cache cache management table 58 stores character management information of a character storage table (not shown, but provided in the drawing control unit 5).

【0036】文字格納テーブル61〜63は、キャッシ
ュ管理する文字を格納するものである。ワーク領域64
〜66は、文字を変形する場合等のワークとして使用す
るものである。
The character storage tables 61 to 63 store characters to be cache-managed. Work area 64
Nos. To 66 are used as works when characters are deformed.

【0037】キャッシュ管理部1次21は、アウトライ
ン文字の1次キャッシュのキャッシュ制御を行うもので
ある。文字作成部22は、アウトライン文字をラスタ化
するものである。キャッシュ管理部2次23は、アウト
ライン文字の2次キャッシュのキャッシュ制御を行うも
のである。RIOパラメタ作成部31は、RIO1〜3
を動作させるパラメタを作成しRIOパラメタ格納領域
(41〜43)に格納するものであり、RIOパラメタ
格納領域(41〜43)の管理を行うものである。
The cache management unit primary 21 performs cache control of a primary cache of outline characters. The character creator 22 rasterizes outline characters. The cache management section secondary 23 performs cache control of the secondary cache of outline characters. The RIO parameter creation unit 31 performs RIO1-3
Is created and stored in the RIO parameter storage areas (41-43), and manages the RIO parameter storage areas (41-43).

【0038】RIO1ハッシュテーブル51、RIO1
キャッシュ管理テーブル54、文字格納テーブル61で
一つの文字管理単位(1次キャッシュ)を構成し、RI
O2ハッシュテーブル52、RIO2キャッシュ管理テ
ーブル55、文字格納テーブル62で一つの文字管理単
位(1次キャッシュ)を構成し、RIO3ハッシュテー
ブル53、RIO3キャッシュ管理テーブル56、文字
格納テーブル63で一つの文字管理単位(1次キャッシ
ュ)を構成する。2次キャッシュハッシュテーブル5
7、2次キャッシュキャッシュ管理テーブル58、文字
格納テーブル(図示せず)で一つの文字管理単位(2次
キャッシュ)を構成する。また、図示しないがコントロ
ーラ2の内には全体を制御するMPU(マイクロプロセ
ッサユニット)がある。
RIO1 hash table 51, RIO1
The cache management table 54 and the character storage table 61 constitute one character management unit (primary cache), and
The O2 hash table 52, the RIO2 cache management table 55, and the character storage table 62 constitute one character management unit (primary cache), and the RIO3 hash table 53, the RIO3 cache management table 56, and the character storage table 63 form one character management unit. Construct a unit (primary cache). Secondary cache hash table 5
7. One character management unit (secondary cache) is composed of the secondary cache cache management table 58 and a character storage table (not shown). Although not shown, the controller 2 includes an MPU (microprocessor unit) for controlling the whole.

【0039】:データの流れの説明 図2の符号(1) 〜(12)に基づいてデータの流れを説明す
る。
Description of Data Flow The data flow will be described with reference to the symbols (1) to (12) in FIG.

【0040】(1) コマンド制御部4は、ホスト1からコ
マンド/データを受ける。
(1) The command control unit 4 receives a command / data from the host 1.

【0041】(2) コマンド制御部4は、ページ単位に編
集して印刷順制御部6に渡す。
(2) The command control unit 4 edits the data in page units and sends the edited data to the print order control unit 6.

【0042】(3) 印刷順制御部6は、描画制御部5に対
してBMM上にホストデータの描画依頼をする。
(3) The print order control unit 6 requests the drawing control unit 5 to draw host data on the BMM.

【0043】(4) 文字処理部20のキャッシュ管理部
(1次)21に文字サーチ依頼を行う。
(4) Request a character search to the cache management unit (primary) 21 of the character processing unit 20.

【0044】(a) キャッシュ管理部21は、キャッシュ
に文字が無かった場合は、文字格納領域を獲得し、文字
作成部22に文字作成依頼を行う。
(A) If there is no character in the cache, the cache management unit 21 acquires a character storage area and requests the character creation unit 22 to create a character.

【0045】(b) キャッシュ管理部21は、文字作成部
22から文字作成完了を受けてキャッシュに登録する。
(B) The cache management unit 21 receives the completion of character creation from the character creation unit 22 and registers it in the cache.

【0046】(5) RIO制御部30は、キャッシュ管理
部21から文字を獲得し、RIOパラメタ作成部31に
RIOパラメタの作成依頼を行う。
(5) The RIO control unit 30 acquires characters from the cache management unit 21 and requests the RIO parameter creation unit 31 to create RIO parameters.

【0047】(6) RIOパラメタ作成部31は、RIO
パラメタを該当するRIOパラメタ格納領域(41〜4
3)にセットする。
(6) The RIO parameter creation unit 31
The parameter is stored in the corresponding RIO parameter storage area (41-4
Set to 3).

【0048】(7) RIO制御部30は、一定サイズのR
IOパラメタが用意できた(例えば、1ページ処理完
了)時点でDMAコントローラ(7〜9)にRIOパラ
メタのDMA開始依頼を行う。
(7) The RIO control unit 30 controls the R
When the IO parameters are prepared (for example, one page processing is completed), the DMA controller (7 to 9) requests the DMA start of the RIO parameters.

【0049】(8) RIO1〜3(10〜12)は、RI
M13〜15上の文字等をBMM16〜18に転送す
る。
(8) RIO1-3 (10-12)
The characters and the like on M13 to M15 are transferred to BMMs 16 to 18.

【0050】(9) 描画制御部5は、RIO1〜3の動作
終了を受けて印刷順序制御部6にBMM16〜18上へ
の描画終了を通知する (10)印刷順制御部6は、BMM16〜18の印刷依頼を
メカ制御部19に行う。
(9) The drawing control unit 5 notifies the printing order control unit 6 of the end of drawing on the BMMs 16 to 18 in response to the end of the operations of the RIOs 1 to 3. (10) The printing order control unit 6 The print request of 18 is sent to the mechanical control unit 19.

【0051】(11)メカ制御部19は、BMM16〜18
データのメカ3へのDMA転送依頼を行う。
(11) The mechanical control unit 19 includes the BMMs 16 to 18
A DMA transfer request to the mechanism 3 is made.

【0052】(12)BMM16〜18データのメカ3への
DMA転送が開始される。
(12) DMA transfer of BMM 16-18 data to mechanism 3 is started.

【0053】(2):アウトライン文字の説明 アウトライン文字とは、文字の輪郭をベクトルデータで
表した字母データを元に、文字サイズ毎に加工され作成
された一筆がきで輪郭線が表された内部を塗ることで出
来上がる文字である。一般的に1つの字母データで作成
される文字のサイズの範囲が広いので文字データ量が少
なくて済むが文字を作成する時間がかかるものである。
(2): Description of outline character Outline character is an internal character whose outline is represented by one stroke created and processed for each character size based on character base data which represents the outline of the character by vector data. It is a character that can be completed by painting. Generally, since the range of the size of a character created by one character data is wide, the amount of character data is small, but it takes time to create a character.

【0054】(3):アウトライン文字キャッシュの説
明 文字キャッシュは、一度作成された文字を決められた文
字数/領域サイズに入れられる間、保存し再利用して文
字作成時間を短縮し、性能向上するシステムである。
(3) Description of Outline Character Cache The character cache saves and reuses a character once created while it is put in a predetermined number of characters / area size, thereby shortening the character creation time and improving the performance. System.

【0055】図3は文字キャッシュ管理単位の説明図で
ある。図3において、一つの文字キャッシュ管理単位に
は、ハッシュテーブル71、文字管理テーブル(キャッ
シュ管理テーブル)72、文字格納テーブル73が設け
てある。この文字キャッシュ管理単位は、図示しないキ
ャッシュ管理部が管理するものである。
FIG. 3 is an explanatory diagram of a character cache management unit. In FIG. 3, one character cache management unit includes a hash table 71, a character management table (cache management table) 72, and a character storage table 73. The character cache management unit is managed by a cache management unit (not shown).

【0056】ハッシュテーブル71は、文字管理テーブ
ル72の文字管理テーブル列の先頭ポインタを格納する
ものである。文字管理テーブル72は、文字格納テーブ
ル73の文字の管理情報を格納するものである。文字格
納テーブル73は、キャッシュ管理する文字を格納する
ものである。
The hash table 71 stores the head pointer of the character management table column of the character management table 72. The character management table 72 stores character management information of the character storage table 73. The character storage table 73 stores characters to be cache-managed.

【0057】(キャッシュ管理の説明)図3の符号〜
に基づいてキャッシュ管理動作を説明する。
(Explanation of cache management) Reference numerals in FIG.
The cache management operation will be described based on FIG.

【0058】字母アドレスを加工してハッシュテーブ
ル71から文字管理テーブル列の先頭ポインタを獲得
し、先頭の文字管理テーブル72を獲得する(一部を取
り出す)。この時有効アドレス内であることを確認す
る。
The character address is processed to obtain the head pointer of the character management table row from the hash table 71, and the head character management table 72 is obtained (part is extracted). At this time, confirm that the address is within the valid address.

【0059】文字管理テーブル72の逆ポインタがハ
ッシュテーブル71上の上記で使用した文字管理テーブ
ル列ポインタを指すか否か確認する。
It is checked whether the reverse pointer of the character management table 72 points to the character management table column pointer used above on the hash table 71.

【0060】上記、で獲得した文字管理テーブル
列が有効(既に削除済の文字管理テーブル列の場合は上
記条件は成り立たない)なので文字サイズ、文字加工情
報が同じものが存在するかサーチする。
Since the character management table sequence obtained in the above is valid (if the character management table sequence has already been deleted, the above condition is not satisfied), a search is made to see if there is one having the same character size and character processing information.

【0061】ヒットした場合は、文字アドレスが示す
文字格納テーブル73内の文字を使用する。
If a hit occurs, the character in the character storage table 73 indicated by the character address is used.

【0062】+ ヒットしない場合は、別ブロックのキ
ャッシュ管理単位に同じ手順でサーチする。なお、「
+ 」はの条件が異なることを示している(以下同じと
する)。
If no hit is found, a search is performed in the cache management unit of another block by the same procedure. Note that "
“+” Indicates that the condition is different (the same applies hereinafter).

【0063】文字をキャッシュ上に登録する場合は、
文字追加用の文字管理単位に対し、文字格納テーブル7
3上に登録する文字サイズ分の領域を空け(有効アドレ
スを移動)文字管理テーブル72を1つ獲得(有効アド
レスを移動)し、文字管理テーブル列の最後に追加す
る。
To register a character on the cache,
Character storage table 7 for character management units for adding characters
3. An area corresponding to the character size to be registered is made empty (valid address is moved) and one character management table 72 is acquired (valid address is moved) and added to the end of the character management table column.

【0064】(4):RIOを複数用意した場合の文字
キャッシュ管理の説明 処理性能を向上するために、RIOを複数用意して文字
キャッシュ管理を実現するものである。RIOを多重に
動作させて性能を向上させる方式の場合に、各RIO毎
に独立した文字キャッシュを用意して動作させることに
より、各キャッシュの管理状況が他のRIOの文字転送
状況に影響を与えず動作可能となるので、効率が上がり
論理も単純となる。
(4): Description of character cache management when a plurality of RIOs are prepared In order to improve processing performance, a plurality of RIOs are prepared to implement character cache management. In the case of a method of improving performance by operating multiple RIOs, by preparing and operating an independent character cache for each RIO, the management status of each cache affects the character transfer status of other RIOs. Since operation is possible, the efficiency is increased and the logic is simplified.

【0065】また、RIO動作が終了するまでは、参照
したキャッシュ領域を削除できない。このため、描画制
御とRIOを並行動作させるためには次の文字を登録で
きる空きキャッシュ領域を用意しておく必要がある。
The referenced cache area cannot be deleted until the RIO operation is completed. Therefore, in order to operate the drawing control and the RIO in parallel, it is necessary to prepare a free cache area in which the next character can be registered.

【0066】(動作手順) (1) コマンド制御部4は、ホスト1からnページ目の文
字描画依頼を受ける(RIO1とする)。
(Operation Procedure) (1) The command control unit 4 receives a character drawing request for the nth page from the host 1 (referred to as RIO1).

【0067】(2) 文字処理部20のキャッシュ管理部
(1次)21は、文字をRIO1キャッシュ管理テーブ
ル54からサーチし、ヒットした時は、RIOパラメタ
作成部31でRIOパラメタ作成を行う(文字転送
用)。
(2) The cache management unit (primary) 21 of the character processing unit 20 searches the RIO1 cache management table 54 for a character, and when a hit is found, the RIO parameter creation unit 31 creates an RIO parameter (character). Transfer).

【0068】(3) キャッシュ管理部21は、文字がRI
O1キャッシュ管理テーブル54に無かった場合(ヒッ
トしなかった場合)、文字作成部22を起動して文字作
成と作成した文字のRIO1のキャッシュ登録を行う。
(3) The cache management unit 21 checks that the character is RI
If there is no entry in the O1 cache management table 54 (if there is no hit), the character creating unit 22 is activated to create the character and register the RIO1 cache of the created character.

【0069】(4) 上記(2) 〜(3) を繰り返し、1ページ
分の処理を完了する(RIO1パラメタ格納領域41に
RIOパラメタを作成)。
(4) The above (2) to (3) are repeated, and the processing for one page is completed (RIO parameters are created in the RIO1 parameter storage area 41).

【0070】(5) RIO制御部30は、RIO1の起動
を行う(DMAコントローラ7にRIOパラメタのDM
A開始依頼を行う)。
(5) The RIO control unit 30 activates the RIO 1 (the DMA controller 7 sends the RIO parameter DM
A start request).

【0071】(6) コマンド制御部4は、ホスト1からn
+1ページ目の文字描画依頼を受ける(RIO2とす
る)。
(6) The command control unit 4 sends n
A character drawing request for the + 1st page is received (referred to as RIO2).

【0072】(7) 文字処理部20のキャッシュ管理部2
1は、文字をRIO2キャッシュ管理テーブル55から
サーチし、ヒットした時は、RIOパラメタ作成部31
でRIOパラメタ作成を行う(文字転送用)。
(7) Cache management unit 2 of character processing unit 20
1 searches for a character from the RIO2 cache management table 55, and when a hit is found, the RIO parameter creation unit 31
To create RIO parameters (for character transfer).

【0073】(8) キャッシュ管理部21は、文字がRI
O2キャッシュ管理テーブル55に無かった場合(ヒッ
トしなかった場合)、文字作成部22を起動して文字作
成と作成した文字のRIO2のキャッシュ登録を行う。
(8) The cache management unit 21 determines that the character
When the character is not found in the O2 cache management table 55 (when there is no hit), the character creator 22 is activated to perform character creation and register the RIO2 cache of the created character.

【0074】(9) 上記(7) 〜(8) を繰り返し、1ページ
分の処理を完了する(RIO2パラメタ格納領域42に
RIOパラメタを作成)。
(9) The above (7) to (8) are repeated, and the processing for one page is completed (RIO parameters are created in the RIO2 parameter storage area 42).

【0075】(10)RIO制御部30は、RIO2の起動
を行う(DMAコントローラ8にRIOパラメタのDM
A開始依頼を行う)。
(10) The RIO control unit 30 activates the RIO 2 (the RIO parameter DM
A start request).

【0076】(11)コマンド制御部4は、ホスト1からn
+2ページ目の文字描画依頼を受ける(RIO3とす
る)。
(11) The command control unit 4 sends n
A character drawing request for the +2 page is received (referred to as RIO3).

【0077】(12)RIO1の動作終了、印刷へ(BMM
16データのメカ3へのDMA転送)。
(12) Termination of RIO1 operation and printing (BMM
DMA transfer of 16 data to mechanism 3).

【0078】以下、同じ処理を継続する。Hereinafter, the same processing is continued.

【0079】(流れ図による説明)図4は文字キャッシ
ュ管理処理の流れ図である。以下、図4の処理S1〜処
理S8に従って説明する。
FIG. 4 is a flowchart of the character cache management process. Hereinafter, description will be given according to the processing S1 to the processing S8 in FIG.

【0080】S1:描画制御部5は、ホスト1からのコ
マンド受信待ちを行う。
S1: The drawing control unit 5 waits for a command from the host 1.

【0081】S2:描画制御部5は、ホスト1から文字
描画コマンドを受け、文字描画依頼の解析を行う(RI
O選択指定あり)。
S2: The drawing control unit 5 receives a character drawing command from the host 1 and analyzes a character drawing request (RI
O selection specified).

【0082】S3:描画制御部5は、指定RIOの文字
のキャッシュ内のサーチ処理を行う。
S3: The drawing control unit 5 performs a search process in the cache for the character of the designated RIO.

【0083】S4:描画制御部5は、前記S3のサーチ
でキャッシュ内に文字は存在したかどうか判断する。
S4: The drawing control unit 5 determines whether or not a character exists in the cache in the search in S3.

【0084】S5:前記S3のサーチでキャッシュ内に
文字が存在した場合、RIOパラメタの作成と格納処理
を行う。
S5: If there is a character in the cache in the search in S3, the RIO parameters are created and stored.

【0085】S6:前記S3のサーチでキャッシュ内に
文字が存在しなかった場合、文字作成処理を行い、指定
RIOの文字のキャッシュへの登録処理を行い(キャッ
シュの空きが無い場合は空くまで待つ)、RIOパラメ
タの作成と格納処理を行う。
S6: If no character exists in the cache in the search in S3, a character creation process is performed, and a process of registering the designated RIO character in the cache is performed. ), And performs processing for creating and storing RIO parameters.

【0086】S7:描画制御部5は、ページ完成コマン
ドにより、指定RIOの起動を行う。
S7: The drawing control unit 5 activates the designated RIO by a page completion command.

【0087】S8:RIO終了割り込みハンドラ(描画
制御部5にある)は、ハード(DMAコントローラ、R
IO等)の正常終了を確認して終了したRIO番号を印
刷制御部(印刷順制御部6)に通知する。
S8: The RIO end interrupt handler (in the drawing control unit 5) is
After confirming the normal end of the IO, the RIO number is notified to the print controller (print order controller 6).

【0088】(5):他のRIOキャッシュ上の文字を
利用する場合の説明 各RIO毎に独立した文字キャッシュを用意して動作さ
せる場合、他のRIOキャッシュ上の文字を有効に利用
(コピー)することで、文字作成時間を短縮することが
できる。
(5): Description of Using Characters on Other RIO Caches When an independent character cache is prepared and operated for each RIO, characters on other RIO caches are effectively used (copy). By doing so, the character creation time can be reduced.

【0089】(動作手順) (1) コマンド制御部4は、ホスト1からnページ目の文
字描画依頼を受ける(RIO1とする)。
(Operation Procedure) (1) The command control unit 4 receives a character drawing request for the nth page from the host 1 (referred to as RIO1).

【0090】(2) 文字処理部20のキャッシュ管理部
(1次)21は、文字をRIO1キャッシュ管理テーブ
ル54からサーチし、ヒットした時は、RIOパラメタ
作成部31でRIOパラメタ作成を行う(文字転送
用)。
(2) The cache management unit (primary) 21 of the character processing unit 20 searches the RIO1 cache management table 54 for a character, and when a hit is found, the RIO parameter creation unit 31 creates an RIO parameter (character) Transfer).

【0091】(3) キャッシュ管理部21は、文字がRI
O1キャッシュ管理テーブル54に無かった場合(ヒッ
トしなかった場合)、別RIO(RIO2、3)の文字
キャッシュ管理単位をサーチし、ヒットした時は文字を
コピーしてRIO1の文字キャッシュに登録し、RIO
パラメタ作成部31でRIOパラメタ作成を行う(RI
O1用)。
(3) The cache management unit 21 determines that the characters are RI
If it does not exist in the O1 cache management table 54 (if there is no hit), the character cache management unit of another RIO (RIO2, 3) is searched, and when a hit occurs, the character is copied and registered in the character cache of RIO1, RIO
RIO parameter creation is performed by the parameter creation unit 31 (RI
O1).

【0092】(4) キャッシュ管理部21は、別RIO
(RIO2、3)の文字キャッシュ管理単位にも文字が
無い場合、文字作成部22を起動して文字を作成し、R
IO1のキャッシュ登録とRIOパラメタを作成する。
(4) The cache management unit 21 has a separate RIO
If there is no character in the character cache management unit of (RIO2, 3), the character creation unit 22 is started to create a character, and R
Create IO1 cache registration and RIO parameters.

【0093】(5) 上記(2) 〜(4) を繰り返し、1ページ
分の処理を完了する(RIO1パラメタ格納領域41に
RIOパラメタを作成)。
(5) The above (2) to (4) are repeated to complete the processing for one page (create the RIO parameters in the RIO1 parameter storage area 41).

【0094】(6) RIO制御部30は、RIO1の起動
を行う(DMAコントローラ7にRIOパラメタのDM
A開始依頼を行う)。
(6) The RIO control unit 30 activates RIO1 (the RIO parameter DM is transmitted to the DMA controller 7).
A start request).

【0095】(7) コマンド制御部4は、ホスト1からn
+1ページ目の文字描画依頼を受ける(RIO2とす
る)。
(7) The command control unit 4 sends n
A character drawing request for the + 1st page is received (referred to as RIO2).

【0096】(8) 文字処理部20のキャッシュ管理部2
1は、文字をRIO2キャッシュ管理テーブル55から
サーチし、ヒットした時は、RIOパラメタ作成部31
でRIOパラメタ作成を行う(文字転送用)。
(8) Cache management unit 2 of character processing unit 20
1 searches for a character from the RIO2 cache management table 55, and when a character is hit,
To create RIO parameters (for character transfer).

【0097】(9) キャッシュ管理部21は、文字がRI
O2キャッシュ管理テーブル55に無かった場合(ヒッ
トしなかった場合)、別RIO(RIO1、3)の文字
キャッシュ管理単位をサーチし、ヒットした時は文字を
コピーしてRIO2の文字キャッシュに登録し、RIO
パラメタ作成部31でRIOパラメタ作成を行う(RI
O2用)。
(9) The cache management unit 21 determines that the character is RI
If it does not exist in the O2 cache management table 55 (if there is no hit), the character cache management unit of another RIO (RIO1, 3) is searched, and when hit, the character is copied and registered in the character cache of RIO2, RIO
RIO parameter creation is performed by the parameter creation unit 31 (RI
O2).

【0098】(10)キャッシュ管理部21は、別RIO
(RIO1、3)の文字キャッシュ管理単位にも文字が
無い場合、文字作成部22を起動して文字を作成し、R
IO2のキャッシュ登録とRIOパラメタを作成する。
(10) The cache management unit 21 executes a separate RIO
If there is no character in the character cache management unit of (RIO1, 3), the character creation unit 22 is activated to create a character, and R
Create IO2 cache registration and RIO parameters.

【0099】(11)上記(8) 〜(10)を繰り返し、1ページ
分の処理を完了する(RIO2パラメタ格納領域42に
RIOパラメタを作成)。
(11) The above (8) to (10) are repeated, and the processing for one page is completed (RIO parameters are created in the RIO2 parameter storage area 42).

【0100】(12)RIO制御部30は、RIO1の起動
を行う(DMAコントローラ7にRIOパラメタのDM
A開始依頼を行う)。
(12) The RIO control unit 30 activates the RIO 1 (the DMA controller 7 sends the RIO parameter DM
A start request).

【0101】(13)コマンド制御部4は、ホスト1からn
+2ページ目の文字描画依頼を受ける(RIO3とす
る)。
(13) The command control unit 4 sends n
A character drawing request for the +2 page is received (referred to as RIO3).

【0102】(14)RIO1の動作終了、印刷へ(BMM
16データのメカ3へのDMA転送)。
(14) End of RIO1 operation, go to printing (BMM
DMA transfer of 16 data to mechanism 3).

【0103】以下、同じ処理を継続する。Hereinafter, the same processing is continued.

【0104】(流れ図による説明)図5は他のRIOキ
ャッシュ上の文字を利用する処理の流れ図(1)、図6
は他のRIOキャッシュ上の文字を利用する処理の流れ
図(2)である。以下、図5、図6の処理S11〜処理
S21に従って説明する。
(Explanation by Flow Chart) FIG. 5 is a flow chart (1) of a process using characters on another RIO cache, and FIG.
Is a flowchart (2) of a process using characters on another RIO cache. Hereinafter, description will be made in accordance with the processing S11 to the processing S21 of FIGS.

【0105】S11:描画制御部5は、ホスト1からの
コマンド受信待ちを行う。
S11: The drawing control unit 5 waits for a command from the host 1.

【0106】S12:描画制御部5は、ホスト1から文
字描画コマンドを受け、文字描画依頼の解析を行う(R
IO選択指定あり)。
S12: The drawing control unit 5 receives a character drawing command from the host 1 and analyzes a character drawing request (R
(IO selection is specified).

【0107】S13:描画制御部5は、指定RIOの文
字のキャッシュ内のサーチ処理を行う。
S13: The drawing control unit 5 performs a search process in the cache for the character of the designated RIO.

【0108】S14:描画制御部5は、前記S13のサ
ーチでキャッシュ内に文字は存在したかどうか判断す
る。
S14: The drawing control unit 5 determines whether or not a character exists in the cache in the search in S13.

【0109】S15:前記S13のサーチでキャッシュ
内に文字が存在した場合、RIOパラメタの作成と格納
処理を行う。
S15: If there is a character in the cache in the search in S13, the RIO parameters are created and stored.

【0110】S16:前記S13のサーチでキャッシュ
内に文字が存在しなかった場合、検索対象RIOキャッ
シュを更新し、存在する他のRIOキャッシュを全て検
索するまで繰り返す(指定RIOの文字のキャッシュ内
のサーチ処理)。
S16: If there is no character in the cache in the search in S13, the search target RIO cache is updated and the search is repeated until all the other existing RIO caches are searched (the cache of the character of the specified RIO is read). Search processing).

【0111】S17:描画制御部5は、前記S16のサ
ーチでキャッシュ内に文字は存在したかどうか判断す
る。
S17: The drawing control unit 5 determines whether or not a character exists in the cache in the search in S16.

【0112】S18:描画制御部5は、前記S17の判
断で、キャッシュ内に文字が存在した場合、RIOパラ
メタの作成と格納処理を行う。
S18: If there is a character in the cache in the determination in S17, the drawing control unit 5 creates and stores RIO parameters.

【0113】S19:描画制御部5は、キャッシュ内に
文字が見つからなかった場合、文字作成処理を行い、指
定RIOの文字のキャッシュへの登録処理を行い(キャ
ッシュの空きが無い場合は空くまで待つ)、RIOパラ
メタの作成と格納処理を行う。
S19: If no character is found in the cache, the drawing control unit 5 performs a character creation process, registers the character of the designated RIO in the cache (if there is no free space in the cache, waits until it becomes free). ), And performs processing for creating and storing RIO parameters.

【0114】S20:描画制御部5は、ページ完成コマ
ンドにより、指定RIOの起動を行う。
S20: The drawing control unit 5 activates the designated RIO by the page completion command.

【0115】S21:RIO終了割り込みハンドラは、
ハード(DMAコントローラ、RIO等)の正常終了を
確認して終了したRIO番号を印刷制御部(印刷順制御
部6)に通知する。
S21: The RIO end interrupt handler is
The normal completion of the hardware (DMA controller, RIO, etc.) is confirmed, and the completed RIO number is notified to the print control unit (print order control unit 6).

【0116】(6):文字キャッシュ管理単位を1RI
Oに対し複数個作成する場合の説明 RIO単位に存在する文字キャッシュ管理単位を1RI
Oに対し複数個作成し(この作成した文字キャッシュ管
理単位を小文字管理単位と命名する。)、1つの小文字
管理単位がフルになった時点で1ページ分が終了する前
にRIOを起動する(なお、RIOが終了するまでRI
O起動時に参照可のキャッシュは解放できない)。描画
制御部5は、引き続き文字処理を継続し、新しい文字の
追加を行う場合は、次の小文字単位に対して行う。
(6): Character cache management unit is 1RI
Explanation when creating a plurality of characters for O. One character cache management unit existing in RIO unit is 1RI.
A plurality of Os are created (the created character cache management unit is referred to as a lowercase management unit). When one lowercase management unit becomes full, the RIO is started before one page is completed ( It should be noted that until the RIO ends, the RI
The cache that can be referenced cannot be released at the time of O startup). The drawing control unit 5 continues the character processing and adds a new character to the next lower case unit.

【0117】この動作を続けて、文字処理とRIOの並
行動作を保つ(小文字管理単位に空きがある間続け
る)。
By continuing this operation, the parallel operation of character processing and RIO is maintained (continued while there is a space in the lowercase management unit).

【0118】このように、RIOを1ページ分の文字処
理が終了する前に起動するため、RIO終了による空き
領域(小文字管理単位)の解放を早く行うことが可能で
ある。また、次の小文字管理単位がフルになるまでRI
O動作中に文字処理を並行して行うことができるので、
性能上有利(RIO動作が早く終わるデータの場合は特
に有利)となる。
As described above, since the RIO is started before the character processing for one page is completed, the free area (lower case management unit) can be quickly released upon completion of the RIO. Also, RI until the next lower case management unit becomes full.
Since character processing can be performed in parallel during O operation,
This is advantageous in performance (particularly advantageous in the case of data where the RIO operation ends early).

【0119】(小文字管理単位の説明)図7は小文字管
理単位の説明図である。図7において、1つのハッシュ
テーブル及びキャッシュ管理テーブルには、4個の小文
字管理単位〜が作成されている。これにより、文字
格納テーブルも4個の格納領域が対応することになる。
(Explanation of Lower Case Management Unit) FIG. 7 is an explanatory diagram of a lower case management unit. In FIG. 7, four lowercase management units are created in one hash table and cache management table. As a result, the character storage table also corresponds to the four storage areas.

【0120】例えば、小文字管理単位がフルになった
時点でRIOを起動(又は起動予約)する。この起動
(又は起動予約)により、次に空きとなる小文字管理単
位はRIOパラメタの作成には使用できない。即ち、キ
ャッシュとして参照できる小文字管理単位は1つ減るこ
とになる(例えば、小文字管理単位が使用できな
い)。
For example, the RIO is activated (or reserved for activation) when the lower case management unit becomes full. Due to this start (or start reservation), the lower-case management unit that becomes the next free space cannot be used for creating the RIO parameter. That is, the lowercase management unit that can be referred to as a cache is reduced by one (for example, the lowercase management unit cannot be used).

【0121】(動作手順) (1) コマンド制御部4は、ホスト1からnページ目の文
字描画依頼を受ける(RIO1とする)。
(Operation Procedure) (1) The command control unit 4 receives a character drawing request for the nth page from the host 1 (referred to as RIO1).

【0122】(2) 文字処理部20のキャッシュ管理部
(1次)21は、文字をRIO1キャッシュ管理テーブ
ル54からサーチし、ヒットした時は、RIOパラメタ
作成部31でRIOパラメタ作成を行う(文字転送
用)。
(2) The cache management unit (primary) 21 of the character processing unit 20 searches the RIO1 cache management table 54 for a character, and when a hit is found, the RIO parameter creation unit 31 creates an RIO parameter (character) Transfer).

【0123】(3) 文字が無く他の小文字管理単位にも空
きが存在しない(小文字管理単位がフルになった)場
合、RIO制御部30は、既に蓄えられたRIOパラメ
タをRIO1に転送してRIO1を起動する。但し、既
にRIO1が動作中の場合は起動予約を行う。この時、
キャッシュとして参照できる小文字管理単位はRIO起
動(又は起動予約)により1つ減ることになる。
(3) If there is no character and there is no space in other lower case management units (the lower case management unit becomes full), the RIO control unit 30 transfers the already stored RIO parameters to the RIO 1 Activate RIO1. However, if the RIO1 is already operating, a start-up reservation is made. At this time,
The lowercase management unit that can be referred to as a cache is reduced by one by RIO activation (or activation reservation).

【0124】(4) キャッシュ管理部21は、RIO1キ
ャッシュ管理テーブル54に文字が無い場合、文字作成
部22を起動して文字を作成し、空いている小文字管理
単位にキャッシュ登録とRIOパラメタ作成部31によ
るRIOパラメタの作成をする。
(4) When there is no character in the RIO1 cache management table 54, the cache management unit 21 activates the character creation unit 22 to create a character, and registers the cache in the vacant lowercase management unit and the RIO parameter creation unit. Then, the RIO parameters are created in step 31.

【0125】(4)+空いている小文字管理単位が無い場合
は、RIO1が終了するまで待つ。
(4) If there is no vacant lower case management unit, wait until RIO1 ends.

【0126】(5) 空き小文字管理単位がある間、上記
(2) 〜(4)+を1ページ分繰り返す。
(5) While there is a free lower case management unit,
(2) to (4) + are repeated for one page.

【0127】(6) コマンド制御部4は、ホスト1からn
+1ページ目の文字描画依頼を受ける(RIO2とす
る)。
(6) The command control unit 4 sends n
A character drawing request for the + 1st page is received (referred to as RIO2).

【0128】(7) 文字処理部20のキャッシュ管理部2
1は、文字をRIO2キャッシュ管理テーブル55から
サーチし、ヒットした時は、RIOパラメタ作成部31
でRIOパラメタ作成を行う(文字転送用)。
(7) Cache management unit 2 of character processing unit 20
1 searches for a character from the RIO2 cache management table 55, and when a character is hit,
To create RIO parameters (for character transfer).

【0129】(8) RIO1の動作終了、印刷へ(BMM
16データのメカ3へのDMA転送)。
(8) End of RIO1 operation, go to printing (BMM
DMA transfer of 16 data to mechanism 3).

【0130】以下、同じ処理を継続する。Hereinafter, the same processing is continued.

【0131】(流れ図による説明)図8は小文字管理単
位を利用する処理の流れ図(1)、図9は小文字管理単
位を利用する処理の流れ図(2)である。以下、図8、
図9の処理S31〜処理S45に従って説明する。
(Explanation by Flow Chart) FIG. 8 is a flowchart (1) of a process using a lower case management unit, and FIG. 9 is a flow chart (2) of a process using a lower case management unit. Hereinafter, FIG.
A description will be given according to the processing S31 to the processing S45 in FIG.

【0132】S31:描画制御部5は、ホスト1からの
コマンド受信待ちを行う。
S31: The drawing control unit 5 waits for a command from the host 1.

【0133】S32:描画制御部5は、ホスト1から文
字描画コマンドを受け、文字描画依頼の解析を行う(R
IO選択指定あり)。
S32: The drawing control unit 5 receives a character drawing command from the host 1 and analyzes a character drawing request (R
(IO selection is specified).

【0134】S33:描画制御部5は、指定RIOの文
字のキャッシュ内のサーチ処理を行う。
S33: The drawing control unit 5 performs a search process in the cache of the character of the designated RIO.

【0135】S34:描画制御部5は、前記S33のサ
ーチでキャッシュ内に文字は存在したかどうか判断す
る。
S34: The drawing control section 5 determines whether or not a character exists in the cache in the search in S33.

【0136】S35:前記S33のサーチでキャッシュ
内に文字が存在した場合、RIOパラメタの作成と格納
処理を行う。
S35: If there is a character in the cache in the search in S33, the RIO parameters are created and stored.

【0137】S36:前記S33のサーチでキャッシュ
内に文字が存在しなかった場合、検索対象RIOキャッ
シュを更新し、存在する他のRIOキャッシュを全て検
索するまで繰り返す(指定RIOの文字のキャッシュ内
のサーチ処理)。
S36: If there is no character in the cache in the search in S33, the RIO cache to be searched is updated and the process is repeated until all other existing RIO caches are searched (in the cache of characters of the specified RIO). Search processing).

【0138】S37:描画制御部5は、前記S36のサ
ーチでキャッシュ内に文字は存在したかどうか判断す
る。
S37: The drawing control unit 5 determines whether or not a character exists in the cache in the search in S36.

【0139】S38:描画制御部5は、前記S37の判
断で、キャッシュ内に文字が存在した場合、RIOパラ
メタの作成と格納処理を行う。
S38: If a character exists in the cache in the judgment of S37, the drawing control unit 5 performs the processing of creating and storing the RIO parameter.

【0140】S39:描画制御部5は、キャッシュ内に
文字が見つからなかった場合、小文字管理単位内に空き
があるかどうか判断する。
S39: If no character is found in the cache, the drawing control unit 5 determines whether or not there is a free space in the lowercase management unit.

【0141】S40:描画制御部5は、前記S39の判
断で小文字管理単位内に空きがある場合、文字作成処理
を行い、指定RIOの文字のキャッシュへの登録処理を
行い、RIOパラメタの作成と格納処理を行う。
S40: If there is a space in the lowercase management unit in the judgment in S39, the drawing control unit 5 performs a character creation process, performs a registration process of the designated RIO character in the cache, and creates the RIO parameter. Perform storage processing.

【0142】S41:描画制御部5は、前記S39の判
断で小文字管理単位内に空きがない場合、指定RIOを
起動する(現在まで溜まっているRIOパラメタを転送
する。もしRIOが動作中ならば動作依頼を行う)。
S41: The drawing controller 5 activates the designated RIO if there is no free space in the small letter management unit in the judgment of S39 (transfers the accumulated RIO parameters up to now. If the RIO is in operation, Request operation).

【0143】S42:描画制御部5は、空き小文字管理
単位があるかどうか判断し、ない場合はRIO起動終了
を待ち、RIO終了後、次に空きに予定している小文字
管理単位を空きにする。
S42: The drawing control unit 5 determines whether there is a free lower case management unit, and if there is no free lower case management unit, waits for the end of RIO startup. .

【0144】S43:描画制御部5は、小文字管理単位
を使用中(次に文字格納予定の小文字管理単位を格納予
約)にし、文字作成処理を行い、指定RIOの文字のキ
ャッシュへの登録処理を行い、RIOパラメタの作成と
格納処理を行う。
S43: The drawing control unit 5 sets the lowercase management unit in use (nextly, reserves the lowercase management unit scheduled to store the character), performs character creation processing, and registers the designated RIO character in the cache. Then, the RIO parameters are created and stored.

【0145】S44:描画制御部5は、ページ完成コマ
ンドにより、指定RIOの起動を行う。
S44: The drawing control unit 5 activates the designated RIO in response to the page completion command.

【0146】S45:RIO終了割り込みハンドラは、
ハードの正常終了を確認して終了したRIO番号を印刷
制御部(印刷順制御部6)に通知する。
S45: The RIO end interrupt handler is
After confirming the normal termination of the hardware, the RIO number that has been terminated is notified to the print control unit (print order control unit 6).

【0147】(文字キャッシュの動作説明)図8の右
(a) 〜(e) は文字キャッシュの動作説明であり、以下
(a) 〜(e) に従って説明する。
(Explanation of Character Cache Operation) Right of FIG.
(a) to (e) are explanations of character cache operation.
Explanation will be given according to (a) to (e).

【0148】(a) 1番目(上から)の小文字管理単位が
使用されており、RIOパラメタは使用中の3つの小文
字管理単位を使用して作成する。
(A) The first (from the top) lower case management unit is used, and the RIO parameter is created using the three lower case management units in use.

【0149】(b) 1番目がフルになったのでRIOを起
動する。
(B) Since the first is full, the RIO is started.

【0150】(c) 2番目の小文字管理単位が使用されて
おり、RIOパラメタは使用中の3つ(1番目、2番
目、4番目)の小文字管理単位を使用して作成する。な
お、3番目の小文字管理単位は仮想空きとして使用しな
い。
(C) The second lower-case management unit is used, and the RIO parameter is created using the three (first, second, and fourth) lower-case management units in use. The third lower-case management unit is not used as a virtual space.

【0151】(d) RIOが終了したら、3番目の小文字
管理単位を空きにする。
(D) When the RIO is completed, the third lower case management unit is made empty.

【0152】(e) 前記(c) で2番目の小文字管理単位が
RIOが終了する前にフルになったらRIOが終了する
まで待つ。
(E) If the second lower-case management unit becomes full before the end of the RIO in (c), wait until the RIO ends.

【0153】(7):RIM上のワーク領域を使用する
場合の説明 RIM上にそれぞれワーク領域64〜66を持ち、文字
格納が各RIM上の文字格納テーブルの小文字管理単位
を超えた時点で、RIOを起動し、新規に必要な文字を
ワーク領域に格納する。ワーク領域なのでRIO動作終
了後は、格納した文字は消滅する。もし、ワーク領域に
入らなくなったらRIOの終了待ちをする。
(7): Description when using a work area on the RIM Work areas 64 to 66 are provided on the RIM, and when the character storage exceeds the lower case management unit of the character storage table on each RIM, Activate RIO and store new required characters in the work area. The stored characters disappear after the RIO operation because they are work areas. If it cannot enter the work area, it waits for the end of the RIO.

【0154】RIOが動作している間、キャッシュ(ハ
ッシュテーブル、キャッシュ管理テーブル、文字格納テ
ーブル)のクリアができないがワーク領域に文字を格納
することで描画処理を止めずに継続できハード(DMA
コントローラ、RIO)との並行動作が可能となる。
While the RIO is in operation, the cache (hash table, cache management table, character storage table) cannot be cleared, but the drawing process can be continued without stopping by storing the characters in the work area.
Controller, RIO).

【0155】(動作手順) (1) コマンド制御部4は、ホスト1からnページ目の文
字描画依頼を受ける(RIO1とする)。
(Operation Procedure) (1) The command control section 4 receives a character drawing request for the nth page from the host 1 (referred to as RIO1).

【0156】(2) 文字処理部20のキャッシュ管理部
(1次)21は、文字をRIO1キャッシュ管理テーブ
ル54からサーチし、ヒットした時は、RIOパラメタ
作成部31でRIOパラメタ作成を行う(文字転送
用)。
(2) The cache management unit (primary) 21 of the character processing unit 20 searches the RIO1 cache management table 54 for a character, and when a hit is found, the RIO parameter creation unit 31 creates an RIO parameter (character) Transfer).

【0157】(3) 文字が無く他の小文字管理単位にも空
きが存在しない(小文字管理単位がフルになった)場
合、RIO制御部30は、既に蓄えられたRIOパラメ
タをRIO1に転送してRIO1を起動し、RIM13
のワーク領域64上に作成した文字を格納する。
(3) If there is no character and there is no free space in other lower case management units (the lower case management unit becomes full), the RIO control unit 30 transfers the already stored RIO parameters to the RIO 1 Start RIO1 and RIM13
The created character is stored in the work area 64.

【0158】(3)+文字が無く他の小文字管理単位にも空
きが存在せず(小文字管理単位がフル)、空きのワーク
領域64も無い場合は、RIO1の終了待ちをする。
(3) If there is no + character, there is no free space in the other lower case management units (the lower case management unit is full), and there is no free work area 64, the RIO 1 is waited for completion.

【0159】(4) ワーク領域64に空きがある間、上記
(2) 〜(3)+を1ページ分繰り返す。
(4) While the work area 64 is free,
(2) to (3) + are repeated for one page.

【0160】(5) キャッシュ管理部21は、RIO1の
動作終了でワーク領域64をクリアする。
(5) The cache management section 21 clears the work area 64 at the end of the operation of the RIO1.

【0161】(6) コマンド制御部4は、ホスト1からn
+1ページ目の文字描画依頼を受ける(RIO2とす
る)。
(6) The command control unit 4 sends n
A character drawing request for the + 1st page is received (referred to as RIO2).

【0162】以下、同じ処理を継続する。Hereinafter, the same processing is continued.

【0163】(流れ図による説明)図10はワーク領域
を使用する場合の処理の流れ図(1)、図11はワーク
領域を使用する場合の処理の流れ図(2)である。以
下、図10、図11の処理S51〜処理S66に従って
説明する。
(Explanation by Flow Chart) FIG. 10 is a flowchart (1) of a process when a work area is used, and FIG. 11 is a flowchart (2) of a process when a work area is used. Hereinafter, description will be given according to the processing S51 to the processing S66 of FIGS.

【0164】S51:描画制御部5は、ホスト1からの
コマンド受信待ちを行う。
S51: The drawing control unit 5 waits for a command from the host 1.

【0165】S52:描画制御部5は、ホスト1から文
字描画コマンドを受け、文字描画依頼の解析を行う(R
IO選択指定あり)。
S52: The drawing control unit 5 receives a character drawing command from the host 1 and analyzes a character drawing request (R
(IO selection is specified).

【0166】S53:描画制御部5は、指定RIOの文
字のキャッシュ内のサーチ処理を行う。
S53: The drawing control unit 5 performs a search process in the cache for the character of the designated RIO.

【0167】S54:描画制御部5は、前記S53のサ
ーチでキャッシュ内に文字は存在したかどうか判断す
る。
S54: The drawing control section 5 determines whether or not a character exists in the cache in the search in S53.

【0168】S55:前記S53のサーチでキャッシュ
内に文字が存在した場合、RIOパラメタの作成と格納
処理を行う。
S55: If there is a character in the cache in the search in S53, the RIO parameters are created and stored.

【0169】S56:前記S53のサーチでキャッシュ
内に文字が存在しなかった場合、検索対象RIOキャッ
シュを更新し、存在する他のRIOキャッシュを全て検
索するまで繰り返す(指定RIOの文字のキャッシュ内
のサーチ処理)。
S56: If there is no character in the cache in the search in S53, the RIO cache to be searched is updated and the process is repeated until all other existing RIO caches are searched (in the cache for the character of the specified RIO). Search processing).

【0170】S57:描画制御部5は、前記S56のサ
ーチでキャッシュ内に文字は存在したかどうか判断す
る。
S57: The drawing control section 5 determines whether or not a character exists in the cache in the search in S56.

【0171】S58:描画制御部5は、前記S57の判
断で、キャッシュ内に文字が存在した場合、RIOパラ
メタの作成と格納処理を行う。
S58: If there is a character in the cache in the judgment of S57, the drawing control unit 5 performs the processing of creating and storing the RIO parameter.

【0172】S59:描画制御部5は、キャッシュ内に
文字が見つからなかった場合、小文字管理単位内に空き
があるかどうか判断する。
S59: If no character is found in the cache, the drawing control unit 5 determines whether there is a free space in the lowercase management unit.

【0173】S60:描画制御部5は、前記S59の判
断で小文字管理単位内に空きがある場合、文字作成処理
を行い、指定RIOの文字のキャッシュへの登録処理を
行い、RIOパラメタの作成と格納処理を行う。
S60: If it is determined in S59 that there is a space in the lowercase management unit, the drawing control unit 5 performs a character creation process, performs a registration process of the designated RIO character in the cache, and creates the RIO parameter. Perform storage processing.

【0174】S61:描画制御部5は、前記S59の判
断で小文字管理単位内に空きがない場合、RIO起動が
まだである時、指定RIOを起動する(現在まで溜まっ
ているRIOパラメタを転送する。もしRIOが動作中
ならば動作依頼を行う)。
S61: If there is no room in the lowercase management unit in the judgment of S59, the drawing control unit 5 starts the designated RIO if the RIO is not yet started (transfers the RIO parameters accumulated up to now). If the RIO is running, an operation request is made).

【0175】S62:描画制御部5は、ワーク領域に空
き領域があるか判断する。
S62: The drawing control section 5 determines whether there is a free area in the work area.

【0176】S63:描画制御部5は、前記S62の判
断で、ワーク領域に空き領域がない場合、RIOの動作
終了まで待ち、RIO終了後、次に空きに予定している
小文字管理単位を空きにし、該小文字管理単位を使用中
にし、文字作成処理を行い、指定RIOの文字のキャッ
シュへの登録処理を行い、RIOパラメタの作成と格納
処理を行う。
S63: If there is no free space in the work area in the judgment of S62, the drawing control unit 5 waits until the end of the RIO operation, and after the RIO ends, the next lower-case management unit to be vacant becomes free. Then, the lower case management unit is in use, a character creation process is performed, a process of registering the designated RIO character in the cache is performed, and a process of creating and storing the RIO parameter is performed.

【0177】S64:描画制御部5は、前記S62の判
断で、ワーク領域に空き領域がある場合、ワーク領域上
に領域を確保し、文字作成処理を行い、ワーク領域に文
字を格納し、RIOパラメタの作成と格納処理を行う。
S64: If it is determined in S62 that there is a free area in the work area, the drawing control section 5 secures an area in the work area, performs character creation processing, stores the character in the work area, and stores the RIO. Create and store parameters.

【0178】S65:描画制御部5は、ページ完成コマ
ンドにより、指定RIOの起動を行う。
S65: The drawing control unit 5 activates the designated RIO by a page completion command.

【0179】S66:RIO終了割り込みハンドラは、
ハードの正常終了を確認し、終了したRIO番号を印刷
制御部(印刷順制御部6)に通知し、使用したワーク領
域を解放する。
S66: The RIO end interrupt handler is
After confirming the normal end of the hardware, the print control unit (print order control unit 6) is notified of the finished RIO number, and the used work area is released.

【0180】(文字キャッシュの動作説明)図10の右
(a) 〜(e) はワーク領域を使用する文字キャッシュの動
作説明であり、以下(a) 〜(e) に従って説明する。
(Explanation of Character Cache Operation) Right in FIG.
(a) to (e) are explanations of the operation of the character cache using the work area, which will be described below in accordance with (a) to (e).

【0181】(a) 1番目(上から)の小文字管理単位が
使用されており、RIOパラメタは使用中の4つの小文
字管理単位(1番目〜4番目)を使用して作成する。
(A) The first (from the top) lower case management unit is used, and the RIO parameter is created using the four lower case management units in use (first to fourth).

【0182】(b) 1番目がフルになったのでRIOを起
動する。
(B) Since the first is full, the RIO is started.

【0183】(c) 文字作成処理を行った文字をワーク領
域に格納する。RIOパラメタは使用中の3つ(1番
目、3番目、4番目)の小文字管理単位とワーク領域を
使用して作成する。なお、2番目の小文字管理単位は仮
想空きとして使用しない。
(C) Store the character subjected to the character creation processing in the work area. The RIO parameter is created using the three (first, third, and fourth) lowercase management units and the work area in use. Note that the second lower case management unit is not used as a virtual space.

【0184】(d) RIOが終了したら、2番目の小文字
管理単位を空きにする。
(D) When the RIO is completed, the second lower case management unit is vacated.

【0185】(e) 前記(c) でワーク領域が、RIOが終
了する前にフルになったらRIOが終了するまで待つ。
(E) If the work area becomes full before the end of the RIO in (c), wait until the RIO ends.

【0186】(8):2次キャッシュを設ける場合の説
明 各RIO共通の2次キャッシュを描画制御部5に用意し
て、RIO毎の1次キャッシュは2次キャッシュから文
字をコピーする方式とする。これにより各ページ共通に
使用する文字の再作成を防ぎ、文字処理時間を短縮する
効果がある。
(8) Description of Provision of Secondary Cache A secondary cache common to each RIO is provided in the drawing control unit 5, and the primary cache for each RIO is a system in which characters are copied from the secondary cache. . This has the effect of preventing the re-creation of characters used commonly for each page and reducing the character processing time.

【0187】(動作手順) (1) コマンド制御部4は、ホスト1からnページ目の文
字描画依頼を受ける(RIO1とする)。
(Operation Procedure) (1) The command control unit 4 receives a character drawing request for the nth page from the host 1 (referred to as RIO1).

【0188】(2) 文字処理部20のキャッシュ管理部
(1次)21は、文字をRIO1キャッシュ管理テーブ
ル54(1次キャッシュ)からサーチし、ヒットした時
は、RIOパラメタ作成部31でRIOパラメタの作成
を行う(文字転送用)。
(2) The cache management unit (primary) 21 of the character processing unit 20 searches for a character from the RIO1 cache management table 54 (primary cache). Create (for character transfer).

【0189】(3) 文字が無い場合、2次キャッシュ(2
次キャッシュキャッシュ管理テーブル58)をサーチす
る。このサーチでヒットした時は1次キャッシュに文字
を登録(コピー)する。
(3) If there is no character, the secondary cache (2
The next cache cache management table 58) is searched. When a hit is found in this search, the character is registered (copied) in the primary cache.

【0190】(3)+文字が無い場合、2次キャッシュをサ
ーチするが、ヒットしない場合は、文字を作成して2次
キャッシュに文字を登録し、1次キャッシュに同じ文字
を登録(コピー)する。この2次キャッシュからのコピ
ー(MPUによる描画制御部5から)は、ハード間(1
次キャッシュ間)のコピーより高速で行うことができ
る。
(3) If there is no + character, the secondary cache is searched. If no hit is found, a character is created, the character is registered in the secondary cache, and the same character is registered in the primary cache (copy). I do. The copy from the secondary cache (from the drawing control unit 5 by the MPU) is performed between hardware (1
This can be performed at a higher speed than copying between the next caches.

【0191】(4) 上記(2) 〜(3)+を1ページ分繰り返
す。
(4) The above (2) to (3) + are repeated for one page.

【0192】(5) RIO制御部30は、RIO1の起動
を行う(DMAコントローラ7にRIOパラメタのDM
A開始依頼を行う)。
(5) The RIO control unit 30 activates the RIO1 (the RIO parameter DMO is transmitted to the DMA controller 7).
A start request).

【0193】(6) コマンド制御部4は、ホスト1からn
+1ページ目の文字描画依頼を受ける(RIO2とす
る)。
(6) The command control unit 4 sends n
A character drawing request for the + 1st page is received (referred to as RIO2).

【0194】以下、同じ処理を継続する。Hereinafter, the same processing is continued.

【0195】(流れ図による説明)図12は2次キャッ
シュを設ける場合の処理の流れ図(1)、図13は2次
キャッシュを設ける場合の処理の流れ図(2)である。
以下、図12、図13の処理S71〜処理S88に従っ
て説明する。
(Explanation by Flowchart) FIG. 12 is a flowchart (1) of a process when a secondary cache is provided, and FIG. 13 is a flowchart (2) of a process when a secondary cache is provided.
Hereinafter, description will be given according to the processing S71 to the processing S88 in FIGS.

【0196】S71:描画制御部5は、ホスト1からの
コマンド受信待ちを行う。
S71: The drawing control unit 5 waits for a command from the host 1.

【0197】S72:描画制御部5は、ホスト1から文
字描画コマンドを受け、文字描画依頼の解析を行う(R
IO選択指定あり)。
S72: The drawing control unit 5 receives a character drawing command from the host 1 and analyzes a character drawing request (R
(IO selection is specified).

【0198】S73:描画制御部5は、指定RIOの文
字のキャッシュ内のサーチ処理を行う。
S73: The drawing control unit 5 performs a search process in the cache of the character of the designated RIO.

【0199】S74:描画制御部5は、前記S73のサ
ーチでキャッシュ内に文字は存在したかどうか判断す
る。
S74: The drawing control unit 5 determines whether or not a character exists in the cache in the search in S73.

【0200】S75:前記S73のサーチでキャッシュ
内に文字が存在した場合、RIOパラメタの作成と格納
処理を行う。
S75: If there is a character in the cache in the search in S73, the RIO parameters are created and stored.

【0201】S76:前記S73のサーチでキャッシュ
内に文字が存在しなかった場合、指定RIOの文字の2
次キャッシュ内のサーチ処理を行う。
S76: If no character exists in the cache in the search in S73, the character 2 of the designated RIO
Perform search processing in the next cache.

【0202】S77:描画制御部5は、前記S76のサ
ーチで2次キャッシュ内に文字は存在したかどうか判断
する。
S77: The drawing control section 5 determines whether or not a character exists in the secondary cache in the search in S76.

【0203】S78:描画制御部5は、前記S77の判
断で、2次キャッシュ内に文字が見つからなかった場
合、2次キャッシュ内に空きがあるか判断し、空きがあ
る時、文字作成処理を行い、指定RIOの文字の2次キ
ャッシュへの登録処理を行う。
S78: If no character is found in the secondary cache in the determination in S77, the drawing control unit 5 determines whether there is a free space in the secondary cache. Then, a process of registering the character of the designated RIO in the secondary cache is performed.

【0204】S79:描画制御部5は、前記S77の判
断で、2次キャッシュ内に文字が見つからなかった場合
で2次キャッシュ内に空きがなく、2次キャッシュフル
後にRIOが未起動の場合、指定RIOを起動する(現
在まで溜まっているRIOパラメタを転送する。もしR
IOが動作中ならば動作依頼を行う)。
S79: If the character is not found in the secondary cache in the judgment of S77, the drawing control unit 5 determines that there is no free space in the secondary cache and the RIO is not activated after the secondary cache is full. Activate the specified RIO (transfer the accumulated RIO parameters up to now.
If the IO is operating, an operation request is made).

【0205】S80:描画制御部5は、RIO起動終了
まで待ち、次に空きに予定している2次キャッシュの小
文字管理単位を空きにし、該2次キャッシュの小文字管
理単位を使用中にし、文字作成処理を行い、指定RIO
の文字の2次キャッシュへの登録処理を行う。
S80: The drawing control unit 5 waits until the start of the RIO, makes the lower-case management unit of the secondary cache which is supposed to be free next empty, sets the lower-case management unit of the secondary cache in use, and sets Perform the creation process and specify the RIO
Is registered in the secondary cache.

【0206】S81:描画制御部5は、小文字管理単位
(1次キャッシュ)に空きがあるかどうか判断する。
S81: The drawing control section 5 determines whether or not there is a free space in the lower case management unit (primary cache).

【0207】S82:描画制御部5は、前記S81の判
断で小文字管理単位内に空きがある場合、指定RIOの
文字のキャッシュ(1次キャッシュ)への登録処理を行
い、RIOパラメタの作成と格納処理を行う。
S82: If there is a space in the lowercase management unit in the judgment of S81, the drawing control unit 5 performs a process of registering the designated RIO character in the cache (primary cache), and creates and stores the RIO parameters. Perform processing.

【0208】S83:描画制御部5は、前記S81の判
断で小文字管理単位内に空きがない場合、小文字管理単
位フル後にRIO起動が未起動の時、指定RIOを起動
する(現在まで溜まっているRIOパラメタを転送す
る。もしRIOが動作中ならば動作依頼を行う)。
S83: If there is no free space in the lowercase management unit in the judgment of S81, if the RIO activation has not been started after the lowercase management unit is full, the drawing controller 5 activates the designated RIO (remaining until now). The RIO parameter is transferred, and if the RIO is operating, an operation request is made).

【0209】S84:描画制御部5は、ワーク領域に空
き領域があるか判断する。
S84: The drawing control section 5 determines whether there is a free area in the work area.

【0210】S85:描画制御部5は、前記S84の判
断で、ワーク領域に空き領域がない場合、RIOの動作
終了まで待ち、RIO終了後、次に空きに予定している
小文字管理単位を空きにし、該小文字管理単位を使用中
にし、指定RIOの文字のワーク領域への登録処理を行
い、RIOパラメタの作成と格納処理を行う。
S85: If there is no free space in the work area in the judgment of S84, the drawing control unit 5 waits until the operation of the RIO is completed, and after the RIO is completed, the next lower-case management unit scheduled to be free becomes free. Then, the lower-case management unit is in use, the process of registering the character of the designated RIO in the work area, and the process of creating and storing the RIO parameter are performed.

【0211】S86:描画制御部5は、前記S84の判
断で、ワーク領域に空き領域がある場合、ワーク領域上
に領域を確保し、ワーク領域に文字を格納し、RIOパ
ラメタの作成と格納処理を行う。
S86: If it is determined in S84 that there is a free area in the work area, the drawing control unit 5 secures an area in the work area, stores characters in the work area, and creates and stores the RIO parameters. I do.

【0212】S87:描画制御部5は、ページ完成コマ
ンドにより、指定RIOの起動を行う。
S87: The drawing control section 5 activates the designated RIO by a page completion command.

【0213】S88:RIO終了割り込みハンドラは、
ハードの正常終了を確認し、終了したRIO番号を印刷
制御部(印刷順制御部6)に通知し、使用したワーク領
域を解放する。
S88: The RIO end interrupt handler is
After confirming the normal end of the hardware, the print control unit (print order control unit 6) is notified of the finished RIO number, and the used work area is released.

【0214】(9):2次キャッシュと各1次キャッシ
ュをサーチする場合の説明 各RIO共通の2次キャッシュを描画制御部5に用意し
て、2次キャッシュをサーチしてヒットしなかった場
合、各RIOの1次キャッシュをサーチしてヒットした
ら2次キャッシュに登録し、そして、本来必要なRIO
の1次キャッシュに登録する。このように出来るだけコ
ピーをし文字作成を少なくして文字処理時間を短縮す
る。
(9): Description of Searching Secondary Cache and Each Primary Cache When a secondary cache common to each RIO is prepared in the drawing control unit 5 and the secondary cache is searched and no hit is found When the primary cache of each RIO is searched and hit, it is registered in the secondary cache, and the RIO originally required
Is registered in the primary cache. In this way, copying is performed as much as possible to reduce the number of character creations, thereby shortening the character processing time.

【0215】(動作手順) (1) コマンド制御部4は、ホスト1からnページ目の文
字描画依頼を受ける(RIO1とする)。
(Operation Procedure) (1) The command control section 4 receives a character drawing request for the nth page from the host 1 (referred to as RIO1).

【0216】(2) 文字処理部20のキャッシュ管理部
(1次)21は、文字をRIO1キャッシュ管理テーブ
ル54(1次キャッシュ)からサーチし、ヒットした時
は、RIOパラメタ作成部31でRIOパラメタの作成
を行う(文字転送用)。
(2) The cache management unit (primary) 21 of the character processing unit 20 searches for a character from the RIO1 cache management table 54 (primary cache). Create (for character transfer).

【0217】(3) 文字が無い場合、2次キャッシュ(2
次キャッシュキャッシュ管理テーブル58)をサーチす
る。このサーチでヒットした時は1次キャッシュに文字
を登録(コピー)する。
(3) If there is no character, the secondary cache (2
The next cache cache management table 58) is searched. When a hit is found in this search, the character is registered (copied) in the primary cache.

【0218】(3)+文字が無い場合、2次キャッシュをサ
ーチするが、ヒットしない場合は各RIO(RIO2、
3)の1次キャッシュをサーチする。このサーチでヒッ
トした場合は2次キャッシュに文字を登録し、本来必要
なRIO1の1次キャッシュに登録する。
(3) If there is no + character, the secondary cache is searched. If no hit is found, each RIO (RIO2, RIO2,
3) Search the primary cache. If a hit is found in this search, the character is registered in the secondary cache and registered in the primary cache of RIO1 which is originally required.

【0219】(3)++ 文字が無い場合、2次キャッシュを
サーチするが、ヒットしない場合は各RIO(RIO
2、3)の1次キャッシュをサーチする。このサーチで
ヒットしない場合は、文字を作成し、2次キャッシュに
文字を登録し、RIO1の1次キャッシュにも同じ文字
を登録する。
(3) If there are no ++ characters, the secondary cache is searched. If no hit is found, each RIO (RIO
The primary cache of (2) and (3) is searched. If no hit is found in this search, a character is created, the character is registered in the secondary cache, and the same character is registered in the primary cache of RIO1.

【0220】(4) 上記(2) 〜(3)++ を1ページ分繰り返
す。
(4) The above (2) to (3) ++ are repeated for one page.

【0221】(5) RIO制御部30は、RIO1の起動
を行う(DMAコントローラ7にRIOパラメタのDM
A開始依頼を行う)。
(5) The RIO control unit 30 activates the RIO 1 (the RIO parameter DM
A start request).

【0222】(6) コマンド制御部4は、ホスト1からn
+1ページ目の文字描画依頼を受ける(RIO2とす
る)。
(6) The command control unit 4 sends n
A character drawing request for the + 1st page is received (referred to as RIO2).

【0223】以下、同じ処理を継続する。Hereinafter, the same processing is continued.

【0224】(流れ図による説明)図14は2次キャッ
シュと各1次キャッシュをサーチする処理の流れ図
(1)、図15は2次キャッシュと各1次キャッシュを
サーチする処理の流れ図(2)、図16は2次キャッシ
ュと各1次キャッシュをサーチする処理の流れ図(3)
である。以下、図14〜図16の処理S91〜処理S1
11に従って説明する。
(Explanation based on flowchart) FIG. 14 is a flowchart (1) of a process for searching the secondary cache and each primary cache, and FIG. 15 is a flowchart (2) of a process for searching the secondary cache and each primary cache. FIG. 16 is a flowchart (3) of a process for searching the secondary cache and each primary cache.
It is. Hereinafter, processing S91 to processing S1 in FIGS.
This will be described according to 11.

【0225】S91:描画制御部5は、ホスト1からの
コマンド受信待ちを行う。
S91: The drawing control unit 5 waits for a command from the host 1.

【0226】S92:描画制御部5は、ホスト1から文
字描画コマンドを受け、文字描画依頼の解析を行う(R
IO選択指定あり)。
S92: The drawing control unit 5 receives a character drawing command from the host 1 and analyzes a character drawing request (R
(IO selection is specified).

【0227】S93:描画制御部5は、指定RIOの文
字のキャッシュ(1次キャッシュ)内のサーチ処理を行
う。
S93: The drawing control unit 5 performs a search process in the cache (primary cache) of the character of the designated RIO.

【0228】S94:描画制御部5は、前記S93のサ
ーチでキャッシュ内に文字は存在したかどうか判断す
る。
S94: The drawing control section 5 determines whether or not a character exists in the cache in the search in S93.

【0229】S95:前記S93のサーチでキャッシュ
内に文字が存在した場合、RIOパラメタの作成と格納
処理を行う。
S95: If there is a character in the cache in the search in S93, RIO parameters are created and stored.

【0230】S96:前記S93のサーチでキャッシュ
内に文字が存在しなかった場合、指定RIOの文字の2
次キャッシュ内のサーチ処理を行う。
S96: If no character exists in the cache in the search in S93, the character 2 of the designated RIO
Perform search processing in the next cache.

【0231】S97:描画制御部5は、前記S96のサ
ーチで2次キャッシュ内に文字が見つかったかどうか判
断する。
S97: The drawing control section 5 determines whether or not a character has been found in the secondary cache in the search in S96.

【0232】S98:描画制御部5は、前記S97の判
断で、2次キャッシュ内に文字が見つからなかった場
合、検索対象RIOキャッシュを更新し、存在する他の
RIOキャッシュ(1次キャッシュ)を全て検索するま
で繰り返す(RIOの文字のキャッシュ内のサーチ処
理)。
S98: If no character is found in the secondary cache in the judgment in S97, the drawing control unit 5 updates the RIO cache to be searched and deletes all other existing RIO caches (primary cache). Repeat until searching (search process in RIO character cache).

【0233】S99:描画制御部5は、前記S98のサ
ーチで文字が存在した場合は次の処理に移る。
S99: If there is a character in the search in S98, the drawing control section 5 proceeds to the next process.

【0234】S100:描画制御部5は、2次キャッシ
ュ内に空きがあるか判断する。
S100: The drawing control unit 5 determines whether there is a free space in the secondary cache.

【0235】S101:描画制御部5は、前記S100
の判断で2次キャッシュ内に空きがある場合(文字が見
つかっていない時は文字作成処理を行う)、文字の2次
キャッシュへの登録処理を行う。
S101: The drawing control unit 5 executes the processing in S100
If it is determined that there is a free space in the secondary cache (if no character is found, a character creation process is performed), a process of registering the character in the secondary cache is performed.

【0236】S102:描画制御部5は、前記S100
の判断で2次キャッシュ内に空きがない場合、2次キャ
ッシュフル後にRIOが未起動の場合、指定RIOを起
動する(現在まで溜まっているRIOパラメタを転送す
る。もしRIOが動作中ならば動作依頼を行なう)。
S102: The drawing control section 5 executes the processing in S100
If there is no free space in the secondary cache, if the RIO is not activated after the secondary cache is full, the designated RIO is activated (the RIO parameters accumulated up to now are transferred. Request).

【0237】S103:描画制御部5は、RIO起動終
了まで待ち、次に空きに予定している2次キャッシュの
小文字管理単位を空きにし、該小文字管理単位を使用中
にし(文字が見つかっていない時は文字作成処理を行
う)、文字の2次キャッシュへの登録処理を行う。
S103: The drawing control unit 5 waits until the end of the RIO activation, makes the lower-case management unit of the secondary cache that is supposed to be free next empty, sets the lower-case management unit in use, and sets the lower-case management unit in use (no character is found). At this time, a character creation process is performed), and a process of registering the character in the secondary cache is performed.

【0238】S104:描画制御部5は、小文字管理単
位に空きがあるかどうか判断する。
S104: The drawing control section 5 determines whether or not there is a free space in the small letter management unit.

【0239】S105:描画制御部5は、前記S104
の判断で小文字管理単位内に空きがある場合、指定RI
Oの文字のキャッシュ(1次キャッシュ)への登録処理
を行い、RIOパラメタの作成と格納処理を行なう。
[0239] S105: The drawing control unit 5 executes the processing in S104.
If there is a space in the lowercase management unit according to the judgment, the specified RI
The process of registering the O character in the cache (primary cache) is performed, and the process of creating and storing the RIO parameters is performed.

【0240】S106:描画制御部5は、前記S104
の判断で小文字管理単位内に空きがない場合、小文字管
理単位フル後にRIO起動が未起動の時、指定RIOを
起動する(現在まで溜まっているRIOパラメタを転送
する。もしRIOが動作中ならば動作依頼を行なう)。
S106: The drawing control unit 5 executes the processing in S104.
If there is no free space in the lower case management unit, if the RIO activation is not started after the lower case management unit is full, the specified RIO is started (the RIO parameters accumulated up to now are transferred. If the RIO is running Request operation).

【0241】S107:描画制御部5は、ワーク領域に
空き領域があるか判断する。
S107: The drawing control section 5 determines whether there is a free area in the work area.

【0242】S108:描画制御部5は、ワーク領域に
空き領域がない場合、RIOの起動終了まで待ち、RI
O終了後、次に空きに予定している小文字管理単位を空
きにし、該小文字管理単位を使用中にし、指定RIOの
文字のキャッシュへの登録処理を行い、RIOパラメタ
の作成と格納処理を行なう。
S108: If there is no free area in the work area, the drawing control unit 5 waits until the activation of the RIO is completed.
After the completion of O, the lower-case management unit that is supposed to be vacant next becomes vacant, the lower-case management unit is set in use, the process of registering the character of the designated RIO in the cache, and the process of creating and storing the RIO parameter are performed. .

【0243】S109:描画制御部5は、ワーク領域に
空き領域がある場合、ワーク領域上に領域を確保し、ワ
ーク領域に文字を格納し、RIOパラメタの作成と格納
処理を行なう。
S109: If there is a free area in the work area, the drawing control unit 5 secures an area in the work area, stores characters in the work area, and performs RIO parameter creation and storage processing.

【0244】S110:描画制御部5は、ページ完成コ
マンドにより、指定RIOの起動を行う。
S110: The drawing control section 5 activates the designated RIO by a page completion command.

【0245】S111:RIO終了割り込みハンドラ
は、ハードの正常終了を確認し、終了したRIO番号を
印刷制御部(印刷順制御部6)に通知し、使用したワー
ク領域を解放する。
S111: The RIO end interrupt handler confirms the normal end of the hardware, notifies the print control unit (print order control unit 6) of the finished RIO number, and releases the used work area.

【0246】(10):キャッシュに文字を格納する処
理とBMMに配置する処理に同じRIOを使用する場合
の説明 RIOを起動したら終了するまで、使用しているキャッ
シュ(文字が格納されている可能性が有るキャッシュ)
は解放できない。このため、文字をキャッシュに追加す
る場合、キャッシュに空き領域が有れば問題ないが、無
い場合はRIO終了待ち時間が生じる。
(10): Description of the case where the same RIO is used for the process of storing characters in the cache and the process of arranging them in the BMM. Cache)
Cannot be released. For this reason, when adding a character to the cache, there is no problem if there is an empty area in the cache.

【0247】この実施の形態では、キャッシュに文字を
格納する処理とBMMに配置する処理に同じRIOを使
用することと、文字を一時的に格納するワーク領域を使
用することで、キャッシュ上の文字をBMMに転送する
前に新規に登録された文字に上書きされる危険を避け、
ワーク領域が有る間、RIO終了(キャッシュの解放)
待ち無しに文字を登録することで、描画処理とRIOに
よる文字のBMM転送処理を並行して動作可能とする。
In this embodiment, the same RIO is used for the process of storing characters in the cache and the process of arranging them in the BMM, and the use of a work area for temporarily storing characters makes it possible to store the characters To avoid overwriting newly registered characters before transferring them to the BMM,
RIO ends while there is a work area (cache release)
By registering the character without waiting, the drawing process and the BMM transfer process of the character by RIO can be operated in parallel.

【0248】図17はキャッシュに文字を格納する処理
とBMMに配置する処理に同じRIOを使用する場合の
説明図である。図17において、小文字管理単位〜
を持つキャッシュ管理テーブル、前記キャッシュ管理テ
ーブルに対応した文字格納テーブル、ワーク領域、BM
M、RIOパラメタ格納領域が設けてある。
FIG. 17 is an explanatory diagram in the case where the same RIO is used for the process of storing characters in the cache and the process of arranging them in the BMM. In FIG. 17, lower case management unit
Management table having a character, a character storage table corresponding to the cache management table, a work area, and a BM
M and RIO parameter storage areas are provided.

【0249】例えば、新規に文字を登録する場合、小文
字管理単位をRIOによりBMMに転送中、次の小文
字管理単位は使用できないが、キャッシュに空き領域
が無い時、ワーク領域に格納する(例えば文字α)。そ
して、RIOパラメタの作成の時、RIOパラメタ作成
部31は、キャッシュに文字格納領域を獲得し、ワーク
領域に格納した文字をキャッシュに転送するRIOパラ
メタ(例えばRIOパラメタa)を作成し、RIOパラ
メタ格納領域(RIOパラメタバッファ)に格納する。
次に、RIOパラメタ作成部31は、文字をキャッシュ
からBMMに転送するRIOパラメタ(例えばRIOパ
ラメタb)を作成し、RIOパラメタ格納領域に格納す
る。
For example, when newly registering a character, the lower-case management unit cannot be used while the lower-case management unit is being transferred to the BMM by RIO, but if there is no free space in the cache, the lower-case management unit is stored in the work area (for example, α). When creating the RIO parameter, the RIO parameter creation unit 31 acquires a character storage area in the cache, creates an RIO parameter (for example, RIO parameter a) for transferring the character stored in the work area to the cache, and creates an RIO parameter. Store in the storage area (RIO parameter buffer).
Next, the RIO parameter creation unit 31 creates an RIO parameter (for example, RIO parameter b) for transferring a character from the cache to the BMM, and stores it in the RIO parameter storage area.

【0250】これにより、RIOが文字αをBMMに転
送する時、RIOパラメタaによりワーク領域に格納し
た文字αをキャッシュ管理テーブルと文字格納テーブル
に転送し、次に、RIOパラメタbにより文字格納テー
ブルの文字αをBMMに転送することになる。
Thus, when the RIO transfers the character α to the BMM, the character α stored in the work area is transferred to the cache management table and the character storage table by the RIO parameter a, and then the character storage table is transferred by the RIO parameter b. Is transferred to the BMM.

【0251】(動作手順) (1) コマンド制御部4は、ホスト1からnページ目の文
字描画依頼を受ける(RIO1とする)。
(Operation Procedure) (1) The command control unit 4 receives a character drawing request for the nth page from the host 1 (referred to as RIO1).

【0252】(2) 文字処理部20のキャッシュ管理部
(1次)21は、文字をRIO1キャッシュ管理テーブ
ル54からサーチし、ヒットした時は、RIOパラメタ
作成部31でRIOパラメタの作成を行う(格納された
順番にRIOに転送され、RIOが起動される)。
(2) The cache management unit (primary) 21 of the character processing unit 20 searches for a character from the RIO1 cache management table 54, and when a hit is found, the RIO parameter creation unit 31 creates the RIO parameter ( They are transferred to the RIO in the order in which they are stored, and the RIO is activated.)

【0253】(3) 文字が無い(キャッシュにも空きがな
い)場合、文字を作成しワーク領域64に格納する。そ
して、RIOパラメタ作成部31は、キャッシュに文字
格納領域を獲得しワーク領域に格納した文字をキャッシ
ュに転送するRIOパラメタを作成し、RIOパラメタ
格納領域に格納する。次に、RIOパラメタ作成部31
は、キャッシュからBMMに転送するRIOパラメタを
作成し、RIOパラメタ格納領域に格納する。
(3) If there is no character (there is no space in the cache), a character is created and stored in the work area 64. Then, the RIO parameter creation unit 31 acquires a character storage area in the cache, creates an RIO parameter for transferring the character stored in the work area to the cache, and stores the RIO parameter in the RIO parameter storage area. Next, the RIO parameter creation unit 31
Creates an RIO parameter to be transferred from the cache to the BMM and stores it in the RIO parameter storage area.

【0254】(3)+文字が無くワーク領域64も獲得でき
ない場合、RIO1を起動し、RIO1の動作終了によ
るワーク領域64の解放を待つ。
(3) If there is no + character and the work area 64 cannot be obtained, the RIO1 is started and the work area 64 is released after the operation of the RIO1 is completed.

【0255】(4) 上記(2) 〜(3)+を1ページ分繰り返
す。
(4) The above (2) to (3) + are repeated for one page.

【0256】(5) RIO制御部30は、RIO1の起動
を行う(DMAコントローラ7にRIOパラメタのDM
A開始依頼を行う)。
(5) The RIO control unit 30 activates RIO1 (the DMA controller 7 sends the RIO parameter DM
A start request).

【0257】(6) コマンド制御部4は、ホスト1からn
+1ページ目の文字描画依頼を受ける(RIO2とす
る)。
(6) The command control unit 4 sends n
A character drawing request for the + 1st page is received (referred to as RIO2).

【0258】以下、同じ処理を継続する。Hereinafter, the same processing is continued.

【0259】(流れ図による説明)図18はキャッシュ
に文字を格納する処理とBMMに配置する処理に同じR
IOを使用する処理の流れ図(1)、図19はキャッシ
ュに文字を格納する処理とBMMに配置する処理に同じ
RIOを使用する処理の流れ図(2)である。以下、図
18、図19の処理S121〜処理S138に従って説
明する。
(Explanation by Flowchart) FIG. 18 shows the same R for processing for storing characters in the cache and processing for arranging them in the BMM.
FIG. 19 is a flowchart (2) of a process using the same RIO for the process of storing characters in the cache and the process of arranging the characters in the BMM. Hereinafter, description will be given according to the processing S121 to the processing S138 of FIGS.

【0260】S121:描画制御部5は、ホスト1から
のコマンド受信待ちを行う。
S121: The drawing control unit 5 waits for a command from the host 1.

【0261】S122:描画制御部5は、ホスト1から
文字描画コマンドを受け、文字描画依頼の解析を行う
(RIO選択指定あり)。
S122: The drawing control unit 5 receives a character drawing command from the host 1, and analyzes a character drawing request (RIO selection is specified).

【0262】S123:描画制御部5は、指定RIOの
文字のキャッシュ内のサーチ処理を行う。
S123: The drawing control unit 5 performs a search process in the cache for the character of the designated RIO.

【0263】S124:描画制御部5は、前記S123
のサーチでキャッシュ内に文字は存在したかどうか判断
する。
S124: The drawing control unit 5 executes the processing in S123.
Is determined whether or not the character exists in the cache.

【0264】S125:前記S123のサーチでキャッ
シュ内に文字が存在した場合、RIOパラメタの作成と
格納処理を行う。
S125: If there is a character in the cache in the search in S123, the RIO parameters are created and stored.

【0265】S126:前記S123のサーチでキャッ
シュ内に文字が存在しなかった場合、検索対象RIOキ
ャッシュを更新し、存在する他のRIOキャッシュを全
て検索するまで繰り返す(RIOの文字のキャッシュ内
のサーチ処理)。
S126: If there is no character in the cache in the search in S123, the search target RIO cache is updated and the process is repeated until all other existing RIO caches are searched (search in the RIO character cache). processing).

【0266】S127:描画制御部5は、前記S126
のサーチでキャッシュ内に文字が存在したかどうか判断
する。
[0266] S127: The drawing control section 5 executes the processing in S126.
It is determined whether or not the character exists in the cache in the search.

【0267】S128:描画制御部5は、前記S127
の判断で、キャッシュ内に文字が存在した場合、ワーク
領域に空きがあるかを判断し、空きが無い時はRIO起
動終了まで待つ。
S128: The drawing control section 5 executes the processing in S127.
If there is a character in the cache, it is determined whether or not there is a free space in the work area.

【0268】S129:描画制御部5は、次に空きに予
定している小文字管理単位を空きにし、該小文字管理単
位を使用中にし、ワーク領域上に文字領域を確保し、ワ
ーク領域に格納する。
S129: The drawing control unit 5 vacates the lower-case management unit which is to be vacated next, makes the lower-case management unit in use, secures a character area on the work area, and stores it in the work area. .

【0269】S130:描画制御部5は、ワーク領域か
ら文字キャッシュへの転送用のRIOパラメタを作成し
て格納する。
S130: The drawing control unit 5 creates and stores RIO parameters for transfer from the work area to the character cache.

【0270】S131:描画制御部5は、RIOパラメ
タの作成(キャッシュからBMMへの転送用)と格納処
理を行う。
S131: The drawing control section 5 performs the creation (for transfer from the cache to the BMM) of the RIO parameters and the storage processing.

【0271】S132:描画制御部5は、文字が見つか
らなかった場合、ワーク領域内に空きがあるかを判断
し、空きが無い時はRIO起動終了まで待つ。
S132: If no character is found, the drawing control unit 5 determines whether there is a free space in the work area. If no free space is found, the drawing control unit 5 waits until the start of the RIO.

【0272】S133:描画制御部5は、次に空きに予
定している小文字管理単位を空きにし、該小文字管理単
位を使用中にし、ワーク領域上に文字領域を確保する。
S133: The drawing control unit 5 makes the lower-case management unit to be vacant next available, makes the lower-case management unit in use, and secures a character area on the work area.

【0273】S134:描画制御部5は、文字作成処理
を行い、ワーク領域に文字を格納する。
S134: The drawing control section 5 performs a character creation process and stores the character in the work area.

【0274】S135:描画制御部5は、ワーク領域か
ら文字キャッシュへの転送用のRIOパラメタを作成し
て格納する。
S135: The drawing control unit 5 creates and stores RIO parameters for transfer from the work area to the character cache.

【0275】S136:描画制御部5は、RIOパラメ
タの作成(キャッシュからBMMへの転送用)と格納処
理を行う。
S136: The drawing control section 5 performs RIO parameter creation (for transfer from the cache to the BMM) and storage processing.

【0276】S137:描画制御部5は、ページ完成コ
マンドにより、指定RIOの起動を行う。
S137: The drawing control unit 5 activates the designated RIO according to the page completion command.

【0277】S138:RIO終了割り込みハンドラ
は、ハードの正常終了を確認し、終了したRIO番号を
印刷制御部に通知し、使用したワーク領域を解放する。
S138: The RIO end interrupt handler confirms the normal end of the hardware, notifies the print control unit of the end RIO number, and releases the used work area.

【0278】以上、実施の形態で説明したように、描画
モジュールの多重化により性能を上げる場合のアウトラ
イン文字キャッシュを、多重化のパフォーマンスを損な
わず効率よく管理することができる。
As described above, the outline character cache in the case where the performance is improved by multiplexing drawing modules can be efficiently managed without impairing the multiplexing performance.

【0279】[0279]

【発明の効果】以上説明したように、本発明によれば次
のような効果がある。
As described above, the present invention has the following effects.

【0280】(1):複数個の文字格納手段でキャッシ
ュ管理される文字描画データを格納し、複数個の描画部
で前記各文字格納手段の文字描画データの描画を行い、
キャッシュ管理手段で前記各文字格納手段の管理をし、
描画制御手段で前記各描画部の制御を行い、前記キャッ
シュ管理手段で前記各描画部を単位としてそれぞれが独
立したキャッシュ管理を行うため、各キャッシュの管理
状況が他の描画部の文字転送に影響を与えず動作可能と
なるので、描画効率を向上することができる。
(1): storing character drawing data cache-managed by a plurality of character storage means, and drawing the character drawing data of each character storage means by a plurality of drawing units;
The cache management means manages each of the character storage means,
The drawing control unit controls each drawing unit, and the cache management unit performs independent cache management for each drawing unit, so that the management status of each cache affects the character transfer of other drawing units. Since the operation can be performed without providing the image, the drawing efficiency can be improved.

【0281】(2):キャッシュ管理手段で、一つの描
画部の単位のキャッシュでミスヒット時、他の描画部の
単位のキャッシュをサーチするため、他の描画部のキャ
ッシュ上の文字を有効に利用(コピー)することがで
き、文字作成時間を短縮することができる。
(2): When the cache management unit searches for a cache in another drawing unit when there is a mishit in the unit cache of one drawing unit, the characters in the cache of another drawing unit are made effective. It can be used (copied) and the character creation time can be reduced.

【0282】(3):各描画部の単位に複数のキャッシ
ュ管理単位(小文字管理単位)を備え、キャッシュ管理
手段で、前記キャッシュ管理単位に予定した個数分の文
字追加が行われたら、描画部の描画開始を行うため、描
画部を1ページ分の文字処理が終了する前に起動し、描
画部終了による空き領域の解放を早く行うことが可能で
ある。また、次のキャッシュ管理単位(小文字管理単
位)がフルになるまで描画部動作中に文字処理を並行し
て行うことができるので、性能上有利となる。
(3): Each drawing unit has a plurality of cache management units (lower case management units), and when the cache management unit adds characters of the expected number to the cache management unit, the drawing unit , The drawing unit is started before the character processing for one page ends, and the free area can be quickly released by terminating the drawing unit. Further, character processing can be performed in parallel during the operation of the drawing unit until the next cache management unit (lower case management unit) becomes full, which is advantageous in performance.

【0283】(4):各描画部の単位に存在するキャッ
シュ管理単位以外に、独立した共通の2次キャッシュを
備えるため、2次キャッシュから文字をコピーすること
で、各ページ共通に使用する文字の再作成を防ぎ、文字
処理時間を短縮することができる。
(4) In addition to the cache management unit existing in each drawing unit, an independent common secondary cache is provided, and characters are copied from the secondary cache to be used commonly for each page. Can be prevented and character processing time can be reduced.

【0284】(5):2次キャッシュをサーチしてミス
ヒット時、各描画部の単位に存在するキャッシュをサー
チするため、他の描画部のキャッシュ上の文字も有効に
利用することができ、文字作成時間を短縮することがで
きる。
(5): When the secondary cache is searched and a mishit occurs, the cache existing in the unit of each drawing unit is searched, so that characters on the caches of other drawing units can be effectively used. Character creation time can be reduced.

【0285】(6):各描画部の単位に文字描画データ
を格納するワーク領域を備え、キャッシュ管理手段で、
キャッシュに文字を登録する時、前記ワーク領域に文字
を配置し、描画部を用いて文字を文字格納手段に転送す
るため、ワーク領域が有る間、描画部終了待ち無しに文
字を登録することができ、文字処理と描画部との並行動
作が可能となる。
(6): A work area for storing character drawing data is provided for each drawing unit.
When registering a character in the cache, the character is arranged in the work area, and the character is transferred to the character storage unit using the drawing unit. Therefore, it is possible to register the character without waiting for the end of the drawing unit while the work area is present. Thus, the character processing and the drawing unit can be operated in parallel.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の原理説明図である。FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】実施の形態における描画制御装置の説明図であ
る。
FIG. 2 is an explanatory diagram of a drawing control device according to the embodiment;

【図3】実施の形態における文字キャッシュ管理単位の
説明図である。
FIG. 3 is an explanatory diagram of a character cache management unit according to the embodiment.

【図4】実施の形態における文字キャッシュ管理処理の
流れ図である。
FIG. 4 is a flowchart of a character cache management process according to the embodiment.

【図5】実施の形態における他のRIOキャッシュ上の
文字を利用する処理の流れ図(1)である。
FIG. 5 is a flowchart (1) of a process using characters on another RIO cache according to the embodiment;

【図6】実施の形態における他のRIOキャッシュ上の
文字を利用する処理の流れ図(2)である。
FIG. 6 is a flowchart (2) of a process using a character on another RIO cache according to the embodiment;

【図7】実施の形態における小文字管理単位の説明図で
ある。
FIG. 7 is an explanatory diagram of a lower case management unit in the embodiment.

【図8】実施の形態における小文字管理単位を利用する
処理の流れ図(1)である。
FIG. 8 is a flowchart (1) of a process using a lower case management unit according to the embodiment;

【図9】実施の形態における小文字管理単位を利用する
処理の流れ図(2)である。
FIG. 9 is a flowchart (2) of a process using a lowercase management unit according to the embodiment;

【図10】実施の形態におけるワーク領域を使用する場
合の処理の流れ図(1)である。
FIG. 10 is a flowchart (1) of a process when a work area is used in the embodiment.

【図11】実施の形態におけるワーク領域を使用する場
合の処理の流れ図(2)である。
FIG. 11 is a flowchart (2) of a process when a work area is used in the embodiment.

【図12】実施の形態における2次キャッシュを設ける
場合の処理の流れ図(1)である。
FIG. 12 is a flowchart (1) of a process when a secondary cache is provided in the embodiment.

【図13】実施の形態における2次キャッシュを設ける
場合の処理の流れ図(2)である。
FIG. 13 is a flowchart (2) of a process when a secondary cache is provided in the embodiment.

【図14】実施の形態における2次キャッシュと各1次
キャッシュをサーチする処理の流れ図(1)である。
FIG. 14 is a flowchart (1) of a process of searching the secondary cache and each primary cache in the embodiment.

【図15】実施の形態における2次キャッシュと各1次
キャッシュをサーチする処理の流れ図(2)である。
FIG. 15 is a flowchart (2) of a process of searching the secondary cache and each primary cache in the embodiment.

【図16】実施の形態における2次キャッシュと各1次
キャッシュをサーチする処理の流れ図(3)である。
FIG. 16 is a flowchart (3) of a process of searching the secondary cache and each primary cache according to the embodiment;

【図17】実施の形態におけるキャッシュに文字を格納
する処理とBMMに配置する処理に同じRIOを使用す
る場合の説明図である。
FIG. 17 is an explanatory diagram in the case where the same RIO is used for the process of storing characters in the cache and the process of placing characters in the BMM according to the embodiment.

【図18】実施の形態におけるキャッシュに文字を格納
する処理とBMMに配置する処理に同じRIOを使用す
る処理の流れ図(1)である。
FIG. 18 is a flowchart (1) of a process of using the same RIO for a process of storing a character in a cache and a process of placing a character in a BMM according to the embodiment.

【図19】実施の形態におけるキャッシュに文字を格納
する処理とBMMに配置する処理に同じRIOを使用す
る処理の流れ図(2)である。
FIG. 19 is a flowchart (2) of a process of using the same RIO for a process of storing a character in a cache and a process of placing a character in a BMM according to the embodiment.

【符号の説明】[Explanation of symbols]

10a、11a 描画部 16、17 ビットマップメモリ(BMM) 5a 描画制御手段 21a キャッシュ管理手段 23a 2次キャッシュ 61a、62a 文字格納手段 64、65 ワーク領域 10a, 11a Drawing unit 16, 17 Bitmap memory (BMM) 5a Drawing control unit 21a Cache management unit 23a Secondary cache 61a, 62a Character storage unit 64, 65 Work area

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2C087 BA11 BC02 BC05 BD13 5B005 JJ11 KK12 LL12 LL15 MM01 SS12 UU31 5B021 AA01 AA02 CC05 DD13 JJ10 5C082 AA01 AA32 BA02 BB15 BB29 BB32 BB34 DA49 DA87 MM02 9A001 BB03 HZ23 JJ35  ──────────────────────────────────────────────────続 き Continued on the front page F-term (reference) 2C087 BA11 BC02 BC05 BD13 5B005 JJ11 KK12 LL12 LL15 MM01 SS12 UU31 5B021 AA01 AA02 CC05 DD13 JJ10 5C082 AA01 AA32 BA02 BB15 BB29 BB32 BB34 H49 DA87 BB02 9

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】キャッシュ管理される文字描画データを格
納する複数個の文字格納手段と、 前記各文字格納手段の文字描画データの描画を行う複数
個の描画部と、 前記各文字格納手段の管理をするキャッシュ管理手段
と、 前記各描画部の制御を行う描画制御手段とを備え、 前記キャッシュ管理手段は、前記各描画部を単位として
それぞれが独立したキャッシュ管理を行うことを特徴と
した描画制御装置。
1. A plurality of character storage means for storing character drawing data to be cache-managed; a plurality of drawing units for drawing character drawing data in each of said character storage means; Drawing control means for controlling each of the drawing units, wherein the cache management unit performs independent cache management for each of the drawing units. apparatus.
【請求項2】前記キャッシュ管理手段は、一つの描画部
の単位のキャッシュでミスヒット時、他の描画部の単位
のキャッシュをサーチすることを特徴とした請求項1記
載の描画制御装置。
2. The drawing control device according to claim 1, wherein said cache management means searches for a cache of a unit of another drawing unit when a cache hit of a unit of one drawing unit is missed.
【請求項3】前記各描画部の単位に複数のキャッシュ管
理単位を備え、 前記キャッシュ管理手段は、前記キャッシュ管理単位に
予定した個数分の文字追加が行われたら、前記描画部の
描画開始を行うことを特徴とした請求項1又は2記載の
描画制御装置。
3. A drawing unit comprising a plurality of cache management units, wherein the cache management unit starts drawing by the drawing unit when a predetermined number of characters have been added to the cache management unit. 3. The drawing control device according to claim 1, wherein the drawing control is performed.
【請求項4】前記各描画部の単位に存在するキャッシュ
管理単位以外に、独立した共通の2次キャッシュを備え
ることを特徴とした請求項1又は2記載の描画制御装
置。
4. The drawing control apparatus according to claim 1, further comprising an independent common secondary cache in addition to the cache management unit existing in each drawing unit.
【請求項5】前記2次キャッシュをサーチしてミスヒッ
ト時、各描画部の単位に存在するキャッシュをサーチす
ることを特徴とした請求項4記載の描画制御装置。
5. The drawing control apparatus according to claim 4, wherein the secondary cache is searched to search for a cache existing in each drawing unit when a mishit occurs.
【請求項6】前記各描画部の単位に文字描画データを格
納するワーク領域を備え、 前記キャッシュ管理手段は、キャッシュに文字を登録す
る時、前記ワーク領域に文字を配置し、前記描画部を用
いて文字を前記文字格納手段に転送することを特徴とし
た請求項1記載の描画制御装置。
6. A work area for storing character drawing data for each drawing unit, wherein the cache management means arranges the character in the work area when registering the character in a cache, and stores the character in the drawing area. 2. The drawing control device according to claim 1, wherein the character is transferred to the character storage means by using a character string.
JP10348093A 1998-12-08 1998-12-08 Plotting controller Withdrawn JP2000172725A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10348093A JP2000172725A (en) 1998-12-08 1998-12-08 Plotting controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10348093A JP2000172725A (en) 1998-12-08 1998-12-08 Plotting controller

Publications (1)

Publication Number Publication Date
JP2000172725A true JP2000172725A (en) 2000-06-23

Family

ID=18394701

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10348093A Withdrawn JP2000172725A (en) 1998-12-08 1998-12-08 Plotting controller

Country Status (1)

Country Link
JP (1) JP2000172725A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8390632B1 (en) 2011-09-12 2013-03-05 Fuji Xerox Co., Ltd. Rendering device, non-transitory computer readable medium, and image output apparatus
US8610728B2 (en) 2011-09-21 2013-12-17 Fuji Xerox Co., Ltd. Rendering device, non-transitory computer readable medium, and image output apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8390632B1 (en) 2011-09-12 2013-03-05 Fuji Xerox Co., Ltd. Rendering device, non-transitory computer readable medium, and image output apparatus
US8610728B2 (en) 2011-09-21 2013-12-17 Fuji Xerox Co., Ltd. Rendering device, non-transitory computer readable medium, and image output apparatus

Similar Documents

Publication Publication Date Title
EP0386935B1 (en) Apparatus capable of varying number of wait states for access
US6505257B2 (en) Multi-processor system, disk controller using the same and nondisruptive maintenance method thereof
JP2003127505A (en) Printer
JP2000172725A (en) Plotting controller
JPH10329369A (en) Printer
US6938102B1 (en) Dequeuing from a host adapter two-dimensional queue
JP2503314B2 (en) I / O control device control memory copy method
JPH1021019A (en) Printer device
JP2002157093A (en) Disk array device
JP2575231B2 (en) How to download
JPH04233028A (en) Printer
JP3411350B2 (en) Outline character expansion device
JPH01222335A (en) Multi-task processing system
JPH0696230A (en) Plane painting pattern display system
JPH0319035A (en) Control system for job execution multiple degree
JPH1063573A (en) Memory controller
JPH04174022A (en) Printer controller
JPH03114763A (en) Printer
JPH04284552A (en) Data recovery system for cache memory loading device
JPH048826B2 (en)
JPH1049315A (en) Drawing processor
JPH04260952A (en) Method and device for controlling protocol
JPH04367056A (en) Information processing system
JPH04327966A (en) Image forming device
JPH048570A (en) Command processing device of terminal equipment

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060307