JPS62175057A - Terminal equipment - Google Patents

Terminal equipment

Info

Publication number
JPS62175057A
JPS62175057A JP1563986A JP1563986A JPS62175057A JP S62175057 A JPS62175057 A JP S62175057A JP 1563986 A JP1563986 A JP 1563986A JP 1563986 A JP1563986 A JP 1563986A JP S62175057 A JPS62175057 A JP S62175057A
Authority
JP
Japan
Prior art keywords
character
continuous
data
transmitted
data buffer
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
JP1563986A
Other languages
Japanese (ja)
Inventor
Hiroshi Numata
沼田 紘
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP1563986A priority Critical patent/JPS62175057A/en
Publication of JPS62175057A publication Critical patent/JPS62175057A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To condense continuous character data and to transmit by a simple realizing means when there are continuous same character, by adding the last address of the same character continuous with a special code to the forefront and then sending one continuous character. CONSTITUTION:In the case where more than five same characters continue, a special control character (here, on-line repeat: OR) is inserted. Then, an address immediately after the last character of continuous same characters and one character of the continuous same characters are added and transmitted to a central processing unit. Thereby, number of bytes transmitted to the central processing unit is decreased, and throughput can be improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、中央処理装置に接続されるオンライン端末と
して、またはLAN、パソコンネットなどの端末間通信
を行う際、効率のよい伝送手段を提供するものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention provides an efficient transmission means when performing communication between terminals such as an online terminal connected to a central processing unit or a LAN or a personal computer network. It is something to do.

〔従来の技術〕[Conventional technology]

データ転送におけるデータ圧縮方式として、例えば特開
昭58−112135号公報に示されるように、連続し
た同一文字が(n−)−1)バイト連続しているとぎに
、このnを2進数表示した場合にnを表示するのに必要
なバイト数から1を減じた数たけバイト単位のOを連続
した後にこのnを表示するバイト単位の2進数を付加し
た文字列を圧縮子として用いることが論じられている。
As a data compression method for data transfer, for example, as shown in Japanese Patent Application Laid-open No. 112135/1982, when consecutive identical characters are (n-)-1) bytes, this n is expressed as a binary number. In this case, it has been discussed that a string consisting of consecutive O's in bytes equal to the number of bytes required to display n minus 1, followed by a binary number in bytes to display this n, is used as a compressor. It is being

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

上記従来技術では、データ圧縮子の作成するのに複雑な
圧縮方式を用いている。本発明は、連続した同一文字が
存在した場合、簡単な実現手段でその連続した文字デー
タを圧縮して伝送することを目的とする。
The above-mentioned prior art uses a complicated compression method to create a data compressor. SUMMARY OF THE INVENTION It is an object of the present invention to compress and transmit consecutive character data using a simple implementation means when consecutive identical characters exist.

1問題点を解決する定めの手段〕 上記目的は、データバッファ中に一定以上の連続した同
一文字が存在した場合、その先頭に特殉コードと連続し
た同一文字の最後のアドレスを付加し、その後に連続し
た文字を1つ送るたけで達成されることになる。
1. Defined means to solve problem 1] The above purpose is to add the special death code and the last address of the consecutive same characters to the beginning when there are a certain number of consecutive same characters in the data buffer, and then This can be accomplished by simply sending one consecutive character to .

〔作用〕[Effect]

