JPH01320523A - Electronic computer - Google Patents

Electronic computer

Info

Publication number
JPH01320523A
JPH01320523A JP15390588A JP15390588A JPH01320523A JP H01320523 A JPH01320523 A JP H01320523A JP 15390588 A JP15390588 A JP 15390588A JP 15390588 A JP15390588 A JP 15390588A JP H01320523 A JPH01320523 A JP H01320523A
Authority
JP
Japan
Prior art keywords
file
information
storage unit
storage
storage area
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
JP15390588A
Other languages
Japanese (ja)
Inventor
Masanori Nakanishi
正典 中西
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP15390588A priority Critical patent/JPH01320523A/en
Publication of JPH01320523A publication Critical patent/JPH01320523A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the number of times of input/output processings by preparing an auxiliary memory device, and providing a file managing part stored in the memory device and a storage unit sharing information storage part between files at every storage unit to be used by the file at the managing part. CONSTITUTION:In the case of duplicating a source file shown in an identification number #1 on a target file shown in a file identification number #2, a file managing program 3 allocates target file managing information 11b on an auxiliary storage area 6 newly. Next, logical block numbers #1, #2, and #3 stored in a storage area information part 15a are written on an information part 15b. Next, the shared flags 17a and 17b of the storage unit sharing information storage parts 16a and 16b are set, respectively, and the file identification numbers #2 and #1 sharing the logical blocks #1, #2, and #3 are registered on shared file information parts 18a and 18b. In such a way, since input/output according to the duplication of the logical block is performed, it is possible to reduce the number of times of effective input/output.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、補助記憶装置を備えた電子計算機に関する。[Detailed description of the invention] Industrial applications The present invention relates to an electronic computer equipped with an auxiliary storage device.

従来の技術 従来から電子計算機においては、データ保存のための補
助記憶装置として、磁気デイクス装置や磁気テープ装置
が広く用いられている。オペレーティング・システムは
、それらの記憶媒体の記憶領域をいくつかの論理的記憶
単位に分割し、それらをファイルのデータ記憶領域とし
て割り当てることにより記憶領域を管理する方法が採用
されている。このような方法では、ファイルの管理情報
部にその論理記憶単位番号を登録することによりファイ
ルのデータへの参照を可能としている。
2. Description of the Related Art Magnetic disk drives and magnetic tape drives have been widely used in electronic computers as auxiliary storage devices for data storage. Operating systems employ a method of managing storage areas by dividing the storage areas of these storage media into several logical storage units and allocating them as data storage areas for files. In such a method, the data of a file can be referenced by registering the logical storage unit number in the management information section of the file.

ファイル間でデータの複写を行う際は、まずデータをソ
ースファイルの該論理記憶単位より主記憶装置上に読み
だしたのち、ターゲット・ファイルに論理記憶単位を新
たに割当て、それに先のデータを書き込むことにより実
現していた。
When copying data between files, first read the data from the corresponding logical storage unit of the source file onto main storage, then allocate a new logical storage unit to the target file and write the previous data to it. This was achieved by doing this.

発明が解決しようとする課題 しかしながら従来の技術においては、ファイルのデータ
のコピーにあたってデータ格納用の新しい論理記憶単位
を割り当てるため、補助記憶領域を多く消費し、更に入
出力処理回数が増加するという欠点があった。
Problems to be Solved by the Invention However, in the conventional technology, when copying file data, a new logical storage unit for data storage is allocated, which consumes a large amount of auxiliary storage area and further increases the number of input/output operations. was there.

本発明は、上記事情に鑑みてなされたものであり、その
目的とするところは、ファイル間でデータの格納された
論理記憶単位を共有することにより、記憶領域の効率的
利用を計り、入出力処理回数の低減を可能とする電子計
算機を提供することである。
The present invention has been made in view of the above circumstances, and its purpose is to share logical storage units in which data is stored between files, thereby achieving efficient use of storage areas and providing input/output An object of the present invention is to provide an electronic computer that can reduce the number of times of processing.

課題を解決するための手段 本発明は、補助記憶装置を有し、この補助記憶装置の記
憶領域に格納されたファイル管理部と、このファイル管
理部に、ファイルの使用する記憶単位毎にファイル間の
記憶単位共有情報格納部を具備したことを特徴とする電
子計算機である。
Means for Solving the Problems The present invention has an auxiliary storage device, a file management section stored in the storage area of the auxiliary storage device, and a file management section that stores information between files for each storage unit used by the file. An electronic computer characterized by comprising a memory unit shared information storage section.

