JPH04314145A - Source unit restoring system - Google Patents
Source unit restoring systemInfo
- Publication number
- JPH04314145A JPH04314145A JP3079438A JP7943891A JPH04314145A JP H04314145 A JPH04314145 A JP H04314145A JP 3079438 A JP3079438 A JP 3079438A JP 7943891 A JP7943891 A JP 7943891A JP H04314145 A JPH04314145 A JP H04314145A
- Authority
- JP
- Japan
- Prior art keywords
- source unit
- deletion
- information
- restoration
- recovery
- 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
Links
- 238000012217 deletion Methods 0.000 claims abstract description 36
- 230000037430 deletion Effects 0.000 claims abstract description 36
- 238000011084 recovery Methods 0.000 claims description 30
- 238000000034 method Methods 0.000 claims description 9
- 230000000694 effects Effects 0.000 abstract description 3
- RKWPMPQERYDCTB-UHFFFAOYSA-N ethyl n-[4-[benzyl(2-phenylethyl)amino]-2-(4-nitrophenyl)-1h-imidazo[4,5-c]pyridin-6-yl]carbamate Chemical compound N=1C(NC(=O)OCC)=CC=2NC(C=3C=CC(=CC=3)[N+]([O-])=O)=NC=2C=1N(CC=1C=CC=CC=1)CCC1=CC=CC=C1 RKWPMPQERYDCTB-UHFFFAOYSA-N 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 5
- PVCRZXZVBSCCHH-UHFFFAOYSA-N ethyl n-[4-[benzyl(2-phenylethyl)amino]-2-(4-phenoxyphenyl)-1h-imidazo[4,5-c]pyridin-6-yl]carbamate Chemical compound N=1C(NC(=O)OCC)=CC=2NC(C=3C=CC(OC=4C=CC=CC=4)=CC=3)=NC=2C=1N(CC=1C=CC=CC=1)CCC1=CC=CC=C1 PVCRZXZVBSCCHH-UHFFFAOYSA-N 0.000 description 1
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Stored Programmes (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】本発明は、計算機システムにおい
て使用されるライブラリ上の削除されたソースユニット
を復旧するソースユニット復旧方式に関するものである
。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a source unit recovery method for recovering deleted source units on a library used in a computer system.
【0002】0002
【従来の技術】計算機システムが導入されている企業に
於いて毎年数百本の各種プログラムが開発されており、
そのほとんどが外部補助記憶装置上のソースユニットラ
イブラリ上に作成される。ソースユニットライブラリ上
にプログラムを作成したり、修正したり、削除したりす
る場合は、テキストエディタやサービスプログラムなど
を使用する。ソースユニットの削除は様々な理由で行う
が、その際本来削除してはならないソースユニットを誤
って削除してしまうケースがある。[Prior Art] Hundreds of various programs are developed every year in companies that have introduced computer systems.
Most of them are created on a source unit library on an external auxiliary storage device. When creating, modifying, or deleting programs on the source unit library, use a text editor, service program, etc. Source units are deleted for various reasons, but there are cases where source units that should not be deleted are accidentally deleted.
【0003】従来、この種のソースユニットの復旧は、
バックアップが取られている場合はそのバックアップか
ら復旧し、バックアップがない場合は人手により最初か
ら再入力しなければならない。[0003] Conventionally, this type of source unit recovery has been carried out by
If a backup has been taken, it must be restored from that backup, and if there is no backup, it must be manually re-entered from the beginning.
【0004】0004
【発明が解決しようとする課題】上述したように従来の
ソースユニット復旧方式では、利用者が誤ってソースユ
ニットを削除した場合には、バックアップがとられてい
れば何とか復旧できたが、バックアップが無い場合は人
手による復旧しか方法がなく、その作業は非常な苦痛を
伴う作業である。[Problem to be Solved by the Invention] As mentioned above, in the conventional source unit recovery method, if a user accidentally deletes a source unit, it can be recovered if a backup has been taken, but if the backup is If it is not available, the only option is to restore it manually, which is extremely painful work.
【0005】本発明の目的は、一旦削除してしまったソ
ースユニットであっても、そのソースユニットが格納さ
れていたライブラリ上の領域が再利用されていない限り
、利用者がソースユニット名のみを与えて復旧を指示す
れば、自動的にソースユニットを復旧させることにある
。An object of the present invention is that even if a source unit has been deleted, the user can only use the name of the source unit as long as the area in the library where the source unit was stored is not reused. If you give a command to restore the source unit, it will automatically restore the source unit.
【0006】[0006]
【課題を解決するための手段】本発明のソースユニット
復旧方式は、利用者からのソースユニット削除要求を受
け取り削除を行ったときにそのソースユニットの削除さ
れる前のライブラリ上の情報を登録する削除情報登録手
段と、削除されたソースユニットの復旧要求を受け付け
る復旧要求受け付け手段と、復旧が可能な場合に復旧を
行う復旧手段とを有する。[Means for Solving the Problems] The source unit recovery method of the present invention registers information on the library before deletion of the source unit when a source unit deletion request is received from a user and deletion is performed. It has a deletion information registering means, a restoration request receiving means for accepting a restoration request for a deleted source unit, and a restoring means for performing restoration when restoration is possible.
【0007】[0007]
【実施例】以下、本発明の実施例について図面を参照し
て詳細に説明する。Embodiments Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
【0008】図1は本発明によるソースユニットの復旧
方式の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of a source unit recovery method according to the present invention.
【0009】図1を参照すると、本実施例は削除要求手
段1、ソースユニット削除/復旧部2、削除情報登録手
段3、復旧要求受け付け手段4、復旧手段5、入力/表
示装置6、およびソースユニットライブラリ7で構成さ
れている。Referring to FIG. 1, this embodiment includes a deletion requesting means 1, a source unit deletion/recovery section 2, a deletion information registration means 3, a restoration request receiving means 4, a restoration means 5, an input/display device 6, and a source unit deletion/recovery section 2. It consists of 7 unit libraries.
【0010】ソースユニット削除/復旧部2のうちの削
除情報登録手段3は、テキストエディタやサービスプロ
グラムなどからの削除要求を削除要求手段1から受け付
けると、削除するソースユニットのディレクトリ情報を
ソースユニットライブラリ7の削除情報ソースユニット
に登録する。When the deletion information registration means 3 of the source unit deletion/recovery section 2 receives a deletion request from a text editor, a service program, etc. from the deletion request means 1, the deletion information registration means 3 stores the directory information of the source unit to be deleted in the source unit library. 7 in the deletion information source unit.
【0011】その後、利用者が誤ってソースユニットを
削除したことに気がつき、入力/表示装置6からソース
ユニットの復旧を指示することにより、復旧要求受け付
け手段4がその復旧要求を受け付けて、復旧可能かどう
かの判断を行い、復旧可能であれば復旧手段5に制御を
渡しソースユニットの復旧を行う。もし復旧の指示があ
ったソースユニットの復旧が不可能であれば、復旧でき
ないことを利用者に入力/表示装置6をとおして通知す
る。[0011] Thereafter, when the user realizes that the source unit has been deleted by mistake and instructs the recovery of the source unit from the input/display device 6, the recovery request receiving means 4 accepts the recovery request and the recovery is possible. If it is possible to recover, control is passed to the recovery means 5 to recover the source unit. If the source unit for which restoration has been instructed cannot be restored, the user is notified through the input/display device 6 that the source unit cannot be restored.
【0012】図2はソースユニットライブラリ7の構造
を示し、ディレクトリ部とデータ部9とに分けられる。
ディレクトリ部8には、ソースユニットの名前や実際の
データが格納されているデータ部のブロック開始アドレ
スやブロック終了アドレスなどが格納されている。FIG. 2 shows the structure of the source unit library 7, which is divided into a directory section and a data section 9. The directory section 8 stores the name of the source unit and the block start address and block end address of the data section in which actual data is stored.
【0013】データ部9は、ブロックごとに管理され1
ブロックには同一ソースユニットのデータのみが格納さ
れており、1ブロックでは格納しきれない場合には、別
のブロックが使用されそのブロック間はポインタで結ば
れている。ある1つのソースユニットで使用する複数の
ブロックはブロックの再使用のため必ずしも連続はして
いない。The data section 9 is managed block by block.
Only data of the same source unit is stored in a block, and if the data cannot be stored in one block, another block is used and the blocks are connected by pointers. A plurality of blocks used in one source unit are not necessarily consecutive because blocks are reused.
【0014】図3はディレクトリの1エントリの構成(
ディレクトリ情報10)を示す。ディレクトリ情報10
は、ソースユニット名、ソースユニットライブラリで一
意なソースユニットID(識別子)、データブロック開
始アドレス、データブロック終了アドレス、リビジョン
番号、その他の情報から構成されている。FIG. 3 shows the structure of one directory entry (
Directory information 10) is shown. Directory information 10
is composed of a source unit name, a source unit ID (identifier) unique in the source unit library, a data block start address, a data block end address, a revision number, and other information.
【0015】図4は削除情報ソースユニットのデータ部
をの構造(削除情報11)の構成を示す。削除情報11
は削除を行った日付/時間とディレクトリ情報の全部で
構成されている。FIG. 4 shows the structure of the data section (deletion information 11) of the deletion information source unit. Deletion information 11
consists of the date/time of deletion and all directory information.
【0016】図5は削除情報登録手段3の流れ図を示す
。図5において、まず、テキストエディタやサービスプ
ログラムなどからのソースユニット削除要求を受け付け
たとき、削除要求があったソースユニットのディレクト
リ情報を読み込む(ステップ51)。その後、現在の日
付/時間をシステムから得る(ステップ52)。前記日
付/時間にディレクトリ情報を付加して、これを1つの
データとしてソースユニットライブラリ上の削除情報ソ
ースユニットに追加登録する。FIG. 5 shows a flowchart of the deletion information registration means 3. In FIG. 5, first, when a source unit deletion request is received from a text editor, a service program, etc., the directory information of the source unit requested to be deleted is read (step 51). The current date/time is then obtained from the system (step 52). Directory information is added to the date/time, and this is additionally registered as one data in the deletion information source unit on the source unit library.
【0017】図6は復旧要求手段4の流れ図を示す。図
6において、まず、入力/表示装置から復旧の要求を受
け付けて(ステップ61)、指定されたソースユニット
名がライブラリの中の削除情報ソースユニット内に同一
のソースユニット名の情報が格納されているかを検索す
る(ステップ62)。FIG. 6 shows a flowchart of the recovery requesting means 4. In FIG. 6, first, a restoration request is accepted from the input/display device (step 61), and information with the same source unit name is stored in the deletion information source unit in the library with the specified source unit name. A search is made to see if there is a person there (step 62).
【0018】存在しなければ復旧対象のソースユニット
情報が存在しない旨のメッセージを表示し(ステップ6
3)当手段は終了する。存在すれば、そのソースユニッ
トの削除情報からデータブロック開始アドレスを得て(
ステップ65)、該当のデータブロックを得る(ステッ
プ66)。If the source unit information does not exist, a message indicating that the source unit information to be restored does not exist is displayed (step 6).
3) This means ends. If it exists, obtain the data block start address from the deletion information of the source unit (
Step 65) and obtain the corresponding data block (Step 66).
【0019】データブロック内のソースユニットID(
識別子)を得て、主記憶上のSUIDフィールドへ格納
する(ステップ67)。データブロック終了アドレスと
現在読み込まれているブロックのアドレスとを比較し(
ステップ68)、等しければ当手段を終了し、復旧手段
へ制御を渡す。等しくなければ、データブロックの次へ
のポインタから次のデータブロックを得る(ステップ6
9)。Source unit ID in data block (
identifier) and stores it in the SUID field on the main memory (step 67). Compare the end address of the data block and the address of the block currently being read (
Step 68), if they are equal, this means is terminated and control is passed to the recovery means. If they are not equal, get the next data block from the pointer to the next data block (step 6).
9).
【0020】データブロック内のソースユニットIDと
主記憶に退避したSUIDとの比較を行い(ステップ7
0)、等しければステップ68の処理へブランチし処理
を続ける。等しくなければ、ソースユニットは既に復旧
できない状況にある旨のメッセージを表示して当手段は
終了する。The source unit ID in the data block is compared with the SUID saved in the main memory (step 7).
0), if they are equal, the process branches to step 68 and the process continues. If they are not equal, a message indicating that the source unit is already in an unrecoverable state is displayed and the procedure ends.
【0021】図7は、復旧手段5の流れ図を示す。図7
において、まず、ディレクトリに削除情報11のデータ
を登録する(ステップ71)。削除情報ソースユニット
内の、該当ソースユニットに関するデータを削除する(
ステップ72)。その後、当手段は終了する。FIG. 7 shows a flowchart of the restoration means 5. Figure 7
First, data of deletion information 11 is registered in the directory (step 71). Deletion information Delete the data related to the corresponding source unit in the source unit (
Step 72). After that, this means ends.
【0022】[0022]
【発明の効果】以上説明したように、本発明には利用者
が誤って削除したソースユニットを、バックアップから
の復旧や、バックアップがない場合の人手による復旧を
行うことなしに自動的に復旧できるという効果がある。[Effects of the Invention] As explained above, the present invention enables automatic recovery of a source unit accidentally deleted by a user without the need for recovery from a backup or manual recovery if there is no backup. There is an effect.
【図1】本発明のソースユニット復旧方式の一実施例を
示すブロック図FIG. 1 is a block diagram showing an embodiment of the source unit recovery method of the present invention.
【図2】ソースユニットライブラリの構造を示す図[Figure 2] Diagram showing the structure of the source unit library
【図
3】ディレクトリ情報の構造を示す図[Figure 3] Diagram showing the structure of directory information
【図4】削除情報
の構造を示す図[Figure 4] Diagram showing the structure of deletion information
【図5】情報登録手段の流れ図[Figure 5] Flowchart of information registration means
【図6】復旧要求受け付け手段の流れ図[Figure 6] Flowchart of recovery request acceptance means
【図7】復旧手
段の流れ図[Figure 7] Flowchart of recovery measures
【符号の説明】
1 削除要求手段
2 ソースユニット削除/復旧部3 削除
情報登録手段
4 復旧要求受け付け手段
5 復旧手段
6 入力/表示装置
7 ソースユニットライブラリ
8 ディレクトリ部
9 データ部
10 ディレクトリ情報
11 削除情報[Explanation of symbols] 1 Deletion request means 2 Source unit deletion/recovery section 3 Deletion information registration means 4 Recovery request acceptance means 5 Recovery means 6 Input/display device 7 Source unit library 8 Directory section 9 Data section 10 Directory information 11 Deletion information
Claims (1)
を受け取り削除を行ったときにそのソースユニットの削
除される前のライブラリ上の情報を登録する削除情報登
録手段と、削除されたソースユニットの復旧要求を受け
付ける復旧要求受け付け手段と、復旧が可能な場合に復
旧を行う復旧手段とを有するソースユニット復旧方式。[Claim 1] Deletion information registration means for registering information on a library before deletion of a source unit when a source unit deletion request is received from a user and deletion is performed, and recovery of the deleted source unit. A source unit recovery method having a recovery request receiving means for accepting a request, and a recovery means for carrying out recovery when recovery is possible.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3079438A JPH04314145A (en) | 1991-04-12 | 1991-04-12 | Source unit restoring system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3079438A JPH04314145A (en) | 1991-04-12 | 1991-04-12 | Source unit restoring system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04314145A true JPH04314145A (en) | 1992-11-05 |
Family
ID=13689886
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3079438A Pending JPH04314145A (en) | 1991-04-12 | 1991-04-12 | Source unit restoring system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04314145A (en) |
-
1991
- 1991-04-12 JP JP3079438A patent/JPH04314145A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS63145552A (en) | Community device for personal computer | |
| JPH04314145A (en) | Source unit restoring system | |
| CN113806309A (en) | Metadata deleting method, system, terminal and storage medium based on distributed lock | |
| JPH027096B2 (en) | ||
| JPH0475544B2 (en) | ||
| JPH08202603A (en) | Document creating apparatus and document file organization method | |
| JPH0399380A (en) | Method for storing collected data | |
| JPH07334397A (en) | Deleted file managing system | |
| JPH0844609A (en) | Data backup method | |
| JPH0520139A (en) | Source unit deleting system | |
| CN117177050B (en) | Virtual machine VPC network configuration snapshot processing method and system | |
| JPH05173863A (en) | Data base recovery control system | |
| JPH04328649A (en) | Method and device for temporarily storing deleted data | |
| JP3145689B2 (en) | Data change history management method | |
| CN119441192A (en) | Method, device, medium and program product for processing data | |
| JPH05250243A (en) | Data processing system for extended storage device | |
| JPH07175641A (en) | Distributed program development integration update managing system | |
| JPH0962554A (en) | Quiescent point save generation system | |
| JPS63124123A (en) | Control system for magnetic disk device | |
| JPH06332824A (en) | Software transfer management apparatus and method | |
| JPH11120058A (en) | File management device, computer system, file managing method, and recording medium | |
| JP2746952B2 (en) | Image processing method | |
| JPH06242976A (en) | System fault recovery processing system | |
| JPH05120232A (en) | Computer device | |
| JP2800253B2 (en) | Timer notification delay method |