JPH02241267A - Picture information processor - Google Patents

Picture information processor

Info

Publication number
JPH02241267A
JPH02241267A JP1061021A JP6102189A JPH02241267A JP H02241267 A JPH02241267 A JP H02241267A JP 1061021 A JP1061021 A JP 1061021A JP 6102189 A JP6102189 A JP 6102189A JP H02241267 A JPH02241267 A JP H02241267A
Authority
JP
Japan
Prior art keywords
data
cache memory
image
image data
storage means
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.)
Pending
Application number
JP1061021A
Other languages
Japanese (ja)
Inventor
Masaaki Shimizu
正明 清水
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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP1061021A priority Critical patent/JPH02241267A/en
Publication of JPH02241267A publication Critical patent/JPH02241267A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the using efficiency of a cache memory, and simultaneously, to improve developing processing speed to bit pattern data by storing the developed pattern of an outline font, a registered graphic, a registered image and an external character registration area collectively in the same work memory. CONSTITUTION:A cache memory control part 105 control collectively various kinds of data which are graphic data, image data, external character data or the outline font developed on a bit map. The cache memory 106 is constituted of a high speed RAM, and stores various kinds of the image data or the bit pattern data, etc. An output information developing part 107 executes processing to develop and store the picture data of one page portion, for instance into an output data storage part 108 based on the data stored in the cache memory 106 in conformity to a printing instruction from a host computer, etc. The output data storage part 108 stores the bit pattern data developed by the output information developing part 107 so as to correspond to an output image.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は画像情報処理装置に関し、特に文書情報や画像
情報などを入力し、それらの情報をビットマツプに展開
して出力する画像情報処理装置に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an image information processing device, and particularly to an image information processing device that inputs document information, image information, etc., develops the information into a bitmap, and outputs it. It is something.

[従来の技術] 文字や記号などのパターンデータをアウトラインフォン
トで記憶しておき、ホストコンピュータから受信した印
字コードに基づいて、その印字コードをパターン展開し
て印刷あるいは表示を行なうプリンタやワードプロセッ
サなどが知られている。このようなアウトラインフォン
ト情報よりビットマツプパターンへの展開は、一般に多
くの時間を要するため、−旦ビットパターンに展開した
アウトラインフォント情報を、キャッシュメモリと呼ば
れる高速のRAMに記憶しておき、次に同じ文字が同じ
大きさで展開されるときには、そのキャッシュメモリに
記憶されているパターンを読出して使用するようにして
、パターン展開に要する時間を縮小している。
[Prior Art] Printers, word processors, and the like store pattern data such as characters and symbols in outline fonts, and develop the print code into a pattern based on the print code received from a host computer for printing or display. Are known. Generally, it takes a lot of time to develop such outline font information into a bitmap pattern, so first, the outline font information that has been developed into a bit pattern is stored in a high-speed RAM called cache memory, and then When the same character is to be developed in the same size, the pattern stored in the cache memory is read out and used, thereby reducing the time required for pattern development.

また、図形やイメージあるいは外字フォントなどを入力
したときは、出力用の画像メモリにそのまま展開すると
ともに、これらの画像情報などを再度利用できるように
、その人力した図形などをメモリに登録しておくことが
できる。そして、この図形情報を再利用するときには、
図形の名称やインデックスなどを入力することにより、
それらのイメージデータを出力用の画像用メモリに展開
して出力するようにしている。
Also, when figures, images, or custom fonts are input, they are expanded as they are to the image memory for output, and the manually drawn figures are registered in memory so that these image information can be used again. be able to. And when reusing this graphic information,
By entering the shape name, index, etc.
These image data are developed into an image memory for output and output.

[発明が解決しようとしている課題] しかし前述したような従来の装置では、例えば図形やイ
メージ・外字フォント・ロゴなどのデータを記憶してい
る場合、このワードプロセッサはアウトラインフォント
用のキャッシュメモリや、図形登録用メモリ、イメージ
登録用メモリ、外字フォント用ワークメモリ、ロゴ登録
用ワークメモリなど各種ワークメモリを個々に独立して
有しているため、もしいずれかのワークメモリがフルに
なった場合はそのデータを出力できなくなる可能性があ
った。
[Problems to be Solved by the Invention] However, in the conventional device as described above, when storing data such as figures, images, external character fonts, logos, etc., this word processor has a cache memory for outline fonts, Various work memories such as registration memory, image registration memory, external character font work memory, and logo registration work memory are provided independently, so if any of the work memories becomes full, the There was a possibility that data could not be output.

