JPH03211638A - Compression system for program backup file - Google Patents

Compression system for program backup file

Info

Publication number
JPH03211638A
JPH03211638A JP2008792A JP879290A JPH03211638A JP H03211638 A JPH03211638 A JP H03211638A JP 2008792 A JP2008792 A JP 2008792A JP 879290 A JP879290 A JP 879290A JP H03211638 A JPH03211638 A JP H03211638A
Authority
JP
Japan
Prior art keywords
program
backup file
area
storage device
address
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
JP2008792A
Other languages
Japanese (ja)
Inventor
Masahiro Ogino
昌宏 荻野
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 JP2008792A priority Critical patent/JPH03211638A/en
Publication of JPH03211638A publication Critical patent/JPH03211638A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the capacity of an external storage device by providing the correspondence allocation table of a program area and compressing the backup file of a program on a main storage device so as to provided it on the external storage device. CONSTITUTION:The main storage device 1 is provided with the correspondence allocation table (TBL) 11 of the program area 12 and the program area on the backup file 21 in a hard disk 2. The leading address and the tailing address of the areas in using programs A and B in the program area 12, and the leading addresses of program areas A' and B' in the backup file 21 are correspondingly allocated to TBL 11 and are controlled. When the tailing address of the area of the using program A and the leading address of the area in the using program B are allowed to correspond to the leading address of the program area B' in the backup file 21, the area of an unused program (a) is not allocated to the backup file 21. Thus, the capacity of the hard disk can be reduced.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は電子交換システムにおけるプログラムバ・ツク
アップファイルの圧縮方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a compression method for program backup files in an electronic exchange system.

〔従来の技術〕[Conventional technology]

従来の電子交換システムでは、ハードディスクは主記憶
装置上のプログラムと1対1に対応するバックアップフ
ァイルを持っていた。
In conventional electronic exchange systems, the hard disk has a backup file that corresponds one-to-one with the program on the main storage device.

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

一般に主記憶装置には、システムの拡張性を考えて処理
が走らない未使用エリアが確保されているが、上述した
従来の電子交換システムでは第5図の割付イメージを示
す図のように、主記憶装置4上のプログラムとハードデ
ィスク5上のバックアップファイルが1対1対応となっ
ているので、ハードディスク5上にもこの未使用プログ
ラムaのエリアが有り、バックアップファイルが大きく
なるという欠点がある。また、バックアップファイルは
通常複数を必要とするため、比較的大容量のハードディ
スクが必要となるという欠点がある。
Generally, an unused area is reserved in the main memory where processing does not run in consideration of system expandability, but in the conventional electronic switching system described above, the main memory is Since there is a one-to-one correspondence between the program on the storage device 4 and the backup file on the hard disk 5, there is also an area on the hard disk 5 for this unused program a, which has the disadvantage that the backup file becomes large. Furthermore, since multiple backup files are usually required, there is a drawback that a relatively large capacity hard disk is required.

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

本発明のプログラムバックアップファイルの圧縮方式は
、主記憶装置と外部記憶装置と中央処理装置を含んでな
る電子交換システムにおいて、前記主記憶装置はそのプ
ログラムエリアと前記外部記憶装置上のプログラムエリ
アとの対応割付表を備え、前記中央処理装置は前記主記
憶装置上のプログラムのバックアップファイルを圧縮し
て前記外部記憶装置に格納する圧縮制御手段を備えるこ
とを特徴とする。
The program backup file compression method of the present invention provides an electronic exchange system including a main storage device, an external storage device, and a central processing unit, in which the main storage device has a program area and a program area on the external storage device. The central processing unit includes a correspondence allocation table, and the central processing unit includes compression control means for compressing a backup file of the program on the main storage device and storing it in the external storage device.

〔実施例〕〔Example〕

次に、本発明について第1図〜第4図を参照して説明す
る。
Next, the present invention will be explained with reference to FIGS. 1 to 4.

第1図は本発明の一実施例を示す電子交換システムのブ
ロック図、第2図は第1図における対応割付表の一例を
示す図、第3図、第4図は第1図における中央処理装置
のプログラム読出し手順プログラム書込み手順を示す図
である。
Fig. 1 is a block diagram of an electronic exchange system showing an embodiment of the present invention, Fig. 2 is a diagram showing an example of the correspondence allocation table in Fig. 1, and Figs. 3 and 4 are central processing in Fig. 1. It is a figure which shows the program read-out procedure of a device, and a program write-in procedure.

