JPS61275790A - Character font management system for character display unit - Google Patents

Character font management system for character display unit

Info

Publication number
JPS61275790A
JPS61275790A JP60118522A JP11852285A JPS61275790A JP S61275790 A JPS61275790 A JP S61275790A JP 60118522 A JP60118522 A JP 60118522A JP 11852285 A JP11852285 A JP 11852285A JP S61275790 A JPS61275790 A JP S61275790A
Authority
JP
Japan
Prior art keywords
character
code
management table
font management
memory
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
JP60118522A
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 JP60118522A priority Critical patent/JPS61275790A/en
Publication of JPS61275790A publication Critical patent/JPS61275790A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

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

Description

【発明の詳細な説明】 〔概要〕 文字表示装置の表示文字の管理方式であって、文字コー
ドの上位バイトと下位バイトによって管理する文字フォ
ント管理テーブルと、それに対応する文字データのバッ
ファメモリとを設け、文字データのアクセス時間を短縮
する。
[Detailed Description of the Invention] [Summary] A method for managing characters displayed on a character display device, which includes a character font management table managed by upper and lower bytes of character codes, and a buffer memory for character data corresponding to the character font management table. to shorten the access time for character data.

〔産業上の利用分野〕[Industrial application field]

本発明は文字表示装置における表示する文字コードの管
理方式に関するものである。
The present invention relates to a method for managing character codes displayed in a character display device.

文字表示装置ではディスプレイ画面に表示するためにキ
ーボードから入力された文字は文字コードに変換され、
文字データを格納するメモリから文字コードによって文
字データが読み出され、画面に表示される。
In a character display device, characters entered from the keyboard are converted into character codes to be displayed on the display screen.
Character data is read from the memory that stores character data according to the character code and displayed on the screen.

漢字を含む日本語の字種は外国語に比べて極めて多く、
かつ字形が複雑な文字表現をドツトで行うためにドツト
数を多く必要とし、従ってこれらの文字データを記憶す
るメモリの容量は極めて膨大となる。
There are far more Japanese characters, including kanji, than in foreign languages.
In addition, in order to express characters with complicated glyph shapes using dots, a large number of dots are required, and therefore the capacity of memory for storing these character data becomes extremely large.

また、膨大なメモリの中から要求された文字データを探
索して、読み出すために、それだけ長い読み出し時間を
必要とすることになる。
Furthermore, in order to search and read out the requested character data from a huge amount of memory, a correspondingly long readout time is required.

そのために、膨大な容量のメモリからアクセスする時間
を短縮する方式が要望されている。
Therefore, there is a need for a method that shortens the time required to access a huge amount of memory.

〔従来の技術〕[Conventional technology]

キーボードから打ち込まれた文字は文字コードに変換さ
れ、文字データが記憶された文字メモリ例えば、磁気デ
ィスクの内容を探索し、文字コードに該当する文字デー
タを読み出し、ディスプレイ画面上に文字として表示さ
れる。
Characters typed from the keyboard are converted into character codes, and the contents of a character memory (for example, a magnetic disk) in which character data is stored are searched, character data corresponding to the character code is read out, and the character data is displayed as characters on the display screen. .

この際、1文字づつメモリから文字データをアクセスす
るので、1画面を表示するのに表示文字数の時間を必要
とするが、長いアクセス時間を要するようでは装置とし
て使用にたえなくなる。
At this time, since the character data is accessed from the memory one character at a time, it takes the same amount of time as the number of characters to display to display one screen, but if the access time is long, the device becomes unusable.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

