JPH03150747A - Digital data recording device - Google Patents

Digital data recording device

Info

Publication number
JPH03150747A
JPH03150747A JP1288349A JP28834989A JPH03150747A JP H03150747 A JPH03150747 A JP H03150747A JP 1288349 A JP1288349 A JP 1288349A JP 28834989 A JP28834989 A JP 28834989A JP H03150747 A JPH03150747 A JP H03150747A
Authority
JP
Japan
Prior art keywords
recording
magnetic tape
data
capacity
information
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.)
Granted
Application number
JP1288349A
Other languages
Japanese (ja)
Other versions
JP2563615B2 (en
Inventor
Shozo Fujii
省造 藤井
Tatsuya Adachi
達也 足立
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP1288349A priority Critical patent/JP2563615B2/en
Publication of JPH03150747A publication Critical patent/JPH03150747A/en
Application granted granted Critical
Publication of JP2563615B2 publication Critical patent/JP2563615B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To surely record data by stopping the reception of data when a near- termination signal of a magnetic tape is detected by a near-termination recording protection function consisting of a microcomputer and then restarting the reception of data after confirming the recorded capacity requested by a control instruction. CONSTITUTION:A CPU 5 secures the connection between the terminals A and B of a communication part 1 and receives an instruction to start a near-termination recording protection function. The connection is secured first between the terminals A and C, and the data are inputted to a buffer 2. At the same time, the recording capacity information shown by the instruction is given to a magnetic recording/reproducing part 3. Then a recording operation is started. When the near-termination signal detected based on the reel speed of the transmission side is transmitted to the CPU 5, the connection is secured between the terminals A and D. Then the external reception is interrupted and at the same time the part 3 records the data stored in the buffer 2 and then the remaining insignificant data until the recording equivalent to the designated capacity is through. Then the recording operation is restarted and the normal data are recorded at and after the recorded position of the insignificant data.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、磁気テープを記録媒体とするコンピュータの
外部記憶装置であるディジタルデータ記録装置に関する
ものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a digital data recording device which is an external storage device for a computer and uses a magnetic tape as a recording medium.

従来の技術 近年、ハードディスクのバックアップ用途などのために
、磁気テープによるディジタルデータ記録装置が用いら
れるようになってきた。これらの装置ではバッファを内
蔵し、記録動作時に外部装置からバッファへ転送される
ディジタルデータの転送完了を以て磁気テープへの書き
込み完了を示す正常終了応答を外部装置に返す転送制御
方式が採用され、転送を短時間に完了させている。また
更に、磁気テープの終端付近であってもバッファ内にあ
る正常終了応答を発行済みのディジタルデータは確実に
磁気テープに記録されるための保護処理が採用されてい
る。
BACKGROUND OF THE INVENTION In recent years, digital data recording devices using magnetic tape have come into use for purposes such as backing up hard disks. These devices have a built-in buffer and adopt a transfer control method that returns a normal completion response to the external device indicating completion of writing to the magnetic tape upon completion of the transfer of digital data transferred from the external device to the buffer during recording operation. completed in a short time. Furthermore, protection processing is employed to ensure that digital data in the buffer for which a normal end response has been issued is reliably recorded on the magnetic tape even near the end of the magnetic tape.

従来のディジタルデータ記録装置としては、例えば特開
平1−173219号公報の磁気テープ装置に開示され
ている。
As a conventional digital data recording device, for example, a magnetic tape device is disclosed in Japanese Patent Laid-Open No. 1-173219.

以下に、従来のディジタルデータ記録装置について説明
する。
A conventional digital data recording device will be explained below.

第8図は、この従来のディジタルデータ記録装置の構成
を示すブロック図である。
FIG. 8 is a block diagram showing the configuration of this conventional digital data recording device.

第8図において、401は検知部、402は切替部、4
Q3はバッフハ 404は磁気テープ書込部である。
In FIG. 8, 401 is a detection section, 402 is a switching section, 4
Q3 is a buffer, and 404 is a magnetic tape writing section.

以上のように構成された従来のディジタルデータ記録装
置について、以下その動作を説明する。
The operation of the conventional digital data recording device configured as described above will be described below.

第9図(a)は、従来のディジタルデータ記録装置に用
いられる磁気テープの例を示す図であり、0は磁気テー
プに記録可能な領域の終端である論理的終端を示し、P
は論理的終端よりバッファ403の容量分だけ前の位置
に設けられた目印を示している。
FIG. 9(a) is a diagram showing an example of a magnetic tape used in a conventional digital data recording device, where 0 indicates the logical end which is the end of the recordable area on the magnetic tape, and P
indicates a mark provided at a position before the logical end by the capacity of the buffer 403.

まず、記録動作において現在のテープ位置が第9図(a
)のQの範囲にあるとき、検知部401は切替部402
の端子Rと端子Sを接続するから記録すべきディジタル
データはバッファ403km高速に転送され、さらに磁
気テープ書込部に記録速度に同期して転送され、磁気テ
ープに記録される。
First, in the recording operation, the current tape position is shown in Figure 9 (a).
), the detection unit 401 switches to the switching unit 402.
Since the terminals R and S of are connected, the digital data to be recorded is transferred to the buffer 403 km at high speed, and further transferred to the magnetic tape writing section in synchronization with the recording speed, and recorded on the magnetic tape.

このときバッファ403への転送が完了すれば、外部装
置に対して磁気テープへの書き込み完了を意味する正常
終了応答が発行される。
At this time, when the transfer to the buffer 403 is completed, a normal completion response indicating completion of writing to the magnetic tape is issued to the external device.

また、記録動作実行中に検知部401は第9図(a)の
Pに示す目印を検知すると、切替部402を制御し端子
Rと端子Tを接続する。一方、磁気テープ書込部404
はバッフ14o3に記憶されたディジタルデータの磁気
テープへの記録を完了すると、それに継続して切替部4
02の端子Tを経由して記録速度に同期して転送される
ディジタルデータを磁気テープへ直接記録するモードに
移行する。このとき磁気テープへの書き込みが完了すれ
ば、外部装置に対して磁気テープへの書き込み完了を意
味する正常終了応答が発行されるが、書き込みが完了す
る前に、第9図(a)のOに示す論理的終端を検出する
と、外部装置に対して磁気テープへの書き込みが完了で
きなかったことを意味する異常終了応答が発行される。
Further, when the detection unit 401 detects the mark shown by P in FIG. 9(a) during the recording operation, it controls the switching unit 402 to connect the terminals R and T. On the other hand, magnetic tape writing unit 404
When the recording of the digital data stored in the buffer 14o3 onto the magnetic tape is completed, the switching unit 4
The mode shifts to a mode in which digital data transferred via the terminal T of 02 in synchronization with the recording speed is directly recorded onto the magnetic tape. At this time, if writing to the magnetic tape is completed, a normal completion response indicating completion of writing to the magnetic tape is issued to the external device, but before the writing is completed, O When the logical end shown in is detected, an abnormal end response is issued to the external device indicating that writing to the magnetic tape could not be completed.

以上のように従来例では、論理的終端よりもバッファ4
03の容量だけ前に設定された目印を検知すると、バッ
ファ403へのデータ転送を中止して磁気テープに直接
書き込むモードに移行することにより磁気テープの残り
容量を越えるディジタルデータをバッファ403に受は
取ることがないとする保護処理を実現している。
As described above, in the conventional example, the buffer 4 is
When the mark set previously by the capacity of 03 is detected, the data transfer to the buffer 403 is stopped and the mode shifts to a mode in which data is written directly to the magnetic tape, thereby preventing the buffer 403 from receiving digital data that exceeds the remaining capacity of the magnetic tape. We have implemented a protective process that prevents any damage.

発明が解決しようとする課題 しかしながら上記従来の構成では、第9図(b)のUに
示すように磁気テープ上に傷などディジタルデータを正
しく記録できない領域がある場合、バッファ103に記
憶された正常終了応答済みのディジタルデータを磁気テ
ープ上に記録完了できない場合があるという問題点と、
検知部401が記録動作中に第9図(a)のPに示す目
印と0に示す論理的終端を正確に検知することができな
ければ論理的終端以降にまでディジタルデータを記録し
てしまう場合があり、著しくデータ信頼性を低下させる
という問題点を有していた。そのために、少なくとも事
前に目印を正確な位置に設定した加工済みの磁気テープ
が必要であり、汎用性にがけるという問題点も有してい
た。
Problems to be Solved by the Invention However, in the conventional configuration described above, when there is an area on the magnetic tape where digital data cannot be recorded correctly, such as a scratch, as shown in U in FIG. The problem is that it may not be possible to complete recording of the digital data for which the completion response has been completed on the magnetic tape.
If the detection unit 401 is unable to accurately detect the mark indicated by P and the logical end indicated by 0 in FIG. 9(a) during the recording operation, digital data will be recorded beyond the logical end. However, this method had the problem of significantly reducing data reliability. For this purpose, a processed magnetic tape with at least marks set at accurate positions is required, which also poses a problem in that it lacks versatility.

本発明は上記従来の問題点を解決するもので、目印の設
定等の特殊な加工済み磁気テープを必要とせず、さらに
磁気テープ上に傷がある場合や磁気テープの終端付近の
検知精度が低くとも正常終了応答済みの・ディジタルデ
ータを高信頼性を確保しながら磁気テープに書き込み完
了するディジタルデータ記録装置を提供することを目的
とする。
The present invention solves the above-mentioned conventional problems, and does not require specially processed magnetic tape such as setting marks, and furthermore, detection accuracy is low when there are scratches on the magnetic tape or near the end of the magnetic tape. It is an object of the present invention to provide a digital data recording device that can complete writing of digital data to a magnetic tape while ensuring high reliability.

課題を解決するための手段 この目的を達成するために本発明のディジツノ1データ
記録装置は、通信手段と、外部データを一時記憶するバ
ッフ1と、前記外部データを磁気ラーゾに記録する磁気
記録部と、速度検出手段と菜度比較手段とからなる終端
近傍検知手段と、前81磁気テープの物理的終端を検知
する終端検知手Pと、残量記憶手段と、前記磁気テープ
への記録重作を開始させる記録開始保護機能と、終端近
傍記録保護機能とを具備してなる構成を有している。
Means for Solving the Problems To achieve this object, the digital data recording device of the present invention includes a communication means, a buffer 1 for temporarily storing external data, and a magnetic recording section for recording the external data on a magnetic recording medium. , an end vicinity detection means comprising a speed detection means and a speed comparison means, an end detection means P for detecting the physical end of the front 81 magnetic tape, a remaining amount storage means, and a heavy recording operation on the magnetic tape. It has a configuration including a recording start protection function for starting the recording and a recording protection function near the end.

作用 本発明は上記した構成により、記録動作中にp端近傍検
知手段が磁気テープの終端付近となっ六ことを検出する
と、終端近傍記録保護機能によζバッファへのデータ転
送を一時的に中断させたV態で磁気記録部に記録動作を
実行させ、記録励信が正常に完了可能であることを確認
するから、彰端近傍検知手段の検知精度には影響されず
、磁気テープ上の実際の状態に即して記録可能かを判酌
することとなるから正常終了応答を誤らないこきになる
。また、転送再開後は正常記録ができると確認できた領
域に対して改めて記録するので、データ信頼性が高い。
According to the above-described structure, when the p-end proximity detection means detects near the end of the magnetic tape during recording operation, the end-near record protection function temporarily interrupts data transfer to the ζ buffer. Since the magnetic recording unit executes the recording operation in the V state of the Since it is necessary to judge whether recording is possible according to the state of the data, it is important not to make a mistake in responding to a normal end response. Further, after restarting the transfer, data is recorded again in the area where normal recording has been confirmed, so data reliability is high.

あるいは上記した構成により、記録動作中に終端近傍検
知手段が磁気テープの終端付近となったことを検出する
と、終端近傍記録保護機能によりバッフ1へのデータ転
送を一時的に中断させた状態で磁気記録部に磁気テープ
の記録可能な残量を測定させるから、終端近傍検知手段
の検知精度には影響されず、磁気テープ上の実際の状態
に即して測定できた記録可能な残量を基に判断すること
ができ正常終了応答を誤らない。またやはり、転送再開
後は正常記録ができると確認できた領域に対して改めて
記録するので、データ信頼性が高い。
Alternatively, with the above configuration, when the near-end detection means detects near the end of the magnetic tape during the recording operation, the near-end recording protection function temporarily suspends data transfer to buffer 1 and automatically detects the end of the magnetic tape. Since the recording unit measures the remaining recordable amount of the magnetic tape, it is not affected by the detection accuracy of the near-end detection means, and is based on the remaining recordable amount that can be measured according to the actual state on the magnetic tape. You can judge the successful completion response without making any mistakes. Furthermore, after restarting the transfer, data is recorded again in the area where it has been confirmed that normal recording can be performed, so data reliability is high.

また、終端近傍検知手段は送り出し側のリール台の回転
速度が規定値以下となったことから終端近傍にあること
を検知するから、目印加工など磁気テープの制御用加工
の必要性をなくする。
In addition, since the end proximity detection means detects that the reel is near the end when the rotational speed of the reel stand on the sending side becomes less than a specified value, it eliminates the need for control processing of the magnetic tape such as mark processing.

実施例 以下、本発明の一実施例について、図面を参照しながら
説明する。
EXAMPLE Hereinafter, an example of the present invention will be described with reference to the drawings.

第1図は、本発明の第1の実施例におけるディジタルデ
ータ記録装置の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a digital data recording apparatus in a first embodiment of the present invention.

第1図において、1は外部装置から転送されるディジタ
ルデータと制御命令とを送信受信する通信部、2はディ
ジタルデータを一時記憶するバッファ、3はディジタル
データを磁気テープに記録再生する磁気記録再生部、4
は磁気テープが終端付近に達すれば終端近傍信号として
真を出力する終端近傍検知器、5は終端近傍記録保護機
能を備えたマイクロプロセッサ(以下、CPUと略す。
In FIG. 1, 1 is a communication unit that transmits and receives digital data and control commands transferred from an external device, 2 is a buffer that temporarily stores digital data, and 3 is a magnetic recording/reproducing unit that records and reproduces digital data on a magnetic tape. Part, 4
5 is a near-end detector which outputs true as a near-end signal when the magnetic tape reaches near the end, and 5 is a microprocessor (hereinafter abbreviated as CPU) equipped with a near-end recording protection function.

)であり、終端近傍検知器4は磁気テープの送出側リー
ルの回転速度を検出する速度検出器6と、回転速度が予
め設定された規定速度以下となれば終端近傍信号として
真を出力する速度比較器7とで構成されている。
), and the near-end detector 4 includes a speed detector 6 that detects the rotational speed of the output reel of the magnetic tape, and a speed detector 6 that outputs true as a near-end signal when the rotational speed becomes less than a preset specified speed. It is composed of a comparator 7.

以上のように構成された本実施例のディジタルデータ記
録!装置について、以下その動作について説明する。先
ず、CPU5は通信部1の端子Aと端子Bとを接続させ
、外部装置から制御命令を受信し、制御命令が磁気テー
プへの記録動作を示すものであれば終端近傍記録保護機
能を開始する。
Digital data recording of this embodiment configured as above! The operation of the device will be explained below. First, the CPU 5 connects terminals A and B of the communication section 1, receives a control command from an external device, and starts the near-end recording protection function if the control command indicates a recording operation on the magnetic tape. .

