JPH06214837A - Storage area managing method for external storage device - Google Patents

Storage area managing method for external storage device

Info

Publication number
JPH06214837A
JPH06214837A JP5005585A JP558593A JPH06214837A JP H06214837 A JPH06214837 A JP H06214837A JP 5005585 A JP5005585 A JP 5005585A JP 558593 A JP558593 A JP 558593A JP H06214837 A JPH06214837 A JP H06214837A
Authority
JP
Japan
Prior art keywords
data
storage area
storage device
storage
continuity
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
JP5005585A
Other languages
Japanese (ja)
Inventor
Hideto Okuda
秀人 奥田
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 JP5005585A priority Critical patent/JPH06214837A/en
Publication of JPH06214837A publication Critical patent/JPH06214837A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent discontinuous data from being stored by notifying the fact that the continuity of a storage area exceeds a constant margin to a user when it occurs. CONSTITUTION:When the write of data on an external memory device 3 occurs, a main memory device 2 retrieves the data stored spreading over plural blocks in the memory area 32 of the external storage device 3 after writing the data. When the data exists spreading over the plural blocks. the main memory device 2 inspects the continuity of the storage block of the data. When it is judged that the continuity of the data exceeds the constant margin as a result of inspection, the main storage device 2 outputs an alarm message which requests the re-arrangement of the data to the user via a message output means 4. The main storage device 2 can recognize the status of the storage area 32 by inspecting the content of the storage area managing table 31 of the external memory device 3.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はブロックごとに区切られ
た記憶領域を管理する記憶領域管理テーブルを具備した
外部記憶装置を有する計算機における記憶領域管理方法
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a storage area management method in a computer having an external storage device having a storage area management table for managing storage areas divided into blocks.

【0002】[0002]

【従来の技術】記憶媒体の中には、記憶領域をいくつか
のブロックに分割し、各ブロックの記憶状況をテーブル
を用いて管理する物がある。各ブロックの記憶容量は固
定なのでサイズの大きなデータを格納する場合は、デー
タが複数ブロックにまたがって格納されるようになって
いる。データが不要となった場合、そのブロックに格納
されたデータは削除され、新たに、別のデータを格納す
ることが可能となる。このようにして、データの格納、
削除をくり返していくうちに、記憶領域内に連続する空
きブロックが減少するため、そこに大きなデータを格納
しようとする場合、複数の不連続なブロックに分割して
格納する方法がとられる。
2. Description of the Related Art Some storage media divide a storage area into several blocks and manage the storage status of each block using a table. Since the storage capacity of each block is fixed, when storing large-sized data, the data is stored over a plurality of blocks. When the data is no longer needed, the data stored in that block is deleted and new data can be stored. In this way, data storage,
The number of consecutive free blocks in the storage area decreases as the deletion is repeated. Therefore, when large data is to be stored there, a method of dividing the blocks into a plurality of discontinuous blocks and storing the divided blocks is adopted.

【0003】[0003]

【発明が解決しようとする課題】しかしながらこの方法
では、記憶媒体へのデータの格納、削除を行った結果、
複数のブロックにデータが分割され、データの読出、書
込の際、1つの連続したブロックではなく、不連続な複
数のブロックにアクセスするためアクセススピードが低
下する。さらに、記憶媒体の劣化や突発的な障害が発生
し、データを修復するときに、連続性の失われた複数の
ブロックにデータが点在するため修復が困難となる。連
続性が失われたかどうかの情報は、データの読出、書込
時には、使用者は知ることができない。
However, in this method, as a result of storing and deleting data in the storage medium,
Data is divided into a plurality of blocks, and when reading or writing data, not a single continuous block is accessed but a plurality of discontinuous blocks are accessed, so that the access speed is reduced. Further, when the storage medium is deteriorated or a sudden failure occurs, when the data is restored, it is difficult to restore because the data is scattered in a plurality of blocks in which continuity is lost. The information as to whether or not the continuity is lost cannot be known by the user when reading or writing data.

【0004】本発明は上記従来の問題点を解決するもの
で、上記の方式の記憶媒体で、記憶領域の連続性が一定
の限界を超えたときに、それを使用者に通知することに
より、不連続なデータが格納されることを防止すること
を目的とする。
The present invention solves the above-mentioned conventional problems. In the storage medium of the above method, when the continuity of the storage area exceeds a certain limit, the user is notified of the fact. The purpose is to prevent discontinuous data from being stored.

【0005】[0005]

