JPH0548672B2 - - Google Patents

Info

Publication number
JPH0548672B2
JPH0548672B2 JP84273684A JP27368484A JPH0548672B2 JP H0548672 B2 JPH0548672 B2 JP H0548672B2 JP 84273684 A JP84273684 A JP 84273684A JP 27368484 A JP27368484 A JP 27368484A JP H0548672 B2 JPH0548672 B2 JP H0548672B2
Authority
JP
Japan
Prior art keywords
data
key data
key
descrambling
circuit
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.)
Expired - Lifetime
Application number
JP84273684A
Other languages
Japanese (ja)
Other versions
JPS61154389A (en
Inventor
Toshiro Ishikawa
Shinichi Nakamura
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.)
Toshiba Corp
Original Assignee
Tokyo Shibaura Electric 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 Tokyo Shibaura Electric Co Ltd filed Critical Tokyo Shibaura Electric Co Ltd
Priority to JP59273684A priority Critical patent/JPS61154389A/en
Publication of JPS61154389A publication Critical patent/JPS61154389A/en
Publication of JPH0548672B2 publication Critical patent/JPH0548672B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明は、暗号化データ受信装置に係り、特
に暗号化データを解く為の鍵情報が受信できない
場合に、デイスクランブル動作を停止する暗号化
データ受信装置に関する。
[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) The present invention relates to an encrypted data receiving device, and particularly relates to a descramble operation when key information for decrypting encrypted data cannot be received. The present invention relates to an encrypted data receiving device that stops.

(従来の技術) 近年、新放送メデイアの発達にともない、テレ
キテスト、静止画放送、高品位テレビジヨン放
送、デジタル信号による多チヤンネル放送が可能
となつてきている。このような放送メデイアの高
度化により放送番組の伝送種類も多岐にわたつて
きている。
(Prior Art) In recent years, with the development of new broadcast media, it has become possible to perform telephony tests, still image broadcasts, high-definition television broadcasts, and multi-channel broadcasts using digital signals. With the advancement of such broadcast media, the types of transmission of broadcast programs are becoming more diverse.

そして、放送側においては特定番組に対して課
金を行ない放送局側と契約を行つた特定の加入者
以外の加入者に対しては伝送信号に対して撹拌を
与え、いわゆるスクランブルを行い視聴を阻止
し、契約加入者に対してはこのスクランブルを解
除することによつて視聴を可能にする有料放送が
有料番組に対して行われる。
Then, on the broadcasting side, charges are made for specific programs, and the transmission signal is agitated, so-called scrambling, to prevent viewers other than the specific subscribers who have signed a contract with the broadcasting station from viewing the program. However, paid broadcasting is performed for contract subscribers, which allows them to view the programs by canceling the scrambling.

この場合、このような有料放送は例えば第2図
のようなシステムをもつて構成される。第2図に
おいて、有料放送の対象となる信号は送出側10
0の入力端子INに加えられる。この入力端子IN
は排他的論理和で構成されるスクランブラ10の
一方入力端に接続され、このスクランブラ10の
他方入力端には乱数発生器20で発生する乱数が
加えられ、上記入力端子IN加えられた音声、或
は映像等のデータがスクランブル化されて、この
スクランブラ10の出力にスクランブルされた信
号を得る。
In this case, such pay broadcasting is configured with a system as shown in FIG. 2, for example. In Figure 2, the signal targeted for pay broadcasting is transmitted from the transmitting side 10.
0 input terminal IN. This input terminal IN
is connected to one input terminal of a scrambler 10 composed of an exclusive OR, and a random number generated by a random number generator 20 is added to the other input terminal of this scrambler 10, and the input terminal IN is connected to one input terminal of the scrambler 10. , or data such as video is scrambled to obtain a scrambled signal as the output of the scrambler 10.

上記乱数発生器20は、送信側100の鍵デー
タKiを初期値として所定のシーケンスにより上
記伝送データをスクランブルするための乱数を発
生する。このように上記スクランブルされ暗号化
されたデータを平文化するには、デイスクランブ
ルするための何らかの情報を受信側200に伝送
する必要がある。スクランブルされたデータを平
文化するためのデイスクランブル動作に必要な情
報は、伝送データの秘匿性を維持するため、例え
ば上記鍵データKiをそのまま送らず、パスワー
ドPiとの関係において求めた形でのデータEi=fi
(Ki,Pi)の形で伝送する。
The random number generator 20 generates random numbers for scrambling the transmission data according to a predetermined sequence using the key data Ki of the transmitting side 100 as an initial value. In order to decrypt the scrambled and encrypted data in this way, it is necessary to transmit some information for descrambling to the receiving side 200. In order to maintain the confidentiality of the transmitted data, the information necessary for the descrambling operation to decrypt the scrambled data is not sent as is, but in the form determined in relation to the password Pi. Data Ei=fi
It is transmitted in the form of (Ki, Pi).