本発明は上記従来例に鑑みてなされたもので、アウトラ
インフォントの展開パターンや、登録図形、登録イメー
ジ、外字登録領域を同じワークメモリにまとめて記憶さ
せることにより、キャッシュメモリの使用効率を向上さ
せるとともに、ビットパターンデータへの展開処理速度
を向上させた画像情報処理装置を提供することを目的と
する。
The present invention has been made in view of the above-mentioned conventional example, and improves cache memory usage efficiency by storing outline font expansion patterns, registered figures, registered images, and external character registration areas in the same work memory. In addition, it is an object of the present invention to provide an image information processing device that improves processing speed for processing bit pattern data.

[課題を解決するための手段] 上記目的を達成するために本発明の画像情報処理装置は
以下の様な構成からなる。即ち、複数の画像データを登
録し、対応するコード情報を人力すると対応する画像デ
ータを読出して出力できる画像情報処理装置であって、
カテゴリーの異なる独立した複数の画像データを記憶す
る記憶手段と、前記記憶手段の空き領域と使用領域とを
それぞれ記憶する領域記憶手段と、前記カテゴリーのそ
れぞれ対し、前記画像データを検索するための検索情報
を記憶している検索情報記憶手段と、前記検索情報をも
とに前記領域記憶手段を参照して画像データを読出すと
ともに、前記記憶手段への画像データの登録時、前記領
域記憶手段を参照して空き領域を検出するように制御す
る制御手段とを有する。
[Means for Solving the Problems] In order to achieve the above object, an image information processing apparatus of the present invention has the following configuration. That is, the image information processing device is capable of registering a plurality of image data and manually inputting corresponding code information to read and output the corresponding image data,
storage means for storing a plurality of independent image data of different categories; area storage means for storing a free area and a used area of the storage means; and a search for searching the image data for each of the categories. A search information storage means storing information, and reading image data by referring to the area storage means based on the search information, and when registering image data in the storage means, the area storage means. and control means for controlling to refer to and detect free space.

[作用] 以上の構成において、記憶手段にカテゴリーの異なる独
立した複数の画像データを記憶し、領域記憶手段に、そ
の記憶手段の空き領域と使用領域とをそれぞれ記憶する
。そして、検索情報記憶手段はカテゴリーのそれぞれ対
し、画像データを検索するための検索情報を記憶してい
る。これら検索情報をもとに領域記憶手段を参照して画
像データを読出すとともに、記憶手段への画像データの
登録時、領域記憶手段を参照して空き領域を検出するよ
うに動作している。
[Operation] In the above configuration, a plurality of independent image data of different categories are stored in the storage means, and a free area and a used area of the storage means are respectively stored in the area storage means. The search information storage means stores search information for searching image data for each category. Based on the search information, the image data is read out by referring to the area storage means, and when image data is registered in the storage means, the area storage means is referred to to detect an empty area.

[実施例] 以下、添付図面を参照して本発明の好適な実施例を詳細
に説明する。
[Embodiments] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

[プリンタの説明 (第1図〜第4図)]第1図は実施
例のプリンタの概略機能構成を示す機能ブロック図であ
る。
[Description of Printer (FIGS. 1 to 4)] FIG. 1 is a functional block diagram showing a schematic functional configuration of a printer according to an embodiment.

図において、101は入力したコード情報をもとに、ア
ウトラインフォントメモリからアウトラインフォント情
報を読出してビットマツプフォントに展開するためのア
ウトラインフォント管理部である。102は図形データ
管理部で、入力した図形データを展開したり登録するた
めの処理を行っている。103はイメージデータ管理部
で、例えばイメージスキャナやホストコンピュータ等よ
り入力されたイメージデータを展開したり登録するため
の処理を実行している。104は外字フォント管理部で
、人力された外字フォントやロゴなどのパターンデータ
を展開したり登録するなどの処理を行っている。105
はキャッシュメモリ管理部で、前述した図形データやイ
メージデータあるいは外字データやアウトラインフォン
トをビットマツプに展開した各種データを一括して管理
している。
In the figure, 101 is an outline font management unit for reading outline font information from an outline font memory and developing it into a bitmap font based on input code information. A graphic data management unit 102 performs processing for developing and registering input graphic data. An image data management unit 103 executes processing for developing and registering image data input from, for example, an image scanner or a host computer. Reference numeral 104 denotes a private character font management unit, which performs processing such as developing and registering pattern data such as manually created private character fonts and logos. 105
is a cache memory management unit that collectively manages various data such as the aforementioned graphic data, image data, external character data, and outline fonts developed into bitmaps.

106はキャッシュメモリで、高速RAMにより構成さ
れ、前述した各種のイメージデータやビットパターンデ
ータなどを記憶している。107は出力情報展開部で、
ポストコンピュータなどよりのプリント指示により、キ
ャッシュメモリ106に記憶されているデータをもとに
、例えば1頁分の画像データを出力データ記憶部108
に展開して記憶する処理を行っている。108は出力デ
ータ記憶部で、出力情報展開部107により展開された
ビットパターンデータな、出力イメージに対応して記憶
している。109は出力部で、記録媒体である記録紙に
、レーザビームや熱転写などにより実際に記録を行って
いる。
A cache memory 106 is composed of a high-speed RAM and stores the various types of image data and bit pattern data described above. 107 is an output information expansion section;
In response to a print instruction from a post computer or the like, the data storage unit 108 outputs, for example, one page of image data based on the data stored in the cache memory 106.
The process is to expand and store the file. Reference numeral 108 denotes an output data storage unit which stores bit pattern data expanded by the output information expansion unit 107 corresponding to the output image. Reference numeral 109 denotes an output unit that actually performs recording on recording paper, which is a recording medium, using a laser beam, thermal transfer, or the like.

第2図は実施例のプリンタのキャッシュメモリ106の
内容例を示す図である。
FIG. 2 is a diagram showing an example of the contents of the cache memory 106 of the printer according to the embodiment.

図において、202は外字フォント管理部104で管理
されるロゴパターンを示している。203はアウトライ
ンフォント管理部101で管理されるアウトラインフォ
ントよりビットイメージに展開されたフォントデータな
示している。205は図形データの一例を示し、図形デ
ータ管理部102により管理されている。206はイメ
ージデータの一例を示し、イメージデータ管理部103
により処理されたデータである。そして、これらの画像
データの全ては、出力情報展開部107の制御のもとに
キャッシュメモリ106に登録されている。
In the figure, 202 indicates a logo pattern managed by the private character font management unit 104. Reference numeral 203 indicates font data developed into a bit image from an outline font managed by the outline font management unit 101. Reference numeral 205 indicates an example of graphic data, which is managed by the graphic data management unit 102. 206 indicates an example of image data, and the image data management unit 103
This is the data processed by. All of these image data are registered in the cache memory 106 under the control of the output information expansion section 107.

第3図は実施例のプリンタ300の概略構成とホストコ
ンピュータ301との接続を示すブロック図である。
FIG. 3 is a block diagram showing the schematic configuration of the printer 300 and the connection to the host computer 301 according to the embodiment.

301はホストコンピュータで、実施例のプリンタ30
0に文字コードや図形データやイメージデータ等を出力
して、プリンタ300に印刷指示を出力している。30
2は第4図に詳細を示すプリンタの制御部で、303は
記録処理を行う印刷機構部である。
301 is a host computer, which is the printer 30 of the embodiment;
A character code, graphic data, image data, etc. are output to the printer 300, and a print instruction is output to the printer 300. 30
Reference numeral 2 denotes a control unit of the printer whose details are shown in FIG. 4, and 303 denotes a printing mechanism unit that performs recording processing.

第4図は実施例のプリンタ300の制御部302の概略
構成を示すブロック図である。
FIG. 4 is a block diagram showing a schematic configuration of the control section 302 of the printer 300 according to the embodiment.

401はCPUで、プログラムメモリ(ROM)402
に記憶されている制御プログラムや各種データに従って
制御部302全体を制御し、第1図に示された出力情報
展開部107などの機能を実行している。403はアウ
トラインフォントメモリ(ROM)で、各種文字や記号
に対するアウトラインフォントを、そのコードに対応し
て記憶している。404はワークメモリ(RAM)で、
後述するテーブル411などを含むとともに、CPU4
01の動作時に各種データを一時的に保存する。
401 is a CPU, program memory (ROM) 402
The controller 302 controls the entire controller 302 according to control programs and various data stored in the controller, and executes functions such as the output information expander 107 shown in FIG. An outline font memory (ROM) 403 stores outline fonts for various characters and symbols in correspondence with their codes. 404 is work memory (RAM),
It includes a table 411 to be described later, and the CPU 4
Temporarily stores various data during operation of 01.

405はホストコンピュータ301と実施例のプリンタ
300の制御部302とを接続するインターフェース(
I/F)回路である。406は前述したキャッシュメモ
リで、アラ1〜ラインフオントメモリ403からのビッ
トパターンに展開されたビットマツプデータや図形デー
タあるいはイメージデータなどを一時的に記憶する。こ
のメモリは通常高速のRAMで構成されている。407
はビットパターンに展開されたビットマツプデータを記
憶している画像用メモリで、印刷されるあるいは表示出
力される1頁分のイメージデータに対応したイメージを
格納している。この画像用メモリ407は第1図の出力
データ記憶部108に対応している。
An interface 405 connects the host computer 301 and the control unit 302 of the printer 300 of the embodiment
I/F) circuit. Reference numeral 406 denotes the cache memory described above, which temporarily stores bitmap data, graphic data, image data, etc. developed into bit patterns from the array 1 to linear font memories 403. This memory usually consists of high speed RAM. 407
is an image memory that stores bitmap data expanded into bit patterns, and stores an image corresponding to one page of image data to be printed or displayed. This image memory 407 corresponds to the output data storage section 108 in FIG.