【課題を解決するための手段】この目的を達成するため
に本発明の記憶領域管理方法は、中央処理装置と、ブロ
ックごとに分割された記憶領域と前記記憶領域を管理す
る記憶領域管理テーブルを具備した外部記憶装置と、前
記外部記憶装置の記憶領域を管理する記憶領域管理手段
を具備した主記憶装置と、メッセージ出力手段とを具備
し、前記外部記憶装置内の前記記憶領域管理テーブルの
状態を前記記憶領域管理手段が監視し、前記外部記憶装
置内の記憶領域の使用状況に応じて、前記メッセージ出
力手段が警告メッセージを出すことにより、前記外部記
憶装置内の記憶領域におけるデータの連続性を使用者に
通知するようにしたものである。
In order to achieve this object, a storage area management method of the present invention comprises a central processing unit, a storage area divided into blocks, and a storage area management table for managing the storage area. An external storage device provided, a main storage device having storage area management means for managing the storage area of the external storage device, and a message output means, and a state of the storage area management table in the external storage device. Is monitored by the storage area management means, and the message output means issues a warning message in accordance with the usage status of the storage area in the external storage device, whereby data continuity in the storage area in the external storage device Is notified to the user.

【0006】[0006]

【作用】本発明は上記した構成により、外部記憶装置に
対してデータの書込が発生した場合、主記憶装置はデー
タの書込を行った後の外部記憶装置内の記憶領域中に、
複数ブロックにまたがって格納されているデータを検索
する。複数ブロックにまたがって格納されているデータ
が存在した場合、主記憶装置はそのデータについて記憶
ブロックの連続性を検査する。検査の結果、データの連
続性が一定の限界を超えていた場合、主記憶装置は、メ
ッセージ出力手段を介して、使用者に対しデータの再配
置を要求する警告メッセージを出す。
According to the present invention, when the writing of data occurs in the external storage device, the main storage device has the following structure in the storage area in the external storage device after writing the data.
Search for data stored across multiple blocks. When there is data stored in a plurality of blocks, the main memory device checks the continuity of the memory blocks for the data. As a result of the inspection, if the continuity of data exceeds a certain limit, the main storage device issues a warning message requesting the user to rearrange the data via the message output means.

【0007】このようにして使用者が前記外部記憶装置
に格納されているデータの連続性の低下を把握すること
が可能となる。
In this way, it becomes possible for the user to grasp the deterioration of the continuity of the data stored in the external storage device.

【0008】[0008]

【実施例】以下本発明の一実施例について、図面を参照
しながら説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0009】図1は本発明の外部記憶装置の記憶領域管
理方法の構成を示すブロック図、図2は同実施例におけ
る具体的なデータ記憶の例である。
FIG. 1 is a block diagram showing the configuration of a storage area management method for an external storage device of the present invention, and FIG. 2 is an example of specific data storage in the same embodiment.

【0010】図1において、1は中央処理装置、2は主
記憶装置、3は外部記憶装置、31は前記外部記憶装置
のうちの記憶領域管理テーブルの領域、32は前記外部
記憶装置のうちの記憶領域である。
In FIG. 1, 1 is a central processing unit, 2 is a main storage unit, 3 is an external storage unit, 31 is an area of a storage area management table of the external storage unit, and 32 is one of the external storage units. It is a storage area.

