JPS6186831A - Data processor - Google Patents

Data processor

Info

Publication number
JPS6186831A
JPS6186831A JP59207858A JP20785884A JPS6186831A JP S6186831 A JPS6186831 A JP S6186831A JP 59207858 A JP59207858 A JP 59207858A JP 20785884 A JP20785884 A JP 20785884A JP S6186831 A JPS6186831 A JP S6186831A
Authority
JP
Japan
Prior art keywords
file
time
floppy disk
directory
dfd
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
JP59207858A
Other languages
Japanese (ja)
Inventor
Nobuhisa Oshiba
大柴 信久
Nozomi Anayama
望 穴山
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP59207858A priority Critical patent/JPS6186831A/en
Publication of JPS6186831A publication Critical patent/JPS6186831A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the disappearance of data due to a misoperation by comparing automatically the final correction time points in a copy mode and then displaying a warning message when a copying action is carried out to a new file from an old file. CONSTITUTION:When only one file of a floppy disk is copied, the new source data disappears if the time of a destination file directory DFD is more recent than the time point of a source file directory read through a clock device 10 and displayed in a binary coded decimal number are compared in the order of dates. Then a copy protection is turned on to display a warning message when the time point of the DFD is equal to or more recent than the time point of the SFD. Then the input is urged for a key to confirm whether a copying action is carried out or not.

Description

【発明の詳細な説明】 皮A分災 この発明は、ワードプロセッサやオフィスコンピュータ
、その他フロッピーディスク等の外部記憶装置を使用し
、ファイルを更新する際に、その時刻も記録する機能を
有するデータ処理装置に係り、特にファイルのコピーを
行うとき、それぞれのファイルについてその時刻を比較
し、古いファイルから新しいファイルへコピーが行われ
る場合には警告情報を発生して、オペレータに確認をう
ながすことにより、操作ミスによるデータの消失を防止
して、システムの信頼性を向上させたデータ処理装置に
関する。
[Detailed Description of the Invention] This invention provides a data processing device that uses a word processor, office computer, or other external storage device such as a floppy disk, and has a function of recording the time when a file is updated. In particular, when copying files, the time of each file is compared, and when copying from an old file to a new file, warning information is generated to prompt the operator to confirm the operation. The present invention relates to a data processing device that prevents data loss due to mistakes and improves system reliability.

支来伎権 従来から、ワードプロセッサ等のデータ処理装置におい
ては、フロッピーディスク等の外部記憶装置が多く使用
されている。
BACKGROUND ART Conventionally, external storage devices such as floppy disks have often been used in data processing devices such as word processors.

第10図は、フロッピーディスクとフロッピーディスク
・ドライブ装置の一例を示す構造図である0図面におい
て、12はフロッピーディスクで、12Aはソース・フ
ロッピーディスク、12Bはディスティネーション・ウ
ロツピーディスク、13はフロッピーディスク・ドライ
ブ装置を示す。
FIG. 10 is a structural diagram showing an example of a floppy disk and a floppy disk drive device. In the drawing, 12 is a floppy disk, 12A is a source floppy disk, 12B is a destination floppy disk, and 13 is a floppy disk. Indicates a disk drive device.

この第1O図に示すように、ワードプロセッサ等の多く
のデータ処理装置では、外部記憶装置、つまりフロッピ
ーディスク12と、このフロッピーディスク12からデ
ータのリード/ライトを行うフロッピーディスク・ドラ
イブ装置13とが接続されている。
As shown in FIG. 1O, in many data processing devices such as word processors, an external storage device, that is, a floppy disk 12, and a floppy disk drive device 13 that reads/writes data from the floppy disk 12 are connected. has been done.

フロッピーディスク・ドライブ装置13には、2個のデ
ツキAとBとが設けられており、一般に、へデツキはソ
ース、Bデツキはディスティネーションのように、各フ
ロッピーディスク12をセットする位置が定められてい
る。
The floppy disk drive device 13 is provided with two decks A and B, and generally, the position where each floppy disk 12 is set is determined, such that the deck is the source and the deck B is the destination. ing.

次の第11図は、フロッピーディスク12について、そ
の要部構造を階層状に拡大して示す概念的な構成図であ
る0図面において、12Yはフロッピーディスク12の
ボリューム、12zはボリューム12Y内の1つのディ
レクトリを示す。
The following Figure 11 is a conceptual block diagram showing the structure of the main parts of the floppy disk 12 in a hierarchically enlarged manner. Shows two directories.

フロッピーディスク12は、この第11図に示されるよ
うに、ボリューム12Yと呼ばれる物理領域として表わ
される。そして、このボリューム12Yは、ファイルと
呼ばれる論理領域が割当てられている。
As shown in FIG. 11, the floppy disk 12 is represented as a physical area called a volume 12Y. A logical area called a file is allocated to this volume 12Y.

このようにして割当てられた各種のファイルは、例えば
ファイル名、ファイルの大きさ等の各ファイルについて
の情報が記録されたディレクトリ12zと呼ばれる部分
で管理されている。
The various files allocated in this way are managed in a section called a directory 12z in which information about each file, such as file name and file size, is recorded.

このディレクトリ12zは1次の■〜■の項目に分かれ
ている。
This directory 12z is divided into primary items ① to ②.

