JPH06296175A - Scrambler and descrambler - Google Patents

Scrambler and descrambler

Info

Publication number
JPH06296175A
JPH06296175A JP5083085A JP8308593A JPH06296175A JP H06296175 A JPH06296175 A JP H06296175A JP 5083085 A JP5083085 A JP 5083085A JP 8308593 A JP8308593 A JP 8308593A JP H06296175 A JPH06296175 A JP H06296175A
Authority
JP
Japan
Prior art keywords
data
divided data
processing
scrambler
divided
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
JP5083085A
Other languages
Japanese (ja)
Inventor
Susumu Ibaraki
晋 茨木
Noboru Katsuta
昇 勝田
Seiji Nakamura
誠司 中村
Hironori Murakami
弘規 村上
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 JP5083085A priority Critical patent/JPH06296175A/en
Priority to US08/225,330 priority patent/US5546461A/en
Priority to KR1019940007321A priority patent/KR0184313B1/en
Priority to EP94105449A priority patent/EP0619677A3/en
Publication of JPH06296175A publication Critical patent/JPH06296175A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide the scrambler and the descrambler able to descramble correctly data after interpolation processing when the scrambler and the descrambler are adopted for a communication system implementing interpolation processing with respect to the scrambler used when a digital vidbo signal and a voice signal are communicated. CONSTITUTION:A divider 11 divides input data in the unit of data of the interpolation processing executed at a location of reception or reproduction. Then a PN adder 12 receives division data outputted from the divider 11 to provide a ciphering output of the division data. In this case, the PN adder 12 generates a pseudo random number (PN) based on a kind of a random number series and all division data related to each other are subject to exclusive OR processing in the interpolatioon processing. Finally a synthesizer 13 synthesizes the division data after being processed by the PN adder 12 with reverse processing of the divider 11 to provide an output of the data.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ディジタル映像信号や
ディジタル音声信号を有線や無線、あるいは蓄積メディ
アを用いて、秘密に通信あるいは記録再生する場合に用
いるスクランブル装置およびデスクランブル装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a scrambler and a descrambler used when secretly communicating or recording / reproducing a digital video signal or a digital audio signal by using a wired or wireless or storage medium.

【0002】[0002]

【従来の技術】従来のディジタル映像信号やディジタル
音声信号を暗号化して通信するスクランブルは、疑似乱
数(以下PNという)の加算で行われていた。デジタル
音声のPN加算のスクランブルは、例えば「暗号と情報
セキュリティ」(昭晃堂出;辻井重男ら編著)のP.178
〜P.179に紹介されている。図7に従来のスクランブル
装置を示す。ここで、71は乱数発生装置、72は排他
的論理和装置である。
2. Description of the Related Art Conventionally, scrambling for encrypting and communicating digital video signals and digital audio signals has been performed by adding pseudo random numbers (hereinafter referred to as PN). For scrambling digital audio PN addition, see, for example, "Cryptography and Information Security" (Shokodo Deide; Shigeo Tsujii et al.), P.
~ Introduced on page 179. FIG. 7 shows a conventional scrambler. Here, 71 is a random number generator, and 72 is an exclusive OR device.

【0003】以上のように構成された従来のスクランブ
ル装置では、映像データあるいは音声データから構成さ
れる入力データを入力し、乱数発生装置71が乱数の種
を元にしてPNを発生し、排他的論理和装置72が入力
データと前記PNをビットごとの排他的論理和した結果
を、スクランブルされたデータとして出力する。
In the conventional scrambler configured as described above, input data composed of video data or audio data is input, and the random number generator 71 generates a PN based on the seed of the random number, which is exclusive. The logical sum device 72 outputs the result of the bitwise exclusive OR of the input data and the PN as scrambled data.

【0004】また、従来のデスクランブル装置は前述の
スクランブル装置と同一の構成であり、図7に示すよう
に乱数発生装置71と排他的論理和装置72とから構成
される。以上のように構成された従来のデスクランブル
装置では、スクランブルされた映像データあるいは音声
データを入力データとして入力し、乱数発生装置71が
乱数の種を元にしてPNを発生し、排他的論理和装置7
2が入力データと前記PNをビットごとの排他的論理和
した結果を、デスクランブルされたデータとして出力す
る。ここで、乱数発生装置71に入力される乱数の種
は、入力データがスクランブルされたときに用いられた
乱数の種と同じものを用いる。
The conventional descrambling device has the same structure as the scrambling device described above, and is composed of a random number generating device 71 and an exclusive OR device 72 as shown in FIG. In the conventional descrambling device configured as described above, scrambled video data or audio data is input as input data, and the random number generation device 71 generates a PN based on a seed of random numbers and performs an exclusive OR operation. Device 7
2 outputs the result of the bitwise exclusive OR of the input data and the PN as descrambled data. Here, the seed of the random number input to the random number generator 71 is the same as the seed of the random number used when the input data is scrambled.

【0005】このとき、排他的論理和の性質より、At this time, due to the property of exclusive OR,

【0006】[0006]

【数1】 [Equation 1]

【0007】となるので、デスクランブル装置で入力デ
ータにPNを排他的論理和してデスクランブルするとき
には、デスクランブルされる入力データがスクランブル
装置でスクランブルされるときに用いられたのと同じP
Nを、同じビットごとの対応でデスクランブルされる入
力データにビットごとの排他的論理和する場合にのみ、
正しくスクランブルされる。
Therefore, when the descrambling device performs the exclusive OR of the input data and the descramble, the same P as that used when the descrambled input data is scrambled by the scramble device is used.
Only when N is bitwise exclusive ORed with the input data descrambled with the same bitwise correspondence,
Correctly scrambled.

【0008】例えば、データが(10110110)
で、PNが(10101010)のとき、データとPN
をビットごとの排他的論理和した結果、すなわちスクラ
ンブル後のデータは(00011100)となる。これ
をデスクランブルするためには、同じPNを同じビット
対応でビットごとの排他的論理和しなければならない。
スクランブル後のデータにPNをビットごとの排他的論
理和した結果、すなわちデスクランブル後のデータは
(10110110)となり、正しくデスクランブルさ
れることがわかる。
For example, if the data is (10110110)
Then, when PN is (10101010), data and PN
The result of the exclusive OR for each bit, that is, the scrambled data is (00011100). In order to descramble this, the same PN must be bitwise exclusive ORed with the same bit correspondence.
It can be seen that the result of the bitwise exclusive OR of the scrambled data and the PN, that is, the descrambled data, is (10110110), which is correctly descrambled.

【0009】実際に前記従来例のスクランブル装置およ
びデスクランブル装置を使用する場合には、図8に示す
通信システムが構成される。ここで、81はスクランブ
ル装置、82は送信装置、83は通信路、84は受信装
置、85はデスクランブル装置である。
When the scrambler and the descrambler of the conventional example are actually used, the communication system shown in FIG. 8 is constructed. Here, 81 is a scrambler, 82 is a transmitter, 83 is a communication channel, 84 is a receiver, and 85 is a descrambler.

【0010】以上のように構成された通信システムで
は、まずスクランブル装置81が乱数の種を元にデータ
のスクランブルを行い、次に送信装置82はスクランブ
ル装置81より出力されるデータを、送信方法に適した
送信データに変換し、有線や無線あるいは蓄積メディア
などの通信路83を通じて送信する。また受信装置84
は通信路83により送信された送信データを受信し、受
信したデータを送信装置82における処理に適合した処
理で、処理する。最後にデスクランブル装置85は受信
装置84により処理された後のデータを乱数の種を元に
デスクランブルする。
In the communication system configured as described above, the scramble device 81 first scrambles the data based on the seeds of random numbers, and then the transmitter 82 uses the data output from the scramble device 81 as the transmission method. It is converted into suitable transmission data, and is transmitted through a communication path 83 such as a wired or wireless or storage medium. In addition, the receiving device 84
Receives the transmission data transmitted through the communication path 83, and processes the received data by a process suitable for the process in the transmitting device 82. Finally, the descrambler 85 descrambles the data processed by the receiver 84 based on the seeds of random numbers.

【0011】例として、複数のフレームデータから構成
される映像データを従来の通信システムで通信する場合
に、従来のスクランブル装置およびデスクランブル装置
を用いる場合を示す。ここで、スクランブルされる前の
各フレームデータは分割データDabに分割されている
ものとし、bはフレームを、aはフレーム内の分割デー
タの位置を示す。また、Dabのそれぞれの位置を
(a,b)で表す。すなわちD12の位置を(1,2)
と表す。同様にPNをPNabで、スクランブル後のデ
ータをCabで表すものとする。
As an example, a case where a conventional scrambler and a descrambler are used when video data composed of a plurality of frame data is communicated by a conventional communication system will be described. Here, it is assumed that each frame data before being scrambled is divided into divided data Dab, b indicates a frame, and a indicates a position of the divided data in the frame. Moreover, each position of Dab is represented by (a, b). That is, the position of D12 is (1, 2)
Express. Similarly, PN is represented by PNab, and scrambled data is represented by Cab.

