JPH04105147A - External storage device - Google Patents

External storage device

Info

Publication number
JPH04105147A
JPH04105147A JP22401490A JP22401490A JPH04105147A JP H04105147 A JPH04105147 A JP H04105147A JP 22401490 A JP22401490 A JP 22401490A JP 22401490 A JP22401490 A JP 22401490A JP H04105147 A JPH04105147 A JP H04105147A
Authority
JP
Japan
Prior art keywords
storage
ram
rom
storage area
information
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
JP22401490A
Other languages
Japanese (ja)
Inventor
Kazuaki Izumitani
和昭 泉谷
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP22401490A priority Critical patent/JPH04105147A/en
Publication of JPH04105147A publication Critical patent/JPH04105147A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the capacity of a RAM by storing the information that is usually used to the read only in a computer system into a ROM and storing other information into the RAM. CONSTITUTION:An input/output part 1 is provided together with a ROM storage part 2, a RAM storage part 3, a ROM/RAM composition information storage part 4, a control part 5, a normal power supply part 6, and a back-up power supply part 7. Then a storage area for the data that are used to the read only in a computer system is defined as a storage area of a ROM with the specific storage of information together with a storage area for other data defined as a storage area of a RAM respectively. In such a constitution, the capacity of the RAM can be reduced and also the capacity of a back-up power supply which holds the storage contents can be reduced.

Description

【発明の詳細な説明】[Detailed description of the invention] 【産業上の利用分野】[Industrial application field]

この発明は、計算機システムにおける外部記憶装置に関
する。
The present invention relates to an external storage device in a computer system.

【従来の技術】[Conventional technology]

一般的な計算機システムにおける外部記憶装置としては
、従来、読み出し書き込み可能なものとして、フロッピ
ーディスク、ハードディスク、磁気テープ等の磁気記憶
装置が広く用いられている。 これら磁気記憶装置はその記憶内容の保持に特別な電源
を必要としない。 一方、最近の半導体技術の進歩に伴って、上記磁気記憶
装置に比べて高速性、対機械衝撃性、省占有面積性等の
点で優れた半導体記憶装置を用いた外部記憶装置も用い
られるようになってきている。 これら半導体記憶装置を用いた外部記憶装置としては、
EEFROMを用いたものや、RAMを用いたものがあ
る。EEFROMは、書き換え可能ではあるが、通常は
読み出し専用として動作するものであり、磁気記憶装置
のように読み出しと書き込みの両方の用途には通常用い
られない。 方、RAMは読み出しと書き込みの両方が通常可能であ
るため、磁気記憶装置の代わりに用いられる。 このRAMを用いた読み出し書き込み可能な外部記憶装
置としては、従来、第3図に示すようなものがある。 この外部記憶装置は計算機とのインターフェース部であ
る入出力部31と、RAMで構成された記憶部であるR
 A M記憶部32と、上記入出力部31およびRAM
