[go: up one dir, main page]

JPH01255028A - Method for making access to external storage device - Google Patents

Method for making access to external storage device

Info

Publication number
JPH01255028A
JPH01255028A JP63083306A JP8330688A JPH01255028A JP H01255028 A JPH01255028 A JP H01255028A JP 63083306 A JP63083306 A JP 63083306A JP 8330688 A JP8330688 A JP 8330688A JP H01255028 A JPH01255028 A JP H01255028A
Authority
JP
Japan
Prior art keywords
block
file
external storage
readout
magnetic disk
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
JP63083306A
Other languages
Japanese (ja)
Inventor
Toru Yao
八尾 徹
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 JP63083306A priority Critical patent/JPH01255028A/en
Publication of JPH01255028A publication Critical patent/JPH01255028A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To shorten a time required for access to an external memory device by reading out plural blocks comprising one file from plural memory devices complementarily, respectively, and reading the file by reconstructing one file. CONSTITUTION:When it is required to continue the plural blocks logically to render the files stored in magnetic disk devices A12 and B13, a CPU 1 uses a file managing program 4, and issues the readout request of a first block (a) to be continued to the device 12 via a first disk controller 10. Simultaneously, the CPU issues the retrieval request of the physical cylinder address of the next block (b) to the device B13 via a second disk controller 11. And when the readout of the block (a) is completed, the retrieval request of the physical cylinder address of a third block (c) is issued to the device 12, and when the readout of the block (a) is completed and the retrieval of the block (b) is also completed, the readout of the block (b) is requested to the device B13. Next, the readout of the block (c) is requested similarly.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、電子計算機システムにおいて用いられる磁気
ディスク等の外部記憶装置へのアクセス方法に関するも
のである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a method of accessing an external storage device such as a magnetic disk used in a computer system.

従来の技術 磁気ディスクの一般的管理方式を第3図に示す。図にお
いて、1は電子計算機システム内のCPU、2は主記憶
装置、3は主記憶装置2で動作するオペレーティング・
システム(以下O8と略す)で、4はファイル管理手段
として上記O83に含まれるファイル管理プログラム、
7は外部記憶装置として設けられた磁気ディスク装置、
6はシステムバス5を介してCPU1.主記憶装置2と
接続されているディスク制御装置、8はディスク装置7
のブロック(記憶単位)、9はブロック8の使用、未使
用を示すブロック・マツプであり、このブロック・マツ
プ9はファイルの記憶や消去の度に書き換えられる。
A general management system for conventional magnetic disks is shown in FIG. In the figure, 1 is a CPU in a computer system, 2 is a main memory, and 3 is an operating system that operates on the main memory 2.
system (hereinafter abbreviated as O8), 4 is a file management program included in the above O83 as a file management means;
7 is a magnetic disk device provided as an external storage device;
6 is connected to the CPU 1.6 via the system bus 5. A disk control device connected to the main storage device 2, 8 is a disk device 7
The block (memory unit) 9 is a block map indicating whether the block 8 is used or not, and this block map 9 is rewritten each time a file is stored or erased.

動作に関して以下に説明する。The operation will be explained below.

ファイル管理プログラム4が磁気ディスク装置7上にフ
ァイルを生成するとき、記録可能な未使用ブロック8は
通常、消去や再記録等により物理的な連続性が失われて
いるので、ファイル管理プログラム4は磁気ディスク装
置7上の未使用ブロック8をブロック・マツプ9から捜
して、それぞれを論理的に連続させて使用する。従って
従来、上記のようなディスク管理方式下での磁気ディス
ク装置7へのアクセス方法としては、ブロック単位ごと
に入出力要求に応じて、その物理シリンダアドレスをア
クセスしていた。
When the file management program 4 generates a file on the magnetic disk device 7, the recordable unused blocks 8 usually have physical continuity lost due to erasure, re-recording, etc. Unused blocks 8 on a magnetic disk device 7 are searched from a block map 9, and each is used in logical succession. Therefore, conventionally, the method of accessing the magnetic disk device 7 under the above-described disk management system has been to access the physical cylinder address of each block in response to an input/output request.

