JPH022202B2 - - Google Patents
Info
- Publication number
- JPH022202B2 JPH022202B2 JP55156202A JP15620280A JPH022202B2 JP H022202 B2 JPH022202 B2 JP H022202B2 JP 55156202 A JP55156202 A JP 55156202A JP 15620280 A JP15620280 A JP 15620280A JP H022202 B2 JPH022202 B2 JP H022202B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- power outage
- magnetic recording
- recorded
- cassette tape
- 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.)
- Expired - Lifetime
Links
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B15/00—Driving, starting or stopping record carriers of filamentary or web form; Driving both such record carriers and heads; Guiding such record carriers or containers therefor; Control thereof; Control of operating function
- G11B15/02—Control of operating function, e.g. switching from recording to reproducing
Landscapes
- Digital Magnetic Recording (AREA)
Description
【発明の詳細な説明】
この発明は、登録データを磁気記録するものに
おいて停電発生時の登録データの書込みに際し
て、正確な登録データを書込みできるようにした
磁気記録の停電対策装置に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a magnetic recording power outage countermeasure device that enables accurate registration data to be written when a power outage occurs in a device that magnetically records registration data.
カセツトテープへのデータの書込み方法は普通
第1図に示すように行なわれる。第1図中で10
0はカセツトテープである。イ,ロ,ハはそれぞ
れデータである。データとデータの間は規格で定
められた全てのカセツトデツキで読取りが可能な
ように規格の長さの範囲にあるインターレコード
ギヤツプ(以下IRGという。)が保証されていな
ければならない。1データブロツクの書込み単位
は図中cで示される。データ部分はd、データの
先頭部分に接するIRGのうち約半分をaとしaを
前半IRGとよぶ。データの終りの部分に接する
IRGのうち約半分をbとしbを後半IRGとよぶ。
1ブロツクデータの書込み単位は前半IRG+デー
タ+後半IRGで構成される。テープは矢印A方向
に送られながらデータが記録される。 The method of writing data to a cassette tape is normally performed as shown in FIG. 10 in Figure 1
0 is a cassette tape. A, B, and C are each data. An interrecord gap (hereinafter referred to as IRG) within the length of the standard must be ensured between data so that it can be read by all cassette decks specified by the standard. The write unit of one data block is indicated by c in the figure. The data part is called d, and about half of the IRG that touches the beginning part of the data is called a, and a is called the first half IRG. touches the end of the data
About half of IRG is called b, and b is called the second half IRG.
The writing unit of one block data consists of first half IRG + data + second half IRG. Data is recorded on the tape as it is fed in the direction of arrow A.
カセツトテープに磁気記録されてオフラインに
よつてデータを処理するシステムにおいてカセツ
トテープに記録されたデータは商取引上の重要な
データとして特に重視されている。したがつてカ
セツトテープを使用するシステムにおいて停電事
故が発生してもカセツトテープに記録されるデー
タは確実にテープに書込まれねばならない。 In systems in which data is magnetically recorded on cassette tapes and processed off-line, the data recorded on cassette tapes is particularly valued as important data in commercial transactions. Therefore, even if a power outage occurs in a system using cassette tapes, the data recorded on the cassette tapes must be reliably written to the tapes.
従来、停電事故発生時の対策として下記の方法
で行なつている。 Conventionally, the following methods have been used as countermeasures in the event of a power outage.
第1に第1図中の前半IRGaの部分で停電が発
生すると停電回復後カセツトデツキはカセツトテ
ープの次の記録エリアに停電発生時点に処理しよ
うとしていたデータを書き込み停電時点での記録
エリアには何も書き込まれないので結果的に空き
エリアを作りカセツトテープに無駄な部分を残
す。 First, if a power outage occurs in the first half IRGa in Figure 1, after the power outage recovers, the cassette deck writes the data that was being processed at the time of the power outage into the next recording area of the cassette tape.What is in the recording area at the time of the power outage? Since the data is not written, an empty area is created and a useless part is left on the cassette tape.
第2に第1図中のbの部分で停電が発生すると
停電回復後カセツトデツキは1度書き込まれたデ
ータと同一の内容のデータをカセツトテープの次
のエリアに書込み、同一データの2重記録を行
う。 Second, if a power outage occurs at part b in Figure 1, after the power is restored, the cassette deck writes the same data as the data that was previously written to the next area of the cassette tape, resulting in double recording of the same data. conduct.
第3に第1図中のdの部分で停電が発生すると
停電回復後カセツトデツキは途中まで書込まれた
データをそのままにしてカセツトテープ上の次の
記録エリアに停電発生時点に処理しようとしてい
たデータを書込み途中まで書込まれたデータをエ
ラーデータとして残し、エラーデータが書込まれ
た無駄な部分を残すことになる。 Third, if a power outage occurs at part d in Figure 1, after the power outage is restored, the cassette deck leaves the partially written data intact and transfers the data that was to be processed at the time of the power outage to the next recording area on the cassette tape. The data written halfway is left as error data, leaving a useless part where the error data is written.
第1の場合は、カセツトテープの効率的な利用
という面から見ると無駄であり、第2の場合は第
1の場合と同様に非効率的であると同時に別の機
械でこのデータを処理するとき同一データが2重
に記録されていることを判断しなければならない
という負担が増える。第3の場合は第1の場合と
同様に非効率的であると同時に別の機械でこのデ
ータを読取るときエラーデータとして処理をしな
ければならない手間が生ずる。 The first case is wasteful from the point of view of efficient use of the cassette tape, and the second case is just as inefficient as the first, but at the same time requires another machine to process this data. In some cases, the burden of having to determine whether the same data has been recorded twice increases. The third case is as inefficient as the first case, and at the same time, when this data is read by another machine, it becomes a hassle to process it as error data.
なお、特開昭52−88316号公報に記録されてい
るように、カセツトテープに記録するデータ内に
シーケンス番号を含ませておき、カセツトテープ
へ記録しているデータのシーケンス番号をメモリ
に記憶しておき、停電が発生回復するとカセツト
テープを巻戻し方向に駆動し、メモリに記憶して
いるシーケンス番号より1つ小さいシーケンス番
号のデータをカセツトテープから読出すとカセツ
トテープを停止し、次のブロツクすなわち停電時
にメモリに記憶しているシーケンス番号のデータ
からカセツトテープへの記録を開始することも、
知られている。この従来技術によれば、データの
ブロツクごとに必要データとは別にシーケンス番
号を記録しなければならず、また必要データを読
取る場合にはシーケンス番号を取り除かねばなら
ず、余分の処理が必要となるばかりでなく、シー
ケンス番号に割当てる桁数を定めなければなら
ず、本来必要とするデータの容量についても制限
を受けることになる。 Furthermore, as recorded in Japanese Patent Laid-Open No. 52-88316, a sequence number is included in the data recorded on the cassette tape, and the sequence number of the data recorded on the cassette tape is stored in the memory. Then, when a power failure occurs and the power is restored, the cassette tape is driven in the rewinding direction, and when data with a sequence number one smaller than the sequence number stored in memory is read from the cassette tape, the cassette tape is stopped and the next block is started. In other words, it is possible to start recording to a cassette tape from the sequence number data stored in memory in the event of a power outage.
Are known. According to this conventional technology, a sequence number must be recorded separately from the necessary data for each block of data, and the sequence number must be removed when reading the necessary data, which requires extra processing. In addition, the number of digits to be assigned to the sequence number must be determined, and the originally required data capacity is also limited.
本発明は、シーケンス番号をカセツトテープに
記録しなくても第1、第2、第3の欠点をなくす
ことができ、磁気記録手段への記録を効率的に行
ないかつ正確なデータを磁気記録手段に記録する
ことを目的としたものである。以下図面を参照し
て本願発明の一実施例を説明する。 The present invention can eliminate the first, second, and third drawbacks without recording sequence numbers on a cassette tape, efficiently record data on a magnetic recording means, and record accurate data on a magnetic recording means. It is intended to be recorded. An embodiment of the present invention will be described below with reference to the drawings.
第2図は本願発明の一実施例のブロツク図であ
る。12は登録データを入力するキーボード、1
0はキーボード12からの登録データを記憶した
り、演算したり後述する回路および装置を動作さ
せる制御回路、11は制御回路10からの信号に
ともなつて登録データを表示する表示器、13は
キーボード12から入力される登録データを印字
出力するプリンタ、16はキーボード12から入
力された登録データと制御回路10を動作させる
に必要なプログラムと制御回路10で演算処理さ
れた演算データを記憶するメモリ、15はキーボ
ード10から入力された登録データおよび演算デ
ータをカセツトテープ100に記録させるカセツ
トデツキ、14は停電発生時に停電検出信号を制
御回路10に送出する停電発生検出回路である。 FIG. 2 is a block diagram of one embodiment of the present invention. 12 is a keyboard for inputting registration data; 1
0 is a control circuit that stores registered data from the keyboard 12, calculates it, and operates circuits and devices described later; 11 is a display that displays registered data in accordance with signals from the control circuit 10; 13 is a keyboard A printer 16 prints out the registration data inputted from the keyboard 12, a memory 16 stores the registration data inputted from the keyboard 12, the program necessary to operate the control circuit 10, and the calculation data processed by the control circuit 10. 15 is a cassette deck for recording registration data and calculation data input from the keyboard 10 onto a cassette tape 100; 14 is a power outage detection circuit that sends a power outage detection signal to the control circuit 10 when a power outage occurs.
第3図は第2図中のメモリ16のうちカセツト
テープ100に記録されるデータを記憶する今回
データバツフアエリア163、カセツトテープ1
00に1データ前に記録されたデータを記憶しか
つ今回データバツフアエリア163のデータがカ
セツトテープ100に記録されたことにともなつ
てデータが今回データバツフアエリア163のデ
ータに更新される前回データバツフアエリア16
4、停電発生検出回路14からの停電検出信号の
送出にもとづいて制御回路10がメモリ16にセ
ツトする停電検出フラグを記憶する停電検出フラ
グエリア162、およびカセツトデツキ15から
カセツトテープ100が取出され交換されたこと
を制御回路10に知らせることによつて制御回路
10がメモリ16にセツトするカセツト交換フラ
グを記憶するカセツト交換フラグエリア161を
示す。 FIG. 3 shows a current data buffer area 163 for storing data to be recorded on the cassette tape 100 in the memory 16 in FIG. 2, and a cassette tape 1.
The data recorded one data before is stored in 00, and as the data in the current data buffer area 163 is recorded on the cassette tape 100, the data is updated to the data in the current data buffer area 163. Data buffer area 16
4. A power outage detection flag area 162 that stores a power outage detection flag set in the memory 16 by the control circuit 10 based on the power outage detection signal sent from the power outage detection circuit 14, and the cassette tape 100 is taken out from the cassette deck 15 and replaced. A cassette exchange flag area 161 is shown in which the control circuit 10 stores a cassette exchange flag that is set in the memory 16 by notifying the control circuit 10 of the change.
第4図は登録データおよび演算データをカセツ
トテープ100に書込むときの動作を示すフロー
チヤートである。 FIG. 4 is a flowchart showing the operation when writing registration data and calculation data to cassette tape 100.
第5図は停電回復後の書込み動作を示す図であ
る。矢印Aはカセツトテープ100の走行方向を
示す。イは前回書込みデータ記録部分を示す。ロ
は今回書込みデータ記録部分を示す。TMはテー
プエンドマークを示す。PD▽印は停電発生を知
らせる。#1,#2の矢印はテープエンドマーク
書込動作を示す。#3の矢印は500mm余白部分を
作る動作(以下500mmイレーズという。)を示す。
#4の矢印はテープの巻戻しを示し、#5の矢印
は前回データバツフアエリア164のデータとカ
セツトテープ100に書込まれているデータを比
較するための読出し動作を示す。#6の矢印は
#5の動作で比較したデータブロツク分巻戻すこ
とを示し、#7の矢印は更に1データブロツク分
巻戻すことを示す。#8の矢印は前回データバツ
フアエリア164のデータとカセツトテープ10
0に記録されているデータとを比較するための読
出し動作を示す。#9の矢印は#8の動作で比較
したデータブロツク分巻戻すことを示し、#10
の矢印は更に1データブロツク分巻戻すことを示
す。#11の矢印はカセツトテープに書込まれて
いる今回書込みデータと前回データバツフアエリ
ア164のデータとを比較するための読出し動作
を示す。#12の矢印は#11の動作で比較した
データブロツク分巻戻すことを示し、#13の矢
印は更に1データブロツク分巻戻すことを示す。
#14の矢印は前回データバツフアエリア164
のデータとカセツトテープ100に記録されてい
る前回書込みデータとを比較する動作を示す。
#15の矢印は前記#14の動作で前回データバ
ツフアエリア164のデータとカセツトテープ1
00に書込まれた前回書込みデータが一致したと
き今回データバツフアエリア163のデータがカ
セツトテープ100に書込まれる動作を示す。 FIG. 5 is a diagram showing a write operation after power recovery. Arrow A indicates the running direction of the cassette tape 100. A indicates the previously written data recording portion. B shows the part where the data written this time is recorded. TM indicates tape end mark. PD ▽ sign indicates that a power outage has occurred. Arrows #1 and #2 indicate tape end mark writing operations. The arrow #3 indicates the operation to create a 500mm margin (hereinafter referred to as 500mm erase).
Arrow #4 indicates tape rewinding, and arrow #5 indicates a read operation for comparing the data in the previous data buffer area 164 with the data written on the cassette tape 100. The arrow #6 indicates rewinding by the data block compared in the operation #5, and the arrow #7 indicates further rewinding by one data block. The arrow #8 indicates the data in the previous data buffer area 164 and the cassette tape 10.
A read operation for comparing with data recorded in 0 is shown. The arrow #9 indicates rewinding by the data block compared in the operation #8, and the arrow #10
The arrow indicates further rewinding by one data block. Arrow #11 indicates a read operation for comparing the currently written data written on the cassette tape with the data in the previous data buffer area 164. The arrow #12 indicates rewinding by the data block compared in the operation #11, and the arrow #13 indicates rewinding by one more data block.
#14 arrow is previous data buffer area 164
The operation of comparing the data recorded on the cassette tape 100 with the previously written data recorded on the cassette tape 100 is shown.
The arrow #15 indicates the data in the previous data buffer area 164 and the cassette tape 1 in the operation #14.
10 shows an operation in which data in the current data buffer area 163 is written to the cassette tape 100 when the previous write data written to 00 matches.
第6図は停電回復後第5図の一連の処理動作が
終了した後のカセツトテープ100の状態を示
す。第4図と第5図を使つて本願発明の動作を説
明する。 FIG. 6 shows the state of the cassette tape 100 after the series of processing operations shown in FIG. 5 are completed after the power is restored. The operation of the present invention will be explained using FIGS. 4 and 5.
キーボード12からキー入力された登録データ
はメモリ16の今回データバツフアエリア163
に記憶される。今回データバツフアエリア163
に書込みが終了するとカセツトテープ100に今
回データバツフアエリア163のデータを記録す
る。カセツトテープ100に記録が終了すると今
回データバツフアエリア163のデータは前回デ
ータバツフアエリア164に移され今回データバ
ツフアエリア163は次の登録データが入力され
るのを待機する状態となる。次にキーボード12
からキー入力された登録データは今回データバツ
フアエリア163に貯えられた後カセツトテープ
100に書込まれる動作に進む。今回データバツ
フアエリア163のデータがカセツトテープ10
0に書込まれている途中で停電が発生すると、停
電発生検出回路14から停電検出信号を制御回路
10に対して送出し、制御回路10はこの信号に
応じてメモリ16の停電検出フラグをセツトす
る。 The registered data key-input from the keyboard 12 is stored in the current data buffer area 163 of the memory 16.
is memorized. This time data buffer area 163
When the writing is completed, the data in the current data buffer area 163 is recorded on the cassette tape 100. When recording on the cassette tape 100 is completed, the data in the current data buffer area 163 is transferred to the previous data buffer area 164, and the current data buffer area 163 is in a state of waiting for the next registered data to be input. Next, keyboard 12
The registered data keyed in is stored in the data buffer area 163 and then proceeds to be written to the cassette tape 100. This time, the data in data buffer area 163 is on cassette tape 10.
If a power outage occurs while the data is being written to 0, the power outage detection circuit 14 sends a power outage detection signal to the control circuit 10, and the control circuit 10 sets the power outage detection flag in the memory 16 in response to this signal. do.
停電回復後制御回路10はメモリ16の停電検
出フラグがセツトされていることを確認する。次
にメモリ16内のカセツト交換フラグがセツトさ
れているかどうかを検索する。ここでカセツト交
換フラグがセツトされているときは制御回路10
はカセツトデツキ15にカセツトテープ100の
巻頭まで一度巻戻す処理(以下頭出し処理とい
う。)を行なうように指令し、頭出し処理が終了
すれば続けて今回データバツフアエリア163の
データをカセツトテープに書込む動作に進む。 After the power failure is restored, the control circuit 10 confirms that the power failure detection flag in the memory 16 is set. Next, a search is made to see if the cassette exchange flag in memory 16 is set. If the cassette exchange flag is set here, the control circuit 10
commands the cassette deck 15 to rewind the cassette tape 100 once to the beginning (hereinafter referred to as the beginning process), and when the beginning process is completed, the data in the current data buffer area 163 is transferred to the cassette tape. Proceed to writing operation.
次に前述のカセツト交換フラグがメモリ16内
にセツトされていないときの動作について説明す
る。 Next, the operation when the aforementioned cassette exchange flag is not set in the memory 16 will be explained.
停電回復後制御回路10はメモリ16の停電検
出フラグがセツトされていることを確認する。次
にメモリ16内のカセツト交換フラグがセツトさ
れているかどうか検索する。このときカセツト交
換フラグはセツトされていないので今回書込みを
行なつていた部分から任意の余白部分を設けてテ
ープエンドマークの書込みを行なう。続けて任意
の余白部分を設けてテープエンドマークの書込み
を再度行なう。更に500mmイレーズ処理を行なう。
次に500mmイレーズ部分の長さと2度目のテープ
エンドマーク書込みの前までカセツトテープ10
0を巻戻す。巻戻しが終れば続けて巻戻された部
分と前回データバツフアエリア164のデータと
を制御回路10で比較する。最初の比較ではカセ
ツトテープ100にテープエンドマークが記録さ
れているので不一致となる。次に前述された比較
データブロツク分カセツトテープ100を巻戻
す。更に停電回復後最初に書込んだテープエンド
マークの前までカセツトテープ100を巻戻す。
そして前述と同様の比較動作を行なう。2度目の
比較動作でも不一致となる。次に2度目に比較さ
れたデータブロツク分カセツトテープ100を巻
戻し更に今回データが書込まれているデータブロ
ツクの頭の部分つまり前半IRGの部分まで巻戻
す。そして前回データバツフアエリア164の内
容とカセツトテープ100に記録されている今回
データのデータと比較する。3度目の比較動作で
も不一致となる。そこで3度目に比較されたデー
タブロツク分カセツトテープ100を巻戻し更に
今回データが記録されているデータブロツクの前
半IRG部分までカセツトテープ100を巻戻す。
そして前回データバツフアエリア164のデータ
とカセツトテープ100に記録されているデータ
とを比較する。この比較動作で一致が検出されれ
ばこの前回データに続けて規定の長さのIRGを設
けて今回バツフアのデータを再度書込む動作に進
むように制御回路10はカセツトデツキに指令す
る。 After the power failure is restored, the control circuit 10 confirms that the power failure detection flag in the memory 16 is set. Next, a search is made to see if the cassette exchange flag in memory 16 is set. At this time, since the cassette exchange flag has not been set, a tape end mark is written by providing an arbitrary margin from the area where writing was currently being performed. Continuously, create an arbitrary margin and write the tape end mark again. Furthermore, perform 500mm erase processing.
Next, add the cassette tape 10 to the length of the 500mm erase part and before writing the second tape end mark.
Rewind 0. After the rewinding is completed, the control circuit 10 compares the rewound portion with the data in the previous data buffer area 164. In the first comparison, there is a discrepancy because a tape end mark is recorded on the cassette tape 100. Next, the cassette tape 100 is rewound for the comparison data block described above. Further, the cassette tape 100 is rewound to the point before the first tape end mark written after the power is restored.
Then, a comparison operation similar to that described above is performed. The second comparison operation also results in a mismatch. Next, the cassette tape 100 is rewound for the data block compared for the second time, and further rewound to the head portion of the data block to which data has been written this time, that is, the first half IRG portion. Then, the contents of the previous data buffer area 164 and the current data recorded on the cassette tape 100 are compared. The third comparison operation also results in a mismatch. Then, the cassette tape 100 is rewound for the data block compared for the third time, and then the cassette tape 100 is rewound to the first half IRG portion of the data block where data is recorded this time.
Then, the data in the previous data buffer area 164 and the data recorded on the cassette tape 100 are compared. If a match is detected in this comparison operation, the control circuit 10 instructs the cassette deck to provide an IRG of a specified length following the previous data and proceed to write the current buffer data again.
前述した前回データバツフアエリア164のデ
ータと前回カセツトテープ100に記録されたデ
ータが不一致のときは前回データブロツク分カセ
ツトテープ100は巻戻され更に前々回のデータ
ブロツクの前半IRGの部分まで巻戻して前回デー
タバツフアエリア164のデータと前々回カセツ
トテープ100に記録されたデータを比較する。
この動作では不一致となるので前述と同様の動作
を繰り返しながらカセツトテープ100の先頭部
分BOTマークまで検索する。BOTマークが検出
されれば制御回路10は一致データなしと判断し
てカセツトテープ100交換の警報を表示するよ
うに表示器11に指令する。本装置の操作者は警
報に従つて新たなカセツトテープ100をカセツ
トデツキに挿入し交換処理を終る。カセツトテー
プ100が交換されたことに応じて制御回路10
はメモリ16に一旦カセツト交換フラグをセツト
する。カセツト交換フラグがセツトされたことに
応じて制御回路10はカセツトデツキにカセツト
テープ100のテープ先頭を見出してカセツトテ
ープ100の最初のデータ書込み部分に今回デー
タバツフアエリア163のデータを記録する。そ
して後半IRGの長さカセツトテープ100を進め
て次のデータの書込みに備える。前述したテープ
エンドマークは次のデータの書込み時に消去され
る。 If the data in the previous data buffer area 164 and the data recorded on the previous cassette tape 100 do not match, the cassette tape 100 is rewound for the previous data block and then rewound to the first half IRG of the previous data block. The data in the previous data buffer area 164 is compared with the data recorded on the cassette tape 100 two times before.
Since this operation results in a mismatch, the same operation as described above is repeated until the BOT mark at the beginning of the cassette tape 100 is searched. If the BOT mark is detected, the control circuit 10 determines that there is no matching data and instructs the display 11 to display a warning to replace the cassette tape 100. The operator of this apparatus inserts a new cassette tape 100 into the cassette deck in accordance with the warning and completes the exchange process. In response to the replacement of the cassette tape 100, the control circuit 10
The cassette exchange flag is temporarily set in the memory 16. In response to the cassette exchange flag being set, the control circuit 10 finds the tape head of the cassette tape 100 on the cassette deck and records the data of the current data buffer area 163 in the first data write portion of the cassette tape 100. Then, the cassette tape 100 is advanced by the length of the second half IRG in preparation for writing the next data. The tape end mark mentioned above is erased when the next data is written.
このように、上述の実施例においてはカセツト
テープ100に不要な空きのエリアを作ることな
く効率的な使用ができる。なおかつカセツトテー
プ100に停電発生と同時に誤まつた記録がなさ
れていても前述の処理を改めて行なうので誤つた
データを残すことなく正確なデータ記録ができる
効果がある。 In this way, in the above-described embodiment, the cassette tape 100 can be used efficiently without creating unnecessary empty areas. Furthermore, even if erroneous recording is made on the cassette tape 100 at the same time as a power outage occurs, since the above-mentioned processing is performed again, there is an effect that accurate data can be recorded without leaving erroneous data.
停電回復後の処理としてテープエンドマークの
書込みを一旦行なうようにしたために前述したカ
セツトテープ交換警報が出されたカセツトテープ
を別の装置で読出し処理させたときにはテープエ
ンドマークまでの処理で終らせることができ、も
しテープエンドマークがなくデータがカセツトテ
ープの途中までしか記録されていない場合に
EOTマーク(カセツトテープの記録部分の最後
のマーク)までカセツトテープを読取りに進むと
いう無駄な動作を改善することができる。 Since the tape end mark is temporarily written as a process after the power is restored, when a cassette tape for which the above-mentioned cassette tape replacement warning has been issued is read and processed by another device, the process ends up to the tape end mark. If there is no tape end mark and the data is only recorded halfway on the cassette tape,
It is possible to improve the wasteful operation of reading the cassette tape up to the EOT mark (the last mark of the recorded portion of the cassette tape).
この発明によれば、登録データを入力する登録
データ入力手段;前記登録データ入力手段で入力
された登録データを磁気記録する磁気記録手段;
停電が発生したことを検出する停電発生回路;前
記磁気記録手段に書込まれる登録データを記憶す
る第1の記憶エリアと、前記磁気記録手段に前記
登録データを書込み終了することに応じて前記第
1の記憶エリアのデータが移される第2の記憶エ
リアとを備えたメモリと;前記停電発生検出回路
により停電が発生したことを検出してその後停電
が回復したとき前記第2の記憶エリアに記憶され
たデータと前記磁気記録手段に記録されているデ
ータとを比較しデータが一致したことにともなつ
て前記第1の記憶エリアのデータを停電発生時記
録処理していた磁気記録手段の記録エリアへ記録
するようにした制御回路を備えているので、シー
ケンス番号を磁気記録手段に記録する必要がな
く、磁気記録手段に無駄なエリアを作ることがな
く、本来必要とするデータの容量を制限する必要
もなく、磁気記録手段の効率的な利用を図ること
ができる。また、停電発生と同時に誤つた記録が
なされていても、誤つたデータを残すことなく正
確なデータを記録することが可能となる。 According to this invention, a registration data input means for inputting registration data; a magnetic recording means for magnetically recording the registration data inputted by the registration data input means;
A power outage occurrence circuit that detects the occurrence of a power outage; a first storage area for storing registration data to be written in the magnetic recording means; a second storage area to which data in the first storage area is transferred; the power outage detection circuit detects that a power outage has occurred, and when the power outage is restored, the data is stored in the second storage area; The recorded data is compared with the data recorded in the magnetic recording means, and when the data match, the data in the first storage area is recorded in the recording area of the magnetic recording means that was being processed at the time of the power outage. Since it is equipped with a control circuit that records the sequence number on the magnetic recording means, there is no need to record the sequence number on the magnetic recording means, and there is no wasted area on the magnetic recording means, which limits the amount of data that is originally required. This is not necessary and the magnetic recording means can be used efficiently. Further, even if erroneous recording is made at the same time as a power outage occurs, accurate data can be recorded without leaving erroneous data.
第1図はカセツトテープにデータを記録すると
きのカセツトテープ記録形態。第2図は本装置の
構成を示すブロツク図。第3図は第2図中に示さ
れるメモリ16内の本発明の説明に必要な部分の
配置を示すメモリ構成図。第4図はカセツトテー
プにデータを書込むときの動作順序を示す書込み
フローチヤート。第5図は停電発生後および停電
回復後のカセツトデツキの動作とカセツトテープ
の記録状態を示す。第6図は第5図で示される処
理動作が終了した後のカセツトテープの記録状態
を示す。
10……制御回路、11……表示器、12……
キーボード、13……プリンタ、14……停電発
生検出回路、15……カセツトデツキ、16……
メモリ、161……カセツト交換フラグエリア、
162……停電検出フラグエリア、163……今
回データバツフアエリア、164……前回データ
バツフアエリア。
Figure 1 shows the cassette tape recording format when recording data on a cassette tape. FIG. 2 is a block diagram showing the configuration of this device. FIG. 3 is a memory configuration diagram showing the arrangement of parts necessary for explaining the present invention in the memory 16 shown in FIG. 2. FIG. 4 is a writing flowchart showing the sequence of operations when writing data to a cassette tape. FIG. 5 shows the operation of the cassette deck and the recording state of the cassette tape after a power outage occurs and after the power is restored. FIG. 6 shows the recording state of the cassette tape after the processing operations shown in FIG. 5 have been completed. 10...Control circuit, 11...Display device, 12...
Keyboard, 13...Printer, 14...Power outage detection circuit, 15...Cassette deck, 16...
Memory, 161...Cassette exchange flag area,
162... Power outage detection flag area, 163... Current data buffer area, 164... Previous data buffer area.
Claims (1)
前記登録データ入力手段で入力された登録データ
を磁気記録する磁気記録手段;停電が発生したこ
とを検出する停電発生検出回路;前記磁気記録手
段に書込まれる登録データを記憶する第1の記憶
エリアと、前記磁気記録手段に前記登録データを
書込み終了することに応じて前記第1の記憶エリ
アのデータが移される第2の記憶エリアとを備え
たメモリと; 前記停電発生検出回路により停電が発生したこ
とを検出してその後停電が回復したとき前記第2
の記憶エリアに記憶されたデータと前記磁気記録
手段に記録されているデータとを比較しデータが
一致したことにともなつて前記第1の記憶エリア
のデータを停電発生時記録処理していた磁気記録
手段の記録エリアへ記録するようにした制御回路
を備えた磁気記録における停電対策装置。 2 前記メモリに磁気記録媒体が磁気記録手段よ
り交換されたときにセツトされ磁気記録媒体に登
録データが1件以上記録されたことにともなつて
リセツトされる磁気記録媒体交換フラグと、停電
発生検出にともなつてセツトされ前記制御回路が
停電回復後にセツト信号を検出した後にリセツト
される停電検出フラグとを備えた特許請求の範囲
第1項記載の磁気記録における停電対策装置。 3 第2の記憶エリアに記憶されたデータと前記
磁気記録手段に書込まれているデータが全て不一
致のとき操作者に不一致を知らしめる警報発生手
段を備えた特許請求の範囲第1項記載の磁気記録
における停電対策装置。 4 停電回復時に前記磁気記録媒体に一旦最終デ
ータ記録済を意味するテープエンドマークを記録
するようにした特許請求の範囲第1項記載の磁気
記録における停電対策装置。[Claims] 1. Registration data input means for inputting registration data;
a magnetic recording means for magnetically recording the registration data inputted by the registration data input means; a power outage occurrence detection circuit for detecting the occurrence of a power outage; a first storage area for storing the registration data written in the magnetic recording means; and a second storage area to which data in the first storage area is transferred in response to completion of writing of the registered data in the magnetic recording means; when a power outage occurs by the power outage occurrence detection circuit. When the power outage is restored after detecting that the
The data stored in the first storage area and the data recorded in the magnetic recording means are compared, and when the data match, the data in the first storage area is recorded at the time of the power outage. A power outage countermeasure device for magnetic recording comprising a control circuit configured to record in a recording area of a recording means. 2. A magnetic recording medium exchange flag that is set when the magnetic recording medium is exchanged in the memory by the magnetic recording means and is reset when one or more pieces of registered data are recorded on the magnetic recording medium, and a power failure occurrence detection flag. 2. A power outage countermeasure device for magnetic recording according to claim 1, further comprising a power outage detection flag that is set in accordance with the power outage and reset after the control circuit detects the set signal after the power outage is recovered. 3. The apparatus according to claim 1, further comprising an alarm generating means for notifying an operator of the discrepancy when the data stored in the second storage area and the data written in the magnetic recording means do not match. Power outage countermeasure device for magnetic recording. 4. A power outage countermeasure device for magnetic recording according to claim 1, wherein a tape end mark indicating that the final data has been recorded is temporarily recorded on the magnetic recording medium upon recovery from a power outage.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP55156202A JPS5782216A (en) | 1980-11-05 | 1980-11-05 | Power failure countermeasure device in magnetic recording |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP55156202A JPS5782216A (en) | 1980-11-05 | 1980-11-05 | Power failure countermeasure device in magnetic recording |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5782216A JPS5782216A (en) | 1982-05-22 |
| JPH022202B2 true JPH022202B2 (en) | 1990-01-17 |
Family
ID=15622593
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP55156202A Granted JPS5782216A (en) | 1980-11-05 | 1980-11-05 | Power failure countermeasure device in magnetic recording |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5782216A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH07210920A (en) * | 1994-01-20 | 1995-08-11 | Ricoh Co Ltd | Magneto-optical disk drive device |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5288316A (en) * | 1976-01-20 | 1977-07-23 | Matsushita Electric Ind Co Ltd | Data writing method to cassette tapes |
-
1980
- 1980-11-05 JP JP55156202A patent/JPS5782216A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5782216A (en) | 1982-05-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2993994B2 (en) | Data storage device and data storage method | |
| US5539914A (en) | Method and system for preprocessing data block headers during access of data in a data storage system | |
| US7561372B2 (en) | System and method for writing data to magnetic tape | |
| JPH046017B2 (en) | ||
| EP0628197B1 (en) | Digital servo track format | |
| JPH01231122A (en) | Data storage device | |
| EP0628196B1 (en) | Data recording system having unique end-of-recording and start-of-recording format indicators | |
| JPH022202B2 (en) | ||
| US5319503A (en) | Method and apparatus for writing successive streams of data on a magnetic medium by writing a cancel mark indicating the cancellation of a previously-written file mark | |
| US3863265A (en) | Method and apparatus for inserting data records on magnetic tape | |
| US7167332B2 (en) | Method and apparatus for recording data onto a recording medium including warning of the approach to an end of medium position | |
| JP3089860B2 (en) | Recirculating magnetic tape unit | |
| JPH10312329A (en) | Data backup / restore device | |
| JPS63317950A (en) | Data recording processing system by magnetic tape | |
| JPS5819714A (en) | Controlling system of magnetic tape device | |
| JPS63269361A (en) | Magnetic tape device | |
| JPH0750428B2 (en) | Disk double writing controller | |
| JPH02198051A (en) | Magnetic tape device | |
| JP2719975B2 (en) | Data recording method in magnetic recording / reproducing device | |
| CA1056498A (en) | Method and apparatus for inserting data records on magnetic tape | |
| JP3250449B2 (en) | Magnetic tape controller | |
| JPS58195981A (en) | Offline printing control device | |
| JPS63161579A (en) | Magnetic tape device | |
| EP0052706B1 (en) | Safeguarding of data recorded on disk by tunnel erase magnetic head assembly | |
| JPH04102274A (en) | Control method for magnetic storage devices |