【0012】まず、スクランブル装置では図10(a)
に示すようなデータに図10(b)に示すPNを対応さ
せて、ビットごとの排他的論理和によってスクランブル
し、その結果として図10(c)に示すスクランブル後
のデータCabを得るものとする。
First, the scrambler is shown in FIG.
The data shown in FIG. 10 is associated with the PN shown in FIG. 10B and scrambled by the bitwise exclusive OR, and as a result, the scrambled data Cab shown in FIG. 10C is obtained. .

【0013】[0013]

【数2】 [Equation 2]

【0014】すなわち、D11にはPN11を、D12
にはPN12をビットごとの排他的論理和してスクラン
ブルし、C11、C12を得る。デスクランブルすると
きには、分割データが図10(c)に示すようにスクラ
ンブルしたときと同じ順序で並んでいるとすると、図1
0(b)に示すPNを用いてデスクランブルするので、
各分割データのデスクランブルにはその分割データがス
クランブルされるときに用いられたのと同じPNが用い
られるので、正しくデスクランブルされる。
That is, D11 is PN11 and D12
, PN12 is bitwise exclusive ORed and scrambled to obtain C11 and C12. When descrambling, if the divided data are arranged in the same order as when scrambling as shown in FIG.
Since it is descrambled using the PN shown in 0 (b),
Since the same PN that was used when the divided data was scrambled is used for descrambling each divided data, it is descrambled correctly.

【0015】[0015]

【数3】 [Equation 3]

【0016】図8に示した通信システムの中の特別な例
として、図9に示す記録再生システムがある。ここで、
91はスクランブル装置、92は記録装置、93は蓄積
メディア、94は再生装置、95はデスクランブル装置
である。
As a special example of the communication system shown in FIG. 8, there is a recording / reproducing system shown in FIG. here,
Reference numeral 91 is a scramble device, 92 is a recording device, 93 is a storage medium, 94 is a reproducing device, and 95 is a descrambling device.

【0017】以上のように構成された記録再生システム
では、まずスクランブル装置91が乱数の種を元にデー
タのスクランブルを行い、次に記録装置92は前記スク
ランブル装置91より出力されるデータを、記録方法に
適した記録データに変換し、蓄積メディア93に記録す
る。また再生装置94は蓄積メディア93に記録されて
いる記録データを再生し、再生したデータを記録装置9
2における処理に適合した処理で、処理する。最後にデ
スクランブル装置95は再生装置94により処理された
後のデータを乱数の種を元にデスクランブルする。
In the recording / reproducing system configured as described above, the scrambler 91 first scrambles the data based on the seeds of random numbers, and then the recorder 92 records the data output from the scrambler 91. It is converted into recording data suitable for the method and recorded in the storage medium 93. The reproducing device 94 reproduces the recorded data recorded in the storage medium 93, and reproduces the reproduced data.
Process with a process suitable for the process in 2. Finally, the descrambling device 95 descrambles the data processed by the reproducing device 94 based on the seeds of random numbers.

【0018】ところで、映像データや音声データを送受
信する通信システムの受信装置では、映像データや音声
データは近傍のデータと相関が高いという性質を利用し
た補間処理が行われることがある。この補間処理とは、
通信路で誤りが多重された場合に、この誤りをなるべく
小さくするために、誤りのあるデータを近傍のデータで
置き換えるという処理である。例として複数のフレーム
により構成される映像データの補間処理の場合を考える
と、いくつかの画素をまとめたものが補間のデータ単位
として用いられる。以下、この補間のデータ単位のデー
タを補間単位データと呼ぶ。この場合、前者の補間処理
としては、例えば、誤りのあるデータ単位をその直前の
フレームの同じ位置にあるデータ単位で補間する処理が
ある。
By the way, in a receiver of a communication system for transmitting and receiving video data and audio data, interpolation processing may be performed by utilizing the property that the video data and audio data have a high correlation with neighboring data. This interpolation process is
When an error is multiplexed on the communication path, in order to reduce this error as much as possible, the error data is replaced with neighboring data. Considering the case of interpolation processing of video data composed of a plurality of frames as an example, a group of several pixels is used as a data unit for interpolation. Hereinafter, the data of this interpolation data unit will be referred to as interpolation unit data. In this case, as the former interpolation process, there is, for example, a process of interpolating an erroneous data unit with a data unit located at the same position in the immediately preceding frame.

【0019】また、蓄積メディアに記録されている映像
信号を再生する場合に、特殊再生が行われることがあ
る。特殊再生には主に巻き戻し再生、スロー再生、早回
し再生の3種類がある。デジタル蓄積メディアにおける
巻き戻し再生とは、逆向きに再生することであり、テー
プを逆向きに回しながら、フレームを正規の再生とは逆
の順番で再生する。スロー再生とは、普通よりも遅いス
ピードで再生することであり、正規に数フレームを再生
する時間に渡って1フレームのデータを再生・表示す
る。早回し再生とは、普通よりも速いスピードで再生す
ることであり、正規に1フレームを再生する時間で数フ
レーム分のデータを再生・表示する。
When the video signal recorded on the storage medium is reproduced, special reproduction may be performed. There are three types of special playback: rewind playback, slow playback, and fast-forward playback. Rewind reproduction in the digital storage medium is reproduction in the reverse direction, and while the tape is rotated in the reverse direction, the frames are reproduced in the reverse order of the normal reproduction. Slow reproduction is reproduction at a slower speed than usual, and one frame of data is reproduced and displayed over the time required to normally reproduce several frames. Fast-forward playback is to play back at a speed faster than normal, and to play back and display data for several frames in the time for playing one frame normally.

【0020】[0020]

【発明が解決しようとする課題】しかしながら、前記の
ような構成の従来例のスクランブル装置およびデスクラ
ンブル装置では、これらの装置が実際に使用される通信
システムの受信装置において、補間処理によりできたデ
ータを正しくデスクランブルできないという第1の課題
を有していた。その理由を以下に示す。
However, in the conventional scrambling device and descrambling device having the above-mentioned configuration, the data generated by the interpolation process in the receiving device of the communication system in which these devices are actually used. Had the first problem that it could not be descrambled correctly. The reason is shown below.

【0021】従来例のスクランブル装置およびデスクラ
ンブル装置を用いる従来の通信システムの受信装置にお
いて、前記のような補間処理を行っている場合、受信装
置では誤りのあるデータが検出され、近傍の補間単位デ
ータで置き換えられる。その後、受信装置より出力され
るデータがデスクランブル装置でデスクランブルされ
る。このデスクランブルは前記したように、送信側のス
クランブル装置でデータに排他的論理和されたPNと、
全く同じPNを同じビット対応で排他的論理和すること
により実現している。このとき、PNの周期は複数の補
間単位データにまたがるので、補間単位データごとに対
応するPNは異なる。
In the receiver of the conventional communication system using the scrambler and descrambler of the conventional example, when the above-mentioned interpolation processing is performed, the receiver detects erroneous data, and the neighboring interpolation units are detected. Replaced with data. After that, the data output from the receiving device is descrambled by the descramble device. This descramble is, as described above, the PN exclusive-ORed with the data by the scrambler on the transmission side,
It is realized by exclusive ORing the same PN with the same bit correspondence. At this time, since the PN cycle spans a plurality of interpolation unit data, the PN corresponding to each interpolation unit data is different.

【0022】このため、誤りがなく補間されなかった補
間単位データは、スクランブルされたときと同じPNが
同じビット対応でビットごとの排他的論理和されるの
で、正しくデスクランブルされる。しかし、補間が行わ
れてできた補間単位データについては、近傍の補間単位
データで置き換えられているので、スクランブル装置で
用いたPNを乱数の種より作り、ビットごとの排他的論
理和したとしても、補間に用いた近傍の補間単位データ
がスクランブルされたときに用いられたPNと異なるこ
とになる。
Therefore, the interpolation unit data which has no error and is not interpolated is descrambled correctly because the same PN as when scrambled is subjected to exclusive OR for each bit corresponding to the same bit. However, since the interpolation unit data generated by the interpolation is replaced with the neighboring interpolation unit data, even if the PN used in the scrambler is made from the seed of random numbers and the exclusive OR is performed for each bit. , PN used when the neighboring interpolation unit data used for interpolation is scrambled.