【0011】いま、具体的な例として図2(a)に示す
ように記憶領域32が100個の固定された大きさのブ
ロックに分割されているとし、それぞれのブロックは1
番から100番までのアドレスを持っているとする。記
憶領域管理テーブル31は記憶領域32のブロック数と
等しい100レコード分のデータを格納可能とする。そ
れぞれのレコードが記憶領域32の1番から100番ま
でのそれぞれのブロックの記憶状況に対応しており、−
1が格納されている場合は対応ブロックが空きブロック
となっていること、0が格納されている場合は対応ブロ
ックにつながるブロックが存在しない、即ちデータがそ
のブロックを最終ブロックとして記憶されていること、
1から100の間の数値が格納されている場合は対応ブ
ロックにつながる次のブロックのアドレスを、それぞれ
表している。データが何も記憶されていない初期状態で
はすべてのレコードに−1が格納されている。図2
(b)に示すように、いま記憶領域の1〜25番、26
〜50番、51〜75番に、それぞれ25ブロックずつ
占有するデータが3つ存在しているとする。その状態か
ら、図2(c)に示すように、26〜50番のブロック
に記憶されていたデータを削除すると、記憶領域32の
空きブロックは26〜50番、76〜100番、合計で
50ブロックとなる。ここで、30ブロック分の領域を
占有する大きさのデータの書込が発生すると、図2
(d)に示すように、26〜50番の25ブロックと、
76〜80番の5ブロックに分割されて記憶されること
になる。このとき主記憶装置2は記憶領域管理テーブル
31の内容を検査することから、この状況を知ることが
可能となり、主記憶装置2はメッセージ出力手段4を介
して使用者に記憶されているデータの連続性が失われた
ことを通知する。メッセージ出力手段は、ディスプレイ
への表示でもよいし、音声によるものでもよい。
As a concrete example, assume that the storage area 32 is divided into 100 blocks of a fixed size as shown in FIG.
Suppose you have addresses 100 through 100. The storage area management table 31 can store data for 100 records equal to the number of blocks in the storage area 32. Each record corresponds to the storage status of each block from the 1st to 100th of the storage area 32, −
When 1 is stored, the corresponding block is an empty block, and when 0 is stored, there is no block connected to the corresponding block, that is, the data is stored as the last block. ,
When a numerical value between 1 and 100 is stored, it represents the address of the next block connected to the corresponding block. In the initial state where no data is stored, -1 is stored in all records. Figure 2
As shown in (b), the memory areas 1 to 25, 26
It is assumed that there are three pieces of data each occupying 25 blocks in the numbers # 50 to # 51 to # 75. From that state, as shown in FIG. 2C, when the data stored in the blocks Nos. 26 to 50 is deleted, the free blocks in the storage area 32 are Nos. 26 to 50 and Nos. 76 to 100, which is 50 in total. It becomes a block. Here, when writing of data of a size that occupies an area for 30 blocks occurs, FIG.
As shown in (d), 25 blocks of Nos. 26 to 50,
It is divided into five blocks of Nos. 76 to 80 and stored. At this time, the main storage device 2 examines the contents of the storage area management table 31, so that it is possible to know this situation, and the main storage device 2 stores the data stored in the user via the message output means 4. Notify that the continuity is lost. The message output means may be displayed on a display or may be by voice.

【0012】以上述べたように、ブロックごとに分割さ
れた記憶領域を管理する記憶領域管理テーブルを具備し
た外部記憶装置を有する計算機において、記憶されてい
るデータの連続性が失われた場合、使用者に対してその
旨を通知することが可能となる。
As described above, in a computer having an external storage device having a storage area management table for managing storage areas divided into blocks, use is performed when the continuity of stored data is lost. It becomes possible to notify the person to that effect.

【0013】なお、本実施例においては、データの連続
性が一つでも失われたときに使用者に対し通知を行うよ
うになっているが、前記主記憶装置内に限界値を格納し
ておき、それを超えて連続性が失われた場合に使用者に
通知をする方法を用いても同様の効果が得られることは
いうまでもない。
In the present embodiment, the user is notified when even one of the data continuity is lost. However, a limit value is stored in the main storage device. It goes without saying that the same effect can be obtained by using a method of notifying the user when the continuity is lost beyond that.

【0014】[0014]

【発明の効果】以上のように本発明によれば、ブロック
ごとに分割された記憶領域を管理する記憶領域管理テー
ブルを具備した外部記憶装置を有する計算機において、
使用者が前記記憶装置に記憶されているデータの連続性
が失われたことを把握、その対策を講じることが容易と
なり、実用的にきわめて有用である。
As described above, according to the present invention, in a computer having an external storage device having a storage area management table for managing storage areas divided into blocks,
This makes it easy for the user to grasp the loss of the continuity of the data stored in the storage device and take measures against it, which is extremely useful in practice.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施例における、外部記憶装置の記憶
領域管理方法の構成を示すブロック図
FIG. 1 is a block diagram showing a configuration of a storage area management method for an external storage device according to an embodiment of the present invention.

【図2】同実施例における具体的なデータ記憶の例FIG. 2 is a specific example of data storage in the same embodiment.

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

1 中央処理装置 2 主記憶装置 3 外部記憶装置 4 メッセージ出力手段 31 記憶領域管理テーブル 32 記憶領域 1 Central Processing Unit 2 Main Storage Device 3 External Storage Device 4 Message Output Means 31 Storage Area Management Table 32 Storage Area

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】中央処理装置と、ブロックごとに分割され
た記憶領域と前記記憶領域を管理する記憶領域管理テー
ブルを具備した外部記憶装置と、前記外部記憶装置の記
憶領域を管理する記憶領域管理手段を具備した主記憶装
置と、メッセージ出力手段とを具備し、前記外部記憶装
置内の前記記憶領域管理テーブルの状態を前記記憶領域
管理手段が監視し、前記外部記憶装置内の記憶領域の使
用状況に応じて、前記メッセージ出力手段が警告メッセ
ージを出すことにより、前記外部記憶装置内の記憶領域
におけるデータの連続性を使用者に通知することを特徴
とする外部記憶装置の記憶領域管理方法。
1. A central processing unit, an external storage device comprising a storage area divided into blocks and a storage area management table for managing the storage area, and storage area management for managing the storage area of the external storage device. A main storage device having means and a message output means, and the storage area management means monitors the state of the storage area management table in the external storage device, and uses the storage area in the external storage device. A storage area management method for an external storage device, characterized in that the message output means issues a warning message according to the situation to notify the user of the continuity of data in the storage region in the external storage device.
JP5005585A 1993-01-18 1993-01-18 Storage area managing method for external storage device Pending JPH06214837A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5005585A JPH06214837A (en) 1993-01-18 1993-01-18 Storage area managing method for external storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5005585A JPH06214837A (en) 1993-01-18 1993-01-18 Storage area managing method for external storage device

