JPS59224893A - Data display method - Google Patents

Data display method

Info

Publication number
JPS59224893A
JPS59224893A JP58099882A JP9988283A JPS59224893A JP S59224893 A JPS59224893 A JP S59224893A JP 58099882 A JP58099882 A JP 58099882A JP 9988283 A JP9988283 A JP 9988283A JP S59224893 A JPS59224893 A JP S59224893A
Authority
JP
Japan
Prior art keywords
area
data
stored
word
address
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
JP58099882A
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.)
Sanyo Electric Co Ltd
Sanyo Denki Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Sanyo Denki Co 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 Sanyo Electric Co Ltd, Sanyo Denki Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP58099882A priority Critical patent/JPS59224893A/en
Publication of JPS59224893A publication Critical patent/JPS59224893A/en
Pending legal-status Critical Current

Links

Abstract

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

Description

【発明の詳細な説明】 (1)産業上の利用分野 本発明はCRTディスプレイ等の表示装置を備えたデー
タ処理システムにおけるデータ表示方法に関し、更に詳
述すれば表示すべきデータを圧縮して画像メモリに格納
し、これを読出したあと元のデータを復元再生して表示
するようにして、少ない記1.α容量で多量の情報の表
示を可能としたデータ表示方法を提案するものである。
DETAILED DESCRIPTION OF THE INVENTION (1) Field of Industrial Application The present invention relates to a data display method in a data processing system equipped with a display device such as a CRT display. After storing the data in memory and reading it out, the original data is restored and displayed. This paper proposes a data display method that can display a large amount of information with α capacity.

(2)従来技術 上述の如きデータ処理システム、例えば所謂マイクロコ
ンピュータシステムにおいては情報表示のためにビデオ
I?AM  (画像メモリ)を用いたラスクスキャン方
式を採用している。ビデオRAMに記憶されたデータ、
例えば文字コードはCI?Tコントローラ等の表示制御
回路によって表示信号に変換されCI?Tディス プレ
イ等の表示装置に送られ、ここで映像表示されることに
なる。なお文字コードは一般に外部1?OM等の非常駐
領域に格納されており、必要に応じて読出されてビデオ
I?AMに格納される。
(2) Prior Art In data processing systems such as those mentioned above, such as so-called microcomputer systems, video I? It uses the Rusk Scan method using AM (image memory). data stored in video RAM,
For example, is the character code CI? CI? is converted into a display signal by a display control circuit such as a T controller. The image will be sent to a display device such as a T-display, where it will be displayed as an image. In addition, the character code is generally external 1? It is stored in a non-resident area such as OM, and is read out as needed to display the video I? Stored in AM.

ところで一般的には書物に記されている如き情報を表示
させるような場合、例えば料理テキストの内容をCI?
Tディス プレイに表示させるようなシステムの場合、
用怠しておくべき文字コードの数は膨大な量となり、従
って文字コード格納のために多量の記1aエリアを要す
る。
By the way, in general, when displaying information such as that written in books, for example, the contents of a cooking text are displayed using CI?
For systems that display on a T-display,
The number of character codes that must be left unused is enormous, and therefore a large area 1a is required to store the character codes.

(3)  目的 本発明はこのような事情に鑑みてなされたものであって
表示データを圧縮して格納し、表示の際にはこれを復元
再生ずることとして記憶容量の節減を図りつつ多量の情
報表示を可能とするデータ表示方法を提供するにある。
(3) Purpose The present invention has been made in view of the above circumstances, and it compresses and stores display data, and restores and reproduces it when displaying, thereby reducing storage capacity and saving a large amount of data. An object of the present invention is to provide a data display method that enables information display.

(4)発明の構成 本発明に係るデータ表示方法は画像メモリに記憶させた
文字情報を表示装置に表示するデータ表示方法において
く表示させるべき文字情報に係る単語を記憶装置の特定
領域に1次元的配列で格納し、また前記特定領域におけ
る各11語の先頭番地及び各車8への長さに係るデータ
を関連づりて記憶装置の伯の領域に格納し、表示させる
べき文字情報は、その単語の列を、各単語を前記他の領
域において特定すべきデータの列として圧縮記憶させて
おき、ごれらの記1.r<情報に基づき所要文字情報を
復元再生して画像メモリに記憶させることを特徴とする
(4) Structure of the Invention The data display method according to the present invention is a data display method for displaying character information stored in an image memory on a display device. The character information to be displayed is stored in the squared area of the storage device in association with data regarding the starting address of each of the 11 words in the specific area and the length to each car 8. A string of words is compressed and stored as a string of data in which each word is to be specified in the other area. The present invention is characterized in that the required character information is restored and reproduced based on the r< information and is stored in the image memory.

(5)実施例 以−1−1本発明をその実施例を示す図面に基づき月俸
的に説明する。
(5) Examples -1-1 The present invention will be explained in terms of monthly salary based on drawings showing examples thereof.

