JPH01271978A - Pack data detecting method - Google Patents
Pack data detecting methodInfo
- Publication number
- JPH01271978A JPH01271978A JP18302487A JP18302487A JPH01271978A JP H01271978 A JPH01271978 A JP H01271978A JP 18302487 A JP18302487 A JP 18302487A JP 18302487 A JP18302487 A JP 18302487A JP H01271978 A JPH01271978 A JP H01271978A
- Authority
- JP
- Japan
- Prior art keywords
- data
- word
- area
- pack
- bits
- 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
Links
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
Description
【発明の詳細な説明】 以下の順序で本発明を説明する。[Detailed description of the invention] The present invention will be explained in the following order.
A 産業上の利用分野
B 発明の概要
C従来の技術(第4図〜第6図)
D 発明が解決しようとする問題点
E 問題点を解決するための手段(第1図)F 作用
G 実施例
01前提
02通常再生時の検出(第1図)
G3サーチ再生時の検出(第2図、第3図)H発明の効
果
A 産業上の利用分野
本発明は、例えばデジタルオーディオテープレコーダ(
DAT)におけるサブコードのようなパックデータの検
出方法に関する。A. Field of industrial application B. Overview of the invention C. Prior art (Figs. 4 to 6) D. Problem to be solved by the invention E. Means for solving the problem (Fig. 1) F. Effect G. Implementation Example 01 Premise 02 Detection during normal playback (Fig. 1) G3 Detection during search playback (Figs. 2 and 3)
This invention relates to a method for detecting packed data such as subcodes in DAT.
B 発明の概要
本発明はパックデータの検出方法に関し、パリティチェ
ックを行うと共に、パックデータ中の単調変化する部分
の変化をチェックし、これらが正常なとき残りのデータ
も正しいと判断することによって、迅速かつ正確なデー
タの検出を行うことができるようにしたものである。B. Summary of the Invention The present invention relates to a method for detecting packed data, which performs a parity check, checks changes in monotonically changing parts of the packed data, and when these are normal, determines that the remaining data is also correct. This makes it possible to detect data quickly and accurately.
C従来の技術
例えばデジタルオーディオテープレコーダ(DAT)を
用いて、コンピュータのハードディスク等に書込まれた
データの保存(パックアップ)を行う装置が提案されて
いる(特願昭61−305881号参照)。C. Prior Art A device has been proposed that uses, for example, a digital audio tape recorder (DAT) to store (pack up) data written on a computer hard disk or the like (see Japanese Patent Application No. 305881/1983). .
すなわち第4図において、(11はDATの構成を示し
、このD A T (11には回転ヘッドドラム(11
)が設けられ、磁気テープ(12)はこのドラム(11
)の周囲の約90度の範囲に巻付けられて移送されてい
る。そしてこのドラム(11)上には180度の角度間
隔を持ってA、82ケの記録・再生用ヘッドが設けられ
、このドラム(11)の1回転によって2本の傾斜トラ
ックが記録・再生されるようになっている。That is, in FIG.
), and the magnetic tape (12) is attached to this drum (11).
) and is transported by wrapping it around an area of about 90 degrees. On this drum (11), 82 recording and reproducing heads A are provided at angular intervals of 180 degrees, and two inclined tracks are recorded and reproduced by one rotation of this drum (11). It has become so.
一方外部からのデジタルデータは、10回路(13)に
入力され、この10回路(13)からデジタル信号処理
回路(14)に供給されて上述のDATのフォーマット
への変換が行われる。このフォーマット化された信号が
記録アンプ(15) 、記録/再生切換スイッチ(16
)の記録側接点を通じてヘソ)”A、Bに供給され、テ
ープ(12)に記録される。またテープ(12)に記録
された信号がヘッドA、Bで再生されるとこの再生信号
は記録/再生切換スイッチ(16)の再生側接点、再生
アンプ(17)を通じて処理回路(14)に供給され、
逆変換されて取出されたデジタルデータが10回路(1
3)を通じて外部に出力される。On the other hand, external digital data is input to 10 circuits (13), and from these 10 circuits (13), it is supplied to a digital signal processing circuit (14) where it is converted into the above-mentioned DAT format. This formatted signal is sent to the recording amplifier (15) and the recording/playback switch (16).
) is supplied to A and B through the recording side contacts of ) and recorded on the tape (12). Also, when the signal recorded on the tape (12) is played back by heads A and B, this playback signal is recorded. / is supplied to the processing circuit (14) through the playback side contact of the playback selector switch (16) and the playback amplifier (17),
The inversely converted and extracted digital data is passed through 10 circuits (1
3) is output to the outside.
さらに外部からのコントロール信号がシステムコントロ
ール回路(18)に供給され、このコントロール回路(
18)からの信号によってヘッドドラム(11)の回転
制御、テープ(12)の移送制御、スイッチ(16)の
切換制御等が行われると共に、記録時コントロール回路
(18)からの信号が処理回路(14)に供給されて所
定のサブコード信号の形成等が行われる。また再生時に
は処理回路(14)で抽出された信号がコントロール回
路(19)に供給され、トラッキング等の制御が行われ
ると共に、この信号の一部が外部に取出される。Furthermore, a control signal from the outside is supplied to the system control circuit (18), and this control circuit (
The signals from the control circuit (18) control the rotation of the head drum (11), the transfer of the tape (12), the switching of the switch (16), etc. During recording, the signals from the control circuit (18) 14) to form a predetermined subcode signal. Further, during reproduction, the signal extracted by the processing circuit (14) is supplied to the control circuit (19), where tracking and other controls are performed, and part of this signal is taken out to the outside.
以上の構成によってD A T fl)が形成される。With the above configuration, DATfl) is formed.
そしてこの装置において、10回路(13)の外部にD
A −AD変換回路を設け、コントロール回路(18)
の外部に所定の制御装置を設けることによって、例えば
音声(アナログ)信号の記録・再生を行うことができる
。In this device, D is connected to the outside of the 10 circuits (13).
A - An AD conversion circuit is provided and a control circuit (18)
By providing a predetermined control device externally, it is possible to record and reproduce audio (analog) signals, for example.
これに対して上述の装置では、D A T (1)の外
部としてコントローラ(2)を介して任意のインターフ
ェースバス(3)が接続される。ここでインターフェー
スバス(3)として例えばSC3I規格(r NIKK
EIELECTRON IC5J日本経済新聞社発行:
1986年10月6日号第102〜107ページ・参
照)のものを使用できる。さらにこのバス(3)にアダ
プタ(4)を介してホストコンピュータ(5)及びハー
ドディスク装置(6)等が接続される。On the other hand, in the above-mentioned device, an arbitrary interface bus (3) is connected to the outside of the DAT (1) via the controller (2). Here, as the interface bus (3), for example, the SC3I standard (r NIKK
EIELECTRON IC5J Published by Nihon Keizai Shimbun:
(Reference: October 6, 1986 issue, pages 102-107) can be used. Furthermore, a host computer (5), a hard disk device (6), etc. are connected to this bus (3) via an adapter (4).
そして上述のコントローラ(2)において、バス(3)
との間にはプロトコル制御回路(21)が設けられ、こ
の制御回路(21)を介してコントローラ(2)の動作
制御を行うマイクロコンピュータ(22)及びメモリ制
御(DMA)回路(23)と、バス(3)との間でデー
タ及びコントロール信号のやりとりが行われる。さらに
マイクロコンピュータ(22)とDMA回路(23)と
の間で状態の検出及び動作の制御が行われると共に、こ
のDMA回路(23)を通じてバッファメモリ (24
)とバス(3)との間でデータの入出力が行われる。In the above controller (2), the bus (3)
A protocol control circuit (21) is provided between the controller (21) and a microcomputer (22) and a memory control (DMA) circuit (23) that control the operation of the controller (2) via the control circuit (21). Data and control signals are exchanged with the bus (3). Further, state detection and operation control are performed between the microcomputer (22) and the DMA circuit (23), and the buffer memory (24) is performed through the DMA circuit (23).
) and the bus (3).
従ってこの装置において、ハードディスク装置(6)に
書込まれたデータは、記録時のコントローラ(2)から
の転送要求に応じてバス(3)を通じてコントローラ(
2)に入力され、DMA回路(23)を介してメモリ
(24)に書込まれる。さらにこのメモリ(24)に書
込まれたデータが10回路(25)を介して読出されD
A T (11に入力される。そしてこのD A T
(11において、10回路(13)に入力されたデー
タは音声記録時のAD変換回路からのデータと同等にみ
なされ、デジタル信号処理回路(14)にて所定のDA
Tのフォーマットに変換されてヘッドA、Bにてテープ
(12)に記録される。Therefore, in this device, data written to the hard disk device (6) is transferred to the controller (2) via the bus (3) in response to a transfer request from the controller (2) during recording.
2) and sent to the memory via the DMA circuit (23).
(24) is written. Furthermore, the data written in this memory (24) is read out via 10 circuits (25).
A T (input in 11. And this D A T
(In 11, the data input to the 10 circuit (13) is regarded as the same as the data from the AD conversion circuit during audio recording, and the digital signal processing circuit (14) converts the data into a predetermined DA
The data is converted into the T format and recorded on the tape (12) by heads A and B.
また再生時には、テープ(12)からヘッドA。Also, during playback, head A starts from tape (12).
Bにて再生された信号がデジタル信号処理回路(14)
にて逆変換されて音声信号に相当するデー夕が抽出され
る。さらにこのデータが10回路(13)を介してコン
トローラ(2)に入力される。そしてこのコントローラ
(2)において、10回路(25)を介してメモリ (
24)に書き込まれたデータがDMA回路(23)を介
して読出され、バス(3)を通じてハードディスク装置
(6)に書込まれる。The signal reproduced at B is sent to the digital signal processing circuit (14)
The data is inversely transformed and data corresponding to the audio signal is extracted. Furthermore, this data is input to the controller (2) via the 10 circuit (13). In this controller (2), the memory (
24) is read out via the DMA circuit (23) and written to the hard disk device (6) via the bus (3).
さらにこの装置において、テープ(12)に記録される
DATのフォーマットは以下のようになっている。Furthermore, in this device, the format of the DAT recorded on the tape (12) is as follows.
第5図において、ヘッドA、Bで記録される2本のトラ
ックTa、Tbにて1フレームが構成され、これらのト
ラックはそれぞれ図面の下側から形成されると共に、こ
の記録される信号は全長90度に対して下端側から5.
051度のマ、−ジン部−0,918度のサブコードの
PLL用のプリアンプル部−3,673度の第1のサブ
コード部−0,459度のポストアンブル部→1 、3
78度のブロック間のギャップ部→2.296度のトラ
ッキング(ATF)信号部→1.378度のブロック間
のギヤツブ部→0.918度のデータのPLL用のプリ
アンプル部→5B、776度のデータ部→1.378度
のプロ、り間のギヤツブ部→2.296度のAFT信号
部→l 、 378度のブロック間ギャップ部−0,9
18度のサブコードのPLL用のプリアンプルgVJ−
3,673度の第2のサブコード部−0,459度のポ
ストアンブル部−5,051度のマージン部とされてい
る。なお図の尺度は正確ではない。そして上述の装置に
おいて、10回路(13)から入力されたデータは処理
回路(14)にて所定の誤り検出・訂正符号等を付加さ
れ、所定のインターリーブ関係にてトラックTa、Tb
のデータ部に撮り分けられて挿入されている。In FIG. 5, one frame is composed of two tracks Ta and Tb recorded by heads A and B, and each of these tracks is formed from the bottom of the drawing, and the recorded signal has the entire length. 5. From the bottom side against 90 degrees.
051 degrees ma, - gin part - 0,918 degrees subcode PLL preamble part - 3,673 degrees first subcode part - 0,459 degrees postamble part → 1,3
78 degrees gap between blocks → 2.296 degrees tracking (ATF) signal section → 1.378 degrees gear joint between blocks → 0.918 degrees data preamble section for PLL → 5B, 776 degrees data section → 1.378 degree pro, gear section between the blocks → 2.296 degree AFT signal section → l, 378 degree gap between blocks -0,9
18 degree subcode preamble gVJ- for PLL
The second subcode portion is 3,673 degrees, the postamble portion is 0,459 degrees, and the margin portion is 5,051 degrees. Please note that the scale of the figure is not accurate. In the above-mentioned apparatus, the data inputted from the 10 circuits (13) is added with a predetermined error detection/correction code, etc. in the processing circuit (14), and the data is added to the data inputted from the 10 circuits (13) on tracks Ta, Tb in a predetermined interleaving relationship.
The images are taken separately and inserted into the data section.
さらに上述の装置において、第1のサブコード部及び第
2のサブコード部にはそれぞれ2048ビツトのデータ
が記録可能である。ここで音声信号の記録フォーマット
では、この2048ビツトを64ビツトずつのパックに
区切り、このパックごとに記録されている信号のタイム
コードや記録日時等の情報の記録が行われるようになっ
ている。Furthermore, in the above-described apparatus, 2048 bits of data can be recorded in each of the first subcode section and the second subcode section. In the audio signal recording format, the 2048 bits are divided into packs of 64 bits each, and information such as the time code and recording date and time of the signal recorded in each pack is recorded.
そこでこのパックの中にデータレコーダ用のものを割当
て、このパックを用いて種々の制御を行えるようにする
ことができる。Therefore, it is possible to allocate a data recorder in this pack and use this pack to perform various controls.
すなわち第6図はそのためのパックの構成を示す。図に
おいて64ビツトが8ビツトずつの8ワードに分けられ
る。このパック内の先頭(第1)ワードのMSB側の4
ビツト力月TEMエリアとされ、このエリアは音声信号
の記録フォーマットと共通であって、この4ビツトの2
進符号にパックの内容が表示される。なお4ビツトで1
6通りの符号の内の9通りは既に音声信号の記録のため
に定められており、その残りの7i11りの内から任意
のものをデータレコーダ用に定める。That is, FIG. 6 shows the configuration of a pack for this purpose. In the figure, 64 bits are divided into 8 words of 8 bits each. 4 on the MSB side of the first (first) word in this pack
This area is called the bit power TEM area, and this area is common to the audio signal recording format, and two of these 4 bits are
The contents of the pack are displayed in decimal notation. Note that 4 bits equals 1
Nine of the six codes have already been determined for recording audio signals, and any one of the remaining 7i11 is determined for the data recorder.
また第1ワードのMSB側から5番目のビットは0″に
される。Further, the fifth bit from the MSB side of the first word is set to 0''.
さらに第1ワードのLSB側の3ビツトと次の第2ワー
ドがセーブセットナンバー(5SNO)エリアとされ、
この合計11ビツトにて例えばテープの先端からのパッ
クアップの回数を示す2進値が設けられる。Furthermore, the 3 bits on the LSB side of the first word and the next second word are used as the save set number (5SNO) area.
These 11 bits in total provide a binary value indicating, for example, the number of pack-ups from the leading edge of the tape.
また第3ワードがファイルナンバー(FNO)エリアと
され、1回にバンクアンプされたデータ(セーブセット
)の内でのファイルの通し番号を示す2進値が設けられ
る。The third word is a file number (FNO) area, and a binary value indicating the serial number of the file within the data (save set) bank-amplified at one time is provided.
さらに第4ワードのMSB側の4ビツトが1フレーム内
のデータ量、例えば外部との人出力の単位データ量をブ
ロックとしてlフレーム内に記録されるブロック数(B
NO)エリアとされ、このブロック数を示す2進値が設
けられる。Furthermore, the 4 bits on the MSB side of the fourth word are the amount of data in one frame, for example, the number of blocks recorded in one frame (B
NO) area, and a binary value indicating the number of blocks is provided.
また第4ワードのLSB側の4ビツトと第5゜第6ワー
ドが絶対フレームナンバー(AFNO)エリアとされ、
この20ビツトにてテープの先端がらの有効なフレーム
の通し番号を示す2進値が設けられる。In addition, the 4 bits on the LSB side of the 4th word and the 5th and 6th words are used as the absolute frame number (AFNO) area.
These 20 bits provide a binary value indicating the serial number of a valid frame at the leading end of the tape.
そして第7ワードが状態表示エリアとされる。The seventh word is used as a status display area.
このワードにおいてMSB側の最初の2ビツトは拡張ビ
ットとして当面“oo”とされる。In this word, the first two bits on the MSB side are set as "oo" for the time being as extension bits.
また第3ビツトがそのフレームがテープの終端(エンド
オブメディア)であることを示すフラグエリアとされ、
第4ビツトがそのフレームがバ。The third bit is used as a flag area to indicate that the frame is the end of the tape (end of media).
The fourth bit indicates that the frame is bad.
クアップの終了位置(リードアウト)であることを示す
フラグエリアとされ、第5ピントがそのフレームのデー
タが無効であることを示すフラグエリアとされ、第6ビ
ツトがそのフレームが記録の始終端のアンプル期間のフ
レームであることを示すフラグエリアとされ、第7ビツ
トがそのフレームがファイルマークであることを示すフ
ラグエリアとされ、第8ビツトがそのフレームの記録内
容がデータであることを示すフラグエリアとされる。The 5th bit is used as a flag area to indicate that the frame data is invalid, and the 6th bit indicates that the frame is at the beginning and end of recording. This is a flag area that indicates that the frame is in the ampoule period, the 7th bit is a flag area that indicates that the frame is a file mark, and the 8th bit is a flag that indicates that the recorded content of the frame is data. area.
さらに第8ワードには、上述の第1〜第7ワートに対す
るパリティチェックコードが設けられる。Further, the 8th word is provided with a parity check code for the above-mentioned 1st to 7th words.
このようにしてDATをデータレコーダとして用いるこ
とができる。In this way, the DAT can be used as a data recorder.
D 発明が解決しようとする問題点
ところで上述の装置において、再生時にデータの再生を
行うには、まずサブコードのデータを検出する必要があ
る。この場合に、サブコードの検出データの誤りは装置
全体の動作に及ぼす影響が大きいため、データの検出は
極めて正確に行わなければならない。D. Problems to be Solved by the Invention In the above-described apparatus, in order to reproduce data during reproduction, it is first necessary to detect subcode data. In this case, since errors in subcode detection data have a large effect on the operation of the entire device, data detection must be performed extremely accurately.
そこでサブサードの第8ワードにはパリティチェックコ
ードが設けられているが、このコードは単純パリティで
あるために誤りチェックできない可能性が比較的高く、
また記録時のヘッドクロッグ等によって前回のデータの
消し残りが生じた場合にはそれをチェックすることがで
きない。Therefore, a parity check code is provided in the 8th word of the sub-third, but since this code is simple parity, there is a relatively high possibility that it cannot be checked for errors.
Further, if the previous data remains unerased due to head clog or the like during recording, it cannot be checked.
これに対して従来の音声信号の再生では、連続する複数
のフレームを再生し、その間のサブコードデータの多重
一致によって正確なデータの検出を行うようにしている
。In contrast, in conventional audio signal reproduction, a plurality of consecutive frames are reproduced, and accurate data detection is performed by multiple matching of subcode data between them.
しかしながらこのような多重一致による検出では、デー
タの確定に比較的多くの時間がかかり、例えば上述のデ
ータレコーダの場合には記録の最小単位が例えば4フレ
ームと極めて短いために、データが確定された時点で主
データとの関係が不一致になってしまうおそれがある。However, in such detection based on multiple coincidences, it takes a relatively long time to confirm the data.For example, in the case of the data recorder mentioned above, the minimum unit of recording is extremely short, for example, 4 frames, so it is difficult to confirm the data. There is a risk that the relationship with the main data may become inconsistent at this point.
また例えばサーチ時にはデータの検出ができなくなって
しまう可能性もあった。Furthermore, for example, there was a possibility that data could not be detected during a search.
本願はこのような問題点を解決するものである。The present application is intended to solve these problems.
E 問題点を解決するための手段
本発明は、所定のフォーマットでパック化されたデータ
の内容を検出するに当り、上記パックデータ中のパリテ
ィチェックを実行(ステップ〔3〕)し、上記パリティ
チェックが正常なとき上記パックデータ中の内容が単j
Jli!変化する部分の変化をチェック (ステップ〔
16〕〜(19) ) L、これらの単調変化する部
分の変化が正常なとき上記パックデータ中の上記単調変
化する部分以外の内容が正しいと判断(ステップ(24
) (25) )するようにしたパックデータの検出
方法である。E Means for Solving Problems The present invention, when detecting the contents of data packed in a predetermined format, executes a parity check in the packed data (step [3]), and performs a parity check on the packed data (step [3]). When is normal, the contents of the above pack data are
Jli! Check the changes in the changing parts (step
16] to (19)) L: When the changes in these monotonically changing parts are normal, it is determined that the contents other than the monotonically changing parts in the pack data are correct (step (24)
) (25) This is a method of detecting packed data as described in (25)).
F 作用
これによれば、パリティチェックと内容の変化分のチェ
ックは1フレームの間に行うことができ、これらのチエ
7りによってパックデータの検出を行うので、検出を極
めて迅速かつ正確に行うことができる。F. Effect According to this, the parity check and content change check can be performed during one frame, and pack data is detected by these checks, so detection can be performed extremely quickly and accurately. I can do it.
G 実施例
G1前提
上述したサブコードのフォーマットにおいて、第1ワー
ドのITEMエリアと第5ビツトは既め定められている
。また第1ワードのLSB側の3ビツトと第2ワードの
5SNOエリアと、第3ワードのFNoエリア、第4ワ
ードのLSB側の4ビツトと第5、第6ワードのAFN
Oエリアには、それぞれ通常は単調増加する2進値が設
けられている。G Embodiment G1 Premise In the subcode format described above, the ITEM area and the fifth bit of the first word are predetermined. Also, the 3 bits on the LSB side of the first word, the 5SNO area of the second word, the FNo area of the third word, the 4 bits on the LSB side of the fourth word, and the AFN of the fifth and sixth words.
The O areas are each provided with a normally monotonically increasing binary value.
本願はこれらの点に着目してなされたものである。以下
フローチャートを用いて本願の実施例を説明する。This application has been made with attention to these points. Examples of the present application will be described below using flowcharts.
02通常再生時の検出 第1図は通常再生時のフローチャートを示す。02 Detection during normal playback FIG. 1 shows a flowchart during normal playback.
この図において各動作はメインルーチン(図示せず)に
対する割込処理で実行される。そして図のAにおいて再
生ルーチン内のブロック(1)にて多重一致フラグがセ
ットされる。また図のBはサブコード(パック)読込ル
ーチンであって、このルーチン内のステップ〔2〕でパ
ックデータが入力されるとステップ〔3〕でパリティチ
ェックが実行され、これが不正のときはステップ〔2〕
に戻され、正常のときはステ・ノブ〔4〕で通常時のパ
ックデータのチェック(PDCN)ルーチンがコールさ
れる。In this figure, each operation is executed by interrupt processing to a main routine (not shown). Then, in A of the figure, a multiple coincidence flag is set in block (1) in the playback routine. B in the figure is a subcode (pack) reading routine, and when pack data is input in step [2] in this routine, a parity check is executed in step [3], and if this is invalid, step [ 2]
When the data is normal, the normal packed data check (PDCN) routine is called using the Ste knob [4].
すなわち図のCは1)DCNルーチンを示し、このルー
チンがコールされると、まずステップ〔11〕で多重一
致フラグがセットされているか否かが判断される。ここ
でこのルーチンが最初にコールされたときは多重一致フ
ラグはセットされており、このためステップ〔12〕で
さらにn個のバ・ツクデータの読込が行われ、ステップ
〔13〕で読込まれたn+1個のパックデータについて
多重一致によるデータの検出が行われて正しいデータが
検出されたか否かが判断される。そしてデータが検出さ
れないときはステップ〔12〕に戻され、正しいデータ
が検出されたときはステップ〔14〕で多重一致フラグ
がリセットされ、ステップ〔15〕で検出された正しい
データがデータチエ・ツク用のメモリエリアβに書込ま
れてステップ〔4〕ヘリターンされる。That is, C in the figure shows the 1) DCN routine, and when this routine is called, it is first determined in step [11] whether or not the multiple coincidence flag is set. When this routine is called for the first time, the multiple match flag is set, so in step [12] n more pieces of backup data are read, and n+1 pieces of back data are read in step [13]. Detection of data by multiple matching is performed for each set of pack data, and it is determined whether correct data has been detected. If no data is detected, the process returns to step [12], and if correct data is detected, the multiple match flag is reset in step [14], and the correct data detected in step [15] is used for data checking. The data is written into the memory area β and then returned to step [4].
またステップ(11)で多重一致フラグがセ・ノドされ
ていないときは、ステップ〔16〕〜〔18〕でデータ
取込用のメモリエリアTに書込まれたデータと上述のエ
リアβに書込まれたデータとが比較される。そしてまず
ステップ〔16〕ではデータ中のAFNOの値(γAF
、 βAF)が比較され、7AF−βAFがOかlの
ときに正常とされる。ただしAFNOO値は例えば記録
時の誤り検出によって同じデータが繰り返し記録されて
いる場合には、上述の誤り検出が行われるまでに相当す
るフレーム数Xの骨灰されている場合がある。そこでス
テップ〔16〕の判断が不正の場合であってもステップ
〔19〕にてβAF−rAF””Xのときは正常とみな
してステップ〔17〕に進められる。Also, if the multiple match flag is not set in step (11), the data written in the memory area T for data acquisition in steps [16] to [18] and the data written in the area β mentioned above are data is compared. First, in step [16], the value of AFNO in the data (γAF
, βAF) are compared, and when 7AF-βAF is O or I, it is considered normal. However, if the same data is repeatedly recorded due to error detection during recording, for example, the AFNOO value may be reduced by the corresponding number of frames X until the above-mentioned error detection is performed. Therefore, even if the judgment in step [16] is incorrect, if βAF-rAF""X is determined in step [19], it is regarded as normal and the process proceeds to step [17].
さらにステップ〔17〕ではデータ中のFNOの値(γ
FN、 βFN)が比較されてT FN−βFNがOか
1のときに正常とされ、ステップ〔18〕ではデータ中
の5SNOO値(γSS+ βss)が比較されてγ
ss−βssが0か1のときに正常とされる。そしてス
テップ(17) (18)のいずれかが不正のとき、
及びステップ〔19〕が不正かXの値がセントされてい
ないときはステップ〔20〕に進められる。Furthermore, in step [17], the value of FNO (γ
FN, βFN) are compared and it is determined to be normal when T FN - βFN is O or 1. In step [18], the 5SNOO value (γSS + βss) in the data is compared and γ
It is considered normal when ss-βss is 0 or 1. If either step (17) or (18) is incorrect,
If step [19] is invalid or the value of X is not sent, the process proceeds to step [20].
このステップ〔20〕にて多重一致フラグがセ・ノドさ
れ、ステップ〔21〕でPDCNルーチンがコールされ
る。これによってステップ〔11〕〜〔15〕が実行さ
れ、この後ステップ[21)ヘリターンされる。さらに
ステップ〔22〕でTAF2βAFが判断され、イエス
のときはステップ〔4〕ヘリターンされる。またノーの
ときはステップ〔23〕でX=β^F−γ^Fの値が所
定のメモリエリアに書込まれてステップ〔4〕ヘリター
ンされる。At step [20], the multiple coincidence flag is set, and at step [21], the PDCN routine is called. As a result, steps [11] to [15] are executed, and then the process returns to step [21]. Furthermore, TAF2βAF is determined in step [22], and when the result is YES, the process returns to step [4]. If the answer is NO, the value of X=β^F-γ^F is written in a predetermined memory area in step [23], and the process returns to step [4].
さらにステップ〔16〕〜〔19〕で正常が判断された
ときは、ステップ〔24〕で第7ワードのLSB側の3
ビツトが判断される。ここで上述のフォーマントによれ
ば、LSB側の3ビツトのいずれかに“1”があるとき
はMSB側の4ビツトは全て“0”のはずである。そこ
でステップ〔24〕で全て“0”でないときはステップ
〔25〕でMSB側の4ビツトが判断され、これが全て
“0゛のときはステップ〔26〕で検出された正しいデ
ータがエリアβに書込まれてステップ〔4〕ヘリターン
される。またステップ〔25〕で“l”があるときはス
テップ〔20〕へ進められる。Furthermore, when normality is determined in steps [16] to [19], the 3rd on the LSB side of the 7th word is determined in step [24].
Bits are judged. According to the above formant, when any of the three bits on the LSB side is "1", all four bits on the MSB side should be "0". Therefore, if all of them are not "0" in step [24], the 4 bits on the MSB side are judged in step [25], and if all of them are "0", the correct data detected in step [26] is written to area β. If "l" is found in step [25], the process proceeds to step [20].
またステップ〔24〕で全て“0”のときはステップ〔
27〕で第7ワードのMSB側の4ビツトを除くデータ
がエリアβに書き込まれる。そして第7ワードの第3.
第4ビツトについて以下に述べるヒステリシス判定が行
われる。Also, if all are “0” in step [24], step [
27], data excluding the 4 bits on the MSB side of the seventh word is written to area β. And the 3rd word of the 7th word.
The hysteresis determination described below is performed for the fourth bit.
すなわちステップ〔28〕で第7ワードの第4ビツト(
リードアウトフラグ)の“1”+ “0”が判断され
、“1″のときはステップ〔29〕でメモリ中のリード
アウトフラグ用のカウンタエリア(CKCNT: L
)に1が加算される。そしてステップ〔30〕でCKC
NT:Lの値が判断され、数値が3以上のときにステッ
プ〔31〕でリードアウトフラグがセットされる。That is, in step [28], the 4th bit of the 7th word (
"1" + "0" of the lead-out flag) is determined, and when it is "1", the counter area for the lead-out flag (CKCNT: L
) is added by 1. And in step [30] CKC
The value of NT:L is determined, and when the value is 3 or more, a lead-out flag is set in step [31].
またステップ〔28〕でリードアウトフラグが“0°の
ときはステップ〔32〕でCKCNT: Lから1減算
される。そしてステップ〔33〕でCKCNT :Lの
値が判断され、この値がO以下のときにステップ〔34
〕でリードアウトフラグがリセットされる。なお(JC
NT: Lの値が3未tJ1以上のときはフラグは不変
とされる。Also, when the lead-out flag is "0°" in step [28], 1 is subtracted from CKCNT:L in step [32].Then, the value of CKCNT:L is determined in step [33], and this value is less than or equal to O. When step [34
] resets the lead-out flag. In addition (JC
NT: When the value of L is greater than or equal to 3tJ1, the flag remains unchanged.
さらにステップ〔35〕で第7ワードの第3ビツト(エ
ンドオブメディアフラグ)の“1″ IIQllが判断
され、以下同様にステップ〔36〕〜〔41〕にてエン
ドオブメディアフラグ用のカウンタエリア((JCNT
: E )が加減算され、CKCN’r: Eの値に応
じてエンドオブメディアフラグがセットまたはりセント
あるいは不変とされる。Furthermore, in step [35], it is determined that the third bit (end of media flag) of the seventh word is "1" IIQll, and in the same manner, in steps [36] to [41], the counter area for the end of media flag ((JCNT
:E) are added or subtracted, and the end of media flag is set, recent, or unchanged depending on the value of CKCN'r:E.
これによってリードアウトフラグ及びエンドオブメディ
アフラグがヒステリシス判定され、この判定の後ステッ
プ〔4〕ヘリターンされる。As a result, the lead-out flag and the end-of-media flag are subjected to hysteresis determination, and after this determination, the process returns to step [4].
以−ヒによって通常再生時のパックデータの検出が行わ
れる。そしてこの場合に上述の方法によれば、パリティ
チェックと内容の変化分のチェックは1フレームの間に
行うことができ、これらのチェックによってパンクデー
タの検出を行うので、検出を極めて迅速かつ正確に行う
ことができる。Detection of pack data during normal playback is performed by the steps below. In this case, according to the above method, the parity check and content change check can be performed during one frame, and puncture data is detected by these checks, making detection extremely quick and accurate. It can be carried out.
G3サーチ再生時の検出 第2図はサーチ再生時のフローチャートを示す。Detection during G3 search playback FIG. 2 shows a flowchart during search playback.
なおここで再生ルーチンとパック読込ルーチンは上述と
同様であるので省略するが、この場合にパック読込ルー
チン内のステップ〔4〕でサーチ時のパックデータのチ
ェック(POC3)ルーチンがコールされる。Note that the playback routine and pack reading routine are the same as described above and will therefore be omitted; however, in this case, the pack data check (POC3) routine during search is called at step [4] in the pack reading routine.
そして図はPDCSルーチンを示し、このルーチンがコ
ールされると、まずステップ〔51〕でデータの並べ替
が行われ、ステップ〔52〕で第1のカウンタエリア(
CKCNT’: l )に0がセットされる。The figure shows the PDCS routine. When this routine is called, first the data is sorted in step [51], and the first counter area (
CKCNT': l) is set to 0.
さらにステップ〔53〕でサーチ方向の早送り(F’
?’ )または巻戻しくREW)が判断される。Furthermore, in step [53], fast forward in the search direction (F'
? ' ) or rewind (REW) is determined.
そしてまず早送りのときは、ステップ〔54〕でエリア
T、βに書込まれたFNO及び5SNOの値が比較され
、γSF2βSFのときに正常とされステップ〔55〕
でCKCNT: 1に4がセントされる。またステップ
〔54〕でrsp<βSFのときはステップ〔56〕で
rssとrssが比較され、一致のとき正常とされステ
ップ〔55〕に進められる。さらにステップ〔56〕で
不一致のときは、ステップ〔57〕でリターンバリュー
用のメモリエリアαに書込まれたデータとエリアγに書
込まれたデータとが比較され、TSF≧αSFのときに
正常とされステップ〔58〕でCKCNT: 1に1が
セットされる。またステップ〔57〕でγSF<αSF
のときはステップ〔59〕でαssとγSSが比較され
、一致のときは正常とされステップ〔58〕に進められ
る。First, when fast forwarding, the values of FNO and 5SNO written in areas T and β are compared in step [54], and when γSF2βSF is determined to be normal, step [55]
CKCNT: 1 plus 4 cents. If rsp<βSF in step [54], rss and rss are compared in step [56], and if they match, it is determined to be normal and the process proceeds to step [55]. Further, if there is a mismatch in step [56], the data written in the memory area α for return value and the data written in area γ are compared in step [57], and if TSF≧αSF, the data is normal. Then, in step [58], CKCNT:1 is set to 1. Also, in step [57], γSF<αSF
If so, αss and γSS are compared in step [59], and if they match, it is determined to be normal and the process proceeds to step [58].
これらのステップ(55) 、 (58)に続いて、
ステップ(60) 、 (61)でエリアγ、βに書
込まれたAFNOの値が比較され、rAF≧βAFでか
つ上位2桁の差が0か1のときに正常とされステップ〔
62〕でCKCNT: 1の値に4が加算される。また
ステップ〔60〕でγ^Fくβ^Fのときはステップ(
63) 。Following these steps (55) and (58),
In steps (60) and (61), the AFNO values written in areas γ and β are compared, and when rAF≧βAF and the difference in the upper two digits is 0 or 1, it is determined to be normal and step [
62], CKCNT: 4 is added to the value of 1. Also, when γ^F and β^F in step [60], step (
63).
〔64〕でエリアα、Tに書込まれたデータが比較され
、TAF≧αAFでかつ上位2桁の差が0かlのときに
正常とされステップ〔65〕でCKCNT: 1の値に
1が加算される。そしてこれらのステップ(62) 、
(65)に続いて、ステップ〔66〕でエリアTの
データ中の第7ワードを除くデータがエリアα、βに書
込まれる。またステップ(59) 。In [64], the data written in areas α and T are compared, and when TAF≧αAF and the difference in the upper two digits is 0 or l, it is determined to be normal, and in step [65], the value of CKCNT: 1 is set to 1. is added. And these steps (62),
Following (65), in step [66], the data in area T except for the seventh word is written into areas α and β. Also step (59).
(61) 、 (63)及び〔64〕で不正のときは
ステップ〔67〕でエリアγのデータがエリアβに書込
まれてステップ〔4〕ヘリターンされる。If (61), (63) and [64] are incorrect, the data of area γ is written to area β in step [67] and the process returns to step [4].
なお巻戻しのときは、上述と全く同様のステップが、γ
≦β、T≦αを正常として実行される。When rewinding, the same steps as above are performed for γ
It is executed assuming that ≦β and T≦α are normal.
さらにステップ〔66〕に続いて、第7ワードの第4ビ
ツト(リードアウトフラグ)の検出がヒステリシス判定
で行われる。Further, following step [66], the fourth bit (lead-out flag) of the seventh word is detected by hysteresis determination.
すなわちステップ〔68〕でリードアウトフラグの“1
”、“0″が判断され、“1′のときはステップ〔69
〕でCKCNT:lの値が2または8か否かが判断され
、2または8のときはステップ〔70〕で第2のカウン
タエリア(C’KCNT : 2 )に2が加算される
。またステップ〔69〕で2または8でないときはステ
ップ〔71〕でCKcNT: 2に1が加算される。そ
してステップ〔72〕でCKCNT:2の値が判断され
、数値が4以上のときはステップ〔73〕でリードアウ
トフラグがセットされると共にCKCNT:2に4がセ
ットされる。That is, in step [68], the lead-out flag is set to “1”.
”, “0” is judged, and when it is “1”, step [69
], it is determined whether the value of CKCNT:l is 2 or 8, and if it is 2 or 8, 2 is added to the second counter area (C'KCNT: 2) in step [70]. Further, if it is not 2 or 8 in step [69], 1 is added to CKcNT:2 in step [71]. Then, in step [72], the value of CKCNT:2 is determined, and if the numerical value is 4 or more, a lead-out flag is set and CKCNT:2 is set to 4 in step [73].
またステップ〔68〕でリードアウトフラグが“0“の
ときはステップ〔74〕でCKCNT: 1の値が2ま
たは8か否かが判断され、2または8のときはステップ
〔75〕でCKCNT: 2の値が2減算される。また
ステップ〔74〕で2または8でないときはステップ〔
76〕でCKCNT:2の値から1減算される。そして
ステップ〔77〕でCKCNT: 2の値が判断され、
この値がO以下のときにステップ〔78〕でリードアウ
トフラグがリセットされると共にCKCNT: 2にO
がセントされる。なおCKCNT:2の値が4未満1以
上のときばフラグ及びCK CN 1’:2の値は不変
とされる。If the lead-out flag is "0" in step [68], it is determined in step [74] whether the value of CKCNT:1 is 2 or 8, and if it is 2 or 8, CKCNT: is determined in step [75]. The value of 2 is subtracted by 2. Also, if step [74] is not 2 or 8, step [74]
76], 1 is subtracted from the value of CKCNT:2. Then, in step [77], the value of CKCNT: 2 is determined,
When this value is less than or equal to O, the lead-out flag is reset in step [78] and CKCNT:2 is set to O.
is cent. Note that when the value of CKCNT:2 is less than 4 and greater than or equal to 1, the flag and the value of CK CN 1':2 are left unchanged.
従ってこの検出において、メモリエリアα、β。Therefore, in this detection, memory areas α, β.
Tの内容は第3図に示すように書込まれる。なお図中X
印は未確定、○印は不正データを示す。そしてエリアα
には常に最新の正しいと判断された第7ワードを除くデ
ータがセーブされる。The contents of T are written as shown in FIG. In addition, X in the diagram
A mark indicates unconfirmed data, and an ○ mark indicates invalid data. and area α
The data excluding the seventh word, which is the latest and correct, is always saved.
またリードアウトフラグについてはヒステリシス判定が
行われ、ここで5SNO,AFNO等の判定基準に応じ
た宙み付けが行われているので、極めて合理的かつ安定
な判定が行われる。Furthermore, a hysteresis judgment is performed on the lead-out flag, and since the suspension is carried out according to judgment criteria such as 5SNO and AFNO, an extremely rational and stable judgment is made.
こうしてサーチ再生時においても、内容の変化分のチエ
’7りに基づいてパックデータの検出を行うので、検出
を極めて迅速かつ正確に行うことができる。In this way, even during search playback, pack data is detected based on the search for changes in content, so detection can be performed extremely quickly and accurately.
なお上述の例ではD A Tのフォーマットおけるサブ
コードデータの検出について述べたが、これはフォーマ
ット化されたパックデータであれば他のデータの検出に
通用することができる。またパックデータは複数のパッ
クに跨って設けられている場合にも同様に通用すること
ができる。In the above example, detection of subcode data in the DAT format was described, but this can be applied to detection of other data as long as it is formatted pack data. Furthermore, pack data can be similarly applied even when it is provided across multiple packs.
H発明の効果
この発明によれば、パリティチェックと内容の変化分の
チェックはlフレームの間に行うことができ、これらの
チェックによってパ・7クデータの検出を行うので、検
出を極めて迅速かつ正確に行うことができるようになっ
た。Effects of the Invention According to this invention, the parity check and content change check can be performed during 1 frame, and these checks are used to detect parity data, making detection extremely quick and accurate. Now you can do it.
第1図は本発明の一例の1¥!、咀図、第2図、第3図
はその説明のための図、第4図〜第6図は従来技術の説
明のための図である。
(1)はDAT、(2)はコントローラ、(3)はバス
、(4)はアダプタ、(5)はホストコンピュータ、(
6)はハードディスク装置、(11)は回転ヘッドドラ
ム、(12)はテープ、(14)はデジタル信号処理回
路、(16)ハスイッチ、(18)はシステムコントロ
ール回路、(22)はマイクロコンピュータ、(23)
はDMA、(24)はメモリ、A、Bは記録再生用ヘッ
ドである。Figure 1 shows an example of the present invention, 1 yen! , FIG. 2, and FIG. 3 are diagrams for explaining the same, and FIGS. 4 to 6 are diagrams for explaining the prior art. (1) is DAT, (2) is controller, (3) is bus, (4) is adapter, (5) is host computer, (
6) is a hard disk device, (11) is a rotating head drum, (12) is a tape, (14) is a digital signal processing circuit, (16) is a switch, (18) is a system control circuit, (22) is a microcomputer, (23)
is a DMA, (24) is a memory, and A and B are recording/reproducing heads.
Claims (1)
出するに当り、 上記パックデータ中のパリテイチェックを実行し、 上記パリテイチェックが正常なとき上記パックデータ中
の内容が単調変化する部分の変化をチェックし、 これらの単調変化する部分の変化が正常なとき上記パッ
クデータ中の上記単調変化する部分以外の内容が正しい
と判断するようにしたパックデータの検出方法。[Claims] In detecting the contents of data packed in a predetermined format, a parity check is performed on the packed data, and when the parity check is normal, the contents of the packed data are detected. This packed data detection method checks changes in monotonically changing parts, and determines that contents other than the monotonically changing parts in the packed data are correct when the changes in these monotonically changing parts are normal.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62183024A JP2676739B2 (en) | 1987-07-22 | 1987-07-22 | Pack data detection method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62183024A JP2676739B2 (en) | 1987-07-22 | 1987-07-22 | Pack data detection method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH01271978A true JPH01271978A (en) | 1989-10-31 |
| JP2676739B2 JP2676739B2 (en) | 1997-11-17 |
Family
ID=16128405
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62183024A Expired - Lifetime JP2676739B2 (en) | 1987-07-22 | 1987-07-22 | Pack data detection method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2676739B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003510745A (en) * | 1999-07-30 | 2003-03-18 | ストレイジ・テクノロジー・コーポレイション | Improved method and mechanism for identifying valid from expired recording blocks in a tape drive |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6139982A (en) * | 1984-07-31 | 1986-02-26 | Toshiba Corp | Address data processing system of disk reproducing device |
-
1987
- 1987-07-22 JP JP62183024A patent/JP2676739B2/en not_active Expired - Lifetime
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6139982A (en) * | 1984-07-31 | 1986-02-26 | Toshiba Corp | Address data processing system of disk reproducing device |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003510745A (en) * | 1999-07-30 | 2003-03-18 | ストレイジ・テクノロジー・コーポレイション | Improved method and mechanism for identifying valid from expired recording blocks in a tape drive |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2676739B2 (en) | 1997-11-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2576512B2 (en) | Data recorder | |
| EP0272130B1 (en) | Data recording | |
| EP0286412B1 (en) | Apparatus for recording and/or reproducing digital data | |
| JPH0219549B2 (en) | ||
| EP0264602B1 (en) | Fixed time gap format variable field length data transfer | |
| KR100187544B1 (en) | Digital signal recording device and method | |
| JPH01204251A (en) | Method of looking up recording medium | |
| JPH01271978A (en) | Pack data detecting method | |
| JPH0727687B2 (en) | Data recorder | |
| EP0440091A2 (en) | A disk recording/reproducing method and reproducing apparatus | |
| JPH01204274A (en) | Data recorder | |
| JP2576511B2 (en) | Data recorder | |
| JP2522272B2 (en) | Data recorder | |
| JP2625734B2 (en) | Data recorder | |
| KR0126891Y1 (en) | Digital data signal recording and reproducing device | |
| JP3596040B2 (en) | Magnetic recording / reproducing device | |
| JPS63209088A (en) | Data recorder | |
| CA1325270C (en) | Apparatus and method for recording and/or reproducing a digital signal | |
| JP2576551B2 (en) | Data recorder | |
| JPS63160074A (en) | Data recorder | |
| JPH0766653B2 (en) | Data recorder | |
| JPH01112555A (en) | Data recorder | |
| JPH01155568A (en) | Data recorder | |
| JPH01292691A (en) | Data recorder | |
| JPH10255397A (en) | Data recording / reproducing method and apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |