JPS58223177A - Graphic japanese character pattern generator - Google Patents

Graphic japanese character pattern generator

Info

Publication number
JPS58223177A
JPS58223177A JP57107348A JP10734882A JPS58223177A JP S58223177 A JPS58223177 A JP S58223177A JP 57107348 A JP57107348 A JP 57107348A JP 10734882 A JP10734882 A JP 10734882A JP S58223177 A JPS58223177 A JP S58223177A
Authority
JP
Japan
Prior art keywords
kanji
pattern
storage device
code
cell
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
JP57107348A
Other languages
Japanese (ja)
Inventor
近藤 洋司
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP57107348A priority Critical patent/JPS58223177A/en
Publication of JPS58223177A publication Critical patent/JPS58223177A/en
Pending legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Abstract] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 発明の技術分野 本発明は、漢字処理端末、漢字プリンタなどに使用され
る漢字パターン発生装置に関し、特に内部メモリと外部
メモリの階層構造の漢字パターンメモリを用いて多種類
の漢字パターンを効率的に取出すための漢字パターン発
生装置に関する。
[Detailed Description of the Invention] Technical Field of the Invention The present invention relates to a kanji pattern generation device used in a kanji processing terminal, a kanji printer, etc. The present invention relates to a kanji pattern generator for efficiently extracting kanji patterns.

技術の背景 最近の漢字データ処理装置において使用されている漢字
ディスプレイ端末あるいは漢字プリンタのほとんどは、
ドツトタイプのものであり、処理装置から出力された漢
字コードを漢字ドツトパターンに変換するために漢字パ
ターン発生器CG、あるいは漢字パターンメモリをそな
えている。
Technical background Most of the kanji display terminals or kanji printers used in modern kanji data processing equipment are
It is of a dot type and is equipped with a Kanji pattern generator CG or a Kanji pattern memory to convert the Kanji code output from the processing device into a Kanji dot pattern.

通常、漢字データ処理に使用される漢字の種類は44乃
至64字程度であるが、人名その他特殊なデータについ
ても対応できるようにするためには、1万乃至2万字程
度が必要となる。また1文字のパターンは、14X14
あるいは24X24ドツトで構成されるため、記憶容量
としてはIOM乃至20Mビットもの大きさとなる。こ
れらの全てをROMあるいはRAMで用意することはコ
スト的に問題があり、またフロッピィディスクのような
外部メモリを使用するとすれば、処理速度が遅くなると
いう問題がある。
Normally, the types of Kanji used in Kanji data processing are about 44 to 64 characters, but in order to be able to handle special data such as personal names, about 10,000 to 20,000 characters are required. Also, the pattern for one character is 14X14
Alternatively, since it is composed of 24×24 dots, the storage capacity is as large as IOM or 20 Mbits. Preparing all of these in ROM or RAM poses a problem in terms of cost, and if an external memory such as a floppy disk is used, there is a problem in that the processing speed becomes slow.

発明の目的および構成 本発明の目的は、経済的で高速処理が可能な漢字パター
ン発生装置を提供することにあり、漢字パターンメモリ
を高速小容量の内部メモリと低速大容蓋の外部メモリと
を階層構造にして、内部メモリには、常に高い利用頻度
をもつ漢字のノくターンが配置されるように管理するも
のである。
OBJECTS AND STRUCTURE OF THE INVENTION An object of the present invention is to provide an economical kanji pattern generator that is capable of high-speed processing. It is managed in a hierarchical structure so that the nokturns of kanji that are used frequently are always arranged in the internal memory.

