JPH04242843A - Subfile management system - Google Patents

Subfile management system

Info

Publication number
JPH04242843A
JPH04242843A JP2416165A JP41616590A JPH04242843A JP H04242843 A JPH04242843 A JP H04242843A JP 2416165 A JP2416165 A JP 2416165A JP 41616590 A JP41616590 A JP 41616590A JP H04242843 A JPH04242843 A JP H04242843A
Authority
JP
Japan
Prior art keywords
subfile
tasks
data record
file
edp
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
JP2416165A
Other languages
Japanese (ja)
Inventor
Shoichi Hashiguchi
橋口 祥一
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 JP2416165A priority Critical patent/JPH04242843A/en
Publication of JPH04242843A publication Critical patent/JPH04242843A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the execution performance by reducing the occurrence of wait due to exclusive control for access from plural tasks to a file like a magnetic disk device, etc., in an EDP online system. CONSTITUTION:Subfile management records 4A, 4B, 4C,... the number of which is equal to the number of tasks 1A, 1B, 1C,... are used to manage subfile data record areas 5A, 5B, 5C..., the number of which is equal to the number of tasks 1A, 1B, 1C,..., on a subfile constitution file 3.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明はEDPオンラインシステ
ムにおけるサブファイル管理方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a subfile management method in an EDP online system.

【0002】0002

【従来の技術】EDPオンラインシステムにおいては、
トランザクション処理プログラムを本体とする複数のタ
スクが動作し、所定の業務を遂行するが、処理の過程に
おいて磁気ディスク装置等の外部記憶装置上のファイル
を確保してデータを書き込んだり、あるいは読み出した
りする必要が生じる。なお、同一のファイル領域に対し
て複数のタスクからアクセスを行うとデータ内容に矛盾
が生じるため、排他制御を行う必要がある。
[Prior Art] In the EDP online system,
Multiple tasks, the main body of which is a transaction processing program, operate to carry out predetermined tasks. During the process, files are secured on an external storage device such as a magnetic disk device and data is written or read. The need arises. Note that if multiple tasks access the same file area, a contradiction will occur in the data content, so exclusive control must be performed.

【0003】従来、この種のEDPオンラインシステム
におけるファイル管理方式にあっては、ファイル領域の
有効利用の観点から、単一のファイル管理レコードによ
り統一的にファイル領域の管理を行っており、ファイル
管理レコードを確保したタスクのみが排他的にアクセス
を行うことができるようになっていた。
[0003] Conventionally, in the file management method of this type of EDP online system, from the viewpoint of effective use of the file area, the file area has been managed in a unified manner using a single file management record. Only the task that secured the record had exclusive access.

【0004】0004

【発明が解決しようとする課題】上述したように、従来
のファイル管理方式にあっては、ファイル管理レコード
が単一であったため、複数のタスクからアクセスがあっ
た場合に、最先にアクセスしたタスク以外のタスクは排
他制御による待ち状態となり、EDPオンラインシステ
ムの実行性能が上がらないという欠点があった。
[Problem to be Solved by the Invention] As mentioned above, in conventional file management systems, there is a single file management record, so when access is made from multiple tasks, it is necessary to Tasks other than the task are placed in a waiting state under exclusive control, which has the disadvantage that the execution performance of the EDP online system cannot be improved.

【0005】本発明は上記の点に鑑み提案されたもので
あり、その目的とするところは、排他制御による待ちを
極力減らすことにより、複数タスクの同時走行を促進し
、EDPオンラインシステムの実行性能を改善すること
のできるサブファイル管理方式を提供することにある。
The present invention has been proposed in view of the above points, and its purpose is to promote the simultaneous execution of multiple tasks by reducing the waiting time due to exclusive control as much as possible, thereby improving the execution performance of the EDP online system. The purpose of the present invention is to provide a subfile management method that can improve the subfile management method.

【0006】[0006]

【課題を解決するための手段】本発明は上記の目的を達
成するため、EDPオンラインシステムにおいて、タス
クと同数設けられたサブファイル管理レコードと、サブ
ファイル構成ファイル上にタスクと同数設けられたサブ
ファイル用データレコード領域とを備えるようにしてい
る。
[Means for Solving the Problems] In order to achieve the above object, the present invention provides an EDP online system with subfile management records provided in the same number as tasks, and subfile configuration files provided with the same number of subfiles as tasks. It also has a file data record area.

