JPS62168486A - Scramble decoder device - Google Patents

Scramble decoder device

Info

Publication number
JPS62168486A
JPS62168486A JP61008954A JP895486A JPS62168486A JP S62168486 A JPS62168486 A JP S62168486A JP 61008954 A JP61008954 A JP 61008954A JP 895486 A JP895486 A JP 895486A JP S62168486 A JPS62168486 A JP S62168486A
Authority
JP
Japan
Prior art keywords
signal
random number
pulse
circuit
clock
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP61008954A
Other languages
Japanese (ja)
Inventor
Masaru Sato
優 佐藤
Masatoshi Tanaka
正俊 田中
Tomoo Ishiyama
石山 朝生
Shoji Uehara
章二 上原
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
Toshiba AVE Co Ltd
Original Assignee
Toshiba Corp
Toshiba Audio Video Engineering 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 Toshiba Corp, Toshiba Audio Video Engineering Co Ltd filed Critical Toshiba Corp
Priority to JP61008954A priority Critical patent/JPS62168486A/en
Publication of JPS62168486A publication Critical patent/JPS62168486A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To make a clock pulse which is made a reference for a random number signal on decoder-side coincide in a number of pieces at all time with a clock pulse generating a random number signal on encoder-side by counting the clock pulse at timing of a horizontal synchronizing signal. CONSTITUTION:A scrambled video signal added to a signal line 31 is supplied to a synchronizing separator circuit 32, a descrambler circuit 33, and a data separator circuit 34. The circuit 32 separates a horizontal synchronizing signal 35 and a vertical synchronizing signal 36, and supplies a signal 39 synchronizing with the horizontal synchronizing signal 35 to a clock pulse generator 40. A pulse 42 generated by the generator 40 is supplied o a random number generator 43 as a clock pulse for generating a random number signal, but at the same time supplied to a counter which is reset by the vertical synchronizing signal. By the output of this counter 41, the number of pulses generated by the generator 40 is so controlled as coming to be equal to that of the clock pulses generating random numbers on encoder-side.

Description

【発明の詳細な説明】 [発明の技術分野1 本発明はスクランブルされた映像信号を元の正常な映像
信号にデスクランブルするスクランブルデコーダ装置に
関し、ノイズ等によりスクランブル映像信号中の同期信
号が正確に抽出することができない場合でも、デスクラ
ンブルのための117読用情報は確実に再生することが
でさるようにしたものである。
Detailed Description of the Invention [Technical Field 1 of the Invention] The present invention relates to a scramble decoder device that descrambles a scrambled video signal into an original normal video signal, and in which the synchronization signal in the scrambled video signal is inaccurate due to noise or the like. Even if it cannot be extracted, the 117 reading information for descrambling can be reliably reproduced.

[発明の技術的背ξ1] 近年、新放送メディアの発達にともない、テレテキスト
、静止画放送、高品位テレビジョン放送、デジタル信号
による多チヤンネル放送が(’if能となってきている
。このJ:うな放送メディアの高度化により放送番組の
伝送種類も多岐にわたってきている。
[Technical background of the invention ξ1] In recent years, with the development of new broadcasting media, teletext, still image broadcasting, high-definition television broadcasting, and multi-channel broadcasting using digital signals have become possible. :With the advancement of broadcasting media, the types of transmission of broadcast programs are becoming more diverse.

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

このようなスクランブル(暗号化)された情報をデスク
ランブル(手分化)して視聴する場合、加入に側では加
入者固有の識別符号(ID)とともにアイア(T1)と
称される公開情報で所望の番組を予約して放送局側に告
知する。これにより加入者はスクランブルを解くための
鍵を得ることになる。一方、放送局側ではID情報およ
びTi情報をスクランブルを解くためのW?読出用情報
ともに秘匿して加入者側にダウンロードすることで、加
入者はこの秘匿情報よりスクランブルを解く鍵、即ち、
放送局側からの解読用情報と同じ情報を生成して暗Y】
化された情報を平文化することができるわけである。
When descrambling and viewing such scrambled (encrypted) information, the subscriber will be required to use public information called AIA (T1) along with the subscriber's unique identification code (ID). The program is reserved and notified to the broadcasting station. This gives the subscriber the key to unscrambling. On the other hand, on the broadcasting station side, W? to unscramble the ID information and Ti information. By keeping the reading information confidential and downloading it to the subscriber side, the subscriber can use this secret information to obtain the key to unscrambling, that is,
Generate the same information as the decoding information from the broadcasting station and darken it]
In other words, it is possible to convert digitized information into plain text.

上記暗号化の手法には、同期圧縮、同期オフレット、ビ
デオ反転、ライン入換え等の手法があるが、以下に説明
する回路は、ライン入れ換えによる回路で説明する。
The above-mentioned encryption methods include methods such as synchronous compression, synchronous offlet, video inversion, and line swapping, but the circuit described below will be explained using a circuit that uses line swapping.

第4図は映像信号を暗号化するエンコーダの構成例を示
し、信号fQ1には有料放送信号である映像信号が導入
されている。
FIG. 4 shows an example of the configuration of an encoder that encrypts a video signal, and a video signal that is a pay broadcast signal is introduced into the signal fQ1.

この映像信号は、同期分離回路2に入力されるとともに
、スクランブル回路3に入力される。同期分離回路2で
は、スクランブル処理の基準となるクロック信号を生成
するために、映像信号中に含まれている水平同期信号4
を抽出している。この水平同期信号4は、基本クロック
信号5を入力するカウンタ6に供給される。カウンタ6
の出カフは、後段の乱数発生器9より所定の乱数信号を
発生せしめるための、クロックパルス10を発生するク
ロックパルス発生回路8に入力されている。
This video signal is input to the sync separation circuit 2 and also to the scramble circuit 3. In the synchronization separation circuit 2, a horizontal synchronization signal 4 included in the video signal is used to generate a clock signal that serves as a reference for scrambling processing.
is extracted. This horizontal synchronization signal 4 is supplied to a counter 6 which receives a basic clock signal 5. counter 6
The output cuff is input to a clock pulse generation circuit 8 which generates a clock pulse 10 for generating a predetermined random number signal from a random number generator 9 at a subsequent stage.

前記乱数発生器9は、例えばPN信号等の疑似ランダム
パルス発生回路にて構成され、その初期値を与える初期
値発生器11からの初期値データ12が供給されるよう
になっている。したがって、この初期値発生器11から
のデータ12が、乱数発生器9の初期値として設定され
ることで、乱数発生器9は、初I′lII値データに従
ったランダムに変化するスクランブル用制御低目13を
前記スクランブル回路3に供給ザる。
The random number generator 9 is constituted by, for example, a pseudo-random pulse generation circuit such as a PN signal, and is supplied with initial value data 12 from an initial value generator 11 that provides the initial value. Therefore, by setting the data 12 from the initial value generator 11 as the initial value of the random number generator 9, the random number generator 9 can control the scrambling control that changes randomly according to the initial I'lII value data. The low value 13 is supplied to the scrambling circuit 3.

スクランブル回路3の具体的構成は、例えば入力される
映像信号がアナログ低目の場合、その入力アナログ1Δ
号をデジタル信号に変換する変換器と、この変換器から
の信号を、1ラインを単位として順次ρ)込む画像メモ
リと、この画像メモリの読み出す順序を、前記乱数発生
器9からの制御信号に基づいてランダムに変化せしめる
変換アドレス発生器等から4111成する。こうして、
スンランブル回路3からは、スクランブルされた映像信
号が出力される。
The specific configuration of the scramble circuit 3 is, for example, when the input video signal is low analog, the input analog 1Δ
A converter that converts the signal into a digital signal, an image memory into which the signal from this converter is sequentially input (ρ) in units of one line, and a control signal from the random number generator 9 to determine the order in which the image memory is read out. 4111 consists of a translation address generator, etc. that randomly changes the address based on the address. thus,
A scrambled video signal is output from the scramble circuit 3.

