JPH06303608A - Scrambler - Google Patents
ScramblerInfo
- Publication number
- JPH06303608A JPH06303608A JP8592993A JP8592993A JPH06303608A JP H06303608 A JPH06303608 A JP H06303608A JP 8592993 A JP8592993 A JP 8592993A JP 8592993 A JP8592993 A JP 8592993A JP H06303608 A JPH06303608 A JP H06303608A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- coded
- code
- block
- scrambler
- 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
Links
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
(57)【要約】
【目的】 ディジタル符号化された信号の再生者を限定
するために信号撹拌を行うスクランブル装置に関し、特
に可変長符号を含むような圧縮データに対して効果制御
を行えるスクランブル装置を提供することを目的とす
る。
【構成】 コード検出装置1は、入力ビットがどの情報
であるかを検出し、制御回路2は、そのうち、符号化ブ
ロックパターン信号の場合に、スクランブルの対象符号
として、信号切り換え装置3を排他的論理和装置6また
は、巡回シフト装置5に信号を送るように制御するとと
もに、スクランブルに必要な数の乱数を乱数発生装置4
に出力させ、巡回シフト装置5あるいは排他的論理和装
置6を用いて、符号化ブロックパターン信号をそれが示
すブロックグループ内の符号化されているブロックの数
と等しいフ゛ロックが符号化された場合に表現される符号化
ブロックパターン信号に変換する。
(57) [Abstract] [Object] A scrambler for performing signal shuffling in order to limit the reproducer of a digitally encoded signal, and in particular, a scrambler capable of effect control for compressed data including variable length codes. The purpose is to provide. A code detection device 1 detects which information an input bit is, and a control circuit 2 exclusively uses a signal switching device 3 as a code to be scrambled in the case of a coded block pattern signal. Control is performed so as to send a signal to the logical sum device 6 or the cyclic shift device 5, and the random number generator 4 generates a random number of the number required for scrambling.
When the block equal to the number of coded blocks in the block group indicated by the coded block pattern signal is coded by using the cyclic shift device 5 or the exclusive OR device 6, Convert to a coded block pattern signal represented.
Description
【0001】[0001]
【産業上の利用分野】本発明は、ディジタル符号化され
た信号の伝送あるいは保管に際し、信号を撹拌し、復号
手順を許可されたものだけに与えることによって、再生
できる者を限定する信号撹拌を行うスクランブル装置で
あり、特に目的に応じてスクランブルの撹拌の程度を制
御する効果制御を行うスクランブル装置に関するもので
ある。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention provides signal agitation that limits who can reproduce it by agitating the signal during transmission or storage of digitally encoded signals and by giving decoding procedures only to authorized ones. The present invention relates to a scrambler for performing a scrambler, and more particularly to a scrambler for performing an effect control for controlling the degree of scramble stirring according to the purpose.
【0002】[0002]
【従来の技術】ディジタル信号に対するスクランブル装
置としては、音声信号に対するスクランブル装置が有料
の衛星放送等で用いられている。図5は、従来のスクラ
ンブル装置の構成図である。2. Description of the Related Art As a scrambler for digital signals, a scrambler for audio signals is used in pay satellite broadcasting. FIG. 5 is a block diagram of a conventional scrambler.
【0003】図5において、11は乱数発生装置、12
は排他的論理和回路である。以上のような従来例の構成
では、入力信号は、乱数発生装置11内でスクランブル
鍵にしたがって生成される乱数と排他的論理和回路12
において排他的論理和演算され、乱数状の信号となる。
復号する際には乱数発生装置11からの乱数をスクラン
ブル信号に再度排他的論理和演算演算を行うことによっ
て復号できるが、乱数発生装置11で生成される乱数
は、スクランブル鍵によって決定されるため、スクラン
ブル鍵を持つ者のみが復号できる。また、乱数の1と0
の発生比率を制御してやることで信号の撹拌の程度を制
御することができる。In FIG. 5, numeral 11 is a random number generator, and numeral 12
Is an exclusive OR circuit. In the configuration of the conventional example as described above, the input signal is generated by the random number generator 11 according to the scramble key and the exclusive OR circuit 12
The exclusive OR operation is performed in to obtain a random number signal.
At the time of decryption, the random number from the random number generator 11 can be decrypted by performing the exclusive OR operation again on the scramble signal, but the random number generated by the random number generator 11 is determined by the scramble key. Only the person who has the scramble key can decrypt it. Also, random numbers 1 and 0
The degree of signal agitation can be controlled by controlling the generation ratio of.
【0004】[0004]
【発明が解決しようとする課題】しかしながら前記した
従来の構成では、撹拌の度合いを制御する際、1と0の
発生比率を制御してもランダムにビットを反転させるた
め、映像信号等を圧縮符号化して伝送する場合には、可
変長符号化されたデータを含むことや各ビットが映像全
体に大きく影響することがあり、信号全体が復号困難に
なったり、画像が思ったより大きく劣化するなどして、
撹拌の度合いを細かく制御できない問題があった。However, in the above-mentioned conventional configuration, when controlling the degree of agitation, the bits are randomly inverted even if the generation ratio of 1 and 0 is controlled. In the case of transmission after being encoded, variable-length coded data may be included and each bit may have a large effect on the entire video, making it difficult to decode the entire signal or degrading the image more than expected. hand,
There was a problem that the degree of stirring could not be finely controlled.
【0005】本発明は、前記問題を解決し、圧縮符号化
された信号に対して効果制御を行うことが可能なスクラ
ンブル装置を提供することを目的とする。It is an object of the present invention to solve the above problems and to provide a scrambler capable of effect control on a compression-coded signal.
【0006】[0006]
【課題を解決するための手段】本発明は、複数の画素の
データをまとめて1つの符号化ブロックを構成し、さら
に複数の前記符号化ブロックからブロックグループを構
成するデータの階層構造をもつフォーマットで符号化さ
れたディジタル映像信号で、各ブロックグループにその
ブロックグループ内の各ブロックが符号化されているか
どうか示す符号化ブロックパターン信号を含むディジタ
ル映像信号について、符号化ブロックパターン信号を、
その符号化ブロックパターン信号が示すブロックグルー
プ内の符号化されているブロックの数と等しいブロック
が符号化された場合を表現する符号化ブロックパターン
信号に変換する変換手段を備えたものである。SUMMARY OF THE INVENTION According to the present invention, a format having a hierarchical structure of data in which data of a plurality of pixels is put together to form one coding block, and a block group is composed of the plurality of the coding blocks. In the digital video signal coded in, for the digital video signal including a coded block pattern signal indicating whether each block in the block group is coded in each block group, the coding block pattern signal,
The coded block pattern signal is provided with conversion means for converting into a coded block pattern signal representing a case where the number of coded blocks in the block group is equal to the number of coded blocks.
【0007】[0007]
【作用】本発明は前記した構成により、信号を通常の信
号を再生する場合、ブロックグループ内の各ブロックが
符号されているかいないかを判断し、符号化されていな
い部分は、スキップされているものとして、各ブロック
の信号を映像中の正しい位置に再生させる働きをする符
号化ブロックパターン信号をでたらめな値に変換するた
め、各ブロックは、画像中の誤った位置に再生させるこ
とになり、再生画像を部分的に劣化させる効果制御が実
現できる。According to the present invention, when a normal signal is reproduced by the above-mentioned structure, it is judged whether each block in the block group is coded or not, and the uncoded part is skipped. As a matter of course, in order to convert the coded block pattern signal that functions to reproduce the signal of each block to the correct position in the video into a random value, each block will be reproduced at the wrong position in the image, Effect control that partially deteriorates the reproduced image can be realized.
【0008】また、符号化ブロックパターン信号の変換
方法を、ブロックグループ内の符号化されたブロック数
が同じ値になるものに変換させることで、実際にグルー
プブロック内に存在するブロック数と一致させるので、
そのあとのデータの再生に影響しないため、全く見えな
いようにするのではなく、ある程度内容がわかる程度で
見え方が制御できる。Further, the coded block pattern signal conversion method is changed so that the number of coded blocks in the block group becomes the same value, thereby matching the number of blocks actually existing in the group block. So
Since it does not affect the reproduction of the data after that, the appearance can be controlled by making the contents understandable to some extent, rather than making the contents invisible at all.
【0009】[0009]
【実施例】以下、本発明の実施例について、図面を参照
しながら説明する。図1は、本発明の一実施例における
スクランブル装置の構成図を示すものである。Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of a scrambler according to an embodiment of the present invention.
【0010】図1において、1は、現在入力されている
信号がどの信号の何ビットめを示すかを読み取るコード
検出装置、2は、コード検出装置1での検出結果から入
力信号の現在の符号をスクランブルするかしないかを決
定し、スクランブルのオンオフを制御する制御装置、3
は、入力信号の行う処理を制御装置2からの信号にした
がって切り換える信号切り換え装置、4は、乱数発生装
置、5は、送られてきた信号を乱数発生装置からの信号
にしたがって巡回シフトする巡回シフト装置、6は、排
他的論理和回路である。In FIG. 1, 1 is a code detecting device for reading which bit of which signal the currently input signal indicates, and 2 is the current code of the input signal from the detection result of the code detecting device 1. A controller for deciding whether or not to scramble and controlling on / off of scrambling,
Is a signal switching device for switching the processing performed by the input signal according to the signal from the control device 2, 4 is a random number generating device, and 5 is a cyclic shift for cyclically shifting the transmitted signal according to the signal from the random number generating device. The device, 6 is an exclusive OR circuit.
【0011】以上のように構成された本実施例のスクラ
ンブル装置における動作について説明する。まず、入力
信号は、MPEG(Moving Picture Expert Group:国際
標準化機構ISOと国際電気標準会議IECの合同の作
業グループ)標準に準拠した映像信号とする。MPEG
標準については、例えば、”蓄積メディア用動画像符号
化技術”テレビジョン学会誌Vol.45,No.7,pp807-812(19
91)に解説記事があり、また、現在、さらに高画質の符
号化について標準化作業を進めており、これに関して
は、ISO-IEC/JCT1/SC29/WG11 NO328のドラフト等があ
る。The operation of the scrambler of the present embodiment having the above configuration will be described. First, the input signal is a video signal compliant with the MPEG (Moving Picture Expert Group: Joint Working Group of International Standardization Organization ISO and International Electrotechnical Commission IEC) standard. MPEG
Regarding the standard, for example, "Motion Picture Coding Technology for Storage Media", Television Society Journal, Vol.45, No.7, pp807-812 (19)
91), and is currently working on standardization of higher image quality encoding, including the draft of ISO-IEC / JCT1 / SC29 / WG11 NO328.
【0012】以下図2を用いてMPEG標準に準拠した
映像信号の概要について説明する。図2に示すように、
データ構造はシーケンス層(レイヤ)からなり、シーケ
ンス層は一つの動画像シーケンス表わし、ヘッダ部分に
は開始コードとしての役割を果たすシーケンス先頭識別
信号をはじめ、各種パラメータとデータを含み、一つ以
上のGOP(グループオブピクチャー(Group of pictur
e))、ピクチャー(画像)群の符号化データを含んでい
る。An outline of a video signal based on the MPEG standard will be described below with reference to FIG. As shown in FIG.
The data structure is composed of a sequence layer (layer), and the sequence layer represents one moving image sequence, and the header part includes a sequence head identification signal which serves as a start code, various parameters and data, and one or more. GOP (Group of pictur
e)), and includes encoded data of a picture (image) group.
【0013】また、GOP層は、任意の長さのフレーム
で構成され、GOP層の開始コードとしての役割を果た
すGOPの先頭識別信号(Start-code)、一つ以上のピク
チャーの符号化データ等を含んでいる。次に、前述のピ
クチャー層は、ピクチャーの開始コードとしての役割を
果たすピクチャーの先頭識別信号(Start-code)、一つ以
上のスライスの符号化データ等を含んでおり、このスラ
イス層は、一つ以上のマクロブロックの情報を含み、任
意のマクロブロックを含むことができ、スライス層の開
始コードとしての役割を果たすスライスの先頭識別信号
(Start-code)及び、一つ以上のスライスの符号化データ
等を含んでいる。Further, the GOP layer is composed of frames of arbitrary length, and the head identification signal (Start-code) of the GOP which serves as a start code of the GOP layer, encoded data of one or more pictures, etc. Is included. Next, the above-mentioned picture layer includes a picture start identification signal (Start-code) that functions as a start code of the picture, encoded data of one or more slices, and the like. Slice start identification signal that contains the information of one or more macroblocks, can include any macroblock, and serves as the start code for the slice layer
(Start-code) and encoded data of one or more slices are included.
【0014】さらにマクロブロックについて説明する。
このマクロブロックは、輝度16×16画素と、それに
対応する色差のブロックであり、輝度(Y)、色差(C
b,Cr)それぞれでさらに小さい数個の基本符号化処
理単位である8×8画素のブロックで構成される。図3
は、このマクロブロックの構造を示すものである。マク
ロブロック内の各ブロックの数は、図3に示すように、
処理されている信号が、4:2:0の信号の場合、輝度
が4個、色差がそれぞれ1個ずつの計6個のブロックを
最大もち、処理される信号が、4:2:2の信号の場合
には、輝度が4個、色差がそれぞれ2個ずつの計8個、
4:4:4の場合には、輝度が4個、色差がそれぞれ4
個の計12個のブロックを最大持つ。Further, the macroblock will be described.
This macroblock is a block of luminance 16 × 16 pixels and a color difference corresponding to it, and has luminance (Y) and color difference (C
b, Cr), each block is composed of several smaller basic coding units of 8 × 8 pixels. Figure 3
Shows the structure of this macroblock. The number of each block in the macroblock is as shown in FIG.
If the processed signal is a 4: 2: 0 signal, it has a maximum of 6 blocks with 4 luminances and 1 color difference, and the processed signal is 4: 2: 2. In the case of a signal, there are a total of eight with four luminances and two color differences.
In the case of 4: 4: 4, there are 4 luminances and 4 color differences.
It has a maximum of 12 blocks in total.
【0015】各ブロックのデータは、図3内の各ブロッ
クに振られている番号順に並べられており、予測符号化
されている場合でその予測誤差を量子化した値が、すべ
て0であるときなど、データを送る必要がない場合に
は、そのブロックをスキップして、マクロブロックを構
成する。すなわち、4:2:1の信号で、2番目のブロ
ックがスキップされる場合には、マクロブロック内のブ
ロックは、1,3,4,5,6の5つのブロックが順に
並べられてマクロブロックを構成する。The data of each block are arranged in the order of the numbers assigned to each block in FIG. 3, and when the prediction coding is performed and the value obtained by quantizing the prediction error is all 0s. When it is not necessary to send data, the block is skipped and a macroblock is constructed. That is, when the second block is skipped with a 4: 2: 1 signal, the blocks in the macroblock are macroblocks in which five blocks 1, 3, 4, 5, 6 are arranged in order. Make up.
【0016】そして、n番めのブロックを符号化してい
る場合をbn=1で表わし、していない場合をbn=0
(n=1,2,...)で表し、マクロブロックでの符号化ブロッ
クパターンを"coded block pattern"(以下cbp)とし
て、4:2:0の信号の場合には、cbp=(b1,b2,b
3,b4,b5,b6)2の6ビットの2進数で表現し、これを
その出現頻度に応じて、3ビットから9ビットの可変長
符号化されている。When the nth block is encoded, it is represented by bn = 1, and when it is not encoded, bn = 0.
It is represented by (n = 1,2, ...), and the coding block pattern in the macro block is "coded block pattern" (hereinafter, cbp), and in the case of a 4: 2: 0 signal, cbp = (b1 , b2, b
3, b4, b5, b6) 2 represented by a 6-bit binary number, which is variable length encoded from 3 bits to 9 bits according to the frequency of appearance.
【0017】4:2:2については、cbp=(b1,b2,
b3,b4,b5,b6,b7,b8)2 の8ビットの2進数で表
現し、そのまま符号して用い、4:4:4の場合には、
cbp=(b1,b2,b3,b4,b5,b6,b7,b8,b9,b10,b
11,b12)2の12ビットの2進数として表現し、そのま
ま符号として用い、この信号がマクロブロック毎に存在
する。For 4: 2: 2, cbp = (b1, b2,
b3, b4, b5, b6, b7, b8) 2 is represented by an 8-bit binary number and is used as it is in the case of 4: 4: 4.
cbp = (b1, b2, b3, b4, b5, b6, b7, b8, b9, b10, b
11, b12) 2 is expressed as a 12-bit binary number and is used as a code as it is, and this signal exists for each macroblock.
【0018】以上のような構造をもつビット列を入力信
号として、コード検出装置1は、入力信号の全データに
ついて、その内容を読み取るための各コード再生用のコ
ードブック等を備え、現在入力されているビットがどの
情報であるかを検出し、制御回路2に伝送する。制御回
路2では、そのうち、cbp信号を検出した場合に、スク
ランブルの対象の符号として、コード検出装置1からの
信号にしたがって、処理の選択を行い、信号切り換え装
置3を制御するとともに、スクランブルに必要な数の乱
数を乱数発生装置4に出力させる制御信号を送る。以
下、その制御方法を説明する。Using the bit string having the above structure as an input signal, the code detection device 1 is provided with a code book for reproducing each code for reading the contents of all the data of the input signal, and is currently input. Which information is contained in the existing bit is transmitted to the control circuit 2. In the control circuit 2, when the cbp signal is detected, the process is selected as the code to be scrambled according to the signal from the code detection device 1, the signal switching device 3 is controlled, and the scrambling is required. A control signal that causes the random number generator 4 to output a random number of a random number is sent. The control method will be described below.
【0019】制御装置2では、通常スクランブルの対象
でない符号を検出している場合、信号切り換え装置3が
入力信号を端子cに接続する信号を送り、入力信号にな
にも処理されずに出力信号になるようにする。In the control device 2, when the code which is not normally scrambled is detected, the signal switching device 3 sends a signal for connecting the input signal to the terminal c, and the input signal is not processed and the output signal is not processed. Try to be.
【0020】そして、入力信号中の"coded block patte
rn"信号を検出した場合スクランブルの対象となる符号
として信号切り換え装置3の接続を切り換えるとともに
乱数発生装置4に乱数発生命令を送る。The "coded block pattern" in the input signal
When the "rn" signal is detected, the connection of the signal switching device 3 is switched as a code to be scrambled, and a random number generation command is sent to the random number generation device 4.
【0021】まず、処理している信号が、4:2:0の
場合、信号切り換え装置3内で、入力信号と端子aが接
続されるように制御信号を送る。そして、乱数発生装置
4に符号長情報と1ビットの乱数発生命令を送る。乱数
発生装置4では、スクランブル鍵をもとに1ビット乱数
を排他的論理和回路6に出力し、これを、符号の最終ビ
ットに付加する。First, when the signal being processed is 4: 2: 0, the control signal is sent in the signal switching device 3 so that the input signal and the terminal a are connected. Then, the code length information and a 1-bit random number generation command are sent to the random number generator 4. The random number generator 4 outputs a 1-bit random number to the exclusive OR circuit 6 based on the scramble key, and adds this to the final bit of the code.
【0022】ただし、"111","01011","01010","0100
1","01000”の場合は、スクランブルの対象とせず、入
力信号を信号切り換え装置3内の端子cに接続されるこ
とする。図4は、4:2:0の信号の場合に用いられる
cbpのコードブックである。図4より、符号が"111"の場
合を除いて、全ての符号が、その最終ビットを反転した
符号もコードブック内に存在する。また、そうした際の
その符号が示すcbpの値の2進表示した場合の1の数
も、"01011","01010","01001","01000”の場合を除いて
等しくなっている。従って、入力信号は、符号長の全く
等しい信号に変換され、変換された信号を再生する場合
には、その復号される位置が誤って再生される。例え
ば、cbpの符号が、"1101"であったものが、"1100"に変
換された場合には、4番の位置のブロックの信号が3番
の位置のブロックとして再生される。However, "111", "01011", "01010", "0100"
In the case of 1 "and" 01000 ", the input signal is not scrambled and is connected to the terminal c in the signal switching device 3. Fig. 4 is used in the case of 4: 2: 0 signal
This is the cbp codebook. From FIG. 4, except for the case where the code is "111", all codes also have the code obtained by inverting the last bit in the codebook. In addition, the number of 1s in the binary display of the cbp value indicated by the code at that time is also the same except for the cases of "01011", "01010", "01001", and "01000". Therefore, the input signal is converted into a signal having the same code length, and when reproducing the converted signal, the decoded position is reproduced erroneously. For example, when the code of cbp is "1101" and is converted to "1100", the signal of the block at the 4th position is reproduced as the block at the 3rd position.
【0023】次に、4:2:2あるいは4:4:4の信
号の場合、信号切り換え装置3内の端子bに入力信号が
接続されるように制御回路2から制御信号を送る。さら
に、乱数発生装置4に、4ビットの乱数発生命令を送
る。乱数発生装置4では、スクランブル鍵をもとに4ビ
ットの乱数を発生して巡回シフト回路5に伝送する。巡
回シフト装置5では、乱数発生装置からの信号の4ビッ
トの示す回数だけ、cbpの符号を巡回シフトして出力す
る。したがって、4:2:0の場合の時と同様に符号長
が等しく、各ブロックの位置が、間違った位置に変換さ
れることになる。以上のように生成された信号は、もと
の"cbp"の符号の位置にはめ込まれて出力信号となる。Next, in the case of a signal of 4: 2: 2 or 4: 4: 4, the control signal is sent from the control circuit 2 so that the input signal is connected to the terminal b in the signal switching device 3. Further, a 4-bit random number generation command is sent to the random number generator 4. The random number generator 4 generates a 4-bit random number based on the scramble key and transmits it to the cyclic shift circuit 5. The cyclic shift device 5 cyclically shifts and outputs the cbp code by the number of times indicated by 4 bits of the signal from the random number generator. Therefore, the code length is the same as in the case of 4: 2: 0, and the position of each block is converted to an incorrect position. The signal generated as described above is fitted into the original position of the code of "cbp" and becomes the output signal.
【0024】以上のように本実施例によれば、4:2:
0の信号の場合に"01011","01010","01001","01000”の
符号を例外として処理しないことで、残りの符号につい
てその最終ビットに乱数を付加するという簡易な処理で
符号長が変わらず含まれるブロックの数が変わらないよ
うな符号に変換する処理を実現できる。As described above, according to this embodiment, 4: 2:
In the case of a 0 signal, the code length of "01011", "01010", "01001", "01000" is not processed as an exception, and the code length is simplified by adding a random number to the last bit of the remaining code. It is possible to realize a process for converting into a code in which the number of blocks included in the code does not change.
【0025】また、4:4:2や4:4:4の信号の場
合についても、巡回シフト処理としているので符号中の
1の数が変わらず非常に簡単な処理で実現でき、実用性
が高い。また、MPEG標準の符号化方法が予測符号化
を用いているため、再生される信号は、単にブロックの
位置が移動するだけでなく、予測値の上に誤った予測誤
差信号が加算されることになり、単なるブロックの入れ
替えよりも効果的な撹拌効果が生まれる。Also, in the case of a 4: 4: 2 or 4: 4: 4 signal, since the cyclic shift processing is performed, the number of 1's in the code does not change, and it can be realized by a very simple processing, which is practical. high. Also, since the MPEG standard coding method uses predictive coding, the reproduced signal may not only move the position of the block, but may also add an incorrect prediction error signal to the predicted value. And a more effective stirring effect than simply replacing blocks.
【0026】なお、本実施例において、変換の処理を
4:4:0の信号については、最終ビットを反転する処
理としたが、符号長を変えず、また、ブロックの数が変
化しない条件を満たす変換であれば、他の変換手段であ
ってもよい。また、4:2:2および4:4:4の信号
の場合でも、変換処理を巡回シフトとしたが、符号中の
1の数を変化させない変換であれば、ほかの変換手段で
あってもよい。また、入力信号についても、本実施例で
は、MPEGに準拠した映像信号としたが、それ以外の
信号であっても、符号化ブロックパターンに相当するの
符号を含むような信号であれば、同様な考え方で実現で
きることはいうまでもない。In the present embodiment, the conversion process is the process of inverting the final bit for the 4: 4: 0 signal, but the condition that the code length is not changed and the number of blocks is not changed is set. Other conversion means may be used as long as the conversion is satisfied. Further, even in the case of 4: 2: 2 and 4: 4: 4 signals, the conversion processing is cyclic shift, but other conversion means may be used as long as the conversion does not change the number of 1's in the code. Good. Further, the input signal is also a video signal conforming to MPEG in the present embodiment, but the same applies to other signals as long as the signal includes a code corresponding to the coding block pattern. It goes without saying that it can be realized with such a way of thinking.
【0027】[0027]
【発明の効果】以上説明したように、本発明によれば、
符号化ブロックパターン信号を、その符号化ブロックパ
ターン信号が示すブロックグループ内の符号化されてい
るブロックの数と等しいブロックが符号化された場合に
表現される符号化ブロックパターン信号に変換すること
で、他のデータを読み取り可能なまま、ブロックの復号
位置を誤った位置に再生させるため、全く見えないよう
にするのではなく、ある程度内容がわかる程度で見え方
が制御できるスクランブル装置を提供することができ、
その実用的効果は大きい。As described above, according to the present invention,
By converting a coded block pattern signal into a coded block pattern signal that is represented when a block equal to the number of coded blocks in the block group indicated by the coded block pattern signal is coded. Providing a scrambler that can control the appearance of a block without making it invisible at all so that the decoding position of the block is reproduced at the wrong position while other data can be read. Can
Its practical effect is great.
【図1】本発明の第1の実施例におけるスクランブル装
置の構成図FIG. 1 is a configuration diagram of a scrambling device according to a first embodiment of the present invention.
【図2】MPEG標準に準拠したディジタル映像信号の
概要図FIG. 2 is a schematic diagram of a digital video signal based on the MPEG standard.
【図3】MPEG標準に準拠したディジタル映像信号中
のマクロブロック内のブロックの構成を示す説明図FIG. 3 is an explanatory diagram showing a configuration of blocks in a macro block in a digital video signal based on the MPEG standard.
【図4】MPEG標準で用いられているDCT係数符号
化用コードブックの説明図FIG. 4 is an explanatory diagram of a DCT coefficient coding codebook used in the MPEG standard.
【図5】従来のスクランブル装置の構成図FIG. 5 is a block diagram of a conventional scrambler.
1 コード検出装置 2 制御回路 3 信号切り換え装置 4 乱数発生装置 5 巡回シフト装置 6 排他的論理和装置 1 code detection device 2 control circuit 3 signal switching device 4 random number generation device 5 cyclic shift device 6 exclusive OR device
───────────────────────────────────────────────────── フロントページの続き (72)発明者 茨木 晋 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Shin Ibaraki 1006 Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Industrial Co., Ltd.
Claims (4)
化ブロックを構成し、さらに複数の前記符号化ブロック
からブロックグループを構成するデータの階層構造をも
つフォーマットで符号化されたディジタル映像信号で、
各ブロックグループにそのブロックグループ内の各ブロ
ックが符号化されているかどうか示す符号化ブロックパ
ターン信号を含むディジタル映像信号について、符号化
ブロックパターン信号を、その符号化ブロックパターン
信号が示すブロックグループ内の符号化されているブロ
ックの数と等しいブロックが符号化された場合を表現す
る符号化ブロックパターン信号に変換する変換手段を備
えたことを特徴とするスクランブル装置。1. A digital video signal coded in a format having a hierarchical structure of data in which data of a plurality of pixels are put together to form one coded block, and a block group is composed of the plurality of coded blocks. so,
For a digital video signal including a coded block pattern signal indicating whether or not each block in the block group is coded in each block group, the coded block pattern signal is converted into a block in the block group indicated by the coded block pattern signal. A scrambler, comprising: a conversion unit for converting into a coded block pattern signal that represents a case in which blocks equal to the number of coded blocks are coded.
号であって、変換手段が、その信号中の"coded block p
attern"を表現している符号に対して、その符号の表す"
coded block pattern"を2進数表現した場合の1の数と
等しい1の数をもつ2進数で表される"coded block pat
tern"を符号化した場合の符号に変換する変換手段を備
えたことを特徴とするスクランブル装置。2. The video signal is a video signal conforming to the MPEG standard, and the converting means includes "coded block p" in the signal.
For a code that represents "attern," the code represents
"coded block pat" represented by a binary number having a number of 1 which is equal to the number of 1 when the coded block pattern is expressed in binary number
A scrambler comprising a conversion means for converting a code when "tern" is encoded.
0の映像信号である場合に"coded block pattern"を表
現している符号をコードブック内にある符号長の等しい
別の符号に変換する変換手段であることを特徴とする請
求項2記載のスクランブル装置。3. The signal processed by the conversion means is 4: 2 :.
3. The scrambler according to claim 2, wherein when the video signal is 0, the code expressing the "coded block pattern" is converted into another code having the same code length in the codebook. apparatus.
2あるいは4:4:4の映像信号である場合に、"coded
block pattern"の符号語中の1の数と等しい1の数を
もつ符号語に変換する変換手段であることを特徴とする
請求項2記載のスクランブル装置。4. The signal processed by the converting means is 4: 2 :.
If the video signal is 2 or 4: 4: 4, "coded"
3. The scrambler according to claim 2, which is a conversion means for converting into a code word having a number of 1s equal to the number of 1s in the code word of the "block pattern".
Priority Applications (13)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8592993A JPH06303608A (en) | 1993-04-13 | 1993-04-13 | Scrambler |
| DE69332529T DE69332529T2 (en) | 1992-07-21 | 1993-07-20 | encryptor |
| DE69324077T DE69324077T2 (en) | 1992-07-21 | 1993-07-20 | Encryption and decryption device |
| DE69327675T DE69327675T2 (en) | 1992-07-21 | 1993-07-20 | Encryption and decryption device |
| EP93111575A EP0582122B1 (en) | 1992-07-21 | 1993-07-20 | Scramble apparatus and descramble apparatus |
| EP96118521A EP0778705B1 (en) | 1992-07-21 | 1993-07-20 | Scramble apparatus and descramble apparatus |
| EP98118547A EP0888008B1 (en) | 1992-07-21 | 1993-07-20 | Scramble apparatus |
| US08/089,522 US5377266A (en) | 1992-07-21 | 1993-07-21 | Scramble apparatus and descramble apparatus |
| KR1019930013777A KR970010045B1 (en) | 1992-07-21 | 1993-07-21 | Scrambler and descrambler |
| CN93116600A CN1045041C (en) | 1992-07-21 | 1993-07-21 | encryption device and decryption device |
| US08/310,754 US5636279A (en) | 1992-07-21 | 1994-09-23 | Scramble apparatus and descramble apparatus |
| CNB981147739A CN1156116C (en) | 1992-07-21 | 1998-06-12 | encryption device and decryption device |
| CNB981147720A CN1149781C (en) | 1992-07-21 | 1998-06-12 | encryption device and decryption device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8592993A JPH06303608A (en) | 1993-04-13 | 1993-04-13 | Scrambler |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH06303608A true JPH06303608A (en) | 1994-10-28 |
Family
ID=13872454
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP8592993A Pending JPH06303608A (en) | 1992-07-21 | 1993-04-13 | Scrambler |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH06303608A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008044637A1 (en) * | 2006-10-10 | 2008-04-17 | Nippon Telegraph And Telephone Corporation | Video encoding method and decoding method, their device, their program, and storage medium containing the program |
-
1993
- 1993-04-13 JP JP8592993A patent/JPH06303608A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008044637A1 (en) * | 2006-10-10 | 2008-04-17 | Nippon Telegraph And Telephone Corporation | Video encoding method and decoding method, their device, their program, and storage medium containing the program |
| US9055303B2 (en) | 2006-10-10 | 2015-06-09 | Nippon Telegraph And Telephone Corporation | Video encoding method and decoding method, apparatuses therefor, programs therefor, and storage media for recording the programs |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0582122B1 (en) | Scramble apparatus and descramble apparatus | |
| US5706346A (en) | Scrambling apparatus and descrambling apparatus | |
| EP0665688A2 (en) | Video data arranging method and video data encoding/decoding apparatus | |
| US20020188570A1 (en) | Partial protection of content | |
| US6360014B1 (en) | Image decoding method, image decoding apparatus, and data recording medium | |
| JP2010505318A (en) | Formation and processing of bitstreams containing video frames and auxiliary data | |
| US5963342A (en) | Image processing apparatus and method thereof | |
| JP3340157B2 (en) | Scramble device | |
| JP3478019B2 (en) | Image encoded data creation method and image encoded data decoding method | |
| KR100329091B1 (en) | Image Compressor, Image Reproducing Device and Drawing Device | |
| KR100451277B1 (en) | Copy controlling method and system of digital contents | |
| JPH06303608A (en) | Scrambler | |
| JP3120579B2 (en) | Scramble device | |
| US6307975B1 (en) | Image coding technique employing shape and texture coding | |
| JPH04312089A (en) | Data compressor and its expander device | |
| JPH07111647A (en) | Signal processor | |
| JPH07115414A (en) | Scramble transmission device | |
| JPH06303609A (en) | Scramble signal reproduction device | |
| JP4018305B2 (en) | Image processing method and apparatus and storage medium | |
| JP2925043B2 (en) | Data decompression device | |
| JPH0767096A (en) | Scrambler | |
| JPH10210442A (en) | Scramble method and device therefor, and dynamic image processor | |
| JPH07135648A (en) | Signal processor | |
| JPH07111646A (en) | Scrambler, descrambler and signal processor | |
| KR100209680B1 (en) | Additional information recording and reproducing device of magnetic recording medium |