■ファイル名 ファイルを論理的にアクセスするための名称で、各々の
ファイルによって異なる名称が与えられる。
■File name A name for logically accessing a file; a different name is given to each file.

■最終修正時刻 作成時、あるいは最終修正・更新時の時刻が、年1月2
日9時9分2秒の順序で、2進化10進数によって表わ
される。
■The time of last modification or the time of last modification/update is January 2, 2017.
It is expressed as a binary coded decimal number in the order of 9 hours, 9 minutes, and 2 seconds of the day.

■現アロケートサイズ 現在、ディスクおよびフロッピー上に実際にアロケート
されているサイズで、単位はKB(キロ・バイト)。
■Current allocated size This is the size actually allocated on the disk or floppy disk, and the unit is KB (kilobytes).

■最大アロケートサイズ ディスクおよびフロッピー上において、最大アロケート
されるサイズで、単位はKB(キロ・バイト)である6
なお、現アロケートサイズよりも小さいことはない。
■Maximum allocation size The maximum allocated size on disks and floppies, in KB (kilobytes) 6
Note that it is never smaller than the current allocation size.

■アロケートされている位置 現在、ディスクおよびフロッピー上に実際にアロケート
されている物理的な位置で、トラック(シリンダ)、ヘ
ッドナンバー、セクタ、およびセクタ数が記録されてい
る。
■Allocated positions Tracks (cylinders), head numbers, sectors, and number of sectors are currently recorded at physical positions that are actually allocated on disks and floppies.

■レコード長 そのファイルのルコードの長さで、単位はB(バイト)
である。
■Record length The length of the record code for the file, the unit is B (bytes).
It is.

■データ容量 現在のファイルの大きさが、バイト単位で表わされてい
る。
■Data capacity The current file size is expressed in bytes.

このように、ファイルの更新・作成時に、その時刻も記
録する機能を有するデータ処理装置は、従来から公知で
ある。
As described above, data processing apparatuses having the function of recording the time when a file is updated or created are conventionally known.

まず、第1は、単に、そのファイルが何時作られたか、
を記録する機能だけを有するものである。
The first is simply when the file was created.
It only has the function of recording.

この第1の方法は、時刻の記録だけであるから、処理は
簡単であるが、コピ一時に生じる操作ミスの予防に対し
ては、何らの対策も行われていない。
This first method is simple in processing because it only records the time, but it does not take any measures to prevent operational errors that may occur during copying.

例えば、第10図のフロッピーディスク・ドライブ装置
13によって、ソース・フロッピーディスク12Aから
ディスティネーション・フロッピーディスク12Bへフ
ァイルのコピーを行うに際し、もし、セットするフロッ
ピーディスク・ドライブ装置13のデツキAとBとを間
違えて実行すると、ディスティネーション・フロッピー
ディスク12Bからソース・フロッピーディスク12A
ヘコピーされてしまい、ソース・フロッピーディスク1
2Aに記録されていた重要なソースデータが失なわれる
ことになる。
For example, when copying a file from the source floppy disk 12A to the destination floppy disk 12B using the floppy disk drive 13 shown in FIG. If you execute this by mistake, the source floppy disk 12A will be transferred from the destination floppy disk 12B.
The source floppy disk 1
Important source data recorded in 2A will be lost.

第2に、このような不都合を解決するために、ファイル
単位でライトプロテクトをかける方法がある。
Secondly, in order to solve this problem, there is a method of applying write protection on a file-by-file basis.

この第2の方法は、先の第1の場合よりも安全性は高い
が、プロテクトを設定するに際して、オペレータの判断
を必要とするので、予めプロテクトの設定を忘れたりす
ると、やはりコピー操作によって、データが失われてし
まうことになる。
This second method is more secure than the first method, but it requires operator judgment when setting protection, so if you forget to set protection in advance, the copy operation will still Data will be lost.

第3に、フロッピーディスク自体にライトプロテクトを
かける方法がある。
Thirdly, there is a method of applying write protection to the floppy disk itself.

第】2図(1)と(2)は、従来のフロッピーディスク
自体にライトプロテクトをかける方法の一例を説明する
ための図で、図(1)はライトプロテクトさ九ている状
態、図(2)はライト可能な状態を示す。図面の12C
は切欠き部、12Dはテープである。
Figures 2 (1) and (2) are diagrams for explaining an example of a method of applying write protection to a conventional floppy disk. Figure (1) shows the write-protected state, and Figure (2) ) indicates a writable state. 12C of drawing
is a notch, and 12D is a tape.

このフロッピーディスク自体にライトプロテクトをかけ
る方法では、第12図(1)に示すように、フロッピー
ディスク12に切欠き部12Cがある状態で、ライトプ
ロテクトされている。
In this method of write-protecting the floppy disk itself, as shown in FIG. 12(1), the floppy disk 12 is write-protected while it has a notch 12C.

そして、第12図(2)のように、この切欠き部12C
がテープ12D等で覆われると、ライト可能な状態とな
る。
Then, as shown in FIG. 12(2), this notch 12C
When it is covered with tape 12D or the like, it becomes writable.

