JPH0667948A - File selection method for reading/writing file recorded in storage device of computer at high speed and method for automatically preparing backup for updated or newly generated file - Google Patents

File selection method for reading/writing file recorded in storage device of computer at high speed and method for automatically preparing backup for updated or newly generated file

Info

Publication number
JPH0667948A
JPH0667948A JP4260484A JP26048492A JPH0667948A JP H0667948 A JPH0667948 A JP H0667948A JP 4260484 A JP4260484 A JP 4260484A JP 26048492 A JP26048492 A JP 26048492A JP H0667948 A JPH0667948 A JP H0667948A
Authority
JP
Japan
Prior art keywords
file
storage device
updated
computer
high speed
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
JP4260484A
Other languages
Japanese (ja)
Inventor
Katsumi Ouchi
勝美 大内
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to JP4260484A priority Critical patent/JPH0667948A/en
Publication of JPH0667948A publication Critical patent/JPH0667948A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To provide a file selection method for reading/writing a file recorded in a storage device of a computer at high speed and a method for automatically generating the backup of the file which is updated or newly prepared. CONSTITUTION:The method for selecting and transferring the file recorded in the storage device of the computer and for automatically generating the backup of the file which is updated or newly prepared is computer-programmed by a series of the procedures of (1) to (4) as follows. (1) The computer file on a low-speed storage device is selected and it is transferred to a high-speed storage device. (2) Reading/writing data from/into the file on the high-speed storage device is executed. (3) The backup of the file which is updated or newly prepared among the files on the high-speed storage device is prepared. (4) The file which is updated or newly generated among the files on the high-speed storage device is retransferred to the low-speed storage device.

Description

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

【0001】[0001]

【産業上の利用分野】この発明はコンピュータの記憶装
置に記録されたファイルを高速で読み書きするためのフ
ァイルの選択方法及び、更新されまたは新規作成された
ファイルのバックアップを自動的に作成する方法に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of selecting a file for reading and writing a file recorded in a storage device of a computer at high speed, and a method of automatically creating a backup of an updated or newly created file. It is a thing.

【0002】[0002]

【従来の技術】あるコンピュータが、読み書きの速度が
比較的高速な記憶装置(以下、高速装置と呼ぶ)と読み
書きの速度が比較的低速な記憶装置(以下、低速装置と
呼ぶ)の両者を備えている場合に低速装置上にあるファ
イルを直接読み書きするよりは一旦そのファイルを高速
装置に転送した後に、改めて高速装置上のファイルに対
して読み書きを行った方が読み書きのための所要時間を
全体として短縮できることが多い。この特質(以下、特
質1と呼ぶ)を利用するためには、 1.低速装置上のどのファイルを読み書きの対象とする
かの選択を行う。 2.選択されたファイルを高速装置に転送する。 3.選択されたファイルがもしデータファイルであるな
らば、別にデータファイル処理のためのプログラム(以
下、プログラム2と呼ぶ)を内部メモリーにロードして
起動し高速装置上のデータファイルの読み書きを行わせ
る。 4.選択されたファイルがもしプログラムファイルであ
るならば、そのプログラムファイルを高速装置から内部
メモリーにロードして起動する。 5.高速装置に転送されたファイルのうち上記3の操作
により更新されまたは新規作成されたものがあればその
ファイルを低速装置に転送(以下、再転送と呼ぶ)する
ことによって低速装置上のファイルに更新または新規作
成の結果を反映させる。 以上の一連の操作を行う必要がある。従来の技術ではこ
れらの操作を個別にコンピュータのオペレーションシス
テム(以下、OSと呼ぶ)のコマンドを使って行なって
いた。
2. Description of the Related Art A computer has both a storage device having a relatively high read / write speed (hereinafter referred to as a high speed device) and a storage device having a relatively low read / write speed (hereinafter referred to as a low speed device). In this case, rather than directly reading and writing the file on the low-speed device, it is better to transfer the file to the high-speed device once and then read and write the file on the high-speed device again for the entire time required for reading and writing. Can often be shortened as To use this characteristic (hereinafter referred to as characteristic 1), 1. Select which file on the low-speed device is to be read or written. 2. Transfer selected files to the high speed device. 3. If the selected file is a data file, another program for processing the data file (hereinafter referred to as program 2) is loaded into the internal memory and activated to read / write the data file on the high speed device. 4. If the selected file is a program file, the program file is loaded from the high speed device into internal memory and activated. 5. If any of the files transferred to the high speed device is updated or newly created by the above operation 3, the file is transferred to the low speed device (hereinafter referred to as "retransfer") to update the file on the low speed device. Or reflect the result of new creation. It is necessary to perform the above series of operations. In the conventional technique, these operations are individually performed by using commands of a computer operating system (hereinafter referred to as OS).

