JPH02168346A - Information processing device - Google Patents

Information processing device

Info

Publication number
JPH02168346A
JPH02168346A JP63324506A JP32450688A JPH02168346A JP H02168346 A JPH02168346 A JP H02168346A JP 63324506 A JP63324506 A JP 63324506A JP 32450688 A JP32450688 A JP 32450688A JP H02168346 A JPH02168346 A JP H02168346A
Authority
JP
Japan
Prior art keywords
data
identification
storage device
document
identification record
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
JP63324506A
Other languages
Japanese (ja)
Inventor
Shoji Ihara
正二 井原
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP63324506A priority Critical patent/JPH02168346A/en
Publication of JPH02168346A publication Critical patent/JPH02168346A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To safely perform restoring processing by regenerating identification information when the identification information is lost, and copying the data of a first storing means, for instance, in which a fault occurred on a second storing means. CONSTITUTION:A CPU 1 to control a whole device, a keyboard 3 for inputting various kinds of information for operating the device, and the first and the second storage devices 5,6 capable of preserving each data, etc., are provided. In the case where the restoration of an identification record comes to be required no account of the fault, the data and the identification record restored in response to the necessity are copied from the first storage device 5 in which the fault occurred to the normal second storage device 6. Thus, the data with the normal identification record is obtained on the second storage device 6 without changing the stored contents of a faulty medium.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、作成あるいは編集した文書または画像を保存
する機能を有する情報処理装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an information processing apparatus having a function of saving created or edited documents or images.

[従来の技術] 記憶装置に保存した多数のデータ例えば文書のなかから
目的の文書を探し出す方法として、各文書に識別レコー
ドをつけ、その識別レコードの内容から目的の文書を探
し出す方法がある。ここで識別レコードの内容は1文書
名、登録日時、最終更新日時、検索用のキーワード等で
ある。
[Prior Art] As a method of searching for a target document from among a large amount of data such as documents stored in a storage device, there is a method of attaching an identification record to each document and searching for the target document from the contents of the identification record. Here, the contents of the identification record include the name of one document, the date and time of registration, the date and time of last update, and keywords for search.

このような装置では、何らかの障害により識別レコード
の内容が読み取れなくなったとき、そのために文書デー
タ自体の処理ができなくなる事を防ぐ手段が必要となる
。このために、存在する文書データファイルから、それ
に対応する識別レコードが読み取れるか否かをチエツク
し、もし、読取れない場合は、あらかじめ定められた方
法で識別レコードを修復する方法がある。
In such a device, a means is required to prevent the document data itself from being unable to be processed when the contents of the identification record become unreadable due to some kind of failure. For this purpose, there is a method of checking whether the corresponding identification record can be read from the existing document data file, and if it cannot be read, repairing the identification record using a predetermined method.

[発明が解決しようとしている課題] しかしながら、上記従来例による識別レコードの修復方
法では、修復を委するレコードが記入されていた記憶媒
体(障害のあった記憶媒体)と同じ媒体に修復レコード
を書き戻していたため、次のような欠点があった。
[Problems to be Solved by the Invention] However, in the conventional identification record repair method described above, the repair record is written on the same storage medium (faulty storage medium) in which the record to be repaired was written. Because it was reverted, it had the following drawbacks.

(1)修復レコードを記入する必要があるが、障害前に
、記憶媒体に100%近く書き込まれていて十分な空き
スパースがない場合は、修復レコードが記入てきない。
(1) It is necessary to write a repair record, but if the storage medium is nearly 100% written before the failure and there is not enough free space, the repair record will not be written.

(2)記憶媒体の書込み内容に障害が生じ、識別レコー
ドを修復する必要が生じた場合です。
(2) This is the case when an error occurs in the content written to the storage medium and the identification record needs to be repaired.

障害内容を追求する目的等のために、記憶媒体には一切
の書込み処理をほどこさず、障害原因がわかるまでその
ままの形で保存しておきたい事かしばしばある。
In order to investigate the details of a problem, it is often desirable not to perform any write processing on the storage medium, but to store it in its original form until the cause of the problem can be determined.