第1図は本発明に係る表示装置の黙示外観図であって、
この装置はCI?Tディス プレイ等からなる表示部1
0、マイクロコンピュータシステムを収容しである制御
部20及びキーボード等からなる入力部30を備えてい
る。
FIG. 1 is an implied external view of a display device according to the present invention,
Is this device a CI? Display section 1 consisting of T display etc.
0, a control section 20 that houses a microcomputer system, and an input section 30 that includes a keyboard and the like.

第2図はこの装置の回路構成を示すブロック図てあzツ
、1は制御中枢となるマイクロプロセッサ、2はシステ
ムプログラム及びデータ+各納用のI20Mから成る常
駐記憶域、34才1?AMによって構成される作業領域
、4はEPROM等からなる非常駐記憶域、5はこれら
の領域と表示制御回路7との間のデータ転送を制御する
ための、例えばダイレフ1−・メモリ・アクセス・コン
1−ローラ等からなる転送制御回路、6はCRTディス
プレイ装置、74才作業領J53中に割付けられたビデ
オRAM  (以下VR/IMと言う)領域31に格納
された表示データを映像信号に変換するための、CI?
Tコントローラ等からなる表示制御回路である。
Figure 2 is a block diagram showing the circuit configuration of this device. 1 is a microprocessor that serves as the control center, 2 is a resident storage area consisting of system programs and data + I20M for each delivery, 34 years old 1? 4 is a non-resident storage area such as an EPROM, and 5 is a memory access controller for controlling data transfer between these areas and the display control circuit 7. 1 - a transfer control circuit consisting of rollers, etc.; 6, a CRT display device; 74 years old; converts display data stored in a video RAM (hereinafter referred to as VR/IM) area 31 allocated in work area J53 into a video signal; For CI?
This is a display control circuit consisting of a T controller and the like.

表示すべきデータは非常駐記憶域4に圧縮されて格納さ
れる。そして格納データ中の位置のデータを表示する場
合にはこの非常駐記すa域4のデータを作業領域3のデ
ィスプレイ (以下DSPという)領域32に転送して
、ここに格納する。次いで常駐記憶域2の辞書(以下D
ICTという)領域21、ポインタ記1a(以下PIN
Tという)領域22及び単語長記↑1g(以下LHNG
という)領域23のデータに基づきDSP領域32のデ
ータが解読されて、つまり復元再生されてVRAM領域
31に展開記憶されていく。そしてVRAM領域31の
データは表示制御回路7によって映像信号に変換されて
CRTディス プレイ装置6に表示される。
The data to be displayed is compressed and stored in the non-resident storage area 4. When positional data in the stored data is to be displayed, the data in the non-resident area a 4 is transferred to the display (hereinafter referred to as DSP) area 32 of the work area 3 and stored there. Next, the dictionary in resident storage area 2 (hereinafter D
ICT) area 21, pointer mark 1a (hereinafter referred to as PIN)
T) area 22 and word length ↑1g (hereinafter referred to as LHNG)
The data in the DSP area 32 is decoded based on the data in the area 23 (namely, restored and reproduced) and expanded and stored in the VRAM area 31. The data in the VRAM area 31 is then converted into a video signal by the display control circuit 7 and displayed on the CRT display device 6.

第3図は作業領域3 (7)DSP領域32. VRA
M領域31並びに常駐記憶域2のDTCT領域21、P
INT領域22及びLENG領域23のデータ構造を示
す概念図である。
FIG. 3 shows work area 3 (7) DSP area 32. VRA
M area 31 and DTCT area 21 of resident storage area 2, P
2 is a conceptual diagram showing the data structure of an INT area 22 and a LENG area 23. FIG.

先ず、DTCT領域21について説明すると、これは対
象とする 表示情報、例えば調理テキスト等の中から全
ての単語を抽出し、対応するコード列を一次元配列状に
結合したものを格納しており図示の例ではdx番地から
dx+5番地にかけて順に肝門、E(dx4番地)GG
が格納されている。なお()内のh 4.1等の英数字
は対応する文字のASfj1表現を示している。
First, to explain the DTCT area 21, it stores all the words extracted from target display information, such as cooking text, and combines the corresponding code strings into a one-dimensional array, as shown in the figure. In the example, from dx address to dx+5 address, liver gate, E (dx4 address) GG
is stored. Note that alphanumeric characters such as h4.1 in parentheses indicate the ASfj1 representation of the corresponding character.

PTNT領域22は旧CTWi域21に1次元配列され
た多数の単語の語頭アドレスを格納しておくものであり
、この例ではAPPLEの語頭アドレスのdXと、IE
GGの語頭アドレスのdに+4が示されている。
The PTNT area 22 stores the beginning addresses of many words arranged one-dimensionally in the old CTWi area 21, and in this example, dX of the beginning address of APPLE and IE
+4 is shown in d of the initial address of GG.