【0003】[0003]

【発明が解決しようとする課題】これには次のような欠
点があった。 A.OSのコマンドの使い方を知らないと特質1を利用
できなかった。 B.どのファイルを選択するか決める(上記1の操作)
ためにはOSのコマンドでファイル名一覧を表示させ目
的のファイル名を目視して捜さなければならなかった。 C.ファイルを高速装置へ転送する(上記2の操作)に
はOSのコピーコマンドに対して転送するファイルの名
前をいちいちタイプインしなければならなかった。 D.ファイルの更新または新規作成の内容を低速装置に
反映させる(上記5の操作)に際して、どのファイルが
更新されているかを操作者が目視して判断する必要があ
った。 E.特質1を利用する都度、上記1〜5の操作を漏れな
く繰り返さなければならなかった。 F.特に、上記5の操作を忘れると更新内容または新規
作成内容が失われてしまうため、特質1の利便性を安心
して利用することができなかった。 G.上記2及び5については、OSのコマンド操作で記
憶装置上の複数ファイルを一括転送することにより上記
B、C、Dの操作を簡便にする方法も考えられるが、そ
うすると転送の必要がないファイルまで転送されて転送
時間が余計にかかってしまい、読み書きのための所要時
間短縮という特質1の利点が減殺される結果となってい
た。
However, this has the following drawbacks. A. If you don't know how to use OS commands, you cannot use attribute 1. B. Decide which file to select (operation 1 above)
In order to do this, it was necessary to display a list of file names with an OS command and visually search for the desired file name. C. In order to transfer a file to a high-speed device (operation 2), the name of the file to be transferred had to be typed in for each copy command of the OS. D. When the contents of file update or new creation are reflected in the low-speed device (operation 5), it is necessary for the operator to visually judge which file has been updated. E. Each time the characteristic 1 was used, the above operations 1 to 5 had to be repeated without omission. F. In particular, if the operation of the above 5 is forgotten, the updated content or the newly created content will be lost, so that the convenience of characteristic 1 cannot be used with confidence. G. Regarding the above 2 and 5, a method of simplifying the operations of B, C, and D by collectively transferring a plurality of files on the storage device by operating the command of the OS is conceivable. As a result, the transfer takes an extra transfer time, and the advantage of the characteristic 1 that the time required for reading and writing is shortened is diminished.

【0004】[0004]

【課題を解決するための手段】上記1〜5の一連の操作
を漏れなく確実に実行するため、その操作の手続きをコ
ンピュータのプログラム(以下、プログラム1と呼ぶ)
に結実させることにより特質1の利用方法として確立し
た。なお、上記1〜5の一連の操作を行うについては、
記憶装置に対する書き込み頻度の増大に伴い、ファイル
破壊の発生率も増大すると考えられるので、その対策と
してファイルのバックアップ自動作成機能をプログラム
1に組み込んだ。この一連の操作のコンピュータプログ
ラム化と自動バツクアップ機能の組み込みにより、特質
1利用時のデータ保護の要請に応えることができ、また
システムの安定した作動の確保に成功した。
In order to surely execute the above-mentioned series of operations 1 to 5 without omission, the procedure of the operation is a computer program (hereinafter referred to as program 1).
It was established as a method of using attribute 1 by fruiting on. Regarding the series of operations 1 to 5 above,
Since it is considered that the occurrence rate of file destruction will increase as the frequency of writing to the storage device increases, the program 1 has a file backup automatic creation function as a countermeasure. By incorporating this series of operations into a computer program and incorporating an automatic backup function, we were able to meet the demand for data protection when using Feature 1 and succeeded in ensuring stable operation of the system.

【0005】[0005]

