JPS5831448A - Data file processing system - Google Patents

Data file processing system

Info

Publication number
JPS5831448A
JPS5831448A JP56128763A JP12876381A JPS5831448A JP S5831448 A JPS5831448 A JP S5831448A JP 56128763 A JP56128763 A JP 56128763A JP 12876381 A JP12876381 A JP 12876381A JP S5831448 A JPS5831448 A JP S5831448A
Authority
JP
Japan
Prior art keywords
storage device
directory
auxiliary storage
processing
file
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
JP56128763A
Other languages
Japanese (ja)
Inventor
Kazumasa Shima
島 和正
Ikuzo Yoshida
吉田 郁三
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 JP56128763A priority Critical patent/JPS5831448A/en
Publication of JPS5831448A publication Critical patent/JPS5831448A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Landscapes

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

Abstract

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

Description

【発明の詳細な説明】 本発明は、電子計算機システムに関するものであり、特
に、多数のデータレコードを補助記憶装置に格納し、検
索し、更新しあるいは削除することができるようなデー
タファイル処理システムに関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an electronic computer system, and more particularly to a data file processing system in which a large number of data records can be stored in an auxiliary storage device, retrieved, updated, or deleted. It is related to.

ファイルに含まれる複数のデータレコードの中から特定
のデータレコードを識別する方法として各データレコー
ド毎に一意的に決まる論理的なキーの値を用いる場合が
ある。この場合、論理的なキーの値からそのデータレコ
ードを格納すべき物理的アドレスに変換する方法が存在
し使用される場合がある。その方法の1つは、論理的な
キーの値と物理的アドレスとの対応を表わすテーブル(
これをディレクトリと呼ぶ。)を作成、使用する方法が
あり、この方法は特に、補助記憶装置内にファイルが格
納される場合、データレコードの格納、検索、更新、削
除などの処理(これをファイル操作と呼ぶ。)・の効率
を上げる上で有効である。
As a method for identifying a specific data record from among a plurality of data records included in a file, a logical key value uniquely determined for each data record may be used. In this case, methods exist and may be used to convert from the logical key value to the physical address at which the data record is to be stored. One method is to create a table (table) that represents the correspondence between logical key values and physical addresses.
This is called a directory. ), and this method is particularly useful when files are stored in auxiliary storage, processing such as storing, retrieving, updating, and deleting data records (this is called file operation). It is effective in increasing the efficiency of

第1図は、従来のファイル処理システムの例を示したも
のであり、主記憶装置(MM)24補助記憶装置(AM
)5とは、入出力チャネル(工10P)3および補助記
憶制御装置(CE)4とを介して接続されている。ファ
イルディレクトリは、データレコードと共に補助記憶装
置5内に格納されており、ファイル操作において、中央
処理装置(CPU)1の処理プログラムは、先ずディレ
クトリを補助記憶装置5から主記憶装置2内に読み込み
、目的データレコードの物理アドレスを求めた後、目的
データレコードを補助記憶装置5から主記憶装置2内に
読み込む。データレコードの格納、更新、削除の場合に
、この後データレコードおよびディレクトリの内容を主
記憶装置2内から補助記憶装置5内に転送する。
FIG. 1 shows an example of a conventional file processing system, which includes a main memory (MM), 24 auxiliary storage devices (AM
) 5 via an input/output channel (processor 10P) 3 and an auxiliary storage controller (CE) 4. The file directory is stored in the auxiliary storage device 5 along with data records, and in file operations, the processing program of the central processing unit (CPU) 1 first reads the directory from the auxiliary storage device 5 into the main storage device 2, and After determining the physical address of the target data record, the target data record is read from the auxiliary storage device 5 into the main storage device 2. In the case of storing, updating, or deleting a data record, the contents of the data record and the directory are then transferred from the main storage device 2 to the auxiliary storage device 5.