本発明は、そのための具体的構成として、漢字出力装置
において、漢字コードにより参照される漢字パターンテ
ーブルを格納した外部記憶装置と、該漢字パターンテー
ブルの中から選択された複数の漢字パターンを記憶しセ
ル番号により管理される内部記憶装置と、上記漢字パタ
ーンテーブルに対応して漢字コードにより参照されテー
ブル内の漢字パターン毎に該漢字パターンが上記内部記
憶装置に記憶されていることの有無および記憶されてい
る場合にはそのセル番号を保持する漢字コード管理テー
ブルと、峡漢字コード管理テーブルの漢字コード毎にそ
のアクセス情報を管理する手段と、該アクセス情報に基
づいて上記内部記憶装置に記憶されている漢字パターン
を他の適切な漢字パターンで置換える手段とをそなえて
いることを特徴とするものである。
As a specific configuration for this purpose, the present invention includes, in a kanji output device, an external storage device that stores a kanji pattern table referenced by a kanji code, and a plurality of kanji patterns selected from the kanji pattern table. An internal storage device managed by a cell number, and a kanji pattern referenced by a kanji code corresponding to the kanji pattern table to determine whether or not the kanji pattern is stored in the internal storage device for each kanji pattern in the table. If so, a kanji code management table that holds the cell number, a means for managing the access information for each kanji code in the kyō kanji code management table, and a means for managing the access information for each kanji code in the kyō kanji code management table; The present invention is characterized in that it includes a means for replacing the current kanji pattern with another appropriate kanji pattern.

発明の実施例 はじめに、本発明実施例の基本構成を、第1図により説
明する。
Embodiments of the Invention First, the basic configuration of an embodiment of the invention will be explained with reference to FIG.

同図において、1は外部記憶装置であり、システム内で
使用可能な全漢字コードについての漢字パターンを収容
した漢字バター/テーブル2を保持している。
In the figure, 1 is an external storage device that holds a kanji butter/table 2 containing kanji patterns for all kanji codes available in the system.