この従来の方式では、表示する文字の文字データは全て
1つのメモリに格納されているために、表示できる字種
が増加し、字形の表現をよ(しようとして文字構成ドツ
ト数が増加すればするほど、メモリ容量が増加し、メモ
リ容量増加すれば、増加するほどメモリをアクセスする
時間がかかることになる。
In this conventional method, all character data for characters to be displayed is stored in one memory, so the number of character types that can be displayed increases, and the number of dots that make up a character increases when trying to express a character shape. The more the memory capacity increases, the more time it takes to access the memory.

本発明はこのような点にかんがみて創出されたものであ
って、メモリからのアクセス時間を短縮することが可能
な文字フォント管理方式を提供することを目的とするも
のである。
The present invention was created in view of these points, and an object of the present invention is to provide a character font management method that can shorten the access time from memory.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の文字フォント管理方式の原理ブロック
図を示す。
FIG. 1 shows a block diagram of the principle of the character font management system of the present invention.

第1図において1は装置の制御を司るプロセッサ、2は
装置制御に必要なプログラムを格納する主記憶部、3は
文字メモリ例えば磁気ディスク装置で、文字表示装置に
必要する全ての文字のデータを格納する。
In FIG. 1, 1 is a processor that controls the device, 2 is a main memory that stores programs necessary for controlling the device, and 3 is a character memory, such as a magnetic disk device, which stores all the character data necessary for the character display device. Store.

4は表示制御部でキーボード5の入力装置とディスプレ
イ6が接続される。
Reference numeral 4 denotes a display control unit to which an input device of a keyboard 5 and a display 6 are connected.

主記憶部2、磁気ディスク装置3、表示制御部4はプロ
セッサ1のバス線に接続され、データの交換が行われる
The main storage section 2, magnetic disk device 3, and display control section 4 are connected to the bus line of the processor 1, and data is exchanged.

表示制御部4はキーボード5から入力された信号を文字
コードに変換するコード変換回路41、コード変換回路
41が出力する文字コードの上位バイト、下位バイトに
よって文字フォント管理テーブル(以下管理テーブルと
称する)43上に文字の割付けを行うポインタ42と、
管理テーブル43に記憶された文字の文字データを格納
したバッファメモリ44と、読み出された文字データを
記憶する読み出しレジスタ45から構成されている。
The display control unit 4 includes a code conversion circuit 41 that converts a signal input from the keyboard 5 into a character code, and a character font management table (hereinafter referred to as a management table) based on the upper byte and lower byte of the character code output by the code conversion circuit 41. a pointer 42 for allocating characters on 43;
It is comprised of a buffer memory 44 that stores character data of characters stored in a management table 43, and a read register 45 that stores read character data.

キーボード5の入力は、コード変換回路4で文字コード
に変換され、ポインタ42によって管理テーブル43で
索引できれば、バッファメモリ44で文字データが読み
出され、読み出しレジスタ45に格納され、表示ディス
プレイ6で表示される。
The input from the keyboard 5 is converted into a character code by the code conversion circuit 4, and if it can be indexed in the management table 43 by the pointer 42, the character data is read out by the buffer memory 44, stored in the readout register 45, and displayed on the display 6. be done.

管理テーブル43で該当文字コードが記憶されていなけ
れば、その文字コードは磁気ディスク3に送出され、文
字データを索引するよう構成されている。
If the corresponding character code is not stored in the management table 43, the character code is sent to the magnetic disk 3 and the character data is indexed.

〔作用〕[Effect]

キーボードから入力され、文字コードに変換された信号
は、まず管理テーブルを索引して、その管理テーブルに
登録されているか否かチェックされる。
A signal input from the keyboard and converted into a character code is first indexed into a management table to check whether it is registered in the management table.

バッファメモリのメモリ容量は、文字メモリに比べて大
きくないので、アクセス時間も短くてすむ。
Since the memory capacity of the buffer memory is not as large as that of the character memory, the access time can be shortened.

さらに、読み出された文字コードは管理テーブルで管理
され、最近使用文字にこれを示すフラグコードが付加さ
れるので、使用頻度が高い文字フォントを格納するよう
になる。
Furthermore, the read character codes are managed in a management table, and a flag code indicating this is added to the recently used characters, so that frequently used character fonts are stored.

装置の使用文字は利用者、業務内容によってかなり限定
されるので、それら文字の使用頻度は高くなる。
Since the characters used by the device are considerably limited depending on the user and the business content, the frequency of use of these characters is high.

従って、文字コードの平均アクセス時間が短縮されるこ
とになる。
Therefore, the average access time for character codes is reduced.

〔実施例〕〔Example〕

以下、図面を参照して本発明の実施例を詳細に説明する
Embodiments of the present invention will be described in detail below with reference to the drawings.

第2図は本発明の文字フォント管理方式の一実施例の説
明図、 第3図は文字コード記憶説明図、 第4図はフローチャート説明図である。
FIG. 2 is an explanatory diagram of an embodiment of the character font management method of the present invention, FIG. 3 is an explanatory diagram of character code storage, and FIG. 4 is an explanatory diagram of a flowchart.

なお、全図を通じて同一符号は同一対象物を示す。Note that the same reference numerals indicate the same objects throughout the figures.

1つの文字コードが上位2バイト、下位2バイトの4バ
イトで構成されているものとする。
Assume that one character code consists of 4 bytes: upper 2 bytes and lower 2 bytes.

文字コードによって文字データ(例えば1文字72バイ
ト)を索引する第2図の文字コード表31に相当するも
のが、文字メモリ例えば、磁気ディスク3に記憶されて
いる。
A character code table 31 shown in FIG. 2 that indexes character data (for example, 72 bytes per character) by character code is stored in a character memory, for example, the magnetic disk 3.

管理テーブル43は表示制御部4にあって、m行n列の
記憶領域に区分され、その1つの記憶領域は第3図のよ
うに、例えば2個の文字コードが記憶できるようになっ
ている。
The management table 43 is located in the display control unit 4 and is divided into storage areas of m rows and n columns, and one storage area can store, for example, two character codes, as shown in FIG. .

そして記憶された文字コードにはフラグコードが付加さ
れる。
A flag code is added to the stored character code.

そして、管理テーブル43の記憶領域の1つi行j列(
i、j)w4域は文字コード表31をm行n列に区分し
た時の領域に対応する。
Then, one of the storage areas of the management table 43, row i and column j (
i, j) The w4 area corresponds to an area when the character code table 31 is divided into m rows and n columns.

即ち、上位バイト群がm分割され、下位バイト群がn分
割される。
That is, the upper byte group is divided into m parts, and the lower byte group is divided into n parts.

ポインタ42は、文字コードの上位バイトの記憶領域割
付けを行うポインタA421と、下位バイトの記憶領域
割付けを行うポインタB422とがあって、管理テーブ
ル43上に文字コードの割付けを行う。
The pointer 42 includes a pointer A 421 that allocates a storage area for the upper byte of a character code, and a pointer B 422 that allocates a storage area for the lower byte, and allocates the character code on the management table 43.

フラグコードの「1」は、2つの文字コードの中、後で
記憶された、即ち最近使用の文字コードを示し、「0」
はそれ以前に記憶された文字コードを示す。
The flag code "1" indicates the character code that was stored later, that is, the most recently used character code among the two character codes, and "0"
indicates the previously stored character code.

そして、新たに記憶される文字コードはフラグコードr
OJの文字コードに置き換わり、且つフラグコードは「
1」となる。
The newly stored character code is the flag code r
It will be replaced with the OJ character code, and the flag code will be “
1”.

従って、フラグコードが「1」であった文字コードはそ
のまま残るが、そのフラグコードは「O」となる。
Therefore, the character code whose flag code was "1" remains as is, but its flag code becomes "O".

バッファメモリ44は、管理テーブル43に記憶された
文字コードの文字データが記憶されていて、その文字コ
ードが書き換えられると、文字データも書き換えられる
The buffer memory 44 stores character data of the character codes stored in the management table 43, and when the character code is rewritten, the character data is also rewritten.

以下さらに具体的に本発明の文字フォントの管理方式を
説明する。
The character font management method of the present invention will be explained in more detail below.

いま、キーボード5からの表示入力信号が、コード変換
回路41で4バイトの文字コードA64B(以下、文字
コードは括弧を付けて示す)に変換され、ポインタ42
で管理テーブル43の(i、j)記憶領域が索引される
Now, the display input signal from the keyboard 5 is converted into a 4-byte character code A64B (hereinafter character codes are shown in parentheses) by the code conversion circuit 41, and the display input signal is sent to the pointer 42.
The (i, j) storage area of the management table 43 is indexed.

例えば、文字コード表31の上位2バイトがA6〜A8
、下位2バイトが4B、4Cの6文字コードが管理テー
ブル43の(i、j)記憶領域に対応するものとする。
For example, the upper two bytes of character code table 31 are A6 to A8.
, the six-character code whose lower two bytes are 4B and 4C corresponds to the (i, j) storage area of the management table 43.

管理テーブル43の(i、j)記憶領域に例えば(A8
4C)、(フラグコード「1」)と〔A64B)(フラ
グコード「0」)が記憶されていたとすると、バッファ
メモリ44から(A64B)の文字データが読み出され
、読み出しレジスタ45に記憶される。
For example, in the (i, j) storage area of the management table 43, (A8
4C), (flag code “1”) and [A64B) (flag code “0”), character data of (A64B) is read from the buffer memory 44 and stored in the read register 45. .