上記特殊コードと以下に送られるアドレスおよび文字に
より、特殊コードを受けとった時点のバッフ丁アドレス
からその特殊コードの次に送られて(るバッファアドレ
スまで次に送られる文字が連続していることを示すこと
になり回線上のデータが圧縮されたことになる。
The above special code and the addresses and characters sent below ensure that the characters to be sent next are consecutive from the buffer address at the time the special code was received to the buffer address sent next to the special code. This means that the data on the line has been compressed.

〔発明の実施例〕[Embodiments of the invention]

図示の実施例により本発明の内容を詳細に説明する。第
1図は、本発明の一実施例を示す端末装置のブロック図
、第2図は、データバッファ内に格納された情報の例を
示す。第5図は、従来の端末装置から伝送される伝送形
式。第4図は本発明による端末装置から伝送される伝送
形式を示す。第5図は、本発明のデータ伝送形式を作成
するためのマイクロプログラムのフローを示す。
The contents of the present invention will be explained in detail with reference to illustrated embodiments. FIG. 1 is a block diagram of a terminal device showing one embodiment of the present invention, and FIG. 2 shows an example of information stored in a data buffer. FIG. 5 shows a transmission format transmitted from a conventional terminal device. FIG. 4 shows a transmission format transmitted from a terminal device according to the present invention. FIG. 5 shows the flow of a microprogram for creating the data transmission format of the present invention.

第1図に示す端末装置において、オンライン制御部1で
中央処理装置に接続される。オンライン制御部1は、デ
ータバス2に接続される。
In the terminal device shown in FIG. 1, an online control section 1 is connected to a central processing unit. Online control unit 1 is connected to data bus 2 .

データバス2には、データバッファ6、マイクロプログ
ラム貯蔵メモリ4、マイクロプロセッサ5、表示制御部
6、入力制御部7が接続される。表示制御部6には表示
ユニット8が、入力制御部7にはキーボードなどの入カ
ニニット9が接続される。データバッファ3に格納され
る情報には、次の2つのケーヌがある。まず第1に、中
央処理装置から伝送される情報は、オンライン制御部1
にて受けとられ、データバス2を通してマイクロプロセ
ッサ5に送られる。マイクロプロセッサ5に送らねた情
報は、マイクロプログラム貯蔵メモリ4のプログラムに
より編集され、データパン7テ3に格納される。第2と
して、入カニニット9から入力された情報は、入力制御
部7にて受けとられ、データバス2を介してマイクロプ
ロセッサ5に送られ、その後データバッファ3の指定さ
れた場所に格納される。データバッファ6に格納された
情報は、表示制御部6を介して表示ユニット8に送られ
表示されることになる。
A data buffer 6 , a microprogram storage memory 4 , a microprocessor 5 , a display control section 6 , and an input control section 7 are connected to the data bus 2 . A display unit 8 is connected to the display control section 6, and an input unit 9 such as a keyboard is connected to the input control section 7. The information stored in the data buffer 3 includes the following two keys. First of all, the information transmitted from the central processing unit is transmitted to the online control unit 1.
and sent to the microprocessor 5 via the data bus 2. Information that cannot be sent to the microprocessor 5 is edited by the program in the microprogram storage memory 4 and stored in the data pan 73. Second, the information input from the input unit 9 is received by the input control unit 7, sent to the microprocessor 5 via the data bus 2, and then stored in a designated location of the data buffer 3. . The information stored in the data buffer 6 is sent to the display unit 8 via the display control section 6 and displayed.

次に、データバッファ3に格納された情報を中央処理装
置に伝送する時には、データバッファ3内に格納されて
いる情報を順次マイクロプロセッサ5に読み出し、マイ
クロプログラム貯蔵メモリ4のプログラムによって伝送
形式に編集された後、オンライン制御部1を介して中央
処理装置に伝送される。
Next, when transmitting the information stored in the data buffer 3 to the central processing unit, the information stored in the data buffer 3 is sequentially read out to the microprocessor 5 and edited into a transmission format by the program in the microprogram storage memory 4. After that, the data is transmitted to the central processing unit via the online control unit 1.

第2図に、データバッファ6に格納された情報の例を示
す。本例では、データバッファ3の容量を60バイトと
し、文字が第2図のように格納されているものとする。
FIG. 2 shows an example of information stored in the data buffer 6. In this example, it is assumed that the capacity of the data buffer 3 is 60 bytes, and characters are stored as shown in FIG.

ここで(SP)はスペース文字を示す。Here, (SP) indicates a space character.

第6図では、第2図に示すデータバッファ5の情報を従
来端末から中央処理装置に伝送されるデータ伝送形式を
示す。この形式では、データバッファ5内に格納された
情報を全て伝送することになる。すなわち60バイト全
て伝送する。
FIG. 6 shows a conventional data transmission format in which information in the data buffer 5 shown in FIG. 2 is transmitted from a terminal to a central processing unit. In this format, all the information stored in the data buffer 5 is transmitted. That is, all 60 bytes are transmitted.

第4図では、本発明におけるデータ伝送形式を示してお
り、同一文字が5個以上連続した場合には1.*殊制御
文字(ここではオンラインリピート:ORという)を挿
入し、その後に連続した同一文字の最後の文字直後のア
ドレスとその連続した同一の文字を1文字付加して中央
処理装置に伝送される。その結果、中央処理装置へ伝送
されるバイト数は低減されスループットの向上が図から
れることになる。すなわち、本例では60バイトの伝送
となる。
FIG. 4 shows the data transmission format according to the present invention, and when five or more identical characters are consecutive, 1. *A special control character (here referred to as online repeat: OR) is inserted, followed by the address immediately after the last character of consecutive identical characters, and one character of that consecutive identical character is added and transmitted to the central processing unit. . As a result, the number of bytes transmitted to the central processing unit is reduced and throughput is improved. That is, in this example, 60 bytes are transmitted.

次に、第5図において、本発明のデータ伝送形式を作成
するためのマイクロプログラムのフローを示す。まずス
テップ10にてマイクロプロセッサ5内のカウンタ、レ
ジスタを初期化する。
Next, FIG. 5 shows the flow of a microprogram for creating the data transmission format of the present invention. First, in step 10, counters and registers within the microprocessor 5 are initialized.

次にステップ11にてデータバッファ3の内容を読み出
す。ステップ12では、その内容が直前に読み出した文
字と同一かどうかナエツクする、同一ならステップ13
に進み、同一文字連続カウンタを更新しく+1する)、
ステップ14でり−ドデータを直前レジスタにセットし
、ステップ15でバッファアドレスを更新する。次にス
テップ16で編集が終了したかどうかをチェックし、N
0IIら再びステップ11に戻りデータバッファ3から
データを読み出し、ステップ12で直前の文字と同一か
どうかをチェックする。もし同一でなければ、ステップ
17に進み連続カウンタが5以上かどうかをチェックす
る。ここで連続カウンタが5以上でなげれば、ステップ
18にて連続カウンタが0かどうかチェックし、0であ
ればヌケツブ15.ステツプ14.ステツプ15.ステ
ップ16と前述のように処理される。もしステップ1B
にて0でなければステップ194Cて連続カウンタに示
される数だけ、直前に読み出した文字を送信バッファに
セットし、ステップ20に進み連続カウンタに1をセッ
トする。次にステップ14.ステ′ノ゛ ツブ15.ステップ16と処理される。
Next, in step 11, the contents of the data buffer 3 are read out. In step 12, check whether the content is the same as the character read just before. If it is the same, step 13
, and update the same character consecutive counter by +1).
In step 14, the read data is set in the immediately preceding register, and in step 15, the buffer address is updated. Next, in step 16, it is checked whether the editing is finished, and N
0II, the process returns to step 11 again to read the data from the data buffer 3, and in step 12 it is checked whether it is the same as the previous character. If they are not the same, proceed to step 17 and check whether the continuous counter is 5 or more. If the continuous counter is 5 or more, it is checked in step 18 whether the continuous counter is 0 or not, and if it is 0, the number is 15. Step 14. Step 15. Step 16 and processing as described above. If step 1B
If it is not 0 at step 194C, the number of characters read out immediately before is set in the transmission buffer in the number indicated by the continuous counter, and the process proceeds to step 20, where 1 is set in the continuous counter. Next step 14. Step 15. Step 16 is processed.