408は制御部302と印刷機構部303との間で信号
を入出力する出力インターフェース(I/F)回路であ
る。409は画像信号発生器で、画像用メモリ407の
ビットパターンデータに対応して印刷用の画像信号を、
出力インターフェース回路408を介して印刷機構部3
03に出力している。410は各メモリとCPU401
及び各回路とを接続する内部バスである。
408 is an output interface (I/F) circuit that inputs and outputs signals between the control unit 302 and the printing mechanism unit 303. An image signal generator 409 generates an image signal for printing in accordance with the bit pattern data of the image memory 407.
Printing mechanism section 3 via output interface circuit 408
It is output on 03. 410 is each memory and CPU 401
and an internal bus that connects each circuit.

[従来の展開処理の説明(第5図、第6図)]第5図は
従来の一般的なパターン展開や登録処理を示す模式図で
ある。
[Description of conventional expansion processing (FIGS. 5 and 6)] FIG. 5 is a schematic diagram showing conventional general pattern expansion and registration processing.

第5図において、505〜508はそれぞれ対応する図
形データを管理するための管理テーブルである。
In FIG. 5, 505 to 508 are management tables for managing corresponding graphic data.

501はアウトラインフォントよりパターンに展開され
たパターンデータな記憶するためのフォントキャッシュ
メモリである。502は登録図形データ用のワークメモ
リで、管理テーブル506により管理されている。50
3はイメージデータな登録するためのワークメモリで、
504は外字フォントやロゴパターンなどを登録するワ
ークメモリである。
Reference numeral 501 is a font cache memory for storing pattern data developed into a pattern from an outline font. 502 is a work memory for registered graphic data, which is managed by a management table 506. 50
3 is a work memory for registering image data,
504 is a work memory in which external character fonts, logo patterns, etc. are registered.

第6図は第5図に示したうち、入力した文字コードに対
応してビットマツプに展開されたビットパターンデータ
が、フォントキャッシュメモリ501に記憶されている
状態を示す図である。
FIG. 6 is a diagram showing a state in which the bit pattern data shown in FIG. 5, developed into a bitmap corresponding to the input character code, is stored in the font cache memory 501.

図において、602〜606はキャッシュメモリ501
に格納されているアウトラインフォントよりビットマツ
プパターンに展開されたフォントデータな示している。
In the figure, 602 to 606 are cache memories 501
This shows the font data developed into a bitmap pattern from the outline font stored in the font.

505はアウトラインフォント用の管理テーブルで、例
えば、611はフオントデータ602の文字コードや文
字の大きさ(ポイント数)、文字の書体などの文字情報
と、その文字をビットパターンに展開して記憶している
アドレスや、そのメモリサイズ(容量)などを記憶して
いる。以下同様に、612.613のそれぞれはフォン
トデータ603.604に対応している。
505 is a management table for outline fonts; for example, 611 stores character information such as the character code, character size (number of points), and character font of the font data 602, and the characters are expanded into bit patterns and stored. It memorizes the address and memory size (capacity) of the memory. Similarly, each of 612 and 613 corresponds to font data 603 and 604.

従って、この文字コードを入力すると、この管理テーブ
ル505を参照して対応するフォントデータがこのキャ
ッシュメモリ501に存在しているかどうかを判断し、
存在していれば、このキャッシュメモリ501から対応
するフォントデータを読出して出力用のメモリにビット
マツプで展開している。
Therefore, when this character code is input, it is determined whether or not the corresponding font data exists in this cache memory 501 by referring to this management table 505.
If the font data exists, the corresponding font data is read from the cache memory 501 and expanded into the output memory as a bitmap.

[実施例の動作説明 (第7図〜第10図)]第7図は
実施例のプリンタにおけるキャッシュメモリ406の内
容とそれに対応する管理テーブルの4118との対応を
示す図である。
[Description of Operation of Embodiment (FIGS. 7 to 10)] FIG. 7 is a diagram showing the correspondence between the contents of the cache memory 406 and the corresponding management table 4118 in the printer of the embodiment.