また、伝送データは、常に有料番組データとは
限らず、送信側100でスクランブル動作によつ
て暗号化する必要がない場合もある。この場合
は、上記乱数発生器20の動作を停止させて上記
スクランブラ10の他方入力端を“0”の状態と
するとともに、例えばスクランブルしているか否
かを示すデータFiを受信側200に送出する。こ
のデータFi及び暗号化された鍵Eiは合成器30を
介して多重化回路40で上記スクランブルされた
データに多重化され受信側200へ送出される。
Further, the transmitted data is not always paid program data, and there are cases where it is not necessary to encrypt it by a scrambling operation on the transmitting side 100. In this case, the operation of the random number generator 20 is stopped, the other input terminal of the scrambler 10 is set to "0", and data Fi indicating whether or not scrambling is being performed is sent to the receiving side 200. do. This data Fi and the encrypted key Ei are multiplexed with the scrambled data by a multiplexing circuit 40 via a synthesizer 30 and sent to the receiving side 200.

一方、受信側200においては、分離回路21
0でスクランブルされたデータとデイスクランブ
ルするためのデータに分離される。分離回路21
0で分離されたスクランブルされた受信データは
平文化を行うためのデイスクランブラ220の一
方入力端に加えられ、このデイスクランブラ22
0の他方入力端にはデイスクランブル動作をする
ための乱数発生器230の出力端が接続される。
この乱数発生器230は、例えば送信側100の
乱数発生器20と同じシーケンスで乱数を発生す
るので受信側、200乱数発生器230において
も、送信側100における乱数発生器20に対す
る初期値と同じ初期値を与える必要がある。この
場合、受信側における上記乱数発生器230の初
期値はEi=fi(Ki,Pi)として送信側から送られ
た暗号化された鍵EiとパスワードPiからKiを
CPU240を用いて合成することで得る。
On the other hand, on the receiving side 200, the separation circuit 21
The data is separated into 0-scrambled data and data to be descrambled. Separation circuit 21
The scrambled received data separated by 0 is applied to one input terminal of a descrambler 220 for decrypting, and this descrambler 22
The output terminal of a random number generator 230 for performing a descrambling operation is connected to the other input terminal of 0.
Since this random number generator 230 generates random numbers in the same sequence as the random number generator 20 on the transmitting side 100, for example, the initial value on the receiving side, the 200 random number generator 230, is the same as the initial value for the random number generator 20 on the transmitting side 100. A value must be given. In this case, the initial value of the random number generator 230 on the receiving side is Ei = fi (Ki, Pi), which calculates Ki from the encrypted key Ei and password Pi sent from the sending side.
It is obtained by combining using the CPU 240.

即ち、鍵データ取り込み回路250で送信側1
00からのデータ分離するための同期タイミング
信号等を抽出し鍵データ分離回路260で送信側
100からの鍵データEi,Fiを分離する。分離さ
れた鍵データは一旦、鍵データ書き込みバツフア
270を介してRAM280に書き込まれる。こ
のRAM280に書き込まれた鍵データEi,Fiを
参照してデータFiにより伝送されたデータがスク
ランブルされた信号であることが判別されると、
CPU240はROM290に記憶されているパス
ワードPiを読み出すとともに、RAM280から
デーEiを読み出し、平文化するためのデータKi
を鍵再生回路300にKi=g(Pi,Ei)として生
成する。このときデータFiによつてスクランブル
信号でないことが示された場合には、デイスクラ
ンブル動作を停止するが、データFiが取り込まれ
ないときにはデイスクランブル動作を停止すべき
であるにも拘らず停止できない。
That is, the key data acquisition circuit 250
The key data separating circuit 260 extracts a synchronization timing signal and the like for separating data from 00, and separates key data Ei and Fi from the transmitting side 100 in a key data separating circuit 260. The separated key data is once written to the RAM 280 via the key data write buffer 270. When it is determined that the data transmitted by data Fi is a scrambled signal by referring to the key data Ei and Fi written in this RAM 280,
The CPU 240 reads the password Pi stored in the ROM 290, and also reads the data Ei from the RAM 280 and converts it into plain text.
is generated in the key regeneration circuit 300 as Ki=g(Pi, Ei). At this time, if the data Fi indicates that the signal is not a scrambled signal, the descrambling operation is stopped, but when the data Fi is not captured, the descrambling operation cannot be stopped even though it should be stopped.

そして、このデータKiによつて上記乱数発生
器230の初期値がスクランブル時のそれと同じ
に設定され上記デイスクランブラ220によつて
データが平文化される。
Then, using this data Ki, the initial value of the random number generator 230 is set to be the same as that at the time of scrambling, and the data is decrypted by the descrambler 220.