L E N G領域23にば旧CT領域21に格納され
ている単語の長さが格納され、ここではAPPLEにつ
いては5、EGGについては3が示されている。そして
このLENG領域23には数字及び“*”等の記号(特
殊文字)については対応シードがそのまま格納される。
The length of the word stored in the old CT area 21 is stored in the LENG area 23, and here 5 is shown for APPLE and 3 is shown for EGG. In this LENG area 23, corresponding seeds for numbers and symbols (special characters) such as "*" are stored as they are.

これはDICT領域21、PINT領域22及びLHN
G領域23を用いてt1語情報を記憶するのは効率的で
あるが、数字、*等の1字の文字をそのようにして記憶
させるのは無駄が多いからである。従ってこれらのため
に7!1個の番地、即らQ−1/−J番地を充当する。
This includes the DICT area 21, PINT area 22 and LHN
Although it is efficient to store t1 word information using the G area 23, it is wasteful to store single characters such as numbers and * in this manner. Therefore, 7!1 addresses, ie, Q-1/-J addresses, are allocated for these.

調理テキスト等多様な記号を用いることのない一般的な
表示情報を対象とする場合は1l=40稈度で十分であ
る。そして各領域のデータ長はDICT領域21が1ハ
イド、I”TNT領域22が2ハイド、!、ENG領域
23が1ハイドとしている。
When the target is general display information such as cooking text that does not use various symbols, 1l=40 culm degree is sufficient. The data length of each area is 1 hide for the DICT area 21, 2 hides for the I''TNT area 22, and 1 hide for the ENG area 23.

さてnsp領域32は1中誌当たり1バイトで圧縮格納
してあり、その格納データはLENG領域23の番地で
ある。つまりこの番地のデータが各単語の識別子となっ
ているのである。そして EGG    *  八PPLIE の記憶はAk+1 、  I!に−1、Ilkとなり、
本来11ハイド必要なところが3ハイドで圧縮記1aで
き、したがってマイクロプロセッサ1にこの記憶内容を
続出させて、Vl?靜領域31には第3図に示す如くE
GG  *  APPLEと復元した形で格納させるこ
とができる。
Now, the nsp area 32 compresses and stores one byte per magazine, and the stored data is the address of the LENG area 23. In other words, the data at this address is the identifier for each word. And the memory of EGG * 8 PPLIE is Ak+1, I! becomes -1, Ilk,
What originally required 11 hides can be compressed into 1a with 3 hides, so the microprocessor 1 is made to continuously output this memory content, and Vl? In the quiet area 31, as shown in FIG.
It can be stored in the restored form as GG*APPLE.

而して1.FNG領域23は1ハイドのデータを格納し
ているものであるから、28−44個以上のQ1語の圧
縮記憶は不可能である。換言すれば単語総数が256−
 I17!個を超える場合には1単諸当たり1ハイ1〜
の表現は不可能となる。従ってこの場合はL E N 
G領域を複数ブロック設け、各ブロックを判別するコー
ドを設定する。記恒領域節減のために第1ブロツクはこ
のM′ll別コードの付加を不要とし、また他のブロッ
クの判別のためのコードは各ブロックにて用いないコー
ドとする。第4図はLPNG領域が1、PNG ] 、
 LHIIG 2 、 LENG 3の3ブロツクであ
る場合の各L E N G領域及びDSP領域32のデ
ータ構造の槓念図である。第2ブロツクLPNG 2で
あることを示す判別コードをh″FE”、第3ブロツク
LIiNG3であることを示す判別コードをh“’FF
”とする。
So 1. Since the FNG area 23 stores one hide of data, it is impossible to compress and store more than 28-44 Q1 words. In other words, the total number of words is 256-
I17! If the number exceeds 1 unit, 1 high 1~
is impossible to express. Therefore, in this case L E N
A plurality of blocks are provided in the G area, and a code for identifying each block is set. In order to save storage space, the first block does not require the addition of this M'll-specific code, and codes for determining other blocks are not used in each block. In Figure 4, the LPNG area is 1, PNG],
FIG. 3 is a conceptual diagram of the data structure of each LENG area and the DSP area 32 when there are three blocks, LHIIG2 and LENG3. The discrimination code indicating that the second block is LPNG 2 is h''FE'', and the discrimination code indicating that the third block is LIiNG3 is h''FF.
”.

従ってこれらの両コードばLENG 1については単語
を指定するコードとしては使用できないことにな/′)
LPNG 1では7!12〜253番地が単語の長さ情
報の格納可能領域となり、LENG2. 3でばこのよ
うな制約がないから、fifi=40である場合は3ブ
ロツクの場合、726 +l1il (=256 X 
3−40−2)の単語の定義が可能である。以上のよう
に単語総数が256−1!、7!を超える場合には1中
語を2バイト以下で表現することができ、第1番目のL
ENG領域に出現頻度が高い単語を格納しておくことに
より実質的圧縮率を高くすることができる。
Therefore, both of these codes, LENG 1, cannot be used as codes to specify words.
In LPNG 1, addresses 7!12 to 253 are the storage area for word length information, and in LENG2. 3, there is no such restriction, so if fifi=40, in the case of 3 blocks, 726 +l1il (=256
3-40-2) word definitions are possible. As mentioned above, the total number of words is 256-1! , 7! , one Chinese word can be expressed in 2 bytes or less, and the first L
By storing words that appear frequently in the ENG area, the actual compression ratio can be increased.

