JPS63263524A - Data structure converting system - Google Patents

Data structure converting system

Info

Publication number
JPS63263524A
JPS63263524A JP62097310A JP9731087A JPS63263524A JP S63263524 A JPS63263524 A JP S63263524A JP 62097310 A JP62097310 A JP 62097310A JP 9731087 A JP9731087 A JP 9731087A JP S63263524 A JPS63263524 A JP S63263524A
Authority
JP
Japan
Prior art keywords
data
storage device
conversion
block
data structure
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
JP62097310A
Other languages
Japanese (ja)
Inventor
Takaaki Seki
関 高明
Hiroyuki Kitajima
北嶋 弘行
Akira Yamamoto
彰 山本
Masashi Tsuchida
正士 土田
Shinichi Fukushima
福嶋 慎一
Akira Kurano
倉野 昭
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 JP62097310A priority Critical patent/JPS63263524A/en
Publication of JPS63263524A publication Critical patent/JPS63263524A/en
Pending legal-status Critical Current

Links

Landscapes

  • Complex Calculations (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To reduce the data arrangement change processing in the data reception side, to improve the processing efficiency and to shorten the processing time by converting the data structure in data transfer units in accordance with a data structure conversion request to transfer data at the time of transferring data existing in a data storage medium to another data storage medium. CONSTITUTION:A data structure converter 3 is newly provided between an external storage device 4 and a main storage device 2; and when a CPU 1 issues a request for data transfer from the external storage device 4 to the main storage device 2 or from the main storage device 2 to the external storage device 4, the data structure converting request which prompts transposition of significant data set units in each block as a data transfer unit is transferred to the data structure converter and data arrangement in the block is converted on the basis of this request to transfer data to the main storage device 2 or the external storage device 4. Thus, the data arrangement processing time in the vector instruction generation processing on the side of the CPU 1 is shortened.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、計算機システムにおいて、外部記憶装置(デ
ータ格納装置・一般を指す)から主記憶装置(データ操
作用の一時保管装置・一般を指すものとする)もしくは
、主記憶装置から外部記憶装置へデータを転送する際に
、指定されたデータの構造変換要求に従い、データの配
置を変換して、送る方式に関する。
[Detailed Description of the Invention] [Industrial Field of Application] The present invention relates to a computer system in which data is stored in a computer system from an external storage device (data storage device, generally referred to) to a main storage device (temporary storage device for data manipulation, generally referred to). Alternatively, it relates to a method of converting the arrangement of data according to a specified data structure conversion request when transferring data from a main storage device to an external storage device.

〔従来の技術〕[Conventional technology]

従来の方式は、特開昭60−134945号に記載のよ
うに、データベース処理におけるアクセス単位を複数レ
コードとして主記憶装置内の格納アドレスへの変換を一
括して行ない、該複数レコードをベクトル形式で主記憶
上に展開した後、ベクトル処理を行なうことにより処理
を高速化するとなっていた。しかし、外部記憶装置上の
データを主記憶へ転送時に、ベクトル形式に展開するよ
うレコード内の論理データを配置変換して転送する点に
ついては配慮されていなかった。
In the conventional method, as described in Japanese Patent Application Laid-Open No. 134945/1982, the access unit in database processing is made into multiple records, which are converted into storage addresses in the main storage device at once, and the multiple records are converted into vector format. After expanding into main memory, vector processing was performed to speed up processing. However, when transferring data on an external storage device to main memory, no consideration was given to converting the arrangement of logical data within a record so that it is expanded into a vector format before being transferred.

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

上記従来技術は、外部記憶装置と主記憶装置間における
データ転送時、データ受信側で処理しやすい、もしくは
保持しておきたいデータの構造に変更する点について配
慮されておらず、一旦、データ受信側で受けとったデー
タを処理しやすいように、もしくは保持しておきたいよ
うにデータの構造を変換(データの配置換え)する処理
を行うため、データの構造変換に時間を要するという問
題があった。
The above conventional technology does not consider changing the structure of data that is easy to process or want to retain on the data receiving side when transferring data between the external storage device and the main storage device. There is a problem in that it takes time to convert the data structure because the data structure is converted (rearranged) so that the received data can be easily processed or desired to be retained.

本発明の目的は、外部記憶装置から主記憶装置、もしく
は主記憶装置から外部記憶装置へデータ転送を行う場合
、データの構造変換要求に従い、データを配置変換して
送ることにより、データ受信側でのデータ配置変更処理
の削減による処理効率向上と処理時間の低減を図ること
にある。
An object of the present invention is to transfer data from an external storage device to a main storage device, or from a main storage device to an external storage device, by changing the arrangement of the data and sending it in accordance with a data structure conversion request. The purpose of this invention is to improve processing efficiency and reduce processing time by reducing data arrangement change processing.

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

上記目的は、外部記憶装置と主記憶装置の間に。 The above purpose is between external storage and main storage.

新たにデータ構造変換装置を設け、外部記憶装置から主
記憶装置、もしくは、主記憶装置から外部記憶装置へデ
ータを転送するようCPUから要求を発する時に、デー
タ転送単位であるブロック毎に、ブロック内の意味のあ
るデータのまとまり単位の並び換えを指示するデータの
構造変換要求をデータ構造変換装置へ渡し、それに基づ
きブロック内のデータの配置を変換し、主記憶装置、ま
たは外部記憶装置へ転送することにより、達成される。
When a new data structure conversion device is installed and a request is issued from the CPU to transfer data from an external storage device to a main storage device or from a main storage device to an external storage device, each block, which is a unit of data transfer, is A data structure conversion request that instructs the sorting of meaningful data blocks is passed to the data structure conversion device, the data arrangement within the block is converted based on the request, and the data is transferred to the main storage or external storage. This is achieved by:

〔作用〕 データ構造変換装置は、CPUからのデータの転送要求
及びデータ構造変換要求により、外部記憶装置、もしく
は、主記憶装置上の該ファイルのデータをブロック単位
に入力し、データ構造変換要求をもとに、ブロック内の
該当データの配置を変更データ受信側の外部記憶装置ま
たは主記憶装置へ転送する動作を行う、データ構造変換
要求の情報は、ブロック内にあるデータの変更前アドレ
ス情報(ブロックの先頭からの相対アドレス、長さ)と
変更後のアドレス情報からなる。これにより、データ構
造変換装置はデータ送信側における記憶装置上の該ファ
イル1からブロック東位にブロック内データの構造変換
を行い、データ受信側の記憶装置へ転送するため、CP
Uが主記憶上で、データの構造変換を行う必要がない。
[Operation] In response to a data transfer request and a data structure conversion request from the CPU, the data structure conversion device inputs the data of the file on the external storage device or main storage device in block units, and issues the data structure conversion request. Based on the information on the data structure conversion request, which transfers the arrangement of the corresponding data in the block to the external storage device or main storage device on the receiving side of the changed data, the address information (before change) of the data in the block is It consists of the relative address and length from the beginning of the block and the address information after the change. As a result, the data structure conversion device converts the structure of the data in the block from the file 1 on the storage device on the data sending side to the block east position, and transfers it to the storage device on the data receiving side.
There is no need for U to perform structural conversion of data on the main memory.

〔実施例〕〔Example〕

以下1本発明の一実施例を図面を参照して詳細に説明す
る。実施例の構成を第1図に示す。1は中央処理装置(
CPU)、2は主記憶装置、4は外部記憶装置、3はデ
ータ構造変換装置で、変発明が新たに設置する装置であ
る。31は、転送及びデータ構造変換命令受取り部で、
1から3への命令情報を受ける。受は取った情報は35
処理要求受付部の各テーブルへ格納する。33はブロッ
ク取得部で、指定されたブロックを外部記憶装置4から
取り込む、32はデータ構造変換処理部で、1からのデ
ータ構造変換要求により、33のブロック取得部が取り
込んだブロック内のデータ構造を変換する。34はデー
タ変換結果送出部で、36バツフア部のデータ構造変換
後のブロック用バッファ内のブロックを2の主記憶装置
°へ転送する。36はバッファ部で1つ以上の変換前ブ
ロック用バッファと同じく1つ以上の変換後ブロック用
バッファから成り、4の外部記憶装置から受は取ったブ
ロックは、変換前ブロック用バッファに格納され、デー
タ構造を変換したブロックは、変換後ブロック用バッフ
ァに格納する。37はバッファ管理部で、変換前ブロッ
ク用バッファと変換後ブロック用バッファの状態を管理
するテーブルを持つ0両状態テーブルの11バツフアI
D”は。
Hereinafter, one embodiment of the present invention will be described in detail with reference to the drawings. The configuration of the embodiment is shown in FIG. 1 is the central processing unit (
CPU), 2 is a main storage device, 4 is an external storage device, and 3 is a data structure conversion device, which are newly installed devices by Kenshin. 31 is a transfer and data structure conversion command receiving unit;
Receive command information from 1 to 3. The information received was 35.
Store it in each table of the processing request reception unit. 33 is a block acquisition unit that takes in a specified block from the external storage device 4. 32 is a data structure conversion processing unit that converts the data structure in the block that was taken in by the block acquisition unit 33 in response to a data structure conversion request from 1. Convert. A data conversion result sending unit 34 transfers the block in the block buffer after data structure conversion in the buffer unit 36 to the main storage device 2°. Reference numeral 36 denotes a buffer section which includes one or more pre-conversion block buffers and one or more post-conversion block buffers, and the blocks received from the external storage device 4 are stored in the pre-conversion block buffers. The block whose data structure has been converted is stored in the converted block buffer. 37 is a buffer management unit, which has a table for managing the status of the pre-conversion block buffer and the post-conversion block buffer;
D” is.

36の変換前、及び変換後ブロック用バッファを識別す
る。変換前ブロック用バッファ状態テーブルの″バッフ
ァ状態”は該ブロック用バッファが“空き”、′ブロッ
クが入っているが32による変換が未完了”、′ブロッ
クが入っており32による変換が完了”の状態であるこ
とを例えば、各々、パ0”、“IH%a2”などで表わ
す、一方。
36 pre-conversion and post-conversion block buffers are identified. The ``buffer status'' in the pre-conversion block buffer status table indicates that the block buffer is ``empty'', ``block is contained but conversion by 32 is not completed'', ``block is contained and conversion by 32 is completed''. On the other hand, the status is expressed by, for example, "Pa0", "IH%a2", etc., respectively.

変換後ブロック用バッファ状態テーブルの゛′バッファ
状態”は該ブロック用バッファが″空き″。
``Buffer status'' in the post-conversion block buffer status table indicates that the block buffer is ``empty''.

゛データが入っているが32による変換が未完了″′、
゛データが入っており32による変換が完了”の状態で
あることを例えば、各々、” A #l 、  11 
B ″。
``Data is included but conversion by 32 is not completed'''
For example, if the state is ``data is contained and conversion by 32 is complete'', ``A #l, 11'' respectively.
B''.

“C′tなどで表わす、また1両状態テーブルの゛″処
理要求ID”は該ブロック用バッファがどの処理要求に
応じたブロックで埋められているがを示す。
The "processing request ID" in the one-car state table, which is represented by "C't," indicates which block corresponds to which processing request the block buffer is filled with.

次に、上述のごとき構成になる実施例の動作について説
明する。
Next, the operation of the embodiment configured as described above will be explained.

先ず、CPUIでは次のような処理要求が発行される。First, the following processing request is issued on the CPUI.

すなわち、特定ファイルの中の、論理的なデータの単位
であるレコードを構成する特定のデータについて、指定
された操作(該当データを指定された位置に配置変換し
て転送)を施せというものである。CPUIは該ファイ
ルを含むブロック(複数個あり得る)のID(識別番号
)とその外部記憶袋fi!i4における格納場所IDを
、処理要求発行前に、外部記憶装置4をアクセスし、調
べておく。
In other words, a specified operation (transferring the data to a specified position) is performed on specific data that constitutes a record, which is a logical unit of data, in a specific file. . The CPUI identifies the ID (identification number) of the block (there may be more than one block) containing the file and its external storage bag fi! The storage location ID in i4 is checked by accessing the external storage device 4 before issuing a processing request.

次に、転送及びデータ構造変換命令受取り部31は1よ
り、該処理要求のID、上記のブロック格納場所ID、
対象データ(ブロック内)の配置変換のための変換処理
情報を受けとり、データ構造変換処理部32に渡す。3
2は、処理要求テーブルにつけられたテーブルの配列番
号順に先頭から空きのテーブルを探し、ここに、該処理
要求IDと、ブロック格納場所IDを格納し、また。
Next, the transfer and data structure conversion command receiving unit 31 receives from 1 the ID of the processing request, the above block storage location ID,
Receives conversion processing information for layout conversion of target data (within a block) and passes it to the data structure conversion processing unit 32. 3
2 searches for an empty table from the beginning in the order of the arrangement number of the tables attached to the processing request table, and stores the processing request ID and block storage location ID therein.

空きの変換処理テーブル(処理要求テーブルの配列番号
と同じ番号の変換処理テーブル)を確保し、)    
 そこに、変換処理情報(データID、変換前レコード
内相対アドレス、(データの)長さ、変換後レコード内
相対アドレス)を記入し、さらにブロック格納場所ID
をブロック取得部33へ渡す。
Secure a free conversion processing table (conversion processing table with the same number as the array number of the processing request table).
Enter the conversion processing information (data ID, relative address in the record before conversion, length (of data), relative address in the record after conversion), and also the block storage location ID.
is passed to the block acquisition unit 33.

32は、指定されたブロック(群)を外部記憶装置4か
ら取り込み、バッファ管理部37の変換前ブロック用バ
ッファ状態テーブルにおいて、バッファ状態が’o”(
空き)であるバッファID(群)を調べ、バッファ部3
6の対応する変換前ブロック用バッファ(群)に該ブロ
ック(群)を格納する。しかる後33は、バッファ管理
部37において、上記バッファID(群)に対応する変
換前ブロック用バッファ状態テーブルの″バッファ状態
″をgll19clKブロックが入っているが32によ
る変換が未完了″)に変える。
32 imports the specified block (group) from the external storage device 4, and in the buffer status table for blocks before conversion of the buffer management unit 37, the buffer status is 'o'' (
Check the buffer ID(group) that is empty) and select the buffer part 3.
The block (group) is stored in the corresponding pre-conversion block buffer (group) of No. 6. Thereafter, the buffer management unit 37 changes the "buffer status" of the buffer status table for blocks before conversion corresponding to the buffer ID (group) to "gll19clK block is contained, but the conversion by 32 is not completed"). .

一方、データ構造変換処理部32は、バッファ管理部3
7の変換前ブロック、用バッファ状態テーブルを調べ、
バッファ状態がtt1′rcatブロックが入っている
が32による変換が未完了・・)のバッファIDを1つ
探し、これに対応する処理要求IDを読み、それに該当
する変換処理テーブルの情報を読む、32は1次に、該
バッファIDに対応するバッファ部36の変換前ブロッ
ク用バッファに対し、次の処理を施す、すなわち、該ブ
ロック内の先頭レコードから始め、該レコード内の変換
前レコード内相対アドレスと長さにより示すデータID
のデータを、変換後ブロック用バッファにおける変換後
レコード内相対アドレスで示すところ(番地)へ格納す
る。該ブロックのデータを格納する変換後ブロック用バ
ッファは、データ構造変換処理部32が次のようにして
決定する。まず、37の変換後ブロック用バッファ状態
テーブルのバッファ状態がz A p″ (空き)のも
のを探してバッファ状態を“B”にし、そこへ、該処理
要求IDと同じ処理要求IDをセットする。
On the other hand, the data structure conversion processing unit 32
Check the buffer status table for block 7 before conversion,
Search for one buffer ID whose buffer status is tt1'rcat (contains a block but the conversion by 32 is not completed...), read the corresponding processing request ID, and read the information of the corresponding conversion processing table. 32 firstly performs the following processing on the pre-conversion block buffer of the buffer section 36 corresponding to the buffer ID, that is, starting from the first record in the block, Data ID indicated by address and length
The data is stored at the location (address) indicated by the relative address in the post-conversion record in the post-conversion block buffer. The converted block buffer for storing the data of the block is determined by the data structure conversion processing unit 32 as follows. First, search for the buffer status of 37 post-conversion block buffer status table z A p'' (empty), set the buffer status to "B", and set there the same processing request ID as the processing request ID. .

そして、lレコード内の配置変換対象となるデータ(複
数)を該当変数後ブロック用バッファに移し終えれば、
次のレコードも同様に配置変換を行い、該ブロックの処
理を完了すると、該変換前ブロック用バッファに対応す
る37の変換前ブロック用バッファ状態テーブルのバッ
ファ状態を“0”  (空き)にし、処理要求IDもク
リアする。
Then, once the data (multiple data) to be rearranged in the l record are moved to the buffer for the block after the corresponding variable,
The next record is also rearranged in the same way, and when the processing of the block is completed, the buffer status of the 37 pre-conversion block buffer status tables corresponding to the pre-conversion block buffer is set to “0” (empty), and processing is performed. Also clears the request ID.

また、該変換後ブロック用バッファに対応する37の変
換後ブロック用バッファ状態テーブルのバッファ状態を
′C” (データが入っており32による変換が完了)
にセットする。
In addition, the buffer status of the 37 post-conversion block buffer status table corresponding to the post-conversion block buffer is 'C' (data is contained and conversion in 32 is completed).
Set to .

そして、データ構造変換処理部32は、36の他の変換
前ブロック用バッファについても、上記と同様に反復処
理をする。
Then, the data structure conversion processing unit 32 repeats the same process as above for the other 36 pre-conversion block buffers.

他方、データ変換結果送出部34は、変換後ブロック用
バッファ状態テーブル37のバッファ状態がC” (デ
ータが入っており32による変換が完了)のバッファI
Oと処理要求IDを見つけ、次に、バッファ部36から
該バッファIDに対応する変更後ブロック用バッファ中
のブロックとこれに対応する処理要求IDとを主記憶装
置2に転送する。転送終了後、該変更後ブロック用バッ
ファ及び該変更後ブロック用バッファ状態テーブルも、
データ変換結果送出部32がクリアする。ここで、転送
のタイミングは、一定周期ごと、あるいは37中で変換
後ブロック用バッファ状態テーブルのバッファ状態が1
1 C#lのバッファ数が一定値を越えた時点などとす
る。また、データ変換結果送出部34は、該処理要求I
Dに該当する該ファイルのブロック全部を(データ構造
変換したもの)主記憶装置へ転送した時点で、処理要求
受付部35の該処理要求IOを格納した処理要求テーブ
ルと、それに該当する変換処理テーブルをクリアする。
On the other hand, the data conversion result sending unit 34 sends a buffer I whose buffer status in the post-conversion block buffer status table 37 is C'' (data is contained and conversion in step 32 is completed).
O and the processing request ID are found, and then the block in the modified block buffer corresponding to the buffer ID and the corresponding processing request ID are transferred from the buffer unit 36 to the main storage device 2. After the transfer is completed, the buffer for the changed block and the buffer status table for the changed block are also
The data conversion result sending unit 32 clears it. Here, the transfer timing is determined at regular intervals or when the buffer status of the post-conversion block buffer status table is 1 in 37.
1 When the number of buffers in C#l exceeds a certain value. Further, the data conversion result sending unit 34 transmits the processing request I
At the time when all blocks of the file corresponding to D (data structure converted) are transferred to the main storage device, the processing request table storing the processing request IO of the processing request reception unit 35 and the corresponding conversion processing table Clear.

以上、外部記憶装置上の該ファイルのデータをブロック
単位にデータ構造を変換し、主記憶装置へデータ転送す
る実施例について述べたが、主記憶装置上にある該ファ
イルのデータをブロック単位にデータ構造を変換し、外
部記憶装置へデータ転送する場合も、上記とほぼ同様の
手順で行える。
Above, we have described an example in which the data structure of the file on the external storage device is converted in block units and the data is transferred to the main storage device. When converting the structure and transferring data to an external storage device, the procedure can be almost the same as above.

次に、データ構造変換前と変換後の詳細を実際のデータ
ベース処理において説明する。
Next, details before and after data structure conversion will be explained in terms of actual database processing.

データベースは、テーブル及びインデクスを格納するペ
ージ(論理的なアクセス単位)から成り、テーブルの横
の欄をロー、縦の欄をカラムと呼ぶ。
A database consists of pages (logical access units) that store tables and indexes, and the horizontal columns of the table are called rows and the vertical columns are called columns.

1      ページは、先頭から順に番号をつけ、こ
れをページ番号として識別する。このローをページ内に
格納したのが、第2図である。このページの構造の例を
第2図を用いて説明する。ページ5内には、ロー51と
オフセット部52からなる。オフセット部52には、ペ
ージ5の先頭アドレスからロー51の先頭までの相対ア
ドレスを格納する。ページ内に存在するロ一単位にオフ
セット部は存在し、ページの後から順に番号がつけられ
る。この番号をスロット番号と呼ぶゆ このようなデータ構造から成るローをCPUI側でベク
トル命令により一括処理するには、第3図に示すごとく
、ロ一群及びデータベクトル6を主記憶装置2上に展開
する必要がある。これを本発明の一実施例に示した手順
に従えば、第2図に示すデータ構造を第3図に示したロ
一群及びデータベクトルのデータ構造に変換して、主記
憶装置2ヘデータ転送することが可能である。第3図に
あるデータベクトル6は、ベクトル命令の処理に必要な
データであり、各ロー51が主記憶装置2上に格納され
た場合のアドレスを指すローアドレス61と該ローがテ
ーブル内のどこに存在するかを示すロー1d62から成
る(ローidは、該ローが存在するページの番号とオフ
セット部を用いて表わすことができる)、ここで、ロー
アドレス61は、主記憶装置2上のアドレスであるため
、CPUIから発行するデータ構造変換要求時に、転送
及びデータ構造変換命令受取り部31は、ロ一群を格納
する主記憶装置2上の先頭アドレスを受けとり、処理要
求受付部35内の処理要求テーブルに格納しておく必要
がある。データ構造変換処理部32は、第2図に示す1
つのページを格納したバッファ部36の変換前ブロック
用バッファのローを同バッファ部36の変換後ブロック
用バッファに格納する度に、ローのサイズと主記憶装置
2上に格納すべき先頭のローから何番目に格納するかを
把握して、ロ一群を格納する主記憶装置2上の先頭アド
レスをもとにローアドレスを算出し、変換後ブロック用
バッファ(第3図のデータベクトル61のローアドレス
61に対応)に格納する。この処理を前記のデータ構造
変換実施例に付加することにより、同様のデータ構造変
換処理手順で第2図から第3図に示すデータ構造の変換
が実現できる。
1 Pages are numbered sequentially from the beginning, and these are identified as page numbers. FIG. 2 shows this row stored within a page. An example of the structure of this page will be explained using FIG. 2. The page 5 includes a row 51 and an offset section 52. The offset section 52 stores a relative address from the start address of page 5 to the start of row 51. An offset section exists for each row within a page, and is numbered sequentially from the end of the page. This number is called a slot number. In order to batch process rows consisting of data structures like this on the CPU side using vector instructions, as shown in FIG. There is a need to. According to the procedure shown in one embodiment of the present invention, the data structure shown in FIG. 2 is converted into the data structure of the group B and data vector shown in FIG. 3, and the data is transferred to the main storage device 2. Is possible. The data vector 6 shown in FIG. 3 is data necessary for processing a vector instruction, and the row address 61 indicates the address when each row 51 is stored in the main memory 2, and where the row is stored in the table. It consists of a row 1d62 indicating whether the row exists (the row ID can be expressed using the page number and offset part of the page where the row exists), where the row address 61 is an address on the main storage device 2. Therefore, when a data structure conversion request is issued from the CPUI, the transfer and data structure conversion instruction receiving unit 31 receives the start address on the main storage device 2 that stores the row group, and updates the processing request table in the processing request receiving unit 35. It must be stored in . The data structure conversion processing unit 32 includes the 1 shown in FIG.
Each time a row in the pre-conversion block buffer of the buffer unit 36 that stores one page is stored in the post-conversion block buffer of the same buffer unit 36, the row size and the first row to be stored in the main storage device 2 are determined. The row address is calculated based on the first address on the main storage device 2 where the row group is stored, and the row address is calculated in the post-conversion block buffer (the row address of the data vector 61 in Figure 3). 61). By adding this process to the data structure conversion embodiment described above, the data structure conversion shown in FIGS. 2 and 3 can be realized using the same data structure conversion process procedure.

他に、CPUIからのデータ構造変換要求時にデータ構
造変換前のデータも主記憶装置2へ転送するよう、要求
を付加することにより、バッファ36の変換前ブロック
用バッファのデータを主記憶装置2へ転送することがで
きる。これは、変換前データの転送要求を処理要求受付
部35の処理要求テーブルに格納しておくことにより、
データ変換結果送出部34が、バッファ部36の変換前
ブロック用バッファ内のデータ(例えば第2図のページ
)を変換後ブロック用バッファ内のデータ(例えば第3
図のロ一群とデータベクトル)といっしょに送ることに
より実現可能となる。この手順を前記のデータ構造変換
実施例に付加すればよい、この処理により、ベータベー
スの更新処理等において、データ構造変換前のデータの
入出力処理の削減により、更新処理の効率化が図られる
In addition, by adding a request to transfer the data before data structure conversion to the main storage device 2 at the time of a data structure conversion request from the CPU, data in the block buffer before conversion of the buffer 36 can be transferred to the main storage device 2. Can be transferred. This can be done by storing the pre-conversion data transfer request in the processing request table of the processing request receiving unit 35.
The data conversion result sending unit 34 transfers the data in the pre-conversion block buffer (for example, the page in FIG. 2) of the buffer unit 36 to the data in the post-conversion block buffer (for example, the third page).
This can be realized by sending the data vectors together with the group B in the figure and the data vector). This procedure can be added to the data structure conversion example described above. Through this process, in beta base update processing, etc., the efficiency of update processing can be improved by reducing the data input/output processing before data structure conversion. .

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

以上に説明したごとく、上述した本発明によれば、外部
記憶装置から主記憶装置へ、もしくは、主記憶装置から
外部記憶装置へ処理要求(データの構造変換要求)によ
り、指定されたデータの構造を変換して転送すればよい
。このため、CPUでの該当データの検出、及び構造変
換処理が減じられるので、CPU使用時間が低減できる
。特に、CPU側でのベクトル命令の作成処理における
データの配置処理時間の短縮が図れるといった効果があ
る。
As explained above, according to the present invention described above, the structure of data specified by a processing request (data structure conversion request) from an external storage device to a main storage device or from a main storage device to an external storage device is transmitted. All you have to do is convert and transfer. Therefore, the CPU's need for detecting relevant data and structural conversion processing is reduced, so that the CPU usage time can be reduced. In particular, it is possible to reduce the time required for data arrangement processing in vector instruction creation processing on the CPU side.

また、データ構造変換前のデータも、データ構造変換後
のデータといっしょに送ることにより、データベース等
の更新処理の効率化が図られる。
Further, by sending the data before data structure conversion together with the data after data structure conversion, it is possible to improve the efficiency of update processing of databases and the like.

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

第1図は、本発明の一実施例の概略構成を示す図、第2
図は、本発明一実施例における外部記憶装置4上の変換
前のデータを示す説明図、第3図は、一実施例における
外部記憶装置i!4上のデータを、主記憶装置へ送るた
めに変換した後のデータの構造図である。 3・・・データ構造変換装置、32・・・データ構造変
換処理部、35・・・処理要求受付部、処理要求テーブ
ル、変換処理テーブル。 第2図
FIG. 1 is a diagram showing a schematic configuration of an embodiment of the present invention, and FIG.
The figure is an explanatory diagram showing data before conversion on the external storage device 4 in one embodiment of the present invention, and FIG. FIG. 4 is a structural diagram of data after converting the data on FIG. 4 to be sent to the main storage device. 3... Data structure conversion device, 32... Data structure conversion processing unit, 35... Processing request receiving unit, processing request table, conversion processing table. Figure 2

Claims (1)

【特許請求の範囲】[Claims] 1、主記憶装置と外部記憶装置を有する計算機システム
において、データ格納媒体に存在するデータを他のデー
タ格納媒体に転送する場合、データの構造変換要求に応
じて、データ転送単位に、データの構造を変換して転送
することを特徴とするデータ構造変換方式。
1. In a computer system that has a main storage device and an external storage device, when transferring data existing in a data storage medium to another data storage medium, the data structure is changed for each data transfer unit in response to a data structure conversion request. A data structure conversion method characterized by converting and transmitting.
JP62097310A 1987-04-22 1987-04-22 Data structure converting system Pending JPS63263524A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62097310A JPS63263524A (en) 1987-04-22 1987-04-22 Data structure converting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62097310A JPS63263524A (en) 1987-04-22 1987-04-22 Data structure converting system

Publications (1)

Publication Number Publication Date
JPS63263524A true JPS63263524A (en) 1988-10-31

Family

ID=14188916

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62097310A Pending JPS63263524A (en) 1987-04-22 1987-04-22 Data structure converting system

Country Status (1)

Country Link
JP (1) JPS63263524A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02140843A (en) * 1988-11-22 1990-05-30 Hitachi Ltd Picture communication processor dealing with document information for making into hierarchy structure
US5550987A (en) * 1992-07-28 1996-08-27 Kabushiki Kaisha Toshiba Data transfer device
KR100359372B1 (en) * 1999-04-30 2002-10-31 가부시끼가이샤 도시바 Data management device, computer system and memory stored with program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02140843A (en) * 1988-11-22 1990-05-30 Hitachi Ltd Picture communication processor dealing with document information for making into hierarchy structure
US5550987A (en) * 1992-07-28 1996-08-27 Kabushiki Kaisha Toshiba Data transfer device
KR100359372B1 (en) * 1999-04-30 2002-10-31 가부시끼가이샤 도시바 Data management device, computer system and memory stored with program

Similar Documents

Publication Publication Date Title
US4571700A (en) Page indexing system for accessing sequentially stored data representing a multi-page document
JPS62297952A (en) Storage system for variable length data
US6442553B1 (en) Hash system and hash method for transforming records to be hashed
JPH04219844A (en) High-speed medium preferential release type exclusive system
JPS63263524A (en) Data structure converting system
EP0037264A2 (en) Associative memory system
JPS62245467A (en) Symbolic processing system and method
JPS60175158A (en) Contents retrieval processor
JPH04112253A (en) Data accessing method using multilayer buffer
JPH04153875A (en) Document storage system
JPH0246967B2 (en)
JP2895892B2 (en) Data processing device
JP2000322371A (en) Data buffer management system and method
JPH044438A (en) System for utilizing data base buffer
JPH0423143A (en) Data storing system
JPH04195234A (en) Data transfer system
JP2941293B2 (en) High-speed still image transfer method
JPS61292779A (en) Control method for retrieving data
JPS607303B2 (en) Page buffer search processing method
JPH0310341A (en) Disk space compaction system
JPH04314144A (en) Dara block accesssing system for sequential file
JPH05342135A (en) File device
JPH05334173A (en) Memory management system
JPS63282836A (en) Information retrieving device
JPH0218641A (en) Data control method