記憶部32を制御する制御部33と、通常は上記入出力
部31、RAM記憶部32および制御部33に電源を供
給する通常電源部34と、上記通常電源部34がオフの
時に上記RAM記憶部32の記憶内容を保持するための
バックアップ電源部35とで構成されている。そして、
上記RAM記憶部32はその全記憶領域に渡って、読み
出し専用領域か、読み出し書き込み専用領域かが決まっ
ていて、上記制御部33は、計算機からの論理的な記憶
領域指定情報(以下、論理アドレスと呼ぶ)を物理的な
記憶領域指定情報(以下、物理アドレスと呼ぶ)に変換
して、上記RAM記憶部32をアクセスするようになっ
ている。
BACKGROUND ART Magnetic storage devices such as floppy disks, hard disks, and magnetic tapes have been widely used as readable and writable external storage devices in general computer systems. These magnetic storage devices do not require a special power source to retain their stored contents. On the other hand, with recent advances in semiconductor technology, external storage devices using semiconductor storage devices, which are superior to the above-mentioned magnetic storage devices in terms of high speed, resistance to mechanical shock, space saving, etc., are also being used. It is becoming. External storage devices using these semiconductor storage devices include:
There are those using EEFROM and those using RAM. Although EEFROM is rewritable, it typically operates as a read-only device and is not typically used for both read and write applications like magnetic storage devices. On the other hand, RAM is generally capable of both reading and writing, and is therefore used instead of magnetic storage devices. As a readable and writable external storage device using this RAM, there is a conventional device as shown in FIG. This external storage device includes an input/output section 31 that is an interface section with the computer, and a storage section R that is composed of a RAM.
AM storage unit 32, the input/output unit 31 and RAM
A control section 33 that controls the storage section 32, a normal power supply section 34 that normally supplies power to the input/output section 31, the RAM storage section 32, and the control section 33, and a normal power supply section 34 that controls the RAM storage when the normal power supply section 34 is off. A backup power supply section 35 is configured to maintain the storage contents of the section 32. and,
The entire storage area of the RAM storage unit 32 is determined as a read-only area or a read/write-only area, and the control unit 33 receives logical storage area designation information (hereinafter referred to as a logical address) from the computer. (hereinafter referred to as a physical address) is converted into physical storage area designation information (hereinafter referred to as a physical address) to access the RAM storage unit 32.

【発明が解決しようとする課題】[Problem to be solved by the invention]

ところで、半導体を用いた外部記憶装置は、上述したよ
うに、磁気記憶装置を用いた外部記憶装置に比べて、高
速性、対機械衝撃性、省占有面積性に優れ、また、省電
力性にも優れているか、記憶装置をRAMのみで構成し
た場合、比較的高価なものになってしまうという欠点か
ある。 また、このRAMのみで記憶装置を構成したものは、第
3図の従来例に示すように、記憶内容の保持のためにバ
ックアップ電源を必要とし、しかも記憶内容全てを保持
する必要があるためバックアップ電源の容量が大きくな
るという欠点がある。 そこで、この発明の目的は、安価で、しかも大きい容量
のバックアップ電源を必要としない、半導体を用いた外
部記憶装置を提供することにある。
By the way, as mentioned above, external storage devices using semiconductors are superior to external storage devices using magnetic storage devices in terms of high speed, mechanical shock resistance, space saving, and power saving. However, if the storage device is composed only of RAM, it is relatively expensive. Furthermore, as shown in the conventional example in Fig. 3, a storage device configured only with this RAM requires a backup power supply to maintain the memory contents, and moreover, it is necessary to maintain all the memory contents, so a backup The disadvantage is that the capacity of the power supply becomes large. SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide an external storage device using a semiconductor that is inexpensive and does not require a large capacity backup power source.

【課題を解決するための手段】[Means to solve the problem]

上記目的を達成するため、この発明は、計算機システム
における外部記憶装置であって、ROMとRAMとで構
成された記憶部と、上記ROMおよび上記RAMの物理
アドレスを、上記計算機システムで用いられる論理アド
レスと対応づけて記憶している記憶領域指定情報記憶手
段と、上記計算機から送られてきた論理アドレスをうけ
て上記記憶領域指定情報記憶手段を参照し、その論理ア
ドレスを物理アドレスに変換して、その物理アドレスが
表す上記ROMまたはRAMの記憶領域をアクセスし、
データの読み出しあるいは書き込みを行う制御部とを備
えたことを特徴としている。
In order to achieve the above object, the present invention provides an external storage device for a computer system, which includes a storage section composed of a ROM and a RAM, and a logical address of the ROM and the RAM used in the computer system. Refers to the storage area designation information storage means that stores the storage area designation information in association with the address, and receives the logical address sent from the computer, and converts the logical address into a physical address. , accesses the storage area of the ROM or RAM indicated by the physical address,
The device is characterized in that it includes a control section that reads or writes data.

【作用】[Effect]