ステップ17にて連続カウンタ値が5以上である場合に
はステップ21に進み特殊制御文字(OR)ト現在のバ
ッファアドレス(ADR)とを送信バッファにセットす
る。次にステップ20にて連続カウンタに1をセットす
る。次にステップ14にて読み出したデータを直前レジ
スタに格納し、ステップ15に1バツフアアドレスを更
新し、ステップ16で編集か終ったかどうかチェックし
、編集が終了TIらIDとなる。以上により文字が連続
して5以上の場合には、伝送データを圧縮して中央処理
装置に伝送されることになる。
If the continuous counter value is 5 or more in step 17, the process proceeds to step 21, where a special control character (OR) and a current buffer address (ADR) are set in the transmission buffer. Next, in step 20, a continuous counter is set to 1. Next, in step 14, the read data is stored in the immediately preceding register, the 1 buffer address is updated in step 15, and it is checked in step 16 whether the editing has been completed, and the editing is completed from TI to ID. As described above, if there are five or more consecutive characters, the transmitted data is compressed and transmitted to the central processing unit.

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

本発明によれば、中央処理装置へ、または端末間通信で
伝送される情報中に同一文字が連続しである場合には、
データが簡単に圧縮され、レスポンスの向上および回線
料金の削減が図かれることになる。
According to the present invention, if the same character appears consecutively in the information transmitted to the central processing unit or through terminal-to-terminal communication,
Data can be easily compressed, improving response times and reducing line charges.

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