【0007】[0007]

【作用】本発明のサブファイル管理方式にあっては、タ
スクと同数設けられたサブファイル管理レコードを用い
て、サブファイル構成ファイル上にタスクと同数設けら
れたサブファイル用データレコード領域へのアクセスが
管理される。
[Operation] In the subfile management method of the present invention, the subfile management records provided in the same number as tasks are used to access the subfile data record area provided in the subfile configuration file in the same number as the tasks. is managed.

【0008】[0008]

【実施例】以下、本発明の実施例につき図面を参照して
説明する。
Embodiments Hereinafter, embodiments of the present invention will be described with reference to the drawings.

【0009】図1は本発明のサブファイル管理方式を適
用したEDPオンライン業務の一実施例を示す構成図で
ある。
FIG. 1 is a block diagram showing an embodiment of EDP online business to which the subfile management method of the present invention is applied.

【0010】図1において、タスク1A,1B,1Cは
トランザクション処理プログラム2A,2B,2Cにそ
れぞれ対応するものであり、この例では3個となってい
る。なお、EDPオンライン業務においては、タスクの
数は一定となっている。
In FIG. 1, tasks 1A, 1B, and 1C correspond to transaction processing programs 2A, 2B, and 2C, respectively, and in this example, there are three tasks. Note that in the EDP online business, the number of tasks is constant.

【0011】一方、磁気ディスク装置等のサブファイル
構成ファイル3には、タスク1A,1B,1Cと同数の
3個のサブファイル管理レコード4A,4B,4Cが所
定の領域(例えば先頭領域)に設けられており、実デー
タを格納するファイル領域も同数のサブファイル用デー
タレコード領域5A,5B,5Cに分割されている。な
お、サブファイル用データレコード領域5A,5B,5
Cは排他の単位ブロック中に境界ができないように分割
すると共に、サブファイル管理レコード4A,4B,4
Cは1つの排他の単位ブロックに対し2個以上設けない
ようにする。また、サブファイル管理レコード4A,4
B,4Cは、自分が確保されていることを示すフラグと
、管理するサブファイル用データレコード領域5A,5
B,5C内の各ブロックの使用状態を示すビットマップ
とを有している。
On the other hand, in a subfile configuration file 3 of a magnetic disk device, etc., three subfile management records 4A, 4B, and 4C, the same number as tasks 1A, 1B, and 1C, are provided in a predetermined area (for example, the leading area). The file area for storing actual data is also divided into the same number of subfile data record areas 5A, 5B, and 5C. In addition, data record areas 5A, 5B, 5 for subfiles
C is divided so that no boundaries are created in the exclusive unit block, and subfile management records 4A, 4B, 4
Two or more Cs should not be provided for one exclusive unit block. In addition, subfile management records 4A, 4
B and 4C contain a flag indicating that they are secured and data record areas 5A and 5 for subfiles to be managed.
It has a bitmap indicating the usage status of each block in B and 5C.

【0012】動作にあっては、タスク1Aはサブファイ
ル構成ファイル3にアクセスする場合、サブファイル管
理レコード4Aを確保してサブファイル用データレコー
ド領域5Aを排他的に使用し、サブファイルデータレコ
ード6Aの読み書きを行う。同様に、タスク1Bはサブ
ファイル管理レコード4Bを確保してサブファイル用デ
ータレコード領域5Bを排他的に使用し、サブファイル
データレコード6Bの読み書きを行い、タスク1Cはサ
ブファイル管理レコード4Cを確保してサブファイル用
データレコード領域5Cを排他的に使用し、サブファイ
ルデータレコード6Cの読み書きを行う。
In operation, when the task 1A accesses the subfile configuration file 3, it secures the subfile management record 4A, exclusively uses the subfile data record area 5A, and accesses the subfile data record 6A. Read and write. Similarly, task 1B secures subfile management record 4B, exclusively uses subfile data record area 5B, reads and writes subfile data record 6B, and task 1C secures subfile management record 4C. The subfile data record area 5C is exclusively used to read and write the subfile data record 6C.

【0013】従って、複数のタスク1A,1B,1Cか
ら同時にサブファイル構成ファイル3に対してアクセス
の要求があっても、待ちが発生することが少なくなる。
[0013] Therefore, even if a plurality of tasks 1A, 1B, and 1C request access to the subfile configuration file 3 at the same time, waiting is less likely to occur.