上記構成において、制御部が、計算機から送られてきた
論理アドレスをうけて上記記憶領域指定情報記憶手段を
参照し、その論理アドレスを物理アドレスに変換して、
その物理アドレスが表す上記ROMまたはRAMの記憶
領域をアクセスし、データの読み出しあるいは書き込み
を行う。 ROMは記憶内容の保持に電源を必要とせず、RAMは
記憶内容の保持に電源を必要とする。従って、上記記憶
領域指定情報記憶手段に、上記計算機システムで読み出
しにしか利用されないデータの記憶領域をROMの記憶
領域とし、その他のデータの記憶領域をRAMの記憶領
域とするように情報を記憶させておくことにより、RA
Mの記憶容量を小さくでき、従って、記憶内容保持用の
バックアップ電源の容量を小さくできる。
In the above configuration, the control unit receives a logical address sent from the computer, refers to the storage area designation information storage means, converts the logical address into a physical address,
The storage area of the ROM or RAM indicated by the physical address is accessed to read or write data. ROM does not require a power supply to retain its stored contents, whereas RAM requires a power supply to retain its stored contents. Therefore, the storage area designation information storage means stores information such that the storage area for data that is used only for reading in the computer system is the ROM storage area, and the storage area for other data is the RAM storage area. By keeping RA
The storage capacity of M can be reduced, and therefore the capacity of the backup power source for retaining the storage contents can be reduced.

【実施例】【Example】

以下、この発明を図示の実施例により詳細に説明する。 第1図はこの発明の外部記憶装置の一実施例を示すブロ
ック図である。 この第1図において、lは計算機(図示せず)とのイン
ターフェースである入出力部、2はROMで構成された
読み出し専用メモリであるROM記憶部、3はRAMで
構成された読み出し書き込み専用メモリであるRAM記
憶部である。また、4は上記ROM記憶部2の物理アド
レスと上記RAM記憶部3の物理アドレスを、計算機シ
ステムで用いられる論理アドレスに対応づけて編成、記
憶しているR OM / RA M編成情報格納部、5
は制御部である。この制御部5は、上記計算機から上記
入出力部lを介して送られてきた論理アドレスをうけて
、上記ROM/RAM1i成情報格納部4を参照し、そ
の論理アドレスを物理アドレスに変換する。そして、変
換して得られた物理アドレスが表す上記ROM記憶部2
あるいは上記RAM記憶部3の記憶領域をアクセスし、
上記ROM記憶部2からのデータの読み出し、上記RA
M記憶部3からのデータの読み出しあるいは上記RAM
記憶部3へのデータの書き込みを制御する。6は通常の
動作時に上記入出力部1.ROM記憶部2、RAM記憶
部3、制御部5に電源を供給する通常電源部、7は上記
通常電源部6がオフの時に上記RAM記憶部3に電源を
供給して上記RAM記憶部3の記憶内容を保持するバッ
クアップ電源部である。 上記ROM記憶112の記憶領域と上記RAM記憶部3
の記憶領域を上記ROM/RAM編成情報格納部4に格
納される編成情報により適宜組み合わせることにより、
適用計算機システムとそのファイルシステムおよび応用
ソウフトウエアの利用状況に合わせて、通常読み出しに
しか利用されないデータの記憶領域を電源のバックアッ
プを必要としないROM記憶部2に割り当て、その他の
データの記憶領域を電源のバックアップを必要とするR
AM記憶部3に割り当てるようにして、RAMの容量を
小さくでき、従って、バックアップ電源の容量を小さく
できる。 このことにより、従来よりの電源のバックアップの必要
のない記録媒体(磁気記憶装置)を前提として作成され
ている計算機システムを、その構成を損なうことなく、
バックアップに要する電力を最小限に押さえ込んだ本実
施例の外+1記憶装置を用いて構築することができる。 例えば、本実施例の外部記憶装置を計算機システムの立
ち上げ外部記憶装置とした場合を例にとると、システム
ソフトウェアのうちのシステム本体等の通常読み出しに
しか利用されない情報はROM記憶部2に記憶させ、シ
ステムの起動状況を規定する情報を含むファイルはRA
 lvl記憶部3に記憶させるようにする。このことに