【作用】プログラム1をコンピュータの記憶装置に置い
て起動可能な状態にした上でOSの入力要求に対してプ
ログラム1の起動操作を行う。以下、プログラム1の側
からの入力要求に応じて転送したいファイルのファイル
名をカーソルで選択するだけで上記1〜5の一連の操作
が自動実行され、かつファイルのバックアップが自動作
成される。
The program 1 is placed in the storage device of the computer so that it can be activated, and then the program 1 is activated in response to an input request from the OS. Thereafter, the series of operations 1 to 5 described above is automatically executed and a file backup is automatically created by simply selecting the file name of the file to be transferred with the cursor in response to the input request from the program 1 side.

【0006】[0006]

【実施例】以上に述べたプログラム1のアルゴリズムは
下記の通りである。 コンピュータの内部タイマーからプログラム開始時の
日付・時刻を取得する。 低速装置から低速装置上のファイル名一覧を取得す
る。 操作者に対してファイルを個別に選択するか否かを問
う。 上記の質問の答えがYESならば低速装置上のファ
イル名一覧を画面表示して、どのファイルを選択するか
を操作者に選ばせる。選択は画面上でカーソルを動かし
てファイル名を指示することによって簡便に行えるよう
にする。 上記の状態でSTOPキーが押されたならば、プロ
グラムの実行を中止してプログラム1を終了する。 上記の状態でSPACEキーが押されたならば、フ
ァイル選択を終了してプログラム2を実行する。 上記、が押されることなくカーソルでファイル名
が指示されると直ちに指示されたファイルを高速装置に
転送し、画面上の転送済みファイル名に転送済みの旨表
示した後、再びのファイル選択に戻る。 上記の答えがNOならば低速装置上のファイル名一
覧を画面表示して低速装置ファイル名一覧に列挙された
ファイルを全て高速装置ヘ転送する。 上記において、各ファイルを転送する毎に転送済み
の旨を画面表示する。 ▲10▼上記において全ファイル転送済みとなった場
合、または上記においてSPACEキーが押された場
合にはプログラム2を実行する。 ▲11▼プログラム2の実行後、高速装置から高速装置
上のファイル名一覧及びファイル作成日付・時刻一覧を
取得する。 ▲12▼高速装置上の全ファイルについて各々プログラ
ム開始日付・時刻よりもファイル作成日付・時刻が新し
いかどうか検査し,ファイル作成日付・時刻の方が新し
いファイルについてバックアップを作成する。 ▲13▼高速装置上の全ファイルについて各々プログラ
ム開始日付・時刻よりもファイル作成日付・時刻が新し
いかどうか検査し,ファイル作成日付・時刻の方が新し
いファイルについて低速装置へ再転送する。 ▲14▼操作者に対し高速装置上の全ファイルを消去し
て良いかどうかを問う。 ▲15▼上記▲14▼の質問の答えがYESならば高速
装置上の全ファイルを消去してプログラム1を終了す
る。 ▲16▼上記▲14▼の質問の答えがNOならば高速装
置上のファイルを消去することなくプログラム1を終了
する。 以上、〜▲16▼のアルゴリズムにもとづいてコンピ
ュータプログラムを作成すれば、それがどのようなコン
ピュータ言語で記述されようとも、以下(1)〜(3)
の形態で特質1の利用が可能である。 (1)独立したソフトウエアとしての利用。 (2)他のソフトウエアに組み込んで、そのソフトウエ
アの機能を強化するための利用。 (3)〜▲16▼のアルゴリズムの内、ファイルバッ
クアップの機能を省いた簡易な利用。
EXAMPLE The algorithm of Program 1 described above is as follows. Get the date and time when the program starts from the internal timer of the computer. Obtain a list of file names on the low speed device from the low speed device. Ask the operator whether to select files individually. If the answer to the above question is YES, the file name list on the low-speed device is displayed on the screen, and the operator is allowed to select which file to select. The selection can be easily done by moving the cursor on the screen and pointing to the file name. If the STOP key is pressed in the above state, the execution of the program is stopped and the program 1 is terminated. If the SPACE key is pressed in the above state, the file selection is ended and the program 2 is executed. As soon as the file name is specified with the cursor without pressing the above, the specified file is transferred to the high-speed device, the transferred file name is displayed on the screen indicating that the file has been transferred, and then the file selection is returned to again. . If the answer is NO, the file name list on the low speed device is displayed on the screen and all the files listed in the low speed device file name list are transferred to the high speed device. In the above, each time a file is transferred, the fact that the file has been transferred is displayed on the screen. (10) If all files have been transferred in the above, or if the SPACE key is pressed in the above, program 2 is executed. (11) After the program 2 is executed, a file name list and a file creation date / time list on the high speed device are acquired from the high speed device. (12) For all files on the high-speed device, check whether the file creation date / time is newer than the program start date / time, and make a backup of the files with newer file creation date / time. (13) For all files on the high-speed device, check whether the file creation date / time is newer than the program start date / time, and retransfer the file with newer file creation date / time to the low-speed device. (14) Ask the operator if all files on the high speed device can be deleted. (15) If the answer to the question of (14) above is YES, all files on the high speed device are erased and the program 1 is terminated. (16) If the answer to the question of (14) is NO, the program 1 is terminated without erasing the file on the high speed device. As described above, if a computer program is created based on the algorithm of (16), no matter what computer language it is written in, the following (1) to (3)
The feature 1 can be used in the form of. (1) Use as independent software. (2) Incorporation into other software to use it to enhance the functionality of that software. Simple use of the algorithms (3) to (16) without the file backup function.