なお第4図に例示するDSr’領域32の格納内容は1
、ENG 1のh “FO”番地の単語、LENG 3
のh “八B”番地の単語及びLENG 2のh “0
1”番目の単語となっている。
Note that the stored content of the DSr' area 32 illustrated in FIG. 4 is 1.
, ENG 1 h “FO” address word, LENG 3
h word at address “8B” and h “0” at LENG 2
It is the 1st word.

次に以上の如きデータの作成手順にっきept=40、
LENG領域の数3ブロックの場合を例にとって説明す
る。
Next, following the data creation procedure as described above, ept=40,
An explanation will be given by taking as an example the case of three blocks in the LENG area.

〔手順1)DTCT領域2領域2千 調理テキストに出現する総ての単語を重複しないように
抽出する 手順2:手順1で選択された単語の組合せの中で共有可
能な接尾辞(suffix) 、後尾字及び/又は接頭
辞(prefix) 、先頭字の長さが最大の単語同士
の組合せを選択し、これらを接続する。
[Step 1] Extract all words that appear in the DTCT area 2 area 2,000 cooking text without duplication Step 2: Extract suffixes that can be shared among the word combinations selected in step 1, Select a combination of words with the maximum length of the suffix and/or prefix, and the length of the first letter, and connect them.

例えばAI’l’LHのEと、EGGのEとは共有可能
であり、接続してAI’Pl、l1GGとする。
For example, E of AI'l'LH and E of EGG can be shared, and are connected to form AI'Pl and l1GG.

手jll’r3:全でのffi語につき手順2を反復し
て一次元配列構造の辞7IFとも言うべきDIC.T領
域を得る。
Hand jll'r3: Repeat step 2 for all ffi words to create a one-dimensional array structure called DIC.7IF. Obtain the T area.

〔手B1αH ) LENGV′I域(LENG1〜1
、ENG 3 )及びr’lNT領域作成手順 手順1:出現頻度が高い単語214詔につき、I’l 
ICT領域における各単語の先頭アドレス及び単aハ長
をP I N TfrR域及びL E N G領域LE
NG 1 ニ各格納する。
[Hand B1αH] LENGV'I area (LENG1~1
, ENG 3) and r'lNT region creation procedure Step 1: For the 214 words with high frequency of appearance, I'l
The first address and length of each word in the ICT area are PIN TfrR area and LENG area LE.
NG 1 Store each.

手h1σ2:前記214語に次いで出現頻度が高い単語
256語につき、同様に各単語の先頭アドレス及び単語
長をPINT領域及びLENG領域LENG2に各格納
する。
Hand h1σ2: For the 256 words with the second highest frequency of appearance after the 214 words, similarly store the start address and word length of each word in the PINT area and LENG area LENG2.