より、起動状況は、利用する状況に合わ仕て該当ファイ
ルを書き換えることにより、変更出来るようになり、し
かも、ROMにより構成されているROM記憶部2は電
源バックアップの必要性がない。 第2図は本実施例の動作を示すフローチャートである。 計算機から論理アドレスが送られてくると、制御部5は
、ステップS+でその論理アドレスを読み込み、ステッ
プS2でROM/RAM編成情報格納部4を参照して、
その論理アドレスを物理アドレスに変換する。そして、
ステップS3において、計算機からの要求が読み出しか
書き込みかを判断し、読み出しであればステップS4に
進み、そうでなければステップS5に進む。ステップS
4では、上記変換して得られた物理アドレスの表すRO
M記憶部2の記憶領域あるいはRAM記憶部3の記憶領
域をアクセスしてデータの読み出しを行い、読み出した
データを計算機に伝送する。 ステップS5では、上記物理アドレスが表す記憶領域の
対象がRAM記憶部3であるがどうかを判断し、RAM
記憶部3であればデータの書き込みが可能であるので、
ステップS6に進み、上記物理アドレスの表す記憶領域
に計算機からのデータを書き込む。一方、RAM記憶部
2てない場合にはデータの書き込みは出来ないのでステ
ップs7に進んでエラー処理を行う。 このように本実施例の外部記憶装置は、記憶内容の保持
に電源を必要としないROM記憶部2と、記憶内容の保
持に電源を必要とするRAM記憶部3とで記憶部を構成
し、計算機システムにおいて通常読み出しにしか使用さ
れない情報をROM記憶部2に記憶させ、その他の情報
をRAM記憶部3に記憶させるようにすることにより、
RAMの容量を小さくできる。従って、従来例のように
RAMだけで記憶部を構成した場合に比べて、バックア
ップ電源部7の容量を小さくでき、装置全体を安価にで
きる。
Hereinafter, the present invention will be explained in detail with reference to illustrated embodiments. FIG. 1 is a block diagram showing an embodiment of an external storage device of the present invention. In FIG. 1, l is an input/output section that is an interface with a computer (not shown), 2 is a ROM storage section that is a read-only memory made up of ROM, and 3 is a read/write-only memory that is made up of RAM. This is a RAM storage unit. Further, 4 is a ROM/RAM organization information storage unit that organizes and stores the physical addresses of the ROM storage unit 2 and the physical addresses of the RAM storage unit 3 in association with logical addresses used in the computer system; 5
is the control section. The control section 5 receives a logical address sent from the computer via the input/output section 1, refers to the ROM/RAM 1i configuration information storage section 4, and converts the logical address into a physical address. Then, the ROM storage unit 2 represented by the physical address obtained by the conversion
Or access the storage area of the RAM storage unit 3,
Reading data from the ROM storage unit 2, reading the data from the RA
Reading data from the M storage unit 3 or the above RAM
Controls writing of data to the storage unit 3. 6 is the input/output section 1.6 during normal operation. A normal power supply unit 7 that supplies power to the ROM storage unit 2, RAM storage unit 3, and control unit 5 supplies power to the RAM storage unit 3 when the normal power supply unit 6 is off, and operates the RAM storage unit 3. This is a backup power supply unit that maintains memory contents. The storage area of the ROM storage 112 and the RAM storage section 3
By appropriately combining the storage areas of , according to the organization information stored in the ROM/RAM organization information storage section 4,
Depending on the usage status of the applied computer system, its file system, and application software, the storage area for data that is normally used only for reading is allocated to the ROM storage unit 2, which does not require power backup, and the storage area for other data is allocated. R that requires power backup
By allocating it to the AM storage section 3, the capacity of the RAM can be reduced, and therefore the capacity of the backup power supply can be reduced. This allows computer systems that are built on the premise of conventional recording media (magnetic storage devices) that do not require power backup, to be able to operate without compromising their configuration.
It can be constructed using a +1 storage device other than this embodiment, which minimizes the power required for backup. For example, if the external storage device of this embodiment is used as an external storage device for starting up a computer system, information that is used only for normal reading of the system main body, etc. of the system software is stored in the ROM storage section 2. files that contain information that defines the system startup status are RA
It is stored in the lvl storage unit 3. As a result, the startup status can be changed by rewriting the relevant file according to the usage status, and furthermore, the ROM storage unit 2 composed of ROM does not require power backup. FIG. 2 is a flowchart showing the operation of this embodiment. When the logical address is sent from the computer, the control unit 5 reads the logical address in step S+, refers to the ROM/RAM organization information storage unit 4 in step S2,
Convert that logical address to a physical address. and,
In step S3, it is determined whether the request from the computer is for reading or writing. If it is a read request, the process proceeds to step S4; otherwise, the process proceeds to step S5. Step S
4, the RO represented by the physical address obtained by the above conversion is
The storage area of the M storage unit 2 or the storage area of the RAM storage unit 3 is accessed to read data, and the read data is transmitted to the computer. In step S5, it is determined whether the storage area indicated by the physical address is the RAM storage unit 3, and
Since data can be written to the storage unit 3,
Proceeding to step S6, data from the computer is written into the storage area indicated by the physical address. On the other hand, if there is no RAM storage unit 2, data cannot be written, so the process advances to step s7 and error processing is performed. In this way, the external storage device of this embodiment has a storage section composed of a ROM storage section 2 that does not require a power source to hold stored contents, and a RAM storage section 3 that requires a power source to hold stored contents. By storing information that is normally used only for reading in a computer system in the ROM storage unit 2 and storing other information in the RAM storage unit 3,
RAM capacity can be reduced. Therefore, the capacity of the backup power supply section 7 can be reduced compared to the conventional example in which the storage section is composed of only RAM, and the cost of the entire device can be reduced.