発明が解決しようとする課題 このような従来のアクセス方法において、1ブロツクで
1つのファイルを構成している場合は問題はないが、複
数のブロックを論理的に連続させて1つのファイルを構
成する場合、ブロック間では通常、物理シリンダアドレ
スは連続していないので、第4図に示すように1つのブ
ロックの入出力処理を終了し、次のブロックをアクセス
しようとする場合、そのブロックの物理シリンダアドレ
スを検索するために、磁気ディスク装置内でのシーク動
作等で時間がかかり、アクセス時間が大きくなり、計算
機システムのスループットを低下させるという問題点が
あった。
Problems to be Solved by the Invention In such conventional access methods, there is no problem when one block constitutes one file, but when multiple blocks are logically contiguous to constitute one file. In this case, physical cylinder addresses are usually not consecutive between blocks, so when you finish input/output processing for one block and try to access the next block, as shown in Figure 4, the physical cylinder addresses of that block are In order to search for an address, seek operations within the magnetic disk device take time, which increases access time and reduces the throughput of the computer system.

本発明は、このような従来の問題点を解消するためにな
されたもので、外部記憶装置へのアクセスにおいて、シ
ーク動作等の物理的動作によるオーバヘッドを低減する
アクセス方法を得ることを目的としている。
The present invention has been made to solve these conventional problems, and aims to provide an access method that reduces the overhead caused by physical operations such as seek operations when accessing an external storage device. .

課題を解決するための手段 本発明に係る外部記憶装置へのアクセス方法は、電子計
算機システムにおいて、記憶内容が同一の複数の外部記
憶装置と、上記外部記憶装置の入出力を制御する複数の
制御装置を備え、それぞれに入出力要求を分散し、常に
同時にアクセスすることを特徴とする。
Means for Solving the Problems A method for accessing an external storage device according to the present invention provides a method for accessing an external storage device in a computer system that includes a plurality of external storage devices having the same storage content and a plurality of controls that control input/output of the external storage devices. It is characterized by having multiple devices, distributing input/output requests to each device, and always accessing them simultaneously.

作用 本発明は、同一の記憶内容をもつ複数の外部記憶装置を
設けることで入出力処理を分散でき、それぞれを同時に
アクセスし、物理的動作を並行させることで、入出力の
オーバヘッドを低減し、電子計算機システムのスループ
ットを高めることができる。
Effects of the present invention By providing a plurality of external storage devices with the same storage content, input/output processing can be distributed, and by accessing each at the same time and performing physical operations in parallel, input/output overhead can be reduced. The throughput of a computer system can be increased.

実施例 以下、本発明の一実施例を説明する。Example An embodiment of the present invention will be described below.

第1図において、1は電子計算機システム内のCPU、
2は主記憶装置、3は主記憶装置2上で動作するO8.
4はO83に含まれるファイル管理プログラム、12.
13は外部記憶装置として設けられた同一の記憶内容を
もつ磁気ディスク装置A、B、10.11は磁気ディス
ク装置A。
In FIG. 1, 1 is a CPU in an electronic computer system;
2 is the main memory, and 3 is O8.3 operating on the main memory 2.
4 is a file management program included in O83; 12.
13 is a magnetic disk device A and B having the same storage content provided as an external storage device; 10.11 is a magnetic disk device A;

B、12,13を制御する第1.第2デイスク制御装置
で、システムバス5を介してC’P U 1 、主記憶
装置2と接続されている。
1.B, which controls 12 and 13; The second disk controller is connected to C'P U 1 and the main storage device 2 via the system bus 5 .

