KR0185947B1 - Method of decoding the selection program of a digital satellite broadcasting receiver and apparatus thereof - Google Patents

Method of decoding the selection program of a digital satellite broadcasting receiver and apparatus thereof Download PDF

Info

Publication number
KR0185947B1
KR0185947B1 KR1019960008374A KR19960008374A KR0185947B1 KR 0185947 B1 KR0185947 B1 KR 0185947B1 KR 1019960008374 A KR1019960008374 A KR 1019960008374A KR 19960008374 A KR19960008374 A KR 19960008374A KR 0185947 B1 KR0185947 B1 KR 0185947B1
Authority
KR
South Korea
Prior art keywords
program
decoding
packet
pmt
psi information
Prior art date
Application number
KR1019960008374A
Other languages
Korean (ko)
Other versions
KR970068615A (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 KR1019960008374A priority Critical patent/KR0185947B1/en
Publication of KR970068615A publication Critical patent/KR970068615A/en
Application granted granted Critical
Publication of KR0185947B1 publication Critical patent/KR0185947B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04HBROADCAST COMMUNICATION
    • H04H40/00Arrangements specially adapted for receiving broadcast information
    • H04H40/18Arrangements characterised by circuits or components specially adapted for receiving
    • H04H40/27Arrangements characterised by circuits or components specially adapted for receiving specially adapted for broadcast systems covered by groups H04H20/53 - H04H20/95
    • H04H40/90Arrangements characterised by circuits or components specially adapted for receiving specially adapted for broadcast systems covered by groups H04H20/53 - H04H20/95 specially adapted for satellite broadcast receiving
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04HBROADCAST COMMUNICATION
    • H04H60/00Arrangements for broadcast applications with a direct linking to broadcast information or broadcast space-time; Broadcast-related systems
    • H04H60/35Arrangements for identifying or recognising characteristics with a direct linkage to broadcast information or to broadcast space-time, e.g. for identifying broadcast stations or for identifying users
    • H04H60/37Arrangements for identifying or recognising characteristics with a direct linkage to broadcast information or to broadcast space-time, e.g. for identifying broadcast stations or for identifying users for identifying segments of broadcast information, e.g. scenes or extracting programme ID
    • H04H60/372Programme
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4343Extraction or processing of packetized elementary streams [PES]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4345Extraction or processing of SI, e.g. extracting service information from an MPEG stream

Abstract

본 발명은 디지탈 위성방송수신기에서 부호화 및 다중화되어 전송되는 여러 프로그램중 원하는 프로그램을 선택하여 복호화하는 디지탈 위성방송수신기의 선택 프로그램 복호화방법 및 그 장치에 관한 것이다. 본 발명은 다중화를 역다중화하는 데 필요한 PSI처리에 있어, PAT또는 PMT 또는 CAT 등의 테이블이 완전히 입력된 상태에서만 PSI를 복호화하도록 하므로서 보다 효율적으로 프로그램 선택 및 복호화할 수 있는 효과를 제공한다.The present invention relates to a selected program decoding method and apparatus for a digital satellite broadcast receiver for selecting and decoding a desired program among a plurality of programs encoded, multiplexed and transmitted in a digital satellite broadcast receiver. According to the present invention, PSI processing required for demultiplexing multiplexing allows decoding of PSI only when a table such as PAT, PMT, or CAT is completely input, thereby providing an effect of more efficient program selection and decoding.

Description

디지탈 위성방송수신기의 선택프로그램 복호화방법 및 그 장치Selective program decoding method and apparatus for digital satellite broadcasting receiver

제1도는 일반적인 디지탈 위성방송수신기를 나타낸 구성도.1 is a block diagram showing a general digital satellite broadcasting receiver.

제2도는 본 발명에 의한 디지탈 위성방송수신기의 선택 프로그램 복호화장치를 나타내는 구성도.2 is a block diagram showing an apparatus for decoding a selected program of a digital satellite broadcast receiver according to the present invention.

제3도는 제2도 장치의 동작을 설명하기 위한 흐름도.3 is a flow chart for explaining the operation of the device of FIG.

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

21 : 시스템 복호기 22 : 메모리부21: system decoder 22: memory unit

23 : 마이콤23: micom

본 발명은 여러개의 프로그램이 부호화 및 다중화되어 전송되는 트랜스포트 스트림(transport stream; 이하 TS라 함)에서 원하는 프로그램을 선택하여 복호화하는 디지탈 위성방송수신기의 선택 프로그램 복호화방법 및 그 장치에 관한 것으로 특히 프로그램 선택과 관련한 PSI정보를 효율적으로 처리할 수 있도록 한 디지탈 위성방송수신기의 선택 프로그램 복호화방법 및 그 장치에 관한 것이다.The present invention relates to a selective program decoding method and apparatus for a digital satellite broadcast receiver for selecting and decoding a desired program from a transport stream (hereinafter referred to as TS) in which a plurality of programs are encoded and multiplexed. The present invention relates to a selection program decoding method of a digital satellite broadcasting receiver and an apparatus for efficiently processing PSI information related to selection.

아날로그 위성방송이 화질, 데이타 서비스 등의 여러면에서 사람들의 다양한 욕구를 만족시키는 데에는 한계가 있다. 그래서, 디지탈 신호처리기술(영상압축기술, 디지탈통신)의 발달로 방송방식이 디지탈로 바뀌어 가고 있다.한편, 디지탈 위성방송에서 비트열 형태로 부호화된 음성, 영상데이타 및 그 이외의 보조데이타를 전송하기 위해서는 이 비트열들을 패킷화하고 다중화하여야 한다. 이를 위해 MPEG 2에서는 시스템 규격(ISO/IEC 13818-1)을 상세히 정의하여, 음성, 영상데이타 및 보조데이타 비트열들을 PES(Packetized Elementary Stream)패킷화하고 이를 TS(Transport Stream)로 만들어 사용하도록 규정하고 있다.Analog satellite broadcasting is limited in satisfying people's various needs in various aspects such as image quality and data service. Therefore, with the development of digital signal processing technology (video compression technology, digital communication), the broadcasting method is changing to digital. On the other hand, in digital satellite broadcasting, voice, video data and other auxiliary data encoded in the form of bit strings are transmitted. To do this, these bit streams must be packetized and multiplexed. To this end, MPEG 2 defines the system standard (ISO / IEC 13818-1) in detail, and specifies that the audio, video data, and auxiliary data bit streams are packetized elementary stream (PES) packets, which are used as transport streams (TS). Doing.

제1도는 디지탈방식의 국내 무궁화위성의 방송 수신기를 나타낸 구성도로서, 전송되는 TS비트열의 위성방송신호중 사용자가 선택한 프로그램에 대해서 복호화하도록 구성된다.FIG. 1 is a block diagram showing a digital receiver of a Korean Mugunghwa satellite, and is configured to decode a program selected by a user among satellite broadcast signals of a transmitted TS bit string.

제1도에서, 위성방송수신기의 채널복호기(12)는 전송되는 TS비트열의 위성방송신호를 수신받아 시스템복호기(13)로 인가한다. 시스템복호기(13)는 수신된 TS 비트열의 위성방송신호에서 TS 패킷헤더(Packet Header)를 분리해내고, 그중 사용자에 의해 선택된 방속국 프로그램에 해당하는 영상·음성데이타를 각각 분리하여 출력한다. 여기에서 전송되는 TS비트열은 패킷구조를 갖으며, 다중화된 TS패킷은 4바이트의 패킷헤더와 184바이트의 페이로드(Payload)부분을 갖는 188 바이트의 한 패킷이 형성된다. 패킷헤더에는 패킷의 페이로드에 어떤 종류의 비트열이 들어있는지를 알 수 있도록 PID(Packet ID)가 있다. 페이로드에는 유효한 데이타가 실리는 구간으로 각 방송국의 방송프로그램에 해당하는 MPEG 2에 따라 압출한 영상·음성 신호 및 각종 테이블이 실리게 된다. 여기서, 테이블은 여러개의 프로그램이 부호화 및 다중화되어 전송되는 TS 패킷에서 원하는 프로그램을 선택하여 복호화할때 프로그램과 이 PID간의 연결정보(mapping table)가 되며, 이를 PSI(Program Specific Information)라 한다. PSI는 프로그램번호와 그 프로그램에 해당하는 영산신호의 PID 및 그 프로그램에 해당하는 음성신호의 PID로 이루어지는 PMT(Program Map Table)와, 각 PMT를 하나의 테이블로 형성한 PAT(Program Association Table)가 있다. PAT는 향상 PID가 0인 TS패킷에 존재한다.In FIG. 1, the channel decoder 12 of the satellite broadcast receiver receives the satellite broadcast signal of the TS bit string transmitted thereto and applies it to the system decoder 13. The system decoder 13 separates the TS packet header from the received satellite broadcast signal of the TS bit stream, and separately outputs the video and audio data corresponding to the broadcasting station program selected by the user. The TS bit string transmitted here has a packet structure, and a multiplexed TS packet has a packet of 188 bytes having a packet header of 4 bytes and a payload portion of 184 bytes. The packet header has a PID (Packet ID) so that it knows what kind of bitstream the packet's payload contains. The payload is a section in which valid data is carried, and video and audio signals and various tables extruded according to MPEG 2 corresponding to broadcast programs of each broadcasting station are carried. Here, a table becomes a mapping table between a program and this PID when a desired program is selected and decoded from a TS packet transmitted by multiple programs encoded and multiplexed, which is referred to as PSI (Program Specific Information). PSI includes a program map table (PMT) consisting of a program number, a PID of a commercial signal corresponding to the program, and a PID of a voice signal corresponding to the program, and a PAT (Program Association Table) including each PMT as a table. have. PAT is present in TS packets with an enhanced PID of zero.

다시, 제1도에서 시스템복호기(13)는 채널 절환 또는 전원을 켤때, 시청자가 원하는 프로그램번호를 마이콤(11)을 통해 입력받고, 그 프로그램에 해당하는 PMT의 PID를 PAT에서 찾아낸 다음, 그 PMT를 제1메모리부(14)에 저장한다. 시스템복호기(13)는 제1메모리부(14)에 저장된 PMT를 찾아 각 영상 및 음성의 PID를 알아낸다. 일단 PID가 찾아지면 채널 또는 PMT가 변경되지 않는 한 해당된 PID의 패킷만을 복호화한다. 영상복호기(16)는 영상패킷으로 부터 PES패킷헤더를 분리해 내고, 영상데이타의 비트열을 복호화하여 복원한 후 복원된 영상데이타를 NTSC부호기(18)로 출력한다. 여기서, 제2메모리부(17)는 이전화면(frame)의 영상데이타를 저장하는 프레임버퍼로 동작한다. NTSC부호기(18)는 입력된 영상데이타를 NTSC방송방식의 TV를 통해 시청할 수 있도록 부호화하여 TV측에 공급한다. 음성복호기(15)는 음성패킷으로부터 PES패킷헤더를 분리해 내고, 음성데이타의 비트열을 복호화하여 복원한 후 복원된 음성데이타(Audio)를 스피커로 송출한다. 한편, 마이콤(11)은 시스템복호기(13)에서 분리된 부가적데이타중 스마트카드부(19)에 저장된 데이타 요구신호에 따라 스마트카드부(19)에 저장된 데이타 즉, 사용자의 시청자격, 유료채널에 대한 시청기록 등의 데이타를 읽어내어 모뎀부(20)로 출력한다. 모뎁부(20)는 마이콤(11)으로부터 인가 받은 데이타를 전화라인을 통해 관리센타로 전송한다.Again, in FIG. 1, the system decoder 13 receives a program number desired by the viewer through the microcomputer 11 when switching channels or turning on the power, finds the PID of the PMT corresponding to the program in the PAT, and then the PMT. Is stored in the first memory unit 14. The system decoder 13 finds the PMT stored in the first memory unit 14 and finds the PID of each video and audio. Once the PID is found, only packets of the corresponding PID are decoded unless the channel or PMT is changed. The video decoder 16 separates the PES packet header from the video packet, decodes and restores the bit string of the video data, and outputs the restored video data to the NTSC encoder 18. Here, the second memory unit 17 operates as a frame buffer that stores the image data of the previous frame. The NTSC encoder 18 encodes the input video data so that it can be watched through an NTSC broadcast TV and supplies it to the TV side. The voice decoder 15 separates the PES packet header from the voice packet, decodes and restores the bit string of the voice data, and sends the reconstructed voice data (Audio) to the speaker. On the other hand, the microcomputer 11 is the data stored in the smart card unit 19 according to the data request signal stored in the smart card unit 19 of the additional data separated from the system decoder 13, that is, the user's viewing qualifications, paid channels The data such as the viewing record and the like are read out and output to the modem unit 20. The module 20 transmits the data received from the microcomputer 11 to the management center through the telephone line.

이처럼, 디지탈방식의 국내 무궁화위성방송은 프로그램, 데이타, 가입자와 시스템 관리를 위한 RSMS(Resource and Subscriber Management System), 프로그램 가이드 정보 등이 다중화되어 전송된다. 아울러, 이러한 정보를 역다중화하는 데 필요한 PSI정보도 함께 전송된다. 그 외에도 PAT와 PMT에는 프로그램 가이드, RSMS메세지 등에 대한 연결정보도 가지고 있다. 즉, PAT의 특정 프로그램번호에 대해 RSMS메세지중 RCM메세지에 대한 PID를 갖는다. PAT와 PMT내의 필드내용은 사용환경에 따라 틀리므로 PAT와 PMT의 정보 복호화는 마이콤에서 이루어져야 한다.As such, digital Mugunghwa satellite broadcasting in Korea is transmitted by multiplexing programs, data, resource and subscriber management system (RSMS) for managing subscribers and systems, and program guide information. In addition, PSI information necessary for demultiplexing such information is also transmitted. In addition, the PAT and PMT have connection information for program guides, RSMS messages, and so on. That is, the specific program number of the PAT has a PID for the RCM message in the RSMS message. Since the contents of the fields in the PAT and PMT are different according to the use environment, the information decoding of the PAT and PMT should be performed in the microcomputer.

따라서, 본 발명은 디지탈 위성방송수신기에서 부호화 및 다중화된 여러개의 프로그램중 원하는 프로그램를 선택하여 복호화하는데 있어 PAT와 PMT등의 PSI정보를 마이콤에서 보다 효율적으로 처리할 수 있도록 한 디지탈 위성방송수신기의 선택 프로그램 복호화방법을 제공함에 있다.Therefore, in the present invention, in selecting and decoding a desired program among a plurality of programs encoded and multiplexed in a digital satellite broadcast receiver, a selection program of a digital satellite broadcast receiver capable of processing PSI information such as PAT and PMT more efficiently in a microcomputer. The present invention provides a decoding method.

본 발명의 다른 목적은 전술한 디지탈 위성방송수신기의 선택 프로그램 복호화방법을 구현하기 위한 장치를 제공함에 있다.Another object of the present invention is to provide an apparatus for implementing the above-described method of decoding the selected program of the digital satellite broadcast receiver.

이와 같은 목적들을 달성하기 위한 본 발명에 따른 디지탈 위성방송수신기의 선택 프로그램 복호화방법은 디지탈 위성방송수신기에서, 여러개의 프로그램이 부호화 및 다중화되어 전송되는 트랜스포트 스트림(TS)에서 원하는 프로그램을 선택하여 복호화하는 방법에 있어서, 수신한 TS비트열에서 프로그램번호와 그 프로그램번호와 그 프로그램에 해당하는 영상신호와 음성신호 각각의 PID로 이루어지는 PMT(Program Map Table)와, 각 PMT를 하나의 테이블로 형성한 PAT(Program Association Table)의 PSI정보를 분리하여 저장하는 제1단계와, 상기 제1단계에서 한 패킷의 PSI정보가 저장되면 인터럽트를 발생하는 제2단계와, 상기 제2단계에서 인터럽트가 발생하면, 상기 제1단계에서 저장한 PSI정보를 읽어내어 완전한 섹션 구조를 이루는 지를 점검하는 제3단계와, 상기 제3단계에서 PSI정보가 완전한 섹션 구조를 이루면 이를 복호화하여 선택한 프로그램에 해당하는 영상 및 음성신호 각각의 PID를 구하고, 완전한 섹션 구조가 아니면 상기 제2단계의 인터럽트를 해제하는 제4단계, 및 상기 제4단계에서 구한 PID를 이용하여 수신된 TS 비트열에서 선택한 프로그램에 해당하는 패킷을 영상패킷과 음성패킷으로 각각 분리하여 복호화하는 제5단계를 포함한다.In order to achieve the above object, the selected program decoding method of a digital satellite broadcasting receiver according to the present invention selects and decodes a desired program from a transport stream (TS) in which several programs are encoded and multiplexed in a digital satellite broadcast receiver. In the method of the present invention, a program map table (PMT) comprising a program number, a program number, a video signal and an audio signal corresponding to the program in the received TS bit string, and each PMT are formed in one table A first step of separating and storing PSI information of a PAT (Program Association Table); a second step of generating an interrupt when PSI information of one packet is stored in the first step; and an interrupt occurring in the second step. And a third step of checking whether the PSI information stored in the first step is read to form a complete section structure, and the third step. If the PSI information has a complete section structure in the step, the PID of each of the video and audio signals corresponding to the selected program is decoded by decoding the PSI information, and if not, the fourth step of releasing the interrupt of the second step, and the fourth step. And a fifth step of separating and decoding a packet corresponding to a program selected from the received TS bit string using the PID obtained in the step, into a video packet and a voice packet, respectively.

본 발명의 다른 목적을 달성하기 위한 본 발명에 따른 디지탈 위성방송수신기의 선택 프로그램 복호화장치는 디지탈 위성방송수신기에서, 여러개의 프로그램이 부호화 및 다중화되어 전송되는 트랜스포트 스트림(TS)에서 원하는 프로그램을 선택하여 복호화하는 장치에 있어서, 수신한 TS비트열에서 프로그램번호와 그 프로그램에 해당하는 영상신호와 음성신호 각각의 PID로 이루어지는 PMT(Program Map Table)와, 각 PMT를 하나의 테이블로 형성한 PAT(Program Association Table)의 PSI정보를 분리하여 출력하고, 마이콤에 인터럽트를 걸어서 얻게 되는 PID에 의해 선택한 프로그램에 해당하는 패킷을 영상패킷과 음성패킷으로 각각 분리하여 출력하는 시스템복호기와, 상기 시스템복호기에서 분리한 패킷의 영상과 음성데이타를 각각 복호화하여 출력하능 영상·음성복호기와, 상기 시스템복호기에서 분리한 PSI정보를 저장하는 메모리부, 및 상기 시스템복호기에 의해 인터럽트가 걸리면, 상기 메모리부에서 읽어낸 PSI정보를 복호화하여 사용자에 의해 선택한 프로그램번호에 해당하는 영상 및 음성신호 각각의 PID를 구하고, 이를 상기 시스템복호기로 출력하는 마이콤을 포함한다.In accordance with another aspect of the present invention, a program decoding apparatus for a digital satellite broadcast receiver selects a desired program from a digital satellite broadcast receiver and a transport stream (TS) in which several programs are encoded and multiplexed and transmitted. In the decoding apparatus, a PMT (Program Map Table) consisting of a PID of each program number, a video signal and an audio signal corresponding to the program in a received TS bit string, and a PAT having one table of each PMT ( A system decoder that separates and outputs the PSI information of the Program Association Table, and separates and outputs the packets corresponding to the program selected by the PID obtained by interrupting the microcomputer into a video packet and an audio packet, and separates the system decoder from the system decoder. Decode and output video and audio data of one packet, respectively A memory unit for storing the PSI information separated from the system decoder, and a video and audio corresponding to a program number selected by the user by decoding the PSI information read from the memory unit when interrupted by the system decoder. And a microcomputer for obtaining the PID of each signal and outputting the PID to the system decoder.

이하, 첨부한 도면들을 참조하여 본 발명의 바람직한 실시예를 상세히 기술하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

제2도는 본 발명에 따른 디지탈 위성방송수신기의 선택 프로그램 복호화장치를 나타내는 구성도이다. 도시된 바와 같이, 본 발명의 장치는 제1도 수신기의 구성과 동일하며, 단지 큐(queue)구조의 버퍼들로 된 메모리부(22)와, PAT또는 PMT또는 CAT등의 PSI정보를 복호화하는 마이콤(23), 및 마이콤(23)에 인터럽트(Interrupt)를 거는 시스템복호기(21)로 변형하여 포함하도록 구성한다.2 is a block diagram showing an apparatus for decoding a selected program of a digital satellite broadcasting receiver according to the present invention. As shown, the apparatus of the present invention is the same as the configuration of the receiver of FIG. 1, and merely decodes the memory unit 22 of the queue structure buffers and PSI information such as PAT or PMT or CAT. The microcomputer 23 and the system decoder 21 which interrupts the microcomputer 23 are configured to be included.

이와 같이 구성된 본 발명에 따른 디지탈 위성방송수신기의 선택 프로그램 복호화장치에 대한 동작을 제3도를 참조하여 좀더 구체적으로 설명한다.An operation of the apparatus for decoding a selected program of the digital satellite broadcast receiver according to the present invention configured as described above will be described in more detail with reference to FIG.

제3도는 제2도 장치의 동작을 설명하기 위한 흐름도이다.3 is a flow chart for explaining the operation of the device of FIG.

먼저, 시청자가 마이콤(23)을 통해 프로그램을 선택하였을 경우, 시스템복호기(21)는 채널복호기(제1도 참조)를 통하여 전달되는 TS패킷중에서 PAT와, 그 프로그램에 해당하는 PMT와, CAT의 섹션을 이루는 데이타만을 분리하여 메모리부(22)에 저장한다. 여기서, 메모리부(22)는 큐 구조의 버퍼로 구성되여 데이타 저장 및 제어효율을 높일 수 있으며, PAT또는 PMT 또는 CAT각각에 대해 버퍼가 할당된다. 시스템복호기(21)는 메모리부(22)로 한 패킷 즉, 188바이트가 입력될 때 마이콤(23)에 인터럽트(Interrupt)를 걸어 PAT또는 PMT또는 CAT등의 PSI정보의 복호화가 마이콤(23)에서 수행될 수 있도록 한다. 그래서, 선택한 프로그램에 대한 음성 및 영상(Audio Video) PID를 구할 수 있도록 한다. 마이콤(23)은 시스템복호기(21)로부터 인터럽트가 발생되면, 메모리부(22)에 저장된 PSI의 TS패킷을 읽어내어 복호화하여 그 프로그램에 대한 PID를 얻어내어 시스템복호기(21)로 출력한다. 시스템복호기(21)는 마이콤(23)으로부터 인가받은 PID를 이용하여 수신된 TS 패킷들중 시청자가 선택한 프로그램에 해당하는 음성 및 영상 비트열만을 분리하여 출력한다. 이에 대해 보다 구체적으로 언급하면, 시스템복호기(21)는 체널복호기(제1도 참조)를 통해 전달되는 TS패킷중에서 PSI의 TS패킷만을 메모리부(22)에 입력하여(단계 301), 메모리부(22)내에 할당된 각각의 해당되는 버퍼에 저장한다(단계302). 즉, 메모리부(22) 내 PAT버퍼 또는 PMT버퍼 각각에는 PAT또는 PMT섹션(section)에 해당되는 데이타만 저장된다. 시스템복호기(21)는 하나의 패킷이 다 저장되면 마이콤(23)에 인터럽트를 건다(단계303). 인터럽트가 걸린 마이콤(23)은 메모리부(22)내 버퍼에 저장된 데이타를 읽어들인 후 (단계304), 그 데이타로부터 PAT 또는 PMT 또는 RSMS메세지중 EMM메세지에 대한 PID등의 스크램블(scramble)관련 정보 테이블인 CAT(Contional Access Table) 섹션이 완전히 다 버퍼에 저장되었는 지를 체크한다.(단계305). 마이콤(23)은 체크결과, 완전한 PAT 또는 PMT 또는 CAT섹션이 버퍼에 있으면 그 PSI의 TS패킷을 복호화하여 선택한 프로그램의 음성 및 영상(Audio Video) PID를 얻어낸다(단계306). 마이콤(23)은 체크결과, 완전한 PAT 또는 PMT또는 CAT섹션이 버퍼에 있지 않으면 인터럽트를 종료한다. 다음 입력되는 PSI TS 패킷에 대해서도 완전한 테이블이 들어 왔는 지를 점검하여 완전한 테이블이 버퍼에 저장되었을 경우에만 복호화한다.First, when the viewer selects a program through the microcomputer 23, the system decoder 21 is a PAT in the TS packet transmitted through the channel decoder (see FIG. 1), the PMT corresponding to the program, and the CAT Only data constituting the section is separated and stored in the memory unit 22. Here, the memory unit 22 may be configured as a buffer having a queue structure to increase data storage and control efficiency, and a buffer is allocated to each of PAT, PMT, or CAT. The system decoder 21 interrupts the microcomputer 23 when one packet, i.e., 188 bytes, is input to the memory unit 22, and decrypts PSI information such as PAT or PMT or CAT. To be performed. Therefore, it is possible to obtain an audio and video PID for the selected program. When an interrupt is generated from the system decoder 21, the microcomputer 23 reads and decodes the TS packet of the PSI stored in the memory unit 22, obtains a PID for the program, and outputs the PID to the system decoder 21. The system decoder 21 separates and outputs only the audio and video bit strings corresponding to the program selected by the viewer among the TS packets received using the PID received from the microcomputer 23. More specifically, the system decoder 21 inputs only the TS packets of the PSI into the memory unit 22 among the TS packets transmitted through the channel decoder (see FIG. 1) (step 301). In each corresponding buffer allocated in step 22). That is, only the data corresponding to the PAT or PMT section is stored in each of the PAT buffer or PMT buffer in the memory unit 22. The system decoder 21 interrupts the microcomputer 23 when one packet is stored (step 303). After the interrupted microcomputer 23 reads the data stored in the buffer in the memory unit 22 (step 304), the scramble related information such as the PID for the EMM message in the PAT or PMT or RSMS message is read from the data. It is checked if the table (CAT) section, which is a table, is completely stored in the buffer (step 305). As a result of the check, if the complete PAT or PMT or CAT section is in the buffer, the microcomputer 23 decodes the TS packet of the PSI to obtain an audio and video PID of the selected program (step 306). The microcomputer 23 terminates the interrupt if the complete PAT or PMT or CAT section is not in the buffer as a result of the check. The PSI TS packet is then checked for complete table entry and decrypted only when the complete table is stored in the buffer.

상술한 바와 같이, 본 발명은 디지탈 위성방송수신기의 선택 프로그램 복호화방법 및 그 장치에 관한 것으로 부호화 및 다중화되어 전송되는 여러 프로그램중 원하는 프로그램을 선택하는 데 있어 필요한 PSI의 PAT또는 PMT또는 CAT섹션이 완전히 입력되었을 때에만 복호화하도록 하므로서 보다 효율적으로 프로그램을 선택하여 복호화할 수 있는 효과를 갖는다.As described above, the present invention relates to a method for decoding a selected program of a digital satellite broadcasting receiver and an apparatus thereof, and the PAT or PMT or CAT section of a PSI required for selecting a desired program from among various programs that are encoded, multiplexed and transmitted is completely made. Since decoding is performed only when it is input, the program can be selected and decoded more efficiently.

Claims (5)

디지탈 위성방송수신기에서, 여러개의 프로그램이 부호화 및 다중화되어 전송되는 트랜스포트 스트림(TS)에서 원하는 프로그램을 선택하여 복호화하는 장치에 있어서, 수신한 TS비트열에서 프로그램번호와 그 프로그램에 해당하는 영상신호와 음성신호 각각의 PID로 이루어지는 PMT(Program Map Table)와, 각 PMT를 하나의 테이블로 형성한 PAT(Program Association Table)의 PSI정보를 분리하여 출력하고, 마이콤에 인터럽트를 걸어서 얻게 되는 PID에 의해 선택한 프로그램에 해당하는 패킷을 영상패킷과 음성패킷으로 각각 분리하여 출력하는 시스템복호기; 상기 시스템복호기에서 분리한 패킷의 영상과 음성데이타를 각각 복호화하여 출력하는 영상·음성복호기; 상기 시스템복호기에서 분리한 PSI정보를 저장하는 메모리부; 및 상기 시스템복호기에 의해 인터럽트가 걸리면, 상기 메모리부에서 읽어낸 PSI정보를 복호화하여 사용자에 의해 선택한 프로그램번호에 해당하는 영상 및 음성신호 각각의 PID를 구하고, 이를 상기 시스템복호기로 출력하는 마이콤을 포함하는 디지탈 위성방송수신기의 선택프로그램 복호화장치.A device for selecting and decoding a desired program from a transport stream (TS) in which a plurality of programs are encoded and multiplexed in a digital satellite broadcasting receiver, the apparatus comprising: a program number and a video signal corresponding to the program in a received TS bit string And the PMT (Program Map Table) consisting of PID of each voice signal and the PSI information of PAT (Program Association Table) that forms each PMT as one table, and outputs them separately. A system decoder for separating and outputting a packet corresponding to a selected program into an image packet and an audio packet, respectively; A video / audio decoder for decoding and outputting the video and audio data of the packet separated by the system decoder; A memory unit for storing PSI information separated by the system decoder; And a microcomputer for decoding the PSI information read from the memory unit to obtain PIDs of video and audio signals corresponding to a program number selected by the user when an interrupt is generated by the system decoder, and outputting the PIDs to the system decoder. Selective program decoding device of a digital satellite broadcast receiver. 제1항에 있어서, 상기 메모리부는 PSI정보에 대해 PAT, PMT, CAT등의 테이블 각각으로 할당된 큐(queue)구조의 버퍼들로 이루어진 것을 특징으로 하는 디지탈 위성방송수신기의 선택 프로그램 복호화장치.The apparatus of claim 1, wherein the memory unit comprises buffers having a queue structure allocated to PSI, PAT, PMT, and CAT tables, respectively. 제1항에 있어서, 상기 시스템복호기는 상기 메모리부에 한 패킷의 PSI정보를 입력할 때마다 인터럽트를 발생하는 것을 특징으로 하는 디지탈 위성방송수신기의 선택 프로그램 복호화장치.2. The apparatus of claim 1, wherein the system decoder generates an interrupt each time the PSI information of one packet is input to the memory unit. 제3항에 있어서, 상기 마이콤은 상기 시스템복호기에서 인터럽트가 발생하면 상기 메모리부로부터 읽어낸 PAT또는 PMT또는 CAT의 PSI정보가 완전한 섹션 구조를 이루는 지를 점검하여, 완전한 섹션 구조를 이루면 그 PSI정보를 복호화하고 완전한 섹션 구조가 아니면 인터럽트를 해제하는 것을 특징으로 하는 디지탈 위성방송수신기의 선택 프로그램 복호화장치.The system of claim 3, wherein when the interrupt occurs in the system decoder, the microcomputer checks whether the PSI information of the PAT, PMT, or CAT read out from the memory unit has a complete section structure. And deciphering and disabling interrupts if they do not have a complete section structure. 디지탈 위성방송수신기에서, 여러개의 프로그램이 부호화 및 다중화되어 전송되는 트랜스포트 스트림(TS)에서 원하는 프로그램을 선택하여 복호화하는 방법에 있어서, 수신한 TS비트열에서 프로그램번호와 그 프로그램에 해당하는 영상신호와 음성선호 각각의 PID로 이루어지는 PMT(Program Map Table)와, 각 PMT를 하나의 테이블로 형성한 PAT(Program Association Table)의 PSI정보를 분리하여 저장하는 제1단계; 상기 제1단계에서 한 패킷의 PSI정보가 저장되면 인터럽트를 발생하는 제2단계; 상기 제2단계에서 인터럽트가 발생하면, 상기 제1단계에서 저장한 PSI정보를 읽어내어 완전한 섹션구조를 이루는 지를 점검하는 제3단계; 상기 제3단계에서 PSI정보가 완전한 섹션 구조를 이루면 이를 복호화하여 선택한 프로그램에 해당하는 영상 및 음성신호 각각의 PID를 구하고, 완전한 섹션 구조가 아니면 상기 제2단계의 인터럽트를 해제하는 제4단계: 및 상기 제4단계에서 구한 PID를 이용하여 수신된 TS 비트열에서 선택한 프로그램에 해당하는 패킷을 영상패킷과 음성패킷으로 각각 분리하여 복호화하는 제5단계를 포함하는 디지탈 위성방송수신기의 선택 프로그램 복호화방법.A method of selecting and decoding a desired program from a transport stream (TS) in which a plurality of programs are encoded and multiplexed in a digital satellite broadcasting receiver, the method comprising: a program number and a video signal corresponding to the program in a received TS bit string And a first step of separately storing PSI information of a PMT (Program Map Table) including a PID of each voice preference and a PAT (Program Association Table) in which each PMT is formed into one table; A second step of generating an interrupt when the PSI information of one packet is stored in the first step; A third step of checking whether a complete section structure is read by reading PSI information stored in the first step when an interrupt occurs in the second step; A fourth step of decoding the PSI information in the third step to obtain a PID of each of the video and audio signals corresponding to the selected program by decoding the PSI information, and releasing the interrupt of the second step if the PSI information is not a complete section structure; and And a fifth step of separating and decoding a packet corresponding to a program selected from a TS bit string received using the PID obtained in the fourth step into a video packet and a voice packet, respectively.
KR1019960008374A 1996-03-26 1996-03-26 Method of decoding the selection program of a digital satellite broadcasting receiver and apparatus thereof KR0185947B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960008374A KR0185947B1 (en) 1996-03-26 1996-03-26 Method of decoding the selection program of a digital satellite broadcasting receiver and apparatus thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960008374A KR0185947B1 (en) 1996-03-26 1996-03-26 Method of decoding the selection program of a digital satellite broadcasting receiver and apparatus thereof

Publications (2)

Publication Number Publication Date
KR970068615A KR970068615A (en) 1997-10-13
KR0185947B1 true KR0185947B1 (en) 1999-05-01

Family

ID=19453987

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960008374A KR0185947B1 (en) 1996-03-26 1996-03-26 Method of decoding the selection program of a digital satellite broadcasting receiver and apparatus thereof

Country Status (1)

Country Link
KR (1) KR0185947B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USRE48819E1 (en) 2001-03-02 2021-11-16 Advanced Micro Devices, Inc. Performance and power optimization via block oriented performance measurement and control

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010019599A (en) * 1999-08-28 2001-03-15 최상훈 TP stream generator for DTV

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USRE48819E1 (en) 2001-03-02 2021-11-16 Advanced Micro Devices, Inc. Performance and power optimization via block oriented performance measurement and control

Also Published As

Publication number Publication date
KR970068615A (en) 1997-10-13

Similar Documents

Publication Publication Date Title
KR100547810B1 (en) Digital multimedia broadcasting receiving device and method capable of playing digital multimedia data
KR100810318B1 (en) Digital multimedia broadcasting conditional access system and method thereof
KR100426515B1 (en) Method and arrangement for receiving digital video signals
US6477185B1 (en) Demultiplexing and decoding apparatus for coded audio and video data
KR100993977B1 (en) Data processing device and method, and digital broadcast receiver
US7580522B2 (en) Digital video broadcasting receiver
US7383562B2 (en) Restricted reception device for digital cable broadcasting system, and reception system and method using the same
US20030123657A1 (en) Methods and apparatus for simultaneously decrypting multiple services received on separate multiplexed transport streams
US20020129383A1 (en) Apparatus for a cosumer controlled selective recording device for interactive television
US8892888B2 (en) Multiple stream decrypting and decoding systems and related methods thereof
KR100379419B1 (en) apparatus for processing data of program guide
US6714259B2 (en) Method and apparatus for receiving digital television signals from a plurality of independent channels
Bungum Transmultiplexing, transcontrol and transscrambling of MPEG-2/DVB signal
KR100312428B1 (en) Interactive Broadcast Terminal System
KR0185947B1 (en) Method of decoding the selection program of a digital satellite broadcasting receiver and apparatus thereof
JP2000069454A (en) Digital broadcasting receiver
US7050436B1 (en) Device and method for processing a stream of data
KR100662344B1 (en) Method for changing channel in digital cable set top box
KR100888592B1 (en) Apparatus and method for receiving broadcast signal
KR100195732B1 (en) Method for using an unauthorized channel in digital dbs system
KR0185948B1 (en) Method for processing the rsms message of a digital satellite broadcasting receiver
KR200156496Y1 (en) Television for displaying program information
KR20050023713A (en) Method And Apparatus for Re-multiplexing Tranports Stream in Digital Boardcast Receiver
GB2355618A (en) Data processing
KR20090076702A (en) Mobile broadcasting receiver and method for playing subtitle of mobile broadcasting receiver

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20121129

Year of fee payment: 15

LAPS Lapse due to unpaid annual fee