図において、702はアウトラインフォントをもとにビ
ットパターンに展開されたフォント情報、703はホス
トコンピュータ301より入力した図形データ、704
は同じくホストコンピュータ301より入力したイメー
ジデータを示している。また、705は同様にホストコ
ンピュータ301より入力した外字あるいはロゴデータ
を示している。
In the figure, 702 is font information developed into a bit pattern based on an outline font, 703 is graphic data input from the host computer 301, and 704
similarly indicates image data input from the host computer 301. Further, 705 indicates external characters or logo data input from the host computer 301 in the same manner.

411aはキャッシュメモリ406の各ビットパターン
データのアドレスや容量などを記憶しているテーブルで
、第4図に示すテーブル411の一部である。710は
図形データ703の先頭アドレスや容量などを記憶して
いるワードを示し、711はフォントデータ702のア
ドレスや容量などを記憶しているワードである。
411a is a table that stores the address, capacity, etc. of each bit pattern data of the cache memory 406, and is a part of the table 411 shown in FIG. Reference numeral 710 indicates a word that stores the start address, capacity, etc. of the graphic data 703, and 711 indicates a word that stores the address, capacity, etc. of the font data 702.

テーブル411aの各ワードの構成は第7図の如くであ
り、720はこのワードが指示するフォント情報あるい
はパターン情報が有効であるか無効であるかを指示する
フラグで、” o ”は無効を示し、°“1゛は有効、
” 2 ”は必要に応じて消去できる有効データである
ことを示している。721はアドレスエリアで、対応す
るパターン情報(フォント情報あるいはイメージデータ
等)が記憶されているキャッシュメモリ406のアドレ
スを記憶している。722はそのパターン情報の容量(
サイズ)を例えばバイト単位で記憶している。
The structure of each word in the table 411a is as shown in FIG. 7, where 720 is a flag indicating whether the font information or pattern information specified by this word is valid or invalid, and "o" indicates invalid. , °“1゛ is valid,
"2" indicates valid data that can be erased if necessary. An address area 721 stores an address of the cache memory 406 in which corresponding pattern information (font information, image data, etc.) is stored. 722 is the capacity of the pattern information (
size) in bytes, for example.

第8図は実施例のキャッシュメモリ406を指示してい
るテーブル411とキャッシュメモリ406との関係を
示す図である。
FIG. 8 is a diagram showing the relationship between the table 411 indicating the cache memory 406 and the cache memory 406 in the embodiment.

411aは第7図で説明した使用領域管理チーフル、4
11bは後述するキャッシュメモリ406の空き領域を
指示している空き領域管理テーブルである。キャッシュ
メモリ406中の使用領域(811,812)は、既に
フォントデータや図形データあるいはイメージデータな
どを記憶している領域で、空き領域(813)はなにも
データが記憶されていない領域を示している。第7図で
説明したように、使用領域管理テーブル411aは第7
図に示すようなデータ構成により、各使用領域の先頭ア
ドレスやサイズなどを記憶している。空き領域管理テー
ブル41 lbは、キャッシュメモリ406の空き領域
813の先頭アドレスやサイズを記憶しており、テーブ
ル411bの各ワードのデータ構成は、使用領域管理テ
ーブル411aのワードのデータ構成と同一である。な
お、前述した使用領域管理テーブル411aや空き領域
管理テーブル411bは第4図のテーブル411に格納
されている。
Reference numeral 411a denotes the used area management chifur explained in FIG. 7;
Reference numeral 11b is a free space management table that indicates free space in the cache memory 406, which will be described later. The used areas (811, 812) in the cache memory 406 are areas where font data, graphic data, image data, etc. are already stored, and the free area (813) is an area where no data is stored. ing. As explained in FIG. 7, the used area management table 411a is
The data structure shown in the figure stores the start address, size, etc. of each used area. The free space management table 41 lb stores the start address and size of the free space 813 of the cache memory 406, and the data structure of each word in the table 411b is the same as the data structure of the words in the used space management table 411a. . Note that the used area management table 411a and free area management table 411b described above are stored in the table 411 in FIG. 4.

第9図は実施例のプリンタにおける各データの管理テー
ブルを示す模式図である。
FIG. 9 is a schematic diagram showing a management table for each data in the printer of the embodiment.

903はアウトラインフォントデータの管理テーブル、
904は図形データの管理テーブル、905はイメージ
データの管理テーブル、そして906は外字やなロゴな
どのフォントデータな管理する管理テーブルを示してい
る。これらの管理テーブルは、文字フォントに対応する
文字コードなどを記憶しており、図形データの場合はイ
ンデックス情報などを記憶している。
903 is an outline font data management table;
904 is a management table for graphic data, 905 is a management table for image data, and 906 is a management table for managing font data such as external characters and logos. These management tables store character codes corresponding to character fonts, and in the case of graphic data, index information and the like.