次に動作について説明する磁気ディスク装置A、B、1
2.13に記憶されているファイルを再現するために、
複数のブロックを論理的に連続させる必要があるとき、
CPUIはファイル管理プログラム4を使い、第1デイ
スク制御装置10を経由し、ディスク装置A12に連続
させる最初のブロックaの読出し要求を発行する。同時
に第2デイスク制御装置11を経由して磁気ディスク装
置B13に次のブロックbの物理シリンダアドレスの検
索要求を発行する。そしてブロックaの読出しが終了す
れば、第1デイスク制御装置10を経由し、磁気ディス
ク装置A12に第3番目の一  4 − ブロックCの物理シリンダアドレスの検索要求を発行し
、またブロックaの読出しが終了し、かつブロックbの
検索が終了すれば、第2デイスク制御装置11を経由し
て、磁気ディスク装置B13にブロックbの読出し要求
を発行する。さらにブロックbの読出しが終了し、かつ
ブロックCの検索が終了すれば、第1デイスク制御装N
10を経由して、磁気ディスク装置A12にブロックC
の読出し要求を発行する。2台の磁気ディスク装置A、
B、12.13に対して、この動作を繰り返し続けるこ
とで、シーク動作等の物理的動作に関しては並行的処理
できるので、全体的なアクセス時間の短縮が図れる。こ
れらの動作についてのタイム・チャートを示したものが
第2図である。
Next, the operation of magnetic disk devices A, B, and 1 will be explained.
In order to reproduce the files stored in 2.13,
When multiple blocks need to be logically consecutive,
Using the file management program 4, the CPUI issues a read request for the first block a to be made consecutive to the disk device A12 via the first disk control device 10. At the same time, a search request for the physical cylinder address of the next block b is issued to the magnetic disk device B13 via the second disk control device 11. When the reading of block a is completed, a search request for the physical cylinder address of the third block C is issued to the magnetic disk device A12 via the first disk control device 10, and a request for retrieving the physical cylinder address of the third block C is issued to the magnetic disk device A12 via the first disk control device 10. When the search for block b is completed, a read request for block b is issued to the magnetic disk device B13 via the second disk control device 11. Furthermore, when the reading of block b is completed and the search of block C is completed, the first disk controller N
10, block C is transferred to the magnetic disk device A12.
issue a read request. two magnetic disk devices A,
For B and 12.13, by continuing to repeat this operation, physical operations such as seek operations can be processed in parallel, so the overall access time can be shortened. FIG. 2 shows a time chart for these operations.

また磁気ディスク装置の記憶内容を更新する場合は、書
き込み系の処理が必要となるが、CPU1はファイル管
理プログラム4を使い、第1デイスク制御装置10を経
由して磁気ディスク装置A12に、また第2デイスク制
御装置11を経由して磁気ディスク装置B13にそれぞ
れ同時に書き込み要求を発行する。2台のディスク装置
は別々にアクセスされるので、アクセス時間を増やすこ
となく、磁気ディスク装置の記憶内容が更新される都度
、バックアップがとれることになる。
In addition, when updating the storage contents of the magnetic disk device, writing-related processing is required, but the CPU 1 uses the file management program 4 to update the storage contents of the magnetic disk device A12 via the first disk control device 10. A write request is simultaneously issued to each magnetic disk device B13 via the two disk control devices 11. Since the two disk devices are accessed separately, a backup can be taken each time the storage contents of the magnetic disk device are updated, without increasing the access time.

なお、上記の実施例では、外部記憶装置を磁気ディスク
装置として、2台接続した場合を想定して説明したが、
本発明はフレキシブルディスクや磁気テープ、光ディス
ク等、主記憶装置に対する種々の外部記憶装置に適応で
き、2台とは限らず3台以上接続した構成も可能である
Note that in the above embodiment, the explanation was made assuming that two external storage devices are connected as magnetic disk devices.
The present invention is applicable to various external storage devices for the main storage device, such as flexible disks, magnetic tapes, and optical disks, and a configuration in which not only two but three or more devices are connected is also possible.

発明の効果 本発明は、以上説明したように、同一内容が記憶されて
いる外部記憶装置を複数台接続し、それを同時にアクセ
スすることで、複数のブロックで構成されたファイルを
読出す場合のアクセス時間を短縮でき、また外部記憶装
置の記憶内容の更新毎に、従来と変らぬアクセス時間で
バックアップがとれるなどの効果がある。
Effects of the Invention As explained above, the present invention provides a method for reading a file composed of multiple blocks by connecting multiple external storage devices that store the same content and accessing them simultaneously. The access time can be shortened, and each time the storage contents of the external storage device are updated, a backup can be taken with the same access time as before.

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

第1図は本発明の一゛実施例によるシステム構成図、第
2図は同実施例の動作タイム・チャート図、第3図は一
般的なディスクの管理方法を説明する動作説明図、第4
図は従来のディスクアクセス方法による動作タイム・チ
ャート図である。 1・・・・・・CPU、2・・・・・・主記憶装置、3
・・・・・・オペレーティング・システム、4・・・・
・・ファイル管理プログラム、5・・・・・・システム
バス、10.11・・・・・・第1および第2のディス
ク制御装置、12.13・・・・・・磁気ディスク装置
FIG. 1 is a system configuration diagram according to one embodiment of the present invention, FIG. 2 is an operation time chart diagram of the same embodiment, FIG. 3 is an operation explanatory diagram explaining a general disk management method, and FIG.
The figure is an operation time chart according to a conventional disk access method. 1...CPU, 2...Main storage device, 3
...Operating system, 4...
... File management program, 5 ... System bus, 10.11 ... First and second disk control devices, 12.13 ... Magnetic disk device.