【0007】[0007]

【発明の効果】【The invention's effect】

A′.OSのコマンドの使い方を知らない多くの人々が
特質1を利用したファイルの高速読み書きを手軽に実行
できるようになった。 B′.どのファイルを選択するか決める(上記1の操
作)ためにはプログラム1が画面表示したファイル名一
覧の中から目的のファイル名をカーソルで指示するだけ
で良くなった。 C′.ファイルを高速装置へ転送する処理(上記2の操
作)はB′での指示に応じてプログラム1が自動実行す
るのでファイル名をタイプインする手間は不要になっ
た。 D′.ファイルの更新または新規作成を低速装置に反映
させる(上記5の操作)に際してはプログラム1がファ
イルの作成日付・時刻を調べて低速装置に再転送する必
要があるかどうかを判断し必要なファイルだけを再転送
するので、操作者が目視して判断する必要はなくなっ
た。 E′.個々の操作はプログラム1が実行するため人間が
操作するよりも短時間で操作できるようになり、また利
用者は個々の操作に煩わされる必要がなくなった。 F′.上記1〜5の操作はコンピュータプログラムで実
行するため操作に漏れが出る心配はなくなり、操作漏れ
に起因して更新内容または新規作成内容が失われる等の
危険も回避された。 G′.上記2及び5並びにバックアップの自動作成につ
いては、プログラム1が更新され、または新規作成され
たファイルだけを選んで実行するので、読み書きのため
の所要時間短縮という特質1の利点を生かすことができ
るようになった。
A '. Many people who do not know how to use OS commands can now easily perform high-speed reading and writing of files using attribute 1. B '. In order to decide which file to select (operation 1), it suffices to point the target file name with the cursor from the file name list displayed by the program 1. C '. The process of transferring the file to the high-speed device (operation 2) is automatically executed by the program 1 in response to the instruction at B ', so that the trouble of typing in the file name becomes unnecessary. D '. When updating or newly creating a file is reflected in the low-speed device (operation 5 above), program 1 checks the file creation date / time to determine whether it needs to be retransferred to the low-speed device, and only the necessary files Since it is retransmitted, it is not necessary for the operator to visually judge. E '. Since each operation is executed by the program 1, the operation can be performed in a shorter time than a human operation, and the user does not need to be bothered by each operation. F '. Since the above-mentioned operations 1 to 5 are executed by the computer program, there is no fear that the operation will be leaked, and the risk that the updated content or the newly created content is lost due to the operation leakage is avoided. G '. Regarding the above 2 and 5 and automatic creation of backup, since the program 1 selects and executes only the file that has been updated or newly created, it is possible to take advantage of the characteristic 1 of shortening the time required for reading and writing. Became.

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

【図1】 本発明のアルゴリズムを表した流れ図のう
ち、ファイルの選択と転送、及びプログラム2の起動に
関する部分である。
FIG. 1 is a part relating to file selection and transfer and program 2 startup in a flow chart showing an algorithm of the present invention.