【発明の効果】【Effect of the invention】

以上より明らかなように、この発明の外部記憶装置は、
ROMとRAMとで構成された記憶部と、上記ROMお
よび上記RAMの物理アドレスを、上記計算機ンステム
で用いられる論理アドレスと対応づけて記憶している記
憶領域指定情報記憶手段と、上記計算機から送られてき
た論理アドレスをうけて上記記憶領域指定情報記憶手段
を参照し、その論理アドレスを物理アドレスに変換して
、その物理アドレスが表す上記ROMまたはRAMの記
憶領域をアクセスし、データの読み出しあるいは書き込
みを行う制御部とを備えているので、電算機システムで
通常読み出しにしか利用されない情報をROMに記憶さ
せ、その他の情報をRAMに記憶させるようにすること
により、RAMの容量を小さくでき、従って、記憶部を
RAMだけで構成した従来例にくらべて、記憶内容の保
持に必要とされるバックアップ電源の容量を小さくでき
、安価となる。
As is clear from the above, the external storage device of the present invention is
a storage unit composed of a ROM and a RAM; a storage area designation information storage means for storing physical addresses of the ROM and the RAM in association with logical addresses used in the computer system; In response to the received logical address, the storage area designation information storage means is referred to, the logical address is converted to a physical address, and the storage area of the ROM or RAM represented by the physical address is accessed to read data or Since the computer system is equipped with a control unit that performs writing, the capacity of the RAM can be reduced by storing information that is normally used only for reading in the computer system in the ROM, and storing other information in the RAM. Therefore, compared to the conventional example in which the storage section is composed of only RAM, the capacity of the backup power supply required to retain the storage contents can be reduced, and the cost can be reduced.

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