スクランブル回路3の出力14は、データ重畳回路15
の一方の入ノjとされる。このf−夕重畳回路15の他
方の入力には、前記初期値発生器11からの初期値デー
タ12が、スクランブルを解除するための解読用情報と
して入力されるようになっており、データ重畳回路15
は、スクランブル映像信号および初期値データを含/υ
だ有料放送信号(スクランブル映像信号)を送出づる。
The output 14 of the scramble circuit 3 is the data superimposition circuit 15
It is assumed that one of the inputs is J. Initial value data 12 from the initial value generator 11 is input to the other input of the f-event superimposing circuit 15 as decoding information for descrambling, and the data superimposing circuit 15
includes scrambled video signal and initial value data /υ
It sends out pay broadcast signals (scrambled video signals).

一方、受信側では第5図に示すようなスクランブルデコ
ーダが構成される。
On the other hand, on the receiving side, a scramble decoder as shown in FIG. 5 is configured.

第5図は従来のデコーダの一例を示し、16は前記送信
側からのスクランブル映像信号)が供給される信号線で
ある。この信号線16からの受信スクランブル映像信ケ
)は、同期分離回路17J3よびデスクランブル回路1
8に入力されるとともに、スクランブル映像信号中から
初期値データを扱出すデータ仮数り回路19にも供給さ
れている。同期分離回路17は前記スクランブル映像信
号より水平同期信号20を抽出し、その出力20をカウ
ンタ21に供給する。カウンタ21には送信側のクロッ
クタイミングに一致した基準クロック信号22が入力さ
れており、カウンタ21はこの基準クロック信号22を
一水平走査期間毎に所定数カウントした出力21aをク
ロックパルス発生回路23に入力する。上記クロックパ
ルス発生回路23は、その出力パルス24を乱数発生器
25に供給している。
FIG. 5 shows an example of a conventional decoder, and 16 is a signal line to which a scrambled video signal (from the transmitting side) is supplied. The received scrambled video signal from the signal line 16 is sent to the synchronous separation circuit 17J3 and the descrambling circuit 1.
8 and is also supplied to a data mantissa calculation circuit 19 that handles initial value data from the scrambled video signal. A synchronization separation circuit 17 extracts a horizontal synchronization signal 20 from the scrambled video signal and supplies its output 20 to a counter 21 . A reference clock signal 22 that matches the clock timing on the transmitting side is input to the counter 21, and the counter 21 counts this reference clock signal 22 a predetermined number of times per horizontal scanning period and sends an output 21a to the clock pulse generation circuit 23. input. The clock pulse generation circuit 23 supplies its output pulse 24 to a random number generator 25.

