JPH10261268A - Digital signal processing method, recording method using it and device therefor - Google Patents

Digital signal processing method, recording method using it and device therefor

Info

Publication number
JPH10261268A
JPH10261268A JP6590697A JP6590697A JPH10261268A JP H10261268 A JPH10261268 A JP H10261268A JP 6590697 A JP6590697 A JP 6590697A JP 6590697 A JP6590697 A JP 6590697A JP H10261268 A JPH10261268 A JP H10261268A
Authority
JP
Japan
Prior art keywords
digital signal
packet
bits
recording
predetermined number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6590697A
Other languages
Japanese (ja)
Inventor
Seiichi Saito
清一 斉藤
Hiroaki Tachibana
橘  浩昭
Hiroo Okamoto
宏夫 岡本
Yasunari Obara
康徳 小原
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP6590697A priority Critical patent/JPH10261268A/en
Publication of JPH10261268A publication Critical patent/JPH10261268A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a digital signal recording device which can cope with a situation in which length and constitution of a packet are different depending on a form of broadcasting, when a packet different from setting is inputted, byte deviation and data omission occur, and a compressed video signal and a voice signal can not be expansion-processed. SOLUTION: Packet data is inputted to a packet length adjusting counter 104, the number of bytes and bits of packet data is counted, and a counted value is outputted to a packet length uncoincidence detecting circuit 102. Then, the number of bytes sent previously from a microcomputer and the like is compared with an inputted counted value, when they do not coincide, an uncoincidence detection flag is outputted. This uncoincidence detection flag is inputted to a microcomputer and the like, and it is utilized for signal processing afterward.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ディジタル映像信
号を記録するディジタル映像信号記録装置に関し、特に
ディジタル圧縮映像信号を記録する記録装置に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital video signal recording device for recording digital video signals, and more particularly to a recording device for recording digital compressed video signals.

【0002】[0002]

【従来の技術】日経エレクトロニクス 1996.9.
2(no.669)149頁から164頁に記載のよう
に、衛星を用いたディジタル放送が実用化されている。
この技術に記載のように、送信側では、圧縮した映像信
号や音声信号をパケット形式のディジタル信号に変換
し、これを複数チャンネル多重して送信する。受信側で
は、選局したチャンネルのパケットのみを選択して映像
信号や音声信号の伸長を行うことにより、高品質で多チ
ャンネルの番組サービスを実現している。
2. Description of the Related Art Nikkei Electronics 1996.
2 (No. 669), pages 149 to 164, digital broadcasting using satellites has been put to practical use.
As described in this technique, the transmitting side converts a compressed video signal or audio signal into a packet-format digital signal, multiplexes the digital signal in a plurality of channels, and transmits the digital signal. On the receiving side, a high-quality multi-channel program service is realized by selecting only the packets of the selected channel and expanding the video signal and the audio signal.

【0003】本発明は、受信側で選択されたパケット形
式のディジタル信号を信号処理し、記録媒体に記録再生
することを目的としており、従来、このような技術は無
かった。
An object of the present invention is to process a digital signal in a packet format selected on the receiving side and to record and reproduce the digital signal on and from a recording medium. Conventionally, there is no such technique.

【0004】[0004]

【発明が解決しようとする課題】受信側で選択したパケ
ットの長さ及び構成は、ディジタル放送の形態によって
異なっており、それぞれのパケットに対して適正な信号
処理を行う必要がある。設定と異なるパケットが入力さ
れた場合、バイトずれやビットずれ、データの欠落が発
生し、圧縮した映像信号や音声信号を伸長処理すること
が出来なくなる。本発明の目的は、上記のような問題の
発生を検出し、これに対応可能なディジタル信号記録装
置を提供することにある。
The length and configuration of the packet selected on the receiving side differ depending on the type of digital broadcasting, and it is necessary to perform appropriate signal processing on each packet. When a packet different from the setting is input, a byte shift, a bit shift, and a loss of data occur, and it becomes impossible to expand a compressed video signal or audio signal. An object of the present invention is to provide a digital signal recording apparatus capable of detecting the occurrence of the above-described problem and coping with the detection.

【0005】[0005]

【課題を解決するための手段】上記目的は、受信したデ
ィジタル信号の1パケットあたりのビット数をカウント
するパケット長カウント手段と、所定バイト数の不一致
を検出するパケット長不一致検出手段と、前記ディジタ
ル信号の1パケットあたりのビット数が前記所定ビット
数と異なる場合、パケット長を調整してパケットを出力
するパケット長調整手段と、記録信号の制御を行う記録
制御手段を備えることにより達成できる。
The object of the present invention is to provide a packet length counting means for counting the number of bits per packet of a received digital signal, a packet length mismatch detecting means for detecting a mismatch of a predetermined number of bytes, When the number of bits per packet of the signal is different from the predetermined number of bits, this can be achieved by providing a packet length adjusting unit that adjusts the packet length and outputs a packet, and a recording control unit that controls a recording signal.

【0006】[0006]

【発明の実施の形態】以下、本発明の一実施例を図を用
いて説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings.

【0007】まず、実施例1について説明する。図1は
本発明のディジタル信号処理装置の構成例である。図1
において、001はデータバスI/F回路、100はデ
ィジタル信号入力端子、101はパケット長カウンタ、
102はパケット長不一致検出回路、103はパケット
データ抽出回路、104はパケット長調整カウンタ、1
05はデータ削除/付加回路、106は不一致検出フラ
グ出力端子、107はパケットモード入力端子、108
はデータ出力端子である。
First, a first embodiment will be described. FIG. 1 shows a configuration example of a digital signal processing device according to the present invention. FIG.
, 001 is a data bus I / F circuit, 100 is a digital signal input terminal, 101 is a packet length counter,
102 is a packet length mismatch detection circuit, 103 is a packet data extraction circuit, 104 is a packet length adjustment counter, 1
05 is a data deletion / addition circuit, 106 is a mismatch detection flag output terminal, 107 is a packet mode input terminal, 108
Is a data output terminal.

【0008】まず、ディジタル信号入力端子100に入
力される信号の形態について図2を用いて説明する。図
2において、200はパケット、201は時間情報、2
02は制御情報を示している。図2(a)が、圧縮され
た映像信号や音声信号または情報信号がまとめられてい
るパケット形式のディジタル信号でパケットデータ20
0である。パケットの長さはディジタル放送の形態によ
り異なり、例えば188バイト、あるいは140バイト
で送られてくる。パケットの構成もディジタル放送の形
態により異なり、例えば図2(b)のように、パケット
データ200の先頭に4バイトヘッダーを設け、時間情
報201と制御情報202を付加して送られる場合があ
る。この図2に示すように、パケットの長さは多種多様
であり、それぞれに対応して信号処理するを施す必要が
ある。パケットのバイト数や構成が一致しない場合、バ
イトずれやデータの欠落が発生し、圧縮した映像信号や
音声信号を伸長処理することが出来なくなる。
First, the form of a signal input to the digital signal input terminal 100 will be described with reference to FIG. In FIG. 2, 200 is a packet, 201 is time information, 2
02 indicates control information. FIG. 2A is a packet format digital signal in which a compressed video signal, audio signal, or information signal is collected, and packet data 20 is shown.
0. The length of the packet differs depending on the type of digital broadcasting, and is transmitted, for example, in 188 bytes or 140 bytes. The packet configuration also differs depending on the form of the digital broadcast. For example, as shown in FIG. 2B, a packet data 200 may be sent with a 4-byte header provided at the beginning and time information 201 and control information 202 added. As shown in FIG. 2, the length of the packet is various, and it is necessary to perform signal processing corresponding to each packet. If the number of bytes and the configuration of the packets do not match, a byte shift or data loss occurs, making it impossible to decompress the compressed video signal or audio signal.

【0009】次に、図1の動作について図3を用いて説
明する。ディジタル信号入力端子100から入力された
図2(a)に示すようなパケットデータ200は、パケ
ット長カウンタ101とパケットデータ変換回路10
3、パケット長調整カウンタ104に入力される。パケ
ット長カウンタ101では、パケットデータの存在しな
い区間(ブランク)から入力されたパケットデータ20
0のバイト数とビット数をカウントし、図3(b)に示
すように次のブランクまでのカウント値をパケット長不
一致検出回路102へ出力する。パケット長不一致検出
回路102では、予めマイコン等から送られてくるパケ
ットモードを、パケットモード入力端子107から入力
し、パケットモードに応じたバイト数、例えば188バ
イトが設定される。この設定された188バイトと入力
されたカウント値を比較し、一致しないときに図3
(c)のように不一致検出フラグを不一致検出フラグ出
力端子106から出力する。この不一致検出フラグは、
マイコンなとに入力してパケットモードの変更やその後
の信号処理に利用する。
Next, the operation of FIG. 1 will be described with reference to FIG. The packet data 200 input from the digital signal input terminal 100 as shown in FIG.
3. Input to the packet length adjustment counter 104. In the packet length counter 101, the packet data 20 input from the section (blank) where no packet data exists is input.
The number of bytes and the number of bits of 0 are counted, and the count value up to the next blank is output to the packet length mismatch detection circuit 102 as shown in FIG. In the packet length mismatch detection circuit 102, a packet mode previously sent from a microcomputer or the like is input from the packet mode input terminal 107, and the number of bytes corresponding to the packet mode, for example, 188 bytes is set. The set 188 bytes are compared with the input count value.
The mismatch detection flag is output from the mismatch detection flag output terminal 106 as shown in FIG. This mismatch detection flag is
The data is input to a microcomputer and used for changing the packet mode and for subsequent signal processing.