[課題を解決するための手段(及び作用)]本発明によ
れば、障害により識別レコードの修復が必要となった場
合、データおよび必要に応じて修復された識別レコード
を、障害のあった記憶媒体から、他の正常な記憶媒体に
コピーする。これにより、障害媒体の記録内容を変更す
ることなく、他の記憶媒体上に、正常な識別レコードを
もつデータが得られる。さらに、コピー先が交換可能な
記憶媒体のときは、データおよび識別レコードをコピー
する際に、逐次、コピー先の空きスペースをチエツクす
る事により、高々、一つのデータと識別レコードがコピ
ーできる容量さえあれば、障害があった記憶媒体上のデ
ータおよび識別レコードを(複数枚の)正常な記憶媒体
上に、正しい形式でコピーする事ができる。
[Means for Solving the Problems (and Effects)] According to the present invention, when an identification record needs to be repaired due to a fault, the data and the repaired identification record as necessary are transferred to the faulty memory. Copy from one medium to another good storage medium. As a result, data having a normal identification record can be obtained on another storage medium without changing the recorded contents of the faulty medium. Furthermore, when the copy destination is a replaceable storage medium, when copying data and identification records, the free space of the copy destination is checked sequentially, so that at most one data and identification record can be copied. If so, the data and identification records on the failed storage medium can be copied to the normal storage medium(s) in the correct format.

[実施例] 以下、添付図面に従って本発明に係る実施例を詳細に説
明する。
[Embodiments] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

[文書処理装置の構成の説明(第1図)]第1図は本実
施例における情報処理装置のブロック構成図である。
[Description of the structure of the document processing apparatus (FIG. 1)] FIG. 1 is a block diagram of the structure of the information processing apparatus in this embodiment.

図中、lは本装置全体を制御するCPUである。2はメ
モリであり、CPUIにより実行される文書編集に係る
プログラムと、後述する第3図のフローチャートの処理
手順を格納している。3はキーボードであって、本装置
を動作させるための種々の情報を入力するための入力手
段である。4は文書や処理結果を表示するための表示装
置である。5および6は後述する第2図の各データを保
存する事ができる記憶装置である0本実施例では、記憶
装置5に識別情報に障害のあるデータが格納されている
ものとする。このとき、記憶装置6は、記憶装置5の全
データを格納するのに十分な量の書込み容量を持ってい
るか、または記憶装置6はセットされている堆り外し可
能な記憶媒体にデータを格納し、かつ、その記憶媒体は
、すくなくとも記憶装置5に格納されている最大サイズ
のデータおよびその識別レコードを格納するのに十分な
だけの書込み容量を持っているものとする。
In the figure, l is a CPU that controls the entire device. Reference numeral 2 denotes a memory, which stores a document editing program executed by the CPUI and a processing procedure shown in a flowchart of FIG. 3, which will be described later. Reference numeral 3 denotes a keyboard, which is an input means for inputting various information for operating the apparatus. 4 is a display device for displaying documents and processing results. Reference numerals 5 and 6 are storage devices capable of storing each data shown in FIG. 2, which will be described later. In this embodiment, it is assumed that the storage device 5 stores data whose identification information is faulty. At this time, the storage device 6 has sufficient write capacity to store all the data in the storage device 5, or the storage device 6 stores the data in the set removable storage medium. However, it is assumed that the storage medium has a write capacity sufficient to store at least the maximum size of data stored in the storage device 5 and its identification record.

[データ管理の説明(第2図)] 第2図は、記憶装置に格納されている文書データおよび
識別レコードの一例を示す0図中20はデータが保存さ
れている文書ファイルである。各文書ファイルは記憶装
置内部では、ファイル名a、、a、””anで区別され
ている。
[Description of Data Management (Fig. 2)] Fig. 2 shows an example of document data and identification records stored in a storage device, and 20 in Fig. 0 is a document file in which data is stored. Each document file is distinguished within the storage device by file names a, , a, and "an."

21は各文書ファイルの識別レコードから成る識別レコ
ードファイルであ゛る。識別レコード(21c)は、フ
ァイル名フィールド (21a)と、識別情報フィールド(21b)から構成
されている。ファイル名フィールドには、その識別レコ
ードに対応する文書ファイルのファイル名が格納されて
いる。識別情報フィールドには1文章ファイルを識別す
るためにオペレータがその文書に対してつけた識別情報
が格納されている。
21 is an identification record file consisting of identification records of each document file. The identification record (21c) is composed of a file name field (21a) and an identification information field (21b). The file name field stores the file name of the document file corresponding to the identification record. The identification information field stores identification information added to a document by an operator in order to identify one text file.

[処理手順の説明(第3図)] 次に本実施例におけるCPUにより実行される処理手順
を第3図のフローチャートに従って説明する。
[Explanation of Processing Procedure (FIG. 3)] Next, the processing procedure executed by the CPU in this embodiment will be explained according to the flowchart of FIG. 3.