【0014】[0014]

【発明の効果】以上説明したように、本発明のサブファ
イル管理方式にあっては、タスク毎にサブファイル管理
レコードおよびサブファイル用データレコード領域を予
め確保しておくため、複数のタスクからサブファイル構
成ファイルに対して同時にアクセスの要求があっても待
ちが発生することが少なく、EDPオンラインシステム
の実行性能を大幅に向上できるという効果がある。
Effects of the Invention As explained above, in the subfile management method of the present invention, since a subfile management record and a subfile data record area are secured in advance for each task, subfile management records and subfile data record areas are reserved for each task. Even if there are requests for access to file configuration files at the same time, there is little waiting time, and the execution performance of the EDP online system can be greatly improved.

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

【図1】本発明のサブファイル管理方式を適用したED
Pオンライン業務の一実施例を示す構成図である。
[Figure 1] ED to which the subfile management method of the present invention is applied
FIG. 2 is a configuration diagram showing an example of P online business.

【符号の説明】[Explanation of symbols]

1A〜1C…タスク 1A~1C...Task

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】  EDPオンラインシステムにおいて、
タスクと同数設けられたサブファイル管理レコードと、
サブファイル構成ファイル上にタスクと同数設けられた
サブファイル用データレコード領域とを備えたことを特
徴とするサブファイル管理方式。
[Claim 1] In the EDP online system,
Subfile management records provided as many times as tasks,
A subfile management method characterized by comprising a subfile data record area provided in the same number of tasks as tasks on a subfile configuration file.
【請求項2】  サブファイル管理レコードを1つの排
他の単位ブロックに対し2個以上設けないことを特徴と
する請求項1記載のサブファイル管理方式。
2. The subfile management method according to claim 1, wherein no more than two subfile management records are provided for one exclusive unit block.
【請求項3】  サブファイル用データレコード領域は
排他の単位ブロック中に境界ができないように配置する
ことを特徴とする請求項1または2記載のサブファイル
管理方式。
3. The subfile management system according to claim 1 or 2, wherein the subfile data record area is arranged so that no boundary is created within the exclusive unit block.
JP2416165A 1990-12-29 1990-12-29 Subfile management system Pending JPH04242843A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2416165A JPH04242843A (en) 1990-12-29 1990-12-29 Subfile management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2416165A JPH04242843A (en) 1990-12-29 1990-12-29 Subfile management system

Publications (1)

Publication Number Publication Date
JPH04242843A true JPH04242843A (en) 1992-08-31

Family

ID=18524406

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2416165A Pending JPH04242843A (en) 1990-12-29 1990-12-29 Subfile management system

Country Status (1)

Country Link
JP (1) JPH04242843A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08286965A (en) * 1995-04-17 1996-11-01 Nec Corp Division parallel processing system of batch processing data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08286965A (en) * 1995-04-17 1996-11-01 Nec Corp Division parallel processing system of batch processing data

Similar Documents

Publication Publication Date Title
US5293618A (en) Method for controlling access to a shared file and apparatus therefor
US6212543B1 (en) Asymmetric write-only message queuing architecture
JPH0798663A (en) Asynchronous i/o control system
JPH06124239A (en) Resident data controller for cache memory
JPH04242843A (en) Subfile management system
JP2994917B2 (en) Storage system
JPH04106643A (en) System for managing file area of floppy disk
JPH026094B2 (en)
JPS61276040A (en) File access system
JPH0528421B2 (en)
JPS5987572A (en) Controlling system of disk storage device
JPH05334012A (en) Large capacity disk controller
JPH01189741A (en) Journal output system
JPH04113414A (en) Automatic application system for disk cache
JPH0314019A (en) Access system for medium collective device
JPH0535505A (en) Input/output task control method
JPH0756692A (en) File access system
JPH01267746A (en) Logic file access device
JPS59133656A (en) Data processing system
JPH03129514A (en) File control system
JPS63148365A (en) Managing device for shared resources of multiplex computer
JPS6019267A (en) Data processing system
JPH01253049A (en) Electronic computer
JPH03103915A (en) Access system for auxiliary storage device
JPH04145526A (en) System generation system