手順3:残りの単語につき各単語の先頭アドレス及ヒf
l’j語長をPINT領域及びLEN(JJ[LENG
3に各格納する。
Step 3: For the remaining words, enter the starting address and h f of each word.
l'j word length into PINT area and LEN (JJ[LENG
Each is stored in 3.

手順4 : LI’.NG 1のO〜39番地には数字
,記号等のコードを格納する。
Step 4: LI'. Codes such as numbers and symbols are stored in addresses O to 39 of NG1.

0 なおPINT領域にデータを格納する場合には次の手順
による。
0 When storing data in the PINT area, follow the steps below.

■ 1.ENG 1の番地がi (≧1e)である場合
1’1NT((i−plり  *2)←スタートアドレ
ス下位 PINT((+−642)*2+1)−スタ  )?ド
レス上位 ■ LENG2の番地がiである場合 PTNT (256+  (+ −12β)*2〕−ス
ター1−アドレス下位 PINT(256+  (i−12Ilり*2+])−
スタートアドレス−ヒ位 ■ LENG 3の番地がiである場合PTNT (5
12+i−j! jり  * 2)←スタートアドレス
下位 PINT (512+1−17り  *2+1〕−スタ
ートアドレス上位 〔手順■〕表示データの圧縮手順 表示データは以上のようにして1単語当たり1バイト又
は2バイトに圧縮されて、非常駐記憶域1 (第2図左端)に格納される。
■ 1. If the address of ENG 1 is i (≧1e), then 1'1NT ((i-pl *2)←start address lower PINT((+-642)*2+1)-star)? Address upper ■ If the address of LENG2 is i, PTNT (256+ (+ -12β)*2) - Star 1 - Address lower PINT (256+ (i-12Il*2+]) -
Start address - high ■ If the address of LENG 3 is i, PTNT (5
12+i-j! *2) ← Start address lower PINT (512+1-17ri *2+1) - Start address upper [Procedure ■] Display data compression procedure The display data is compressed to 1 or 2 bytes per word as described above. Then, it is stored in non-resident storage area 1 (left end in Figure 2).

そして出現する単語情報がLENGIに属する場合はそ
の番地(インデックス情報)を、LENG 2に属する
場合はh ′FF”とI、I!NG 2における番地を
、LENG3に属する場合はh “’FIE”とLEN
G3にお4Jる番地を用いて小語順に格納して第4図に
示す如き状態とする。
Then, if the word information that appears belongs to LENGI, its address (index information), if it belongs to LENG 2, the address in I, I!NG 2, h ``FF'', and if it belongs to LENG 3, h ``'FIE''. and LEN
Using the address 4J in G3, the data is stored in the order of small words, resulting in a state as shown in FIG.

以上のように圧縮された表示データ及びそれを復元再生
するためのデータ構造が得られるのであるが、圧縮デー
タの復元再生には、この外に中詰間の切目又は空白(b
lank )に関する情報が必要である。このために第
5図に示す如き文法事項を再現アルゴリズム中に組込ん
でおき、自動的に単語間の切目を判I析1べくなしであ
る。
As described above, compressed display data and a data structure for restoring and reproducing it are obtained.
rank) is required. For this purpose, grammatical items as shown in FIG. 5 are incorporated into the reproduction algorithm, and the breaks between words are automatically determined.

いまDSP領域32における2つの連続する記憶内容が
a、bであるとした場合、a、b4才0′i語、。
If we assume that the two consecutive stored contents in the DSP area 32 are a and b, then a, b4 years old, 0'i word, and so on.

数字、記号の3種類であり得るのでa、bの絹合せは9
とおりとなる。そして各組合せにつきa。
There can be 3 types of numbers and symbols, so the silk combination of a and b is 9
As expected. and a for each combination.

b間の空白(blank )の要否を予め定めておき、
これに基づき旧ankコードを付加していくのである。
Decide in advance whether or not a blank is required between b.
Based on this, the old ANK code is added.

例えばa、bが共に中詰である場合はblankが必要
(“1”)であり、一方、先のaが単語、bが記号であ
る場合はblankが不要(“0”)であると判断させ
る。
For example, if both a and b are padded, a blank is required (“1”), whereas if the preceding a is a word and b is a symbol, a blank is determined to be unnecessary (“0”). let

次に圧縮データの復元再生(再現)につき説明する。以
下説明の便宜上、以下のように仮定する。
Next, the restoration and playback (reproduction) of compressed data will be explained. For convenience of explanation, the following assumptions are made.

LENGIのO〜39のうち前半O〜19の要素を数字
用の辞書、20〜39を記号用の辞書とする。
Among the elements 0 to 39 of LENGI, the first half elements 0 to 19 are used as a dictionary for numbers, and elements 20 to 39 are used as a dictionary for symbols.

圧縮データはDSP領域に既に転送されており、それを
Vl?AM領域31上に再現するものとする。
The compressed data has already been transferred to the DSP area and is transferred to Vl? It is assumed that the image is reproduced on the AM area 31.

Dsp領域での要素数をnとし、現在に−1(0<k−
1<n)までの要素が再現されているものとする。
Let the number of elements in the Dsp area be n, and the current value is −1 (0<k−
It is assumed that elements up to 1<n) are reproduced.

例えばVRAM領域31上のCRx番地にh “41″
 (ASCIN表現の“A”)が格納されている場合V
I?AM(CRx ) =h  “41”と記す。
For example, at the CRx address on the VRAM area 31, h “41”
If (“A” in ASCIN expression) is stored, V
I? AM(CRx)=h is written as “41”.

第6図はDSP領域32ムこ圧縮格納されたデータのう
ち1単語のみを再現する場合の処理手順を示し3 2 ている。従ってr]sp領域32の全要素(単語)を再
現する場合にはこの処理手順を反復実行することになる
。以下第6図について説明すると、まず次に再現すべき
データをDSP領域32から取出し、変数Cot)Eに
格納する(イ)。次のステップでばこの変数congの
内容をh FB″と比較し、これ以上である場合は判別
コードであるとして第7図に示すサブルーチンacce
ss 2を実行する(口)。
FIG. 6 shows the processing procedure for reproducing only one word from the data compressed and stored in the DSP area 32. Therefore, in order to reproduce all the elements (words) in the r]sp area 32, this processing procedure will be repeatedly executed. Referring to FIG. 6 below, data to be reproduced next is taken out from the DSP area 32 and stored in the variable Cot)E (a). In the next step, the content of the variable cong is compared with hFB'', and if it is greater than hFB, it is determined to be a discrimination code, and the subroutine acce shown in Figure 7 is executed.
Execute ss 2 (mouth).