しかし、このディレクトリは、通常補助記憶装置5内に
格納されており、ファイル操作要求に応じて主記憶装置
2内に転送され、中央処理装置1において、論理的ファ
イル操作要求を物理的ファイル操作要求に変換するため
に参照あるいは更新され、ファイル操作要求が処理され
ると主記憶装置2上から消去される。このため1つのフ
ァイル操作要求に対し、主記憶装置2と補助記憶装置5
との間のデータ転送は、通常、ディレクトリの転送と目
的データの転送の2回発生する。
However, this directory is normally stored in the auxiliary storage device 5, and is transferred to the main storage device 2 in response to a file operation request, and the central processing unit 1 converts the logical file operation request into a physical file operation request. It is referenced or updated to convert it into a file, and is deleted from the main storage device 2 when the file operation request is processed. Therefore, for one file operation request, the main storage device 2 and the auxiliary storage device 5
Data transfer between the two normally occurs twice: the directory transfer and the target data transfer.

本発明の目的は、補助記憶装置内に格納されるファイル
に対する操′作要求に関し、主記憶装置と補助記憶装置
との間のデータ転送の回数を減少させ、ファイル操作に
要する時間を短縮するデータファイル処理システムを提
供することにある。
An object of the present invention is to reduce the number of data transfers between the main storage device and the auxiliary storage device with respect to operation requests for files stored in the auxiliary storage device, and to reduce the time required for file operations. Its purpose is to provide a file processing system.

このような目的を達成するために、本発明では、主記憶
装置と補助記憶装置との間に、補助記憶装置内に格納さ
れるデータファイルのディレクトリを格納する第3の記
憶装置と、中央処理装置内で用いられる論理的アドレス
を含む論理的ファイル操作コマンドに基づき、ディレク
トリ内のデータを用い、補助記憶装置内で用いられる物
理的アドレスを含む物理的ファイル操作コマンドを生成
する一連の処理を実行する手段とを設けたことに特徴が
ある。
In order to achieve such an object, the present invention provides a third storage device between the main storage device and the auxiliary storage device that stores a directory of data files stored in the auxiliary storage device, and a central processing device. Executes a series of processes based on logical file operation commands including logical addresses used within the device, using data in the directory to generate physical file operation commands including physical addresses used within the auxiliary storage device. The feature is that a means to do this is provided.

以下、本発明の実施例を図面によシ詳細に説明する。Embodiments of the present invention will be described in detail below with reference to the drawings.

第2図は、本発明によるファイル処理システムの例を示
したもやであり、第1図との違いは、入出力チャネル3
と補助記憶制御装置4との間に、ディレクトリ処理装置
(CP)6およびディレクトリ格納用記憶装置(DM)
7が追加されており、ファイル・ディレクトリは、ディ
レクトリ格納用記憶装置7内に格納される。
FIG. 2 shows an example of the file processing system according to the present invention, and the difference from FIG. 1 is that the input/output channels 3
and the auxiliary storage control device 4, a directory processing device (CP) 6 and a directory storage storage device (DM) are provided.
7 has been added, and the file directory is stored in the directory storage storage device 7.

ディレクトリ処理装置6は、中央処理装置lより入出力
チャネル3を介して送られて来る論理的ファイル操作コ
マンドに基づき、ディレクトリを記憶装置7から読み出
し、それを用いて論理的アドレスを物理的アドレスに変
換し、補助記憶装置5に対する物理的ファイル操作コマ
ンドを生成する。
The directory processing unit 6 reads a directory from the storage device 7 based on a logical file operation command sent from the central processing unit l via the input/output channel 3, and uses it to convert a logical address into a physical address. A physical file operation command for the auxiliary storage device 5 is generated.

第3図は、ディレクトリ処理装置6内での上記処理の例
を流れ図で示したものである。以下、第3図に基づいて
ディレクトリ処理装置6での処理について説明する。
FIG. 3 is a flowchart showing an example of the above processing within the directory processing device 6. Hereinafter, the processing in the directory processing device 6 will be explained based on FIG.

処理ステップ32で論理的ファイル操作コマンドを受は
付けると処理ステップ33によシ、物理ファイル操作の
タイプが格納、検索、削除のいずれかであるかを判定す
る。この判定結果に応じて、処理ステップ34.42.
48において、論理的なキーの値を基にディレクトリ内
のアドレスを求めるためのハツシング処理を行なう。次
に、処理ステップ35,43.49において、ディレク
トリ内のキー値と入力されたキー値とを比較する。
When the logical file manipulation command is accepted in processing step 32, it is determined in processing step 33 whether the type of physical file manipulation is storage, retrieval, or deletion. Depending on the result of this determination, processing steps 34.42.
At 48, a hashing process is performed to find an address in the directory based on the logical key value. Next, in process steps 35, 43, and 49, the key values in the directory and the input key values are compared.

