JPS63184960A - Data control system - Google Patents

Data control system

Info

Publication number
JPS63184960A
JPS63184960A JP1790387A JP1790387A JPS63184960A JP S63184960 A JPS63184960 A JP S63184960A JP 1790387 A JP1790387 A JP 1790387A JP 1790387 A JP1790387 A JP 1790387A JP S63184960 A JPS63184960 A JP S63184960A
Authority
JP
Japan
Prior art keywords
file
data
disk
area
cylinder
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
JP1790387A
Other languages
Japanese (ja)
Inventor
Seiji Mitsuoka
光岡 誠治
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP1790387A priority Critical patent/JPS63184960A/en
Publication of JPS63184960A publication Critical patent/JPS63184960A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To enhance the access efficiency to the file and to utilize uniformly the data domains on a disk by arranging the storing domains of file-control information approximately at the center of the data domain on the disk. CONSTITUTION:In the applied program (i.e. data-control mechanism) 1, the data-control mechanism 1 is incorporated with a means 2 for arranging an indexing cylinder 3 for storing the file-control information to be optimum position on the data domain of the magnetic disk and a means 3 for storing the file control information storing the file control information to an index cylinder 32 arranged by the optimum arranging means 2, so as to enhance the access efficiency to the file to insure the optimum position on the desk 30 for the storing domain of the file control information and to utilize uniformly the data domain of the disk.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータ管理方式に関し、特に中央処理装置とデ
ィスク装置とを含む情報処理システム(以下、単にシス
テムと称する)におけるデータ管理方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data management system, and particularly to a data management system in an information processing system (hereinafter simply referred to as a system) including a central processing unit and a disk device.

〔従来の技術〕[Conventional technology]

従来、この種のデータ管理方式では、ファイル(データ
セット)の管理のために、ファイル名称。
Traditionally, this type of data management method uses file names to manage files (data sets).

ファイル編成種別、レコード長、ブロック長、ブロック
化係数、レコード件数2炸成日付、更新日付、先頭レコ
ードポインタ、最終レコードポインタ、ファイル最終ポ
インタ等のファイル管理情報を、例えば128または2
56バイトの固定長としてファイル毎に管理している。
File management information such as file organization type, record length, block length, blocking coefficient, record number 2 creation date, update date, first record pointer, last record pointer, file last pointer, etc., for example 128 or 2
It is managed for each file as a fixed length of 56 bytes.

ファイル管理情報は、それ自体を1つのファイルとして
ディスクのOシリンダのボリューム目録(Volu+w
e Table  Of C+ontents  ;以
下、VToCと略記する)領域等から管理されているか
、またはフロッピーディスクの索引シリンダのように0
シリンダ(および1シリンダ)に配置されて管理されて
いた。
File management information is stored as a single file, including the volume list (Volume+w) of the O cylinder of the disk.
e Table of C+contents (hereinafter abbreviated as VToC), or is managed from the 0 area like the index cylinder of a floppy disk.
It was arranged and managed in cylinders (and one cylinder).

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

上述した従来のデ−タ管理方式では、ファイル管理情報
のアロケーション位置(ファイルの先頭アドレス)がシ
ステムに依存する可能性があるので、ファイルへのアク
セス効率が低下したり、ディスクのデータ領域が平均的
に使用されなかったリするという欠点がある。
In the conventional data management method described above, the allocation position (starting address of the file) of file management information may depend on the system, which may reduce file access efficiency or reduce the average disk data area. It has the disadvantage that it is not commonly used.

また、ファイルのアクセス効率の向上やディスクのデー
タ令頁域の使用の平均化を図るためには、ファイル管理
情報を固定長のルーコードとして扱いファイル名称によ
りソートしてファイル名称が与えられたときのサーチ時
間を短くする等のように、使用するファイル編成(はと
んどが順編成ファイルを変形したもの)の最適化に工夫
が必要となるという欠点がある。
In addition, in order to improve file access efficiency and equalize the use of disk data space, it is necessary to treat file management information as a fixed-length code and sort it by file name. The disadvantage is that it is necessary to optimize the file organization (mostly a modified sequential file) to be used, such as shortening the search time.

さらに、フロッピーディスクにおいてはファイルのアク
セス時に常に0シリンダにシー′りする必要があるなど
の欠点がある。
Furthermore, floppy disks have drawbacks such as the need to always read to cylinder 0 when accessing files.

本発明の目的は、上述の点に鑑み、ファイル管理情報の
格納領域をディスクのデータ領域の中程に確保すること
により、ファイルへのアクセス効率を高めるとともに、
ディスクのデータ領域が平均的に使用されるようにした
データ管理方式を提供することにある。
In view of the above-mentioned points, an object of the present invention is to secure an area for storing file management information in the middle of the data area of a disk, thereby increasing the efficiency of accessing files.
An object of the present invention is to provide a data management method that allows the data area of a disk to be used evenly.