h FE”未満である場合は+、gNG1に係る単語又
は、数字、記号であるとして、変数Co!1B内容と4
0とを比較し、両者の弁別をし、40未満である場合は
第7図に示すサブルーチンaccess Oを実行し、
また40m上である場合は第7図に示すサブルーチンa
ccess 1を実行する(ハ)。このようにして各号
ブルーチンを実行したあと文法処理のサブルーチン5y
ntaxを実行する(二)。
If it is less than "h FE", it is +, and it is a word, number, or symbol related to gNG1, and the contents of variable Co!1B and 4
0 and discriminate between the two, and if it is less than 40, execute the subroutine access O shown in FIG.
If the altitude is 40m, subroutine a shown in Fig. 7
Execute ccess 1 (c). After executing each buroutine in this way, the grammar processing subroutine 5y
Execute ntax (2).

次に第7図に基づきサブルーチンaccess 0 、
 1 +2につき説明する。第7図において変数SYM
 1は再現せんとするコードが単語、数字、記号のいず
4 れに属するかを示し、数字の場合0≦SYM I≦19
、記号の場合20≦SYM 1≦39、また単語の場合
SYM1−40とする。なお後述する第8図に示す変数
、SYMOば直前に再現されたコードに対してSYM 
1と同様の機能を有している。
Next, based on FIG. 7, the subroutine access 0,
1 + 2 will be explained. In Figure 7, the variable SYM
1 indicates whether the code to be reproduced belongs to a word, number, or symbol; in the case of numbers, 0≦SYM I≦19
, in the case of symbols, 20≦SYM 1≦39, and in the case of words, SYM1-40. Note that the variables shown in Figure 8, which will be described later, are SYM for the code reproduced immediately before.
It has the same function as 1.

変数BはL E N G領域のブロックを示し、LPN
G IてばB=O,1,ENG2ではB = 1、LI
ENG3ではB=2としている。
Variable B indicates a block in the L E N G area, and LPN
In G I, B = O, 1, in ENG2, B = 1, LI
In ENG3, B=2.

変数AばI’rNT領域のアドレスを示し、その計算方
法は手順Hの説明に記載したところによる。
The variable A indicates the address of the I'rNT area, and its calculation method is as described in the explanation of procedure H.

変数Ar1rlはrlTcT領域のスフ−I・アドレス
を示す。
The variable Ar1rl indicates the Suf-I address of the rlTcT area.

更ニr’rNT (A +1 ) 、 PINT CA
 〕Lj:DICT領域ノスタートアドレスの一ヒ位、
下位を結合したものである。
Sarani r'rNT (A +1), PINT CA
] Lj: 1st position of the DICT area no start address,
It is a combination of lower order parts.

変数LENは圧縮された単語の長さを示している。The variable LEN indicates the length of the compressed word.

さてサブルーチンaccess OLl変数SYM I
にC0IIEの値を格納して復帰する。
Now, subroutine access OLl variable SYM I
Stores the value of C0IIE in and returns.

サブルーチンaccess 1は変数LENに1、EN
G IのC0DRで修飾される値、つまり単語の長さを
格納し、変数B=Oとおき、更に(ボ)、(へ)示すよ
う1 ζ にして変数ADD 、つまり旧CT領域のスタートアド
レスを算出し、SYM Iに40を格納して復帰する。
Subroutine access 1 sets variable LEN to 1, EN
Store the value modified by C0DR of G I, that is, the length of the word, set the variable B=O, and then set it to 1ζ as shown in (bo) and (b), and set the variable ADD, that is, the start address of the old CT area. is calculated, 40 is stored in SYM I, and the process returns.

サブルーチンaccess 2は判別コードh”FE”
Subroutine access 2 has a determination code h”FE”
.

h FF”を取出した場合に実行されるものであり、ま
ずBの値を求め、次いで判別コードの次の値を変数C0
DIEに格納しくト)、単語片をIJNに格納する(チ
)。更にaccess 1の場合と動揺にrllcT領
域のスタートアドレスを算出し、SYM 1に40を格
納して復帰する。
h FF” is extracted, first find the value of B, then set the next value of the discrimination code to the variable C0
Store the word fragment in DIE (g), and store the word fragment in IJN (ch). Furthermore, in the case of access 1, the start address of the rllcT area is calculated, 40 is stored in SYM 1, and the process returns.

次に文法のザブルーチン5yntaxを示す第8図につ
いて説明する。(す)の列は再現せんとするコードが単
語である場合の処理手順を示し、この場合は第5図から
明らかなように直前の再現コードの種類に拘わらず旧a
nkのコードを作成する必要がある。そこでVI?/I
M領域31上のアドレスをインクリメントしくヲ)、1
文字分の空白を確保する。
Next, FIG. 8 showing the subroutine 5yntax of the grammar will be explained. The column () shows the processing procedure when the code to be reproduced is a word; in this case, as is clear from Figure 5, regardless of the type of the immediately preceding reproduction code,
It is necessary to create a code for nk. VI there? /I
Increment the address on M area 31), 1
Reserve space for characters.

なおイニシャル時、つまりnsr+領域32の値をVR
AM領域31に再現しようとする際には、V RA M
領域31はすべてblankのコードが格納されている
ものとする。
In addition, at the initial time, that is, the value of nsr + area 32 is set to VR.
When trying to reproduce in the AM area 31, V RAM
It is assumed that all blank codes are stored in the area 31.