データレコードの格納の場合、処理ステップ35での比
較の結果に基づいて、処理ステップ36において、同一
キー値のレコードが既に存在するかどうかを調べ、既に
存在する場合は、エラー処理を行なう。
In the case of storing data records, it is checked in processing step 36 whether a record with the same key value already exists based on the result of the comparison in processing step 35, and if it already exists, error processing is performed.

処理ステップ37では、新たなデータレコードを格納す
るエリアがあるかどうか調べ、そのエリアがない場合は
エラー処理を行なう。
In processing step 37, it is checked whether there is an area for storing a new data record, and if there is no such area, error processing is performed.

次に処理ステップ38では、データレコード追加に伴な
うディレクトリ更新処理を一行なうとともに、処理ステ
ップ39により、補助記憶制御装置4に生成したファイ
ル操作コマンドを送る。
Next, in processing step 38, a directory update process is performed in conjunction with the addition of the data record, and in processing step 39, the generated file operation command is sent to the auxiliary storage control device 4.

処理ステップ40では、補助記憶制御装置4と入出力チ
ャネル3との間のインタフェイス信号の受は渡し処理を
行ない、入出力チャネル3″またけ補助記憶制御装置4
より終了信号が送られてくると、処理ステップ41でそ
れを判定して処理を終了させる。
In processing step 40, the interface signal is received and passed between the auxiliary storage control device 4 and the input/output channel 3, and the auxiliary storage control device 4 straddles the input/output channel 3''.
When the end signal is sent, it is determined in a processing step 41 and the processing is ended.

一方、データレコードの検索の場合、処理ステップ43
での処理の結果に基づいて、処理ステップ44において
、同一キー値のデータレコードが既におるかどうかを判
定し、既にある場合はエラー処理を行なう。
On the other hand, in the case of data record retrieval, processing step 43
Based on the result of the process in step 44, it is determined whether a data record with the same key value already exists, and if there already exists, error processing is performed.

同一キー値のデータレコードがない場合、処理ステップ
45.46および47を実行するが、これらの処理は上
述した処理ステップ39.40および41とほぼ同じで
ある。ただ、データレコードを補助記憶装置5から読み
出して、入出力チャネル側に送る点が格納の場合と異な
る。
If there is no data record with the same key value, processing steps 45.46 and 47 are carried out, which are substantially the same as processing steps 39.40 and 41 described above. However, this differs from the storage case in that the data record is read from the auxiliary storage device 5 and sent to the input/output channel side.

ま九、データレコードの削除の場合、処理ステップ49
での処理の結果に基づいて、処理ステップ50において
、同一キー値のデータレコードが既にあるかどうかを判
定し、既にある場合はエラー処理を行ない、ない場合は
、処理ステップ51においてディレクトリ更新処理を行
なう。
9. In case of data record deletion, process step 49
Based on the result of the process in step 50, it is determined whether a data record with the same key value already exists, and if it already exists, error processing is performed; if not, directory update processing is performed in processing step 51. Let's do it.

以上説明したごとく、本発明によれば、補助記憶装置と
主記憶装置との間のブイレフ) IJの転送が省略され
るため、従来に比較し、ファイル操作に要する時間が短
縮できる。
As described above, according to the present invention, the transfer of IJ between the auxiliary storage device and the main storage device is omitted, so that the time required for file operations can be shortened compared to the conventional method.

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

W、1図は、従来のファイル処理クステムの例を示すブ
ロック図、第2図は、本発明によるファイル処理システ
ムの実施例を示すブロック図、83図は、本発明のディ
レクトリ処理装置内で実行される処理手順の例を示す流
れ図でめる。 2・・・主記憶装置、5・・・補助記憶装置、6・・・
ブイレフ) IJ処理装置、7・・・ディレクトリ格納
用記憶装事・件の表示 昭和56年特許願第 128763号 発明の名称 データファイル処理システム 補正をする者 名 リ  <5101株式会>1  日 立 製 作 
所代 表 古  三   1)  勝   茂代  理
  人 補正の内容 1、明細書、第7頁、第5行目および第16行目の「あ