Claims (1)

【特許請求の範囲】[Claims] プログラムあるいはデータ等の情報を各々ファイルとし
て記憶できる外部記憶装置を有する電子計算機システム
において、1つのファイルを複数の外部記憶装置から読
み出す際に、記憶内の前記1つのファイルを構成する複
数のブロックを各々相補的に前記複数の外部記憶装置か
ら読み出し、これら読み出された複数のブロックのデー
タより前記1っのファイルを再構成し読み出すことによ
り、外部記憶装置のアクセス時間を短くすることを特徴
とする外部記憶装置のアクセス方法。
In a computer system having an external storage device that can store information such as a program or data as a file, when reading one file from multiple external storage devices, multiple blocks constituting the one file in the memory are read. The access time to the external storage device is shortened by reading data from the plurality of external storage devices in a complementary manner, and reconstructing and reading the one file from the data of the plurality of read blocks. How to access external storage devices.
JP63083306A 1988-04-05 1988-04-05 Method for making access to external storage device Pending JPH01255028A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63083306A JPH01255028A (en) 1988-04-05 1988-04-05 Method for making access to external storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63083306A JPH01255028A (en) 1988-04-05 1988-04-05 Method for making access to external storage device

Publications (1)

Publication Number Publication Date
JPH01255028A true JPH01255028A (en) 1989-10-11

Family

ID=13798731

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63083306A Pending JPH01255028A (en) 1988-04-05 1988-04-05 Method for making access to external storage device

Country Status (1)

Country Link
JP (1) JPH01255028A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0689218A (en) * 1992-09-08 1994-03-29 Hitachi Ltd Backup method for multiple write volume
JP2003022209A (en) * 2001-07-05 2003-01-24 Nri & Ncc Co Ltd Distributed server system
CN114816203A (en) * 2022-06-30 2022-07-29 天津联想协同科技有限公司 Shortcut operation method, device, terminal and storage medium suitable for network disk drive letter

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0689218A (en) * 1992-09-08 1994-03-29 Hitachi Ltd Backup method for multiple write volume
JP2003022209A (en) * 2001-07-05 2003-01-24 Nri & Ncc Co Ltd Distributed server system
CN114816203A (en) * 2022-06-30 2022-07-29 天津联想协同科技有限公司 Shortcut operation method, device, terminal and storage medium suitable for network disk drive letter
CN114816203B (en) * 2022-06-30 2022-11-11 天津联想协同科技有限公司 Shortcut operation method, device, terminal and storage medium suitable for network disk drive letter

Similar Documents

Publication Publication Date Title
JP2635023B2 (en) Label writing method for file data
JPS61112255A (en) Computer system
JPWO2002056179A1 (en) Method for regenerating partition using virtual drive, data processing device, and data storage device
JPS6365544A (en) Data deleting system
JPH01255028A (en) Method for making access to external storage device
JPH0330034A (en) Optical disk file management method
JP2005316624A (en) Database reorganization program, database reorganization method, and database reorganization apparatus
JPH0895835A (en) Method for reserving file space
JPS6359618A (en) How to copy
JP2005122252A (en) Playback device, playback recording device, and video editing device
JPH06187201A (en) File system
JPH0235537A (en) Multiplexed volume update control method
JPS61276040A (en) File access system
JPH08272654A (en) File management device
JP2912657B2 (en) File access processor
JP2903605B2 (en) File area management processing method
JP2540821B2 (en) Database search system
JPH04155546A (en) Multivolume file processing method
JP2735400B2 (en) Asynchronous I/O control method
JPS62177642A (en) File management system for postscript filing device
JPS63251965A (en) Disk managing system
JPS63291145A (en) Method for managing file
JPH01181121A (en) Memory area allocating system
JPH04350741A (en) Access speed increasing method for indexed sequential file
JPS62134718A (en) Data access control method