このように、従来は管理テーブル505〜508のそれ
ぞれがそれぞれ対応するパターンデータを指示していた
のに対し、この実施例の管理テーブル903〜906の
それぞれは、キャッシュメモリ406のそれぞれに対応
している管理テーブル411の情報を指示している。
In this way, whereas conventionally each of the management tables 505 to 508 indicates the corresponding pattern data, each of the management tables 903 to 906 of this embodiment indicates the corresponding pattern data to each of the cache memory 406. The information in the management table 411 is specified.

この実施例のプリンタにおけるキャッシュメモリへの登
録動作を、第4図の概念図と第10図のフローチャート
を参照して説明する。
The registration operation in the cache memory in the printer of this embodiment will be explained with reference to the conceptual diagram of FIG. 4 and the flowchart of FIG. 10.

第10図のフローチャートは、例えばアウトラインフォ
ントなどをパターン展開し、キャッシュメモリ406に
登録する処理を示す。
The flowchart in FIG. 10 shows a process of developing a pattern of, for example, an outline font and registering it in the cache memory 406.

まずステップS1で、空き領域管理テーブル411bを
参照してキャッシュメモリ406の空き領域をサーチし
、登録したいパターン情報を格納できる空き領域がある
かどうかをみる。ステップS2で空き領域がないときは
、ステップs6でキャッシュメモリ406がフルである
として処理を終了する。
First, in step S1, a free space in the cache memory 406 is searched by referring to the free space management table 411b to see if there is a free space that can store the pattern information to be registered. If there is no free space in step S2, the cache memory 406 is determined to be full and the process ends in step s6.

そのパターンデータな登録できる空き領域があるときは
ステップS3に進み、そのパターンデータをキャッシュ
メモリ406の空き領域に格納し、ステップS4で使用
領域管理テーブル411aを更新する。次にステップS
5に進み、キャッシュメモリ406の空き領域管理テー
ブル411bを更新する。このようにして、キャッシュ
メモリ406にフォントデータやイメージデータなどが
コードやインデクス等とともに新たに登録され、次にこ
のコードやインデクスなどが指示されることにより、キ
ャッシュメモリ406より読出されて画像用メモリ40
7に展開され、印刷機構部303により印刷される。
If there is a free area in which the pattern data can be registered, the process proceeds to step S3, and the pattern data is stored in the free area of the cache memory 406, and the used area management table 411a is updated in step S4. Next step S
5, the free space management table 411b of the cache memory 406 is updated. In this way, font data, image data, etc. are newly registered in the cache memory 406 along with codes, indexes, etc., and then when the codes, indexes, etc. are instructed, they are read out from the cache memory 406 and stored in the image memory. 40
7 and printed by the printing mechanism section 303.