3は、使用頻度の高い一定数の漢字パターンのみを格納
した内部記憶装置であり、各漢字パターンは、漢字コー
ドではな(セル番号によりアクセス管理されている。
Reference numeral 3 denotes an internal storage device that stores only a certain number of frequently used kanji patterns, and each kanji pattern is access-controlled not by a kanji code but by a cell number.

4は漢字コード管理テーブルであり、4aに拡大して示
すように入力データの各漢字コードを、内部記憶装R3
の該当漢字パターン位置に対するセル番号に変換すると
ともに、その漢字パターンに対するアクセス回数を記録
している。なお、漢字コード管理テーブル4は、漢字パ
ターンテーブル2に、1対1に対応させてつくられてい
る。したがって、内部記憶装置3に漢字パターンが置か
れていない漢字コードには、セル番号が割当てられない
4 is a kanji code management table, and as shown enlarged in 4a, each kanji code of the input data is stored in the internal storage device R3.
It converts into a cell number for the corresponding Kanji pattern position, and records the number of accesses to that Kanji pattern. Note that the kanji code management table 4 is created in one-to-one correspondence with the kanji pattern table 2. Therefore, no cell number is assigned to a kanji code for which a kanji pattern is not placed in the internal storage device 3.

5は漢字総アクセスカウンタであり、漢字コード管理テ
ーブル4ヘアクセスした総回数をカウントし、各漢字コ
ード毎のアクセス回路を利用率の面から評価するときの
基準データを与える。
A kanji total access counter 5 counts the total number of accesses to the kanji code management table 4 and provides reference data for evaluating access circuits for each kanji code in terms of usage rate.

6は空きセル列、7はセル要求漢字コード列であり、内
部記憶装置3に配置されている漢字パターンを、その利
用率に応じて置換えるためのセル管理に使用される。
Reference numeral 6 indicates an empty cell string, and 7 indicates a cell request Kanji code string, which is used for cell management for replacing Kanji patterns arranged in the internal storage device 3 according to their usage rates.

動作において、■でデータが入力されたとき、その漢字
コードにしたがって漢字コード管理テーブル4を参照し
、漢字パターンセル番号を調べる。
In operation, when data is input in (■), the Kanji code management table 4 is referred to according to the Kanji code, and the Kanji pattern cell number is checked.

漢字パターンセル番号が置かれているときには、該当す
る漢字パターンセルを、■で示すように内部記憶装置3
から読み出して出力する。
When a kanji pattern cell number is placed, the corresponding kanji pattern cell is stored in the internal storage device 3 as shown by ■.
Read from and output.

このとき、アクセス回数を+1して、利用率を評価する
。利用率が一定基準値以下であるときには、その漢字パ
ターンを内部記憶装置3から外部記憶装置へ返却し、セ
ルを空きセル列に登録する。
At this time, the usage rate is evaluated by adding 1 to the number of accesses. When the usage rate is below a certain reference value, the kanji pattern is returned from the internal storage device 3 to the external storage device, and the cell is registered in the empty cell column.

他方、入力データについて漢字コード管! テーブル4
を1照したとき、該当漢字コード位置に漢字パターンセ
ル番号がなかった場合には、■で示すように、外部記憶
装置1の漢字パターンテーブル2から該当漢字パターン
を読出して出力する。
On the other hand, regarding input data, Kanji code tube! table 4
When the kanji pattern cell number is not found at the corresponding kanji code position, the corresponding kanji pattern is read out from the kanji pattern table 2 of the external storage device 1 and output as shown by ■.

このとき、前回と同様にアクセス回路を+1して利用率
を評価し、それが一定基準値以下であれば、その漢字コ
ードをセル要求漢字コード列7に登録する。そして空き
セル列6に突きセルがあれば、そのセルに漢字パターン
テーブル2から続出した漢字パターンを書込み、漢字コ
ード管理テープル4の対応位置に、そのセル番号を登録
する。
At this time, as in the previous case, the access circuit is increased by +1 to evaluate the utilization rate, and if it is below a certain reference value, the kanji code is registered in the cell request kanji code string 7. If there is a punched cell in the empty cell column 6, the kanji pattern that successively follows from the kanji pattern table 2 is written in that cell, and the cell number is registered at the corresponding position in the kanji code management table 4.

また、使用した空きセルとセル要求漢字コードとを、そ
れぞれ空きセル列6およびセル要求漢字コード列から取
外する。なお、極端に利用率が低くて、アクセスされな
いものが、内部記憶装置3内に残留する可能性があるが
、これらは一定周期でチェックし、排除すればよい。
Furthermore, the used empty cells and cell requested kanji codes are removed from the empty cell string 6 and the cell requested kanji code string, respectively. Note that there is a possibility that items that are not accessed due to an extremely low utilization rate remain in the internal storage device 3, but these can be checked at regular intervals and eliminated.

このようにして、内部記憶装置3に格納されている漢字
パターンは、利用率の低いものが利用率の高いものによ
り動的に置換えられて行き、内部記憶装置3内に存在す
る漢字パターンの種類は、最新の利用率を考慮した効率
の高いものに維持される。
In this way, among the kanji patterns stored in the internal storage device 3, those with a low usage rate are dynamically replaced by those with a high usage rate, and the types of kanji patterns existing in the internal storage device 3 are is maintained at a high level of efficiency considering the latest utilization rate.

第2図は、本実施例装置のシステム構成図である。同図
において、参照番号1乃至7は第1図に示した構成要素
に対応するもの、8は漢字パターンアクセス制御装置、
9は制御部、10は置換えアルゴリズム処理部、11は
データバッファ、12はドライブバッファを表わしてい
る。
FIG. 2 is a system configuration diagram of the apparatus of this embodiment. In the same figure, reference numbers 1 to 7 correspond to the components shown in FIG. 1, 8 is a kanji pattern access control device,
Reference numeral 9 represents a control section, 10 a replacement algorithm processing section, 11 a data buffer, and 12 a drive buffer.

図示しない漢字データ処理装置、たとえばワードプロセ
ッサなどによる処理結果の出力データは、データバッフ
ァ11に入力される。なお、データバッファ11は、他
の記憶装置によって置換えられることもある。漢字パタ
ーンアクセス制御装置8は、第1図で説明した本発明の
機能を実現1−る主要部である。
Output data as a result of processing by a kanji data processing device (not shown), such as a word processor, is input to a data buffer 11 . Note that the data buffer 11 may be replaced by another storage device. The kanji pattern access control device 8 is the main part that realizes the functions of the present invention explained in FIG.

照して、内部記憶装置3あるいは外部記憶装置1から対
応する漢字パターンを続出し、ドライブバッファ12ヘ
セツトする。また、それとテーブル4中の漢字コード毎
のアクセス回数データおよび漢字総アクセスカウンタ5
の値にしたがって、置換えアルゴリズム処理部10は、
置換えの是否を判定し、必要な場合、空きセル列6、セ
ル要求漢字コード列7を制御し、漢字コード管理テーブ
ル4および内部記憶装置3を更新する。
Then, corresponding kanji patterns are successively retrieved from the internal storage device 3 or external storage device 1 and set in the drive buffer 12. In addition, the access count data for each kanji code in Table 4 and the kanji total access counter 5
According to the value of , the replacement algorithm processing unit 10
It determines whether or not the replacement is appropriate, and if necessary, controls the empty cell string 6 and cell requested kanji code string 7, and updates the kanji code management table 4 and internal storage device 3.

漢字コード管理テーブル4、空きセル列6、セル要求漢
字コード列7は、適当な記憶装置上に置かれている。
The kanji code management table 4, empty cell string 6, and cell request kanji code string 7 are placed on a suitable storage device.

漢字コード管理テーブル4は、入力データの漢字コード
によりアクセスされるが、記憶装置上の位置により、必
要なアドレス変換が施される。空きセル列6およびセル
要求漢字コード列7は、ポインタを用いてスタック構造
にすることができる。
The Kanji code management table 4 is accessed by the Kanji code of the input data, but necessary address conversion is performed depending on the location on the storage device. The empty cell string 6 and the cell request Kanji code string 7 can be made into a stack structure using pointers.

置換えアルゴリズム処理部1oは、漢字総アクセスカウ
ンタ5の値に応じて、そのときどきの漢字パターン置換
えを判定するための適切な基準値を計算する。動作時に
、この基準値と管理テーブル4の漢字コード別アクセス
回数とを比較し、その大小関係に基づいて置換えを制御
する。上述した置換えアルゴリズムは、過去の使用累積
数に強く依存するものであるが、外にも、最後のか照が
最も以前のものを置換えるL RU (Least R
ecentlyUsed)置換えアルゴリズムや、設定
時期が最も古いものを先に置換え対象とする先着順方式
(first−in−f 1rst−out )、ある
いはランダム置換え方式を、単独にあるいは紹合わせて
使用することもできる。
The replacement algorithm processing unit 1o calculates an appropriate reference value for determining the replacement of the kanji pattern at that time, according to the value of the kanji total access counter 5. During operation, this reference value is compared with the number of accesses for each Kanji code in the management table 4, and replacement is controlled based on the magnitude relationship. The above-mentioned replacement algorithm strongly depends on the cumulative number of past uses, but it also uses LRU (Least RRU) where the last light replaces the earliest one.
It is also possible to use the recentlyUsed) replacement algorithm, the first-in-f1rst-out method in which the oldest setting is replaced first, or the random replacement method, either alone or in combination. .

発明の効果 以上述べたように、本発明によれば、多数の文字種を取
扱うことができ、しかも高能率の漢字出力装置を、低コ
ストで提供することができる。
Effects of the Invention As described above, according to the present invention, it is possible to provide a highly efficient kanji output device that can handle a large number of character types at a low cost.

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

第1図は本発明実施例の基不榴成歓り3図、記2図は5
)!、施施装装置構成図である。 図中、1は外部記憶装置、2は漢字パターンテーブル、
3は内部目「“、憶荻徴、4は漢字コード管理−r−プ
ル、5は漢字総アクセスカウンタ、6は空きセル列、7
はセル要求漢字コード列を衣わす。 特許出願人  t±通株式会社 代理人弁理士  長谷用 文 廣 (外1名)
Figure 1 is a 3rd diagram of the basic development of the embodiment of the present invention, and Figure 2 is a 5th diagram.
)! , is a configuration diagram of an application device. In the figure, 1 is an external storage device, 2 is a kanji pattern table,
3 is the internal eye "", memory ogicho, 4 is Kanji code management-r-pull, 5 is Kanji total access counter, 6 is empty cell string, 7
displays the cell request kanji code string. Patent applicant: t±Tsu Co., Ltd. Representative Patent Attorney Fumihiro Hase (1 other person)