第2図は、上記終端近傍記録保護機能の手順を示すフロ
ーチャートである。CPU5は第2図のステップ101
で通信部1を制御し、端子Aと端子Cを接続させ、外部
装置からバッファ2への記録すべきディジタルデータの
高速転送を開始させると共に、ステップ102で制御命
令が示す記録容量情報を磁気記録再生部3に与え、バッ
ファ2から転送されるディジタルデータを磁気テープに
記録開始させ、更にステップ103とステップ104と
ステップ105からなる終端近傍判定ループを巡回する
。一方、記録動作中速度検出器6は磁気テープの送出側
リール台の回転速度を検出し、速度比較器7は回転速度
が予め設定された規定速度以下となれば終端近傍信号と
して真を出力することで磁気テープが終端近傍にあるこ
とをCPU5に伝達する。CPU5は、終端近傍判宇ル
ープのステップ105で終端近傍にあることを検知する
とステップ106で通信部1の端子Aを端子りに接続し
、外部装置からバッフ12へのデータ転送を一時的に中
断させる。磁気記録再生部3はバッファ2に記憶された
ディジタルデータを磁気テープ上に記録し、それに引続
き指定された容量分の記録を完了するまでバッファ2内
に残っていた無意味なデータを磁気テープに記録する。
FIG. 2 is a flowchart showing the procedure of the above-mentioned end-near-record protection function. The CPU 5 performs step 101 in FIG.
controls the communication unit 1, connects the terminal A and the terminal C, starts high-speed transfer of digital data to be recorded from the external device to the buffer 2, and magnetically records the recording capacity information indicated by the control command in step 102. The signal is supplied to the reproducing section 3 to start recording the digital data transferred from the buffer 2 onto the magnetic tape, and then the end vicinity determination loop consisting of step 103, step 104, and step 105 is cycled. On the other hand, during the recording operation, the speed detector 6 detects the rotational speed of the reel stand on the output side of the magnetic tape, and the speed comparator 7 outputs true as a signal near the end when the rotational speed becomes less than a preset specified speed. This notifies the CPU 5 that the magnetic tape is near the end. When the CPU 5 detects that it is near the end in step 105 of the near-end loop, it connects the terminal A of the communication unit 1 to the terminal in step 106, and temporarily interrupts data transfer from the external device to the buffer 12. let The magnetic recording and reproducing section 3 records the digital data stored in the buffer 2 onto the magnetic tape, and subsequently records the meaningless data remaining in the buffer 2 onto the magnetic tape until the recording of the specified capacity is completed. Record.

第3図は、磁気テープの状態を示す図であるが、テープ
巻き取りむらなどのために終端近傍検知器が終端近傍信
号として真を出力開始する位置は第3図(a)のEの範
囲に示すように公差を持っているが、磁気テープの記録
可能な終端である物理的終端位置まではFに示すように
バッファ2の容量に対して十分大きな記録容量が確保さ
れている。
FIG. 3 is a diagram showing the state of the magnetic tape. Due to uneven tape winding, etc., the position where the near-end detector starts outputting true as the near-end signal is within the range E in FIG. 3(a). Although there is a tolerance as shown in F, a sufficiently large recording capacity is secured for the capacity of the buffer 2 as shown in F up to the physical end position which is the recordable end of the magnetic tape.

いま、外部装置からのデータ転送の一時的中断が発生し
た位置を第3図(b)の矢印Gに示し、その時点でバッ
ファ2に記憶されていたディジタルデータの記録完了位
置を矢印Hに、指定された容量分の無意味なデータの記
録の完了位置を矢印Iにそれぞれ示す。図中矢印Jは磁
気記録再生部3がリードアフターライト方式により記録
動作中に発見した磁気テープ上の傷などによる異常領域
であり、この領域に対する記録は無効とされ、それに続
く領域に再度正しいデータが記録されている。
Now, the position where the temporary interruption of data transfer from the external device has occurred is indicated by arrow G in FIG. Arrows I indicate the completion positions of recording of the designated capacity of meaningless data. Arrow J in the figure indicates an abnormal area due to scratches or the like on the magnetic tape that was discovered by the magnetic recording/reproducing unit 3 during the recording operation using the read-after-write method.The recording to this area is invalidated, and the correct data is re-recorded in the following area. is recorded.

CPU5は磁気記録再生部3の記録動作が終了すると、
第2図ステップ107で磁気記録再生部3から記録動作
の結果の情報を受は取り、ステップ108でそれが正常
な記録動作の完了を示していたときステップ109に進
み、通信部1の端子Aと端子Cを接続し、外部装置から
バッファ2へのディジタルデータの転送を再開させ、ス
テップ110で磁気記録再生部3に第3図の矢印Hから
の記録動作をm示し、記録開始させる。更にCPU5は
、ステップ111で外部装置からバッファ2へのデータ
転送が完了したことを検知すると、ステップ112で通
信部1の端子Aと端子Bを接続し外部装置に正常終了応
答を発行して終端近傍記録保護機能の手順を終了する。
When the recording operation of the magnetic recording/reproducing section 3 is completed, the CPU 5
In step 107 of FIG. 2, information on the result of the recording operation is received from the magnetic recording/reproducing section 3, and when the information indicates that the recording operation has been completed normally in step 108, the process proceeds to step 109, and the terminal A of the communication section 1 and terminal C are connected to restart the transfer of digital data from the external device to the buffer 2, and in step 110, the magnetic recording/reproducing section 3 is instructed to perform a recording operation from arrow H in FIG. 3 to start recording. Furthermore, when the CPU 5 detects that the data transfer from the external device to the buffer 2 is completed in step 111, it connects terminal A and terminal B of the communication unit 1 in step 112, issues a normal completion response to the external device, and terminates the data transfer. Finish the procedure of the nearby record protection function.

最終的に磁気記録再生部3によって形成される磁気テー
プの状態を第3図(C)に示す。矢印Jの領域は第3図
(b)の場合と同様に無効領域とする処理が実行され、
矢印Hから矢印Iまでの領域にディジタルデータが正し
く記録完了されている。
The state of the magnetic tape finally formed by the magnetic recording/reproducing section 3 is shown in FIG. 3(C). The area indicated by arrow J is treated as an invalid area in the same way as in the case of FIG. 3(b), and
Digital data has been correctly recorded in the area from arrow H to arrow I.

また、逆にステップ108で記録動作が正常終了できな
かった場合、ステップ113で異常終了応答を発行して
制御命令による記録動作が正常終了できなかったことを
外部装置に示し、終端近傍記録保護機能の手順を終了す
る。
On the other hand, if the recording operation cannot be completed normally in step 108, an abnormal termination response is issued in step 113 to indicate to the external device that the recording operation according to the control command could not be completed normally, and the recording protection function near the end is executed. Finish the steps.

あるいは記録動作が磁気テープの終端付近ではなかった
場合、ステップ103で記録動作が正常終了したことを
検知するか、ステップ104で外部装置からバッファ2
へのデータ転送が完了したことを検知するとCPU5は
ステップ112に跳び、制御命令による記録動作が正常
終了したことを示す正常終了応答を外部装置へ出力して
終端近傍記録保護機能の手順を終了する。
Alternatively, if the recording operation is not near the end of the magnetic tape, in step 103 it is detected that the recording operation has ended normally, or in step 104 the external device sends the buffer 2
When the CPU 5 detects that the data transfer to has been completed, it jumps to step 112, outputs a normal end response to the external device indicating that the recording operation according to the control command has ended normally, and ends the procedure of the near-end recording protection function. .