Publications (1)

Publication Number Publication Date
JPH06214837A true JPH06214837A (en) 1994-08-05

Family

ID=11615322

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5005585A Pending JPH06214837A (en) 1993-01-18 1993-01-18 Storage area managing method for external storage device

Country Status (1)

Country Link
JP (1) JPH06214837A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6090480A (en) * 1997-04-30 2000-07-18 Nec Corporation Magnetoresistive device
US6114850A (en) * 1997-03-18 2000-09-05 Nec Corporation Magnetoresistance effect element, and magnetoresistance effect sensor and magnetic information recording and playback system using same
US6178073B1 (en) 1997-12-01 2001-01-23 Nec Corporation Magneto-resistance effect element with a fixing layer formed from a superlattice of at least two different materials and production method of the same
US6369993B1 (en) 1997-05-14 2002-04-09 Nec Corporation Magnetoresistance effect sensor and magnetoresistance detection system and magnetic storage system using this sensor
US6775110B1 (en) 1997-05-14 2004-08-10 Tdk Corporation Magnetoresistance effect device with a Ta, Hf, or Zr sublayer contacting an NiFe layer in a magneto resistive structure

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6114850A (en) * 1997-03-18 2000-09-05 Nec Corporation Magnetoresistance effect element, and magnetoresistance effect sensor and magnetic information recording and playback system using same
US6452386B1 (en) 1997-03-18 2002-09-17 Nec Corporation Magnetoresistance effect element, and magnetoresistance effect sensor and magnetic information recording and playback system using same
US6456468B1 (en) 1997-03-18 2002-09-24 Nec Corporation Magnetoresistance effect element, and magnetoresistance effect sensor and magnetic information recording and playback system using same
US6090480A (en) * 1997-04-30 2000-07-18 Nec Corporation Magnetoresistive device
US6369993B1 (en) 1997-05-14 2002-04-09 Nec Corporation Magnetoresistance effect sensor and magnetoresistance detection system and magnetic storage system using this sensor
US6775110B1 (en) 1997-05-14 2004-08-10 Tdk Corporation Magnetoresistance effect device with a Ta, Hf, or Zr sublayer contacting an NiFe layer in a magneto resistive structure
US7064936B2 (en) 1997-05-14 2006-06-20 Tdk Corporation Magnetoresistance effect device
US6178073B1 (en) 1997-12-01 2001-01-23 Nec Corporation Magneto-resistance effect element with a fixing layer formed from a superlattice of at least two different materials and production method of the same

Similar Documents

Publication Publication Date Title
US20030110263A1 (en) Managing storage resources attached to a data network
JPH056889B2 (en)
KR940006032A (en) Memory card device
KR20100065786A (en) Cache synchronization method and system for fast power-off
US6601135B1 (en) No-integrity logical volume management method and system
JPH06214837A (en) Storage area managing method for external storage device
JPH09179758A (en) Data management device and data storage medium
US20080022060A1 (en) Data recording apparatus, program product, and data recording method
JP4095840B2 (en) Cache memory management method
JPH08101783A (en) File system
JPH0277949A (en) File producing method
JP2723038B2 (en) Method of storing data in storage device
US20080294842A1 (en) Implementing feedback directed deferral of nonessential dasd operations
JP2556841B2 (en) File access device and method for accessing the file
JP2000251446A (en) Device and method for recording data
JP2928169B2 (en) Data area management method on disk
JPH04289931A (en) Variable length file managing system
JPH0237443A (en) Main storage management system for electronic computer system
JPH0477938A (en) Data storage method
JPS63291145A (en) Method for managing file
JPS63192126A (en) Processing system for space control of data set
JPS6359640A (en) Log information file control system
JPH03294936A (en) Multi-media system control system
JPH02213955A (en) Back-up copying method for picture data base device
JPH10187537A (en) Data managing device and network data managing system

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term