6 次にSY?l OにSVM 1の値を格納して次サイク
ルに備える(ワ)。
6 Next is SY? The value of SVM 1 is stored in lO in preparation for the next cycle (wa).

次にVIIAM領域31−ヒのCTIXでflV 飾さ
れるアドレスにA(lrlで修飾されるrlTcT領域
21の値を格納する(力)。そしてAI)D及びCII
Xをインクリメン1−シ、LENをデクリメントする。
Next, store the value of the rlTcT area 21 decorated with A(lrl) in the address decorated with flV in CTIX of the VIIAM area 31-hi.And AI)D and CII
Increment X and decrement LEN.

この操作をIJiN=0となるまで反復して復帰する。This operation is repeated until IJiN=0 and the process returns.

(ヌ)の列は再現セんとするコードが記号である場合の
処理手順を示し、第5図から明らかな如(blankコ
ードを生成する処理が不要であり、従ってVRAM領域
31のC[lにで修飾されるアドレスにSYM 1で修
飾されるLENG 1の値(記号コード)を格納する。
The (nu) column shows the processing procedure when the code to be reproduced is a symbol, and as is clear from FIG. The value of LENG 1 (symbol code) modified with SYM 1 is stored in the address modified with .

そしてCRXをインクリメントし、SYMOにSYM 
1を格納し、次のサイクルに備えたあと復帰する。
Then increment CRX and set SYM to SYMO.
It stores 1 and returns after preparing for the next cycle.

(し)の列は再現せんとするコードが数字の場合の処理
手順を示し、この場合は第5図から明らかな如く直前に
再現されたコードが数字であるとき(SYM O<20
)にのみ1)lankコードを生成しないので直ちに(
ヌ)列の処理で再現を行うが、記7 号、単語である場合はCI?Xをインクリメントして空
白を確保してから(ヌ)列の処理に入る。このようにし
て圧縮データの再現の1サイクルが完了する。
The column ( ) shows the processing procedure when the code to be reproduced is a number, and in this case, as is clear from Figure 5, when the code reproduced immediately before is a number (SYM O < 20
) only 1) It does not generate rank code, so immediately (
j) Reproduction is performed by processing columns, but if it is a word, CI? After incrementing X to ensure a blank space, start processing the (nu) column. In this way, one cycle of compressed data reproduction is completed.

(6)効果 次に本発明の効果を定量的に明らかにする。(6) Effect Next, the effects of the present invention will be quantitatively clarified.

今、表示対象が300ページから成るものとし、単語総
数(重複することなしに数えた数、つまり種類)を10
00、平均単語長を10文字、1ページ当たりの単語数
を100とする。
Assume that the display target consists of 300 pages, and the total number of words (counted without duplication, that is, types) is 10.
00, the average word length is 10 characters, and the number of words per page is 100.

(i)表示対象を圧縮しない場合 ASCIIコードを用いて1文字が1バイトで表現され
るとする。更にblankコードを考慮せず、楽観的に
計算すると記憶容量ば100  xlox300  =
300,000  (バイ ト)必要となる。
(i) When the display target is not compressed It is assumed that one character is expressed in one byte using an ASCII code. Furthermore, if we calculate optimistically without considering the blank code, the storage capacity will be 100 xlox300 =
300,000 (bytes) is required.

(ii )本発明方法による場合 1単語当たり2バイトに圧縮される場合を想定して極め
て悲観的に計算すると、記憶容量は次のようになる。但
しblankコー8 ド及び数字、記号の40字を考慮する。
(ii) In the case of the method of the present invention, when calculating extremely pessimistically assuming that each word is compressed to 2 bytes, the storage capacity is as follows. However, 40 characters including blank code, numbers, and symbols will be considered.

圧縮データ:100(語/ページ)×2 (ハイド) 
 X3000 (ページ) −60,000(ハイド) 1)ICT領域: 10x1000=10.000 (
ハイド)LENG領域: 1000+40=1,040
  (ハイド)PINT領域:2  X100  =2
,000  (バイト)そうすると合計は73,040
ハイドとなり、これを300.000バイトと比較する
と少くとも75%の記憶容量の節減が図れる。このよう
に表示データを圧縮したことによる効果が十分に得られ
、また静止文字情報の表示であるので再現処理に要する
時間も実用上何等問題とはならず、極めて実用性が高い
Compressed data: 100 (words/page) x 2 (hide)
X3000 (page) -60,000 (hyde) 1) ICT area: 10x1000=10.000 (
Hyde) LENG area: 1000+40=1,040
(Hide) PINT area: 2 X100 = 2
,000 (bytes) Then the total is 73,040
Comparing this with 300,000 bytes, the storage capacity can be reduced by at least 75%. The effect of compressing the display data in this way is sufficiently obtained, and since the display is static character information, the time required for reproduction processing does not pose any practical problem, making it extremely practical.