〔問題点を解決するための手段〕 本発明のデータ管理方式は、中央処理装置とディスク装
置とを含む情綿処理システムにおいて、ディスク内のデ
ータ領域の中程にファイル管理情報の格納領域を配置す
る最適配置手段と、この最適配置手段により配置された
前記格納領域に前記ファイル管理情報を格納するファイ
ル管理情報格納手段とを有する。
[Means for Solving the Problems] The data management method of the present invention arranges a storage area for file management information in the middle of a data area in a disk in a sensitive processing system including a central processing unit and a disk device. and a file management information storage means for storing the file management information in the storage area arranged by the optimal arrangement means.

〔作用〕[Effect]

本発明のデータ管理方式では、最適配置手段がディスク
内のデータ領域の中程にファイル管理情報の格納領域を
配置し、ファイル管理情報格納手段が最適配置手段によ
り配置された格納領域にファイル管理情報を格納する。
In the data management method of the present invention, the optimal placement means arranges a storage area for file management information in the middle of the data area in the disk, and the file management information storage means stores the file management information in the storage area allocated by the optimal placement means. Store.

〔実施例〕〔Example〕

次に、本発明について図面を参照して詳細に説明する。 Next, the present invention will be explained in detail with reference to the drawings.

第1図は、本発明の一実施例のデータ管理方式が適用さ
れたデータ管理機構(プログラム)1を示し、データ管
理機構1の配下にはファイル管理情報を格納する索引シ
リンダ32(第3図参照)を磁気ディスク30(第3図
参照)のデータ領域内の中程の最適位置に配置する最適
配置手段2と、最適配置手段2により配置された索引シ
リンダ32にファイル管理情報を格納するファイル管理
情報格納手段3とが含まれている。
FIG. 1 shows a data management mechanism (program) 1 to which a data management system according to an embodiment of the present invention is applied, and under the data management mechanism 1 is an index cylinder 32 (FIG. 3) that stores file management information. (see FIG. 3) at an optimal position in the middle of the data area of the magnetic disk 30 (see FIG. 3), and a file that stores file management information in the index cylinder 32 placed by the optimal placement means 2. Management information storage means 3 is included.

第2図を参照すると、本実施例のデータ管理方式が適用
されるシステムの一例は、中央処理装置(以下、CPt
Jと略記する)11と、主記憶装置C以下、メモリと称
する)12と、磁気ディスク装置13と、磁気ディスク
装置13を制御するディスク制御装置14と、キーボー
ド、表示装置等のその他の周辺装置を制御する周辺制御
装置15とを含んで構成されている。
Referring to FIG. 2, an example of a system to which the data management method of this embodiment is applied is a central processing unit (hereinafter referred to as CPt).
(abbreviated as J) 11, a main storage device C (hereinafter referred to as memory) 12, a magnetic disk device 13, a disk control device 14 that controls the magnetic disk device 13, and other peripheral devices such as a keyboard and a display device. It is configured to include a peripheral control device 15 that controls the.