以上のように本実施例によれば、磁気テープ終端近傍以
外の領域ではバッファ2を設けたことによる外部装置と
のデータ転送を短時間で完了する機能を残したまま、終
端近傍信号が真となれば外部装置からバッファ2へのデ
ータ転送を一時的に中断した状態で、制御命令が要求す
るデータ量相当の記録動作を実行し、その記録動作が正
常終了することで要求されたデータ量相当の記録可能な
領域を磁気テープ上に確保することができ、その後デー
タ転送を再開して確保した領域に外部装置から転送され
るディジタルデータを改めて記録する終端近傍記録保護
機能を備えたことにより、終端近傍検知器4の検出精度
が低くとも、また、磁気テープ上に傷などディジタルデ
ータを正しく記録できない領域がある場合であっても、
外部装置に対して記録動作の結果を示す応答を誤って発
行することがな(、シかも実際に正しくデータを記録す
ることができた領域に改めて記録するのであるから高い
データ信頼性を確保したまま物理的終端付近まで記録す
ることができるものである。
As described above, according to this embodiment, in areas other than the vicinity of the end of the magnetic tape, the signal near the end of the magnetic tape remains true while retaining the function of completing the data transfer with the external device in a short time due to the provision of the buffer 2. If so, the data transfer from the external device to buffer 2 is temporarily interrupted, a recording operation corresponding to the amount of data requested by the control command is executed, and when the recording operation is completed normally, the amount of data equivalent to the requested amount is recorded. By being equipped with a near-end recording protection function, it is possible to secure a recordable area on the magnetic tape, and then resume data transfer and re-record the digital data transferred from the external device in the secured area. Even if the detection accuracy of the near-end detector 4 is low, or even if there are scratches or other areas on the magnetic tape where digital data cannot be recorded correctly,
High data reliability is ensured because a response indicating the result of a recording operation is not erroneously issued to an external device (and data is recorded again in an area where data was actually recorded correctly). It is possible to record to the vicinity of the physical end.

また、終端近傍検知器は磁気テープの送出側リール台の
回転速度を基に検知するのであるから磁気テープになん
らかの目印を事前に設定しておく必要がなく、汎用性が
高いものである。
Furthermore, since the near-end detector detects based on the rotational speed of the reel stand on the output side of the magnetic tape, there is no need to set any kind of mark on the magnetic tape in advance, and it is highly versatile.

第4図は、本発明の第2の実施例と第3の実施例におけ
るディジタルデータ記録装置の構成を示すブロック図で
ある。
FIG. 4 is a block diagram showing the configuration of a digital data recording apparatus in a second embodiment and a third embodiment of the present invention.

第4図において、上述した第1の実施例の構成と同一箇
所には同一符号を附して説明を省略する。
In FIG. 4, parts that are the same as those in the first embodiment described above are designated by the same reference numerals, and the description thereof will be omitted.

第1図と異なるのは、CPU5が記録開始保護機能と容
量情報確認機能と新たな終端近傍記録保護機能を具備し
てなることと、磁気テープ上の予め設定された位置に記
録された磁気テープの容量情報を読み出す容量情報取得
部8と、磁気テープの容量情報と残量情報とを記憶する
メモリ9と、磁気テープの物理的終端を速度検出器6の
出力がゼロとなったことから検知する終端検知器10を
設けたことである。
The difference from FIG. 1 is that the CPU 5 is equipped with a recording start protection function, a capacity information confirmation function, and a new end-near-record protection function, and the magnetic tape is recorded at a preset position on the magnetic tape. A capacity information acquisition unit 8 reads capacity information of the magnetic tape, a memory 9 stores capacity information and remaining amount information of the magnetic tape, and detects the physical end of the magnetic tape when the output of the speed detector 6 becomes zero. This is because the termination detector 10 is provided.

以上のように構成された第2の実施例のディジタルデー
タ記録再生装置について、以下その動作について説明す
る。先ず、容量情報取得部8は磁気テープが実装される
と磁気記録再生部3を制御ル、磁気テープの始端付近の
予め設定された特定領域に記録された磁気テープの容量
情報を読み出し、CPU5に転送する。CPU5は容量
情報に基づき記録可能な残り容量である残量情報を算出
し、容量情報と残量情報とをメモリ9に記憶させる。
The operation of the digital data recording/reproducing apparatus of the second embodiment configured as described above will be explained below. First, when the magnetic tape is mounted, the capacity information acquisition section 8 controls the magnetic recording and reproducing section 3, reads out the capacity information of the magnetic tape recorded in a preset specific area near the starting end of the magnetic tape, and sends it to the CPU 5. Forward. The CPU 5 calculates remaining capacity information, which is the remaining recordable capacity, based on the capacity information, and stores the capacity information and remaining capacity information in the memory 9.

次に、CPU5は通信部1の端子Aと端子Bとを接続さ
せ、外部装置から制御命令を受信し、制であると判断す
るかまたはステップ201とステップ202で残量情報
が有効であり、且つ、制御命令が要求する記録容量が残
量以下であると判断したとき、磁気テープへの記録動作
を制御する終端近傍記録保護機能の手順を開始する。ま
た、ステップ201とステップ202で残量情報が有効
であり、且つ、制御命令が要求する記録容量が残量未清
であると判断したとき、ステップ203で制御命令の要
求が実現不可能であることを意味する異常終了応答を外
部装置に出力して記録開始保テップ101で外部装置か
らバッファ2への記録すべきディジタルデータの高速転
送を開始させると共に、ステップ102で磁気記録再生
部3に上記磁気テープへの記録動作を開始させ、更にス
テップ103.ステップ104.ステップ105゜ステ
ップ204からなる終端近傍判定ループを巡回する。一
方、記録動作中速度検出器6は磁気テープが終端近傍に
くれば終端近傍信号として真を出力し、CPU5は、終
端近傍判定ループのステップ105とステップ204と
容量情報確認機能の手順とで終端近傍にあり、且つ、残
量情報が無効であることを検知するとステップ106で
外部装置からバッフ12へのデータ転送を一時的に中断
させ、ステップ205で磁気記録再生部3に磁気テープ
の物理的終端を検出するまで記録動作を、継続するよう
に指示を変更する。磁気記録再生部3はバッファ2に記
憶されたディジタルデータを磁気テープ上に記録し、そ
れに引続き終端検知器10が磁気テープの物理的終端を
検出するまでバッファ2内に残っていた無意味なデータ
を磁気テープ上に記録する。
Next, the CPU 5 connects the terminal A and the terminal B of the communication unit 1, receives a control command from the external device, and determines that the control is enabled or that the remaining amount information is valid in steps 201 and 202. Further, when it is determined that the recording capacity requested by the control command is less than the remaining capacity, the procedure of the near-end recording protection function that controls the recording operation on the magnetic tape is started. Further, when it is determined in step 201 and step 202 that the remaining capacity information is valid and that the recording capacity requested by the control command is not full, the remaining capacity information is determined to be unrealizable in step 203. An abnormal end response indicating that the The recording operation on the magnetic tape is started, and step 103. Step 104. Step 105: The terminal neighborhood determination loop consisting of step 204 is cycled. On the other hand, during the recording operation, the speed detector 6 outputs true as the near-end signal when the magnetic tape comes near the end, and the CPU 5 determines whether the magnetic tape is near the end in steps 105 and 204 of the near-end determination loop and the procedure of the capacity information confirmation function. If it is detected that the remaining capacity information is invalid in the vicinity, data transfer from the external device to the buffer 12 is temporarily interrupted in step 106, and in step 205, the magnetic recording/reproducing unit 3 is informed of the physical state of the magnetic tape. Change the instruction to continue recording until the end is detected. The magnetic recording/reproducing section 3 records the digital data stored in the buffer 2 onto the magnetic tape, and subsequently records the meaningless data remaining in the buffer 2 until the end detector 10 detects the physical end of the magnetic tape. recorded on magnetic tape.

第6図は、磁気テープの状態を示す図であり、第6図(
a)で矢印には記録状態に充分な宿願性を確保するため
に設けられた論理的終端位置を示す。
FIG. 6 is a diagram showing the state of the magnetic tape, and FIG.
In a), the arrow indicates the logical end position provided to ensure sufficient presumptiveness in the recording state.