また管理テーブル43に登録された(A64B)のフラ
グコードはrlJとなり、(A 84 C)のフラグコ
ードはrOJとなる(第3(a)図)。
Further, the flag code of (A64B) registered in the management table 43 becomes rlJ, and the flag code of (A 84C) becomes rOJ (FIG. 3(a)).

また、管理テーブル43の(i、j)記憶領域に(A6
4B)が記憶されていす、例えば〔A34C)(フラグ
コード「1」)と(A74B)(フラグコード「0」)
が格納されていたとすると、ポインタ42は索引できず
、(A64B)は磁気ディスク3で索引され、その文字
データが読み出しレジスタ45に格納される。
Also, in the (i, j) storage area of the management table 43, (A6
4B) are stored, for example, [A34C) (flag code "1") and (A74B) (flag code "0")
is stored, the pointer 42 cannot be indexed, and (A64B) is indexed on the magnetic disk 3, and its character data is stored in the read register 45.

一方、管理テーブル43の(i、j)記憶領域は(A6
4B)  (フラグコード「1」)と、(A84C〕 
(フラグコード「0」)になる(第3(b)図)。
On the other hand, the (i, j) storage area of the management table 43 is (A6
4B) (Flag code “1”) and (A84C)
(Flag code "0") (Figure 3(b)).

なお、上記の例では管理テーブルの1記憶領域に記憶さ
れる文字コードは2個とし、「1」。
Note that in the above example, the number of character codes stored in one storage area of the management table is two, which is "1".

「0」のフラグコードを付与したが、1記憶領域に2個
以上の文字コードを記憶し、それぞれにフラグコードを
付与するようにしてもよいのは云うまでもない。
Although a flag code of "0" is given, it goes without saying that two or more character codes may be stored in one storage area and a flag code may be given to each of them.

また、本発明の方式は文字のみならず画像データの管理
に用いられ、かつ表示装置のみならず印字装置にも用い
られ得るものである。
Further, the method of the present invention can be used to manage not only character data but also image data, and can be used not only for display devices but also for printing devices.

〔発明の効果〕〔Effect of the invention〕

以上述べて来たように、本発明によれば、文字文字フォ
ント管理テーブルによって文字コードを管理することに
よって、文字データの読み出し速度が早くすることがで
き、実用的には極めて有用である。
As described above, according to the present invention, by managing character codes using a character character font management table, the reading speed of character data can be increased, which is extremely useful in practice.

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

第1図は本発明の原理ブロック図、 第2図は本発明の文字フォント管理テーブル説明図、 第3図は文字コード記憶説明図、 第4図はフローチャート説明図である。 図において、 3は文字メモリ (磁気ディスク)、 6はディスプレイ、 42はポインタ、 43は文字フォント管理テーブル、 44はバッファメモリである。 汗嵩りク^万ヒ理フーOy7じJ 第1図 Qフード・=qtlat、L”llIm第3図 Figure 1 is a block diagram of the principle of the present invention. FIG. 2 is an explanatory diagram of the character font management table of the present invention. Figure 3 is an explanatory diagram of character code storage. FIG. 4 is a flowchart explanatory diagram. In the figure, 3 is character memory (magnetic disk), 6 is the display, 42 is a pointer, 43 is a character font management table, 44 is a buffer memory. Sweaty ku ^ Manhi Rifu Oy7jiJ Figure 1 Q Food = qtlat, L”llImFigure 3

Claims (1)

【特許請求の範囲】 文字データを格納する文字メモリ(3)より文字コード
によって該文字データを読み出し、ディスプレイ(6)
に表示する文字表示装置において、前記文字コードの上
位バイトと下位バイトとに基づいてポインタ(42)で
割付けられた記憶領域を有し、該記憶領域に格納時系列
を示すフラグコードを付与した前記文字コードを記憶す
る文字フォント管理テーブル(43)と、 該文字フォント管理テーブル(43)に記憶された前記
文字コードの文字データを記憶するバッファメモリ(4
4)とを設け、 表示する文字コードを前記文字フォント管理テーブル(
43)で索引して、前記バッファメモリ(44)から該
文字コードの文字データを読み出し、前記文字フォント
管理テーブル(43)に登録されていない時は、前記文
字メモリ(3)から読み出し、同時に前記文字フォント
管理テーブル(43)の登録された前記文字コードと前
記フラグコードとを更新することを特徴とする文字表示
装置の文字フォント管理方式。
[Claims] The character data is read from the character memory (3) that stores the character data according to the character code, and the character data is displayed on the display (6).
The character display device has a storage area allocated by a pointer (42) based on the upper byte and lower byte of the character code, and has a flag code indicating a storage time series added to the storage area. A character font management table (43) that stores character codes; and a buffer memory (4) that stores character data of the character codes stored in the character font management table (43).
4) and set the character code to be displayed in the character font management table (
43) and reads the character data of the character code from the buffer memory (44), and if it is not registered in the character font management table (43), reads it from the character memory (3) and at the same time reads the character data of the character code from the buffer memory (44). A character font management method for a character display device, characterized in that the character code and the flag code registered in a character font management table (43) are updated.
JP60118522A 1985-05-30 1985-05-30 Character font management system for character display unit Pending JPS61275790A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60118522A JPS61275790A (en) 1985-05-30 1985-05-30 Character font management system for character display unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60118522A JPS61275790A (en) 1985-05-30 1985-05-30 Character font management system for character display unit

Publications (1)

Publication Number Publication Date
JPS61275790A true JPS61275790A (en) 1986-12-05

Family

ID=14738696

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60118522A Pending JPS61275790A (en) 1985-05-30 1985-05-30 Character font management system for character display unit

Country Status (1)

Country Link
JP (1) JPS61275790A (en)

Similar Documents

Publication Publication Date Title
US4204206A (en) Video display system
EP0052725B1 (en) Method of reducing the print element changes in a text processing system
JPS5984587U (en) Data bit compression system
JPH0570832B2 (en)
JPS61275790A (en) Character font management system for character display unit
JPS6281694A (en) Font data output system
KR930003119Y1 (en) Monitor for korean character
JPS61219082A (en) Display controller
KR950002086Y1 (en) Font rom circuit for korean character and chinese character
JPH0638254B2 (en) Kana-Kanji conversion device
JPH0462592B2 (en)
KR880001082B1 (en) Low table adressing method
JPS607474A (en) Crt display unit
JPS617874A (en) Display unit
JPH0225544B2 (en)
SU450231A1 (en) Memory device
JPH0456350B2 (en)
JPH0516605B2 (en)
JPH0225545B2 (en)
JPS6097390A (en) Large capacity display system
JPS63104128A (en) Storing system for screen format of terminal equipment
JPS622293A (en) Character display control system
JPH06242765A (en) Font cache system device
JPS62283392A (en) Kanji processor
JPS62172387A (en) Character code conversion control system