【0023】例として、補間処理を行う通信システムで
複数のフレームデータから構成される映像データを通信
する場合に、従来のスクランブル装置及びデスクランブ
ル装置を用いて、補間処理後のデータをデスクランブル
装置で処理する場合を示す。ここで、各フレームデータ
は分割データとして補間単位データに分割されているも
のとする。また、補間処理は誤りのある分割データを直
前のフレームの同じ位置にある分割データで置き換える
処理とする。従来例においてもスクランブルされた分割
データは、図10(c)のように並んでいるとする。
As an example, when video data composed of a plurality of frame data is communicated in a communication system for performing interpolation processing, the conventional scrambler and descrambling apparatus are used to descramble the data after interpolation processing. Shows the case of processing with. Here, it is assumed that each frame data is divided into interpolation unit data as divided data. In addition, the interpolation process is a process for replacing erroneous divided data with divided data at the same position in the immediately preceding frame. Also in the conventional example, it is assumed that the scrambled divided data are arranged as shown in FIG.

【0024】ここで、図10(c)のように並んでいる
データは、図10(b)に示したPNを用いてスクラン
ブルされたものである。C12とC22とC33とCn
3に誤りがあり、その直前のフレームの同じ位置のデー
タC11とC21とC32とCn2で補間された後のデ
ータを図11(a)に示す。この後で、図10(b)に
示すPNを用いてデスクランブルしたとしても、例えば
補間された(1,2)の位置にあるデータC11は、P
N12を用いてデスクランブルされることになる。しか
し、C11はPN11を用いてスクランブルされている
ので、PN12をビットごとの排他的論理和しても正し
くデスクランブルされない。以下同様に(2,2)、
(3,3)、(n,3)の位置にあるデータについても
正しくデスクランブルされない。
Here, the data arranged as shown in FIG. 10C is scrambled using the PN shown in FIG. 10B. C12, C22, C33 and Cn
3A has an error, and the data after being interpolated by the data C11, C21, C32, and Cn2 at the same position in the frame immediately before that is shown in FIG. After that, even if descrambling is performed using the PN shown in FIG. 10B, for example, the data C11 at the interpolated position (1, 2) is P
It will be descrambled using N12. However, since C11 is scrambled using PN11, even if PN12 is exclusive-ORed bit by bit, it is not descrambled correctly. Similarly (2, 2),
The data at the positions (3, 3) and (n, 3) are not descrambled correctly.

【0025】以上のように、補間された位置の補間単位
データは正しくデスクランブルされないという課題があ
った。したがって、従来のスクランブル装置およびデス
クランブル装置では、補間処理を行う通信システムに用
いる場合には、補間処理部分に対し、正しいデスクラン
ブル動作ができないという課題があった。
As described above, there is a problem that the interpolation unit data at the interpolated position is not descrambled correctly. Therefore, in the conventional scrambler and descrambler, when used in a communication system that performs interpolation processing, there is a problem that a correct descramble operation cannot be performed for the interpolation processing part.

【0026】本発明はかかる点に鑑み、補間処理を行う
通信システムにスクランブル装置およびデスクランブル
装置を用いる場合に、誤りの補間が実現できるように、
通信システムの受信装置において補間処理が行われた後
のデータの、補間処理部分を正しくデスクランブルでき
るようなスクランブル装置およびデスクランブル装置を
提供することを第1の目的とする。
In view of the above point, the present invention enables the interpolation of an error to be realized when a scrambler and a descrambler are used in a communication system for performing interpolation processing.
A first object of the present invention is to provide a scramble device and a descramble device that can correctly descramble the interpolation processing part of the data after the interpolation processing is performed in the receiving device of the communication system.

【0027】また、前記のような構成の従来例のスクラ
ンブル装置およびデスクランブル装置では、これらの装
置が特殊再生を行う記録再生システムに用いられるとき
に、特殊再生時の映像データを正しくデスクランブルで
きないという第2の課題を有していた。この理由を以下
に示す。
Further, in the conventional scramble apparatus and descrambling apparatus having the above-mentioned structure, when these apparatuses are used in the recording / reproducing system for special reproduction, the video data in special reproduction cannot be descrambled correctly. There was a second problem called. The reason for this is shown below.

【0028】蓄積メディアに記録/再生される複数のフ
レーム映像信号より構成されている映像信号は、普通の
再生時には記録したフレーム映像信号を、記録したとき
と同じ順番で、そのまま再生する。ところが、特殊再生
の場合には記録したフレーム映像信号を記録したときと
異なる順番で再生したり、記録したときと異なるフレー
ム映像信号を作り出して再生したりする。具体的に例を
示すと、巻き戻し再生では記録したときと逆の順番で再
生し、スロー再生では同じフレーム映像信号を数枚連続
して再生し、早送り再生では数枚のフレーム映像信号か
ら1枚のフレーム映像信号を作り再生フレーム映像信号
とする。
A video signal composed of a plurality of frame video signals recorded / reproduced on / from the storage medium reproduces the frame video signals recorded during normal reproduction in the same order as when they were recorded. However, in the case of special reproduction, the recorded frame video signals are reproduced in a different order from when they were recorded, or a frame video signal different from that at the time of recording is produced and reproduced. As a specific example, in rewind reproduction, reproduction is performed in the reverse order of recording, in slow reproduction, the same frame video signal is continuously reproduced, and in fast-forward reproduction, several frame video signals are reproduced. A frame video signal is created and used as a playback frame video signal.

【0029】これらのように特殊再生を行う場合には、
記録装置に入力される映像信号と再生装置から出力され
る映像信号が一致しない。したがって、このときに再生
装置より出力される映像信号を正しくデスクランブルす
るためには、乱数の種から生成されるPNも特殊再生の
処理に対応して用いなければ正しくデスクランブルでき
ない。すなわち、巻き戻し再生の時にはPNをスクラン
ブルの時とは逆の順序で用い、スロー再生では同じPN
を数フレーム繰り返して用い、早送り再生では数フレー
ム分のPNから1フレーム分のPNを作って用いなけれ
ばならない。これらの処理は、複雑な制御が必要である
とともに、処理を実現するためには、PNや映像データ
のためのメモリが余分に必要となる。
When performing special reproduction as described above,
The video signal input to the recording device does not match the video signal output from the playback device. Therefore, in order to correctly descramble the video signal output from the reproducing apparatus at this time, the PN generated from the random number seed cannot be properly descrambled unless it is also used for the special reproduction process. That is, PN is used in the reverse order when rewinding, and the same PN is used in slow playback.
Must be repeatedly used for several frames, and in fast-forward reproduction, one frame of PN must be created from several frames of PN. These processes require complicated control, and an additional memory for PN and video data is required to realize the processes.

【0030】例として、特殊再生を行う記録再生システ
ムで複数のフレームデータから構成される映像データを
記録再生する場合に、従来のスクランブル装置およびデ
スクランブル装置を用いて、特殊再生処理後のデータを
デスクランブル装置で処理する場合を示す。ここで、各
フレームデータは分割データDabとして早送り再生を
行う時の最小のデータ単位に分割されているものとす
る。本従来例においてもスクランブルされた後の分割デ
ータは図10(c)のように並んでいるものとする。ま
た、このときスクランブルは図10(b)に示したPN
を用いて行われているものとする。
As an example, when recording / reproducing video data composed of a plurality of frame data in a recording / reproducing system for special reproduction, the data after special reproduction processing is performed by using a conventional scrambler and descrambler. The case where processing is performed by the descrambling device is shown. Here, it is assumed that each frame data is divided as the divided data Dab into the minimum data unit when performing fast-forward reproduction. Also in this conventional example, it is assumed that the divided data after being scrambled are arranged as shown in FIG. At this time, scrambling is performed using the PN shown in FIG.
It is assumed that it is performed using.

【0031】まず、早送り再生を行った後でデスクラン
ブルする場合を示す。ここで早送り再生を、2フレーム
から分割データを交互に用いて1フレームを作る処理で
実現するものとする。その結果、図11(b)のように
特殊再生後のデータが構成される。このデータをデスク
ランブルするためには、図10(b)に示したPNをそ
のまま用いても正しくデスクランブルできず、2フレー
ム分のPNを発生させ、この2フレーム分のPNを用い
て早送り再生の時に2フレームから1フレームを作った
のと同じ処理で1フレーム分のPNを作らなければなら
ない。このため処理が複雑になり、さらに必要なメモリ
の量が増加する。より速い早送り再生はより複雑な処理
をしているので、デスクランブルもさらに複雑になる。
First, the case of descrambling after performing fast-forward reproduction will be described. Here, it is assumed that the fast-forward reproduction is realized by a process of alternately using divided data from two frames to form one frame. As a result, the data after special reproduction is formed as shown in FIG. In order to descramble this data, even if the PN shown in FIG. 10 (b) is used as it is, it cannot be descrambled correctly, PN for two frames is generated, and fast-forward reproduction is performed using the PN for two frames. In this case, the PN for one frame must be created by the same process as that for creating one frame from two frames. This complicates the process and increases the amount of memory required. Faster fast-forward playback does more complicated processing, so descramble becomes more complicated.

【0032】また、図11(c)にスロー再生の例、図
11(d)に巻き戻し再生のデスクランブルの対象とな
るデータの例を示すが、どちらの場合も正しくデスクラ
ンブルするためには複雑な処理が必要となる。
Further, FIG. 11 (c) shows an example of slow reproduction, and FIG. 11 (d) shows an example of data to be descrambled for rewind reproduction. Complex processing is required.

【0033】以上のように、スクランブル装置で用いた
乱数の種からスクランブル装置と同じように作られるP
Nを単純に順次発生させ、特殊再生でないときと同じよ
うにビットごとの排他的論理和したのでは、正しくデス
クランブルできず、正しくデスクランブルするためには
複雑な処理が必要であるという課題があった。
As described above, P generated in the same way as in the scrambler from the seeds of random numbers used in the scrambler
If N is simply sequentially generated and bitwise exclusive OR is performed as in the case of no special reproduction, descrambling cannot be performed correctly, and complicated processing is required to perform descrambling correctly. there were.

【0034】本発明はかかる点に鑑み、特殊再生を行う
記録再生システムにおいて、特殊再生時でも、簡単に正
しくデスクランブルできるようなスクランブル装置およ
びデスクランブル装置を提供することを第2の目的とす
る。
In view of the above point, a second object of the present invention is to provide a scramble device and a descramble device that can easily and properly descramble even in special reproduction in a recording / reproduction system for special reproduction. .

【0035】[0035]

【課題を解決するための手段】第1の発明は、入力デー
タを補間処理が行われるデータ単位に分割して分割デー
タとして出力する分割装置と、補間処理において関連し
合う全ての分割データに対して同じ乱数化処理を繰り返
す暗号化装置と、前記暗号化装置で処理された後の分割
データを、前記分割装置と逆の処理によって合成して出
力データとして出力する合成装置から構成される。
According to a first aspect of the present invention, there is provided a dividing device for dividing input data into data units in which interpolation processing is performed and outputting the divided data as divided data, and for all divided data associated with each other in the interpolation processing. And an synthesizing device for synthesizing the divided data processed by the encrypting device by a process reverse to that of the dividing device and outputting as output data.

【0036】第2の発明は、複数のフレームデータから
構成される映像信号を入力データとし、入力データを特
殊再生処理において復元できる最小のデータ単位に分割
して分割データとして出力する分割装置と、特殊再生処
理において関連し合う全ての分割データに対して同じ乱
数化処理を繰り返す暗号化装置と、前記暗号化装置で処
理された後の分割データを、前記分割装置と逆の処理に
よって合成して出力データとして出力する合成装置から
構成される。
The second invention uses a video signal composed of a plurality of frame data as input data, divides the input data into minimum data units that can be restored in special reproduction processing, and outputs the divided data as divided data. In the trick play process, an encryption device that repeats the same randomization process for all the divided data that are related to each other, and the divided data that has been processed by the encryption device are combined by the reverse process of the dividing device. It is composed of a synthesizer that outputs as output data.

【0037】[0037]

【作用】第1の発明におけるスクランブル装置およびデ
スクランブル装置は前記した構成により、分割装置が入
力データを補間処理が行われる最小のデータ単位に分割
して分割データとして出力し、乱数化装置が補間処理に
おいて関連し合う全ての分割データに対して同じ乱数化
処理を行う。これにより、補間が行われる分割データど
うしは全て同じ処理でスクランブル/デスクランブルさ
れるので、補間された分割データは正しくデスクランブ
ルされる。
In the scrambler and the descrambler according to the first aspect of the present invention, the dividing device divides the input data into the minimum data units for which interpolation processing is performed and outputs the divided data as the divided data, and the randomizing device interpolates. The same randomization process is performed on all divided data that are related in the process. As a result, all the divided data items to be interpolated are scrambled / descrambled by the same process, so that the interpolated divided data items are correctly descrambled.

【0038】第2の発明におけるスクランブル装置およ
びデスクランブル装置は前記した構成により、分割装置
が入力データを特殊再生処理において復元できる最小の
データ単位に分割して分割データとして出力し、乱数化
装置が特殊再生処理において関連し合う全ての分割デー
タに対して同じ乱数化処理を行う。これにより、スクラ
ンブルする時とデスクランブルする時で、特殊再生によ
り分割データの順番が異なったとしても、その移動の範
囲は特殊再生において関連し合う位置であり、分割デー
タに対するデスクランブル処理は同じであるので、正し
くデスクランブルされる。
The scrambler and the descrambler according to the second aspect of the present invention are configured as described above, and the dividing device divides the input data into the minimum data units that can be restored in the special reproduction process and outputs the divided data as the divided data. The same randomization process is performed on all the divided data that are related to each other in the special reproduction process. As a result, even if the order of divided data differs between scrambling and descrambling due to special playback, the range of movement is a position where they are related in special playback, and the descramble processing for divided data is the same. So it is descrambled correctly.

【0039】[0039]

【実施例】以下、本発明の第1の実施例について、図面
を参照しながら説明する。図1は本発明の第1の実施例
におけるスクランブル装置の構成図を示すものである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A first embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of a scrambler according to the first embodiment of the present invention.

【0040】図1において、11は入力データを補間処
理のデータ単位に分割して分割データとして出力する分
割装置、12は補間処理において関連し合う全ての分割
データに関して同じPNを加算するPN加算装置、13
は分割装置11と逆の処理によって、分割データを合成
して出力データとして出力する合成装置である。
In FIG. 1, 11 is a dividing device for dividing input data into data units for interpolation processing and outputting as divided data, and 12 is a PN adder for adding the same PN to all related divided data in interpolation processing. , 13
Is a synthesizing device for synthesizing the divided data by a process reverse to that of the dividing device 11 and outputting as output data.

【0041】以上のように構成された本実施例のスクラ
ンブル装置について、その動作を以下に説明する。ま
ず、分割装置11は入力データを分割し、分割データと
して出力する。このときの分割装置11は、入力データ
を、受信あるいは再生する場所で行われる補間処理のデ
ータ単位に分割する。次に、PN加算装置12では、分
割装置11より出力される分割データを入力し、この分
割データを暗号化して出力する。このときにPN加算装
置12では、乱数の種を元にPNを発生させ、補間処理
において関連し合う全ての分割データに対して同じPN
を排他的論理和する。最後に、合成装置13はPN加算
装置12で処理された後の分割データを、分割装置11
と逆の処理によって合成して出力データとして出力す
る。
The operation of the scrambler according to this embodiment having the above-mentioned structure will be described below. First, the dividing device 11 divides the input data and outputs it as divided data. The dividing device 11 at this time divides the input data into data units of the interpolation processing performed at the place of receiving or reproducing. Next, the PN adder 12 receives the divided data output from the dividing device 11, encrypts the divided data, and outputs the encrypted divided data. At this time, the PN adder 12 generates a PN based on the seed of the random number, and uses the same PN for all the related divided data in the interpolation processing.
Exclusive-or. Finally, the synthesizer 13 divides the divided data processed by the PN adder 12 into the divider 11
The output data is synthesized by the reverse processing of the above and output as output data.

【0042】また、本発明の第1の実施例におけるデス
クランブル装置は図1に示したスクランブル装置と同じ
構成で、分割装置11とPN加算装置12と合成装置1
3より構成される。
The descrambling device according to the first embodiment of the present invention has the same configuration as the scrambling device shown in FIG. 1, and the dividing device 11, the PN adder device 12, and the synthesizing device 1 are used.
It consists of 3.

【0043】以上のように構成された第1の実施例のデ
スクランブル装置の動作を以下に説明する。本実施例に
おけるデスクランブル装置は、本実施例のスクランブル
装置でスクランブルされ、受信あるいは再生の場所で補
間処理が行われた後のデータを入力データとして入力す
る。まず分割装置11は入力データを分割し、分割デー
タとして出力する。このときの分割装置11は、第1の
実施例のスクランブル装置における分割装置11と同様
の動作をする。次にPN加算装置12では、分割装置1
1より出力される分割データを入力し、この分割データ
を復号化して出力する。このときにPN加算装置12で
は、その分割データが本実施例のスクランブル装置にお
けるPN加算装置12でスクランブルときに用いられた
のと同じ乱数の種を元にPNを発生させ、補間処理にお
いて関連し合う全ての分割データに対して同じPNを排
他的論理和する。最後に、合成装置13はPN加算装置
12で処理された後の分割データを、第1の実施例のス
クランブル装置と同様の処理によって合成して出力デー
タとして出力する。
The operation of the descrambling apparatus of the first embodiment constructed as above will be described below. The descrambler according to the present embodiment receives as input data the data that has been scrambled by the scrambler according to the present embodiment and has been subjected to interpolation processing at the receiving or reproducing location. First, the dividing device 11 divides the input data and outputs it as divided data. The dividing device 11 at this time operates similarly to the dividing device 11 in the scrambler of the first embodiment. Next, in the PN adder 12, the divider 1
The divided data output from 1 is input, and the divided data is decoded and output. At this time, the PN adder 12 generates the PN based on the same seed of the random number used for scrambling the divided data in the PN adder 12 in the scrambler of the present embodiment, and it is related in the interpolation processing. The same PN is exclusive-ORed with respect to all matching divided data. Finally, the synthesizer 13 synthesizes the divided data processed by the PN adder 12 by the same processing as the scrambler of the first embodiment and outputs it as output data.

【0044】以上のように第1の実施例によれば、誤り
のある分割データを近傍の分割データで置き換える補間
処理がデスクランブルの前に行われている場合にでも、
補間が行われる分割データどうしは全て同じPNが加算
されているので、補間されてできた分割データも正しく
デスクランブルできる。
As described above, according to the first embodiment, even when the interpolation process for replacing the erroneous divided data with the neighboring divided data is performed before descramble,
Since the same PN is added to all the divided data items to be interpolated, the divided data items obtained by interpolation can be descrambled correctly.

【0045】なお、本発明の第1の実施例におけるPN
加算装置は、補間処理に関して関連し合う全ての分割デ
ータに対して同じ処理を行っているが、入力する全ての
分割データに対して同じ処理を行うような構成にして
も、同様の効果を得られることは言うまでもない。
The PN in the first embodiment of the present invention
The adder performs the same processing for all the divided data that are related to each other regarding the interpolation processing, but even if it is configured to perform the same processing for all the input divided data, the same effect is obtained. It goes without saying that it will be done.

【0046】図2は本発明の第2の実施例におけるスク
ランブル装置の構成図を示すものである。図2におい
て、21は分割装置、22はブロック暗号化処理を行う
ブロック暗号化装置、23は合成装置である。ここでブ
ロック暗号とは、ある複数ビットのデータを一つのブロ
ックとし、そのブロックデータを鍵の指示によって撹拌
し、その結果として撹拌前と同じビット長のブロックデ
ータを乱数化データとして出力するような暗号である。
FIG. 2 is a block diagram of a scrambler according to the second embodiment of the present invention. In FIG. 2, 21 is a division device, 22 is a block encryption device that performs block encryption processing, and 23 is a combination device. Here, the block cipher is such that a certain multi-bit data is made into one block, the block data is shuffled by a key instruction, and as a result, block data having the same bit length as before the shuffle is output as randomized data. It is a code.

【0047】以上のように構成された第2の実施例のス
クランブル装置において、以下その動作を説明する。分
割装置21は図1に示した第1の実施例の分割装置11
と同様に、入力データを分割して分割データを出力す
る。次にブロック暗号化装置22では、鍵と分割装置2
1より出力される分割データを入力し、鍵の指示により
分割データを暗号化して出力する。このときにブロック
暗号化装置22では分割データより小さいブロックを用
い、かつ分割データ内で処理が完結するようなブロック
暗号化処理を行う。すなわち分割データ間にまたがらな
い暗号化処理を行う。さらに、ブロック暗号化装置22
は全ての分割データに対して同じ鍵により同じ処理で暗
号化を行う。最後に合成装置23は図1に示した第1の
実施例の合成装置13と同様に、ブロック暗号化装置2
2で処理された後の分割データを合成して出力データと
して出力する。
The operation of the scrambler according to the second embodiment having the above configuration will be described below. The dividing device 21 is the dividing device 11 of the first embodiment shown in FIG.
Similarly, the input data is divided and the divided data is output. Next, in the block encryption device 22, the key and the division device 2
The divided data output from 1 is input, and the divided data is encrypted and output according to the instruction of the key. At this time, the block encryption device 22 uses a block smaller than the divided data and performs the block encryption processing so that the processing is completed within the divided data. That is, the encryption processing is performed so as not to span the divided data. Furthermore, the block encryption device 22
Encrypts all divided data with the same process using the same key. Finally, the synthesizing device 23 is similar to the synthesizing device 13 of the first embodiment shown in FIG.
The divided data after being processed in 2 are combined and output as output data.

【0048】また、本発明の第2の実施例におけるデス
クランブル装置を図3に示す。図3において、31は分
割装置、32はブロック復号化処理を行うブロック復号
化装置、33は合成装置である。ここでブロック復号化
処理とは、ブロック暗号により暗号化されたデータに対
する復号化処理のことである。
A descrambling device according to the second embodiment of the present invention is shown in FIG. In FIG. 3, 31 is a dividing device, 32 is a block decoding device that performs block decoding processing, and 33 is a synthesizing device. Here, the block decryption process is a decryption process for data encrypted by block cipher.

【0049】以上のように構成された第2の実施例のデ
スクランブル装置において、以下その動作を説明する。
第2の実施例のデスクランブル装置は、図2に示した第
2の実施例のスクランブル装置でスクランブルされ、受
信あるいは再生の場所で補間処理が行われた後のデータ
を入力データとして入力する。分割装置31は図2のス
クランブル装置と同様に入力データを分割して分割デー
タを出力する。次にブロック復号化装置32では、鍵と
分割装置31より出力される分割データを入力し、鍵の
指示により分割データを復号化して出力する。
The operation of the descrambling apparatus of the second embodiment constructed as above will be described below.
The descrambler of the second embodiment inputs the data after being scrambled by the scrambler of the second embodiment shown in FIG. 2 and subjected to the interpolation processing at the place of reception or reproduction as input data. The dividing device 31 divides the input data and outputs the divided data as in the scramble device of FIG. Next, in the block decryption device 32, the key and the divided data output from the dividing device 31 are input, and the divided data is decrypted and output according to the instruction of the key.

【0050】ここでブロック復号化装置32は図2に示
した第2の実施例のスクランブル装置におけるブロック
暗号化装置22での処理に対する復号化処理を行うもの
で、ブロック暗号化装置22での暗号化処理で用いられ
たのと同じ大きさのブロックを用いて復号化処理を行
う。さらに、ブロック復号化装置32は全ての分割デー
タに対して同じ鍵により同じ処理で復号化を行う。最後
に合成装置33は図2に示した第2の実施例のスクラン
ブル装置の合成装置23と同様に、ブロック復号化装置
23で処理された後の分割データを合成して出力データ
として出力する。
Here, the block decryption device 32 performs a decryption process for the process in the block encryption device 22 in the scramble device of the second embodiment shown in FIG. The decoding process is performed using a block having the same size as that used in the decoding process. Furthermore, the block decryption device 32 decrypts all the divided data with the same processing using the same key. Finally, like the synthesizer 23 of the scrambler of the second embodiment shown in FIG. 2, the synthesizer 33 synthesizes the divided data processed by the block decoder 23 and outputs it as output data.

【0051】以上のように第2の実施例によれば、分割
データを受信あるいは再生した場合に、誤りのある分割
データを近傍の分割データで置き換える補間処理がデス
クランブルの前に行われている場合にでも、補間が行わ
れる分割データどうしは全て同じブロック暗号処理が行
われているので、補間されてできた分割データも正しく
デスクランブルできる。
As described above, according to the second embodiment, when the divided data is received or reproduced, the interpolation processing for replacing the erroneous divided data with the neighboring divided data is performed before the descrambling. Even in this case, since the same block cipher processing is performed on all the divided data pieces to be interpolated, the divided data pieces obtained by the interpolation can be descrambled correctly.

【0052】なお、本発明の第2の実施例におけるブロ
ック暗号化装置は、補間処理に関して関連し合う全ての
分割データに対して同じ処理を行っているが、入力する
全ての分割データに対して同じ処理を行うような構成に
しても、同様の効果を得られることは言うまでもない。
Although the block encryption device according to the second embodiment of the present invention performs the same processing on all the divided data pieces related to each other regarding the interpolation processing, it performs the same processing on all the input divided data pieces. It goes without saying that the same effect can be obtained even if the same processing is performed.

【0053】図4は本発明の第3の実施例におけるスク
ランブル装置の構成図を示すものである。図4におい
て、41は複数のフレームデータから構成される映像信
号を入力データとし、入力データを復元できる最小のデ
ータ単位に分割して分割データとして出力する分割装
置、42は各フレームの同じ位置にある分割データに対
して同じPNの加算を行うPN加算装置、43は分割デ
ータを、分割装置41と逆の処理によって合成して出力
データとして出力する合成装置である。
FIG. 4 is a block diagram of a scrambler according to the third embodiment of the present invention. In FIG. 4, reference numeral 41 denotes a dividing device which uses a video signal composed of a plurality of frame data as input data, divides the input data into minimum data units that can be restored, and outputs the divided data as divided data. A PN adder that adds the same PN to a certain piece of divided data, and 43 is a combiner that combines the divided data by a process reverse to that of the divider 41 and outputs it as output data.

【0054】以上のように構成された第3の実施例のス
クランブル装置の動作を以下に説明する。分割装置41
は入力データを分割し、分割データとして出力する。こ
のときの分割装置41は、映像の最小構成要素にデータ
を分割する。ここで、映像の最小構成要素とは、それだ
けあれば問題なく絵になる最も小さいデータのブロック
で、用いる記録再生システムによって異なり、例えば圧
縮符号化するときのブロックであったり、補間を行うと
きのデータ単位であったり、画素であったり、フレーム
であったりする。
The operation of the scrambler according to the third embodiment having the above configuration will be described below. Dividing device 41
Divides the input data and outputs it as divided data. At this time, the dividing device 41 divides the data into the minimum image constituent elements. Here, the minimum component of video is the smallest block of data that can be a picture without any problem, and differs depending on the recording / reproducing system used, and is, for example, a block for compression encoding, or a block for interpolation. It may be a data unit, a pixel, or a frame.

【0055】次に、PN加算装置42では、分割装置4
1より出力される分割データを入力し、この分割データ
を暗号化して出力する。このときにPN加算装置42で
は、乱数の種を元にPNを発生させ、各フレームの同じ
位置にある分割データに対して同じPNを排他的論理和
する。最後に合成装置43は、PN加算装置42で処理
された後の分割データを、分割装置41と逆の処理によ
って合成して出力データとして出力する。
Next, in the PN adder 42, the divider 4
The divided data output from 1 is input, and the divided data is encrypted and output. At this time, the PN adder 42 generates a PN based on the seed of the random number, and exclusively ORs the same PN with respect to the divided data at the same position in each frame. Finally, the synthesizing device 43 synthesizes the divided data processed by the PN adding device 42 by a process reverse to that of the dividing device 41 and outputs it as output data.

【0056】また、本発明の第3の実施例におけるデス
クランブル装置は、図4に示した本発明の第3の実施例
におけるスクランブル装置と同様の構成であり、分割装
置41と、PN加算装置42と、合成装置43より構成
される。
The descrambling device according to the third embodiment of the present invention has the same structure as the scrambling device according to the third embodiment of the present invention shown in FIG. 4, and includes a dividing device 41 and a PN adding device. 42 and a synthesizer 43.

【0057】以上のように構成された第3の実施例のデ
スクランブル装置の動作を以下に説明する。本実施例に
おけるデスクランブル装置は、受信あるいは再生の場所
で特殊再生処理が行われた後のデータを入力データとし
て入力する。分割装置41は入力データを分割し、分割
データとして出力する。このとき分割装置41は、図4
に示した第3の実施例における分割装置と同様の動作を
行う。次にPN加算装置42では、分割装置41より出
力される分割データを入力し、この分割データを復号化
して出力する。このときにPN加算装置42では、その
分割データがスクランブルされるときに用いられたのと
同じ乱数の種を元にPNを発生させ、各フレームの同じ
位置にある分割データに対して同じPNを排他的論理和
する。最後に合成装置43は図4に示したスクランブル
装置の合成装置43と同様に、PN加算装置42で処理
された後の分割データを合成して出力データとして出力
する。
The operation of the descrambling device of the third embodiment configured as described above will be described below. The descrambler in this embodiment inputs as input data the data after the special reproduction processing is performed at the receiving or reproducing place. The dividing device 41 divides the input data and outputs it as divided data. At this time, the dividing device 41 is configured as shown in FIG.
An operation similar to that of the dividing device in the third embodiment shown in FIG. Next, in the PN addition device 42, the divided data output from the dividing device 41 is input, and the divided data is decoded and output. At this time, the PN adder 42 generates a PN based on the same seed of the random number used when the divided data is scrambled, and generates the same PN for the divided data at the same position in each frame. Exclusive OR. Finally, the synthesizer 43 synthesizes the divided data processed by the PN adder 42 and outputs it as output data, like the synthesizer 43 of the scrambler shown in FIG.

【0058】ここで特殊再生処理により、デスクランブ
ル装置に入力される映像データは、スクランブル装置か
ら出力される映像データとは異なったデータになってい
るが、前記したように、その変化する位置は異なるフレ
ームの同じ位置に限定されている。したがって、第3の
実施例のスクランブル装置およびデスクランブル装置に
よれば、各フレームの同じ位置にあるすべての分割デー
タを同じ処理でスクランブルまたはデスクランブルする
ので、特殊再生処理後のデータを正しくデスクランブル
できる。
Here, by the special reproduction process, the video data input to the descrambler is different from the video data output from the scrambler. Limited to the same position in different frames. Therefore, according to the scrambler and the descrambler of the third embodiment, all the divided data at the same position in each frame are scrambled or descrambled by the same process, so that the data after the special reproduction process is descrambled correctly. it can.

【0059】以上のように第3の実施例によれば、特殊
再生を行う記録再生システムにおいて、特殊再生時で
も、簡単に正しくデスクランブルできるようなスクラン
ブル装置およびデスクランブル装置を構成できる。
As described above, according to the third embodiment, in the recording / reproducing system for performing special reproduction, it is possible to configure the scramble device and the descramble device that can easily and properly descramble even during special reproduction.

【0060】なお、本発明の第3の実施例におけるPN
加算装置は、各フレームの同じ位置の分割データに対し
て同じPNを排他的論理和する構成であるが、各フレー
ムの同じ位置の分割データに対して同じPNを排他的論
理和し、かつ映像データが再生される場所で行われる補
間処理に関して関連し合う全ての分割データに対して同
じPNを加算する構成にしても同様の効果が得られるこ
とは言うまでもなく、さらに補間処理により補間されて
できたデータも正しくデスクランブルできる。
Incidentally, the PN in the third embodiment of the present invention.
The adder is configured to exclusive OR the same PN with respect to the divided data at the same position in each frame, but exclusively OR the same PN with respect to the divided data at the same position in each frame, and It goes without saying that the same effect can be obtained even if the same PN is added to all the related divided data regarding the interpolation processing performed at the place where the data is reproduced. Data can be descrambled correctly.

【0061】なお、本発明の第3の実施例におけるPN
加算装置は、各フレームの同じ位置の分割データに対し
て同じ処理を行っているが、入力する全ての分割データ
に対して同じ処理を行うような構成にしても、同様の効
果を得られることは言うまでもない。
The PN in the third embodiment of the present invention
The adder performs the same processing for the divided data at the same position in each frame, but the same effect can be obtained even if it is configured to perform the same processing for all input divided data. Needless to say.

【0062】図5は本発明の第4の実施例におけるスク
ランブル装置の構成図を示すものである。図5におい
て、51は分割装置、52はフレームの同じ位置にある
分割データに対して同じ処理をするブロック暗号化装
置、53は合成装置である。
FIG. 5 is a block diagram of a scrambler according to the fourth embodiment of the present invention. In FIG. 5, 51 is a dividing device, 52 is a block encryption device that performs the same processing on divided data at the same position in a frame, and 53 is a combining device.

【0063】以上のように構成されたこの実施例のスク
ランブル装置の動作を以下に説明する。分割装置51は
入力データを分割し、分割データとして出力する。この
とき分割装置51は、図4に示した第3の実施例のスク
ランブル装置における分割装置41と同様の動作を行
う。次にブロック暗号化装置52では、分割装置51よ
り出力される分割データを入力し、この分割データを暗
号化して出力する。このときにブロック暗号化装置52
では、分割データよりも小さいブロックを用いたブロッ
ク化暗号を実現し、かつ分割データ内で処理が完結す
る。すなわち分割データ間でまたがらない暗号化処理を
行う。さらに、ブロック暗号化装置52はすべての分割
データを同じ処理で暗号化する。最後に、合成装置53
はブロック化暗号装置52で処理された後の分割データ
を合成して出力データとして出力する。このとき合成装
置53は、図4に示した第3の実施例のスクランブル装
置における合成装置43と同様の動作を行う。
The operation of the scrambler of this embodiment having the above-mentioned structure will be described below. The dividing device 51 divides the input data and outputs it as divided data. At this time, the dividing device 51 performs the same operation as the dividing device 41 in the scrambler of the third embodiment shown in FIG. Next, the block encryption device 52 inputs the divided data output from the dividing device 51, encrypts the divided data, and outputs the encrypted divided data. At this time, the block encryption device 52
Then, the block cipher using a block smaller than the divided data is realized, and the processing is completed within the divided data. That is, an encryption process is performed that does not extend between divided data. Further, the block encryption device 52 encrypts all the divided data by the same process. Finally, the synthesizer 53
Outputs the combined data after being processed by the block encryption device 52 as output data. At this time, the synthesizer 53 performs the same operation as the synthesizer 43 in the scrambler of the third embodiment shown in FIG.

【0064】また、本発明の第4の実施例におけるデス
クランブル装置を図6に示す。図6において、61は分
割装置、62はブロック復号化装置、63は合成装置で
ある。
A descrambling device according to the fourth embodiment of the present invention is shown in FIG. In FIG. 6, 61 is a dividing device, 62 is a block decoding device, and 63 is a synthesizing device.

【0065】以上のように構成されたこの実施例のデス
クランブル装置の動作を以下に説明する。分割装置61
は入力データを分割し、分割データとして出力する。こ
のとき分割装置61は、図5に示した本実施例のスクラ
ンブル装置における分割装置51と同様の動作を行う。
次にブロック復号化装置62では、分割装置61より出
力される分割データを入力し、この分割データを暗号化
して出力する。このときにブロック復号化装置62は、
図5に示した第4の実施例のブロック暗号化装置52で
の処理に対する復号化処理を行うもので、全ての分割デ
ータに対して同じ処理で復号化を行う。最後に合成装置
63は図4に示した第4の実施例の合成装置53と同様
に、ブロック暗号化装置62で処理された後の分割デー
タを合成して出力データとして出力する。
The operation of the descrambling device of this embodiment constructed as described above will be described below. Dividing device 61
Divides the input data and outputs it as divided data. At this time, the dividing device 61 performs the same operation as the dividing device 51 in the scrambler of the present embodiment shown in FIG.
Next, the block decryption device 62 receives the divided data output from the dividing device 61, encrypts the divided data, and outputs the encrypted divided data. At this time, the block decoding device 62
Decryption processing is performed with respect to the processing in the block encryption device 52 of the fourth exemplary embodiment shown in FIG. 5, and the same processing is performed for all divided data. Finally, the synthesizing device 63 synthesizes the divided data processed by the block encrypting device 62 and outputs it as output data, as in the synthesizing device 53 of the fourth embodiment shown in FIG.

【0066】ここで特殊再生処理により、デスクランブ
ル装置に入力される映像データは、スクランブル装置か
ら出力される映像データとは異なったデータになってい
るが、前記したように、その変化する位置は異なるフレ
ームの同じ位置に限定されている。したがって、第4の
実施例のスクランブル装置およびデスクランブル装置で
は、各フレームの同じ位置にあるすべての分割データを
同じブロック暗号化処理でスクランブルまたはデスクラ
ンブルするので、特殊再生処理後のデータでも正しくデ
スクランブルできる。
Here, the special reproduction process causes the video data input to the descrambler to be different from the video data output from the scrambler. However, as described above, the changing position is Limited to the same position in different frames. Therefore, in the scrambler and descrambler of the fourth embodiment, all the divided data at the same position in each frame are scrambled or descrambled by the same block encryption processing, so that even the data after the special reproduction processing is properly Can be scrambled.

【0067】以上のように第4の実施例によれば、特殊
再生を行う記録再生システムにおいて、特殊再生時で
も、簡単に正しくデスクランブルできるようなスクラン
ブル装置およびデスクランブル装置を構成できる。
As described above, according to the fourth embodiment, in the recording / reproducing system for performing special reproduction, it is possible to configure the scramble device and the descramble device that can easily and properly descramble even during special reproduction.

【0068】なお、本発明の第4の実施例におけるブロ
ック暗号化装置は、各フレームの同じ位置の分割データ
に対して同じ処理を行う構成であるが、各フレームの同
じ位置の分割データに対して同じ処理を行い、かつ映像
データが再生される場所で行われる補間処理に関して関
連し合う全ての分割データに対して同じ処理を行う構成
にしても同様の効果が得られることは言うまでもなく、
さらに補間処理により補間されてできたデータも正しく
デスクランブルできる。
The block encryption apparatus according to the fourth embodiment of the present invention is configured to perform the same processing on the divided data at the same position in each frame, but the divided data at the same position in each frame is processed. It goes without saying that the same effect can be obtained even if the configuration is such that the same processing is performed for all divided data that are related to each other regarding the interpolation processing performed at the place where the video data is reproduced.
Furthermore, the data interpolated by the interpolation process can be descrambled correctly.

【0069】なお、本発明の第1の実施例および第2の
実施例および第3の実施例および第4の実施例におい
て、補間処理後の信号をデスクランブルするような構成
になっているが、デスクランブル後に補間処理を行うよ
うな構成になっていたとしても同様の効果が得られるこ
とは言うまでもない。
In the first, second, third and fourth embodiments of the present invention, the signal after the interpolation processing is descrambled. It goes without saying that the same effect can be obtained even if the interpolation processing is performed after the descrambling.

【0070】[0070]

【発明の効果】以上説明したように、第1の発明によれ
ば、補間処理がデスクランブルの前に行われている場合
にでも、補間されてできた分割データを正しくデスクラ
ンブルできるようなスクランブル装置およびデスクラン
ブル装置を構成できる。したがって、本発明のスクラン
ブル装置およびデスクランブル装置を用いれば、受信装
置において補間処理を行う通信システムにスクランブル
装置およびデスクランブル装置を適用することが可能で
あり、その実用的効果は大きい。
As described above, according to the first aspect of the present invention, even if the interpolation process is performed before the descrambling, the scrambled data can be properly descrambled. Devices and descramblers can be configured. Therefore, by using the scrambler and the descrambler of the present invention, the scrambler and the descrambler can be applied to the communication system that performs the interpolation processing in the receiver, and the practical effect is large.

【0071】また、以上のように第2の発明によれば、
再生装置で特殊再生を行う記録再生システムにおいて、
特殊再生時にでも、簡単な処理で正しくデスクランブル
できるようなスクランブル装置およびデスクランブル装
置を構成でき、その実用的効果は大きい。
According to the second invention as described above,
In a recording / playback system that performs special playback with a playback device,
A scramble device and a descramble device that can be properly descrambled by a simple process even during special reproduction can be configured, and the practical effect thereof is great.

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

【図1】本発明の第1の実施例におけるスクランブル装
置の構成図
FIG. 1 is a configuration diagram of a scrambling device according to a first embodiment of the present invention.

【図2】本発明の第2の実施例におけるスクランブル装
置の構成図
FIG. 2 is a configuration diagram of a scrambler according to a second embodiment of the present invention.

【図3】本発明の第2の実施例におけるデスクランブル
装置の構成図
FIG. 3 is a configuration diagram of a descrambling device according to a second embodiment of the present invention.

【図4】本発明の第3の実施例におけるスクランブル装
置の構成図
FIG. 4 is a block diagram of a scrambler according to a third embodiment of the present invention.

【図5】本発明の第4の実施例におけるスクランブル装
置の構成図
FIG. 5 is a configuration diagram of a scrambler according to a fourth embodiment of the present invention.

【図6】本発明の第4の実施例におけるデスクランブル
装置の構成図
FIG. 6 is a configuration diagram of a descrambling device according to a fourth embodiment of the present invention.

【図7】従来のスクランブル装置の構成図FIG. 7 is a block diagram of a conventional scrambler.

【図8】スクランブル装置及びデスクランブル装置を用
いた通信システムの構成図
FIG. 8 is a configuration diagram of a communication system using a scramble device and a descramble device.

【図9】スクランブル装置及びデスクランブル装置を用
いた記録再生システムの構成図
FIG. 9 is a configuration diagram of a recording / reproducing system using a scrambler and a descrambler.

【図10】従来のスクランブル装置およびデスクランブ
ル装置によりスクランブル処理される前のデータ、用い
られるPN、およびスクランブル後のデータの例
FIG. 10 shows an example of data before being scrambled by a conventional scrambler and descrambler, PN used, and data after scramble.

【図11】通信システムにおいて補間処理及び特殊再生
が行われた後のデータ例を示す図
FIG. 11 is a diagram showing an example of data after interpolation processing and special reproduction are performed in the communication system.

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

11、21、31、41、51、61 分割装置 12、42 PN加算暗号化装置 22、52 ブロック暗号化装置 32、62 ブロック復号化装置 13、23、33、43、53、63 合成装置 11, 21, 31, 41, 51, 61 Splitting device 12, 42 PN addition encryption device 22, 52 Block encryption device 32, 62 Block decryption device 13, 23, 33, 43, 53, 63 Combining device

───────────────────────────────────────────────────── フロントページの続き (72)発明者 村上 弘規 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Hironori Murakami 1006 Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Industrial Co., Ltd.

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】入力データを補間処理が行われるデータ単
位に分割して分割データとして出力する分割装置と、補
間処理において関連し合う全ての分割データに対して同
じ乱数化処理を繰り返す暗号化装置から構成されること
を特徴とするスクランブル装置。
1. A dividing device that divides input data into data units in which interpolation processing is performed and outputs as divided data, and an encryption device that repeats the same randomization processing for all related divided data in interpolation processing. A scrambler comprising:
【請求項2】複数のフレームデータから構成される映像
信号を入力データとし、入力データを特殊再生処理にお
いて復元できる最小のデータ単位に分割して分割データ
として出力する分割装置と、特殊再生処理において関連
し合う全ての分割データに対して同じ乱数化処理を繰り
返す暗号化装置から構成されることを特徴とするスクラ
ンブル装置。
2. A dividing device for inputting a video signal composed of a plurality of frame data as input data, dividing the input data into minimum data units that can be restored in special reproduction processing, and outputting as divided data, and in the special reproduction processing. A scrambler comprising an encryption device that repeats the same randomization process for all related divided data.
【請求項3】分割データよりも小さい暗号化ブロック
で、分割データ内で完結したブロック暗号化処理を行う
ような暗号化装置を具備することを特徴とした請求項1
記載のスクランブル装置。
3. An encryption device for performing a block encryption process completed within divided data with an encrypted block smaller than the divided data.
The scrambler described.
【請求項4】分割データよりも小さい暗号化ブロック
で、分割データ内で完結したブロック暗号化処理を行う
ような暗号化装置を具備することを特徴とした請求項2
記載のスクランブル装置。
4. An encryption device for performing block encryption processing completed within divided data with an encrypted block smaller than divided data.
The scrambler described.
【請求項5】入力データを補間処理が行われるデータ単
位に分割して分割データとして出力する分割装置と、補
間処理において関連し合う全ての分割データに対して同
じ乱数化処理を繰り返す暗号化装置から構成されること
を特徴とするデスクランブル装置。
5. A dividing device that divides input data into data units in which interpolation processing is performed and outputs as divided data, and an encryption device that repeats the same randomization processing for all related divided data in interpolation processing. A descrambling device comprising:
【請求項6】複数のフレームデータから構成される映像
信号を入力データとし、入力データを特殊再生処理にお
いて復元できる最小のデータ単位に分割して分割データ
として出力する分割装置と、特殊再生処理において関連
し合う全ての分割データに対して同じ乱数化処理を繰り
返す暗号化装置から構成されることを特徴とするデスク
ランブル装置。
6. A dividing device for inputting a video signal composed of a plurality of frame data as input data, dividing the input data into minimum data units that can be restored in special reproduction processing, and outputting as divided data, and in the special reproduction processing. A descrambling device comprising an encryption device that repeats the same randomization process for all related divided data.
【請求項7】分割データよりも小さい暗号化ブロック
で、分割データ内で完結したブロック暗号化処理を行う
ような暗号化装置を具備することを特徴とした請求項5
記載のデスクランブル装置。
7. An encryption device for performing block encryption processing completed within divided data with an encrypted block smaller than divided data.
The descrambler described.
【請求項8】分割データよりも小さい暗号化ブロック
で、分割データ内で完結したブロック暗号化処理を行う
ような暗号化装置を具備することを特徴とした請求項6
記載のデスクランブル装置。
8. An encryption device for performing a block encryption process completed within divided data with an encrypted block smaller than the divided data.
The descrambler described.
JP5083085A 1993-04-09 1993-04-09 Scrambler and descrambler Pending JPH06296175A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP5083085A JPH06296175A (en) 1993-04-09 1993-04-09 Scrambler and descrambler
US08/225,330 US5546461A (en) 1993-04-09 1994-04-08 Scramble system for use in digital video signal recording and reproducing system or transmission and receiving system, comprising scramble apparatus and descramble apparatus
KR1019940007321A KR0184313B1 (en) 1993-04-09 1994-04-08 System for scrambling a digital video signal
EP94105449A EP0619677A3 (en) 1993-04-09 1994-04-08 System for scrambling a digital video signal.

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5083085A JPH06296175A (en) 1993-04-09 1993-04-09 Scrambler and descrambler

Publications (1)

Publication Number Publication Date
JPH06296175A true JPH06296175A (en) 1994-10-21

Family

ID=13792350

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5083085A Pending JPH06296175A (en) 1993-04-09 1993-04-09 Scrambler and descrambler

Country Status (1)

Country Link
JP (1) JPH06296175A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08130516A (en) * 1994-10-31 1996-05-21 Sony Corp Digital signal receiving system
US7548618B2 (en) 2001-08-30 2009-06-16 National Institute Of Information And Communications Technology Incorporated Administrative Agency Converter, encryption/decryption system, multi-stage converter, converting method, multi-stage converting method, program, and information recording medium
JP2012038097A (en) * 2010-08-06 2012-02-23 Infodeliver Corp Information management system and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08130516A (en) * 1994-10-31 1996-05-21 Sony Corp Digital signal receiving system
US7548618B2 (en) 2001-08-30 2009-06-16 National Institute Of Information And Communications Technology Incorporated Administrative Agency Converter, encryption/decryption system, multi-stage converter, converting method, multi-stage converting method, program, and information recording medium
US8265268B2 (en) 2001-08-30 2012-09-11 National Institute Of Information And Communications Technology Incorporated Administrative Agency Converter, encryption/decryption system, multi-stage converter, converting method, multi-stage converting method, program, and information recording medium
JP2012038097A (en) * 2010-08-06 2012-02-23 Infodeliver Corp Information management system and method

Similar Documents

Publication Publication Date Title
KR0184313B1 (en) System for scrambling a digital video signal
JP3139910B2 (en) Information receiving / recording / reproducing device and information receiving device
JP3789469B2 (en) Method and apparatus for uniquely encrypting terminal data
KR100478507B1 (en) Digital video content transmission ciphering and deciphering method and apparatus
KR0166940B1 (en) Apparatus for restricting a possible number of reproduction of information recording medium
JP4710607B2 (en) Encryption device, encryption method and encryption program, decryption device, decryption method and decryption program, and recording medium
JPH07115638A (en) Video transmitter
US20030210785A1 (en) System and method for sign mask encryption and decryption
JP2831650B2 (en) Signal scramble transmission system and device
EP1119130B1 (en) Cryptosystem-related method and apparatus
JPH07288798A (en) Digital picture recording and reproducing device, reproducing device, and tv reception equipment
US6944296B1 (en) Video bit scrambling
KR101151107B1 (en) Moving picture encryption system and method
JP4291525B2 (en) Scramble method, transmission method, transmission device, and receiver
JP2606074B2 (en) Image encryption transmission method
JP2007174491A (en) Video image information encryption device, decryption key information preparation device, video image information decryption device, video reproducing device, and network system
JPH06296175A (en) Scrambler and descrambler
US20030174835A1 (en) Data encryption device, data decryption device, and data encryption/decryption device
JPH06231536A (en) Recording method for signal, signal recorder, reproducing method for signal and signal reproducer
JP2007311842A (en) Data stream radio transmitter, data stream radio receiver, radio transmission system, imaging apparatus, reproducing apparatus, and data stream radio transmission method and program
JP4395920B2 (en) Video signal output device and video signal input device
KR100451099B1 (en) Magnetic tape recording / playback apparatus with encoding device
JPH104542A (en) Scrambler and data multiplexing method
JP3642246B2 (en) Key information generation method, key information generation device, content information encryption method, content information encryption device, content information decryption method, content information decryption device, content information recording medium, content information transmission method
JP2002034018A (en) Packet processor and packet processing method and storage medium