記憶装置A(5)の識別レコードに障害があり、その内
容を修復して、修復後の識別レコードを、それに対応す
る文書データと共に記憶装置1B(6)に書込む。
There is a failure in the identification record of storage device A (5), its contents are repaired, and the repaired identification record is written to storage device 1B (6) together with the corresponding document data.

先ず、5301で、記憶装置5の文書ファイル名−覧を
読み取る、文書ファイルの総数なnと、各文書ファイル
名をa+、a*”anとする。5302でメモリの領域
FNに翅理済文書ファイル数iにφをセットする。53
03でiがn以上なら総ての文書ファイルの処理が終っ
ているので本処理を終了する。iがn未満のときは53
04へ進み、iの値を1増加させる。5305て、記憶
装置6上の記憶媒体に、記憶装置5内のi番目の文書フ
ァイル(ファ゛イル名ai)と、それに対応する識別デ
ータが書込めるだけの十分な空き容量があるかをチエツ
クする。空き容量が不足している場合は、ステップ33
06で記憶媒体を交換、指示をCRTに出力し、記憶媒
体の入れ換えを指示する。再び5305を実行する。空
き容量がある場合は。
First, in 5301, the document file name list in the storage device 5 is read. The total number of document files is n, and each document file name is a+, a*"an. In 5302, the processed document is stored in the memory area FN. Set φ to the number of files i.53
If i is greater than or equal to n in step 03, all document files have been processed, so the process ends. 53 when i is less than n
Proceed to step 04 and increase the value of i by 1. 5305, checks whether the storage medium on the storage device 6 has enough free space to write the i-th document file (file name ai) in the storage device 5 and its corresponding identification data. do. If there is insufficient free space, proceed to step 33.
At step 06, the storage medium is replaced, and an instruction is output to the CRT to instruct the replacement of the storage medium. Execute 5305 again. If there is free space.

記憶装置5の記憶媒体のi番目の文書に対応する識別レ
コードが読めるか否かをチエツクする(S307)@別
しコードが読取れる場合は、その内容をメモリDNに読
み込み(S308)、識別レコードが読取れない場合は
、あらかじめ定められた手続きによりキーボードより識
別レコードをメモリDNに新たに作成する(S309 
) 、 5310でメモリDNの識別レコードを記憶装
置B6に書込み、さらにS 311でi番目の文書ファ
イルを記憶装置AからBにコピーした後、再び5303
に戻って処理を繰返す。
Checks whether the identification record corresponding to the i-th document in the storage medium of the storage device 5 can be read (S307). If the classification code can be read, the contents are read into the memory DN (S308) and the identification record is read. If it cannot be read, a new identification record is created in the memory DN using the keyboard according to a predetermined procedure (S309
), 5310 writes the identification record of the memory DN to the storage device B6, and furthermore, after copying the i-th document file from the storage device A to B in S 311, the process returns to 5303.
Return to and repeat the process.

上記説明では、読み取れなかった識別レコードの内容を
作り直す方法について言及しなかった。この方法は、ど
のようなものてもよく、例えば(1)既定値をもつ識−
別レコードを作成する方法、(2)文書ファイル名が作
成年月日等ある特定の情報をもとにして作成されている
場合は、そのファイル名からその情報を復元し、それを
識別情報としてもつ識別レコードを作成する方法、等が
あげられる。
The above explanation did not mention how to recreate the contents of the identification record that could not be read. This method may be of any type, such as (1) identification with a default value;
(2) If the document file name is created based on specific information such as the date of creation, restore that information from the file name and use it as identification information. For example, how to create an identification record with

[他の実施例] 上記実施例では、必要に応じて修復した識別レコードと
共に記憶層A内の全文書データを記憶装置Bに書き込ん
だが、この代りに、識別レコードを修復したものについ
たのみその文書データと共に書込む方法も考えられる。
[Other Embodiments] In the above embodiment, all the document data in the storage layer A is written to the storage device B together with the identification records that have been repaired as necessary. A method of writing together with the document data may also be considered.

このようにすると、データ読み書きの量が減るのて処理
速度が速くなるという利点がある。
This has the advantage that the amount of data read/write is reduced and the processing speed is increased.

以上の例で1文書データとしたが、データの種類は文書
に限らず、画像ても良いことは明、らかである。
In the above example, one document data is used, but it is obvious that the type of data is not limited to a document, and may also be an image.

[発明の効果] 以上説明したように本発明によれば以下の効果がある。[Effect of the invention] As explained above, the present invention has the following effects.