【図2】 本発明のアルゴリズムを表した流れ図のう
ち、更新ファイルの再転送とバックアップ作成に関する
部分である。
FIG. 2 is a part relating to retransfer of update files and backup creation in the flowchart showing the algorithm of the present invention.

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

1 高速装置上のファイルのファイル一覧に列挙された
各ファイルについて順次、プログラム開始日付とファイ
ル作成日付の先後を検査する部分である。 2 上記に同じ。
1 This is a part for sequentially inspecting the beginning and end of the program start date and the file creation date for each file listed in the file list of files on the high-speed device. 2 Same as above.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】以下、イ〜ニの一連の手続きによってコン
ピュータの記憶装置に記録されたファイルの選択及び転
送を行い、かつ更新されまたは新規作成されたファイル
のバックアップを自動的に作成する方法のコンピュータ
プログラム化。 イ.低速装置上のコンピュータファイルの選択及び高速
装置への転送。 ロ.高速装置上のファイルに対する読み書きの実行。 ハ.高速装置上のファイルのうち、更新されまたは新規
作成されたファイルのバックアップ作成。 ニ.高速装置上のファイルのうち、更新されまたは新規
作成されたファイルの低速装置ヘの再転送。
1. A method of automatically selecting a file recorded in a storage device of a computer and transferring the file and automatically creating a backup of an updated or newly created file according to a series of the following procedures. Computer programming. I. Select computer files on slow devices and transfer to high speed devices. B. Read and write to files on high speed devices. C. Create a backup of updated or newly created files on the high speed device. D. Retransfer of updated or newly created files on the high speed device to the low speed device.
JP4260484A 1992-08-17 1992-08-17 File selection method for reading/writing file recorded in storage device of computer at high speed and method for automatically preparing backup for updated or newly generated file Pending JPH0667948A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4260484A JPH0667948A (en) 1992-08-17 1992-08-17 File selection method for reading/writing file recorded in storage device of computer at high speed and method for automatically preparing backup for updated or newly generated file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4260484A JPH0667948A (en) 1992-08-17 1992-08-17 File selection method for reading/writing file recorded in storage device of computer at high speed and method for automatically preparing backup for updated or newly generated file

Publications (1)

Publication Number Publication Date
JPH0667948A true JPH0667948A (en) 1994-03-11

Family

ID=17348606

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4260484A Pending JPH0667948A (en) 1992-08-17 1992-08-17 File selection method for reading/writing file recorded in storage device of computer at high speed and method for automatically preparing backup for updated or newly generated file

Country Status (1)

Country Link
JP (1) JPH0667948A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990070725A (en) * 1998-02-24 1999-09-15 김영환 How to Update the Software Process Function of the Home Location Register

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990070725A (en) * 1998-02-24 1999-09-15 김영환 How to Update the Software Process Function of the Home Location Register

Similar Documents

Publication Publication Date Title
US7251808B2 (en) Graphical debugger with loadmap display manager and custom record display manager displaying user selected customized records from bound program objects
US5230075A (en) Database shadowing system with data tags that select an operation of the save command
JP3107309B2 (en) Method and system for processing multiple data blocks
JP2776907B2 (en) Help information control method and device
JPH0667948A (en) File selection method for reading/writing file recorded in storage device of computer at high speed and method for automatically preparing backup for updated or newly generated file
JPH027096B2 (en)
JPH0675774A (en) CAD processing method and apparatus
JPH05134910A (en) File management method and system
JPH03141441A (en) Information processor
JPH039426A (en) Software development environment storing system
JPH0863205A (en) Programmable controller
JPH0553833A (en) Program activating method
JPH0620185Y2 (en) Small electronic devices
JP3170795B2 (en) File group processing device
JP3300156B2 (en) Recovery method in case of CAD system failure
JP2005227983A (en) Information storage device
JPH01240943A (en) Data content recovery system
JPS6237411B2 (en)
JP2545582Y2 (en) Data processing device
JP2001109550A (en) Information processing method and apparatus
JPH01113856A (en) Document production/editing device
JPH01304529A (en) Display control system for execution of catalog
JPH05241753A (en) Window display processing method and apparatus
JPS62281032A (en) Program start up system
JPH0635782A (en) Information processing system