第3図を参照すると、本実施例のデータ管理方式が適用
された磁気ディスク30は、0シリンダにVTOC領域
31を有しており、全シリンダ(0〜M+N+1シリン
ダ)から代替用シリンダ(M+1〜M+Nシリンダ)お
よび保守用シリンダ(M十N+1シリンダ)を除いたデ
ータ用シリンダ(0〜Mシリンダ)の中間領域のシリン
ダ(M/2または(M+1)/2シリンダ)が索引シリ
ンダ32として確保される。
Referring to FIG. 3, the magnetic disk 30 to which the data management system of the present embodiment is applied has a VTOC area 31 in cylinder 0, and all cylinders (0 to M+N+1 cylinders) to substitute cylinders (M+1 to M+1 to The cylinders in the middle area (M/2 or (M+1)/2 cylinders) of the data cylinders (0 to M cylinders) excluding the maintenance cylinders (M+N cylinders) and maintenance cylinders (M1N+1 cylinders) are reserved as index cylinders 32. .

第4図を参照すると、磁気ディスク30のポリニーム初
期化時の処理は、フォーマツティングステップ41と、
VTOC情報書込みステップ42と、索引シリンダ確保
ステップ43と、索引シリンダ開始アドレス設定ステッ
プ44とからなる。
Referring to FIG. 4, the processing at the time of polynym initialization of the magnetic disk 30 includes a formatting step 41;
It consists of a VTOC information writing step 42, an index cylinder securing step 43, and an index cylinder start address setting step 44.

第5図を参照すると、システム立上げ時(TPL)の処
理は、VTOC情報読取りステップ51と、索引シリン
ダ開始アドレス退避ステップ52とを含んでなる。
Referring to FIG. 5, the processing at system startup (TPL) includes a VTOC information reading step 51 and an index cylinder start address saving step 52.

次に、このように構成された本実施例のデータ管理方式
の動作について説明する。
Next, the operation of the data management system of this embodiment configured as described above will be explained.

磁気ディスク30のボリューム初期化時には、まず磁気
ディスク30の全ての面に対してフォーマツティングを
行い(ステップ41)、VTOC情報を0シリンダ内の
V T OC6N域31に書き込シ(ステップ42)0
次に、最適配置手段2が磁気ディスク30のデータ用シ
リンダ内でシーク距離の平均が極小となる中間領域のシ
リンダ位置(M/2または(M+1)/2シリンダ)を
算出し、このシリンダ位置に索引シリンダ32を確保す
る(ステップ43)。続いて、V T OC領域31に
索引シリンダ32の開始アドレスを設定する(ステップ
44)。
When initializing the volume of the magnetic disk 30, first formatting is performed on all sides of the magnetic disk 30 (step 41), and VTOC information is written to the VTOC6N area 31 in cylinder 0 (step 42). 0
Next, the optimum placement means 2 calculates a cylinder position (M/2 or (M+1)/2 cylinder) in the intermediate area where the average seek distance is minimum within the data cylinder of the magnetic disk 30, and sets the cylinder position to this cylinder position. The index cylinder 32 is secured (step 43). Subsequently, the start address of the index cylinder 32 is set in the V T OC area 31 (step 44).

次に、システム立上げ時には、磁気ディスク30のV 
T OCfJ域31からVTOC情報を読み取り(ステ
ップ51) 、VTOC情報に含まれる索引シリンダ3
2の開始アドレスをデータ管理機構1のメモリ領域(フ
ァイル管理情報をテーブル等としてまとめであるエリア
の一部)に退避する(ステップ52)。
Next, when starting up the system, the V of the magnetic disk 30 is
Read the VTOC information from the TOCfJ area 31 (step 51), and read the index cylinder 3 included in the VTOC information.
2 is saved in the memory area of the data management mechanism 1 (a part of the area where file management information is summarized as a table, etc.) (step 52).

これにより、以降はいちいち磁気ディスク30のVTO
C領域31をサーチすることなしに索引シリンダ32を
直接サーチすることができ、目的とするファイル名称を
有するファイルに対して高速にアクセスできる。
As a result, from now on, the VTO of the magnetic disk 30 will be
The index cylinder 32 can be directly searched without searching the C area 31, and a file having the target file name can be accessed at high speed.

ファイル管理情報格納手段3は、ファイルを新たに作成
するとき、すなわち利用者がデータ管理用ツール(ユー
ティリティ)等を用いてファイル領域を確保したときに
、メモリ12上で編集したファイル管理情報をメモリ1
2上から最適配置手段2が確保した領域である磁気ディ
スク30の索引シリンダ32に格納する。
The file management information storage means 3 stores the file management information edited on the memory 12 when creating a new file, that is, when the user secures a file area using a data management tool (utility) or the like. 1
2 is stored in the index cylinder 32 of the magnetic disk 30, which is an area secured by the optimum placement means 2.

なお、上記実施例ではディスク装置として磁気ディスク
装置(フロッピーディスク装置およびハードディスク装
置)を使用したシステムを例にとって説明したが、本発
明が光デイスク装置や光磁気ディスク装置等の他のディ
スク装置を使用するシステムにも同様に適用可能である
ことはいうまでもない。
In the above embodiment, a system using a magnetic disk device (a floppy disk device and a hard disk device) as a disk device was explained as an example, but the present invention can also be applied to a system using other disk devices such as an optical disk device or a magneto-optical disk device. Needless to say, it is also applicable to systems that

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

以上説明したよう・に本発明は、ファイル管理情報の格
納領域をディスク内のデータ領域の中程に配置すること
により、ファイルへのアクセス効率を高めるとともに、
ディスクのデータ領域全体を平均的に使用することがで
きるという効果がある。
As explained above, the present invention improves the efficiency of file access by locating the storage area for file management information in the middle of the data area of the disk.
This has the effect that the entire data area of the disk can be used evenly.

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

第1図は本発明の一実施例のデータ管理方式の構成を示
すブロック図、 第2図は本実施例のデータ管理方式が適用されるシステ
ムの一例を示す構成図、 第3図は本実施例のデータ管理方式が適用された磁気デ
ィスク内の領域を例示する図、第4図は本実施例のデー
タ管理方式におけるボリューム初期化時の処理を示す流
れ図、第5図は本実施例のデータ管理方式におけるシス
テム立上げ時の処理を示す流れ図である。 図において、 1・・・データ管理機構、 2・・・最適配置手段、 3・・・ファイル管理情報格納手段、 11・・・中央処理装置、 12・・・主記憶装置、 13・・・磁気ディスク装置、 14・・・ディスク制御装置、 15・・・周辺制御装置、 30・・・磁気ディスク、 31・・・vTOC領域、 32・・・索引シリンダ、 41・・・フォーマツティングステップ、42・・・V
TOC情報書込みステップ、43・・・索引シリンダ確
保ステップ、44・・・索引シリンダ開始アドレス設定
ステップ、 51・・・VTOC情報読取りステップ、52・・・索
引開始アドレス退避ステップである。
FIG. 1 is a block diagram showing the configuration of a data management method according to an embodiment of the present invention, FIG. 2 is a block diagram showing an example of a system to which the data management method of this embodiment is applied, and FIG. 3 is a block diagram showing the configuration of a data management method according to an embodiment of the present invention. A diagram illustrating an area in a magnetic disk to which the data management method of the example is applied, FIG. 4 is a flowchart showing the processing at volume initialization in the data management method of the example, and FIG. 5 is a diagram illustrating the data of the example. 3 is a flowchart showing processing at the time of system startup in the management method. In the figure, 1...Data management mechanism, 2...Optimum arrangement means, 3...File management information storage means, 11...Central processing unit, 12...Main storage device, 13...Magnetism Disk device, 14... Disk control device, 15... Peripheral control device, 30... Magnetic disk, 31... vTOC area, 32... Index cylinder, 41... Formatting step, 42 ...V
TOC information writing step, 43... index cylinder securing step, 44... index cylinder start address setting step, 51... VTOC information reading step, 52... index start address saving step.

Claims (1)

【特許請求の範囲】 中央処理装置とディスク装置とを含む情報処理システム
において、 ディスク内のデータ領域の中程にファイル管理情報の格
納領域を配置する最適配置手段と、この最適配置手段に
より配置された前記格納領域に前記ファイル管理情報を
格納するファイル管理情報格納手段と、 を有することを特徴とするデータ管理方式。
[Claims] In an information processing system including a central processing unit and a disk device, an optimal placement means for arranging a storage area for file management information in the middle of a data area in a disk, and A data management method comprising: file management information storage means for storing the file management information in the storage area.
JP1790387A 1987-01-27 1987-01-27 Data control system Pending JPS63184960A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1790387A JPS63184960A (en) 1987-01-27 1987-01-27 Data control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1790387A JPS63184960A (en) 1987-01-27 1987-01-27 Data control system

Publications (1)

Publication Number Publication Date
JPS63184960A true JPS63184960A (en) 1988-07-30

Family

ID=11956702

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1790387A Pending JPS63184960A (en) 1987-01-27 1987-01-27 Data control system

Country Status (1)

Country Link
JP (1) JPS63184960A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008129723A (en) * 2006-11-17 2008-06-05 Nec Corp Data replication system, data replication method, and data replication program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008129723A (en) * 2006-11-17 2008-06-05 Nec Corp Data replication system, data replication method, and data replication program
JP4636008B2 (en) * 2006-11-17 2011-02-23 日本電気株式会社 Data replication system, data replication method, data replication program

Similar Documents

Publication Publication Date Title
JPH04211844A (en) Apparatus and method for deflagment of filing system
KR920005107A (en) Initial and updated data recording and reading methods and data storage media
KR920004985A (en) Data file directory information recording method and data storage medium
JPS63184960A (en) Data control system
JPH0322046A (en) Control method for file using draw type storage medium
JP3169596B2 (en) Database management device
JPH05189286A (en) System and method for controlling disk cache
JPH06103128A (en) Storage device
JPH01255028A (en) Method for making access to external storage device
JP2912657B2 (en) File access processor
JP2605624B2 (en) File allocation method for optical disk drive
JPH05127964A (en) Page version managing method
JPH04165543A (en) Electronic filing device
JPH04116737A (en) Electronic filing device
JPH04336340A (en) Disk cache access control system
JPS61276040A (en) File access system
JPS62177642A (en) File management system for postscript filing device
JPS63291145A (en) Method for managing file
JPH04287140A (en) File managing system for dividing into plural physical files
JPH03127114A (en) Magnetic disk file dividing and utilizing device
JPH10198525A (en) Method for outputting data of external storage device
Chun Access and organization of secondary memory devices
JPH04350741A (en) Access speed increasing method for indexed sequential file
JPH04156626A (en) File entry generating system for vtoc
JPH01319820A (en) Memory medium control system