終端近傍検知器4が終端近傍信号として真を出力し始め
る位置はEに示す公差を持っているが、磁気テープの使
用すべき領域の終端である論理的終端位置まではLに示
すようにバッファ2の容量に対して十分大きな記録容量
が確保されている。いま、外部装置からのデータ転送の
一時的中断が発生した位置を第6図(b)の矢印Gに示
し、バッファ2に記憶されていたディジタルデータの記
録完了位置を矢印Hに、磁気記録再生部3が無効とした
異常領域を矢印Jにそれぞれ示す。CPU5は動作の結
果の情報を受は取り、ステップ208で第6図(b)の
矢印Hから物理的終端までの領域で正常に記録できた容
量から予め設定された規定容量を減じた値、即ち第6図
(b)の矢印Kに示す論理的終端位置までに記録可能な
容量を残量情報として算出し、メモリ9にを効な情報と
して記憶させる。CPU5はステップ207で、制御命
令が要求する記録容量の未記録分が残量情報以上である
と判断したときステップ109に進み、外部装置からバ
ッファ2へのディジタルデータの転送を再開させ、ステ
ップ110で磁気記録再生部3に第6図(b)の矢印H
からの記録動作を指示し、記録開始させる。更に、CP
U5は、ステップ111で外部装置からバッファ2への
データ転送が完了したことを検知すると、ステップ11
2で外部装置に正常終了応答を発行して終端近傍記録保
護機能の手順を終了する。最終的に磁気記録再生部3に
よって形成される磁気テープの状態を第6図(C)に示
す。矢印Jの領域は第6図(b)の場合と、−同様に無
効領域とする処理が実行され、矢印Hから矢印Iまでの
領域に外部ディジタルデータが正しく記録完了されてい
る。
The position where the near-end detector 4 starts outputting true as the near-end signal has a tolerance shown in E, but up to the logical end position, which is the end of the area to be used on the magnetic tape, a buffer is used as shown in L. A sufficiently large recording capacity is secured for the capacity of 2. Now, the position where the temporary interruption of data transfer from the external device has occurred is shown by arrow G in FIG. The abnormal areas invalidated by the unit 3 are indicated by arrows J, respectively. The CPU 5 receives information on the results of the operation, and in step 208 calculates a value obtained by subtracting a preset specified capacity from the capacity normally recorded in the area from arrow H to the physical end in FIG. 6(b), That is, the capacity that can be recorded up to the logical end position shown by the arrow K in FIG. 6(b) is calculated as remaining capacity information, and is stored in the memory 9 as valid information. When the CPU 5 determines in step 207 that the unrecorded portion of the recording capacity requested by the control command is greater than or equal to the remaining amount information, the CPU 5 proceeds to step 109, restarts the transfer of digital data from the external device to the buffer 2, and then proceeds to step 110. 6(b) to the magnetic recording/reproducing section 3.
Instruct the recording operation from , and start recording. Furthermore, C.P.
When U5 detects that the data transfer from the external device to buffer 2 is completed in step 111, U5 performs step 11.
At step 2, a normal end response is issued to the external device, and the procedure of the near-terminus recording protection function is ended. The state of the magnetic tape finally formed by the magnetic recording/reproducing section 3 is shown in FIG. 6(C). The area indicated by arrow J is treated as an invalid area in the same manner as in FIG. 6(b), and external digital data has been correctly recorded in the area from arrow H to arrow I.

また、逆にステップ207で制御命令が要求する記録容
量の未記録分が残量情報以上であると判断した場合、ス
テップ113で異常終了応答を発行して制御命令による
記録動作が正常終了できなかったことを外部装置に示し
、終端近傍記録保護機能の手順を終了する。
Conversely, if it is determined in step 207 that the unrecorded portion of the recording capacity requested by the control command is greater than or equal to the remaining capacity information, an abnormal end response is issued in step 113, indicating that the recording operation by the control command cannot be completed normally. This is indicated to the external device, and the procedure for the near-terminus recording protection function ends.

あるいは記録動作が磁気テープの終端付近ではなかった
場合、ステップ103で記録動作が正常終了したことを
検知するか、ステップ104で外部装置からバッファ2
へのデータ転送が完了したことを検知するとCPU5は
ステップ112に跳び、制御命令による記録動作が正常
終了したことを示す正常終了応答を外部装置へ出力して
終端近傍記録保護機能の手順を終了する。
Alternatively, if the recording operation is not near the end of the magnetic tape, in step 103 it is detected that the recording operation has ended normally, or in step 104 the external device sends the buffer 2
When the CPU 5 detects that the data transfer to has been completed, it jumps to step 112, outputs a normal end response to the external device indicating that the recording operation according to the control command has ended normally, and ends the procedure of the near-end recording protection function. .

容量情報確認機能の手順について、以下に説明する。C
PU5はステップ105で終端近傍信号が真となったこ
とを検知すればステップ208に進み、磁気テープの記
録済み領域総容量すなわち磁気テープの始端から第6図
(b)の矢印Gに示す終端近傍信号が真となった位置ま
での領域の総容量が、終端近傍検知器の検知許容範囲か
ら磁気テープの論理的終端位置までの最大容量すなわち
第6図(a)の矢印Mに示す容量を容量情報から減じた
値以下であれば、実際の磁気テープに記録可能な容量は
容量情報より少なく、誤った情報であ“ると判断し、ス
テップ209でメモリ9に記憶されている容量情報と残
量情報とを無効とする。その場合ステップ204以降の
処理で上述したように磁気テープの残量が求められるこ
とになる。
The procedure for the capacity information confirmation function will be explained below. C
If the PU 5 detects that the near-end signal becomes true in step 105, it proceeds to step 208, and moves from the total recorded area capacity of the magnetic tape, that is, from the beginning of the magnetic tape to the near end shown by arrow G in FIG. 6(b). The total capacity of the area up to the position where the signal becomes true is the maximum capacity from the detection tolerance range of the near-end detector to the logical end position of the magnetic tape, that is, the capacity shown by arrow M in Figure 6(a). If it is less than the value subtracted from the information, it is determined that the actual recordable capacity of the magnetic tape is less than the capacity information and is incorrect information, and in step 209 the capacity information stored in the memory 9 is compared with the remaining capacity information. In this case, the remaining amount of the magnetic tape is determined as described above in the processing from step 204 onwards.

以上のように本実施例によれば、磁気テープ終端近傍以
外の領域ではバッファ2を設けたことによる外部装置と
のデータ転送を短時間で完了する機能を残したまま、終
端近傍信号が真となれば外部装置からバッファ2へのデ
ータ転送を一時的に中断した状態で、磁気テープの記録
可能な残量を実際に記録動作を実行することによって正
確に測定し、得られた残量情報を基に制御命令を完了で
きるか判断する終端近傍記録保護機能を備えたことによ
り、終端近傍検知器4の検出精度が低くとも、また磁気
テープ上に傷などディジタルデータを正しく記録できな
い領域が含まれていても、外部装置に対する制御命令に
対応した応答を誤って発行することが無く、高いデータ
初期信頼性を確保したまま論理的終端まで記録すること
ができるものである。しかも、論理的終端位置を極めて
高い制度で特定できるから論理的終端までの経年劣化に
よる信頼性低下が極めて小さい領域にデータを記録する
ことができ、長期間にわたって高い信頼性を保持するデ
ータ記録を実現することができるものである。
As described above, according to this embodiment, in areas other than the vicinity of the end of the magnetic tape, the signal near the end of the magnetic tape remains true while retaining the function of completing the data transfer with the external device in a short time due to the provision of the buffer 2. If so, it is possible to accurately measure the remaining recordable capacity of the magnetic tape by actually performing a recording operation while temporarily suspending data transfer from the external device to buffer 2, and to use the obtained remaining capacity information. Equipped with a near-end recording protection function that determines whether a control command can be completed based on the detection accuracy of the near-end detector 4, the magnetic tape can contain scratches or other areas where digital data cannot be recorded correctly. Even if the data is stored in the external device, a response corresponding to a control command to an external device is not erroneously issued, and data can be recorded to the logical end while maintaining high initial data reliability. Moreover, since the logical end position can be specified with extremely high accuracy, data can be recorded in an area where reliability deterioration due to aging up to the logical end is extremely small, resulting in data recording that maintains high reliability over a long period of time. It is something that can be realized.

また、CPU5が記録開始保護機能を備えたことにより
、磁気テープ上に予め記録された容量情報が得られるか
、終端近傍記録保護機能によって有効な残量情報が得ら
れれば、その情報に基づいて各制御命令による記録動作
が完了可能かどうがを判定するから、テープ終端近傍に
あっても論理的終端まで極めて円滑な記録動作を、また
極めて短時間の外部装置とのデータ転送を実現すること
ができる。しかも容量情報が誤りである場合にも誤りで
あることを検知し、終端近傍記録保護機能によって正確
な残量情報を改めて計測するから決して誤った応答を発
行することがない。
In addition, if the CPU 5 is equipped with a recording start protection function, it is possible to obtain capacity information prerecorded on the magnetic tape, or if valid remaining capacity information is obtained by the end-near-recording protection function, it is possible to Since it is determined whether the recording operation according to each control command can be completed, it is possible to realize an extremely smooth recording operation up to the logical end even if the tape is near the end, and data transfer with an external device in an extremely short time. Can be done. Moreover, even if the capacity information is erroneous, it is detected as being erroneous, and accurate remaining capacity information is measured again using the near-terminus recording protection function, so an erroneous response is never issued.