このようにして本発明による場合はデータ圧縮を行うこ
とにより表示装置に多量の文字情報を表示させる場合に
も極めて歩容量の記↑、き装置で足り、記憶装置の利用
効率の高いシステムを構築できる利点がある。
In this way, according to the present invention, by performing data compression, even when displaying a large amount of character information on a display device, a device with a very small walking distance is sufficient, and a system with high storage utilization efficiency is constructed. There are advantages that can be achieved.

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

1つ 第1図は本発明方法を適用する表示装置の外観図、第2
図はその回路構成を示すブロック図、第3図は記f、a
装置に格納されたデータの構造を示す概念図、第4図は
L E N G領域が複数である場合のデータ構造を示
す概念図、第5図は文法事項の説明図、第6.7.8図
は再現表示のための処理子111nを示すフローチャー
トである。 1−マイクロプロセッサ 2−常駐記(al或3〜作業
領域 4−非常駐記憶域 6−CRTディス プレイ装置 7−表示制御回路 特 許 出願人  三洋電機株式会社 代理人 弁理士  河 野  登 夫 0 LENGI LENG3 第 4図 第 5 面
1. Figure 1 is an external view of a display device to which the method of the present invention is applied, and Figure 2.
The figure is a block diagram showing the circuit configuration, and Figure 3 is a block diagram showing the circuit configuration.
FIG. 4 is a conceptual diagram showing the structure of data stored in the device. FIG. 4 is a conceptual diagram showing the data structure when there are multiple L E N G areas. FIG. 5 is an explanatory diagram of grammar points. 6.7. FIG. 8 is a flowchart showing the processing element 111n for reproduction display. 1-Microprocessor 2-Resident memory (al or 3~work area 4-Non-resident storage area 6-CRT display device 7-Display control circuit patent Applicant Sanyo Electric Co., Ltd. agent Patent attorney Noboru Kono0 LENGI LENG3 Figure 4, page 5

Claims (1)

【特許請求の範囲】 1、画像メモリに記憶させた文字情報を表示装置に表示
するデータ表示方法において、表示させるべき文字情報
に係る単語を記憶装置の特定領域に1次元的配列で格納
し、また前記特定領域における各単語の先頭番地及び各
単語の長さに係るデータを関連づけて記憶装置の他の領
域に格納し、表示させるべき文字情報は、その単語の列
を、各中詰を前記他の領域において特定すべきデータの
列として圧縮記憶させておき、 これらの記憶情報に基づき所要文字情報を復元再生して
画像メモリに記憶させることを特徴とするデータ表示方
法。
[Claims] 1. In a data display method for displaying character information stored in an image memory on a display device, words related to the character information to be displayed are stored in a one-dimensional array in a specific area of the storage device, In addition, data relating to the starting address and length of each word in the specific area are stored in another area of the storage device in association with each other, and the character information to be displayed is determined by the string of the word and the length of each word. A data display method characterized by compressing and storing data to be specified as a string in another area, restoring and reproducing required character information based on the stored information, and storing it in an image memory.
JP58099882A 1983-06-03 1983-06-03 Data display method Pending JPS59224893A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58099882A JPS59224893A (en) 1983-06-03 1983-06-03 Data display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58099882A JPS59224893A (en) 1983-06-03 1983-06-03 Data display method

Publications (1)

Publication Number Publication Date
JPS59224893A true JPS59224893A (en) 1984-12-17

Family

ID=14259166

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58099882A Pending JPS59224893A (en) 1983-06-03 1983-06-03 Data display method

Country Status (1)

Country Link
JP (1) JPS59224893A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02107465A (en) * 1988-10-18 1990-04-19 Oki Electric Ind Co Ltd Trade medium and trade medium information recorder

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02107465A (en) * 1988-10-18 1990-04-19 Oki Electric Ind Co Ltd Trade medium and trade medium information recorder

Similar Documents

Publication Publication Date Title
US4907188A (en) Image information search network system
JPS59224893A (en) Data display method
US4845612A (en) Apparatus for accessing a memory which has dedicated areas for separately storing addresses and character string data
JPH0337697A (en) Character generator
JPS6048081A (en) Character processor
JPH0531192B2 (en)
JPH0452859A (en) Character processor
JP2852253B2 (en) Data retrieval device
JPS6256987A (en) Expansion of kanji code
JPS6051128B2 (en) Search data input method
JPH0531191B2 (en)
JPH0363825A (en) Format overlay object compression system
JPH0237471A (en) Information retrieving device
Salomon et al. Example Format
JPH0193857A (en) Document printer
JPS5842343A (en) Data contraction and restoration method
JPS6232789B2 (en)
JPS6019550B2 (en) Shape recognition device
JPH0425551B2 (en)
JPS61162082A (en) Drawing information compression system
JPH09171515A (en) Image display method and device therefor
JPS619755A (en) Kana-to-kanji conversion system
JPH01150969A (en) Display method for selective candidate group
JPS62116994A (en) Multifont generator
JPS61162083A (en) Storage system for kanji character generator