JPS5932027A - Data transfer system - Google Patents

Data transfer system

Info

Publication number
JPS5932027A
JPS5932027A JP57141130A JP14113082A JPS5932027A JP S5932027 A JPS5932027 A JP S5932027A JP 57141130 A JP57141130 A JP 57141130A JP 14113082 A JP14113082 A JP 14113082A JP S5932027 A JPS5932027 A JP S5932027A
Authority
JP
Japan
Prior art keywords
data
area
dbms201
list
transfer
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
JP57141130A
Other languages
Japanese (ja)
Inventor
Yasutaka Yamaguchi
山口 康隆
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 JP57141130A priority Critical patent/JPS5932027A/en
Publication of JPS5932027A publication Critical patent/JPS5932027A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To transfer data at a high speed and to reduce greatly the processing time, by providing an instruction word list for direct transfer of data between user and buffer areas. CONSTITUTION:When a data request is generated from a user program 202 to a data base control system DBMS201, the DBMS201 sets a data block containing a prescribed data to a buffer area 301 within a main storage device 105 from an external storage device 101. When the data of a part in the area 301 is transferred to a user program work area WA302, an instruction list 303 is prepared for transfer the data of a part of the area 301. Then the DBMS201 executes this list 303 to transfer the data to the WA302 from the area 301. The DBMS201 transfers the control to the program 202 after execution of the list 303. Thus the corresponding data can be processed.

Description

【発明の詳細な説明】 本発明は記憶装置上のデータ転送に係り、特に7’ −
p ヘース管理システムの様に、バッファ・エリアと、
ユーザ・ワーク・エリアの間で、バッファ上の一部のデ
ータを転送する際に、好適なデータ転送方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to data transfer on a storage device, and more particularly to data transfer on a storage device.
p As in the heath management system, the buffer area and
The present invention relates to a data transfer method suitable for transferring part of data on a buffer between user work areas.

従来のデータベース管理システムでは、データ・レコー
ド内のフィールド単位のデータ転送は、レコード内のフ
ィールドの名称、長さ2位置を定義テーブルとして保持
し、(第1図のレコード形式では、第2図の定義テーブ
ルを保持する。)ユーザ・プログラムで指定されたフィ
ールド名称群と、この定義テーブルをつき合せて、バッ
ファ・エリアとユーザ・ワーク・エリア間のデータ転送
を行なっていた。第3図は、この手順を示す。
In conventional database management systems, data transfer by field within a data record is performed by retaining the name, length, and position of the field within the record as a definition table (for the record format shown in Figure 1, and the position shown in Figure 2). (A definition table is held.) Data is transferred between the buffer area and the user work area by matching the field names specified by the user program with this definition table. FIG. 3 shows this procedure.

なお、第1図に2いて、(a)はバッファ・エリア内の
レコードの構成、Φ)はユーザ・ワーク・エリア内のデ
ータの構成、(C)は指定されたフィールド名称を示す
2 in FIG. 1, (a) shows the structure of records in the buffer area, Φ) shows the structure of data in the user work area, and (C) shows the designated field name.

この方式の問題点は、テーブル・サーチに時間がかかり
、処理速度が低下することである。
The problem with this method is that table searches take time, slowing down processing.

本発明の目的は、高速なデータ転送が可能なデータ転送
方式を提供することにある。
An object of the present invention is to provide a data transfer method that allows high-speed data transfer.