なお、キャッシュメモリ406がフルのときは、キャッ
シュメモリ406の空き領域のガベージコレクション(
空き領域をまとめて1つの太きな空き領域にする)を行
うか、または消去可能な使用領域を消去して空き領域を
作成した後、再度キャッシュメモリ406への登録処理
を実行するのが一般的である。
Note that when the cache memory 406 is full, garbage collection (
Generally, after creating a free space by creating a free space by creating a free space by combining the free space into one large free space, or by deleting the erasable used space, the process of registering the data into the cache memory 406 is executed again. It is true.

また、キャッシュメモリ406の使用領域が不要になっ
た時あるいは使用領域を消去する必要が生じた場合は、
今まで使用していた領域を空き領域管理テーブル411
bに登録し、使用領域管理テーブル411aの対応する
登録情報のフラグ720を“0”にしてを無効情報に変
更する。
Additionally, when the used area of the cache memory 406 is no longer needed or it becomes necessary to erase the used area,
Free space management table 411
b, and set the flag 720 of the corresponding registration information in the used area management table 411a to "0" to change it to invalid information.

前述した実施例では、キャッシュメモリ406に格納す
るデータとしてアウトラインフォントをパターン展開し
たフォント情報、登録図形情報、イメージ情報外字やロ
ゴ等としたが、これに限定されるものでなく、例えばビ
ットマツプフォントを拡大あるいは縮小したフォント情
報や各種書体の文字などでもよい。
In the above-mentioned embodiment, the data stored in the cache memory 406 includes font information obtained by developing patterns of outline fonts, registered graphic information, image information, external characters, logos, etc., but the data is not limited to this, and for example, bitmap fonts, etc. It may also be font information that is enlarged or reduced, or characters in various fonts.

また、キャッシュメモリ406への書くデータの登録順
は格納処理の順序でなく、例えばホストコンピュータよ
りの指示がなければ消去できないものはキャッシュメモ
リの先頭より順次格納していき、プリンタ側で必要に応
じて随時消去できるものはキャッシュメモリ406の後
方のアドレスから順次格納するようにすれば、キャッシ
ュメモリ406における虫食い状態(キャッシュメモリ
の空き領域が散在する状態)が発生しにくくなるため、
キャッシュメモリの使用効率がより向上する。
Furthermore, the order in which the data to be written to the cache memory 406 is registered is not the order of storage processing; for example, data that cannot be erased without instructions from the host computer is stored sequentially from the beginning of the cache memory, and the printer side stores it as necessary. If the data that can be erased at any time is stored sequentially from the last address in the cache memory 406, the moth-eaten state in the cache memory 406 (a state in which free areas of the cache memory are scattered) is less likely to occur.
Cache memory usage efficiency is further improved.

また第11図の910で示すように、キャッシュメモリ
406に空き領域が連続して存在していれば、それらの
空き領域を1つにまとめて911として定義して管理す
るようにすれば、キャッシュメモリ406の使用効率が
より向上する。
Furthermore, as shown by 910 in FIG. 11, if there are consecutive free areas in the cache memory 406, if these free areas are grouped together and managed as 911, the cache The usage efficiency of memory 406 is further improved.

なお、この実施例ではプリンタの場合を例にとって説明
したがこれに限定されるものでなく、例えばデイスプレ
ィ装置やワードプロセッサ等のように、各種のパターン
データを登録して展開する機能を有している装置全てに
適用できることはもちろんである。
Note that although this embodiment has been explained using a printer as an example, the present invention is not limited to this; for example, a display device, a word processor, etc. have a function of registering and developing various pattern data. Of course, it can be applied to all devices.

以上説明したように本実施例によれば、アウトラインフ
ォントのビットマツプ展開パターンや図形、イメージあ
るいは外字フォントなどをまとめてキャッシュメモリに
記憶させ、キャッシュメモリの使用領域や空き領域を管
理することにより、キャッシュメモリの使用効率を向上
できる。
As explained above, according to this embodiment, bitmap development patterns of outline fonts, figures, images, external character fonts, etc. are collectively stored in the cache memory, and the used area and free area of the cache memory are managed. Memory usage efficiency can be improved.

[発明の効果] 以上説明したように本発明によれば、アウトラインフォ
ントの展開パターンや、登録図形、登録イメージ、外字
登録領域を同じワークメモリにまとめて記憶させること
により、キャッシュメモリの使用効率を向上させるとと
もに、ビットパターンデータへの展開処理速度を向上で
きる効果がある。
[Effects of the Invention] As explained above, according to the present invention, cache memory usage efficiency can be improved by collectively storing outline font expansion patterns, registered figures, registered images, and external character registration areas in the same work memory. This has the effect of improving the processing speed of processing into bit pattern data.

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

第1図は実施例のプリンタの概略機能構成を示す機能ブ
ロック図、 第2図はこの実施例におけるキャッシュメモリのデータ
例を示す図、 第3図はホストコンピュータと実施例のプリンタの接続
および概略構成を示す図、 第4図は実施例のプリンタの制御部の概略構成を示すブ
ロック図、 第5図と第6図は従来の各パターンデータの管理を示す
概念図、 第7図〜第9図は実施例におけるキャッシュメモリと使
用領域管理テーブルとの関連を示す概念図、 第10図は実施例のプリンタの制御部によるパターン展
開処理を示すフローチャート、そして第11図は他の実
施例のキャッシュメモリの空き領域の合成処理を示す図
である。 図中、101・・・アウトラインフォント管理部、10
2・・・図形データ管理部、103・・・イメージデー
タ管理部、104・・・外字フォント管理部、105・
・・キャッシュメモリ管理部、106・・・キャッシュ
メモリ、107・・・出力情報展開部、108・・・出
力データ記憶部、109・・・出力部、300・・・プ
リンタ、301・・・ホストコンピュータ、302・・
・制御部、303・・・印刷機構部、401・・・CP
U、402・・・プログラムROM、403・・・アウ
トラインフォントメモリ、404 用ワークメモリ、4
゜6・・・キャッシュメモリ、407・・・画像用メモ
リ、411・・・テーブルである。 ■ ■ ■ L−一一一一一 」 〜
Fig. 1 is a functional block diagram showing the general functional configuration of the printer of the embodiment, Fig. 2 is a diagram showing an example of data in the cache memory in this embodiment, and Fig. 3 is an outline of the connection between the host computer and the printer of the embodiment. Fig. 4 is a block diagram showing the schematic structure of the control unit of the printer of the embodiment; Figs. 5 and 6 are conceptual diagrams showing the conventional management of each pattern data; Figs. 7 to 9 FIG. 10 is a conceptual diagram showing the relationship between the cache memory and the used area management table in the embodiment, FIG. 10 is a flowchart showing pattern development processing by the control unit of the printer in the embodiment, and FIG. 11 is a cache memory in another embodiment. FIG. 3 is a diagram illustrating processing for composing memory free areas. In the figure, 101... outline font management section, 10
2... Graphic data management section, 103... Image data management section, 104... External character font management section, 105.
... Cache memory management unit, 106... Cache memory, 107... Output information expansion unit, 108... Output data storage unit, 109... Output unit, 300... Printer, 301... Host Computer, 302...
- Control unit, 303...Printing mechanism unit, 401...CP
U, 402...Program ROM, 403...Outline font memory, 404 work memory, 4
゜6... Cache memory, 407... Image memory, 411... Table. ■ ■ ■ L-1111” ~

Claims (2)

【特許請求の範囲】[Claims] (1)複数の画像データを登録し、対応するコード情報
を入力すると対応する画像データを読出して出力できる
画像情報処理装置であつて、 カテゴリーの異なる独立した複数の画像データを記憶す
る記憶手段と、 前記記憶手段の空き領域と使用領域とをそれぞれ記憶す
る領域記憶手段と、 前記カテゴリーのそれぞれ対し、前記画像データを検索
するための検索情報を記憶している検索情報記憶手段と
、 前記検索情報をもとに前記領域記憶手段を参照して画像
データを読出すとともに、前記記憶手段への画像データ
の登録時、前記領域記憶手段を参照して空き領域を検出
するように制御する制御手段と を有することを特徴とする画像情報処理装置。
(1) An image information processing device capable of registering a plurality of image data and reading and outputting the corresponding image data when corresponding code information is input, and a storage means for storing a plurality of independent image data of different categories; , an area storage means for storing a free area and a used area of the storage means, respectively; a search information storage means for storing search information for searching the image data for each of the categories; and the search information. control means for controlling the image data to be read by referring to the area storage means based on the area storage means, and to detect an empty area by referring to the area storage means when registering the image data to the storage means; An image information processing device comprising:
(2)前記画像データはパターンを表すベクトル情報を
展開したビットマップパターンで、前記記憶手段はキャ
ッシュメモリであることを特徴とする請求項第1項に記
載の画像情報処理装置。
(2) The image information processing apparatus according to claim 1, wherein the image data is a bitmap pattern obtained by developing vector information representing a pattern, and the storage means is a cache memory.
JP1061021A 1989-03-15 1989-03-15 Picture information processor Pending JPH02241267A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1061021A JPH02241267A (en) 1989-03-15 1989-03-15 Picture information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1061021A JPH02241267A (en) 1989-03-15 1989-03-15 Picture information processor

Publications (1)

Publication Number Publication Date
JPH02241267A true JPH02241267A (en) 1990-09-25

Family

ID=13159242

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1061021A Pending JPH02241267A (en) 1989-03-15 1989-03-15 Picture information processor

Country Status (1)

Country Link
JP (1) JPH02241267A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0594174A (en) * 1991-10-03 1993-04-16 Mitsubishi Electric Corp Monitor device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0594174A (en) * 1991-10-03 1993-04-16 Mitsubishi Electric Corp Monitor device

Similar Documents

Publication Publication Date Title
US4949188A (en) Image processing apparatus
US5018883A (en) Vector font processing in a printing device
US5694485A (en) Outputting method and apparatus which reuses already-developed output patterns
JP2974322B2 (en) Character processing apparatus and method
US6061070A (en) Character outputting
JPH02241267A (en) Picture information processor
JPH06274145A (en) Character processor
JP3420457B2 (en) Document processing method and apparatus
JP2661742B2 (en) Character processor
JP2773691B2 (en) Printer device
JP3121103B2 (en) Character processing apparatus and method
JP3054157B2 (en) Character processing device and character processing method
JPH0216068A (en) Image forming device
JPH07125390A (en) Image recognition processor
JP2710131B2 (en) Character processing apparatus and method
JP3423113B2 (en) Cache control device and character output device
JPH02289068A (en) Document processor
JP3289541B2 (en) Printing data creation device
JPH06149208A (en) Character generating device
JPH05158453A (en) Character retrieving system
JPH064396A (en) Image plotter
JPH02289088A (en) Document processor
JPH10161627A (en) Method and device for outputting and expanding character
JPH10188022A (en) Image processing method, its device and storage medium storing program executing the method
JPH06274144A (en) Character processor