第13図(1)〜(3)は、同じ〈従来のフロッピーデ
ィスク自体にライトプロテクトをかける方法の他の一例
を説明するための図で、図(1)はフロッピーディスク
12の上面図、図(2)はフロッピーディスク1.2の
端部の拡大図で、ライトプロテクトされている状態、図
(3)は同じく拡大図で、ライト可能な状態を示す。図
面の12Eはフロッピーディスク12の端部、12Fは
プロテクト用部材である。
Figures 13 (1) to (3) are diagrams for explaining another example of the same conventional method of applying write protection to the floppy disk itself; Figure (1) is a top view of the floppy disk 12; (2) is an enlarged view of the end of the floppy disk 1.2, showing a write-protected state, and FIG. (3) is an enlarged view of the end, showing a writable state. 12E in the drawing is an end portion of the floppy disk 12, and 12F is a protection member.

この第13図(1)〜(3)に示すフロッピーディスク
自体にライトプロテクトをかける方法では、プラスチッ
ク片のようなプロテクト用部材12Fが、フロッピーデ
ィスク12の一部に設けられており、このプロテクト用
部材12Fを前後にスライドさせることによって、ライ
トプロテクトをかけるようにしている。
In the method of applying write protection to the floppy disk itself shown in FIG. Write protection is applied by sliding the member 12F back and forth.

すなわち、フロッピーディスク12の一部12Eを拡大
して示す第13図(2)のように、プロテクト用部材1
2Fが端部の位置にあると、ライトプロテクトの状態に
なる。
That is, as shown in FIG. 13 (2) showing an enlarged view of a portion 12E of the floppy disk 12, the protection member 1
When 2F is at the end position, it is in a write protect state.

そして、このプロテクト用部材12Fが、第13図(3
)のような位置へスライドされると、ライト可能な状態
になる。
This protection member 12F is shown in FIG. 13 (3).
), it becomes ready for writing.

しかし、従来のフロッピーディスク自体にライトプロテ
クトをかける第12図(1)と(2)や、第13図(1
)〜(3)の方法では、オペレータの判断によってライ
トプロテクトするので、予めプロテクトをかける処理が
必要である。
However, in Figure 12 (1) and (2), which apply write protection to the conventional floppy disk itself, and in Figure 13 (1),
In the methods of ) to (3), write protection is performed based on the operator's judgment, so a process for applying protection in advance is required.

このような従来の第1から第3の方法では、コピ一時に
、必ずしも充分なソースデータの保護はできなかった。
In the first to third conventional methods, it is not always possible to sufficiently protect the source data at the time of copying.

すなわち、従来の第1の方法では、コピ一時にライトプ
ロテクトを設定する手段がなく、また、第2や第3の方
法では、コピ一時にプロテクトを設定する方法はあるが
、その判断にオペレータが関与するため、設定操作を忘
れてしまった場合等には、ミス操作によって重要なデー
タが破壊される、という不都合があった。
That is, in the first conventional method, there is no means to set write protection at the time of copying, and in the second and third methods, there is a method to set write protection at the time of copying, but the operator is required to make the decision. Therefore, if a setting operation is forgotten, important data may be destroyed due to a mistaken operation, which is an inconvenience.

目     的 そこで、この発明のデータ処理装置では、従来の外部記
憶装置を使用し、ファイルの更新時に、その時刻を記録
する機能を備えたデータ処理装置におけるこのような不
都合を解決し、コピ一時に。
Purpose Therefore, the data processing device of the present invention uses a conventional external storage device and solves such inconveniences in a data processing device equipped with a function of recording the time when a file is updated. .

自動的に最終修正時刻を比較し、古いファイルから新し
いファイルへコピーが行われる場合には、警告メツセー
ジを表示してオペレータに確認をうながすることにより
、操作ミスによるデータの消失を防止して、システムの
信頼性を向上させることを目的とする。
Automatically compares the last modification time, and when an old file is copied to a new file, a warning message is displayed to prompt the operator to confirm, thereby preventing data loss due to operational errors. , the purpose is to improve the reliability of the system.

構成 そのために、この発明のデータ処理装置においては、フ
ァイルの時刻を抽出して比較する時刻比較手段と、警告
メツセージ等の警告情報を発生する警告情報発生手段と
を設け1時刻比較手段の比較結果によって古いファイル
から新しいファイルへコピーが行われる場合には、警告
情報発生手段によって警告を発生させるようにしている
Structure To achieve this, the data processing device of the present invention is provided with time comparison means for extracting and comparing file times, and warning information generation means for generating warning information such as a warning message. When copying from an old file to a new file is performed by using the warning information generating means, a warning is generated.

次に、この発明のデータ処理装置について、図面を参照
しながら、実施例を詳細に説明する。
Next, embodiments of the data processing apparatus of the present invention will be described in detail with reference to the drawings.

第1図は、この発明のデータ処理装置の一実施例を示す
機能ブロック図である。図面において、1は入力装置、
2は入力制御部、3はCPU、4は表示制御部、5は出
力装置、6は外部記憶制御装置、7はメモリ、8は時刻
抽出部、9は時刻比較部、10は時計装置、11は外部
記憶装置を示す。
FIG. 1 is a functional block diagram showing an embodiment of a data processing device of the present invention. In the drawings, 1 is an input device;
2 is an input control section, 3 is a CPU, 4 is a display control section, 5 is an output device, 6 is an external storage control device, 7 is a memory, 8 is a time extraction section, 9 is a time comparison section, 10 is a clock device, 11 indicates an external storage device.