また、スクランブル映像信号が入力される前記データ分
離回路19は、同信号中より初期値データ26を扱取り
、このデータ26を前記乱数発生器25に供給する。こ
れにより、デコーダ側でのデスクシンプル用制御信号2
7が乱数発生器25より発生する。そして、この制御信
号27をデスクランブル回路18に導入することで、ス
クランブル映像信号がデスクランブルされて出力される
のである。
Further, the data separation circuit 19 to which the scrambled video signal is input handles initial value data 26 from the scrambled video signal and supplies this data 26 to the random number generator 25. As a result, the control signal 2 for desk simple on the decoder side
7 is generated by the random number generator 25. By introducing this control signal 27 into the descrambling circuit 18, the scrambled video signal is descrambled and output.

第6図(A)、(8)は、上記第4図の動作を示1説明
図であり、(A)、(B)全体で所定フィールド分の動
作のタイムチ17−トを示している。
FIGS. 6(A) and 6(8) are explanatory diagrams showing the operation of FIG. 4, and FIGS. 6(A) and 6(B) collectively show a time chart 17 of the operation for a predetermined field.

(a)は、垂直同期信号を示し、垂直同期パルスVp間
が1フイールドである。(b)は、同期分離回路17か
ら取得される水平同期信号を示し、(C)はこの水平同
期信号(b)をリレットバルスとして得られるカウンタ
21からのクロックパルス21aを示す。こうして、カ
ウンタ21により、送られてくるスクランブル映像信号
の水平同期信号に位相同期したクロックパルス24が得
られるものである。このクロックパルス24は、乱数発
生器25に供給されると、乱数発生器25にプリセット
される、データ分離回路19から抜取られる初期値デー
タに基づいて、所定フィールド数を周期とするデスクラ
ンブル制御信号27を発生ぜしめる。図(d)は上記制
御信号27を示し、初期化後の最初のフィールドから所
定フィールド数の1周期分の信号が示されている。即ち
、最初のフィールドが、例えば[01011・・・10
10」である場合、次のフィールドでの信号は、rol
lo・・・」のごとき信号が順次発生する。勿論、この
信号は、送信側のスクランブル制御信号13と一致して
いる。
(a) shows a vertical synchronization signal, in which the interval between vertical synchronization pulses Vp is one field. (b) shows the horizontal synchronization signal obtained from the synchronization separation circuit 17, and (C) shows the clock pulse 21a from the counter 21 obtained by using the horizontal synchronization signal (b) as a ret pulse. In this way, the counter 21 obtains a clock pulse 24 whose phase is synchronized with the horizontal synchronizing signal of the sent scrambled video signal. When this clock pulse 24 is supplied to the random number generator 25, it is a descrambling control signal with a period of a predetermined number of fields based on the initial value data extracted from the data separation circuit 19, which is preset in the random number generator 25. 27 is generated. Figure (d) shows the control signal 27, and shows a signal for one cycle of a predetermined number of fields from the first field after initialization. That is, the first field is, for example, [01011...10
10'', the signal in the next field is rol
"lo..." signals are generated sequentially. Of course, this signal coincides with the scramble control signal 13 on the transmitting side.

[背景技術の問題点] 従来の回路は、送信される信号が同期信号扱け、あるい
はノイズ等が発生した場合、1フィールド期間に発生す
るデコーダ側でのクロックパルス24の数がエンコーダ
側に対して異なり、その結果、乱数発生器25から発生
する乱数が送信側と受信側で異なる問題が生じる。この
ように乱数信号の基準となるクロックパルスの数がエン
コーダ側とデコーダ側で異なると、次の初期化されるフ
ィールドまで映像を正しくデスクランブルすることがで
きないため、乱数の一周期分に対応するフィールド期間
の映像およびそれに続く次のフィールドの映像信号が次
々と乱れてしまう。
[Problems in the background art] In conventional circuits, if the transmitted signal can be treated as a synchronous signal or if noise etc. occur, the number of clock pulses 24 on the decoder side generated during one field period is smaller than that on the encoder side. As a result, a problem arises in that the random numbers generated from the random number generator 25 are different on the transmitting side and the receiving side. If the number of clock pulses that serve as the reference for the random number signal differs between the encoder and decoder sides, it will not be possible to correctly descramble the video until the next initialized field. The video of the field period and the video signal of the next field are disturbed one after another.

第6図(e)は、図(b)の点線にて示すように水平同
期信号が、初期化が行なわれる最初のフィールドで扱け
た場合のデコーダ側での乱数信号を示し、図(C)に示
Jように、水平同期信号が央けたために、クロックパル
ス発生器23からのパルスが少なくなり、図(CI)に
示す乱数信号と、図(e)に示す乱数信号とが一致しな
くなる。
Figure 6(e) shows the random number signal on the decoder side when the horizontal synchronization signal can be handled in the first field where initialization is performed, as shown by the dotted line in Figure (b), and Figure (C) shows the random number signal on the decoder side. As shown in J, since the horizontal synchronization signal is centered, the number of pulses from the clock pulse generator 23 decreases, and the random number signal shown in Figure (CI) and the random number signal shown in Figure (e) no longer match. .

[発明の目的] 本発明は上述した点に鑑みてなされたもので、スクラン
ブルされた映像信号が、ノイズ等によって、同期信号の
抜(プ、あるいは疑似的に同期信号が増えても、エンコ
ーダ側と一致した乱数発生用のクロックパルスを発生す
ることができるスクランブルデコーダを提供することを
目的とする。
[Object of the Invention] The present invention has been made in view of the above-mentioned points, and even if a scrambled video signal has a synchronization signal removed due to noise or the like or a pseudo synchronization signal increases, the encoder side can An object of the present invention is to provide a scramble decoder that can generate a clock pulse for random number generation that matches the following.

[発明の概要] 上記目的を達成するため本発明は、スクランブル用のエ
ンコーダ側乱数信号が、フィールド単位で規定数発生さ
れるクロックパルスによって生成され、この乱数信号に
基づいてスクランブルされた映像信号を、デコーダ側で
発生ずる乱数信号に従って平文化するスクランプルアロ
ーダ装置において、スクランブルされた映像信号より同
期信号を分離する同期分離手段からの垂直同期信号のタ
イミングで、デコーダ側乱数信号の基準となるクロック
パルスを発生する手段からの発生パルスをカラン1へし
、このカウント(直がエンコーダ側での乱数信号を生成
するためのクロックパルス数と一致した規定数と異なる
場合には、パルス発生手段から出力づ゛るパルスの数を
規定数に合せるようにしたものである。
[Summary of the Invention] In order to achieve the above object, the present invention generates an encoder-side random number signal for scrambling using a clock pulse that is generated a specified number of times in each field, and generates a scrambled video signal based on this random number signal. In a scramble loader device that encodes data according to a random number signal generated on the decoder side, the clock serving as a reference for the random number signal on the decoder side is determined at the timing of the vertical synchronization signal from the synchronization separation means that separates the synchronization signal from the scrambled video signal. The generated pulses from the pulse generating means are sent to Curran 1, and if this count (direct) is different from the specified number that matches the number of clock pulses for generating a random number signal on the encoder side, the output is output from the pulse generating means. The number of pulses is adjusted to a specified number.

[発明の実施例] 以下、本発明を図示の実施例について説明する。[Embodiments of the invention] Hereinafter, the present invention will be described with reference to illustrated embodiments.

第1図は本発明にかかるスクランブルデコーダの一実施
例を示ザ回路ブロック図であり、第2図は第2図の詳細
を示す回路図、第3図は第1図の動作を示す説明図であ
る。
FIG. 1 is a circuit block diagram showing one embodiment of a scramble decoder according to the present invention, FIG. 2 is a circuit diagram showing details of FIG. 2, and FIG. 3 is an explanatory diagram showing the operation of FIG. 1. It is.

第1図において、31は第3図に示ずスクランブルエン
コーダからのスクランブルされた映像信舅が供給される
信号線を示し、この信号線31からの信号は、同期信号
分離回路32.デスクランブル回路33およびデータ分
離回路34に、供給される。
In FIG. 1, reference numeral 31 indicates a signal line not shown in FIG. 3 to which a scrambled video signal from a scramble encoder is supplied, and the signal from this signal line 31 is transmitted to a synchronization signal separation circuit 32. The signal is supplied to a descrambling circuit 33 and a data separation circuit 34.

同期分離回路32は、前記スクランブル映像信号より水
平同期信号台35以外に垂直同期信号36を扱き出して
おり、水平同期信号35は、立下り検出回路71を介し
て基準クロック信号37がカウント入力される第1のカ
ウンタ38にリセット信号として供給されている。これ
により、第1のカウンタ38の出力として、送信側の映
像信号の水平同期信号に位相同期した信号39が出力さ
れて次段のクロックパルス発生器40に供給される。こ
のクロックパルス発生器40から発生するパルス42は
、乱数信号発生用のクロックパルスとして乱数発生器4
3に供給されている。なお、クロックパルス発生器40
は前記基準クロック信号37により駆動されている。
The synchronization separation circuit 32 handles a vertical synchronization signal 36 from the scrambled video signal other than the horizontal synchronization signal stand 35, and the horizontal synchronization signal 35 is obtained by counting and inputting the reference clock signal 37 via the fall detection circuit 71. This signal is supplied to the first counter 38 as a reset signal. As a result, the first counter 38 outputs a signal 39 that is phase-synchronized with the horizontal synchronization signal of the video signal on the transmitting side, and is supplied to the clock pulse generator 40 at the next stage. The pulse 42 generated from the clock pulse generator 40 is used as a clock pulse for generating a random number signal.
3. Note that the clock pulse generator 40
is driven by the reference clock signal 37.

一方、同期信号分離回路32から取得される垂直同期信
号36は、立上り検出回路72を介して本実施例で設け
られた第2のカウンタ41にリセット信号として供給さ
れている。この第2のカウンタ41は、前記クロックパ
ルス発生器40からのパルス42がクロック入力されて
おり、パルス42をカウントする第2のカウンタ41の
出力45は、クロックパルス発生器40の発生パルスの
数をコントロールするパルス数コントロール回路46に
入力される。また、前記立上り検出回路72の出力はパ
ルス数コントロール回路46にも供給されている。
On the other hand, the vertical synchronization signal 36 obtained from the synchronization signal separation circuit 32 is supplied as a reset signal to the second counter 41 provided in this embodiment via the rise detection circuit 72. The second counter 41 is clocked with pulses 42 from the clock pulse generator 40, and the output 45 of the second counter 41 that counts the pulses 42 is the number of pulses generated by the clock pulse generator 40. is input to a pulse number control circuit 46 that controls the pulse number. Further, the output of the rise detection circuit 72 is also supplied to the pulse number control circuit 46.

上記パルス数コントロール回路46は、例えば1フィー
ルド分に規定されたクロックパルス数を予めレジストし
ており、この設定パルス数n□と、第2のカウンタ41
からの出力45の示すパルス故r1  とを比較して、
n  >nlの場合は、信号47をクロックパルス発生
器40に供給して、クロックパルス42の数を不足分だ
け補うようにする。一方、n  =n1になると信号4
8を発生し、第2のカウンタ41J3よび乱数発生器4
3へのクロックパルス42の供給を禁止する。また、n
o’<nlの場合はクロックパルス42を増加数たけ減
する。
The pulse number control circuit 46 registers in advance the number of clock pulses specified for one field, for example, and the set pulse number n□ and the second counter 41
Comparing the pulse error r1 indicated by the output 45 from
If n > nl, a signal 47 is supplied to the clock pulse generator 40 to compensate for the deficiency in the number of clock pulses 42. On the other hand, when n = n1, the signal 4
8, the second counter 41J3 and the random number generator 4
The supply of clock pulses 42 to 3 is prohibited. Also, n
If o'<nl, the clock pulse 42 is decreased by the increment.

なお、データ分離回路34は、スクランブル映像信号中
に含まれる、送信側で設定された初期値データ49を扱
き取り、このデータ49を乱数発生2:43に供給して
いる。乱数発生器43は、このデータ49に44づいで
所定数のフィールド期間を1周期とする乱数信号50を
発生し、これをスクランブル解除用の制御信号としてデ
スクランブル回路33に供給している。
Note that the data separation circuit 34 handles initial value data 49 set on the transmitting side, which is included in the scrambled video signal, and supplies this data 49 to random number generation 2:43. The random number generator 43 generates a random number signal 50 whose cycle is a predetermined number of field periods based on the data 49, and supplies this to the descrambling circuit 33 as a control signal for descrambling.

第2図は第1図のクロックパルス発生器40およびパル
ス数コントロール回路46の接続構成を詳細に示す回路
図である。
FIG. 2 is a circuit diagram showing in detail the connection configuration of the clock pulse generator 40 and pulse number control circuit 46 of FIG. 1.

クロックパルス発生回路40は、デコーダ73および論
理回路74にて構成され、デコーダ73は第1のカウン
タ38の出力39をデコードして(fiQ42の基を作
成する。論理回路7/1は2人力アンドゲート75,2
人カッアゲート76.3人力オアゲート77にて構成さ
れている。また、パルス数コントロール回路46はDフ
リップフロップ78.デコーダ79を主体に一■成され
、デコーダ79の出力端をナントゲート80.81を介
してDフリップフ1コツプ78の入力端に接続し、同フ
リップフロップ78の一方出力端は前記プントゲート8
0の入力側に接続し、他方端は一方入力端に垂直同期信
号36が供給されたオアゲート82の他方に入力端に接
続されている。ここでDフリップフロップ78の出力は
前記信号48に相当し、この信号48が前記オアゲート
82を介することで同ゲート82より信号47が出力さ
れ、この信号47は一方入力端に基準クロック信号37
が供給された前記ナントゲート76の他方入力端に入力
されるとともに、前記アンドゲート75の一方入力端に
入力されている。この構成により、信号47に従って基
準クロック信号37とクロックパルス42選択される。
The clock pulse generation circuit 40 is composed of a decoder 73 and a logic circuit 74. The decoder 73 decodes the output 39 of the first counter 38 (creates the base of fiQ42). Gate 75,2
It is composed of a human power gate 76 and three human power or gates 77. The pulse number control circuit 46 also includes a D flip-flop 78. The output terminal of the decoder 79 is connected to the input terminal of a D flip-flop 78 via a Nantes gate 80, 81, and one output terminal of the flip-flop 78 is connected to the
0, and the other end is connected to the other input end of an OR gate 82 whose one input end is supplied with the vertical synchronizing signal 36. Here, the output of the D flip-flop 78 corresponds to the signal 48, and when this signal 48 passes through the OR gate 82, a signal 47 is output from the same gate 82, and this signal 47 has one input terminal connected to the reference clock signal 37.
is input to the other input terminal of the Nant gate 76 to which is supplied, and is also input to one input terminal of the AND gate 75. With this configuration, the reference clock signal 37 and the clock pulse 42 are selected according to the signal 47.

このナントゲート76の出力は後段のオアゲート77の
一入力端に供給される。オアゲート77は他の一入力端
にデコーダ73からの信号と信号47との論理積を出力
する前記アンドゲート75からの信号が入力されるとと
もに、残りの一入力端には前記Dフリップフロップ78
からの信号48が入力する。これにより、オアゲート7
7は前段の回路75.76で選択された信号をイネーブ
ル・ディスイネーブル制御する。なお、立上り検出回路
72からパルス数コントロール回路46に入力する信号
は、ナンドグー1・81に入力される。
The output of this Nant gate 76 is supplied to one input terminal of an OR gate 77 at the subsequent stage. The OR gate 77 receives a signal from the AND gate 75 which outputs the AND of the signal from the decoder 73 and the signal 47 at its other input terminal, and the D flip-flop 78 at its remaining input terminal.
A signal 48 from . As a result, orgate 7
7 performs enable/disable control for the signals selected by the preceding circuits 75 and 76. Note that the signal input from the rising edge detection circuit 72 to the pulse number control circuit 46 is input to the Nandogoo 1.81.

本発明は以上のにうに構成され、次にその動作を説明す
る。
The present invention is constructed as described above, and its operation will be explained next.

第3図(A)、(B)は、上記実施例において、水平同
期信号が扱けた場合の動作を説明する波形図であり、(
A)、(B)全体で所定フィールド分の波形を示してい
る。
FIGS. 3(A) and 3(B) are waveform diagrams illustrating the operation when a horizontal synchronizing signal can be handled in the above embodiment;
A) and (B) collectively show waveforms for a predetermined field.

各(A)、(B)にで共通に示す図(a>は、垂直同期
信号を示し、フィールド期間52は、送信側における乱
数信号の周期の最初のフィールドを示し、53は次のフ
ィールドを、54は更に次のフィールドを示す。図(b
)は水平同期信号を示し、前記フィールド期間52で水
平同期信号の抜けが生じている(点線参照)。図(C)
はクロックパルス発生器40から発生するパルス42を
示し、図(d)はパルス数コントロール回路46の発生
する信号48を示す。また、図(e)は信号47を示し
、図(f)はデコーダ側での乱数信号50を示し、図(
a)はエンコーダ側での乱数信号13を示すものである
。なお、55は初期フィールド52より1フイールド前
の期間を示す。
The diagrams commonly shown in each of (A) and (B) (a> indicates the vertical synchronization signal, field period 52 indicates the first field of the period of the random number signal on the transmitting side, and 53 indicates the next field. , 54 further indicates the following fields.
) indicates a horizontal synchronizing signal, and the horizontal synchronizing signal is missing in the field period 52 (see dotted line). Diagram (C)
shows the pulse 42 generated by the clock pulse generator 40, and FIG. 3(d) shows the signal 48 generated by the pulse number control circuit 46. Also, figure (e) shows the signal 47, figure (f) shows the random number signal 50 on the decoder side, figure (
a) shows the random number signal 13 on the encoder side. Note that 55 indicates a period one field before the initial field 52.

期間52より以前において、同期信号の数に何等の異常
が無かった場合、第2のカウンタ41からは、第1のカ
ウンタ38と同数のカウント出力を発生ずるため、パル
ス数コントロール回路46は、内部に設定されている規
定数と一致することを検知して信号48中に図(d)に
て示すパルス56を発生する。このパルス56は、図(
b)と対比して明らかなように、1フイールドの最後の
水平同期パルス57の終了直後に発生づ°るようになっ
ており、次のフィールドの垂直同期パルスVPが終了す
るまで続いている。そして、このパルス56が発生して
いる間は、クロックパルス発生回路40からパルス42
が発生しないように制御することができる。
Before the period 52, if there is no abnormality in the number of synchronization signals, the second counter 41 generates the same number of count outputs as the first counter 38, so the pulse number control circuit 46 internally When it is detected that the number matches the specified number set in , a pulse 56 shown in FIG. 4(d) is generated in the signal 48. This pulse 56 is shown in FIG.
As is clear from comparison with b), it begins to occur immediately after the end of the last horizontal synchronizing pulse 57 of one field, and continues until the vertical synchronizing pulse VP of the next field ends. While this pulse 56 is being generated, the clock pulse generation circuit 40 outputs the pulse 42.
can be controlled so that it does not occur.

乱数が一巡して最初のフィールド52になり、このフィ
ールドにJ5いて、水平同期信りの抜け3個を承り58
が発生したものと仮定すると、クロックパルス発生回路
40からは、規定数より3個だ1ノ少ないりOツクパル
ス42を発生する。このパルス42 G:L 、第2の
カウンタ41′cカウントされることで、パルス数コン
トロール回路46により、3個分不足することが検知さ
れる。これにより、コントロール回路46は、信号47
のチ(7ンネルに図(e)に示すようなパルス59を発
生する。このパルス5つが供給されると、クロックパル
ス発生器40は、図(C)に示すように3個のパルス6
0を垂直同期パルスの期間に発生して、乱数発生器43
に送り込む。したがって、乱数発生器43は、水平同期
パルスけの生じたフィールドでは、エンコーダ側と異な
る乱数信号を発生ずるが、垂直同期信号期間に不足分の
パルス60が補われることで、次のフィールド(53)
からは、エンコーダ側の乱数信号のパターンと同一のパ
ターンでデコーダ側乱数信号を発生することができる訳
である。ここに、パルス数コントロール回路46は、パ
ルス数が規定数より少ないことを検知づると、信号48
のパルス56が最後の水平向lす】パルス57の直後に
発生しないように、その発生を近らぜ、3個のパルス6
0がパルス発生′r:i40に加剛された後にパルス5
6を発生ずるようにしている。61はこの遅れたパルス
を示す。
The random number goes around and reaches the first field 52, and J5 is in this field, and there are 3 missing horizontal synchronizations, so 58
Assuming that the clock pulse generating circuit 40 generates the clock pulse 42, the clock pulse generating circuit 40 generates three or one less clock pulses 42 than the specified number. By counting this pulse 42 G:L by the second counter 41'c, the pulse number control circuit 46 detects that there is a shortage of three pulses. This causes the control circuit 46 to control the signal 47
When these five pulses are supplied, the clock pulse generator 40 generates three pulses 6 as shown in FIG.
0 during the vertical synchronization pulse, and the random number generator 43
send to. Therefore, the random number generator 43 generates a random number signal different from that on the encoder side in the field where the horizontal synchronizing pulse occurs, but the missing pulse 60 is compensated for in the vertical synchronizing signal period, so that the next field (53 )
Therefore, the decoder side random number signal can be generated in the same pattern as the encoder side random number signal pattern. Here, when the pulse number control circuit 46 detects that the number of pulses is less than the specified number, it outputs a signal 48.
The last horizontal pulse 56 of
Pulse 5 after 0 is stiffened by pulse generation 'r: i40
6 is generated. 61 indicates this delayed pulse.

以上は、水平同期信号が扱けた場合の動作を説明するも
のであるが、ノイズの混入等により、水平同期信号が疑
似的に増加した場合は、例えば信号48によるパルス5
6の介し時刻を早めるように1れば良い。
The above describes the operation when the horizontal synchronization signal can be handled. However, if the horizontal synchronization signal increases artificially due to noise, etc., pulse 5 due to signal 48, etc.
It is sufficient to set 1 to advance the time of 6.

こうして本発明は、同期信号法け、あるいはノイズ等に
より、l′i′1111Il信号が正確に得られない場
合でも、スクランブルされた映像を正確にデスクランブ
ルすることができる。
In this way, the present invention can accurately descramble a scrambled video even when the l'i'1111Il signal cannot be obtained accurately due to synchronization signal distortion or noise.

な、13、上記実施例は、走査線のランダムな入換えに
よるスクランブル方式への適用例について説明したが、
その他のスクランブル方式、例えば同期圧縮を乱数信号
で制御する場合にも適用可能である。
13. The above embodiment describes an example of application to a scrambling method using random replacement of scanning lines.
It is also applicable to other scrambling methods, for example, when synchronous compression is controlled using a random number signal.

[発明の効果] 以上説明したように本発明によれば、スクランブルされ
た映像信号の同期信号の数に異常があっても、デスクラ
ンブルを正確に行うことができるという効果がある。
[Effects of the Invention] As described above, according to the present invention, even if there is an abnormality in the number of synchronization signals of a scrambled video signal, descrambling can be performed accurately.

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

第1図は本発明にかかるスクランブルデコーダ装置の一
実施例を示す回路ブロック図、第2図は第1図の詳細な
回路図、第3図は第1図の動作を示す説明図、第4図は
本発明に関係するスクランブルエンコーダ装置を示す回
路ブロック図、第5図は従来のスクランブルデコーダ装
置を示1回路ブロック図、第6図は第4図の動作を丞V
説明図である。 32・・・同期分離回路、 33・・・デスクランブル回路、 34・・・データ分離回路、 38.41・・・カウンタ、 40・・・クロックパルス発生器、 43・・・乱数発生器、 46・・・パルス数コントロール回路。
FIG. 1 is a circuit block diagram showing one embodiment of a scramble decoder device according to the present invention, FIG. 2 is a detailed circuit diagram of FIG. 1, FIG. 3 is an explanatory diagram showing the operation of FIG. 1, and FIG. The figure is a circuit block diagram showing a scramble encoder device related to the present invention, FIG. 5 is a circuit block diagram showing a conventional scramble decoder device, and FIG. 6 is a circuit block diagram showing the operation of FIG. 4.
It is an explanatory diagram. 32... Synchronization separation circuit, 33... Descrambling circuit, 34... Data separation circuit, 38.41... Counter, 40... Clock pulse generator, 43... Random number generator, 46 ...Pulse number control circuit.

Claims (1)

【特許請求の範囲】 スクランブル用のエンコーダ側乱数信号が、フィールド
単位で規定数発生されるクロックパルスによって生成さ
れ、この乱数信号に基づいてスクランブルされた映像信
号を、デコーダ側で発生する乱数信号に従って平文化す
るスクランブルデコーダ装置において、 前記スクランブル映像信号より、同期信号を分離する同
期分離手段と、 基準クロックを、前記同期分離手段の出力する同期信号
のタイミングでカウントし、前記デコーダ側乱数信号の
基準となるクロックパルスを発生するパルス発生手段と
、 このパルス発生手段からのパルスを、フィールド周期で
カウントするカウンタ手段と、 このカウンタ手段からの出力が入力され、1フィールド
期間における前記カウンタ手段の計数値と、エンコーダ
側乱数信号の1フィールド期間におけるパルス数に一致
して予め設定された規定数とを比較し、その比較結果に
応じて発生ずる制御信号を前記パルス発生手段に供給し
て、その発生パルス数を前記規定値に合わせるパルス数
コントロール手段と、 前記パルス発生手段からのクロックパルスにより駆動さ
れて前記デコーダ側乱数信号を発生する乱数発生手段と
を具備したことを特徴とするスクランブルデコーダ装置
[Claims] An encoder side random number signal for scrambling is generated by a specified number of clock pulses generated in each field, and a video signal scrambled based on this random number signal is generated according to a random number signal generated on the decoder side. In the scramble decoder device for decoding, a synchronization separation means separates a synchronization signal from the scrambled video signal; a reference clock is counted at the timing of the synchronization signal outputted by the synchronization separation means, and a reference clock is used as a reference for the decoder-side random number signal. pulse generating means for generating a clock pulse, counter means for counting pulses from the pulse generating means in field periods, and an output from the counter means being input, and a counted value of the counter means for one field period. is compared with a preset number that matches the number of pulses in one field period of the encoder side random number signal, and a control signal to be generated according to the comparison result is supplied to the pulse generating means to generate the pulse. A scramble decoder device comprising: pulse number control means for adjusting the number of pulses to the specified value; and random number generation means driven by clock pulses from the pulse generation means to generate the decoder side random number signal.
JP61008954A 1986-01-21 1986-01-21 Scramble decoder device Pending JPS62168486A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61008954A JPS62168486A (en) 1986-01-21 1986-01-21 Scramble decoder device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61008954A JPS62168486A (en) 1986-01-21 1986-01-21 Scramble decoder device

Publications (1)

Publication Number Publication Date
JPS62168486A true JPS62168486A (en) 1987-07-24

Family

ID=11707062

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61008954A Pending JPS62168486A (en) 1986-01-21 1986-01-21 Scramble decoder device

Country Status (1)

Country Link
JP (1) JPS62168486A (en)

Similar Documents

Publication Publication Date Title
US4523228A (en) Sync suppression scrambling of television signals for subscription TV
US4390898A (en) Scrambling and unscrambling video signals in a pay TV system
JPH05244590A (en) Synchronization signal suppression scramble contract tv system and device therefor
JPH03229589A (en) Method and apparatus for encoding and decoding time domain signal
US7649993B2 (en) Video-signal processing system, video-signal processing apparatus and method, recording medium, and program
US4600942A (en) Secure coding and decoding system and method for television program signals
JP2810103B2 (en) How to scramble television signals
JPS62503066A (en) Method and apparatus for scrambling and descrambling television signals
JPS61108272A (en) Chargeable broadcast system
US4019201A (en) Method and apparatus for scrambling and unscrambling communication signals
US4901349A (en) Time dispersal encryption of TV signals
EP0116082B1 (en) Secure coding and decoding system and method for television program signals
KR0152270B1 (en) System for descrambling combined video signal of a pay tv system
JPS62168486A (en) Scramble decoder device
US4024576A (en) Method and apparatus for scrambling and unscrambling communication signals
JPS62189A (en) Charged broadcasting system
KR0129295Y1 (en) Apparatus for generating horizontal sync. signal by using counter
KR960012504B1 (en) Scramble &amp; descramble apparatus for catv video signal
KR960014687B1 (en) System of scrambling and descrambling in catv
US6477253B1 (en) Method and apparatus for television signal scrambling using vertical sync replacement
KR960013656B1 (en) Horizontal sync. prediction circuit
JPH0530113B2 (en)
JP2001069136A (en) Video signal processing system
KR950012668B1 (en) Scrambler and discrambler of image signal
KR100226625B1 (en) Encoding apparatus of a video signal