第1図はこの発明の外部記憶装置の一実施例のブロック
図、第2図は上記実施例の処理内容を示すフローチャー
ト、第3図は従来例のブロック図である。 l・・・入出力部、2・・・ROM記憶部、3・・RA
M記憶部、 4 ・ROM/RAM編成情報格納部、5・制御部、6
・・通常電源部、7・・・バックアップ電源部。
FIG. 1 is a block diagram of an embodiment of the external storage device of the present invention, FIG. 2 is a flowchart showing the processing contents of the above embodiment, and FIG. 3 is a block diagram of a conventional example. l...Input/output unit, 2...ROM storage unit, 3...RA
M storage unit, 4 ROM/RAM organization information storage unit, 5 control unit, 6
... Normal power supply section, 7... Backup power supply section.

Claims (1)

【特許請求の範囲】[Claims] (1)計算機システムにおける外部記憶装置であって、 ROMとRAMとで構成された記憶部と、 上記ROMおよび上記RAMの物理的な記憶領域指定情
報を、上記計算機システムで用いられる論理的な記憶領
域指定情報と対応づけて記憶している記憶領域指定情報
記憶手段と、 上記計算機から送られてきた論理的な記憶領域指定情報
をうけて上記記憶領域指定情報記憶手段を参照し、その
論理的な記憶領域指定情報を物理的な記憶領域指定情報
に変換して、その物理的な記憶領域指定情報が表す上記
ROMまたはRAMの記憶領域をアクセスし、データの
読み出しあるいは書き込みを行う制御部とを備えたこと
を特徴とする外部記憶装置。
(1) An external storage device in a computer system, which is a storage unit composed of a ROM and a RAM, and a logical storage unit that stores physical storage area designation information of the ROM and the RAM and is used in the computer system. The storage area specification information storage means is stored in association with the area specification information, and the storage area specification information storage means is referred to in response to the logical storage area specification information sent from the computer. a control unit that converts storage area specification information into physical storage area specification information, accesses the storage area of the ROM or RAM represented by the physical storage area specification information, and reads or writes data; An external storage device comprising:
JP22401490A 1990-08-24 1990-08-24 External storage device Pending JPH04105147A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22401490A JPH04105147A (en) 1990-08-24 1990-08-24 External storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22401490A JPH04105147A (en) 1990-08-24 1990-08-24 External storage device

Publications (1)

Publication Number Publication Date
JPH04105147A true JPH04105147A (en) 1992-04-07

Family

ID=16807239

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22401490A Pending JPH04105147A (en) 1990-08-24 1990-08-24 External storage device

Country Status (1)

Country Link
JP (1) JPH04105147A (en)

Similar Documents

Publication Publication Date Title
US6408369B1 (en) Internal copy for a storage controller
US4423479A (en) Cache/disk subsystem with acquire write command
JPH07121444A (en) Auxiliary storage device
JP2000222226A (en) Access controller and accessing method
JPH01235075A (en) Disk memory controller
JPH04105147A (en) External storage device
JPH01303547A (en) Control system for information memory
JPH0520196A (en) Disk cache controller
JPH0793101A (en) Data backup device
KR200216750Y1 (en) Access Speed Enhancement Device at SCS
JPH0235537A (en) Multiple volume update control system
JP2001014219A (en) Method and device for controlling cache
JPH10254781A (en) Auxiliary storage device
JPH11184829A (en) Inter-device data transfer device/method
JPS63148350A (en) Control system for virtual storage of segment buffer memory
JPH04296954A (en) Memory system
JPS6390088A (en) Recording information managing system for optical disk
JPH04111030A (en) Information recorder
JPH09114674A (en) Hard disk device
JPH0865497A (en) Image processing system
JPH02165354A (en) Auxiliary storage device
JPS6132290A (en) Memory device
JPH01296303A (en) System for controlling data transfer of programmable controller
JPH02109151A (en) Disk cache control system
JPH02501602A (en) Mirror disk RAM system