【0010】パケットデータ変換回路103では、入力
されたパケットデータを信号処理内部で処理しやすい形
に変換する。例えばパケットデータ200は、配線が容
易な1ビットのシリアルデータ形式で入力され、このパ
ケットデータ変換回路103で16ビットのバス形式の
データに変換する。16ビットバスに変換すると、処理
速度の点で有利になる。
The packet data conversion circuit 103 converts the input packet data into a format that can be easily processed inside the signal processing. For example, the packet data 200 is input in a 1-bit serial data format that is easy to wire, and is converted into 16-bit bus format data by the packet data conversion circuit 103. Conversion to a 16-bit bus is advantageous in terms of processing speed.

【0011】パケット長調整カウンタ104では、パケ
ットモード入力端子107から予めマイコン等から設定
したバイト数を、入力されたパケットデータ200と同
期してカウントし、データ削除/付加回路105でパケ
ットデータ変換回路103の出力をゲートする。これに
よりパケットデータ200のバイト数が一致しない場合
でも、データ削除/付加回路105で結果的にデータの
削除やダミーデータの付加が行われて、図3(d)に示
すように設定されたバイト数がデータ出力端子108か
ら出力される。
The packet length adjustment counter 104 counts the number of bytes set in advance from a microcomputer or the like from the packet mode input terminal 107 in synchronization with the input packet data 200, and the data deletion / addition circuit 105 uses the packet data conversion circuit 105. Gate the output of 103. As a result, even when the number of bytes of the packet data 200 does not match, the data deletion / addition circuit 105 deletes the data and adds dummy data as a result, and sets the bytes set as shown in FIG. The number is output from the data output terminal 108.

【0012】ここで、不一致検出フラグを検出した場合
の動作について図4と図5のフローチャートを用いて説
明する。図4は、図1で説明した動作を表したものであ
る。ステップ402でパケットのバイト数をカウント
し、ステップ403でブランクを検出し、この時点でス
テップ405でパケットモードで設定した設定値との比
較を行う。設定値と一致しない時は、不一致検出フラグ
を1にセットし、一致したときは0に戻す。図5は、不
一致検出フラグを検出した場合の動作について説明して
いる。ステップ501でパケットデータを取り込み、ス
テップ503でパケット長の確認を行う。ステップ50
4で不一致検出フラグが1にセットされて不一致を検出
した場合、ステップ505でパケットモードを変更して
設定値を変更する。たとえば、188バイトで不一致を
検出した場合、140バイトモードに変更し、もう一度
不一致検出フラグを確認する。これを何回か繰り返すこ
とにより、パケットデータ200のバイト数と一致させ
ることが出来る。また、ノイズなどの原因で一時的に不
一致検出フラグを検出する場合を想定して、2パケット
以上の連続あるいは所定の期間後にもう一度検出するな
どを条件に、パケットモードを変更するようにしてもよ
い。一時的に不一致を検出する場合でも、パケット長調
整カウンタ104により、常に一定のバイト数のデータ
が出力されるので、その後の信号処理においてバイトず
れやビットずれ等が発生するのを防止できる。
Here, the operation when the mismatch detection flag is detected will be described with reference to the flowcharts of FIGS. FIG. 4 illustrates the operation described with reference to FIG. At step 402, the number of bytes of the packet is counted. At step 403, a blank is detected. At this time, at step 405, comparison is made with the set value set in the packet mode. When the value does not match the set value, the mismatch detection flag is set to 1, and when the value matches, the value is reset to 0. FIG. 5 illustrates an operation when a mismatch detection flag is detected. In step 501, packet data is fetched, and in step 503, the packet length is confirmed. Step 50
If the mismatch detection flag is set to 1 and a mismatch is detected in step 4, the packet mode is changed in step 505 to change the set value. For example, when a mismatch is detected at 188 bytes, the mode is changed to the 140 byte mode, and the mismatch detection flag is checked again. By repeating this several times, the number of bytes of the packet data 200 can be matched. Further, assuming that a mismatch detection flag is temporarily detected due to noise or the like, the packet mode may be changed on the condition that two or more packets are continuously detected or detected again after a predetermined period. . Even when a mismatch is temporarily detected, data of a fixed number of bytes is always output by the packet length adjustment counter 104, so that occurrence of byte shift, bit shift, and the like in subsequent signal processing can be prevented.

【0013】以上述べたように、実施例1によれば、送
られてくるパケットの長さ及び構成に、信号処理回路の
パケットモードを一致させることが出来るので、その後
の誤り訂正処理や伸長処理等の信号処理の誤動作を防止
できる。
As described above, according to the first embodiment, since the packet mode of the signal processing circuit can be made to match the length and configuration of the transmitted packet, the subsequent error correction processing and decompression processing are performed. And so on can be prevented from malfunctioning in signal processing.