第3図は、送信側100から伝送されるデータ
のフオーマツト例を示す信号フオーマツト図であ
り、同図aは、有料放送信号送出時のデータフオ
ーマツトを示し、各データパケツトのヘツダ
(Header)部Hiには同期をとるためのビツトが
割当てられている。受信側200では、このヘツ
ダ部が検出されると鍵データの取り込みが開始さ
れる。この鍵データの次にはスクランブルされた
データか否かを示すフラツグFiが送られる。この
とき、例えば5ビツトの全てが“1”のときはデ
ータが暗号化されていることを示し、全てのビツ
トが“0”のときにはデータは暗号化されていな
いことを示す。なお、受信側200では、伝送系
の雑音によつて誤つた識別をしないよう、上記5
ビツト中、3ビツト以上“1”があれば“1”と
判断してスクランブルによりデータは暗号化され
ていると識別する。
FIG. 3 is a signal format diagram showing an example of the format of data transmitted from the transmitting side 100. FIG. Bits for synchronization are assigned to . On the receiving side 200, when this header section is detected, importing of the key data is started. Next to this key data, a flag Fi indicating whether the data is scrambled or not is sent. At this time, for example, when all 5 bits are "1", it indicates that the data is encrypted, and when all the bits are "0", it indicates that the data is not encrypted. Note that on the receiving side 200, the above 5.
If three or more bits are "1" among the bits, it is determined to be "1" and the data is identified as being encrypted by scrambling.

また、上記フラツクFiの次には、デイスクラン
ブルするための鍵情報Ki、及びEiが送られその
後にデータが送られる。
Furthermore, after the above-mentioned flak Fi, key information Ki and Ei for descrambling are sent, and then data is sent.

同図bは、有料放送ではなくデータがスクラン
ブルされずに伝送される場合のデータブオーマツ
トを示し、ヘツダ部Hi、フラツグFiの次にデー
タが伝送される。
Figure b shows a data format in which data is transmitted without being scrambled, rather than pay broadcasting, and the data is transmitted after the header section Hi and the flag Fi.

(発明が解決しようとする課題) しかしながら、このようなデータフオーマツト
で有料放送データ伝送が行われている場合、鍵情
報が伝送歪等の何等かの原因で受信側200に取
り込まれないと、該当するデータパケツトの平文
化は正常になされず、当該パケツトのデイスクラ
ンブルされたデータは得られない。この場合受信
側200ではデイスクランブラ220に与えられ
る乱数は送信側100のそれと一致せず鍵データ
は得られないにも拘らず以前の鍵データで復調す
るので、正しいデータの復調は行なわれない。こ
のような問題が有料放送データ復調時に発生する
が、放送形態が、有料放送から無料放送に変わる
場合に、更に新たな問題が発生する。即ち、有料
放送から無料放送にかわるときに、最終の有料放
送パケツトの鍵のデータが復調できないと、デイ
スクランブラには以前の鍵データにもとづく乱数
を発生してデイスクランブル動作を不要に継続し
無料放送データが到来した後においてもデイスク
ランブル動作を行う。いいかえると、デイスクラ
ンブル動作が不必要に継続することで、スクラン
ブルされていないデータに対する復調動作が阻害
される問題がある。また、伝送データがスクラン
ブルされた信号であるか否かを示すデータFiの識
別誤まりが発生したときスクランブル動作を停止
できず誤まつたデイスクランブル動作を行う場合
がある。
(Problem to be Solved by the Invention) However, when pay broadcast data is transmitted in such a data format, if the key information is not captured by the receiving side 200 due to some reason such as transmission distortion, The decryption of the relevant data packet is not performed normally, and the descrambled data of the relevant packet cannot be obtained. In this case, on the receiving side 200, the random number given to the descrambler 220 does not match that on the sending side 100, and even though no key data is obtained, demodulation is performed using the previous key data, so correct data is not demodulated. Such a problem occurs when demodulating pay broadcast data, but a new problem occurs when the broadcast format changes from pay broadcast to free broadcast. In other words, if the key data of the final pay broadcast packet cannot be demodulated when changing from pay broadcast to free broadcast, the descrambler generates a random number based on the previous key data and continues the descramble operation unnecessarily. Descramble operation is performed even after broadcast data arrives. In other words, if the descramble operation continues unnecessarily, there is a problem in that the demodulation operation for unscrambled data is inhibited. Further, when an error occurs in identifying data Fi indicating whether or not transmitted data is a scrambled signal, the scrambling operation may not be stopped and an erroneous descrambling operation may be performed.

この発明は、上記の点に鑑みてなされたもので
あり、鍵情報の欠落を検出した場合には、デイス
クランブル動作を受信側において停止せしめ、誤
まつたデイスクランブル動作による弊害を防止し
た暗号化データ受信装置を提供することを目的と
する。
This invention has been made in view of the above points, and provides an encryption system that prevents the damage caused by erroneous descrambling by stopping the descrambling operation on the receiving side when missing key information is detected. The purpose of the present invention is to provide a data receiving device.