作   用 ファイルの使用する記憶単位毎のファイル間の記憶単位
共有情報格納部を具備することにより、ファイル間で不
必要なデータの複写を行うことな(、補助記憶領域の効
率的利用と入出力処理回数の低減を可能にする。
By providing an inter-file storage unit sharing information storage section for each storage unit used by the working file, unnecessary data copying between files can be avoided (and efficient use of auxiliary storage area and input/output can be achieved). Enables reduction of processing times.

実施例 以下、本発明の詳細を実施例に基づいて説明する。第1
図は、本発明の電子計算機の一実施例の構成を示すもの
であり、1は中央処理装置、2は主記憶装置、3はファ
イル管理プログ、ラム、4は補助記憶装置管理装置であ
り、磁気ディスク装置や磁気テープ装置などの補助記憶
装置5を制御する。6は補助記憶領域であって補助記憶
装置5上に設けられる。7は端末制御装置であり端末装
置8を制御する。9はシステムバスである。第2図は、
上述の補助記憶領域6の構成例の概念図であり、これの
上にファイル管理情報部10およびデータ格納領域12
を設ける。データ格納領域12は、い(つかの論理記憶
単位13で構成される。
EXAMPLES Hereinafter, details of the present invention will be explained based on examples. 1st
The figure shows the configuration of an embodiment of a computer according to the present invention, in which 1 is a central processing unit, 2 is a main storage device, 3 is a file management program, a RAM, and 4 is an auxiliary storage device management device. It controls an auxiliary storage device 5 such as a magnetic disk device or a magnetic tape device. 6 is an auxiliary storage area provided on the auxiliary storage device 5; 7 is a terminal control device that controls the terminal device 8; 9 is a system bus. Figure 2 shows
It is a conceptual diagram of a configuration example of the above-mentioned auxiliary storage area 6, on which a file management information section 10 and a data storage area 12 are installed.
will be established. The data storage area 12 is composed of several logical storage units 13.

第3図は、ファイル管理情報11の構成例の概念図であ
り、14はファイル識別番号、15は記憶領域情報部、
16は記憶単位共有情報格納部、17は共有フラグ、1
8は共有ファイル情報部である。以下、図示の実施例を
参照しながら、ファイル・データのコピー動作について
説明する。
FIG. 3 is a conceptual diagram of a configuration example of the file management information 11, in which 14 is a file identification number, 15 is a storage area information section,
16 is a storage unit shared information storage unit, 17 is a shared flag, 1
8 is a shared file information section. The file data copying operation will be described below with reference to the illustrated embodiment.

まず、ファイル識別番号#1で表されるソース・ファイ
ルをファイル識別#2で表されるターゲット・ファイル
ヘコビーする場合について第4図、第5図を用いて説明
する。コピー要求を受けたファイル管理プログラム3は
、ターゲット・ファイル管理情報11bを補助記憶領域
、8上のファイル管理情報部10b上に新しく割り当て
る。つぎに、ソース・ファイルのデータ格納場所を示す
記憶領域情報部−15aに格納された論理ブロック番号
#1. #2. #3を、ターゲット・ファイルの記憶
領域情報部15bに書き込む。次に、それぞれの論理ブ
ロックに対応して設けられた記憶単位共有情報格納部1
6a、16bの共有フラグ17a、17bを立て、共有
ファイル情報部18a、isbに、論理ブ0 ツク#1
. #2゜#3を共有するファイル識別番号#2. #
1を登録する。このようにして複写されたファイルのデ
ータが書き直しの要求された場合、例えば、前述のファ
イル2のうち論理ブロック番号#3に対応するデータを
書き直し要求がなされた場合を第6図、第7図を用いて
説明する。ファイル管理プログラム3は、該ファイル管
理情報11bを読みだす。論理ブロック番号#3に対し
て共有フラグ17bが立てられているため、未使用論理
ブロック、例えばこの例では論理ブロック#4を割り当
てる。そして、共有ファイル情報部18a、18bをそ
れぞれ番号#11番号#2に更新する。
First, the case where the source file represented by the file identification number #1 is transferred to the target file represented by the file identification number #2 will be explained using FIGS. 4 and 5. Upon receiving the copy request, the file management program 3 newly allocates the target file management information 11b onto the file management information section 10b on the auxiliary storage area 8. Next, the logical block number #1. stored in the storage area information section-15a indicating the data storage location of the source file. #2. #3 is written to the storage area information section 15b of the target file. Next, a storage unit shared information storage unit 1 provided corresponding to each logical block
Set the shared flags 17a and 17b of 6a and 16b, and write logical block 0 to shared file information section 18a and isb.
.. #2゜File identification number #2 that shares #3. #
Register 1. When a request is made to rewrite the data of the file copied in this way, for example, when a request is made to rewrite the data corresponding to logical block number #3 in the aforementioned file 2, FIGS. Explain using. The file management program 3 reads out the file management information 11b. Since the shared flag 17b is set for logical block number #3, an unused logical block, for example, logical block #4 in this example, is allocated. Then, the shared file information sections 18a and 18b are updated to number #11 and number #2, respectively.

このようにして、ファイルの複写にあたって、新たに記
憶単位を割り当てるのではなく、どちらかのファイルに
書き込みが起こるまではその記憶単位を共有することに
より補助記憶領域の効率的利用が可能となり、更に、実
際に書き込みが発生した場合だけを必要な論理ブロック
のコピーに伴う入出力を行うので実効入出力回数を低減
しうる。
In this way, when copying a file, instead of allocating a new storage unit, the storage unit is shared until one of the files is written, making it possible to use the auxiliary storage area efficiently. Since input/output accompanied by copying of necessary logical blocks is performed only when writing actually occurs, the effective number of input/outputs can be reduced.

発明の効果 以上詳細に説明したように、本発明は、ファイル管理部
に、ファイルの使用する記憶単位毎のファイル間の記憶
単位共有情報格納部を具備することにより、ファイル間
で不必要なデータの複写を行うことなく、補助記憶領域
の効率的利用と入出力処理回数の低減を可能にするとい
う利点を持つ。
Effects of the Invention As explained in detail above, the present invention provides a file management unit with an inter-file storage unit sharing information storage unit for each storage unit used by the file, thereby eliminating unnecessary data between files. This has the advantage of making it possible to efficiently use auxiliary storage space and reduce the number of input/output operations without copying data.

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

第1図は、本発明の一実施例に使用する電子計算機の基
本構成図、第2図は、上述の補助記憶領域の構成例の概
念図、第3図は、ファイル管理情報格納部の構成例の概
念図、第4図、第5図、第6図および第7図は各々ファ
イル管理情報の概念図である。 1・・・・・・中央処理装置、2・・・・・・主記憶装
置、3・・・・・・ファイル管理プログラム、4・・・
・・・補助記憶装置管理装置、5・・・・・・補助記憶
装置、6・・・・・・補助記憶領域、7・・・・・・端
末制御装置、8・・・・・・端末装置、9・・・・・・
システムバス。 代理人の氏名 弁理士 中尾敏男 ほか1名第 1 図 \ q>人テムハ人 第7図 鳩         % \             \ 凶    (。
FIG. 1 is a basic configuration diagram of a computer used in an embodiment of the present invention, FIG. 2 is a conceptual diagram of an example of the configuration of the above-mentioned auxiliary storage area, and FIG. 3 is a configuration of a file management information storage unit. The conceptual diagrams of the examples, FIG. 4, FIG. 5, FIG. 6, and FIG. 7 are each conceptual diagrams of file management information. 1...Central processing unit, 2...Main storage device, 3...File management program, 4...
... Auxiliary storage management device, 5 ... Auxiliary storage device, 6 ... Auxiliary storage area, 7 ... Terminal control device, 8 ... Terminal Device, 9...
system bus. Name of agent: Patent attorney Toshio Nakao and 1 other person Figure 1 \ q>人TEMHA人Figure 7 Hato % \ \ Kō (.

Claims (1)

【特許請求の範囲】[Claims] 補助記憶装置を有し、この補助記憶装置の記憶領域に格
納されたファイル管理部と、このファイル管理部に、フ
ァイルの使用する記憶単位毎にファイル間の記憶単位共
有情報格納部を具備したことを特徴とする電子計算機。
It has an auxiliary storage device, and includes a file management section stored in the storage area of the auxiliary storage device, and a storage unit for storage unit sharing information between files for each storage unit used by the file. An electronic computer featuring:
JP15390588A 1988-06-22 1988-06-22 Electronic computer Pending JPH01320523A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15390588A JPH01320523A (en) 1988-06-22 1988-06-22 Electronic computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15390588A JPH01320523A (en) 1988-06-22 1988-06-22 Electronic computer

Publications (1)

Publication Number Publication Date
JPH01320523A true JPH01320523A (en) 1989-12-26

Family

ID=15572668

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15390588A Pending JPH01320523A (en) 1988-06-22 1988-06-22 Electronic computer

Country Status (1)

Country Link
JP (1) JPH01320523A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5647717A (en) * 1994-12-06 1997-07-15 Fujitsu Limited Cartridge carrying system and library system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5647717A (en) * 1994-12-06 1997-07-15 Fujitsu Limited Cartridge carrying system and library system

Similar Documents

Publication Publication Date Title
JPH01320523A (en) Electronic computer
JPH0330034A (en) Optical disk file managing method
JPH06124239A (en) Resident data controller for cache memory
JPH06309209A (en) File backup system
EP0216170A2 (en) Storage management method and system in a multiprocessor environment
US5659744A (en) Data file store system with means for efficiently managing freeing of data blocks
JPH04350738A (en) Disk space management system
JPS6184752A (en) File management device
JPH026094B2 (en)
JPH05151089A (en) System for data guarantee in memory space
JPH0337748A (en) External storage accessing system utilizing main storage
JP2735400B2 (en) Asynchronous I / O control method
JPS62108346A (en) Inter-process communication system
JPS63149741A (en) Descriptor table control system
JPH03132819A (en) Medium controller
JPH01163848A (en) Double updating preventing system for disk file
Moore et al. The design and implementation of the memory manager for a secure archival storage system
JPH01253049A (en) Electronic computer
JPH03282645A (en) Local area network system
JPH02259941A (en) Automatic erasing system for magnetic disk file
JPS61276040A (en) File access system
JPS63192126A (en) Processing system for space control of data set
JPH01220023A (en) Centralized control system for secondary storage device
JPH02138645A (en) Processing system for input order file
JPH0273436A (en) File control system