第2図は、この第1図の回路において、ファイルの作成
および更新の処理動作を説明するためのフローチャート
である。
FIG. 2 is a flowchart for explaining file creation and update processing operations in the circuit of FIG. 1.

説明の順序として、まず、ファイルの作成および更新の
動作について述べる。
In order of explanation, first, file creation and update operations will be described.

第2図は、この第1図の回路において、ファイルの作成
および更新の動作を説明するためのフローチャートであ
る。
FIG. 2 is a flowchart for explaining the file creation and updating operations in the circuit of FIG. 1.

ファイルの作成・更新時には、先の第11図に示したフ
ロッピーディスク12のディレクトリ12zの最終修正
時刻の項目を、この第2図に示すフローによって処理す
る。
When creating or updating a file, the last modification time item in the directory 12z of the floppy disk 12 shown in FIG. 11 is processed according to the flow shown in FIG. 2.

まず、ファイルの作成には、同一のファイル名がディレ
クトリ12zにあるかどうかチェックする。
First, to create a file, it is checked whether the same file name exists in the directory 12z.

もし、あれば、ファイルの二重作成エラーを表示する。Displays a duplicate file creation error, if any.

また、もし、新規作成であれば、最終修正時刻以外の項
目をディレクトリ122にセットする。
Furthermore, if it is a new creation, items other than the last modification time are set in the directory 122.