[発明の構成] (課題を解決するための手段) 本発明の係る暗号化データ受信装置は、鍵デー
タをもとにスクランブルされた暗号化データと、
スクランブルを解除するための鍵データを受信
し、前記鍵データに呼応して前記スクランブルを
解除するための信号をデイスクランブラに入力す
ることによつてデイスクランブルを行う暗号化デ
ータ受信装置おいて、前記鍵データを取込む鍵デ
ータ取り込み回路と、この鍵データ取り込み回路
に前記鍵データが取込まれなかつたことを判別
し、前記スクランブルを解除するための信号を前
記デイスクランブラに供給するのを停止するデイ
スクランブル動作停止手段とを具備し、前記鍵デ
ータが受信されない場合にあつては、前記デイス
クランブル動作を停止することを特徴とする。
[Structure of the Invention] (Means for Solving the Problems) An encrypted data receiving device according to the present invention receives encrypted data scrambled based on key data, and
The encrypted data receiving device receives key data for descrambling, and performs descrambling by inputting a signal for descrambling the scrambling to a descrambler in response to the key data, the encrypted data receiving device comprising: a key data capture circuit that captures key data; and a key data capture circuit that determines that the key data has not been captured, and stops supplying the descrambler with a signal to descramble the scrambler. and descrambling operation stopping means, and the descrambling operation is stopped when the key data is not received.

(作用) 本発明においては、スクランブルされた伝送デ
ータとスクランブルを解除するための鍵データと
を受信する。デイスクランブラは、鍵データに呼
応したスクランブルを解除するための信号が入力
されて、スクランブルを解除する。デイスクラン
ブル動作停止手段は、鍵データ取り込み回路によ
つて鍵データが取り込まれない場合には、鍵デー
タに呼応したスクランブルを解除するための信号
のデイスクランブラへと供給を停止させる。これ
により、デイスクランブルの誤動作が継続するこ
とが防止される。
(Operation) In the present invention, scrambled transmission data and key data for descrambling are received. The descrambler receives a signal for descrambling corresponding to the key data and descrambles it. The descramble operation stopping means stops supplying a signal for descrambling corresponding to the key data to the descrambler when the key data is not captured by the key data capture circuit. This prevents descrambling from continuing to malfunction.

(実施例) 以下、図面を参照して本発明の実施例について
説明する。第1図は本発明に係る暗号化データ受
信装置の一実施例を示す回路図である。また、第
4図は本発明に係る暗号化データ受信装置の具体
的な構成を示す回路図であり、第2図に示した回
路図に対応する機能を有する部分については同一
符号を付しその説明を省略する。
(Example) Hereinafter, an example of the present invention will be described with reference to the drawings. FIG. 1 is a circuit diagram showing an embodiment of an encrypted data receiving device according to the present invention. FIG. 4 is a circuit diagram showing a specific configuration of the encrypted data receiving device according to the present invention, and parts having functions corresponding to those in the circuit diagram shown in FIG. 2 are designated by the same reference numerals. The explanation will be omitted.

第1図及び第4図に示した実施例は、雑音等の
伝送系の異常、或は当受信側における異常等によ
り結果的に、デイスクランブルするための鍵情報
が復調できなかつた場合、これを検出してデイス
クランブラの動作を停止させることで誤まつたデ
イスクランブル動作による影響を防止する。
The embodiments shown in FIG. 1 and FIG. By detecting this and stopping the operation of the descrambler, the influence of an erroneous descrambler operation can be prevented.

このように伝送された鍵データに対して適正な
データ復調がなされない場合には、デイスクラン
ブル動作を停止することが、後続データに対する
誤つたデータ復調を防止する上で必要とされる。
このことは前述したように有料放送形態で伝送デ
ータ対してデイスクランブル動作のための鍵がデ
ータパケツト毎に付される場合はもとより、デー
タパケツト中に鍵データが付されていない無料放
送と有料放送が時間帯により切換わるような放送
システムではとりわけ必要とされる。また、スク
ランブルの有無の識別データFiが得られない場合
には確実にスクランブル動作の停止を行う必要が
ある。
If proper data demodulation is not performed on the key data transmitted in this manner, it is necessary to stop the descrambling operation in order to prevent erroneous data demodulation of subsequent data.
As mentioned above, this is true not only in the case where a key for descrambling operation is attached to each data packet in the form of paid broadcasting, but also in the case of free broadcasting and paid broadcasting in which no key data is attached in the data packet. This is especially needed in broadcasting systems that change depending on the band. Furthermore, if the identification data Fi indicating the presence or absence of scrambling cannot be obtained, it is necessary to reliably stop the scrambling operation.

第3図中、第3図aで示す有料放送形態から第
3図bに示す有料でない放送形態に伝送データの
形態が移行するとき、有料形態で伝送される最終
データパケツトに対して鍵が得られない場合は以
前に送られた有料データパケツトの鍵でデイスク
ランブル動作を継続することになり、不要なデイ
スクランブル動作が継続する。この不要なデイス
クランブル動作による弊害は、デイスクランブル
のための鍵が得られないにも拘らずデイスクラン
ブル動作が継続することに起因する。更にはスク
ランブル信号を伝送しているか否かを示す識別デ
ータが得られない場合には、デイスクランブル動
作を停止させる機能を充足する必要がある。
In FIG. 3, when the format of the transmitted data shifts from the pay broadcast format shown in FIG. 3a to the non-pay broadcast format shown in FIG. 3b, a key is obtained for the final data packet transmitted in the pay format. If there is no descramble operation, the descramble operation will continue using the key of the previously sent paid data packet, and the unnecessary descramble operation will continue. The disadvantage of this unnecessary descrambling operation is that the descrambling operation continues even though the key for descrambling cannot be obtained. Furthermore, if identification data indicating whether or not a scrambled signal is being transmitted cannot be obtained, it is necessary to provide a function to stop the descrambling operation.

この問題に対処するため、第4図に示した実施
例では乱数発生器230と排他的論理和回路で構
成されるデイスクランブラ220との間にデイス
クランブル動作停止手段310を介在させる。こ
のデイスクランブル動作停止手段310は、鍵デ
ータ検出手段311を有し、ここで鍵データが得
られないことを検出した場合にはその出力を
“0”の状態としてアンド回路312を閉じる。
このため乱数発生器230の出力はデイスクラン
ブラ220に加わらず、鍵データが得られない場
合、デイスクランブル動作は停止される。上記鍵
データ検出手段311は例えばカウンタで構成
し、所定時間内に鍵データが得られない場合には
アンド回路312を閉じ、乱数発生器230から
の乱数が上記デイスクランブラ220に供給され
るのを阻止してデイスクランブル動作を停止す
る。
To deal with this problem, in the embodiment shown in FIG. 4, a descramble operation stopping means 310 is interposed between the random number generator 230 and the descrambler 220 constituted by an exclusive OR circuit. The descramble operation stopping means 310 has a key data detecting means 311, and when it is detected that the key data cannot be obtained, the output thereof is set to "0" and the AND circuit 312 is closed.
Therefore, the output of the random number generator 230 is not applied to the descrambler 220, and if key data is not obtained, the descramble operation is stopped. The key data detection means 311 is composed of a counter, for example, and closes the AND circuit 312 when the key data is not obtained within a predetermined time, and prevents the random number from the random number generator 230 from being supplied to the descrambler 220. to stop the descramble operation.

第5図は上記デイスクランブル動作停止手段3
10の回路構成例を示す回路図であり、鍵データ
検出手段311は3段の4ビツト同期ロード形カ
ウンタC1,C2,C3で構成される。鍵データ
取り込み回路250からデータ取り込みパルス
(負パルス)が印加されると、前記カウンタは
“3328”がセツトされる。この場合において上記
カウンタ群はロウアクテイブで動作する。この時
点でカウンタはクロツクの計数を開始し、その数
が“1023”になつた状態で上記鍵データ取り込み
回路250から負パルスが得られないと、カウン
タは“1023”になつた状態で計数を停止し、キヤ
リイフラツグ端子CYに“0”のフラツグを出力
する。このフラツグはアンド回路316を介して
アンド回路312に加えられ、このアンド回路3
12は乱数発生器230で発生した乱数をデイス
クランブラ220に供給するのを停止してデイス
クランブル動作は行なわない。
FIG. 5 shows the descramble operation stopping means 3.
10 is a circuit diagram showing an example of the circuit configuration of No. 10, in which the key data detection means 311 is composed of three stages of 4-bit synchronous load type counters C1, C2, and C3. When a data acquisition pulse (negative pulse) is applied from the key data acquisition circuit 250, the counter is set to "3328". In this case, the counter group operates in a low active state. At this point, the counter starts counting the clocks, and if a negative pulse is not obtained from the key data acquisition circuit 250 when the number reaches "1023", the counter starts counting when the number reaches "1023". Stops and outputs a flag of “0” to the carry flag terminal CY. This flag is applied to AND circuit 312 via AND circuit 316, and
12 stops supplying the random number generated by the random number generator 230 to the descrambler 220, and does not perform a descramble operation.

そして、次に上記鍵データ取り込み回路250
に鍵データが取り込まれ、上記鍵データ取り込み
回路250から負パルスが上記デイスクランブル
停止手段310に加えられるまで上記スクランブ
ルを解くデイスクランブル動作の停止は継続す
る。
Then, the key data import circuit 250
The descrambling operation continues until the key data is captured and a negative pulse is applied from the key data capture circuit 250 to the descramble stopping means 310.

このように、鍵データの取り込みがあつて、次
と鍵データが所定時間内に検出されないと、到来
する筈の鍵データが得られなかつたものと上記鍵
データ検出手段311で判別され、次に鍵データ
が到来したことが検出されるまで、デイスクラン
ブル動作は停止し続ける。
In this way, when key data is captured and the next key data is not detected within a predetermined time, the key data detecting means 311 determines that the key data that was supposed to arrive has not been obtained, and then The descrambling operation continues to stop until the arrival of key data is detected.

このため、上記第3図aに示した有料放送のデ
ータパケツトにおいて鍵データの到来が検出でき
ない場合には当該パケツトデータに対してはデイ
スクランブル動作を禁止し、次のデータパケツト
において鍵データが検出されるとその禁止を解除
する。更に第3図において、伝送データが有料放
送形態のデータ(第3図a)から、第3図bに示
す有料でないデータ伝送形態に移行した場合に、
有料放送データの最終データパケツトの鍵データ
が検出できないことにより次に伝送される有料で
ないデータバケツトに対し誤つたデイスクランブ
ル動作が続くことが防止される。
Therefore, if the arrival of key data cannot be detected in the data packet of pay broadcasting shown in FIG. Lift that ban. Furthermore, in FIG. 3, when the transmission data shifts from paid broadcast format data (FIG. 3 a) to a non-paid data transmission format shown in FIG. 3 b,
Since the key data of the final data packet of the pay broadcast data cannot be detected, it is possible to prevent the erroneous descrambling operation from continuing for the next transmitted non-pay data packet.

即ち、鍵データが検出できない場合にあつては
このことを検出し、確実にデイスクランブル動作
を禁止することで誤つたデイスクランブル動作に
よる弊害が防止される。またアンド回路316に
鍵データ分離回路260で分離されたスクランブ
ル信号されているか否かを識別するためのデータ
Fiが適切に入力されない場合にも、鍵データKi
が識別できない場合にも確実にスクンブル動作を
停止できる。
That is, if the key data cannot be detected, this is detected and the descrambling operation is reliably prohibited, thereby preventing harmful effects caused by an erroneous descrambling operation. Also, data for identifying whether or not the scrambled signal separated by the key data separation circuit 260 is sent to the AND circuit 316.
Even if Fi is not entered properly, the key data Ki
The scrambling operation can be reliably stopped even when the information cannot be identified.

第6図は、この発明に係る暗号化データ受信装
置の他の実施例を示す回路図であり、上記第5図
に示した実施例においてデイスクランブル動作停
止手段310に比較器を設けた点を異にする。
FIG. 6 is a circuit diagram showing another embodiment of the encrypted data receiving device according to the present invention, which differs from the embodiment shown in FIG. 5 in that a comparator is provided in the descramble operation stop means 310. Make it different.

第6図において、デイスクランブル動作停止手
段310は比較器313と鍵データ検出手段31
4より構成される。上記鍵データ検出手段314
はカウンタC10,C20,C30からなり、鍵
データ取り込み回路250で鍵データの検出にと
もない検出パルスとして負パルスが上記カウンタ
群に加えられるとリセツトされる。この後、アン
ド回路315に加えられたクロツクパルスはクロ
ツクパルスとしてカウンタに加えられ、カウンタ
はこのクロツクパルスの計測を開始する。このと
きカウンタC30の出力“Q0,Q1,Q2,Q
3”は比較器313の一方比較入力端子“A0,
A1,A2,A3”に加えられる。この比較器3
13の他方比較入力端子“B0,B1,B2,B
3”には所定の数が置数されている。この置数値
としては少なくとも鍵データの到来周期の時間よ
りも大きな値としてあり、この値になつもなお鍵
データの検出が得られない場合には抽出すべき鍵
データが得られなかつたか、或は鍵データが伝送
されていないものと判別する。即ち上記カウンタ
の計数がすすみ、比較器313の置数Bよりも上
記鍵データ検出手段314のカウンタの出力値B
が大きくなると、比較器313は、鍵データが到
来すべき期間に鍵データがなかつたことを示す異
常フラツグ“0”を出力する。この異常フラツグ
がアンド回路315に加えられ、上記カウントパ
ルスとしてのクロツクの取り込みとカウンタに対
して入力を禁止する。これとともに上記異常フラ
ツグ“0”はアンド回路316を介してアン回路
312に加えられ、デイスクランブラ220に平
文化のために乱数が乱数発生器230から加えら
れるのを禁止してデイスクランブル動作を停止す
る。
In FIG. 6, the descramble operation stopping means 310 includes a comparator 313 and a key data detecting means 31.
Consists of 4. The key data detection means 314
consists of counters C10, C20, and C30, and is reset when a negative pulse is added to the counter group as a detection pulse upon detection of key data by the key data acquisition circuit 250. Thereafter, the clock pulse applied to the AND circuit 315 is applied to the counter as a clock pulse, and the counter starts counting this clock pulse. At this time, the output of counter C30 “Q0, Q1, Q2, Q
3” is one comparison input terminal “A0,
A1, A2, A3''. This comparator 3
13 other comparison input terminal “B0, B1, B2, B
3" is set to a predetermined number. This set value is at least larger than the arrival period of the key data, and if the key data is still not detected even after reaching this value, It is determined that the key data to be extracted has not been obtained or the key data has not been transmitted.In other words, the count of the counter has progressed, and the value of the key data detecting means 314 is higher than the number B of the comparator 313. Counter output value B
When the value becomes large, the comparator 313 outputs an abnormality flag "0" indicating that there is no key data during the period when the key data should arrive. This abnormality flag is applied to the AND circuit 315, and prohibits the reception of the clock as the count pulse and input to the counter. At the same time, the abnormality flag "0" is applied to the uncircuit 312 via the AND circuit 316, prohibiting random numbers from being added from the random number generator 230 to the descrambler 220 for decryption, and stopping the descramble operation. do.

第7図は上記第4図乃至第6図に示すこの発明
に係る実施例に適用される乱数発生器230の一
例を示す回路図である。この例においても、スク
ランブルしているか否かを示す識別データが抽出
されない場合にはスクランブル動作を停止させる
ことができる。
FIG. 7 is a circuit diagram showing an example of a random number generator 230 applied to the embodiment of the present invention shown in FIGS. 4 to 6 above. Also in this example, if identification data indicating whether or not scrambling is being extracted is not extracted, the scrambling operation can be stopped.

第7図に示す乱数発生器230は並列データを
直列データを変換するP/S変換器231、ゲー
ト回路232、縦続された複数のD形フリツプフ
ロツプD1,D2,…Dn及び排他的論理和回路
233より構成される。上記D形フリツプフロツ
プ群は、加えられたクロツク毎に上記P/S変換
器231から出力されたデータをシフトする。こ
のP/S変換器231には、上記鍵再生回路30
0で得た乱数発生器230に対する初期データが
得られる。すなわち、鍵再生回路300で生成さ
れた初期データは上記鍵データ分離回路260で
のデータ分離パルスをもとにタイミングパルス発
生回路400(第4図参照)で発生させたロード
パルスLDのタイミングで上記P/S変換器23
1に取り込まれる。この初期データが上記P/S
変換器231に設定されるとゲート回路232に
ゲート信号G1が負パルスとして加えられ、初期
データがシフトレジスタとして機能する上記D形
フリツプフロツプに加えられる。このD形フリツ
プフロツプに上記初期データが加えられた後、上
記データ信号G1の極性は反転し以後D形フリツ
プフロツプと排他的論理和回路233との巡環路
を巡環して得る乱数を乱数発生器230は出力す
る。このようにして定まる乱数によつてデイスク
ランブル動作が行なわれる。
A random number generator 230 shown in FIG. 7 includes a P/S converter 231 for converting parallel data to serial data, a gate circuit 232, a plurality of cascaded D-type flip-flops D1, D2,...Dn, and an exclusive OR circuit 233. It consists of The D-type flip-flop group shifts the data output from the P/S converter 231 every applied clock. This P/S converter 231 includes the key reproducing circuit 30.
Initial data for the random number generator 230 obtained at 0 is obtained. That is, the initial data generated by the key regeneration circuit 300 is generated at the timing of the load pulse LD generated by the timing pulse generation circuit 400 (see FIG. 4) based on the data separation pulse of the key data separation circuit 260. P/S converter 23
1. This initial data is the above P/S
When set to converter 231, gate signal G1 is applied as a negative pulse to gate circuit 232, and initial data is applied to the D-type flip-flop functioning as a shift register. After the initial data is added to this D-type flip-flop, the polarity of the data signal G1 is inverted, and a random number obtained by cycling through the loop path between the D-type flip-flop and the exclusive OR circuit 233 is generated by a random number generator. 230 outputs. A descrambling operation is performed using the random number thus determined.

[発明の効果] 以上述べたように、この発明によれば伝送され
た各データパケツトの所定タイミングの所定期間
内に平文化のための鍵データが得られないことを
検出し、この検出結果に応じてデイスクランブル
動作を停止する動作を確実に行ない得る。これに
より誤まつたデイスクランブル動作による弊害を
防止し得るものである。
[Effects of the Invention] As described above, according to the present invention, it is detected that key data for decryption cannot be obtained within a predetermined period at a predetermined timing of each transmitted data packet, and the Thus, the descramble operation can be stopped reliably. This makes it possible to prevent problems caused by erroneous descramble operations.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明の概要を示す回路図、第2図
は従来の回路を示す回路図、第3図は伝送信号の
例を示すデータフオーマツト図、第4図、第5図
及び第6図はこの発明に係る実施例を示す回路
図、第7図はこの発明に係る暗号化データ受信装
置に用いられる乱数発生器の一例を示す回路図で
ある。 230……乱数発生器、250……鍵データ取
り込み回路、300……鍵再生回路、310……
デイスクランブル動作停止手段、311……鍵デ
ータ検出手段。
Fig. 1 is a circuit diagram showing an outline of the present invention, Fig. 2 is a circuit diagram showing a conventional circuit, Fig. 3 is a data format diagram showing an example of a transmission signal, Figs. 4, 5, and 6. FIG. 7 is a circuit diagram showing an embodiment of the present invention, and FIG. 7 is a circuit diagram showing an example of a random number generator used in the encrypted data receiving apparatus according to the present invention. 230...Random number generator, 250...Key data acquisition circuit, 300...Key regeneration circuit, 310...
Descramble operation stopping means, 311...Key data detection means.