第1図に示すように本実施例の電子交換システムは、主
記憶装置(以下MM>1と、ハードディスク(以下DK
)2と、中央処理装置(以下CPLl)3を含んで構成
され、MMIはプログラムエリア12と、プログラムエ
リア12とDK2のバックアップファイル21上のプロ
グラムエリアとの対応割付表(以下TBL)11とを備
えている。なおプログラムエリア12には使用中プログ
ラムA、Bと未使用プログラムaとを有し、バックアッ
プファイル21にはプログラムエリアA′B′のみがあ
る。
As shown in FIG. 1, the electronic exchange system of this embodiment has a main memory device (hereinafter referred to as MM
) 2 and a central processing unit (hereinafter referred to as CPLl) 3, the MMI includes a program area 12 and a correspondence layout table (hereinafter referred to as TBL) 11 between the program area 12 and the program areas on the backup file 21 of the DK2. We are prepared. Note that the program area 12 has programs A and B in use and an unused program a, and the backup file 21 has only a program area A'B'.

TBLIIには第2図に示すように、プログラムエリア
12の使用中プログラムAのエリアの先頭アドレス、最
後尾アドレス(共に絶対番地)とバックアップファイル
21のプログラムエリアA′の先頭アドレス(物理アド
レス)が、またプログラムエリア12の使用中プログラ
ムBのエリアの先頭アドレス、最後尾アドレスとバック
アップファイル21のプログラムエリアB′の先頭アド
レスが対応割付けられて管理される。使用中プログラム
Aのエリアの最後尾アドレスと使用中プログラムBのエ
リアの先頭アドレスを共にバックアップファイル21の
プログラムエリアB′の先頭アドレスに対応させれば、
バックアップファイル21には未使用プログラムaのエ
リアは割付けされない。
As shown in Figure 2, TBLII contains the start address and end address (both absolute addresses) of the area of the program A in use in the program area 12, and the start address (physical address) of the program area A' of the backup file 21. , and the start address and end address of the area of the program B in use in the program area 12 and the start address of the program area B' of the backup file 21 are allocated and managed in a corresponding manner. If the last address of the area of the program A in use and the start address of the area of the program B in use are both made to correspond to the start address of the program area B' of the backup file 21,
The area of unused program a is not allocated to the backup file 21.

続いて本実施例におけるCPU3によるプログラム読出
し、プログラム書込み動作について説明する。
Next, program reading and program writing operations by the CPU 3 in this embodiment will be explained.

まず、DK2からMMIへプログラムを読み出すときは
、第3図に示すように、CPU3はMMlの初期設定時
にTBLI 1を作成し、以後MM1へのプログラム読
出し時にはTBLの変更がないため、TBLllを用い
てDK2のバックアップファイル21のプログラムエリ
アA’ 、B’上のプログラムを読み出す。
First, when reading a program from DK2 to MMI, as shown in Figure 3, CPU3 creates TBLI 1 at the initial setting of MMl, and thereafter uses TBLll when reading a program to MM1 since there is no change in TBL. The programs on program areas A' and B' of the backup file 21 of the DK2 are read out.

次に、MMIからDK2へプログラムを書き込むときは
、第4図に示すように、CPU3はMM1上でプログラ
ムエリア12の現在使用中プログラムA、BをTBLI
Iの対応に従ってDK2のバックアップファイル21の
プログラムエリア、A′、B′に書き込む。また、プロ
グラムエリア12の未使用プログラムaはバックアップ
ファイル21上に対応するエリアがないので、TBLl
lを更新して対応するDK2上のエリア(図示していな
い)を確保した後、そこへ書き込む。
Next, when writing a program from the MMI to the DK2, as shown in FIG.
Write to the program areas A' and B' of the backup file 21 of the DK2 according to the correspondence of I. Also, since the unused program a in the program area 12 has no corresponding area on the backup file 21, TBLl
After updating l and securing a corresponding area (not shown) on the DK2, the data is written there.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、主記憶装置上のプログラ
ムエリアと外部記憶装置上のプログラムエリアの対応割
付表を持ち、主記憶装置上のプログラムのバックアップ
ファイルを圧縮して外部記憶装置上に持たせるようにし
たので外部記憶装置を小容量化できる効果を有する。
As explained above, the present invention has a correspondence allocation table between the program area on the main storage device and the program area on the external storage device, compresses the backup file of the program on the main storage device, and stores it on the external storage device. This has the effect of reducing the capacity of the external storage device.

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

第1図は本発明の一実施例を示す電子交換システムのブ
ロック図、第2図は第1図における対応割付表の一例を
示す図、第3図、第4図は第1図における中央処理装置
のプログラム読出し手順。 プログラム書込み手順を示す図、第5図は従来の主記憶
装置とハードディスク間のプログラム割付イメージの一
例を示す図である。 1.4・・・主記憶装置(MM)、2.5・・・ハード
ディスク(DK)、3・・・中央処理装置(CPU)、
11・・・割付対応表(TBL)、12・・・プログラ
ムエリア、 2 1・・・バックアップファイル。
Fig. 1 is a block diagram of an electronic exchange system showing an embodiment of the present invention, Fig. 2 is a diagram showing an example of the correspondence allocation table in Fig. 1, and Figs. 3 and 4 are central processing in Fig. 1. Device program reading procedure. FIG. 5, which is a diagram showing a program writing procedure, is a diagram showing an example of a conventional program allocation image between a main storage device and a hard disk. 1.4... Main memory (MM), 2.5... Hard disk (DK), 3... Central processing unit (CPU),
11... Layout correspondence table (TBL), 12... Program area, 2 1... Backup file.

Claims (1)

【特許請求の範囲】[Claims] 主記憶装置と外部記憶装置と中央処理装置を含んでなる
電子交換システムにおいて、前記主記憶装置はそのプロ
グラムエリアと前記外部記憶装置上のプログラムエリア
との対応割付表を備え、前記中央処理装置は前記主記憶
装置上のプログラムのバックアップファイルを圧縮して
前記外部記憶装置に格納する圧縮制御手段を備えること
を特徴とするプログラムバックアップファイルの圧縮方
式。
In an electronic switching system including a main storage device, an external storage device, and a central processing unit, the main storage device is provided with a correspondence layout table between its program area and the program area on the external storage device, and the central processing unit A compression method for a program backup file, comprising compression control means for compressing a program backup file on the main storage device and storing the compressed program backup file in the external storage device.
JP2008792A 1990-01-17 1990-01-17 Compression system for program backup file Pending JPH03211638A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008792A JPH03211638A (en) 1990-01-17 1990-01-17 Compression system for program backup file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008792A JPH03211638A (en) 1990-01-17 1990-01-17 Compression system for program backup file

Publications (1)

Publication Number Publication Date
JPH03211638A true JPH03211638A (en) 1991-09-17

Family

ID=11702719

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008792A Pending JPH03211638A (en) 1990-01-17 1990-01-17 Compression system for program backup file

Country Status (1)

Country Link
JP (1) JPH03211638A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001249851A (en) * 2000-03-06 2001-09-14 Nec Corp Data backup method and data backup device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001249851A (en) * 2000-03-06 2001-09-14 Nec Corp Data backup method and data backup device

Similar Documents

Publication Publication Date Title
US6823417B2 (en) Memory controller for memory card manages file allocation table
JP4192129B2 (en) Memory management device
US20090070538A1 (en) Storage system and method for acquisition and utilization of snapshots
WO2005050453A1 (en) File recording device
US8185705B2 (en) Information recording medium, information recording medium accessing apparatus and accessing method
US20060047889A1 (en) Memory device and controlling method for nonvolatile memory
JP2005135116A (en) Storage device and access control method thereof
JPH11144478A (en) Information storage method of nonvolatile semiconductor memory and electronic apparatus
JP2000163291A (en) Computer system and method for preparing computer- readable medium
JPH03211638A (en) Compression system for program backup file
JPH08101783A (en) File system
JP2001325134A (en) Directory setting method and recorder
JP2005301885A (en) Access method to data recording medium, information processor, and access program to data storage medium
US20040213070A1 (en) Method of recording and reproducing information
JP2003122630A (en) Memory controller, flash memory system having memory controller, and method for controlling flash memory
JPS61188647A (en) Ram disk device
JPH0337748A (en) External storage accessing system utilizing main storage
KR20020020104A (en) Memory card having the increased input/output speed
JP2961781B2 (en) Data processing device
JP2002055862A (en) Computer system
JP2002007204A (en) Device and method for information processing
JP4028679B2 (en) Volatile external storage device
JP2006065505A (en) Memory card and reproducing apparatus
JP2001325127A (en) Access method and recording or reproducing device
JP3048199B2 (en) IC memory card