そして、時計装[10から現在の時刻を読出し、2進化
10進数によってディレクトリ12Zの最終修正時刻の
エリアにセットする。
Then, the current time is read from the clock device [10] and set in the last modified time area of the directory 12Z in binary coded decimal notation.

これに対して、更新時には、フロッピーディスク等の外
部記憶装置から、そのファイルのディレクトリ12zを
読出す。
On the other hand, when updating, the directory 12z of the file is read from an external storage device such as a floppy disk.

そして、ファイルの更新、すなわちデータの追加、およ
び変更を行う。
Then, the file is updated, that is, data is added and changed.

最後に、ファイル作成時と同様に、時計装置lOから現
在の時刻番読出し、2進化10進数によってディレクト
リ122の最終修正時刻のエリアにセットする。
Finally, in the same way as when creating the file, the current time number is read from the clock device IO and set in the last modified time area of the directory 122 in binary coded decimal notation.

次に、この発明のデータ処理装置におけるフロッピーの
コピ一時の動作について、その第1の実施例を説明する
Next, a first embodiment of the floppy copy operation in the data processing apparatus of the present invention will be described.

この第1の実施例では、フロッピーディスクの1つのフ
ァイルのみをコピーする場合である。新しいソースデー
タが消失するのは、コピ一時に、ディスティネーション
・ファイル・ディレクトリの時刻の方が、ソース・ファ
イル・ディレクトリの時刻よりも新しい場合であり、こ
の発明のデータ処理装置では、ディレクトリの時刻の比
較によって、古いファイルから新しいファイルへコピー
が行われるときには、警告メツセージを表示して、オペ
レータに確認をうながすようにしている。
In this first embodiment, only one file on a floppy disk is to be copied. New source data is lost when the time of the destination file directory is newer than the time of the source file directory at the time of copying. When an old file is copied to a new file by comparison, a warning message is displayed to prompt the operator to confirm.

第3図は、この発明のデータ処理装置におけるフロッピ
ーディスクのコピ一時の動作を説明するためのフローチ
ャートの一例を示し、第4図は、第3図のフローチャー
トにおける時刻の比較処理の詳細を示すフローチャート
である。第4図のSFDはソース・ファイル・ディレク
トリ、DFDはディスティネーション・ファイル・ディ
レクトリを示す。
FIG. 3 shows an example of a flowchart for explaining the temporary copying operation of a floppy disk in the data processing apparatus of the present invention, and FIG. 4 is a flowchart showing details of the time comparison process in the flowchart of FIG. It is. In FIG. 4, SFD indicates a source file directory, and DFD indicates a destination file directory.

第5図は第1の実施例による警告画面の一例である。図
面において、Yはコピー実行指示、Nはコピー実行中止
を示す。
FIG. 5 is an example of a warning screen according to the first embodiment. In the drawings, Y indicates a copy execution instruction, and N indicates copy execution cancellation.

第6図はディレクトリ12Zに格納された最終修正時刻
の一構成例を示す。
FIG. 6 shows an example of the configuration of the last modification time stored in the directory 12Z.

第7図(1)〜(3)は、ソース・ディレクトリとディ
スティネーション・ディレクトリの時刻の比較例で、図
(1)はソース・ファイルの方が新しい場合1図(2)
はディスティネーション・ファイルの方が新しい場合、
図(3)はソース・ファイルとディスティネーション・
ファイルの時刻が同じ場合を示す。
Figures 7 (1) to (3) are examples of comparing the times of the source directory and destination directory.
If the destination file is newer,
Figure (3) shows the source file and destination file.
Indicates when the files have the same time.

先に、第2図のフローに関連して説明した処理により、
ソース・ファイル・ディレクトリSFDとディスティネ
ーション・ファイル・ディレクトリDFDにセットされ
た最終修正時刻のみを、この第3図に示すフローによっ
て抽出し、時刻の比較を行う。
By the process explained earlier in relation to the flow in FIG. 2,
Only the last modification times set in the source file directory SFD and destination file directory DFD are extracted by the flow shown in FIG. 3, and the times are compared.

もし、コピープロテクトが必要な、古いファイルから新
しいファイルへコピーが行われるときには、警告メツセ
ージを表示し、オペレータに確認をうながす。
If copy protection is required from an old file to a new file, a warning message will be displayed and the operator will be asked to confirm.

そして、この警告表示の状態で、キー人力待ちとなり、
コピーの実行キーが入力されると、ソース・ファイルか
らディスティネーション・ファイルへのコピーが行われ
るようにしている。
Then, with this warning displayed, the key is waiting for human power.
When the copy execution key is input, the source file is copied to the destination file.

次に、時刻の比較の処理について、特に第4図と、第6
図、および第7図(1)〜(3)を参照しながら説明す
る。
Next, we will discuss the time comparison process, especially in Figures 4 and 6.
This will be explained with reference to FIG. 7 and FIGS. 7(1) to (3).

第6図の最終修正時刻の構成例に示されるように、ディ
レクトリ12Zの最終修正時刻は、時計装置10から読
込まれた値が、2進化10進数で表示されて、格納され
ている。
As shown in the configuration example of the last modified time in FIG. 6, the last modified time in the directory 12Z is stored as a value read from the clock device 10 and displayed in binary coded decimal notation.

第7図(1)に示すように、例えば、SFDの時刻が「
84年7月24日18時4分20秒J、DFDの時刻が
「84年7月23日19時12分47秒」であるとする
As shown in FIG. 7 (1), for example, the SFD time is “
Assume that it is July 24, 1984, 18:04:20 J, and the time on the DFD is "July 23, 1984, 19:12:47."

まず、それぞれの年の値を取出して大小を比較する。First, take the values for each year and compare them.

この場合には、両者は等しいので、次に、月の値を取出
して大小を比較する。
In this case, since the two are equal, next, take out the month value and compare the magnitude.

この例では、これも等しいので、さらに、日の値を取出
して大小を比較する。
In this example, since these are also equal, we also extract the day value and compare its magnitude.

この場合には、ソース・ファイル・ディレクトリSFD
の方が、ディスティネーション・ファイル・ディレクト
リDFDより大きいことが分る。
In this case, the source file directory SFD
is larger than the destination file directory DFD.

すなわち、それ以降の時、分、秒の値を比較しなくても
、SFDの方がDFDより大きいこと、換言すれば、ソ
ース・ファイル・ディレクトリSFDの方が、ディステ
ィネーション・ファイル・ディレクトリDFDよりも新
しいものであることは明らかである。
That is, the SFD is greater than the DFD without comparing subsequent hour, minute, and second values; in other words, the source file directory SFD is greater than the destination file directory DFD. It is clear that this is also new.

したがって、この場合には、コピーを実行しても、新し
いファイルが古いファイルにコピーされることはない。
Therefore, in this case, even if the copy is executed, the new file will not be copied to the old file.

これに対して、第7図(2)の例では、SFDの時刻が
「84年7月24日9時18分47秒」。
On the other hand, in the example shown in FIG. 7 (2), the SFD time is "July 24, 1984, 9:18:47."

DFDの時刻が「84年7月24日12時8分47秒」
であるから、先の場合と同様に、年1月、日の値を順次
比較すると、すべてが等しくなる。
DFD time is "July 24, 1984 12:08:47"
Therefore, as in the previous case, if we compare the values of January and day in sequence, they will all be equal.

しかし、その次に1時の値の大小を比較すると、「9」
と「12」であるから、DFDの方がSFDより大きい
ことが分る。
However, if we then compare the magnitude of the 1 o'clock value, it is "9".
and "12", it can be seen that the DFD is larger than the SFD.

したがって、この第7図(2)の場合には、DFDの方
がSFDより大きいこと、すなわち、ディスティネーシ
ョン・ファイル・ディレクトリDFDの方が、ソース・
ファイル・ディレクトリSFDより新しいものであるこ
とは明らかである。
Therefore, in the case of FIG. 7 (2), the DFD is larger than the SFD, that is, the destination file directory DFD is larger than the source file directory.
It is clear that the file/directory is newer than the SFD.

さらに、第7図(3)の例では、SFDとDFDの時刻
が、ともに「84年7月24日19時37分8秒」であ
る。
Furthermore, in the example of FIG. 7(3), both the SFD and DFD times are "July 24, 1984, 19:37:08".

この場合には、年、月、日、時、分、秒のすべての値を
順次比較することによって、SFDとDFDとが同時刻
に作成・更新されたもの、すなわち、ソース・ファイル
・ディレクトリSFDとディスティネーション・ファイ
ル・ディレクトリDFDとは、同時刻であることが分る
In this case, by sequentially comparing all the values of year, month, day, hour, minute, and second, the SFD and DFD are created and updated at the same time, that is, the source file directory SFD It can be seen that the time is the same as that of the destination file directory DFD.

このように、SFDの時刻とDFDの時刻とを比較し、
その比較結果に応じて、第7図(1)のように、ソース
・ファイル・ディレクトリSFDの時刻の方が、ディス
ティネーション・ファイル・ディレクトリDFDの時刻
よりも新しいものであるときは、コピープロテクトをオ
フし、コピーを実行する。
In this way, comparing the SFD time and DFD time,
Depending on the comparison result, if the time of the source file/directory SFD is newer than the time of the destination file/directory DFD, as shown in Figure 7 (1), copy protection is applied. Turn it off and run the copy.

反対に、第7図(2)や(3)のように、DFDの時刻
が、SFDの時刻と同じか、新しいときには、コピープ
ロテクトをオンし、警告メツセージを表示して、コピー
を実行するかどうかの確認のキー人力をうながす。
On the other hand, as shown in Figure 7 (2) and (3), when the time on the DFD is the same as or newer than the time on the SFD, copy protection is turned on, a warning message is displayed, and the copy is executed. Encouraging human power is the key to confirmation.

そして、コピー実行指示(Y)が入力された場合には、
コピーを実行する。また、コピー実行中止(N)が入力
された場合には、コピーを実行しないで、処理を終了す
る。
Then, when a copy execution instruction (Y) is input,
Execute the copy. Furthermore, if copy execution stop (N) is input, the process is ended without executing the copy.

次に、この発明のデータ処理装置における第2の実施例
として、フロッピーディスクのボリューム単位のコピー
を行う場合について説明する。
Next, as a second embodiment of the data processing apparatus of the present invention, a case will be described in which a volume unit copy of a floppy disk is performed.

この第2の実施例では、ソース・ボリュームAからディ
スティネーション・ボリュームBヘコピーするものとす
る。
In this second embodiment, it is assumed that a source volume A is copied to a destination volume B.

まず、先の第1の実施例と同様に、第2図のフローによ
る処理を行って、各ボリュームA、B内のファイルのデ
ィレクトリを作成・更新する。
First, as in the first embodiment, the process according to the flow shown in FIG. 2 is performed to create and update directories for files in each volume A and B.

第8図は、フロッピーディスクのボリューム単位のコピ
ーを行う場合におけるソース・ボリュームAとディステ
ィネーション・ボリュームBの各ディレクトリの比較状
態を説明する図である。
FIG. 8 is a diagram illustrating the state of comparison between the directories of the source volume A and the destination volume B when copying by volume of a floppy disk.

この第8図に示すように、ソース・ボリュームAには、
ファイルA−1〜Anまでのn個のファイルがあり、ま
た、ディスティネーション・ボリュームBには、ファイ
ルB−1〜B−mまでのm個のファイルがあるとする。
As shown in Figure 8, source volume A contains
Assume that there are n files A-1 to An, and that destination volume B has m files B-1 to B-m.

この第2の実施例によって、ボリュームコピーを実行す
る場合にも、実行前に、各ファイルのディレクトリの最
終修正時刻の比較を行う。
According to this second embodiment, even when executing a volume copy, the last modification times of the directories of each file are compared before execution.

時刻の比較処理は、先の第1の実施例の場合と同様で、
年、月1日、時、分、秒の順序で、それぞれの値の大小
を比較する。
The time comparison process is the same as in the first embodiment,
Compare the magnitude of each value in the order of year, month 1st, hour, minute, and second.

この場合に、比較するファイルは、1対1の比較ではな
く、n対mの比較を行う。
In this case, the files to be compared are not compared one-to-one, but n-to-m.

最初に、ソース・ボリュームAのファイルA−1と、デ
ィスティネーション・ボリュームBのファイルB−1と
を比較する。次に、ファイルA−1と、ファイルB−2
とを比較する。このようなファイルA−1との比較を、
ファイルB−3〜B−mまで行う。
First, file A-1 on source volume A and file B-1 on destination volume B are compared. Next, file A-1 and file B-2
Compare with. Comparison with such file A-1,
Perform files B-3 to B-m.

このようにして、ファイルA−1と、ファイルB−1=
B−mのm個のファイルとの比較が行われる。
In this way, file A-1 and file B-1=
A comparison is made with m files of B-m.

次に、ファイルA−2についても、同様に、ファイルB
−1〜B−mまでのm個のファイルと比較する。
Next, regarding file A-2, file B
Compare with m files from −1 to Bm.

以下、同様に、ファイルA−3〜Anについて、ファイ
ルB−1〜B−mまでの比較を行う。
Similarly, files A-3 to An are compared with files B-1 to B-m.

第9図は、フロッピーディスクのボリューム単位のコピ
ーを行う場合の警告画面の一例を示す。
FIG. 9 shows an example of a warning screen when copying a floppy disk by volume.

第8図のようなボリュームAとBの比較に際して、ディ
スティネーション−ボリュームBのファイルB−jと、
ソース・ボリュームAのファイルA−iの最終修正時刻
が同じか、あるいはファイルB−jの方が新しいときは
、第9図に示すように、ファイルA−4とB−jのファ
イル名を表示するとともに、警告メツセージを表示して
、コピーを実行するかどうかの確認のキー人力をうなが
す。
When comparing volumes A and B as shown in FIG. 8, file B-j of destination volume B,
If the last modification time of file A-i in source volume A is the same or if file B-j is newer, the file names of files A-4 and B-j are displayed as shown in Figure 9. At the same time, a warning message is displayed to prompt you to confirm whether you want to perform the copy.

そして、コピー実行中止(N)が入力された場合には、
そこで比較を中止し、ボリュームコピーを実行しないで
、処理を終了する。
Then, if copy execution stop (N) is input,
At this point, the comparison is stopped and the process ends without executing the volume copy.

また、コピー実行指示(Y)が入力された場合には、フ
ァイルA−iと、次のファイルB−(j+1)との比較
を行う。
Further, when a copy execution instruction (Y) is input, file A-i is compared with the next file B-(j+1).

このようにして、nXm回のすべての比較が終了すると
、ボリューム・コピーを行う。
In this way, when all nXm comparisons are completed, volume copying is performed.

このような比較処理を行うことによって、ボリューム単
位のコピーにおける操作ミスを防止することができる。
By performing such a comparison process, it is possible to prevent operational errors in copying in units of volumes.

例えば、ファイルAiだけが他のすべてのファイルより
も新しい場合、ソース・ボリュームAからディスティネ
ーション・ボリュームBへのボリューム・コピーの際、
操作ミスによって、ボリュームBからボリュームAへコ
ピーしようとしても、ファイルB−1とファイルA−i
との比較時に、警告メツセージが表示され、確認のキー
人力がうながされるので、ファイルA−iのデータの消
失は、未然に防止される。
For example, during a volume copy from source volume A to destination volume B, if only file Ai is newer than all other files,
Due to an operational error, even if you try to copy from volume B to volume A, file B-1 and file A-i will be deleted.
Since a warning message is displayed and a confirmation key is prompted when the data is compared with the file A-i, data loss in the file A-i can be prevented.

したがって、この発明のデータ処理装置によれば、フロ
ッピーディスクのボリューム単位のコピーを行う場合で
も、古いファイルから新しいファイルへのコピーが行わ
れるときは、オペレータにその確認がうながされること
になり、ミス操作によるデータの消失が、未然に防止さ
れる。
Therefore, according to the data processing device of the present invention, even when copying a floppy disk by volume, the operator is prompted to confirm when copying from an old file to a new file, and mistakes can be made. Loss of data due to operations is prevented.

以上に詳細に説明したとおり、この発明のデータ処理装
置では、ファイルを更新する際に、その時刻も記録する
機能を有するデータ処理装置において、ファイルの時刻
を抽出して比較する時刻比較手段と、警告メツセージ等
の警告情報を発生する警告情報発生手段とを設け、時刻
比較手段の比較結果によって古いファイルから新しいフ
ァイルへコピーが行われる場合には、警告情報発生手段
によって警告を発生させるようにしている。
As described in detail above, in the data processing device of the present invention, the data processing device has a function of also recording the time when updating a file, and includes a time comparing means for extracting and comparing file times; A warning information generation means for generating warning information such as a warning message is provided, and when copying is performed from an old file to a new file based on the comparison result of the time comparison means, the warning information generation means generates a warning. There is.

効   果 したがって、この発明のデータ処理装置によれば、ファ
イルおよびボリューム単位のコピ一時において、古いフ
ァイルから新しいファイルへコピーが行われる場合には
、オペレータに確認をうながす警告メツセージが表示さ
れるので、操作ミスによるソースデータの消失が確実に
防止され、システムの信頼性が向上される。
Effects Therefore, according to the data processing device of the present invention, when copying from an old file to a new file during temporary copying of files and volumes, a warning message prompting the operator to confirm is displayed. Loss of source data due to operational errors is reliably prevented and system reliability is improved.

その上、オペレータが何らの操作をする必要なしに、シ
ステムが自動的に時刻をセットして比較するため、デー
タ処理装置の操作性も向上される、等の優れた効果が得
られる。
Furthermore, since the system automatically sets and compares the time without the operator having to perform any operations, excellent effects such as improved operability of the data processing device can be obtained.

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

第1図はこの発明のデータ処理装置の一実施例を示す機
能ブロック図、員左貝はこの第1図の回路において、フ
ァイルの作成および更新の処理動作を説明するためのフ
ローチャート、11鼠はこの発明のデータ処理装置にお
けるフロッピーディスクのコピ一時の動作を説明するた
めのフローチャートの一例、第4図は第3図のフローチ
ャートにおける時刻の比較処理の詳細を示すフローチャ
ート、第5図は第1の実施例による警告画面の一例、第
6図はディレクトリ12Zに格納された最終修正時刻の
一構成例、1貝■辷」粒はソース・ディレクトリとディ
スティネーション・ディレクトリの時刻の比較例で、図
(1)はソース・ファイルの方が新しい場合、図(2)
はディスティネーション・ファイルの方が新しい場合、
図(3)はソース・ファイルとディスティネーション・
ファイルの時刻が同じ場合、tWはフロッピーディスク
のボリューム単位のコピーを行う場合におけるソース・
ボリュームAとディスティネーション・ボリュームBの
各ディレクトリの比較状態を説明する図、m−はフロッ
ピーディスクのボリューム単位のコピーを行う場合の警
告画面の一例、髪fflはフロッピーディスクとフロッ
ピーディスク・ドライブ装置の一例を示す構造図、LL
ifiはフロッピーディスク12について、その要部構
造を階層状に拡大して示す概念的な構成図、紅−11■
↓Xζm−は従来のフロッピーディスク自体にライトプ
ロテクトをかける方法の一例を説明するための図で、図
(1)はライトプロテクトされている状態、図(2)は
ライト可能な状態、里ユWごユリ−は同じ〈従来のフロ
ッピーディスク自体にライトプロテクトをかける方法の
他の一例を説明するための図で、図(1)はフロッピー
ディスク12の上面図、図(2)はフロッピーディスク
12の端部の拡大図で、ライトプロテクトされている状
態、図(3)は同じく拡大図で、ライト可能な状態を示
す。 図面において、1は入力装置、2は入力制御部、3はC
PU、4は表示制御部、5は出力装置、6は外部記憶制
御装置、7はメモリ、8は時刻抽出部、9は時刻比較部
、10は時計装置、11は外部記憶装置を示す。 特許出願人 株式会社 リ  コ − 碧 7 図
FIG. 1 is a functional block diagram showing one embodiment of the data processing device of the present invention. An example of a flowchart for explaining the temporary copying operation of a floppy disk in the data processing apparatus of the present invention, FIG. 4 is a flowchart showing details of the time comparison process in the flowchart of FIG. 3, and FIG. An example of a warning screen according to the embodiment, FIG. 1) if the source file is newer, then Figure (2)
If the destination file is newer,
Figure (3) shows the source file and destination file.
If the files have the same time, tW is the source file when copying a floppy disk volume.
A diagram explaining the comparison status of each directory between volume A and destination volume B, m- is an example of a warning screen when copying by volume of a floppy disk, and hairffl is a diagram of a floppy disk and a floppy disk drive device. Structural diagram showing an example, LL
ifi is a conceptual diagram showing the structure of the main parts of the floppy disk 12 in a hierarchically enlarged manner.
⇓ The same figure is used to explain another example of a conventional method of applying write protection to the floppy disk itself.Figure (1) is a top view of the floppy disk 12, and figure (2) is a top view of the floppy disk 12. An enlarged view of the end shows a write-protected state, and Figure (3) shows an enlarged view of the end, showing a write-enabled state. In the drawings, 1 is an input device, 2 is an input control unit, and 3 is C
PU, 4 is a display control unit, 5 is an output device, 6 is an external storage control device, 7 is a memory, 8 is a time extraction unit, 9 is a time comparison unit, 10 is a clock device, and 11 is an external storage device. Patent applicant Rico Co., Ltd. - Ao 7 Figure