第1図は、本発明の一実施例を示す端末装置のブロック
図、第2図はデータバッファ内に格納された情報の例の
説明図、第6図は、従来の端末装置から伝送される伝送
形式の説明図、第4図は本発明による端末装置から伝送
されろ伝送形式の説明図、第5図は本発明のデータ伝送
形式を作成するためのマイクロプログラムのフロー図で
ある。 1・・・オンライン制御部、 3・・・データバッファ、 4・・・マイクロプログラム貯蔵メモリ、51.マイク
ロプロセッサ、 業1 民 止吃皿豪 h z 図 第3図 第4−ilffi 第5図
FIG. 1 is a block diagram of a terminal device showing an embodiment of the present invention, FIG. 2 is an explanatory diagram of an example of information stored in a data buffer, and FIG. 6 is a diagram showing information transmitted from a conventional terminal device. FIG. 4 is an explanatory diagram of the transmission format transmitted from the terminal device according to the present invention, and FIG. 5 is a flowchart of a microprogram for creating the data transmission format of the present invention. 1... Online control unit, 3... Data buffer, 4... Microprogram storage memory, 51. Microprocessor, Industry 1 Minstopuutarago hz Figure 3 Figure 4-ilffi Figure 5

Claims (1)

【特許請求の範囲】[Claims] 1、データバッファ内の情報をマイクロプログラムで処
理し、情報を通信回線を介して伝送する端末装置におい
て、該端末装置の該データバッファから前記通信回線を
介して情報を伝送する時に、該データバッファ内の情報
に連続した同一文字が一定以上あることを認識する手順
と、連続した同一文字が一定以上あった場合には、その
先頭に特殊コードを付加する手段と、該特殊コードの次
に前記連続した同一文字の最後のアドレスを付加する手
段とをもって伝送する情報を自動的に圧縮することを特
徴とする端末装置。
1. In a terminal device that processes information in a data buffer using a microprogram and transmits the information via a communication line, when transmitting information from the data buffer of the terminal device via the communication line, the data buffer a procedure for recognizing that there are more than a certain number of consecutive identical characters in the information, a means for adding a special code to the beginning of the same character when there are more than a certain number of consecutive identical characters, and a means for adding a special code to the beginning of the same character, and a method for adding a special code to the beginning of the same character, 1. A terminal device characterized in that information to be transmitted is automatically compressed by means of adding the last address of consecutive identical characters.
JP1563986A 1986-01-29 1986-01-29 Terminal equipment Pending JPS62175057A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1563986A JPS62175057A (en) 1986-01-29 1986-01-29 Terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1563986A JPS62175057A (en) 1986-01-29 1986-01-29 Terminal equipment

Publications (1)

Publication Number Publication Date
JPS62175057A true JPS62175057A (en) 1987-07-31

Family

ID=11894287

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1563986A Pending JPS62175057A (en) 1986-01-29 1986-01-29 Terminal equipment

Country Status (1)

Country Link
JP (1) JPS62175057A (en)

Similar Documents

Publication Publication Date Title
JPH1021165A (en) Communication method and its device and communication system
JPS62175057A (en) Terminal equipment
JPH07146810A (en) Computer system
JPH036924A (en) Terminal equipment
US5430840A (en) Predictive paging assist
JPH0973408A (en) Data processor and data input/output processing method
JPH0535620A (en) File transferring device
JP2905552B2 (en) Keyboard control method
JP3066707B2 (en) Processing control unit
JPH0357018A (en) Shift code compressing system
JPH09128212A (en) Method and device for compressing data on bill information
JPS63176049A (en) Data compression system
JP3470445B2 (en) Agency processing system
JPS5816819B2 (en) Data compression method
JPH03162134A (en) Compressing/expanding system for communication data
JPS5952341A (en) Data coding system
JPS61117647A (en) Input/output terminal equipment
JPH0440554A (en) Character data processor
JPH01250122A (en) Deciding system for input data conditions
JPH1093443A (en) Data compression restoring device and its method
JPH01118957A (en) Data processor
JPH0535634A (en) Input editing a0nd processing system
JPH05303549A (en) Terminal data inheritance system
JPH04181352A (en) Screen message transfer system
JPH01250123A (en) Character data processor