最後に、本発明の第3の実施例のディジタルデータ記録
再生装置について説明する。第3の実施例の構成は第4
図に示す第2の実施例の構成図と同一の構成図にて表わ
されるが、第2の実施例と異なるのはCPU5が新たな
終端近傍記録保護機能を具備してなることである。
Finally, a digital data recording/reproducing apparatus according to a third embodiment of the present invention will be described. The configuration of the third embodiment is as follows.
Although the configuration diagram is the same as that of the second embodiment shown in the figure, the difference from the second embodiment is that the CPU 5 is equipped with a new end-near-record protection function.

以上のように構成された本発明の第3の実施例について
、以下その動作について説明する。先ず、容量情報取得
部8とCPU5は磁気テープが実装されると磁気テープ
の容量情報を読み出し、容量情報と残量情報とをメモリ
9に記憶させ、次にCPU5は外部装置から制御命令を
受信し、制御命令が記録動作を要求するものであれば記
録開始保護機能の手順を実行し、制御命令が実行完了不
可能でないならば終端近傍記録保護機能の手順を開始す
ることは第2の実施例と同一である。
The operation of the third embodiment of the present invention configured as described above will be described below. First, the capacity information acquisition unit 8 and the CPU 5 read the capacity information of the magnetic tape when the magnetic tape is mounted, and store the capacity information and remaining capacity information in the memory 9. Next, the CPU 5 receives a control command from an external device. However, if the control command requests a recording operation, the procedure of the recording start protection function is executed, and if the control command is not impossible to complete, the procedure of the near end recording protection function is started. Same as example.

第7図は、終端近傍記録保護機能の手順を示すフローチ
ャートである。CPU5は第7図のステップ101から
ステップ106の処理手順を実行し、記録動作中に磁気
テープが終端近傍にあり、且つ、残量情報が無効である
ことを検知すると外部装置からバッフ12へのデータ転
送を一時的に中断させ、ステップ301に進む。ステッ
プ301でバッファ2に記憶されていたディジタルデー
タの磁気テープへの記録が、完了したことを検知すると
、ステップ302で磁気記録再生部3に終端検知器10
が磁気テープの物理的終端を検出するまで検索動作を実
行するように指示を変更する。
FIG. 7 is a flowchart showing the procedure of the near-terminus recording protection function. The CPU 5 executes the processing procedure from step 101 to step 106 in FIG. The data transfer is temporarily interrupted and the process proceeds to step 301. When it is detected in step 301 that the recording of the digital data stored in the buffer 2 onto the magnetic tape is completed, in step 302 the end detector 10 is sent to the magnetic recording/reproducing section 3.
changes the instructions to perform a search operation until it detects the physical end of the magnetic tape.

磁気記録再生部3はテープ走行速度を高速化し、その走
行量を計測しながら上記検索動作を実行する。CPU5
は磁気記録再生部3の検索動作が終了するとステップ1
07で磁気記録再生部3から検索動作の結果の情報を受
は取り、ステップ303で検索動作での磁気テープの走
行量を基にして、物理的終端までの領域の記録可能な容
量を算出し、それから予め設定された規定容量を減じた
値、即ち論理的終端位置までに記録可能な容量を有効な
残量情報としてメモリ9に記憶させる。CPU5はステ
ップ207からステップ112で、制御命令が要求する
記録容量の未記録分が残量情報以下であると判断したと
き外部装置からバッファ2へのディジタルデータの転送
を再開させ、磁気記録再生部3に未記録分の記録を開始
させ、更に外部装置からのデータ転送が完了すれば正常
終了応答を発行して終端近傍記録保護機能の手順を終了
する。
The magnetic recording/reproducing section 3 increases the tape running speed and executes the above search operation while measuring the amount of tape running. CPU5
When the search operation of the magnetic recording/reproducing section 3 is completed, step 1 is performed.
In step 07, the information on the result of the search operation is received from the magnetic recording/reproducing unit 3, and in step 303, the recordable capacity of the area up to the physical end is calculated based on the travel distance of the magnetic tape in the search operation. , and the value obtained by subtracting the preset specified capacity, that is, the capacity that can be recorded up to the logical end position, is stored in the memory 9 as effective remaining capacity information. In steps 207 to 112, when the CPU 5 determines that the unrecorded portion of the recording capacity requested by the control command is less than the remaining amount information, the CPU 5 restarts the transfer of digital data from the external device to the buffer 2, and restarts the magnetic recording/reproducing unit. 3, the recording of the unrecorded portion is started, and further, when the data transfer from the external device is completed, a normal end response is issued and the procedure of the near-terminus recording protection function is ended.

また、逆にステップ207.ステップ113で制御命令
が要求する記録が完了不可能であると判断した場合には
異常終了応答を発行する。一方、記録動作が磁気テープ
の終端付近ではなかった場合、ステップ103.ステッ
プ104で記録動作が正常終了するか外部装置からバッ
フ12へのデータ転送が完了すると正常終了応答を外部
装置へ出力して終端近傍記録保護機能の手順を終了する
Conversely, step 207. If it is determined in step 113 that the recording requested by the control command cannot be completed, an abnormal end response is issued. On the other hand, if the recording operation was not near the end of the magnetic tape, step 103. In step 104, when the recording operation ends normally or the data transfer from the external device to the buffer 12 is completed, a normal end response is output to the external device and the procedure of the near-end recording protection function is ended.

容量情報確認機能の手順については第2の実施例と同一
動作であるので説明を省略する。
Since the procedure of the capacity information confirmation function is the same as that in the second embodiment, the explanation will be omitted.

以上のように本実施例によれば、磁気テープ終端近傍以
外の領域ではバッファ2を設けたことによる外部装置と
のデータ転送を短時間で完了する機能を残したまま、終
端近傍信号が真となれば外部装置からバッファ2へのデ
ータ転送を中断した状態で、磁気テープの記録可能な残
量を高速に検索動作を実行することによって短時間に測
定、算出し、得られた残量情報を基に制御命令を完了で
きるか判断する終端近傍記録保護機能を備えたことによ
り、終端近傍検知器4の検出精度が低くとも、外部装置
に対する制御命令に対応した応答を誤って発行すること
を防止できるものである。しかも論理的終端位置を極め
て短時間に特定できるから記録動作が円滑であり、しか
も経年変化の少ない論理的終端までの領域にデータを記
録することができるものである。
As described above, according to this embodiment, in areas other than the vicinity of the end of the magnetic tape, the signal near the end of the magnetic tape remains true while retaining the function of completing the data transfer with the external device in a short time due to the provision of the buffer 2. If so, the remaining recordable capacity of the magnetic tape can be measured and calculated in a short time by performing a high-speed search operation while data transfer from the external device to buffer 2 is interrupted, and the obtained remaining capacity information can be used. Equipped with a near-terminus record protection function that determines whether a control command can be completed based on the detection accuracy of the close-to-terminal detector 4 prevents erroneously issuing a response corresponding to a control command to an external device, even if the detection accuracy of the near-terminal detector 4 is low. It is possible. Moreover, since the logical end position can be specified in an extremely short time, the recording operation is smooth, and data can be recorded in an area up to the logical end that is less likely to change over time.

なお第2.第3の実施例において、終端検知器10は速
度検出器6の出力を検査することによって物理的終端を
検知する構成としたが、終端検知器10は磁気テープの
物理的終端にあたるリーグ−テープを光学的に検知する
構成としてもよい。
In addition, the second. In the third embodiment, the end detector 10 is configured to detect the physical end by inspecting the output of the speed detector 6, but the end detector 10 detects the league tape, which is the physical end of the magnetic tape. It may also be configured to detect optically.