Claims (1)

【特許請求の範囲】 1 鍵データをもとにスクランブルされた暗号化
データと、スクランブルを解除するための鍵デー
タを受信し、前記鍵データに呼応して前記スクラ
ンブルを解除するための信号をデイスクランブラ
に入力することによつてデイスクランブルを行う
暗号化データ受信装置において、 前記鍵データを取込む鍵データ取り込み回路
と、 この鍵データ取り込み回路に前記鍵データが取
込まれなかつたことを判別し、前記スクランブル
を解除するための信号を前記デイスクランブラに
供給するのを停止するデイスクランブル動作停止
手段とを具備し、 前記鍵データが受信されない場合にあつては、
前記デイスクランブル動作を停止することを特徴
とする暗号化データ受信装置。
[Claims] 1. Encrypted data scrambled based on key data and key data for descrambling are received, and a signal for descrambling the scrambling is transmitted to a disk in response to the key data. In an encrypted data receiving device that performs descrambling by inputting data to a rambler, a key data capture circuit that captures the key data and a key data capture circuit that determines that the key data is not captured by the key data capture circuit. , and descramble operation stopping means for stopping supplying the descrambler with a signal for descrambling, and when the key data is not received,
An encrypted data receiving device characterized in that the descrambling operation is stopped.
JP59273684A 1984-12-27 1984-12-27 Ciphering data receiving device Granted JPS61154389A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59273684A JPS61154389A (en) 1984-12-27 1984-12-27 Ciphering data receiving device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59273684A JPS61154389A (en) 1984-12-27 1984-12-27 Ciphering data receiving device

Publications (2)

Publication Number Publication Date
JPS61154389A JPS61154389A (en) 1986-07-14
JPH0548672B2 true JPH0548672B2 (en) 1993-07-22

Family

ID=17531104

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59273684A Granted JPS61154389A (en) 1984-12-27 1984-12-27 Ciphering data receiving device

Country Status (1)

Country Link
JP (1) JPS61154389A (en)

Also Published As

Publication number Publication date
JPS61154389A (en) 1986-07-14

Similar Documents

Publication Publication Date Title
US4613901A (en) Signal encryption and distribution system for controlling scrambling and selective remote descrambling of television signals
EP0714204B1 (en) Illegal view and copy protection method in digital video system and controlling method thereof
US6671881B1 (en) Conditional access filter as for a packet video signal inverse transport system
US5764773A (en) Repeating device, decoder device and concealment broadcasting
CN1226359A (en) Self-adaptive decoding system for processing enciphered and unenciphered video-frequency data
CA1232962A (en) Scrambled television signals
EP1459538A1 (en) PROCESS FOR UPDATING A REVOCATION LIST OF NONCOMPLIANT KEYS, APPLIANCES OR MODULES IN A SECURE SYSTEM FOR BROADCASTING CONTENT
US6411712B1 (en) Digital broadcast receiver
EP0913975B1 (en) Data transmission method, data transmission system and program recording medium
SE516660C2 (en) Procedure for encryption and / or decryption of FM subcarrier data
JP4391610B2 (en) Transport stream processing device
JPH0548672B2 (en)
GB2322994A (en) Descrambling DVB data according to ETSI common scrambling specification
JP2911595B2 (en) Method for scrambling / scramble double tone of composite image signal and apparatus for implementing the same
JP3172243B2 (en) Receiver
JP3682785B2 (en) Descrambling apparatus and method
JPH07131443A (en) Repeating installation
JP3068634B2 (en) Data broadcast receiving system
JP4422437B2 (en) License information transmitting apparatus and license information receiving apparatus
JPS62189A (en) Charged broadcasting system
JP2825053B2 (en) Pay broadcast transmission / reception system and pay broadcast receiving decoder
JPH0241046A (en) Transmission system for decoding key
CA1264848A (en) Key signal encryption and distribution system for controlling scrambling and selective, remote descrambling of television signals
JP2829974B2 (en) Signal processing device
KR940009495B1 (en) Descramble system of catv

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term