Claims (1)

【特許請求の範囲】 漢字出力装置において、漢字コードにより参照される漢
字パターンテーブルを格納した外部記憶装置と、該漢字
パターンテーブルの中から選択された複数の漢字パター
ンを記憶しセル番号により管理される内部記憶装置と、
上記漢字パターンテーブルに対応して漢字コードにより
参照されテーブル内の漢字バター/毎に該漢字パターン
が上記内部記憶装置に記憶されていることの有無および
記憶され【いる場合にはそのセル番号を保持する漢字コ
ード管理テーブルと、該漢字コード管理テーブルの漢字
コード毎にそのアクセス情報を管理する手段と、該アク
セス情報に基づいて上記内部記憶装置に記憶されている
漢字パターンを他の適切な漢字パターンで置換える手段
をそなえていることを%徴とする漢字パターン発生装置
[Claims] A kanji output device includes an external storage device that stores a kanji pattern table referenced by a kanji code, and a plurality of kanji patterns selected from the kanji pattern table that are managed by cell numbers. an internal storage device,
Corresponding to the above kanji pattern table, it is referenced by the kanji code, and for each kanji pattern in the table, whether or not the kanji pattern is stored in the internal storage device, and if so, its cell number is retained. a means for managing access information for each kanji code in the kanji code management table; and a means for managing access information for each kanji code in the kanji code management table; A kanji pattern generator characterized by having a means for replacing with .
JP57107348A 1982-06-21 1982-06-21 Graphic japanese character pattern generator Pending JPS58223177A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57107348A JPS58223177A (en) 1982-06-21 1982-06-21 Graphic japanese character pattern generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57107348A JPS58223177A (en) 1982-06-21 1982-06-21 Graphic japanese character pattern generator

Publications (1)

Publication Number Publication Date
JPS58223177A true JPS58223177A (en) 1983-12-24

Family

ID=14456772

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57107348A Pending JPS58223177A (en) 1982-06-21 1982-06-21 Graphic japanese character pattern generator

Country Status (1)

Country Link
JP (1) JPS58223177A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6291989A (en) * 1985-10-18 1987-04-27 株式会社リコー Extra character controller for word processor
JPS63228195A (en) * 1987-03-17 1988-09-22 キヤノン株式会社 Character generator
JPH02100095A (en) * 1988-10-07 1990-04-12 Fujitsu Ltd External character registration device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6291989A (en) * 1985-10-18 1987-04-27 株式会社リコー Extra character controller for word processor
JPS63228195A (en) * 1987-03-17 1988-09-22 キヤノン株式会社 Character generator
JPH02100095A (en) * 1988-10-07 1990-04-12 Fujitsu Ltd External character registration device

Similar Documents

Publication Publication Date Title
US7831624B2 (en) Skip list with address related table structure
US4542477A (en) Information retrieval device
JPS58223177A (en) Graphic japanese character pattern generator
KR950033947A (en) How to Allocate Printer and Cache Memory Space
EP0197907B1 (en) Display device
CN110825658B (en) Flash memory controller and method
EP0567420A1 (en) Multi-bit vector for page aging
JP3240673B2 (en) How to manage character patterns
KR860003478Y1 (en) Character generator of computer terminal
EP0367683A3 (en) Device for decoding instruction code
CA2140963C (en) Flag-based high-speed i/o data transfer
JPS6252310B2 (en)
Pritchard et al. Computational chemistry in the 1950s
JPS5856140A (en) Output equipment of data processor
JPS5987567A (en) Variable length data storage controlling system
JPH0962564A (en) Buffer allocation control system
JPH0715623B2 (en) Display device
JP3896683B2 (en) User-defined character management device and storage medium
KR100258933B1 (en) Memory management device and method thereof
Anderson et al. Design of a time-sharing system allowing interactive graphics
CN109975883A (en) The automatic recording device of ground magnetic day change instrument data
JPH0934432A (en) Display device
JPS5838988A (en) Graphic generator
JPS62283392A (en) Kanji processor
JPH05324219A (en) Bar code font generation controller