【0014】次に、本発明をアナログ信号の記録再生と
共用したディジタル信号の記録再生装置に応用した実施
例2について説明する。図6は本発明のディジタル信号
記録再生装置の構成例である。図6において、601は
データ入出力端子、602はバッファRAM、603は
記録再生信号処理回路、604はマイコン、605はデ
ィジタル記録制御回路、606はサーボ回路、607は
キャプスタン、608は磁気テープ、609はシリン
ダ、610アナログ記録制御回路、611はアナログ信
号記録再生回路、612はアナログ入力端子、613は
アナログ出力端子である。次に動作について説明する。
データバスI/F回路001は、実施例1と同様な動作
である。マイコン604から設定されたパケットモード
に応じたバイト数とパケットデータ200のバイト数を
比較して比較結果をフラグとしてマイコン604に出力
している。マイコン604では不一致を検出したらパケ
ットモードを変更し、入力されるパケットデータ200
の構成と長さと、データバスI/F回路001のパケッ
トモードを一致させる。データバスI/F回路001で
パケット長を調整され、バス形式に変換されたデータは
一度バッファRAM602に書き込む。これは、データ
入出力端子601からのパケットデータ200はバース
ト的に入力されるが、磁気テープに記録する場合は一定
レートで記録する必要がある為である。バッファRAM
602に書込んだデータは、記録再生信号処理回路60
3で一定のレートで読み出されて、一定時間間隔毎に数
パケットをひとまとめにして誤り訂正符号の付加や変調
処理などを施して記録データを生成する。ここで、パケ
ットの長さが不一致のまま信号処理した場合、パケット
長が調整されるので先頭がずれることは無いが、パケッ
トデータの一部が削除されたり、ダミーデータが付加さ
れた状態で記録されるので、再生したときに元のパケッ
トを再生することが出来ない。生成した記録データはデ
ィジタル記録制御回路605で、マイコン604によっ
て記録開始や記録停止などの制御を行う。ディジタル記
録制御回路605は、記録データや記録アンプの制御を
行う。ここで、記録開始からのマイコン604の処理動
作について図7を用いて説明する。まず、記録開始の前
にステップ701でモード変更処理を行い、パケットデ
ータ200の構成や長さと、パケットモードを一致させ
る。ここで、一致するパケットモードが無かった場合を
ステップ707で検出し、パケットモードが一致しない
時は、ステップ705でディジタル記録中止処理を行
う。ステップ702で記録を開始し、記録しながらステ
ップ703でパケットの長さの確認を行う。ステップ7
04でパケット長の不一致を検出しなければ記録を続
け、不一致を検出した時はステップ705のディジタル
記録中止処理を行い、ディジタル記録を中止する。ステ
ップ705のディジタル記録中止処理では、図6のディ
ジタル記録制御回路605を制御して記録データをゲー
トし、記録アンプを止め、サーボ回路606を制御して
テープの走行を止める。ここで、不一致を検出した場
合、テープの走行は止めずに、アナログ記録制御610
を制御してアナログ信号を記録するモードに切り替えて
もよい。または、テープの走行を止め、ステップ701
に戻り、どれかのパケットモードに一致するまで検出を
続け、一致してから記録を再開するようにしてもよい。
Next, a description will be given of a second embodiment in which the present invention is applied to a digital signal recording / reproducing apparatus shared with analog signal recording / reproducing. FIG. 6 shows a configuration example of a digital signal recording / reproducing apparatus according to the present invention. In FIG. 6, 601 is a data input / output terminal, 602 is a buffer RAM, 603 is a recording / reproducing signal processing circuit, 604 is a microcomputer, 605 is a digital recording control circuit, 605 is a servo circuit, 607 is a capstan, 608 is a magnetic tape, 609 is a cylinder, 610 is an analog recording control circuit, 611 is an analog signal recording / reproducing circuit, 612 is an analog input terminal, and 613 is an analog output terminal. Next, the operation will be described.
The operation of the data bus I / F circuit 001 is similar to that of the first embodiment. The number of bytes according to the packet mode set by the microcomputer 604 is compared with the number of bytes of the packet data 200, and the comparison result is output to the microcomputer 604 as a flag. When the microcomputer 604 detects a mismatch, the packet mode is changed and the input packet data 200 is changed.
And the packet mode of the data bus I / F circuit 001 are matched. The data whose packet length is adjusted by the data bus I / F circuit 001 and converted into the bus format is once written in the buffer RAM 602. This is because the packet data 200 from the data input / output terminal 601 is input in a burst manner, but when it is recorded on a magnetic tape, it must be recorded at a constant rate. Buffer RAM
The data written in 602 is a read / write signal processing circuit 60.
The data is read out at a constant rate in step 3, and several packets are bundled at regular time intervals, and an error correction code is added thereto and modulation processing is performed to generate recording data. Here, if signal processing is performed with the packet length mismatching, the packet length is adjusted so that the beginning does not shift, but recording is performed with part of the packet data deleted or dummy data added. Therefore, the original packet cannot be reproduced when reproduced. The generated recording data is controlled by a digital recording control circuit 605 by a microcomputer 604 to start or stop recording. The digital recording control circuit 605 controls recording data and a recording amplifier. Here, the processing operation of the microcomputer 604 from the start of recording will be described with reference to FIG. First, before the start of recording, a mode change process is performed in step 701 to match the configuration and length of the packet data 200 with the packet mode. Here, the case where there is no matching packet mode is detected in step 707, and when the packet modes do not match, digital recording stop processing is performed in step 705. Recording is started in step 702, and the length of the packet is checked in step 703 while recording. Step 7
If no mismatch in packet length is detected in step 04, the recording is continued. If a mismatch is detected, digital recording stop processing of step 705 is performed to stop digital recording. In the digital recording stop processing of step 705, the digital recording control circuit 605 of FIG. 6 is controlled to gate the recording data, the recording amplifier is stopped, and the servo circuit 606 is controlled to stop the tape running. Here, when a mismatch is detected, the analog recording control 610 does not stop running the tape.
May be switched to a mode for recording an analog signal. Alternatively, the running of the tape is stopped, and step 701 is executed.
The detection may be continued until the packet mode matches any of the packet modes, and the recording may be resumed after the packet mode matches.

【0015】以上のように、パケットデータ200が入
力された時点で、パケットの長さの不一致を検出できる
ので、記録再生信号処理回路603からデータを読み出
して記録データを出力する以前に記録データを制御する
ことができ、誤った記録データを記録することがない。
As described above, when the packet data 200 is input, the mismatch of the packet length can be detected. Therefore, before reading the data from the recording / reproducing signal processing circuit 603 and outputting the recording data, the recording data is read out. It can be controlled and erroneous recording data is not recorded.

【0016】なお、実施例2の記録媒体として磁気テー
プを用いたが、光ディスクなど他の記録媒体に於いても
同様な効果が得られる。また、実施例1は記録再生兼用
の装置であるが、もちろん、記録と再生の信号処理が独
立していても同様である。
Although the magnetic tape is used as the recording medium in the second embodiment, similar effects can be obtained in other recording media such as an optical disk. Although the first embodiment is an apparatus for both recording and reproduction, the same is true even when signal processing for recording and reproduction is independent.

【0017】次に、図8は本実施例のディジタル信号記
録再生装置とディジタル放送受信機との接続の例であ
る。002は本実施例のディジタル信号記録再生装置、
801はディジタル放送受信機、802はアンテナ、8
07は受像機である。また、803はチューナ、804
はプログラム選択回路、805は復号回路、806はイ
ンターフェース回路である。
FIG. 8 shows an example of connection between the digital signal recording / reproducing apparatus of the present embodiment and a digital broadcast receiver. 002 is a digital signal recording / reproducing apparatus of this embodiment,
801 is a digital broadcast receiver, 802 is an antenna, 8
Reference numeral 07 denotes a receiver. 803 is a tuner, 804
Is a program selection circuit, 805 is a decoding circuit, and 806 is an interface circuit.

【0018】アンテナ802で受信されたディジタル放
送信号は、チューナ803で復調された後に、プログラ
ム選択回路804で指定のプログラムのディジタル圧縮
映像信号を選択する。選択された圧縮ディジタル映像信
号は、復号回路805で通常の映像信号に復号されて受
像機806に出力される。また、受信信号にスクランブ
ル等の処理が行われているときは、選択回路804、或
は復号回路805においてそれを解除した後に復号処理
を行う。 ディジタル放送受信機801は、通常の受信
時には、受信した信号より、前記圧縮ディジタル信号を
復調し、この圧縮ディジタル信号を復号回路805によ
り通常の映像信号、及び音声信号に復号してテレビ等の
受像機807に出力する。このディジタル圧縮信号は、
通常パケット形式で伝送され、パケットの伝送レート
は、放送の内容によって変化する。また、パケットの伝
送間隔もエンコード時の処理に応じて変化する。復号回
路805では、このパケット形式のデータの中に含まれ
ている情報、及びパケットの送られてきた間隔よりエン
コード時のフレーム周波数を再生して映像信号のデコー
ドを行う。
After the digital broadcast signal received by the antenna 802 is demodulated by the tuner 803, the program selection circuit 804 selects a digital compressed video signal of a specified program. The selected compressed digital video signal is decoded into a normal video signal by the decoding circuit 805 and output to the receiver 806. When the received signal is subjected to a process such as scrambling, the decoding process is performed after the selection signal 804 or the decoding circuit 805 cancels it. At the time of normal reception, the digital broadcast receiver 801 demodulates the compressed digital signal from the received signal, and decodes the compressed digital signal into a normal video signal and an audio signal by a decoding circuit 805 to receive an image on a television or the like. Device 807. This digital compressed signal is
It is usually transmitted in a packet format, and the transmission rate of the packet varies depending on the content of the broadcast. The packet transmission interval also changes according to the encoding process. The decoding circuit 805 decodes the video signal by reproducing the frame frequency at the time of encoding from the information included in the data in the packet format and the interval at which the packet is transmitted.

【0019】ディジタル放送受信機801からの記録時
には、インタフェース回路806において、図2(a)
あるいは(b)に示したパケットデータを出力する。そ
の後、入力端子111から本ディジタル信号記録再生装
置002に入力され、パケットの一致を確認しながら前
記説明したような処理を施して記録される。また、パケ
ットの不一致を検出した場合でも、ディジタル信号記録
再生装置002はアナログ入出力端子612から復号回
路805の出力とも接続されており、アナログ信号の映
像信号に切り替えて記録することができる。
At the time of recording from the digital broadcast receiver 801, the interface circuit 806 operates as shown in FIG.
Alternatively, the packet data shown in (b) is output. Thereafter, the digital signal is input from the input terminal 111 to the digital signal recording / reproducing apparatus 002, and is recorded by performing the above-described processing while confirming the coincidence of the packets. Also, even when a packet mismatch is detected, the digital signal recording / reproducing device 002 is also connected from the analog input / output terminal 612 to the output of the decoding circuit 805, and can switch to and record an analog video signal.

【0020】なお、前記実施例はディジタル圧縮映像信
号を記録再生する場合について、説明を行ったが、その
他のディジタル信号を記録再生する場合でも同様の効果
を得ることができる。
Although the above embodiment has been described for the case of recording and reproducing a digital compressed video signal, the same effect can be obtained when recording and reproducing other digital signals.

【0021】[0021]

【発明の効果】本発明のディジタル信号処理方法によれ
ば、記録時に入力するパケット形式のディジタル信号
が、設定したパケットの長さと異なる場合でもこれを検
出でき、パケットのモードを一致させることが出来る。
また、パケットの長さを調整して出力するので、一時的
なバイト数やビット数の不一致を検出しても、その後の
信号処理でのバイトずれやビットずれを防止できる。
According to the digital signal processing method of the present invention, even when the digital signal of the packet format input at the time of recording is different from the set packet length, this can be detected, and the packet modes can be matched. .
Further, since the packet length is adjusted and output, even if a temporary mismatch in the number of bytes or bits is detected, it is possible to prevent a byte shift or a bit shift in subsequent signal processing.

【0022】また、本発明のディジタル信号記録方法に
よれば、不一致の検出を、検出したデータが記録される
前に行うことが出来るので、記録信号を制御して誤った
記録データを記録するのを防止できる。
Further, according to the digital signal recording method of the present invention, the mismatch can be detected before the detected data is recorded, so that the recording signal can be controlled to record erroneous recording data. Can be prevented.

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

【図1】本発明のディジタル信号処理装置の実施例1の
構成図である。
FIG. 1 is a configuration diagram of Embodiment 1 of a digital signal processing device of the present invention.

【図2】パケットデータの1例である。FIG. 2 is an example of packet data.

【図3】実施例1の動作を示すタイミング図である。FIG. 3 is a timing chart showing the operation of the first embodiment.

【図4】実施例1の動作を示すフローである。FIG. 4 is a flowchart showing the operation of the first embodiment.

【図5】実施例1の動作を示すフローである。FIG. 5 is a flowchart showing an operation of the first embodiment.

【図6】本発明のディジタル信号記録再生装置の実施例
2の構成図である。
FIG. 6 is a configuration diagram of a digital signal recording / reproducing apparatus according to a second embodiment of the present invention.

【図7】実施例2の動作を示すフローである。FIG. 7 is a flowchart illustrating the operation of the second embodiment.

【図8】本発明のディジタル信号記録再生装置とディジ
タル放送受信機との接続の1例を示す図である。
FIG. 8 is a diagram showing an example of a connection between the digital signal recording / reproducing device of the present invention and a digital broadcast receiver.

【符号の説明】[Explanation of symbols]

001…データバスI/F回路、100…ディジタル信
号入力端子、101…パケット長カウンタ、102…パ
ケット長不一致検出回路、103…パケットデータ抽出
回路、104…パケット長調整カウンタ、105…デー
タ削除/付加回路、106…不一致検出フラグ出力端
子、107…パケットモード入力端子、108…データ
出力端子、200…パケット、201…時間情報、20
2…制御情報、601…データ入出力端子、602…バ
ッファRAM、603…記録再生信号処理回路、604
…マイコン、605…ディジタル記録制御回路、606
…サーボ回路、607…キャプスタン、608…磁気テ
ープ、609…シリンダ、610…アナログ記録制御回
路、611…アナログ信号記録再生回路、612…アナ
ログ入出力端子、801…ディジタル放送受信機、80
2…アンテナ、807…受像機、803…チューナ、8
04…プログラム選択回路、805…復号回路、806
…インターフェース回路。
001: Data bus I / F circuit, 100: Digital signal input terminal, 101: Packet length counter, 102: Packet length mismatch detection circuit, 103: Packet data extraction circuit, 104: Packet length adjustment counter, 105: Data deletion / addition Circuit, 106: mismatch detection flag output terminal, 107: packet mode input terminal, 108: data output terminal, 200: packet, 201: time information, 20
2. Control information, 601 Data input / output terminal, 602 Buffer RAM, 603 Recording / reproducing signal processing circuit, 604
... microcomputer, 605 ... digital recording control circuit, 606
... Servo circuit, 607 ... Capstan, 608 ... Magnetic tape, 609 ... Cylinder, 610 ... Analog recording control circuit, 611 ... Analog signal recording / reproducing circuit, 612 ... Analog input / output terminal, 801 ... Digital broadcasting receiver, 80
2 ... antenna, 807 ... receiver, 803 ... tuner, 8
04: Program selection circuit, 805: Decoding circuit, 806
... Interface circuit.

フロントページの続き (72)発明者 小原 康徳 茨城県ひたちなか市稲田1410番地株式会社 日立製作所映像情報メディア事業部内Continued on the front page (72) Inventor Yasunori Ohara 1410 Inada, Hitachinaka-city, Ibaraki Pref. Hitachi, Ltd. Visual Information Media Division

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】所定ビット数のパケット形式で伝送される
ディジタル信号を受信する、ディジタル信号処理方法に
おいて、 入力されたディジタル信号の1パケットあたりのビット
数をカウントし、 前記カウント結果と、前記所定ビット数の不一致を検出
して結果を出力することを特徴とするディジタル信号処
理方法。
1. A digital signal processing method for receiving a digital signal transmitted in a packet format having a predetermined number of bits, wherein the number of bits per packet of the input digital signal is counted. A digital signal processing method comprising detecting a mismatch in the number of bits and outputting a result.
【請求項2】前記ディジタル信号の1パケットあたりの
ビット数が前記所定ビット数より小さい場合、前記ディ
ジタル信号に前記所定ビット数となる様にダミーデータ
を付加し、前記ディジタル信号の1パケットあたりのビ
ット数が前記所定ビット数より大きい場合、前記ディジ
タル信号を前記所定ビット数となる様に削除し、パケッ
ト長を調整することを特徴とする請求項1に記載のディ
ジタル信号処理方法。
2. When the number of bits per packet of the digital signal is smaller than the predetermined number of bits, dummy data is added to the digital signal so as to have the predetermined number of bits. 2. The digital signal processing method according to claim 1, wherein when the number of bits is larger than the predetermined number of bits, the digital signal is deleted so as to have the predetermined number of bits, and a packet length is adjusted.
【請求項3】前記ディジタル信号と前記所定ビット数の
不一致を検出した場合、前記所定ビット数を変更するこ
とを特徴とする請求項1に記載のディジタル信号処理方
法。
3. The digital signal processing method according to claim 1, wherein when a mismatch between the digital signal and the predetermined number of bits is detected, the predetermined number of bits is changed.
【請求項4】前記ディジタル信号と前記所定ビット数の
不一致を、2パケット以上連続して検出した場合、前記
所定ビット数を変更することを特徴とする請求項1に記
載のディジタル信号処理方法。
4. The digital signal processing method according to claim 1, wherein when a mismatch between the digital signal and the predetermined number of bits is continuously detected for two or more packets, the predetermined number of bits is changed.
【請求項5】所定ビット数のパケット形式で伝送される
ディジタル信号を受信し、記録媒体上に記録するディジ
タル信号記録方法において、 入力されたディジタル信号の1パケットあたりのビット
数をカウントし、 前記カウント結果と、前記所定ビット数の不一致を検出
して結果を出力することを特徴とするディジタル信号記
録方法。
5. A digital signal recording method for receiving a digital signal transmitted in a packet format having a predetermined number of bits and recording the digital signal on a recording medium, wherein the number of bits per packet of the input digital signal is counted. A digital signal recording method, comprising detecting a mismatch between a count result and the predetermined number of bits and outputting the result.
【請求項6】不一致を検出した場合、記録を停止、ある
いは記録開始を行わない制御を行うことを特徴とする請
求項5に記載のディジタル信号記録方法。
6. The digital signal recording method according to claim 5, wherein control is performed to stop recording or not start recording when a mismatch is detected.
【請求項7】所定ビット数のパケット形式で伝送される
ディジタル信号を受信し、記録媒体上に記録するディジ
タル信号記録装置において、 受信されたディジタル信号の1パケットあたりのビット
数をカウントするパケット長カウント手段と、 前記パケット長カウント手段の結果と、前記所定ビット
数の不一致を検出して結果を出力するパケット長不一致
検出手段を備えることを特徴とするディジタル信号記録
装置。
7. A digital signal recording apparatus for receiving a digital signal transmitted in a packet format having a predetermined number of bits and recording the digital signal on a recording medium, wherein a packet length for counting the number of bits per packet of the received digital signal. A digital signal recording apparatus, comprising: counting means; and packet length mismatch detecting means for detecting a mismatch between the result of the packet length counting means and the predetermined number of bits and outputting the result.
【請求項8】前記パケット長不一致検出手段により、不
一致を検出した場合、記録を停止、あるいは記録開始を
行わない制御を行う記録制御手段をさらに備えることを
特徴とする請求項7に記載のディジタル信号記録装置。
8. The digital recording apparatus according to claim 7, further comprising recording control means for controlling not to stop recording or to start recording when a mismatch is detected by said packet length mismatch detecting means. Signal recording device.
【請求項9】前記ディジタル信号の1パケットあたりの
ビット数が前記所定ビット数より小さい場合、前記ディ
ジタル信号に前記所定ビット数となる様にダミーデータ
を付加し、前記ディジタル信号の1パケットあたりのビ
ット数が前記所定ビット数より大きい場合、前記ディジ
タル信号を前記所定ビット数となる様に削除し、パケッ
ト長を調整したパケットを出力するパケット長調整手段
をさらに備えることを特徴とする請求項7に記載のディ
ジタル信号記録装置。
9. When the number of bits per packet of the digital signal is smaller than the predetermined number of bits, dummy data is added to the digital signal so that the number of bits is equal to the predetermined number of bits. 8. The apparatus according to claim 7, further comprising a packet length adjusting means for deleting the digital signal so as to have the predetermined number of bits when the number of bits is larger than the predetermined number of bits, and outputting a packet whose packet length has been adjusted. 2. The digital signal recording device according to claim 1.
JP6590697A 1997-03-19 1997-03-19 Digital signal processing method, recording method using it and device therefor Pending JPH10261268A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6590697A JPH10261268A (en) 1997-03-19 1997-03-19 Digital signal processing method, recording method using it and device therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6590697A JPH10261268A (en) 1997-03-19 1997-03-19 Digital signal processing method, recording method using it and device therefor

Publications (1)

Publication Number Publication Date
JPH10261268A true JPH10261268A (en) 1998-09-29

Family

ID=13300483

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6590697A Pending JPH10261268A (en) 1997-03-19 1997-03-19 Digital signal processing method, recording method using it and device therefor

Country Status (1)

Country Link
JP (1) JPH10261268A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007096737A (en) * 2005-09-29 2007-04-12 Oki Electric Ind Co Ltd Communication controller and its control method
JP2008182563A (en) * 2007-01-25 2008-08-07 Nec Personal Products Co Ltd Content distribution server and content distribution system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007096737A (en) * 2005-09-29 2007-04-12 Oki Electric Ind Co Ltd Communication controller and its control method
JP4649304B2 (en) * 2005-09-29 2011-03-09 Okiセミコンダクタ株式会社 COMMUNICATION CONTROL DEVICE AND ITS CONTROL METHOD
JP2008182563A (en) * 2007-01-25 2008-08-07 Nec Personal Products Co Ltd Content distribution server and content distribution system

Similar Documents

Publication Publication Date Title
JP3047812B2 (en) Magnetic recording / reproducing device
JP3158740B2 (en) Digital video signal transmission method and dubbing method
EP0858074B1 (en) Encoding device and decoding device suitable for dubbing
US6480234B1 (en) Method and apparatus for synchronously encoding audio signals with corresponding video frames
JPH05344162A (en) Data transmitter
JP2001008211A (en) Device and method for transmitting and receiving voice stream using digital interface
JPH10261268A (en) Digital signal processing method, recording method using it and device therefor
JP2000069414A (en) Recorder, recording method, reproduction device, reproduction method and cm detection method
JP3491533B2 (en) Method and apparatus for reproducing digital audio data
US6009227A (en) HDTV digital recorder with compressed image data inserted in a video signal that corresponds to a video interface standard
CN1327682A (en) Digital signal recording/reproducing apparatus
KR20000076958A (en) Receiving Apparatus, Receiving Method and Providing Medium
JP3351217B2 (en) Digital signal processing device and digital signal processing method
JPH09261588A (en) Transmission method for digital compression image signal and signal processing unit using it
JP3430613B2 (en) Information signal reproducing method and apparatus
JP2001023294A (en) Digital signal recording device and reproducing device
JPH07177121A (en) Information multipliexer
KR100235614B1 (en) Digital- vhs codec
JP3293600B2 (en) Digital information recording / reproducing apparatus, reception recording / reproducing apparatus and method thereof
JP3944255B2 (en) Digital signal recording / reproducing method and recording / reproducing apparatus
JP3982457B2 (en) Digital signal recording apparatus, recording method and recording medium
KR0179113B1 (en) Audio dubbing and reproduction method and apparatus for dvcr
JP3829574B2 (en) Digital signal output method and apparatus
JP3275917B2 (en) Digital information transmitting device and receiving device
JP3008885B2 (en) Digital information transmitter

Legal Events

Date Code Title Description
A02 Decision of refusal

Effective date: 20040210

Free format text: JAPANESE INTERMEDIATE CODE: A02