発明の効果 以上のように本発明のディジタルデータ記録装置は、通
信手段と、外部データを一時記憶する/<ッファと、外
部データを磁気テープに記録する磁気記録部と、終端近
傍検知手段と、磁気テープの物理的終端を検知する終端
検知手段と、残量記憶手段と、磁気テープへの記録動作
を開始させる記録開始保護機能と、終端近傍記録保護機
能とを具備したことにより、通常の記録動作では外部装
置とのデータ転送を短時間で完了する機能を残したまま
、終端近傍検知手段の検知精度が低い場合や磁気テープ
の未記録領域上に傷がある場合においても正常終了応答
済みのディジタルデータを高い信頼性を確保しながら確
実に磁気テープに書き込み完了することができる。また
、終端近傍検知手段を磁気テープの送出側リールの速度
検出手段と速度比較手段とからなる構成としたことによ
り、特殊な加工済みの専用磁気テープを必要としないか
ら、汎用性が高く、安価な磁気テープを供給することが
できる。更に、磁気テープからその容量情報を読み出す
容量情報取得手段と、容量情報を記憶する容量情報記憶
手段とを備え、マイクロプロセッサは容量情報確認機能
を具備することにより、容量情報に基づいた高速な記録
動作の制御を実現可能としながらも、容量情報が磁気テ
ープに記録可能な実際の容量以上の誤った値となってい
たときに誤りを検知するから誤動作を発生することがな
い。即ち、高速なデータ転送を実現しながらも、安価な
磁気テープを用いて高い信頼性のディジタルデータ記録
装置を実現するものであるから、その実用性効果は大な
るものである。
Effects of the Invention As described above, the digital data recording device of the present invention comprises: a communication means, a /< buffer for temporarily storing external data, a magnetic recording section for recording external data on a magnetic tape, a terminal vicinity detection means, Equipped with an end detection means for detecting the physical end of the magnetic tape, a remaining amount storage means, a recording start protection function that starts recording on the magnetic tape, and a recording protection function near the end, it is possible to perform normal recording. In operation, while retaining the ability to complete data transfer with an external device in a short time, it is possible to receive a normal completion response even when the detection accuracy of the near-end detection means is low or there are scratches on the unrecorded area of the magnetic tape. It is possible to reliably complete writing of digital data onto a magnetic tape while ensuring high reliability. In addition, by configuring the near-end detection means to consist of a speed detection means and a speed comparison means for the output reel of the magnetic tape, there is no need for a specially processed dedicated magnetic tape, making it highly versatile and inexpensive. We can supply magnetic tapes of various sizes. Furthermore, the microprocessor is equipped with a capacity information acquisition means for reading the capacity information from the magnetic tape and a capacity information storage means for storing the capacity information, and the microprocessor is equipped with a capacity information confirmation function to perform high-speed recording based on the capacity information. Although it is possible to control the operation, since an error is detected when the capacity information is an erroneous value greater than the actual capacity that can be recorded on the magnetic tape, no malfunction occurs. That is, since it is possible to realize a highly reliable digital data recording device using inexpensive magnetic tape while realizing high-speed data transfer, its practical effects are great.

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

第1図は本発明の第1の実施例におけるディジタルデー
タ記録装置の構成を示すブロック図、第2図は同実施例
のフローチャート、第3図は同実施例の磁気テープの状
態図、第4図は本発明の第2の実施例と第3の実施例に
おけるディジタルデータ記録装置の構成を示すブロック
図、第5図は同実施例におけるフローチャート、第6図
は同実施例の磁気テープの状態図、第7図は第3の実施
例におけるフローチャート、第8図は従来のディジタル
データ記録装置の構成を示すブロック図、第9図は同従
来の磁気テープの状態図である。 1・・・通信部、  2・・・バッフハ  3・・・磁
気記録再生部、  4・・・終端近傍検知器、  5・
・・CP U。 6・・・速度検知器、  7・・・速度比較器、  8
・・・容量情報取得部、  9・・・メモリ、  10
・・・終端検知器。
FIG. 1 is a block diagram showing the configuration of a digital data recording apparatus according to a first embodiment of the present invention, FIG. 2 is a flowchart of the same embodiment, FIG. 3 is a state diagram of a magnetic tape of the same embodiment, and FIG. The figure is a block diagram showing the configuration of a digital data recording apparatus in a second embodiment and a third embodiment of the present invention, FIG. 5 is a flowchart in the same embodiment, and FIG. 6 is a state of the magnetic tape in the same embodiment. 7 is a flowchart of the third embodiment, FIG. 8 is a block diagram showing the configuration of a conventional digital data recording apparatus, and FIG. 9 is a state diagram of the conventional magnetic tape. DESCRIPTION OF SYMBOLS 1...Communication part, 2...Buffer 3...Magnetic recording and reproducing part, 4...Terminal vicinity detector, 5.
...CPU. 6...Speed detector, 7...Speed comparator, 8
. . . Capacity information acquisition unit, 9 . . Memory, 10
... Termination detector.

Claims (6)

【特許請求の範囲】[Claims] (1)外部装置から転送される外部データと制御命令と
を送信受信する通信手段と、 前記外部データを一時記憶するバッファと、前記外部デ
ータを磁気テープに記録する磁気記録部と、 前記磁気テープの終端付近に達すれば終端近傍信号とし
て真を出力する終端近傍検知手段と、前記終端近傍信号
が真となれば前記通信手段の受信動作を停止し、前記制
御命令が要求する記録容量分の記録動作が完了すれば前
記受信動作を再開し、前記受信動作完了を以て前記磁気
テープへの書き込み終了を示す制御命令を前記外部装置
に送信する終端近傍記録保護機能を有するマイクロプロ
セッサとを具備したことを特徴とするディジタルデータ
記録装置。
(1) Communication means for transmitting and receiving external data and control commands transferred from an external device; a buffer for temporarily storing the external data; a magnetic recording section for recording the external data on a magnetic tape; and the magnetic tape. a near-terminus detection means that outputs true as a near-terminus signal when the near-terminus signal reaches the near-terminal end; and a microprocessor having a near-end recording protection function that restarts the receiving operation when the receiving operation is completed, and transmits a control command indicating the end of writing to the magnetic tape to the external device upon completion of the receiving operation. Characteristic digital data recording device.
(2)外部装置から転送される外部データと制御命令と
を送信受信する通信手段と、 前記外部データを一時記憶するバッファと、前記外部デ
ータを磁気テープに記録する磁気記録部と、 前記磁気テープの終端付近に達すれば終端近傍信号とし
て真を出力する終端近傍検知手段と、前記磁気テープの
物理的終端を検知する終端検知手段と、 前記磁気テープの残量情報を記憶する残量記憶手段と、 前記残量情報が無効であるかまたは前記残量情報が有効
であり、且つ、前記制御命令が要求する記録容量が前記
残量以下であるとき前記磁気テープへの記録動作を開始
させる記録開始保護機能と、前記終端近傍信号が真であ
り、且つ、前記残量情報が無効であれば前記通信手段の
受信動作を停止して前記終端検知手段が前記物理的終端
を検知するまで記録動作を続行し、正常に記録されたデ
ータの容量から予め設定された規定容量を減じた値を前
記残量情報として前記残量記憶手段に記憶し、前記制御
命令が要求する未記録の外部データの容量が前記残量情
報以下であれば前記受信動作を再開し、前記受信動作完
了を以て前記磁気テープへの書き込み終了を示す応答を
前記外部装置に送信する終端近傍記録保護機能を有する
マイクロプロセッサとを具備したことを特徴とするディ
ジタルデータ記録装置。
(2) a communication means for transmitting and receiving external data and control commands transferred from an external device; a buffer for temporarily storing the external data; a magnetic recording section for recording the external data on a magnetic tape; and the magnetic tape. a near-end detection means that outputs true as a near-end signal when reaching near the end of the magnetic tape, an end detection means that detects the physical end of the magnetic tape, and a remaining amount storage means that stores information on the remaining amount of the magnetic tape. , a recording start for starting a recording operation on the magnetic tape when the remaining amount information is invalid or the remaining amount information is valid and the recording capacity requested by the control command is less than or equal to the remaining amount; a protection function, and if the terminal proximity signal is true and the remaining amount information is invalid, the receiving operation of the communication means is stopped and the recording operation is continued until the terminal detection means detects the physical terminal. Then, a value obtained by subtracting a preset specified capacity from the capacity of normally recorded data is stored in the remaining capacity storage means as the remaining capacity information, and the capacity of unrecorded external data requested by the control command is stored. a microprocessor having a near-end recording protection function that restarts the reception operation if the remaining capacity information is less than the remaining amount information, and sends a response indicating completion of writing to the magnetic tape to the external device upon completion of the reception operation. A digital data recording device characterized by:
(3)外部装置から転送される外部データと制御命令と
を送信受信する通信手段と、 前記外部データを一時記憶するバッファと、前記外部デ
ータを磁気テープに記録する磁気記録部と、 前記磁気テープを高速に検索する検索手段と、前記磁気
テープの終端付近に達すれば終端近傍信号として真を出
力する終端近傍検知手段と、前記磁気テープの物理的終
端を検知する終端検知手段と、 前記磁気テープの残量情報を記憶する残量記憶手段と、 前記残量情報が無効であるかまたは前記残量情報が有効
であり、且つ、前記制御命令が要求する記録容量が前記
残量以下であるとき前記磁気テープへの記録動作を開始
させる記録開始保護機能と、前記終端近傍信号が真であ
り、且つ、前記残量情報が無効であれば前記通信手段の
受信動作を停止して前記バッファに記憶された外部デー
タを前記磁気テープへ記録し、前記終端検知手段が前記
物理的終端を検知するまで検索動作を実行し、検索され
た前記磁気テープの容量から予め設定された規定容量を
減じた値を前記残量情報として前記残量記憶手段に記憶
し、未転送の前記外部データの容量が前記残量情報以下
であれば前記受信動作を再開し、前記受信動作の完了を
以て前記磁気テープへの書き込み終了を示す応答を前記
外部装置に送信する終端近傍記録保護機能を有するマイ
クロプロセッサとを具備したことを特徴とするディジタ
ルデータ記録装置。
(3) a communication means for transmitting and receiving external data and control commands transferred from an external device; a buffer for temporarily storing the external data; a magnetic recording section for recording the external data on a magnetic tape; and the magnetic tape. a search means for quickly searching for the magnetic tape; a near-end detection means for outputting true as a near-end signal when reaching near the end of the magnetic tape; an end detection means for detecting a physical end of the magnetic tape; remaining capacity storage means for storing remaining capacity information; and when the remaining capacity information is invalid or the remaining capacity information is valid and the recording capacity requested by the control command is less than or equal to the remaining capacity; a recording start protection function for starting a recording operation on the magnetic tape; and if the near end signal is true and the remaining amount information is invalid, the reception operation of the communication means is stopped and the data is stored in the buffer. recorded external data on the magnetic tape, executes a search operation until the end detection means detects the physical end, and subtracts a preset specified capacity from the searched capacity of the magnetic tape. is stored in the remaining amount storage means as the remaining amount information, and if the capacity of the untransferred external data is less than the remaining amount information, the receiving operation is restarted, and upon completion of the receiving operation, the data is transferred to the magnetic tape. A digital data recording device comprising: a microprocessor having a near-end recording protection function that transmits a response indicating completion of writing to the external device.
(4)磁気記録部は、 記録用ヘッドと、 前記記録用ヘッドで前記データを記録した直後に前記磁
気テープから前記データを読み出す再生用ヘッドと、 前記再生ヘッドで読み出したデータを基にして記録され
たデータの信頼性を確認するデータ信頼性解析部と、 前記記録されたデータが信頼性に欠ける場合、少なくと
もそのデータを前記磁気テープ上の異なる領域に再度記
録する記録制御機能とからなる請求項1,2または3記
載のディジタルデータ記録装置。
(4) The magnetic recording unit includes a recording head, a reproduction head that reads the data from the magnetic tape immediately after recording the data with the recording head, and records data based on the data read by the reproduction head. a data reliability analysis unit that confirms the reliability of recorded data; and a recording control function that at least records the data again in a different area on the magnetic tape if the recorded data lacks reliability. The digital data recording device according to item 1, 2 or 3.
(5)磁気テープの終端付近に達すれば終端近傍信号と
して真を出力する終端近傍検知手段と、磁気テープ上の
予め設定された位置に記録された前記磁気テープの容量
情報を読み出す容量情報取得手段と、 前記磁気テープの容量情報を記憶する容量情報記憶手段
と、 前記終端近傍信号が真であり、且つ、前記磁気テープの
記録済みデータの総容量が前記終端近傍検知手段の検知
可能位置から前記磁気テープの終端位置までの最大容量
を前記容量情報から減じた値以下であれば前記容量情報
を無効とする容量情報確認機能を有するマイクロプロセ
ッサとを具備したことを特徴とするディジタルデータ記
憶装置。
(5) Near-end detection means that outputs true as a near-end signal when reaching near the end of the magnetic tape, and capacity information acquisition means that reads capacity information of the magnetic tape recorded at a preset position on the magnetic tape. and capacity information storage means for storing capacity information of the magnetic tape; the near-end signal is true and the total capacity of recorded data on the magnetic tape is within the range from the detectable position of the near-end detection means to the near-end signal. A digital data storage device comprising: a microprocessor having a capacity information confirmation function that invalidates the capacity information if the maximum capacity up to the end position of the magnetic tape is less than the value obtained by subtracting the capacity information from the capacity information.
(6)終端近傍検知手段は、 磁気テープの送出側リールの回転速度を検出する速度検
出手段と、 前記回転速度が予め設定された規定速度以下となれば終
端近傍信号として真を出力する速度比較手段とからなる
請求項1,2,3または5記載のディジタルデータ記録
装置。
(6) The near-end detection means includes a speed detection means that detects the rotational speed of the sending reel of the magnetic tape, and a speed comparison device that outputs true as a near-end signal when the rotational speed becomes less than a preset specified speed. 6. A digital data recording device according to claim 1, comprising means.
JP1288349A 1989-11-06 1989-11-06 Digital data recorder Expired - Fee Related JP2563615B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1288349A JP2563615B2 (en) 1989-11-06 1989-11-06 Digital data recorder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1288349A JP2563615B2 (en) 1989-11-06 1989-11-06 Digital data recorder

Publications (2)

Publication Number Publication Date
JPH03150747A true JPH03150747A (en) 1991-06-27
JP2563615B2 JP2563615B2 (en) 1996-12-11

Family

ID=17729056

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1288349A Expired - Fee Related JP2563615B2 (en) 1989-11-06 1989-11-06 Digital data recorder

Country Status (1)

Country Link
JP (1) JP2563615B2 (en)

Also Published As

Publication number Publication date
JP2563615B2 (en) 1996-12-11

Similar Documents

Publication Publication Date Title
EP0584504B1 (en) Tape format detection system
KR100323319B1 (en) Disc recorder, disc player and disc recorder
JPH03150747A (en) Digital data recording device
EP1050881B1 (en) Signal recording apparatus
US5218487A (en) Audio tape operation on a DAT data storage drive
JP2854438B2 (en) Access control method for optical disk device
JPH0831044A (en) Magnetic tape dubbing system and device therefor
JPH03183050A (en) Data recording method, end searching method and consecutive recording method
JP2565529Y2 (en) Magnetic tape unit
JP3693380B2 (en) Abnormality detection method for magnetic recording / reproducing apparatus
US5991222A (en) Method for writing and searching on a tape for a digital signal writing and reproducing device
JPS6313176A (en) Disk reproducing device
JPH01224962A (en) Music interval detecting circuit
JP3095070B2 (en) Method of positioning tape in magnetic tape device
JP2715417B2 (en) Editing device
JPH076560A (en) Disk recorder, disk reproducing device and disk recording/ reproducing device
JPS558629A (en) Defect avoiding system in magnetic recording device
JP3126829B2 (en) Magnetic tape reading method
JPH0312378B2 (en)
JPH04205837A (en) Magnetic recording and reproducing apparatus
JPH02122489A (en) Magnetic tape device
JPH01271948A (en) Rotary head type magnetic tape device
JPS6326888A (en) Magnetic tape position retrieving method
JP2003109226A (en) Optical disk device
JPH0233706A (en) Magnetic tape device and magnetic tape recording method used the same

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees