JP2001203652A - Contents information decoding method and medium - Google Patents
Contents information decoding method and mediumInfo
- Publication number
- JP2001203652A JP2001203652A JP2000008705A JP2000008705A JP2001203652A JP 2001203652 A JP2001203652 A JP 2001203652A JP 2000008705 A JP2000008705 A JP 2000008705A JP 2000008705 A JP2000008705 A JP 2000008705A JP 2001203652 A JP2001203652 A JP 2001203652A
- Authority
- JP
- Japan
- Prior art keywords
- content information
- decoding
- content
- key
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Storage Device Security (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、コンテンツ鍵とそ
のコンテンツ鍵を用いて暗号化された暗号化コンテンツ
情報を記録、伝送、再生するコンテンツ情報復号化方法
及びメディアに関するもので、特に暗号化された暗号化
コンテンツ情報を再生する際、正当な暗号化鍵情報で復
号したかどうかを検出することが可能なコンテンツ情報
復号化方法及びメディアに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a content key and a content information decryption method and medium for recording, transmitting, and reproducing encrypted content information encrypted using the content key. The present invention relates to a content information decryption method and a medium capable of detecting whether or not decrypted encrypted content information has been decrypted with valid encryption key information.
【0002】[0002]
【従来の技術】暗号化技術の発展に伴い、ネットワーク
を利用してオーディオやビデオのディジタルデータを配
信する有用な方法として、特開平10−269289号
公報にはディジタルコンテンツ配布管理方法、ディジタ
ルコンテンツ再生方法及び装置が開示されている。特開
平10−269289号公報には、ディジタルコンテン
ツの配布側において、ディジタルコンテンツを暗号化及
び圧縮して加工し、この加工したディジタルコンテンツ
および暗号化したコンテンツ鍵、さらに暗号化した課金
情報を通信相手側に送信し、通信相手から送信されてき
たコンテンツ使用情報に基づいて徴収した利用金を権利
者に対して、分配するようにしており、一方ディジタル
コンテンツの再生側においては、その加工されたディジ
タルコンテンツをコンテンツ鍵にて復号すると共に伸長
して再生し、同時にコンテンツの使用に応じて課金情報
の減額とコンテンツに使用情報を配布側に送信するよう
にし、記録されたコンテンツを持ち運びできるようにし
たものが開示されている。2. Description of the Related Art With the development of encryption technology, Japanese Patent Application Laid-Open No. 10-269289 discloses a digital content distribution management method and a digital content reproduction method as useful methods for distributing digital data of audio and video using a network. A method and apparatus are disclosed. Japanese Patent Application Laid-Open No. 10-269289 discloses that on the distribution side of digital content, the digital content is encrypted, compressed and processed, and the processed digital content, the encrypted content key, and the encrypted billing information are communicated to the communication partner. Side, and the usage fee collected based on the content usage information transmitted from the communication partner is distributed to the right holders, while the digital content reproduction side transmits the processed digital The content is decrypted with the content key and decompressed and played back, and at the same time, the billing information is reduced according to the use of the content and the usage information is transmitted to the distribution side so that the recorded content can be carried. Things are disclosed.
【0003】また、特開平10−283268号公報に
は情報記記録媒体、記録装置、情報伝送システム、暗号
解読装置が開示されている。特開平10−283268
号公報には、暗号化されている暗号化情報と、この暗号
化情報を元の情報に復号化するための鍵情報を暗号化し
た暗号化鍵情報とが記録される情報記録媒体において、
上記暗号化鍵情報に、非暗号化された状態で上記暗号化
情報を復号化する際の条件情報が追加記録されことによ
り、暗号化鍵情報の制御情報内に、機器情報や領域情報
が含まれているため、ユーザ側で暗号化された情報をそ
のままHDDや光ディスクにコピーし、不正使用をする
ことを防止することが開示されている。[0003] Japanese Patent Application Laid-Open No. 10-283268 discloses an information recording medium, a recording device, an information transmission system, and a decryption device. JP-A-10-283268
Japanese Patent Laid-Open Publication No. H10-163873 discloses an information recording medium in which encrypted encrypted information and encryption key information obtained by encrypting key information for decrypting the encrypted information into original information are recorded.
Condition information for decrypting the encryption information in an unencrypted state is additionally recorded in the encryption key information, so that control information of the encryption key information includes device information and area information. Therefore, it is disclosed that the user can directly copy the encrypted information to an HDD or an optical disk to prevent unauthorized use.
【0004】また、本特許において使用する従来技術で
あるMPEGについて簡単に説明する。MPEGは1988年、ISO/
IEC JTC1/SC2(国際標準化機構/国際電気標準化会合同
技術委員会1/専門部会2、現在のSC29)に設立された動
画像符号化標準を検討する組織の名称(Moving Picture
s Expert Group)の略称である。MPEG1(MPEGフェーズ
1)は1.5Mbps程度の蓄積メディアを対象とした標準で、
静止画符号化を目的としたJPEGと、ISDNのテレビ会議や
テレビ電話の低転送レート用の動画像圧縮を目的とした
H.261(CCITT SGXV、現在のITU-T SG15で標準化)の基
本的な技術を受け継ぎ、蓄積メディア用に新しい技術を
導入したものである。これらは1993年8月、ISO/IEC 111
72 として成立している。[0004] MPEG, which is a conventional technique used in this patent, will be briefly described. MPEG in 1988, ISO /
Name of the organization (Moving Picture) that considers moving picture coding standards established in IEC JTC1 / SC2 (International Organization for Standardization / International Electrotechnical Commission / Technical Committee 1 / Subcommittee 2, current SC29)
s Expert Group). MPEG1 (MPEG phase
1) is a standard for storage media of about 1.5Mbps,
JPEG for still image encoding and video compression for low transfer rates of ISDN video conferences and video phones
It inherits the basic technology of H.261 (CCITT SGXV, standardized by the current ITU-T SG15) and introduces new technology for storage media. These are August 1993, ISO / IEC 111
72 holds.
【0005】MPEG2(MPEGフェーズ2)は通信や放送な
どの多様なアプリケーションに対応できるように汎用標
準を目的として、1994年11月ISO/IEC 1381
8、H.262として成立している。[0005] MPEG2 (MPEG Phase 2) is an ISO / IEC 1381, November 1994, for the purpose of a general-purpose standard that can support various applications such as communication and broadcasting.
8, H.262.
【0006】MPEGの符号化部分は幾つかの技術を組み合
わせて作成されている。入力画像は動き補償器で復号化
した画像と、入力画像の差分を取ることで時間冗長部分
を削減する。予測の方向は、過去、未来、両方からの3
モード存在する。またこれらは16画素×16画素のMB(マ
クロブロック)ごとに切り替えて使用できる。予測方向
は入力画像に与えられたピクチャタイプによって決定さ
れる。過去からの予測と、予測をしないでそのMBを独立
で符号化する2モード存在するのがPピクチャーであ
る。また未来からの予測、過去からの予測、両方からの
予測、独立で符号化する4モード存在するのがBピクチ
ャーである。そして全てのMBが独立で符号化するのがI
ピクチャーである。動き補償は、動き領域をMBごとにパ
ターンマッチングを行ってハーフペル精度で動きベクト
ルを検出し、動き分だけシフトしてから予測する。動き
ベクトルは水平方向と垂直方向が存在し、何処からの予
測かを示すMC(Motion Compensation)モードとともにMB
の付加情報として伝送される。Iピクチャから次のIピク
チャの前のピクチャまでをGOP(Group Of Picture)とい
い、蓄積メディアなどで使用される場合には、一般に約
15ピクチャ程度が使用される。[0006] The encoded part of MPEG is created by combining several techniques. The input image is reduced in time redundancy by taking the difference between the image decoded by the motion compensator and the input image. The direction of prediction is three from the past, the future,
Mode exists. These can be switched and used for each MB (macroblock) of 16 pixels × 16 pixels. The prediction direction is determined by the picture type given to the input image. P-pictures exist in two modes in which prediction from the past and independent coding of the MB without prediction are performed. B-pictures have four modes of prediction from the future, prediction from the past, prediction from both, and independent encoding. And it is I that all MBs encode independently
It is a picture. The motion compensation detects a motion vector with half-pel accuracy by performing pattern matching on a motion area for each MB, shifts the motion vector by the amount of motion, and predicts the motion vector. The motion vector has a horizontal direction and a vertical direction, and an MB (Motion Compensation) mode indicating where to predict from the MB.
Is transmitted as additional information. A GOP (Group Of Picture) refers to a GOP (Group Of Picture) from an I picture to a picture preceding the next I picture. In general, about 15 pictures are used.
【0007】以下に全体の符号化構成例を図2を参照し
て説明する。差分画像はDCT(Discrete Cosine Transfo
rm)器100において直交変換が行われる。DCTとは余弦
関数を積分核とした積分変換を有限空間への離散変換す
る直交変換である。MPEGではMBを4分割し8×8のDCTブ
ロックに対して、2次元DCTを行う。一般にビデオ信号
は低域成分が多く高域成分が少ないため、DCTを行うと
係数が低域に集中する。Hereinafter, an example of the entire coding configuration will be described with reference to FIG. The difference image is DCT (Discrete Cosine Transfo
The rm) unit 100 performs orthogonal transformation. DCT is an orthogonal transform for discretely transforming an integral transform using a cosine function as an integral kernel into a finite space. In MPEG, MB is divided into four and two-dimensional DCT is performed on an 8 × 8 DCT block. Generally, since a video signal has many low-frequency components and few high-frequency components, when DCT is performed, coefficients concentrate on low frequencies.
【0008】DCTされた画像データ(DCT係数)は量子化
器101で量子化が行われる。量子化は量子化マトリッ
クスという8×8の2次元周波数を視覚特性で重み付けし
た値と、その全体をスカラー倍する量子化スケールとい
う値で乗算した値を量子化値として、DCT係数をその
量子化値で除算する。デコーダーで逆量子化するときは
量子化値で乗算することにより、元のDCT係数に近似
している値を得ることになる。The quantized image data (DCT coefficients) is quantized by a quantizer 101. In the quantization, the DCT coefficient is quantized by using a value obtained by multiplying an 8 × 8 two-dimensional frequency called a quantization matrix by a visual characteristic by a value called a quantization scale for multiplying the whole by a scalar, as a quantization value. Divide by value. When inverse quantization is performed by the decoder, a value close to the original DCT coefficient is obtained by multiplying by the quantization value.
【0009】量子化されたデータはVLC器102で可変
長符号化される。VLC器102には後述する動き補償器
予測器107より動きベクトル及び予測モードに関する
信号が供給され、VLC器102は供給される信号に対応
するモードで動作する。量子化された値のうち直流(D
C)成分は予測符号化のひとつであるDPCM( diffe
rential pulse code modulation )を使用する。また交
流(AC)成分は 低域から高域にジグザグスキャン(z
igzag scan)を行い、ゼロのラン長および有効係数値を
1つの事象とし、出現確率の高いものから符号長の短い
符号を割り当てていくハフマン符号化が行われる。可変
長符号化されたデータは一時バッファ(BUFFER)103に
蓄えられ、所定の転送レートで符号化データとして出力
される。[0009] The quantized data is subjected to variable length coding in a VLC unit 102. A signal relating to a motion vector and a prediction mode is supplied to the VLC unit 102 from a motion compensator predictor 107 described later, and the VLC unit 102 operates in a mode corresponding to the supplied signal. Of the quantized values, DC (D
The C) component is a DPCM (diffe
Use rential pulse code modulation). In addition, the alternating current (AC) component has a zigzag scan (z
igzag scan), Huffman coding is performed in which a run length of zero and an effective coefficient value are regarded as one event, and codes having a short code length are assigned from those having a high occurrence probability. The variable-length coded data is stored in a temporary buffer (BUFFER) 103 and output as coded data at a predetermined transfer rate.
【0010】また、その出力されるデータのマクロブロ
ック毎の発生符号量は、図2中に図示せぬ符号量制御器
に供給され、目標符号量に対する発生符号量との誤差符
号量を量子化器101にフィードバックして量子化スケ
ールを調整することで符号量制御される。The generated code amount for each macro block of the output data is supplied to a code amount controller (not shown in FIG. 2), and an error code amount between the generated code amount and a target code amount is quantized. The code amount is controlled by feeding back to the device 101 and adjusting the quantization scale.
【0011】量子化された画像データは逆量子化器10
4にて逆量子化、逆DCT器105にて逆DCTされ、加算器
106の一方の入力端子に供給され、また、加算器10
6の他方の入力端子には後述するように動き補償予測器
107よりの予測信号が供給されており、これらの信号
は加算器106にて加算され、一時、画像メモリー10
8に蓄えられた後、動き補償予測器107に供給され
て、差分画像を計算するためのリファレンスの復号化画
像として使用される。動き補償予測器107に供給され
る入力画像信号、画像メモリー108から供給される信
号(リファレンスの復号化画像)を用いて差分画像を計
算して、この信号を減算器109の他方の端子および加
算器106の他方の端子に供給する。減算器109は入
力画像信号より動き補償予測器107より供給される予
測画像信号を減算して、両信号の差分をとることにより
時間冗長分を削減した信号を上述したDCT器100に
供給する。[0011] The quantized image data is supplied to an inverse quantizer 10.
4, inverse DCT by the inverse DCT unit 105, and is supplied to one input terminal of the adder 106.
6 is supplied with a prediction signal from a motion compensation predictor 107 as described later. These signals are added by an adder 106 and temporarily stored in an image memory 10.
After that, it is supplied to the motion compensation predictor 107 and used as a reference decoded image for calculating a difference image. A difference image is calculated using an input image signal supplied to the motion compensation predictor 107 and a signal (reference decoded image) supplied from the image memory 108, and this signal is added to the other terminal of the subtracter 109 and to the addition. To the other terminal of the vessel 106. The subtractor 109 subtracts the predicted image signal supplied from the motion compensation predictor 107 from the input image signal, and supplies a signal in which the time redundancy is reduced by taking the difference between the two signals to the DCT unit 100 described above.
【0012】次に図3を参照して復号化の構成例を説明
する。伝送あるいは再生された可変長符号化されたデジ
タル信号はVLD器20に入力され、可変長復号されて元
の固定長データに変換され、次に逆量子化器22に供給
されて量子化幅と乗算されることにより、元のDCT係数
に近似した値である代表値に置き換えられ、さらに逆DC
T器23に供給されて直交逆変換処理が行われ、局部復
号されて予測誤差信号が出力される。次に加算器25の
一方の端子には逆DCT器23より予測誤差信号が供給さ
れて、加算器25の他方の入力端子には動き補償予測器
24よりの予測信号が供給されるので、加算器25はこ
れらの信号を加算した再生画像信号を復号化データとし
て出力する。また、加算器25はその出力を画像メモリ
ー26に供給し、画像メモリー26にて一時記憶され、
この一時記憶されたデータは、逆量子化器22よりの信
号と共に動き補償予測器24に供給されて予測信号が生
成されて、この予測信号は加算器25の他方の端子に出
力される。逆量子化器22より取り出された動きベクト
ルと予測モードとは動き補償予測器24に画像メモリー
26よりの復号化データと共に供給され、これにより動
き補償予測化した画像データを出力させる。加算器25
は逆DCT器23からのデータと動き補償予測器24から
の動き補償予測化した画像データとを加算することによ
り符号化装置に入力された画像データと等価な画像デー
タを復号し、復号化データとして画像メモリー26に供
給する一方、外部へ出力する。Next, an example of the structure of the decoding will be described with reference to FIG. The transmitted or reproduced variable-length coded digital signal is input to a VLD unit 20, is subjected to variable-length decoding, is converted into the original fixed-length data, and is then supplied to an inverse quantizer 22 to be supplied with a quantization width and a quantization width. By multiplication, it is replaced with a representative value that is a value approximating the original DCT coefficient,
The signal is supplied to the T unit 23, subjected to an orthogonal inverse transformation process, locally decoded, and a prediction error signal is output. Next, the prediction error signal is supplied to one terminal of the adder 25 from the inverse DCT unit 23, and the prediction signal from the motion compensation prediction unit 24 is supplied to the other input terminal of the adder 25. The device 25 outputs a reproduced image signal obtained by adding these signals as decoded data. The adder 25 supplies the output to the image memory 26, where the output is temporarily stored.
The temporarily stored data is supplied to the motion compensation predictor 24 together with the signal from the inverse quantizer 22 to generate a prediction signal. The prediction signal is output to the other terminal of the adder 25. The motion vector and the prediction mode extracted from the inverse quantizer 22 are supplied to the motion compensation predictor 24 together with the decoded data from the image memory 26, thereby outputting the motion compensated and predicted image data. Adder 25
Decodes the image data equivalent to the image data input to the encoding device by adding the data from the inverse DCT unit 23 and the image data subjected to the motion compensation prediction from the motion compensation prediction unit 24, While supplying it to the image memory 26 and outputting it to the outside.
【0013】[0013]
【発明が解決しようとする課題】しかしながら上記の従
来の方式は、コンテンツが所定の圧縮方式で符号化され
ていて、そのコンテンツが暗号化されている場合におい
て、正当な鍵によってしか暗号を復号できない工夫はな
されているが、実際に不正な鍵で復号した場合、多くの
再生装置では、長期間再生画像や音声が再生できなかっ
たり、できたとしても多くの圧縮復号失敗を原因とした
ブロック上のノイズが発生したりする問題が考慮されて
いない。However, in the above-mentioned conventional method, when the content is encoded by a predetermined compression method and the content is encrypted, the encryption can be decrypted only with a valid key. Although some contrivances have been devised, when actually decrypting with an invalid key, many playback devices cannot reproduce reproduced images and sounds for a long period of time, or even if they can do so, many blocks will fail due to compression / decoding failure. The problem of noise generation is not considered.
【0014】[0014]
【課題を解決するための手段】上述した課題を解決する
ために、本発明は 所定のコンテンツ鍵で暗号化された
符号化コンテンツ情報が伝送され、これを復号化するコ
ンテンツ情報復号化方法において、前記コンテンツ情報
の復号開始からあらかじめ設定された期間内に、コンテ
ンツ情報が正しく復号できなかった場合、所定のユーザ
ーインターフェースを用いて、コンテンツ情報が正しく
復号できなかった旨を報知するとともに、コンテンツ情
報の復号を停止する方法を提供するものである。また、
上述した課題を解決するために、本発明は所定のコンテ
ンツ鍵で暗号化された符号化コンテンツ情報を伝送する
際に使用されるメディアであって、前記コンテンツ情報
と、前記コンテンツ情報の復号化開始点を定義するMP
EGスタートコードとを符号化し、さらに前記所定のコ
ンテンツ鍵で暗号化して格納しているメディアを提供す
る。According to the present invention, there is provided a content information decoding method for transmitting encoded content information encrypted with a predetermined content key and decoding the encoded content information. If the content information has not been correctly decoded within a preset period from the start of the decoding of the content information, it is notified using a predetermined user interface that the content information was not correctly decoded, and It provides a method of stopping decoding. Also,
In order to solve the above-described problem, the present invention relates to a medium used when transmitting encoded content information encrypted with a predetermined content key, wherein the content information and a decoding start of the content information are started. MP that defines the point
A medium that encodes an EG start code and encrypts the EG start code with the predetermined content key is provided.
【0015】[0015]
【発明の実施の態様】本発明の概念を図1を用いて説明
する。まず、記録側または送信側の説明をする。コンテ
ンツ情報1はMPEG符号化器2によって圧縮符号化され
る。この圧縮されたコンテンツ情報は暗号化装置3によ
って暗号化される。暗号化するコンテンツ情報は鍵のも
とになる情報4から一方向性関数5を用いて鍵6を作成
し、その鍵を用いて暗号化される。DESCRIPTION OF THE PREFERRED EMBODIMENTS The concept of the present invention will be described with reference to FIG. First, the recording side or the transmission side will be described. The content information 1 is compression-encoded by the MPEG encoder 2. The compressed content information is encrypted by the encryption device 3. For the content information to be encrypted, a key 6 is created using the one-way function 5 from the information 4 serving as the key, and the content information is encrypted using the key.
【0016】一方向性関数5とは、一方向性ハッシュ関
数とも表現でき、関数hとその定義域のある値xが与えら
れてh(x) = h(y)となるようなyを求めることが困難な関
数のことである。暗号化方式には、例えば、DESなどの
暗号化を用いる。DES暗号化方式は1977年にアメリ
カ連邦政府標準に採用されたもので代表的な共通鍵暗号
化方式で56ビットの鍵を用いて64ビット単位で暗号
化復号化を行うブロック暗号化方式である。暗号化は6
4ビットの平分を32ビットづつに分割して転置、置
換、非線型関数、排他的論理和により構成されている。
DESの場合、暗号化鍵は56ビット程度である。従って
一方向性関数の出力ビット数が56ビットになるような
鍵のもとになる情報は、例えば特定のシステム固有の5
6ビットの情報としておく。The one-way function 5 can also be expressed as a one-way hash function. Given a function h and a certain value x in its domain, find y such that h (x) = h (y). It is a function that is difficult. As the encryption method, for example, encryption such as DES is used. The DES encryption system, which was adopted in the United States Federal Government standard in 1977, is a typical common key encryption system and is a block encryption system that performs encryption and decryption in 64-bit units using a 56-bit key. . Encryption is 6
The 4-bit data is divided into 32 bits each, and is composed of transposition, permutation, nonlinear function, and exclusive OR.
In the case of DES, the encryption key is about 56 bits. Therefore, the information that forms the key such that the number of output bits of the one-way function is 56 bits is, for example, 5 bits specific to a specific system.
This is stored as 6-bit information.
【0017】暗号化されたコンテンツ情報7は、記録媒
体に記録、もしくは伝送路や伝送媒体に伝送される。次
に再生側または受信側の説明をする。再生側または受信
側では共有化されている鍵のもとになる情報8を、この
情報8を一方向性関数9を用いて鍵10を生成する。こ
の鍵10を用いて、同じく伝送されてきた暗号化された
コンテンツ情報7を復号化装置11で復号化することに
より圧縮符号化されたコンテンツデータを得ることがで
きる。このデータをMPEG復号化器12で伸張復号化し、
復号化されたコンテンツデータ情報13を得て、そのコ
ンテンツデデータ13をコンテンツ表示装置14におい
て再生表示する。またMPEG復号化の際、コンテンツ表示
装置14において、再生開始信号15をMPEG復号化器1
2に送信する。MPEG復号化器12では再生開始信号15
に基づいて、スタートコードが所定の時間内に入力され
るか、もしくは、スタートコードが入力されたのち復号
化最中に所定の数だけエラーコンシールメントが連続し
て行われたかどうか、を測定して、その結果に応じて不
正鍵が使用されたと判断した場合には、不正鍵使用表示
信号16を発生し、コンテンツ表示装置14において、
その不正鍵使用表示信号16を検出した場合、ユーザー
に画像もしくは音声、もしくは所定のユーザーインター
フェースを用いて、正しいコンテンツデータが復号でき
なかった旨を表示する。The encrypted content information 7 is recorded on a recording medium or transmitted to a transmission path or a transmission medium. Next, the reproduction side or the reception side will be described. On the reproducing side or the receiving side, a key 10 is generated by using a one-way function 9 for the information 8 which is a source of the shared key. By using the key 10 to decrypt the transmitted encrypted content information 7 by the decryption device 11, it is possible to obtain compression-encoded content data. This data is decompressed and decoded by the MPEG decoder 12, and
The content data information 13 thus decrypted is obtained, and the content data 13 is reproduced and displayed on the content display device 14. Also, at the time of MPEG decoding, the reproduction start signal 15 is output from the content display device 14 to the MPEG decoder 1.
Send to 2. In the MPEG decoder 12, the reproduction start signal 15
Based on the above, it is determined whether a start code is input within a predetermined time, or whether a predetermined number of error concealments are continuously performed during decoding after the start code is input. If it is determined that an unauthorized key has been used in accordance with the result, an unauthorized key use display signal 16 is generated, and the content display device 14
When the unauthorized key use display signal 16 is detected, a message to the effect that the correct content data could not be decrypted is displayed to the user using an image or sound or a predetermined user interface.
【0018】次に第4図を用いて、スタートコードが所
定の時間内に入力されるかを測定して、その結果に応じ
て不正鍵が使用されたと判断する場合について説明をす
る。MPEG2ビデオシンタックス全体を図6に示す。図6
のはじめにnext#start#code()というfunctionが設定さ
れている。このfunctionはスタートコードがくるまでは
入力されたデータを無視するという動作をするようMPEG
では規定されている。スタートコードとは図7のsequen
ce#header#codeのことであり、例えば、0x000001B3と定
義されている。Next, a case will be described with reference to FIG. 4 where it is determined whether a start code is input within a predetermined time and it is determined that an unauthorized key has been used according to the result. FIG. 6 shows the entire MPEG2 video syntax. FIG.
The function called next # start # code () is set at the beginning of. This function is an MPEG that acts to ignore the input data until the start code comes
Is stipulated. The start code is the sequence shown in Fig. 7.
ce # header # code, which is defined as 0x000001B3, for example.
【0019】ユーザーが再生を開始すると再生開始信号
15がコンテンツ表示装置14から検出時間測定器17
に入力され、経過時間が0にリセットされる。その後、
図1に示した復号化装置11から符号化データ18が入
力され、スタートコード検出器19は符号化データ18
中に上述したスタートコードが存在するかどうかを検出
する。スタートコードが検出された場合には、図1に示
した再生側または受信側の復号装置11に入力された暗
号化されたコンテンツ信号が正当な鍵によって復号され
たと解釈し、符号化データ18がVLD器20に送信(伝
送)され、MPEG復号が開始される。VLD器20以降の処
理については、例えば、図3に示した復号化の構成例を
用いることができるので、その説明を省略する。When the user starts reproduction, a reproduction start signal 15 is sent from the content display device 14 to the detection time measuring device 17.
And the elapsed time is reset to zero. afterwards,
The encoded data 18 is input from the decoding device 11 shown in FIG. 1, and the start code detector 19 outputs the encoded data 18
It is detected whether or not the above-mentioned start code exists therein. When the start code is detected, it is interpreted that the encrypted content signal input to the decoding device 11 on the reproducing side or the receiving side shown in FIG. The data is transmitted (transmitted) to the VLD device 20 and MPEG decoding is started. Regarding the processing after the VLD unit 20, for example, the configuration example of the decoding shown in FIG. 3 can be used, and the description thereof will be omitted.
【0020】もし不正な鍵で暗号を復号した場合、スタ
ートコードが入力されない。従ってスタートコード検出
器19ではいつまでもスタートコードを検出できないの
で、そこで、再生開始信号15が検出時間測定器17に
到来してから所定の時間、例えば、経過時間が5秒にな
っても、スタートコード検出器19においてスタートコ
ードを検出できなかった場合、検出時間測定器17は不
正鍵使用表示信号発生器21へ所定のスタートコード未
検出信号を送り、不正鍵使用表示信号発生器21はスタ
ートコード未検出信号を受けた場合に不正な鍵が使用さ
れたと解釈し、不正鍵使用表示信号16を発生し、不正
鍵使用表示信号16は図1に示したコンテンツ表示装置
14に供給され、所定のユーザーインターフェースを用
いて、例えば、ユーザーに画像もしくは音声、もしくは
その組み合わせで、正しいコンテンツデータが復号でき
なかった旨の報知(表示)が行われる。If the encryption is decrypted with an unauthorized key, no start code is input. Therefore, the start code cannot be detected by the start code detector forever. Therefore, even if a predetermined time, for example, 5 seconds has elapsed since the reproduction start signal 15 arrived at the detection time measuring device 17, the start code is not detected. If the start code cannot be detected by the detector 19, the detection time measuring device 17 sends a predetermined start code non-detection signal to the unauthorized key use display signal generator 21. When the detection signal is received, it is interpreted that an unauthorized key has been used, and an unauthorized key use display signal 16 is generated. The unauthorized key use display signal 16 is supplied to the content display device 14 shown in FIG. Using the interface, for example, the user can obtain the correct content data in the form of images or sound, or a combination thereof. Notification to the effect that could not issue (display) is performed.
【0021】次に第5図を用いて、所定の数だけエラー
コンシールメントが連続して行われたかどうか、を測定
してその結果に応じて不正鍵が使用されたと判断する場
合について説明をする。Next, a case will be described with reference to FIG. 5 in which it is determined whether or not a predetermined number of error concealments have been continuously performed, and it is determined that an unauthorized key has been used in accordance with the result. .
【0022】コンシールメントとは、例えばデータにエ
ラーが生じ、VLD器20において、VLCコードとして解け
ないビットパターンが生じたとき、そのまま、復号する
と何らかの画像の乱れが生じるのを防ぐために、正常に
出力されたひとつ前のビデオフレームをそのまま使用し
て表示し、乱れた画面をユーザーに見せないようにする
機能である。The concealment means that, for example, when an error occurs in the data and a bit pattern that cannot be solved as a VLC code occurs in the VLD unit 20, if it is decoded as it is, in order to prevent any image disturbance from occurring, the output is normally performed. This is a function that uses the previous video frame as it is and displays it, so that the user does not see the distorted screen.
【0023】ユーザーが再生を開始すると再生開始信号
15がコンテンツ表示装置14から入力される。この信
号は図5のコンシールメント回数測定器27に入力さ
れ、回数が0にリセットされる。その後、符号化データ
18が入力され、VLD器20でハフマン符号が解けなか
った場合、コンシールメントがかかる。もし不正な鍵で
暗号を復号した場合、MPEGでは発生しないパターンが入
力されることになるのでVLD器20でハフマン符号が解
けなくなる。真正な鍵で復号された符号化データ18を
復号する場合にエラーなどでコンシールメントがかかる
のはせいぜい1回から数回なので、コンシールメント回
数検出器27では、例えば、10回以上、コンシールメ
ントがかかるような場合、不正鍵使用表示信号発生器2
7で不正な鍵が使用されたと解釈し、不正鍵使用表示信
号16を発生発生し、不正鍵使用表示信号16は図1に
示したコンテンツ表示装置14に供給され、ユーザーに
画像もしくは音声、もしくは所定のユーザーインターフ
ェースを用いて、正しいコンテンツデータが復号できな
かった旨の報知(表示)が行われる。When the user starts reproduction, a reproduction start signal 15 is input from the content display device 14. This signal is input to the concealment frequency measuring device 27 in FIG. 5, and the frequency is reset to zero. Thereafter, when the encoded data 18 is input and the Huffman code cannot be decoded by the VLD unit 20, concealment is performed. If the encryption is decrypted with an incorrect key, a pattern that does not occur in MPEG is input, so that the Huffman code cannot be decrypted by the VLD device 20. When the encoded data 18 decoded with the genuine key is decoded, concealment due to an error or the like is performed at most once or several times. Therefore, the concealment number detector 27 sets the concealment to 10 or more times, for example. In such a case, the unauthorized key use indication signal generator 2
7, it is interpreted that an unauthorized key has been used, and an unauthorized key use display signal 16 is generated. The unauthorized key use display signal 16 is supplied to the content display device 14 shown in FIG. Using a predetermined user interface, notification (display) that correct content data could not be decrypted is performed.
【0024】再生を開始してから所定の期間(時間)内
に発生するコンシールメントの回数があらかじめ定めら
れた値以下である場合には、図1に示した再生側または
受信側の復号装置11に入力された暗号化されたコンテ
ンツ信号が正当な鍵によって復号されたと解釈し、符号
化データ18がVLD器20に送信(伝送)され、MPEG復
号が開始される。VLD器20以降の処理については、例
えば、図3に示した復号化の構成例を用いることができ
るので、その説明を省略する。If the number of concealments occurring within a predetermined period (time) from the start of reproduction is equal to or less than a predetermined value, the reproduction side or reception side decoding device 11 shown in FIG. , The encoded data 18 is transmitted (transmitted) to the VLD device 20, and MPEG decoding is started. Regarding the processing after the VLD unit 20, for example, the configuration example of the decoding shown in FIG. 3 can be used, and the description thereof will be omitted.
【0025】上述したように本発明では、コンテンツが
所定の圧縮方式で符号化されていて、そのコンテンツが
暗号化されている場合において、不正な鍵で復号した場
合、多くの再生装置では、長期間再生画像や音声が再生
できなかったり、できたとしても多くの圧縮復号失敗を
原因としたブロック上のノイズが発生したりすることを
防ぎ、ユーザーに間違えた鍵が使われていることをすば
やく伝えるシステムを構築することができる。As described above, according to the present invention, when a content is encoded by a predetermined compression method, and the content is encrypted, if the content is decrypted by an unauthorized key, many playback devices use a long format. Prevents the playback of images and sounds during the period, and prevents noise on the block caused by many compression / decoding failures even if done, and allows the user to quickly confirm that the wrong key is being used. A communication system can be built.
【0026】[0026]
【発明の効果】以上のように、本発明により、再生開始
からスタートコード検出する時間をカウントする、もし
くはエラーコンシールメントの回数をカウントして、そ
の結果をユーザーにすぐ知らせることができるので、不
正な鍵で復号した場合、再生装置において、しばらくの
間、再生画像や音声が再生できなかったり、できたとし
ても多くの圧縮復号失敗を原因としたブロック上のノイ
ズが発生したりすることを防ぎ、ユーザーに間違えた鍵
が使われていることをすばやく伝えるシステムを構築す
ることができる。As described above, according to the present invention, the time required to detect the start code from the start of reproduction or the number of error concealments can be counted, and the result can be immediately notified to the user. In the case of decryption with a simple key, the playback device prevents playback images and sounds from being unable to be played back for a while, and prevents the occurrence of noise on blocks caused by many compression / decoding failures even if possible. , You can build a system that quickly informs the user that the wrong key is being used.
【図1】図1は本発明の実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.
【図2】図2はMPEG符号化器のブロック図である。FIG. 2 is a block diagram of an MPEG encoder.
【図3】図3はMPEG復号化器のブロック図である。FIG. 3 is a block diagram of an MPEG decoder.
【図4】図4は本発明の実施例の復号器の一例を示すブ
ロック図である。FIG. 4 is a block diagram showing an example of a decoder according to the embodiment of the present invention.
【図5】図5は本発明の実施例の復号器の他の例を示す
ブロック図である。FIG. 5 is a block diagram showing another example of the decoder according to the embodiment of the present invention.
【図6】MPEGビデオシンタックス全体を示す図である。FIG. 6 is a diagram showing the entire MPEG video syntax.
【図7】MPEG2ビデオSequence headerを示す図である。FIG. 7 is a diagram showing an MPEG2 video Sequence header.
1、13…コンテンツ情報、 2…MPEG符号化器、 3…暗号化、 4、8…第1の鍵のもとになる情報、 5、9…一方向性関数、 6、10…鍵、 7…暗号化されたコンテンツ情報、 11…復号化装置、 12…MPEG復号化器、 14…コンテンツ表示装置、 15…再生開始信号、 16…不正再生鍵使用表示信号、 17…検出時間測定器、 18…符号化データ、 19…スタートコード検出器、 20…VLD器、 21…不正鍵使用表示信号発生器、 22…逆量子化器、 23…逆DCT器 24…動き補償予測器、 25…加算器、 26…画像メモリ、 27…コンシールメント回数測定器、 1, 13 content information, 2 MPEG encoder, 3 encryption, 4, 8 information for the first key, 5, 9 one-way function, 6, 10 key, 7 ... Encrypted content information, 11 ... Decoding device, 12 ... MPEG decoder, 14 ... Content display device, 15 ... Reproduction start signal, 16 ... Illegal reproduction key use display signal, 17 ... Detection time measuring device, 18 Coded data 19 Start code detector 20 VLD device 21 Incorrect key use indication signal generator 22 Inverse quantizer 23 Inverse DCT device 24 Motion compensated predictor 25 Adder 26, image memory 27: concealment frequency measuring device
───────────────────────────────────────────────────── フロントページの続き (72)発明者 上田 健二朗 神奈川県横浜市神奈川区守屋町3丁目12番 地 日本ビクター株式会社内 Fターム(参考) 5B017 AA03 BA07 BB09 CA16 5C059 KK43 MA00 MA02 MA05 MA14 MA23 MC15 ME01 NN15 NN21 PP05 PP06 PP07 RC01 RF01 SS06 SS11 UA02 UA05 5J104 AA06 AA41 NA02 NA11 ────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Kenjiro Ueda 3-12-12 Moriyacho, Kanagawa-ku, Yokohama-shi, Kanagawa Japan F Co., Ltd. F-term (reference) 5B017 AA03 BA07 BB09 CA16 5C059 KK43 MA00 MA02 MA05 MA14 MA23 MC15 ME01 NN15 NN21 PP05 PP06 PP07 RC01 RF01 SS06 SS11 UA02 UA05 5J104 AA06 AA41 NA02 NA11
Claims (4)
コンテンツ情報が伝送され、これを復号化するコンテン
ツ情報復号化方法において、 前記コンテンツ情報の復号開始からあらかじめ設定され
た期間内に、コンテンツ情報が正しく復号できなかった
場合、所定のユーザーインターフェースを用いて、コン
テンツ情報が正しく復号できなかった旨を報知するとと
もに、コンテンツ情報の復号を停止することを特徴とす
るコンテンツ情報復号化方法。1. A content information decoding method for transmitting encoded content information encrypted with a predetermined content key and decoding the encoded content information, wherein the content information is transmitted within a predetermined period from the start of the decoding of the content information. A content information decoding method characterized by notifying that content information was not correctly decoded using a predetermined user interface and stopping decoding of the content information when the information was not correctly decoded.
法において、復号開始からあらかじめ設定された期間内
に、復号開始点を定義するスタートコードが検出された
際に前記コンテンツ情報が正しく復号されたと判定する
ことを特徴とするコンテンツ情報復号化方法。2. A content information decoding method according to claim 1, wherein said content information is correctly decoded when a start code defining a decoding start point is detected within a preset period from the start of decoding. A content information decoding method, characterized in that it is determined that
法において、復号開始からあらかじめ設定された期間内
に、エラーコンシールメントの実行が所定の回数を越え
ない場合にコンテンツ情報が正しく復号されたと判定す
ることを特徴とするコンテンツ情報復号化方法。3. The content information decoding method according to claim 1, wherein when the execution of the error concealment does not exceed a predetermined number of times within a preset period from the start of the decoding, the content information is correctly decoded. A content information decoding method characterized by determining.
コンテンツ情報を伝送する際に使用されるメディアであ
って、 前記コンテンツ情報および前記コンテンツ情報の復号化
開始点を定義するMPEGスタートコードを符号化し、
さらに前記所定のコンテンツ鍵で暗号化して格納してい
ることを特徴とするメディア。4. A medium used for transmitting coded content information encrypted with a predetermined content key, wherein the content information and an MPEG start code defining a decoding start point of the content information are stored in a medium. Encoding,
A medium characterized by being stored by being encrypted with the predetermined content key.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000008705A JP2001203652A (en) | 2000-01-18 | 2000-01-18 | Contents information decoding method and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000008705A JP2001203652A (en) | 2000-01-18 | 2000-01-18 | Contents information decoding method and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2001203652A true JP2001203652A (en) | 2001-07-27 |
Family
ID=18536931
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2000008705A Pending JP2001203652A (en) | 2000-01-18 | 2000-01-18 | Contents information decoding method and medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2001203652A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7327710B2 (en) * | 2003-05-20 | 2008-02-05 | Nec Corporation | Transport format adjusting unit of CDMA receiver |
-
2000
- 2000-01-18 JP JP2000008705A patent/JP2001203652A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7327710B2 (en) * | 2003-05-20 | 2008-02-05 | Nec Corporation | Transport format adjusting unit of CDMA receiver |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6310962B1 (en) | MPEG2 moving picture encoding/decoding system | |
US6810131B2 (en) | Information processing method and apparatus | |
JP3902536B2 (en) | Variable length data encoding method and variable length data encoding apparatus | |
US5991403A (en) | Recoverable cryptographic transformation on YUV data suitable for compressions | |
US6519341B1 (en) | Method and apparatus for outputting a high definition image | |
KR100205701B1 (en) | Transmitter receiver communication processing system integrating ther and digital television broadcasting system | |
NO342829B1 (en) | COMPUTER-READY STORAGE MEDIUM AND APPARATUS FOR CODING A MULTIPLE VIDEO IMAGE USING A SEQUENCE VALUE | |
JP2001292451A (en) | Moving picture signal compression device and method | |
JP2004312671A (en) | Multimedia data encryption and compression method and apparatus | |
JPH08163533A (en) | METHOD AND DEVICE FOR ENCRYPTING MOVING IMAGE AND METHOD AND DEVICE FOR DECODING ENCRYPTED MOVING IMAGE | |
US5739862A (en) | Reverse playback of MPEG video | |
KR20050076019A (en) | Method for adaptively encoding and/or decoding scalable encoded bitstream, and recording medium storing a program to implement the method | |
JP2001258004A (en) | Image coder and image decoder and its method | |
JP3340157B2 (en) | Scramble device | |
JP3982397B2 (en) | Program for decoding variable length encoded data and program for receiving variable length encoded data | |
AU2016202077B2 (en) | Method and apparatus for variable accuracy inter-picture timing specification for digital video encoding | |
JP2001203652A (en) | Contents information decoding method and medium | |
JP3952939B2 (en) | Variable length encoded data receiving method and variable length encoded data receiving apparatus | |
KR100764246B1 (en) | Method for encryption and decryption video and Apparatus thereof | |
US6345120B1 (en) | Image processing system, image data transmission and reception apparatus, and image processing method | |
JP3843938B2 (en) | Variable length data encoding program and variable length encoded data transmission program | |
JPH0654325A (en) | Picture encipherment transmitting system | |
JP4018305B2 (en) | Image processing method and apparatus and storage medium | |
JP3843937B2 (en) | Variable length encoded data transmission method and variable length encoded data transmission apparatus | |
JP4018235B2 (en) | Image transmission system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040423 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040622 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040806 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20050105 |