Claims (1)

【特許請求の範囲】[Claims] ファイルを更新する際に、その時刻も記録する機能を有
するデータ処理装置において、ファイルの時刻を抽出し
て比較する時刻比較手段と、警告メッセージ等の警告情
報を発生する警告情報発生手段とを設け、前記時刻比較
手段の比較結果によって古いファイルから新しいファイ
ルへコピーが行われる場合には、前記警告情報発生手段
によって警告を発生することを特徴とするデータ処理装
置。
A data processing device that has a function of recording the time when a file is updated is provided with time comparison means for extracting and comparing file times and warning information generation means for generating warning information such as a warning message. . A data processing device, wherein the warning information generating means generates a warning when copying from an old file to a new file is performed based on the comparison result of the time comparing means.
JP59207858A 1984-10-03 1984-10-03 Data processor Pending JPS6186831A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59207858A JPS6186831A (en) 1984-10-03 1984-10-03 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59207858A JPS6186831A (en) 1984-10-03 1984-10-03 Data processor

Publications (1)

Publication Number Publication Date
JPS6186831A true JPS6186831A (en) 1986-05-02

Family

ID=16546697

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59207858A Pending JPS6186831A (en) 1984-10-03 1984-10-03 Data processor

Country Status (1)

Country Link
JP (1) JPS6186831A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS622334A (en) * 1985-06-28 1987-01-08 Glory Ltd Information rewriting method
JPS62286165A (en) * 1986-06-05 1987-12-12 Hitachi Ltd Indelible system for electronic slip
JPH02162447A (en) * 1988-12-15 1990-06-22 Nec Corp Program loading system
JPH0340042A (en) * 1989-07-06 1991-02-20 Nec Corp Multiple accessing device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS622334A (en) * 1985-06-28 1987-01-08 Glory Ltd Information rewriting method
JPS62286165A (en) * 1986-06-05 1987-12-12 Hitachi Ltd Indelible system for electronic slip
JPH02162447A (en) * 1988-12-15 1990-06-22 Nec Corp Program loading system
JPH0340042A (en) * 1989-07-06 1991-02-20 Nec Corp Multiple accessing device

Similar Documents

Publication Publication Date Title
AU700681B2 (en) A method of operating a computer system
JP3856855B2 (en) Differential backup method
JPH0532773B2 (en)
JP2804974B2 (en) Method and apparatus for maintaining data integrity of a magneto-optical disk
JPS6186831A (en) Data processor
JPH0475544B2 (en)
JP2633614B2 (en) File protection device
JP2822869B2 (en) Library file management device
JPH11212845A (en) Device and method for backup data management and recording medium
JP3022011B2 (en) Data backup system
JPH04315232A (en) Disk device and file managing method therefor
JPH0258653B2 (en)
JP3923635B2 (en) CD security system
JPH01240943A (en) Data content recovery system
JPH0581113A (en) File managing method and computer system
JPH05113932A (en) Personal computer
JP2638451B2 (en) Information processing device
JPS6341149B2 (en)
JPS61131043A (en) Inter-task queue controlling system
JPH04165543A (en) Electronic filing device
JPH05181729A (en) File managing system
JPH05290514A (en) Recording and reproducing device
JPS6369072A (en) Directory format
TW409211B (en) Method for protecting computer system data safety
JP3923634B2 (en) CD security system