JPH02238519A - Data conversion system - Google Patents
Data conversion systemInfo
- Publication number
- JPH02238519A JPH02238519A JP6016489A JP6016489A JPH02238519A JP H02238519 A JPH02238519 A JP H02238519A JP 6016489 A JP6016489 A JP 6016489A JP 6016489 A JP6016489 A JP 6016489A JP H02238519 A JPH02238519 A JP H02238519A
- Authority
- JP
- Japan
- Prior art keywords
- data
- terminal device
- screen
- host computer
- tabular
- 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
Links
- 238000006243 chemical reaction Methods 0.000 title claims description 10
- 238000000034 method Methods 0.000 claims description 7
- 230000004044 response Effects 0.000 claims description 6
- 230000003247 decreasing effect Effects 0.000 claims description 2
- 238000013500 data storage Methods 0.000 description 17
- 238000007726 management method Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 6
- 230000014759 maintenance of location Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000001174 ascending effect Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
Landscapes
- Digital Computer Display Output (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はホスト・コンピュータと端末装置との間におけ
る表形式データの転送に利用する。特に、ホスト・コン
ピュータの表形式データを端末装置が表示する形式に変
換するデータ変換方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention is used for transferring tabular data between a host computer and a terminal device. In particular, the present invention relates to a data conversion method for converting tabular data of a host computer into a format displayed by a terminal device.
本発明は、ホスト・コンピュータの表形式データを端末
装置が表示する形式に変換するデータ変換方式において
、
データを一時蓄積して再利用することにより、転送デー
タ量を削減するとともに、端末装置の利用者に優れた操
作性を提供するものである。In a data conversion method that converts tabular data from a host computer into a format that can be displayed by a terminal device, the present invention reduces the amount of transferred data and utilizes the terminal device by temporarily storing and reusing data. This provides excellent operability for users.
ホスト・コンピータのアプリケーションプログラムで処
理された表形式データを端末装置の画面に出力するには
、そのデータを端末装置用に変換する必要がある。この
ため従来は、端末装置の通信プログラムにより、あらか
じめ定められた画面オブジェクト形式にしたがってデー
タを変換していた。この場合に、利用者の画面摸作に対
して、一回の操作により一画面分の表形式データが転送
される。In order to output tabular data processed by an application program on a host computer to the screen of a terminal device, it is necessary to convert the data for the terminal device. For this reason, conventionally, data has been converted according to a predetermined screen object format using a communication program of a terminal device. In this case, tabular data for one screen is transferred with one operation for the user's screen sketch.
しかし、ホスト・コンピュータ側の表形式データに罫線
や色などの付加情報が多い場合には転送量が膨大となり
、一画面を生成するための応答時間が長くなる欠点があ
った。また、一画面単位の転送では、行単位のスクロー
ルや列単位のスクロールを制御することができず、端末
装置の優れた機能を生かすことができない欠点があった
。さらに、端末装置に転送された画面オブジェクトが一
回の操作の度に廃棄されるため、転送データが増加し、
応答時間が長くなる欠点があった。However, if the tabular data on the host computer side includes a lot of additional information such as ruled lines and colors, the amount of data to be transferred becomes enormous, and the response time to generate one screen becomes long. Furthermore, when transferring one screen at a time, it is not possible to control scrolling on a row-by-row or column-by-column basis, and there is a drawback that the superior functions of the terminal device cannot be utilized. Furthermore, since screen objects transferred to the terminal device are discarded after each operation, the amount of transferred data increases.
The drawback was that the response time was long.
本発明は、以上の問題点を解決し、ホスト・コンピュー
タから端末装置への表形式データの転送効率を高め、端
末装置の優れた機能を生かすことができるデータ変換方
式を提供することを目的とする。It is an object of the present invention to provide a data conversion method that can solve the above problems, improve the efficiency of transferring tabular data from a host computer to a terminal device, and make use of the excellent functions of the terminal device. do.
本発明のデータ変換方式は、ホスト・コンピュータから
の表形式データを分割して端末装置への転送サイズを最
適化するブロック長決定手段と、端末装置が表示する複
数画面のデータをひとつの単位としてホスト・コンピュ
ータから受け取る複数画面入力手段と、この複数画面入
力手段に入力されたデータを一時的に蓄えるデータ保持
手段と、端末装置からの要求によりデータ保持手段に蓄
えられたデータを端末装置に転送する端末画面転送手段
と、データ保持手役に蓄えられたデータのうち上記端末
装置から要求回数の小さいものから順次廃棄するデータ
廃棄手段とを備えたことを特徴とする。The data conversion method of the present invention includes a block length determining means that divides tabular data from a host computer to optimize the transfer size to a terminal device, and a block length determining means that divides tabular data from a host computer to optimize the size of transfer to a terminal device. A multi-screen input means for receiving data from a host computer, a data holding means for temporarily storing data input to the multi-screen input means, and transmitting the data stored in the data holding means to the terminal device in response to a request from the terminal device. The present invention is characterized by comprising: a terminal screen transfer means for transferring data; and a data discard means for discarding data stored in the data holding hand sequentially from data requested from the terminal device in ascending order of the number of requests.
端末装置の複数画面分に相当する表形式データをホスト
・コンピュータから受け取って一時的に蓄え、そのデー
タを必要に応じて端末装置に転送する。このとき、転送
すべきデータが表形式であることから、ホスト・コンピ
ュータ側の表形式データを分割して転送する。これによ
り、データ転送が効率化されるとともに、データの格納
が効率化される。また、複数画面のデータを蓄えること
により、端末装置に対する応答速度を短縮するとともに
、端末装置が画面表示を行っている間に次のデータをホ
スト・コンピュータから受け取ることができ、データ転
送の効率を高めることができる。さらに、端末装置から
要求される可能性の低いものを廃棄することにより、メ
モリを有効に利用できる。Tabular data corresponding to multiple screens of the terminal device is received from the host computer, temporarily stored, and the data is transferred to the terminal device as necessary. At this time, since the data to be transferred is in tabular format, the tabular data on the host computer side is divided and transferred. This makes data transfer more efficient and data storage more efficient. In addition, by storing data from multiple screens, the response speed to the terminal device can be shortened, and the next data can be received from the host computer while the terminal device is displaying the screen, increasing the efficiency of data transfer. can be increased. Furthermore, memory can be used effectively by discarding items that are unlikely to be requested by the terminal device.
第1図は本発明実施例データ交換方式を示すブロック構
成図である。FIG. 1 is a block diagram showing a data exchange system according to an embodiment of the present invention.
この実施例は、ホスト・コンピュータ3の表形式データ
を端末装置1が表示する形式に変換するために、端末装
置1側にデータ交換装置2を備える。ホスト・コンピュ
ータ3は、データベースおよびデータベース処理手部を
備える。In this embodiment, a data exchange device 2 is provided on the terminal device 1 side in order to convert tabular data of the host computer 3 into a format displayed by the terminal device 1. The host computer 3 includes a database and a database processing unit.
ここで本実施例の特徴とするところは、データ交換装置
2に、ホスト・コンピュータ3からの表形式データを分
割して端末装置1への転送サイズを最適化するブロック
長決定手段として表データブロック長決定部20を備え
、端末装置1が表示する複数画面のデータをひとつの単
位としてホスト・コンピュータ3から受け取る複数画面
入力手段として表データ複数画面入力部21を備え、こ
の表データ複数画面入力部21に入力されたデータを一
時的に蓄えるデータ保持手段として表データ保持管理部
22および表データ格納テーブル23を備え、端末装置
1からの要求により表データ格納テーブル23に蓄えら
れたデータを端末装置1に転送する端末画面転送手段と
して端末画面生成部24、表データインデックス管理部
25、画面人出力バ・ソファ26および端末画面制御部
27と、表データ格納テーブル23に蓄えられたデータ
のうち端末装置1からの要求回数の小さいものから順次
廃棄するデータ廃棄手段として表データ廃棄部28およ
び廃棄優先度管理部29を備えたことにある。Here, the feature of this embodiment is that the data exchange device 2 is provided with a tabular data block as a block length determining means for dividing the tabular data from the host computer 3 and optimizing the transfer size to the terminal device 1. The tabular data multiple screen input unit 21 is provided as a multiple screen input means for receiving multiple screens of data displayed by the terminal device 1 as one unit from the host computer 3. A tabular data retention management section 22 and a tabular data storage table 23 are provided as data storage means for temporarily storing data input to the terminal device 1. The terminal screen generation section 24, the table data index management section 25, the screen person output bar/sofa 26, and the terminal screen control section 27 act as terminal screen transfer means to transfer the data stored in the table data storage table 23 to the terminal screen. The table data discard unit 28 and the discard priority management unit 29 are provided as data discard means for discarding data in order of decreasing number of requests from the device 1.
第2図は表データのブロック分けの例を示し、第3図は
ブロソク分割の決定ルールの例を示す。FIG. 2 shows an example of dividing table data into blocks, and FIG. 3 shows an example of rules for determining block division.
表データブロック長決定部20は、利用者が端末装置1
から要求した表データについて、ホスト・コンピュータ
3と端末装置1との間の転送単位と表の属性とにより、
端末装置1側へのデータ格納を効率化できるようにブロ
ック長を決定する。The table data block length determination unit 20 determines whether the user
Regarding the table data requested from the host computer 3 and the terminal device 1, depending on the transfer unit and table attributes,
The block length is determined so that data storage on the terminal device 1 side can be made more efficient.
まず、列方向については、第3図(a)に示すように、
データ長の合計がある一定の長さ以上となり、かつ最大
となるように表の左端から順に分割する。First, in the column direction, as shown in Figure 3(a),
Divide the table starting from the left end so that the total data length is a certain length or more and is the maximum.
ただし、一列のデータ長が一定の長さを越える場合には
、その列だけのひとつのブロックを形成する。行につい
ては、第3図(b)に示すように、表の上端から順に、
ある一定の行数で分割する。ただし、表の下端のブロッ
クだけは一定以下の行数とすることもできる。分割され
た個々の表は、ブロック・カラムアドレスBCAと、ブ
ロック・ラインアドレスBLAとによりアドレス指定さ
れる。However, if the data length of one column exceeds a certain length, one block of only that column is formed. As for the rows, as shown in Figure 3(b), starting from the top of the table,
Split by a certain number of lines. However, the number of rows in only the bottom block of the table can be set to less than a certain number. Each partitioned table is addressed by a block column address BCA and a block line address BLA.
第4図はホスト・コンピュータ側の表形式データと表デ
ータ格納テーブル内のデータとの対応の一例を示す。表
データ格納テーブル23には、例えば第4図に斜線で示
したように、表形式データの一部のデータが記憶される
。FIG. 4 shows an example of the correspondence between tabular data on the host computer side and data in the tabular data storage table. The tabular data storage table 23 stores part of the tabular data, for example, as indicated by diagonal lines in FIG.
表データ複数画面入力部21は、画面を表示するために
必要な範囲のデータをホスト・コンピュータ3から読み
込む。このとき、表データ保持管理部22が表データ格
納テーブル23に存在しているデータと判断した場合に
は、そのデータを再利用してホスト・コンピュータ3と
の間の通信を削減する。また、表データブロック長決定
部20によりブロックサイズを画面サイズより小さめに
設定し、利用者の画面操作により画面に必要なデータが
表データ格納テーブル23に無くなった場合には、その
画面に関係する範囲のブロンクを複数個、新たに表デー
タ格納テーブル23に読み込む。これにより、ホスト・
コンピュータ3から端末装置1へのデータ転送およびそ
のデータの保持が、利用者の画面摸作の軌跡にしたがっ
て行われる。これにより、一回の転送量をむやみに増や
して利用者の参照しない画面の部分まで転送することを
避けることができる。The tabular data multiple screen input unit 21 reads from the host computer 3 a range of data necessary for displaying the screen. At this time, if the tabular data retention management section 22 determines that the data exists in the tabular data storage table 23, that data is reused to reduce communication with the host computer 3. In addition, if the block size is set smaller than the screen size by the tabular data block length determining unit 20 and the data necessary for the screen disappears in the tabular data storage table 23 due to the user's screen operation, the data related to that screen A plurality of broncs in the range are newly read into the tabular data storage table 23. This allows the host
Data transfer from the computer 3 to the terminal device 1 and retention of the data are performed according to the trajectory of the user's screen sketch. This makes it possible to avoid unnecessarily increasing the amount of data to be transferred at one time and transferring data to portions of the screen that the user does not refer to.
表データ格納テーブル23の記憶構造を第5図に示す。The storage structure of the tabular data storage table 23 is shown in FIG.
端末画面生成部24は、表データインデックス管理部2
5を利用して、表データ格納テーブル23に格納された
データから画面表示に必要なデータを取り出し、表示画
面を生成して画面人出力バッファ26に蓄える。表デー
タインデックス管理部25は、表データ格納テーブル2
3内のインデックスを管理し、端末画面生成部24によ
るデータの取り出し効率を高めるものである。このイン
デックスとしては、行アドレスと列アドレスとをキーと
するハッシュインデックスを用いる。The terminal screen generation unit 24 is the table data index management unit 2
5, the data necessary for screen display is extracted from the data stored in the table data storage table 23, a display screen is generated, and the data is stored in the screen output buffer 26. The table data index management unit 25 stores the table data storage table 2
3, and improves the efficiency of data retrieval by the terminal screen generation unit 24. As this index, a hash index using row addresses and column addresses as keys is used.
端末画面制御部27は、画面人出力バッファ26に蓄え
られた表示画面により、直接に端末装置1の画面を制御
する。さらに端末画面制御部27は、矢印キーなどによ
る行単位または列単位の画面移動制御を行う。The terminal screen control unit 27 directly controls the screen of the terminal device 1 using the display screen stored in the screen output buffer 26. Furthermore, the terminal screen control unit 27 controls screen movement in rows or columns using arrow keys or the like.
表データ廃棄部28は、表データ格納テーブル23に格
納されたデータ量が最大保持データ量を越える場合に、
既存のデータをブロック単位で優先どの低い順に廃棄す
る。廃棄するブロックの優先度は、廃棄優先度管理部2
9により管理する。When the amount of data stored in the table data storage table 23 exceeds the maximum retained data amount, the table data discard unit 28
Discard existing data block by block in order of lowest priority. The priority of the block to be discarded is determined by the discard priority management unit 2.
Managed by 9.
以上の実施例ではデータ変換装置を端末装置とは別に設
けた例を示したが、端末装置に内蔵させても本発明を同
様に実施できる。In the above embodiment, an example was shown in which the data conversion device was provided separately from the terminal device, but the present invention can be implemented in the same way even if the data conversion device is built into the terminal device.
以上説明したように、本発明のデータ変換方式は、端末
装置側のメモリを有効に利用でき、しかもその画面処理
機能を有効に利用できる効果がある。また、回線上のデ
ータ転送量を削減することができ、応答特性を向上させ
ることができる効果がある。As described above, the data conversion method of the present invention has the effect of making it possible to effectively utilize the memory on the terminal device side and also making effective use of its screen processing function. Furthermore, the amount of data transferred on the line can be reduced and response characteristics can be improved.
第1図は本発明実施例データ交換方式を示すブロック構
成図。
第2図は表データのブロック分けの例を示す図。
第3図はブロック分割決定ルールの例を示す図。
第4図はホスト・コンピュータ側の表形式データと表デ
ータ格納テーブル内のデータとの対応の一例を示す図。
第5図は表データ格納テーブルの構造を示す図。
1・・・端末装置、2・・・データ交換装置、3・・・
ホスト・コンピュータ、20・・・表データブロック長
決定部、21・・・表データ複数画面入力部、22・・
・表データ保持管理部、23・・・表データ格納テーブ
ル、24・・・端末画面生成部、25・・・表データイ
ンデックス管理部、26・・・画面入出力バソファ、2
7・・・端末画面制御部、28・・・表データ廃棄部、
29・・・廃棄優先度管理部。
■
ぐFIG. 1 is a block diagram showing a data exchange system according to an embodiment of the present invention. FIG. 2 is a diagram showing an example of dividing tabular data into blocks. FIG. 3 is a diagram showing an example of block division determination rules. FIG. 4 is a diagram showing an example of the correspondence between tabular data on the host computer side and data in the tabular data storage table. FIG. 5 is a diagram showing the structure of a tabular data storage table. 1...Terminal device, 2...Data exchange device, 3...
Host computer, 20...Table data block length determination unit, 21...Table data multiple screen input unit, 22...
- Tabular data retention management unit, 23... Tabular data storage table, 24... Terminal screen generation unit, 25... Tabular data index management unit, 26... Screen input/output bath sofa, 2
7... Terminal screen control section, 28... Table data disposal section,
29... Disposal priority management department. ■ Gu
Claims (1)
表示する形式に変換するデータ変換方式において、 上記ホスト・コンピュータからの表形式データを分割し
て上記端末装置への転送サイズを最適化するブロック長
決定手段と、 上記端末装置が表示する複数画面のデータをひとつの単
位として上記ホスト・コンピュータから受け取る複数画
面入力手段と、 この複数画面入力手段に入力されたデータを一時的に蓄
えるデータ保持手段と、 上記端末装置からの要求により上記データ保持手段に蓄
えられたデータを上記端末装置に転送する端末画面転送
手段と、 上記データ保持手段に蓄えられたデータのうち上記端末
装置からの要求回数の小さいものから順次廃棄するデー
タ廃棄手段と を備えたことを特徴とするデータ変換方式。[Claims] 1. In a data conversion method for converting tabular data from a host computer into a format to be displayed by a terminal device, the size of the tabular data from the host computer is divided and transferred to the terminal device. block length determining means for optimizing the data; multi-screen input means for receiving data from the host computer as one unit from the plurality of screens displayed by the terminal device; a terminal screen transfer means for transferring the data stored in the data holding means to the terminal device in response to a request from the terminal device; and a terminal screen transfer means for transferring the data stored in the data holding means to the terminal device; 1. A data conversion method comprising: data discarding means for discarding data in order of decreasing number of requests.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6016489A JPH02238519A (en) | 1989-03-13 | 1989-03-13 | Data conversion system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6016489A JPH02238519A (en) | 1989-03-13 | 1989-03-13 | Data conversion system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02238519A true JPH02238519A (en) | 1990-09-20 |
Family
ID=13134242
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6016489A Pending JPH02238519A (en) | 1989-03-13 | 1989-03-13 | Data conversion system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02238519A (en) |
-
1989
- 1989-03-13 JP JP6016489A patent/JPH02238519A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8649427B2 (en) | Image processor, image generator and computer program | |
| CN112905587B (en) | Database data management method, device and electronic equipment | |
| JPH10269131A (en) | Computer system and method for sorting array element for optimization of alteration of array | |
| EP3963853B1 (en) | Optimizing storage and retrieval of compressed data | |
| JP2978519B2 (en) | Document data display method and system | |
| CN116107959A (en) | Caching method, image transmission method, electronic device and storage medium | |
| CN106998489B (en) | A kind of focus is crossed the border searching method and device | |
| JPH02238519A (en) | Data conversion system | |
| US6992788B2 (en) | Image processing apparatus and method, and storage medium | |
| CN113010454A (en) | Data reading and writing method, device, terminal and storage medium | |
| CN116955212A (en) | Memory defragmentation method, device, equipment and storage medium | |
| KR20010056528A (en) | Data tiling method for retrieving and handling large volume of data | |
| JPS6046588A (en) | Distributed registered character usage frequency determination method | |
| JP2000513126A (en) | Method of reducing required storage capacity of database and construction of database | |
| JPH05233510A (en) | Character data management method | |
| CN121967231A (en) | Large-size image data interaction method, device, medium and readable storage medium | |
| JP2001177800A (en) | Video server and program recording medium | |
| JPH08194702A (en) | Information processing apparatus and character cache method thereof | |
| JP2002244639A (en) | Font processor | |
| JPH0614060A (en) | Buffer management method | |
| CN120031005A (en) | A method, device, electronic device and storage medium for processing table data | |
| JPS62283392A (en) | Kanji processor | |
| JPS60114926A (en) | Two-dimensional coordinate data conversion device | |
| JPH0417544B2 (en) | ||
| JPH04273544A (en) | Inputting and outputting device for non-procedural data |