(1)文書データと一部の識別し・コートに障害か生じ
ている記憶装置について、その全文書データと、必要に
応じて修復された識別レコードを他の正常な記憶媒体に
書込む事により、書込み容量不足をきたす事なく、修復
処理が安全に行える。
(1) For storage devices with document data and part of the identification/coat failure, by writing all document data and, if necessary, repaired identification records to other normal storage media. , the repair process can be performed safely without running out of write capacity.

(2)処理中、障害の生じた記憶装置内のデータに対し
ては書込み処理が行なわれないので、処理後も、データ
を障害が生じたときのままの形で保存でき、そのデータ
から障害原因の追求が容易に行える。
(2) During processing, no write processing is performed on the data in the faulty storage device, so even after processing, the data can be saved in the same form as when the fault occurred, and the data can be saved from the faulty storage device. The cause can be easily investigated.

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

第1図は、本実施例における文書処理装置のブロック構
成図、 第2図は、本実施例における文書データ管理の説明図、 第3図は、本実施例における処理手順を示すフローチャ
ートである。 図中、lはcpu、2はメモリ、3はキーボード、4は
表示装置、5は第1の記憶装置、6は第2の記憶装置、
20は文書ファイル、21は識別レコードファイルであ
る。
FIG. 1 is a block configuration diagram of a document processing apparatus in this embodiment, FIG. 2 is an explanatory diagram of document data management in this embodiment, and FIG. 3 is a flowchart showing a processing procedure in this embodiment. In the figure, l is a CPU, 2 is a memory, 3 is a keyboard, 4 is a display device, 5 is a first storage device, 6 is a second storage device,
20 is a document file, and 21 is an identification record file.

Claims (1)

【特許請求の範囲】[Claims]  データとその識別情報を記憶する第1の記憶手段とデ
ータとその識別情報とを記憶する第2の記憶手段と、前
記識別情報からデータを識別する識別手段と、前記識別
情報が失われたとき、前記識別情報を作成しなおす作成
手段と、前記第1の記憶手段の前記データを前記第2の
記憶手段に複写する複写手段を備えることを特徴とする
情報処理装置。
a first storage means for storing data and its identification information; a second storage means for storing data and its identification information; an identification means for identifying data from said identification information; and when said identification information is lost. An information processing apparatus comprising: a creation means for re-creating the identification information; and a copying means for copying the data in the first storage means to the second storage means.
JP63324506A 1988-12-21 1988-12-21 Information processing device Pending JPH02168346A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63324506A JPH02168346A (en) 1988-12-21 1988-12-21 Information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63324506A JPH02168346A (en) 1988-12-21 1988-12-21 Information processing device

Publications (1)

Publication Number Publication Date
JPH02168346A true JPH02168346A (en) 1990-06-28

Family

ID=18166563

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63324506A Pending JPH02168346A (en) 1988-12-21 1988-12-21 Information processing device

Country Status (1)

Country Link
JP (1) JPH02168346A (en)

Similar Documents

Publication Publication Date Title
US7107486B2 (en) Restore method for backup
US7152184B2 (en) Storage device, backup method and computer program code of this storage device
US6038569A (en) System for data structure loading with concurrent image copy
JP3315779B2 (en) File transfer device and file transfer method between disk devices
US20050262033A1 (en) Data recording apparatus, data recording method, program for implementing the method, and program recording medium
US6591264B1 (en) Method that allows I/O requests to run concurrently with a rollback from a snapshot in a drive array
JPH02168346A (en) Information processing device
JP2004259130A (en) Alteration verifying device and alteration verifying program
JPH033046A (en) Log record control system
JPH10312329A (en) Data backup and restoring device
JP4858779B2 (en) Device for reducing failure analysis file of distributed parallel program, method and program thereof
JPS58107976A (en) Protecting method for volume managing information
JP2007133535A (en) File system inside storage device
JPH0581103A (en) System for restoring duplexing film
JPH11212845A (en) Device and method for backup data management and recording medium
JPH0644118A (en) File backup system
JPH02197938A (en) Restoring system for draw type optical disk directory
JPS59157756A (en) Control system of document file recovery
JPH0816614A (en) Transfer data management method for seal impression retrieving system
JPH076071A (en) Device and method for information management
Caron et al. Object-oriented stable storage based on mirroring
JPH09218751A (en) Copy system to recording medium
JPS593661A (en) Fault recovery processing system of dasd data set control table
JPH1091505A (en) File management device for system and file management method for network
JPH02165384A (en) Information processor