[go: up one dir, main page]

KR100232140B1 - Descrambler of digital broadcasting signal - Google Patents

Descrambler of digital broadcasting signal Download PDF

Info

Publication number
KR100232140B1
KR100232140B1 KR1019970006266A KR19970006266A KR100232140B1 KR 100232140 B1 KR100232140 B1 KR 100232140B1 KR 1019970006266 A KR1019970006266 A KR 1019970006266A KR 19970006266 A KR19970006266 A KR 19970006266A KR 100232140 B1 KR100232140 B1 KR 100232140B1
Authority
KR
South Korea
Prior art keywords
data
descrambling
decipher
exclusive
block
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 - Fee Related
Application number
KR1019970006266A
Other languages
Korean (ko)
Other versions
KR19980069286A (en
Inventor
정수길
Original Assignee
구자홍
엘지전자주식회사
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 구자홍, 엘지전자주식회사 filed Critical 구자홍
Priority to KR1019970006266A priority Critical patent/KR100232140B1/en
Publication of KR19980069286A publication Critical patent/KR19980069286A/en
Application granted granted Critical
Publication of KR100232140B1 publication Critical patent/KR100232140B1/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/16Analogue secrecy systems; Analogue subscription systems
    • H04N7/167Systems rendering the television signal unintelligible and subsequently intelligible

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

40Mbps 이상의 디브이에스 데이터 전송비를 만족하는 디지탈 방송신호의 디스크램블링 장치가 제안된다. 이 장치는 일시 저장된 스크램블 데이터를 각각 출력하는 버퍼를 각각 출력하는 버퍼들과, 상기 스크램블 데이터를 공통클럭신호에 따라 8바이트씩 32클럭으로 디스크램블링 하여 그 결과를 B0 및 B1 중간버퍼에 번갈아 저장하는 스트림 디사이퍼와, 상기 스트림 디사이퍼로 부터 시작신호를 제공받아 해당 중간 버퍼로부터 데이터를 자신의 내부 레지스터로 로딩하고 한 클럭에 한 키워드씩을 로딩하여 8바이트씩 56클럭으로 디스크램블된 데이터를 발생하는 B0 및 B1 블록 디사이퍼와, 상기 B0 및 B1 블록 디사이퍼에 내부 키워드를 제공하는 키 스케줄러와, 상기 BO 및 B1 중간버퍼의 디스크램링 데이터와 상기 B0 및 B1 블록 디사이퍼의 디스크램블 데이터를 배타적 논리합으로 연산하여 출력하는 배타적 논리합 회로와, 상기 배타적 논리합 회로의 연산 데이터와 이전의 스크램블 데이터를 일시 저장하는 디스크램블 데이터 버퍼로 구성된다. 따라서 디스크램블링 장치는 DVS용 세트탑에 매우 유용하게 적용된다.An apparatus for descrambling a digital broadcast signal satisfying a DVS data transmission ratio of 40 Mbps or more is proposed. The device descrambles the buffers for outputting the temporarily stored scrambled data, and descrambles the scrambled data into 32 clocks of 8 bytes according to the common clock signal, and alternately stores the result in the B0 and B1 intermediate buffers. The stream decipher receives the start signal from the stream decipher, loads data from the intermediate buffer into its internal register, loads one keyword per clock, and generates descrambled data with 56 clocks of 8 bytes. An exclusive logical sum of the B0 and B1 block deciphers, the key scheduler for providing internal keywords to the B0 and B1 block deciphers, the descrambling data of the BO and B1 intermediate buffers and the descrambling data of the B0 and B1 block deciphers. An exclusive-OR circuit that calculates and outputs the data, and the operation data of the exclusive-OR circuit And a descrambled data buffer that temporarily stores previous scrambled data. Therefore, the descrambling device is very useful for the set top for DVS.

Description

디지탈 방송신호의 디스크램블링 장치Descrambler of digital broadcasting signal

본 발명 멀티미디어를 다중화하는 엠펙-2(Moving Picture Experts Group; 미디어 통합계 동영상압축의 국제표준 2, 이하, 'MPEG-2'이라 칭한다) 시스템에 관한 것으로써, 특히, 40Mbps 이상의 디브이에스(Digital Video Broadcast; 이하, DVB라 함) 데이터 전송비를 만족하는데 적당한 디지탈 방송신호의 디스크램블링 장치에 관한 것이다.The present invention relates to an MPEG-2 (Moving Picture Experts Group) system for multiplexing multimedia, which is referred to as an international standard 2 of media integrated video compression, hereinafter referred to as 'MPEG-2' system. The present invention relates to a descrambling apparatus for digital broadcast signals suitable for satisfying a data transmission ratio.

일반적으로 디지탈 위성방송은 TV신호의 다중화가 필수적이며, 이러한 TV 신호(비디오/오디오 신호)를 다중화할 경우, 비디오·오디오 각각을 '패킷(paket)'이라 불리는 적당한 길이의 비트열로 분할하고, 헤더(header) 등의 부가정보를 붙여서 적절히 비디오·오디오 패킷을 절체하여 시분할전송방식으로 중계기(통신위성)로 전송한다. 상기 중계기를 통해 전송된 패킷은 가입자들의 DBS(Direct Broadcasting System) 수신기를 통해 원신호로 복원함으로써 방송국에서 송출된 채널들에 대한 시청이 가능하다.In general, digital satellite broadcasting requires multiplexing of a TV signal. When multiplexing such a TV signal (video / audio signal), each of the video and audio is divided into a string of appropriate length called 'packets'. The video and audio packets are appropriately switched by attaching additional information such as a header and transmitted to the repeater (communication satellite) in a time division transmission method. The packet transmitted through the repeater can be restored to the original signal through the DBS (Direct Broadcasting System) receiver of the subscribers to view the channels transmitted from the broadcasting station.

다시말하면 방송국에서는 TV 신호를 디지털 TV신호로 변환, 압축후 위성으로 전송하고, 통신위성은 우주공간에서 상기 TV신호를 수신후 증폭하여 중계기를 통해 재전송하며, 상기 통신위성으로 부터 중계된 TV신호는 수신기 또는 디코더로 수신하여 복조함으로써 방송국에서 전송된 해당 채널에 대한 프로그램을 시청할 수 있다.In other words, the broadcasting station converts the TV signal into a digital TV signal, compresses it, and transmits it to the satellite, and the communication satellite receives and amplifies the TV signal in outer space and retransmits it through the repeater, and the TV signal relayed from the communication satellite is By receiving and demodulating by a receiver or a decoder, a program for a corresponding channel transmitted from a broadcasting station can be viewed.

이때 방송국은 비디오·오디오 그리고 전송 데이터 신호를 MPEG-2 규격에 따라 스크램블된 디지탈 신호로 변환, 압축한후 패킷 스트림으로 구성하여 하나의 TV신호 스트림을 만든다. 여러개의 스크램블된 디지탈 TV신호 스트림들은 트랜스포트 멀티플렉서에서 다중화되어 트랜스포트 스트림 패킷으로 된후 채널 엔코더로 보내진다. 상기 트랜스포트 스트림 패킷은 188바이트 단위이며 유효 데이터비(data rate)(Ru)는 약 40∼45Mbps이다.At this time, the broadcasting station converts the video, audio, and transmission data signals into scrambled digital signals according to the MPEG-2 standard, compresses them, and composes a packet stream to form a TV signal stream. Multiple scrambled digital TV signal streams are multiplexed in a transport multiplexer into transport stream packets and sent to the channel encoder. The transport stream packet has a unit of 188 bytes and an effective data rate Ru is about 40 to 45 Mbps.

한편 EP-DVB(European project-digital video broadcasting)에서는 공통 스크램블링 명세서(common scrambling specifications)를 제안하였다. 이 명세서의 개략도를 살펴보면 스마트 카드에 해당하는 SAM(Scrambling Authorization Module)에서 리드된 64비트열의 컨트롤 워드들은 각각 정합장치(comformance mechanism)을 통해 64비트의 공통 키워드 신호에 의해 매칭되어 스크램블링 장치와 디스크램블링 장치로 인가된다.On the other hand, EP-DVB (European project-digital video broadcasting) has proposed common scrambling specifications. Referring to the schematic diagram of this specification, the 64-bit strings of control words read from the SAM (Scrambling Authorization Module) corresponding to the smart card are matched by a 64-bit common keyword signal through a matching mechanism, respectively, to the scrambling device and the descrambling. Is applied to the device.

이때 스크램블링 장치는 상기 공통 키워드 신호에 따라 스크램블된 MPEG-2 트랜스포트 패킷을 출력한다. 또 디스크램블링 장치는 상기 스크램블된 MPEG-2 트랜스포트 패킷을 공통 키워드 신호에 따라 디스크램블 한다.At this time, the scrambling apparatus outputs the scrambled MPEG-2 transport packet according to the common keyword signal. The descrambling apparatus descrambles the scrambled MPEG-2 transport packet according to a common keyword signal.

이러한 스크램블 동작은 공통 키 클럭에 의해 제거되며 페이로드내에 실린 적어도 184바이트로 구성되는 PES(packetized elementary stream) 레벨에서 이루어진다. 마찬가지로 디스크램블 동작은 공통 키 클럭에 의해 제어되며 상기 디스크램블된 PES 레벨의 페이로드내에서 순서대로 이루어진다.This scramble operation takes place at the packetized elementary stream (PES) level, which is eliminated by the common key clock and consists of at least 184 bytes carried in the payload. Similarly, the descramble operation is controlled by a common key clock and takes place in order within the payload of the descrambled PES level.

이와같이 EP-DVB에서 제안한 공통 스크램블링 명세서는 하드웨어적인 개념도와 소프트웨어적인 알고리즘만 제안되었을뿐 현재까지 상기 공통 스크램블링 명세서에 적합한 디스크램블링 장치가 제안된바 없다.As described above, the common scrambling specification proposed by EP-DVB has been proposed only a hardware conceptual diagram and a software algorithm, and thus no descrambling apparatus suitable for the common scrambling specification has been proposed.

따라서 본 발명은 상기한 공통 스크램블링 명세서에 적합하고 40Mbps 이상의 DVB의 데이터 전송비를 만족하는 64비트 동작의 디지탈 방송신호의 디스크램블링 장치를 제공함에 있다.Accordingly, an aspect of the present invention is to provide a device for descrambling a digital broadcast signal having a 64-bit operation that satisfies the above-described common scrambling specification and satisfies a data transmission ratio of DVB of 40 Mbps or more.

본 발명의 다른 목적은 디스크램블링을 수행하는 소자들이 파이프라인 방식으로 연결된 디지탈 방송신호의 디스크램블링 장치를 제공함에 있다.Another object of the present invention is to provide an apparatus for descrambling a digital broadcast signal in which elements for descrambling are connected in a pipelined manner.

도 1은 본 발명에 따른 디지탈 방송신호의 디스크램블링 장치를 나타낸 블록도,1 is a block diagram showing an apparatus for descrambling a digital broadcast signal according to the present invention;

도 2는 도 1의 스트림 디사이퍼와 블록 디사이퍼들의 동작 타이밍 챠트,2 is an operation timing chart of a stream decipher and a block decipher of FIG. 1;

도 3은 도 1의 키 스케줄러의 키워드 레지스터들에 컨트롤워드 데이터 입력시 키워드 스위칭 스케줄링을 나타낸 도면이고,3 is a diagram illustrating keyword switching scheduling when control word data is input to keyword registers of the key scheduler of FIG. 1;

도 4는 도 3의 키워드 레지스터들에 인가되는 64비트 키워드를 순서대로 나타낸 도면이다.FIG. 4 is a diagram illustrating 64-bit keywords applied to keyword registers of FIG. 3 in order.

*도면의 주요부분에 대한 부호의 설명** Description of the symbols for the main parts of the drawings *

10 : 스크램블 데이터 버퍼20 : PSI 컨트롤워드 버퍼10: scrambled data buffer 20: PSI control word buffer

30 : 스트림 디사이퍼40 : 키 스케줄러30: stream decipher 40: key scheduler

40-1, 40-2, 40-3, 40-4 : 스위치 매트릭스40-1, 40-2, 40-3, 40-4: switch matrix

41, 41-1, 41-2, 41-3, 41-4, 41-5, 41-6 : 키워드 레지스터Keyword registers: 41, 41-1, 41-2, 41-3, 41-4, 41-5, 41-6

50 : B0 중간버퍼60 : B1 중간버퍼50: B0 intermediate buffer 60: B1 intermediate buffer

70 : B0 블록 디사이퍼80 : B1 블록 디사이퍼70: B0 block decipher 80: B1 block decipher

90 : 디스크램블 데이터 버퍼XOR : 배타적 논리합 회로90: descrambled data buffer XOR: exclusive OR circuit

MUX1, MUX2, MUX3 : 멀티플렉서MUX1, MUX2, MUX3: Multiplexer

본 발명에 따른 디지탈 방송신호의 디스크램블링 장치는 일시 저장된 스크램블 데이터와 PSI 컨트롤 워드들을 저장하는 버퍼와; 상기 스크램블 데이터를 공통클럭신호에 따라 8바이트씩 32클럭으로 디스크램블링 하여 그 결과를 B0 및 B1 중간버퍼에 번갈아 저장하는 스트림 디사이퍼와; 상기 스트림 디사이퍼로 부터 시작신호를 제공받아 해당 중간 버퍼로부터 데이터를 자신의 내부 레지스터로 로딩하고 한 클럭에 한 키워드씩을 로딩하여 8바이트씩 56클럭으로 디스크램블된 데이터를 발생하는 B0 및 B1 블록 디사이퍼와; 상기 B0 및 B1 블록 디사이퍼에 컨트롤워드와 관련한 내부 키워드를 제공하는 키 스케줄러와; 상기 BO 및 B1 중간버퍼의 디스크램링 데이터와 상기 B0 및 B1 블록 디사이퍼의 디스크램블 데이터를 배타적 논리합으로 연산하여 출력하는 배타적 논리합 회로와; 상기 배타적 논리합 회로의 연산 데이터와 이전의 스크램블 데이터를 일시 저장하는 디스크램블 데이터 버퍼로 구성된 점에 있다.An apparatus for descrambling a digital broadcast signal according to the present invention includes a buffer for storing temporarily stored scrambled data and PSI control words; A stream decipher for descrambling the scrambled data into 32 clocks by 8 bytes according to a common clock signal, and alternately storing the result in the B0 and B1 intermediate buffers; The B0 and B1 block decodes which receive the start signal from the stream decipher and load data from the corresponding intermediate buffer into its internal register and load one keyword per clock to generate descrambled data with 56 clocks of 8 bytes. Cyphers; A key scheduler for providing internal keywords related to control words to the B0 and B1 block deciphers; An exclusive OR circuit for calculating and outputting the descrambling data of the BO and B1 intermediate buffers and the descramble data of the B0 and B1 block deciphers with an exclusive OR; It consists of a descrambled data buffer for temporarily storing the operation data of the exclusive OR circuit and the previous scrambled data.

이하, 본 발명에 따른 디지탈 방송신호의 디스크램블링 장치의 바람직한 일 실시예를 첨부한 도면을 참조하여 상세히 설명한다.Hereinafter, a preferred embodiment of a descrambling apparatus for digital broadcast signal according to the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명에 따른 디지탈 방송신호의 디스크램블링 장치를 나타낸 블록도이고, 도 2는 도 1의 스트림 디사이퍼와 블록 디사이퍼들의 동작 타이밍 챠트이다.1 is a block diagram illustrating an apparatus for descrambling a digital broadcast signal according to the present invention, and FIG. 2 is an operation timing chart of a stream decipher and a block decipher of FIG. 1.

도 1을 참조하면, 본 발명의 디지탈 방송신호의 디스크램블링 장치는 일시 저장된 스크램블 데이터와 PSI 컨트롤워드를 각각 출력하는 스크램블 데이터 버퍼(10) 및 PSI 컨트롤워드 버퍼(20)와, 상기 스크램블 데이터를 공통클럭신호에 따라 8바이트씩 32클럭으로 디스크램블링 하여 그 결과를 B0 및 B1 중간버퍼(50)(60)에 번갈아 저장하는 스트림 디사이퍼(30)와, 상기 스트림 디사이퍼(30)로 부터 시작신호를 제공받아 해당 중간 버퍼로부터 데이터를 자신의 내부 레지스터로 로딩하고 한 클럭에 한 키워드씩을 로딩하여 8바이트씩 56클럭으로 디스크램블된 데이터를 발생하는 B0 및 B1 블록 디사이퍼(70)(80)와, 상기 B0 및 B1 블록 디사이퍼(70)(80)에 내부 키워드를 제공하는 키 스케줄러(40)와, 상기 BO 및 B1 중간버퍼(50)(60)의 디스크램링 데이터와 상기 B0 및 B1 블록 디사이퍼(70)(80)의 디스크램블 데이터를 배타적 논리합으로 연산하여 출력하는 배타적 논리합 회로(EOR)와, 상기 배타적 논리합 회로(EOR)의 연산 데이터와 이전의 스크램블 데이터를 일시 저장하는 디스크램블 데이터 버퍼(90)로 구성되어 있다.Referring to FIG. 1, the apparatus for descrambling a digital broadcast signal according to an embodiment of the present invention includes a scrambled data buffer 10 and a PSI control word buffer 20 for outputting temporarily stored scrambled data and a PSI control word, respectively. The stream decipher 30, which alternately stores the result in the B0 and B1 intermediate buffers 50 and 60, descrambling to 32 clocks by 8 bytes according to the clock signal, and the start signal from the stream decipher 30. B0 and B1 block deciphers (70) and (80) which receive data from the intermediate buffer and load data into their internal registers and load one keyword per clock to generate descrambled data with 56 clocks of 8 bytes. And a key scheduler 40 providing internal keywords to the B0 and B1 block deciphers 70 and 80, the descrambling data of the BO and B1 intermediate buffers 50 and 60, and the B0 and B1 block deciphers. An exclusive OR circuit for calculating and outputting the descrambled data of the wipers 70 and 80 as an exclusive OR, and a descramble data buffer for temporarily storing the operation data of the exclusive OR circuit and the previous scrambled data. It consists of 90.

또한 상기 스크램블 데이터 버퍼(10) 및 PSI 컨트롤워드 버퍼(20)와, 스트림 디사이퍼(30)와, B0 및 B1 블록 디사이퍼(70)(80)와, 키 스케줄러(40)와, 배타적 논리합 회로(XOR)와, 디스크램블 데이터 버퍼(90)는 순차적으로 파이프라인 방식으로 연결되어 있다.The scrambled data buffer 10 and the PSI control word buffer 20, the stream decipher 30, the B0 and B1 block deciphers 70 and 80, the key scheduler 40, and an exclusive OR circuit. (XOR) and the descramble data buffer 90 are sequentially connected in a pipelined manner.

또한 B0 및 B1 블록 디사이퍼(70)(80)의 디사이퍼링 데이터와 B0 및 B1 중간버퍼(50)(60)의 디스크램블링 데이터는 각각 제1 및 제2 멀티플렉서(MUX1)(MUX2)에 의해 다중화되어 배타적 논리합 회로(XOR)에 인가되고, 상기 배타적 논리합 회로(XOR)의 출력은 재차 스크램블 데이터와 제3 멀티플렉서(MUX3)를 통해 다중화 처리되어 출력된다.In addition, the deciphering data of the B0 and B1 block deciphers 70 and 80 and the descrambling data of the B0 and B1 intermediate buffers 50 and 60 are respectively controlled by the first and second multiplexers MUX1 and MUX2. The multiplexing is applied to the exclusive OR circuit XOR, and the output of the exclusive OR circuit XOR is multiplexed through the scrambled data and the third multiplexer MUX3 and output.

상기한 구성을 갖는 디지탈 방송신호의 디스크램블링 장치의 동작은 다음과 같다.The operation of the descrambling apparatus for the digital broadcast signal having the above configuration is as follows.

도 2의 (가)를 참조하면, 스트림 디사이퍼(30)는 스크램블된 데이터 버퍼에 데이터가 모두 도착되면 동작(Deciphering)을 시작한다. 만약 한 패킷내에서 디스크램블할 데이터가 8바이트 이하이면 이 데이터는 바로 디스크램블 데이터 버퍼(90)에 전송되며 다음 패킷의 디스크램블링으로 들어간다.Referring to FIG. 2A, the stream decipher 30 starts deciphering when all the data arrives in the scrambled data buffer. If the data to be descrambled in one packet is 8 bytes or less, this data is transferred directly to the descramble data buffer 90 and enters the descrambling of the next packet.

그러나 디스크램블할 데이터가 8바이트 이상이면 스트림 디사이퍼(30)는 8바이트씩 디스크램블링을 하게되고, 그 결과를 B0 중간 버퍼(50)와 B1 중간 버퍼(60)에 번갈아 저장하며, 저장과 동시에 해당 B0 및 B1 블록 디사이퍼들(70)(80)의 동작을 실행시킨다.However, if the data to be descrambled is 8 bytes or more, the stream decipher 30 descrambles the data by 8 bytes, and the result is alternately stored in the B0 intermediate buffer 50 and the B1 intermediate buffer 60 and simultaneously stored. The operations of the B0 and B1 block deciphers 70 and 80 are executed.

한 패킷은 이렇게 8바이트씩 처리된다.One packet is processed like this by 8 bytes.

마지막남은 데이터가 8바이트가 않될 경우에는 블록 디사이퍼링은 하지않고 도 2의 (나)에 도시한 바와같이 스트림 디사이퍼(30)의 단계에서 1 패킷 데이터 처리가 끝난다.If the last remaining data is less than 8 bytes, one packet data processing is completed in the stage of the stream decipher 30 as shown in (b) of FIG. 2 without block deciphering.

따라서 이 경우에는 먼저 8바이트 데이터들의 블록 디사이퍼링이 끝날때를 기다려 이들이 모두 디스크램블된 데이터 버퍼에 처리된 데이터의 순서에 맞게 재배열된다. 마지막이 8바이트이면 그 이전 8바이트들과 동일하게 처리하며 이때가 데이터 처리율이 가장 높은때이다(도 2의 (가)에 도시된 타이밍 챠트 참조). 여기서 8바이트의 스트림 디사이퍼링에는 32×1클럭(1스텝)이 소요된다.Therefore, in this case, first wait for the end of block deciphering of 8-byte data, and they are all rearranged in order of the data processed in the descrambled data buffer. If the end is 8 bytes, the processing is the same as the previous 8 bytes, and this is when the data throughput is the highest (see the timing chart shown in Fig. 2A). Here, 8 bytes of stream deciphering requires 32 x 1 clock (one step).

다음 B0 및 B1 블록 디사이퍼(70)(80)는 스트림 디사이퍼(30)로 부터 시작신호를 받으면 해당 B0 및 B1 중간 버퍼(50)(60)로부터 데이터를 자신의 내부 레지스터로 로딩하고 한 클럭에 한 키워드씩을 로딩하여 디스크램블링 동작을 수행한다.When the next B0 and B1 block deciphers 70 and 80 receive a start signal from the stream decipher 30, they load data from the corresponding B0 and B1 intermediate buffers 50 and 60 into their internal registers and clock one clock. The descrambling operation is performed by loading one keyword at a time.

이렇게 56클럭 이후에 디스크램블링 데이터가 생성되면 이 데이터와 다른 블록 디사이퍼의 중간 버퍼에 있는 데이터는 제1 및 제2 멀티플렉서(MUX1)(MUX2)를 통해 다중화 처리되고, 이어서 배타적 논리합 회로(XOR)에 의해 연산되며 재차 제3 멀티플렉서(MUX3)를 통해 다중화 처리되면 최종적으로 디스크램블된 데이터를 출력한다.When the descrambling data is generated after 56 clocks, this data and the data in the intermediate buffer of the other block decipher are multiplexed through the first and second multiplexers MUX1 and MUX2, and then an exclusive OR circuit (XOR). It is computed by the control unit and if multiplexed again through the third multiplexer (MUX3), finally descrambled data is output.

도 2는 스트림 디사이퍼와 2개의 블록 디사이퍼의 동작 타이밍을 나타낸 것이다.2 shows the operation timings of a stream decipher and two block deciphers.

도 2의 (가)는 한 패킷이 8바이트의 배수가 되는 경우에 해당하는 것으로써, 디스크램블링 장치의 데이터 처리율은 데이터 지연없이 스트림 디사이퍼의 데이터 처리율과 일치한다.2A corresponds to the case where one packet is a multiple of 8 bytes, and the data throughput of the descrambling apparatus is consistent with the data throughput of the stream decipher without data delay.

도 2의 (나)는 마지막이 8바이트 미만인 경우로 다음 패킷의 시작전까지 데이터 지연이 발생한 것이다.In FIG. 2B, when the end is less than 8 bytes, a data delay occurs until the start of the next packet.

한편 키 스케줄러(40)는 도 4에 도시된 바와 같은 컨트롤 워드를 입력받아 56바이트의 키워드를 생성하게 된다.Meanwhile, the key scheduler 40 receives a control word as shown in FIG. 4 and generates a 56 byte keyword.

상기 키 스케줄러(40)는 다수개의 키워드 레지스터(41, 41-1, 41-2, 41-3, 41-4, 41-5, 41-6) 및 스위치 매트릭스(40-1, 40-2, 40-3, 40-4, 40-5, 40-6)로 구성되며, 상기 스위치 매트릭스들(40-1, 40-2, 40-3, 40-4, 40-5, 40-6)에 각각 [55:48], [47:40], [39:32], [31:24], [23:16], [15:8], [7:0]의 키워드가 인가되면, PSI 컨트롤 워드는 6스텝에 의해 키 워드로 변환된다.The key scheduler 40 includes a plurality of keyword registers 41, 41-1, 41-2, 41-3, 41-4, 41-5, 41-6, and switch matrices 40-1, 40-2, 40-3, 40-4, 40-5, 40-6, and the switch matrices 40-1, 40-2, 40-3, 40-4, 40-5, 40-6 If the keywords of [55:48], [47:40], [39:32], [31:24], [23:16], [15: 8], and [7: 0] are applied, respectively, the PSI control The word is converted into a key word in 6 steps.

상기 컨트롤 워드들은 주기적으로 변하게 되며 이때마다 새로운 키워드를 생성해야 하는데 이 시간이 오래 걸리면 도 1에 도시된 블록 디사이퍼의 동작이 지연되는 효과를 가져오게 된다.The control words change periodically, and a new keyword must be generated at this time. When this time is long, the operation of the block decipher shown in FIG. 1 is delayed.

그러므로 상기 키 스케줄러(40)에 인가되는 컨트롤 워드들은 원래의 알고리즘대로라면 56키워드의 생성에 512스텝이 걸리는데 이러한 키워드 발생에 대한 알고리즘 자체를 병렬화하면, 도면 도 4와 같이 된다. 단, 6스텝에 의해 키 스케줄링 동작을 완료함으로써 디사이퍼들의 데이터 처리율에 거의 영향을 주지 않고 실시간대로 디사이퍼링 할 수 있다.Therefore, the control words applied to the key scheduler 40 take 512 steps to generate 56 keywords according to the original algorithm. If the algorithm itself for the generation of these keywords is parallelized, as shown in FIG. 4. However, by completing the key scheduling operation in 6 steps, the deciphering can be performed in real time with little effect on the data throughput of the deciphers.

이상에서 상세히 설명한 바와 같이, 본 발명에 따른 디지탈 방송신호의 디스크램블링 장치에 의하면 다음과 같은 효과가 있다.As described above in detail, the apparatus for descrambling the digital broadcast signal according to the present invention has the following effects.

첫째, 본 발명은 상기한 공통 스크램블링 명세서에 적합하고 40Mbps 이상의 DVB의 데이터 전송비를 만족하는 데이터 처리율을 갖는다.First, the present invention conforms to the above common scrambling specification and has a data throughput rate that satisfies the data transfer rate of DVB of 40 Mbps or more.

둘째, 본 발명은 디스크램블링을 수행하는 소자들이 파이프라인 방식으로 연결되므로 하드웨어의 구조 자체가 단순하고 디스크램블링 데이터 처리에 적합하도록 논리적인 분할이 잘이루어져 있다.Second, in the present invention, since the descrambling elements are connected in a pipelined manner, the logical structure of the hardware is simple and the logical division is well performed so as to be suitable for the descrambling data processing.

Claims (3)

일시 저장된 스크램블 데이터와 PSI 컨트롤 워드를 각각 출력하는 버퍼들과; 상기 스크램블 데이터를 공통클럭신호에 따라 디스크램블링 하여 중간버퍼에 번갈아 가며 저장하는 스트림 디사이퍼와; 상기 스트림 디사이퍼로 부터 시작신호를 제공받아 해당 중간 버퍼로부터 데이터를 자신의 내부 레지스터로 로딩하고 한 클럭에 한 키워드씩 로딩하여 디스크램블된 데이터를 발생하는 블록 디사이퍼와; 상기 블록 디사이퍼에 PSI 컨트롤워드와 관련한 내부 키워드를 제공하는 키 스케줄러와; 상기 중간버퍼의 디스크램블링 데이터와 상기 블록 디사이퍼의 디스크램블 데이터를 배타적 논리합으로 연산하여 출력하는 배타적 논리합 회로와; 상기 배타적 논리합 회로의 연산 데이터와 이전의 스크램블 데이터를 일시 저장하는 디스크램블 데이터 버퍼로 구성된 것을 특징으로 하는 디지탈 방송신호의 디스크램블링 장치.Buffers for outputting temporarily stored scrambled data and a PSI control word; A stream decipher for descrambling the scrambled data according to a common clock signal and alternately storing the scrambled data in an intermediate buffer; A block decipher receiving the start signal from the stream decipher and loading data from the corresponding intermediate buffer into its internal register and loading the keyword by one keyword in one clock to generate descrambled data; A key scheduler for providing an internal keyword associated with a PSI control word to the block decipher; An exclusive OR circuit for calculating and outputting the descrambling data of the intermediate buffer and the descrambling data of the block decipher with an exclusive OR; And a descramble data buffer for temporarily storing the operation data of the exclusive logical sum circuit and the previous scrambled data. 제 1 항에 있어서, 상기 버퍼들과, 스트림 디사이퍼와, 블록 디사이퍼와, 키 스케줄러와, 배타적 논리합 회로는 파이프라인 방식으로 연결된 것임을 특징으로 하는 디지탈 방송신호의 디스크램블링 장치.The apparatus of claim 1, wherein the buffers, the stream decipher, the block decipher, the key scheduler, and the exclusive OR circuit are connected in a pipelined manner. 제 1 항에 있어서, 상기 키 스케줄러는 다수개의 키워드 레지스터 및 스위치 매트릭스로 구성되며, 상기 스위치 매트릭스들에 각각 [55:48], [47:40], [39:32], [31:24], [23:16], [15:8], [7:0]의 키워드가 인가되면, PSI 데이터가 6스텝에 의해 키 스케줄링을 수행함을 특징으로 하는 디지탈 방송신호의 디스크램블링 장치.The method according to claim 1, wherein the key scheduler is composed of a plurality of keyword registers and a switch matrix, wherein [55:48], [47:40], [39:32], [31:24] are respectively assigned to the switch matrices. , [23:16], [15: 8], and [7: 0] are applied, the PSI data descrambling apparatus for digital broadcast signals, characterized in that key scheduling is performed in six steps.
KR1019970006266A 1997-02-27 1997-02-27 Descrambler of digital broadcasting signal Expired - Fee Related KR100232140B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970006266A KR100232140B1 (en) 1997-02-27 1997-02-27 Descrambler of digital broadcasting signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970006266A KR100232140B1 (en) 1997-02-27 1997-02-27 Descrambler of digital broadcasting signal

Publications (2)

Publication Number Publication Date
KR19980069286A KR19980069286A (en) 1998-10-26
KR100232140B1 true KR100232140B1 (en) 1999-12-01

Family

ID=19498208

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970006266A Expired - Fee Related KR100232140B1 (en) 1997-02-27 1997-02-27 Descrambler of digital broadcasting signal

Country Status (1)

Country Link
KR (1) KR100232140B1 (en)

Also Published As

Publication number Publication date
KR19980069286A (en) 1998-10-26

Similar Documents

Publication Publication Date Title
EP0679028B1 (en) Inverse transport processor with memory address circuitry
US5521979A (en) Packet video signal inverse transport system
US5483287A (en) Method for forming transport cells for conveying compressed video data
US6269107B1 (en) Device and method for demultiplexing transport stream
JP5441134B2 (en) How to process packetized data streams
US5613003A (en) Packet video signal inverse transport processor memory address circuitry
CA2145900C (en) Media error code generation as for a video inverse transport processor
US20080134234A1 (en) Conditional access filter as for a packet video signal inverse transport system
US20060291654A1 (en) Apparatus and method for descrambling transport stream data
KR100232140B1 (en) Descrambler of digital broadcasting signal
JPH10262232A (en) Digital video broadcasting
Kim et al. Design and implementation of MPEG-2/DVB scrambler unit and VLSI chip
Jung et al. Design and implementation of a multi-stream cableCARD with a high-speed DVB-common descrambler
US7050436B1 (en) Device and method for processing a stream of data
EP1262866A1 (en) A method and circuitry for determining the validity of information
JPH09510593A (en) Data decryption device for pay television signal receiving system
JPH0358582A (en) Packet transmission system, packet transmitter and packet receiver for television signal
JPH09510592A (en) Data decryption device for pay television signal receiving system
HK1059522B (en) Conditional access information arrangement

Legal Events

Date Code Title Description
A201 Request for examination
PA0109 Patent application

Patent event code: PA01091R01D

Comment text: Patent Application

Patent event date: 19970227

PA0201 Request for examination

Patent event code: PA02012R01D

Patent event date: 19970227

Comment text: Request for Examination of Application

PG1501 Laying open of application
E701 Decision to grant or registration of patent right
PE0701 Decision of registration

Patent event code: PE07011S01D

Comment text: Decision to Grant Registration

Patent event date: 19990724

GRNT Written decision to grant
PR0701 Registration of establishment

Comment text: Registration of Establishment

Patent event date: 19990903

Patent event code: PR07011E01D

PR1002 Payment of registration fee

Payment date: 19990904

End annual number: 3

Start annual number: 1

PG1601 Publication of registration
PR1001 Payment of annual fee

Payment date: 20020326

Start annual number: 4

End annual number: 4

PR1001 Payment of annual fee

Payment date: 20030701

Start annual number: 5

End annual number: 5

PR1001 Payment of annual fee

Payment date: 20040702

Start annual number: 6

End annual number: 6

PR1001 Payment of annual fee

Payment date: 20050607

Start annual number: 7

End annual number: 7

PR1001 Payment of annual fee

Payment date: 20060616

Start annual number: 8

End annual number: 8

FPAY Annual fee payment

Payment date: 20070629

Year of fee payment: 9

PR1001 Payment of annual fee

Payment date: 20070629

Start annual number: 9

End annual number: 9

LAPS Lapse due to unpaid annual fee
PC1903 Unpaid annual fee

Termination category: Default of registration fee

Termination date: 20090810