このような目的を達成するために、本発明では、高速な
複数のフィールドのデータの転送を行なうために、ユー
ザ・プログラムで必要とするフィールド群に対応して、
ユーザ・ワーク・エリアとバソファ・エリア間のデータ
転送を直接実行する命( 令語IJ r トを設けて、この命令語リストを実行す
ることにより、データ転送を行ない、処理時間の大幅な
減少を実現することに特徴がある。
In order to achieve such an objective, the present invention provides the following information in correspondence with the field groups required by the user program in order to transfer data of multiple fields at high speed.
By providing an instruction (IJ r ) to directly execute data transfer between the user work area and the batho area and executing this instruction list, data transfer can be performed and processing time can be significantly reduced. It is characterized by its realization.

以下、本発明の一実施例を第4図、第5図、第6図を主
に用いて説明する。
Hereinafter, one embodiment of the present invention will be described using mainly FIGS. 4, 5, and 6.

第4図は、本発明を適用した計算機システムの構成概念
図であり、外部記憶装置101、制御装膜102、チャ
ネル103、CPU104、主記憶装置105 、から
成り、主記憶装置105内には、データベース管理シス
テム(以下、D B M Sと略称スる。)201、バ
ッファ・エリア301、ユーザ・プログラム・ワーク・
エリア302、ユーザ・プログラム202、命令語リス
ト303を記憶するエリアが設けられている。
FIG. 4 is a conceptual diagram of the configuration of a computer system to which the present invention is applied, and consists of an external storage device 101, a control membrane 102, a channel 103, a CPU 104, and a main storage device 105. Database management system (hereinafter abbreviated as DBMS) 201, buffer area 301, user program work area
An area 302, a user program 202, and an area for storing an instruction word list 303 are provided.

このよう表構成において、ユーザ・プログラム202よ
り、データ要求がDI3MS 201に発行されると、
DBMS201は、外部記憶装置101よシ所定のデー
タを含むデータ・ブロックを主記憶装置105内のバッ
ファ・エリア301ヘセツトする。
In this table configuration, when a data request is issued from the user program 202 to the DI3MS 201,
The DBMS 201 sets a data block containing predetermined data from the external storage device 101 into the buffer area 301 in the main storage device 105.

このバッファ・エリア301内の1部分のデータを、ユ
ーザ・プログラム・ワーク・エリア(以下、WAという
。)302へ転送する際に、あらかじめ、1部分のデー
タを転送するための命令語リスト303を用意しておき
、これをDBM!E1201が実行させることにより、
バッファ・エリア301よりWA302へのデータ転送
を行なう。第5図は、この命令語リストを実行させる時
のフロー・チャートであり、第6図は、命令語リストの
例である。
When transferring a portion of data in this buffer area 301 to a user program work area (hereinafter referred to as WA) 302, a command word list 303 for transferring the portion of data is created in advance. Prepare this and use it as DBM! By having E1201 execute,
Data is transferred from the buffer area 301 to the WA 302. FIG. 5 is a flow chart for executing this instruction word list, and FIG. 6 is an example of the instruction word list.

この例は、第1図のフィールドeとbを転送する場合の
例である。
In this example, fields e and b in FIG. 1 are transferred.

命令語りスト303の欠行後、DBMS201は、ユー
ザ・プログラム202へ制御を渡し、轟該データの処理
を可能とさせる。なお、この逆の転送方向に対しては、
命令語リストの命令語として、逆方向のものを用意して
おく。
After the instruction list 303 is missed, the DBMS 201 passes control to the user program 202 to enable processing of the data. For the opposite transfer direction,
Prepare command words in the opposite direction as command words in the command word list.

以上述べたように、本発明によれば、1つのレコード中
に存在するフィールド数に依らず(テーブル・サーチが
ないため)、ユーザ・プログラムで必要とするフィール
ド数とほぼ同数の命令語を実行するのみで、データの転
送が完了するので、従来に比して、大幅な性能向上が達
成出来る。
As described above, according to the present invention, almost the same number of commands as the number of fields required by the user program can be executed, regardless of the number of fields existing in one record (because there is no table search). Data transfer is completed just by doing this, so a significant performance improvement can be achieved compared to conventional methods.

また、となり合っているフィールド群がある時は、1つ
の命令語で、複数のフィールドを転送出来るので、効果
は、大きくなる。
Furthermore, when there are groups of fields adjacent to each other, multiple fields can be transferred with one command word, which increases the effect.

例えば、従来方式で、1フイールド当DNステツプ必要
とされるとすると、N倍の性能向上となる。Nとしては
、10〜数10のオーダであるから10〜数10倍の性
能向上となる。
For example, if the conventional method requires a DN step per field, the performance will be improved by N times. Since N is on the order of 10 to several 10, the performance is improved by 10 to several 10 times.

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

第1図はバッファ・エリアとユーザ・プログラム・エリ
アとの関係を示す図、第2図は定義テーブルの例を示す
図、第3図は従来のデータ転送方式のフロー・チャート
、第4図は本発明を適用する計算機システムの一実施例
の構成図、第5図は本発明によるデータ転送方式の一例
のフロー・チャート、第6図は本発明による命令語リス
トの例を示す図である。 105・・・主記憶装置、201・・・データベース管
理システム、202・・・ユーザープログラム、303
・・・命令語リスト。 誉2−r 第  1  図 ′fJ 3  図 第4図 −,159− 第 5 図 第〆図
Figure 1 is a diagram showing the relationship between the buffer area and the user program area, Figure 2 is a diagram showing an example of a definition table, Figure 3 is a flow chart of the conventional data transfer method, and Figure 4 is a diagram showing the relationship between the buffer area and the user program area. FIG. 5 is a block diagram of an embodiment of a computer system to which the present invention is applied, FIG. 5 is a flow chart of an example of a data transfer method according to the present invention, and FIG. 6 is a diagram showing an example of a command word list according to the present invention. 105... Main storage device, 201... Database management system, 202... User program, 303
... Command word list. Homare 2-r 1st Figure 'fJ 3 Figure 4-, 159- Figure 5 Final Figure

Claims (1)

【特許請求の範囲】[Claims] 外部ファイルに対するデータの読み、書き用の主記憶装
置゛宜内のバッファ・エリアと、ユーザ・プログラムが
必要とするデータのみを記憶するユーザ・ワーク・エリ
アとを有する計算機システムにおいて、上記バッファ・
エリア上の1部のデータを上記ユーザ・ワーク・エリア
へ転送する、または、その逆方向で転送する命令語リス
トを予め格納するメモリを備え、該メモリから取り出し
た命令語リストによりデータ転送を行なうことを特徴と
するデータ転送方式。
In a computer system that has a buffer area within the main memory for reading and writing data to and from external files, and a user work area that stores only data required by user programs,
It is equipped with a memory that stores in advance a command word list for transferring part of the data on the area to the user work area or in the opposite direction, and data transfer is performed according to the command word list retrieved from the memory. A data transfer method characterized by:
JP57141130A 1982-08-16 1982-08-16 Data transfer system Pending JPS5932027A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57141130A JPS5932027A (en) 1982-08-16 1982-08-16 Data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57141130A JPS5932027A (en) 1982-08-16 1982-08-16 Data transfer system

Publications (1)

Publication Number Publication Date
JPS5932027A true JPS5932027A (en) 1984-02-21

Family

ID=15284859

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57141130A Pending JPS5932027A (en) 1982-08-16 1982-08-16 Data transfer system

Country Status (1)

Country Link
JP (1) JPS5932027A (en)

Similar Documents

Publication Publication Date Title
JP2586219B2 (en) High-speed media priority release exclusion method
JPS5932027A (en) Data transfer system
JPH0789334B2 (en) Database management processing method
JPS583177A (en) Data processing system
JPH04112253A (en) Data accessing method using multilayer buffer
JPH04350741A (en) Access speed increasing method for indexed sequential file
JPH0456344B2 (en)
JP2641399B2 (en) File management device
JPS62107336A (en) Control method for hierarchy type data base
JPS61290532A (en) Data base retrieving system
JPH0371349A (en) File control system
JPS60235254A (en) Data change logging system
JPH0455952A (en) Data transfer system for data base system
JPH04242843A (en) Subfile management system
JPH04236639A (en) File space management system
JPH0346033A (en) Data transfer control method for inter-job
JPS60254325A (en) Control method of data retrieval key
JPH0219924A (en) High-speed data access system
JPH0344332B2 (en)
JPS6055854B2 (en) Data base storage area management control method
JPS63136216A (en) Vtoc accessing system
JPH05165756A (en) Channel controller with macro processing function
JPS62150444A (en) Software operation tracing device
JPH0233176B2 (en) JOBUJITSUKOJUNJONOSEIGYOHOSHIKI
JPS63285631A (en) Updating and processing system for index file