る場合」を「ない場合」と訂正するっ2、同、同頁、第
7行目および第17行目の「ない場合」を「ある場合」
と訂正する。 以上
W, Figure 1 is a block diagram showing an example of a conventional file processing system, Figure 2 is a block diagram showing an embodiment of a file processing system according to the present invention, and Figure 83 is a block diagram showing an example of a file processing system according to the present invention. A flow diagram illustrating an example of the processing steps performed is shown below. 2... Main storage device, 5... Auxiliary storage device, 6...
IJ processing device, 7...Storage device for directory storage Display of events/issues 1982 Patent Application No. 128763 Name of the invention Data file processing system Name of the person making the correction <5101 Corporation> 1 Manufactured by Hitachi Made by
Representative: Furuzo 1) Contents of personal amendment 1, Specification, page 7, lines 5 and 16, ``if any'' is corrected to ``if not'' 2, same. On the same page, in the 7th and 17th lines, “if not” is changed to “if there is”
I am corrected. that's all

Claims (1)

【特許請求の範囲】[Claims] 電子計算機システムの中央処理装置および主記憶装置と
補助記憶装置および制御装置との間に、該補助記憶装置
内に格納されるデータファイルのディレクトリを格納す
る第3の記憶装置と、中央処理装置内で用いられる論理
的1ドレスを含む論理的ファイル操作コマンドに基づき
、上記第3の記憶装置から読み出されたディレクトリ内
のデータを用い、上記補助記憶装置内で用いられる物理
的アドレスを含む物理的ファイル操作コマンドを生成す
る一連の処理を実行する手段とを設けたことを特徴とす
るデータファイル処理システム。
A third storage device for storing a directory of data files stored in the auxiliary storage device, between the central processing unit and main storage device and the auxiliary storage device and the control device of the computer system; The data in the directory read from the third storage device is used based on the logical file operation command including the logical address used in the auxiliary storage device, A data file processing system comprising: means for executing a series of processes for generating file operation commands.
JP56128763A 1981-08-19 1981-08-19 Data file processing system Pending JPS5831448A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56128763A JPS5831448A (en) 1981-08-19 1981-08-19 Data file processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56128763A JPS5831448A (en) 1981-08-19 1981-08-19 Data file processing system

Publications (1)

Publication Number Publication Date
JPS5831448A true JPS5831448A (en) 1983-02-24

Family

ID=14992859

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56128763A Pending JPS5831448A (en) 1981-08-19 1981-08-19 Data file processing system

Country Status (1)

Country Link
JP (1) JPS5831448A (en)

Similar Documents

Publication Publication Date Title
EP0841626B1 (en) Data transfer mechanism
US20070271426A1 (en) Method and storage system for accessing data using a differential snapshot
US8489559B2 (en) Methods and apparatus for conversion of content
CN113625938B (en) Metadata storage method and device
US8612717B2 (en) Storage system
CN115576956B (en) A data processing method, system, device and storage medium
JPH0394377A (en) Map file updating system
JPS5831448A (en) Data file processing system
WO2007099636A1 (en) File system migration method, program and apparatus
JPH027096B2 (en)
CN116204570A (en) Data operation method of database, storage medium and computer equipment
JPS62131349A (en) Data base processing system
JPS58125155A (en) Data file processing system
JP2658097B2 (en) Secondary file creation method
JP2587417B2 (en) File backup and restoration method
JP2507399B2 (en) Database equipment
JP2641399B2 (en) File management device
JP2817911B2 (en) Access control method for keyed files
JPH0744426A (en) File system file management method
JP2912657B2 (en) File access processor
JPS60254342A (en) Controlling method of resources in using
JP3255121B2 (en) Database search device, database search method, information processing device, recording medium storing program for causing computer to execute database search method
JPS62182849A (en) Data control system
JPS6058492B2 (en) Database search method
JPS6139285A (en) information retrieval device