KR100973138B1 - Method and system for remultiplex transport stream of multi mode stream in digital broadcasting - Google Patents
Method and system for remultiplex transport stream of multi mode stream in digital broadcasting Download PDFInfo
- Publication number
- KR100973138B1 KR100973138B1 KR1020080043019A KR20080043019A KR100973138B1 KR 100973138 B1 KR100973138 B1 KR 100973138B1 KR 1020080043019 A KR1020080043019 A KR 1020080043019A KR 20080043019 A KR20080043019 A KR 20080043019A KR 100973138 B1 KR100973138 B1 KR 100973138B1
- Authority
- KR
- South Korea
- Prior art keywords
- stream
- psi
- information
- packet
- pid
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/434—Disassembling 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/4344—Remultiplexing of multiplex streams, e.g. by modifying time stamps or remapping the packet identifiers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/434—Disassembling 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/4343—Extraction or processing of packetized elementary streams [PES]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/434—Disassembling 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/4345—Extraction or processing of SI, e.g. extracting service information from an MPEG stream
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
디지털 방송의 MMS 전송스트림 재다중화 방법 및 시스템이 개시된다. 디지털 멀티 모드 서비스 전송스트림을 재다중화하는 방법에 있어서, MMS(Multi Mode Service) 방송 스트림을 수신하는 단계, 상기 수신된 방송 스트림을 역다중화하여 기설정된 기준에 따라 패킷을 분류하는 단계 및 상기 분류된 패킷을 기설정된 기준에 따라 재다중화하는 단계를 포함한다.Disclosed are a method and system for remultiplexing MMS transport streams for digital broadcasting. A method for remultiplexing a digital multi-mode service transport stream, the method comprising: receiving an MMS broadcast stream, demultiplexing the received broadcast stream to classify a packet according to a predetermined criterion, and the classified Remultiplexing the packet according to a predetermined criterion.
PID 분류, 영상 등급별 분류, 재다중화, 재전송, PSI 패킷 PID classification, classification by image class, remultiplexing, retransmission, PSI packet
Description
본 발명은 디지털 방송의 MMS 전송스트림 재다중화 방법 및 시스템에 관한 것으로 특히, 디지털 지상파 방송의 멀티 모드 서비스 전송스트림을 역다중화하여 PID별로 분류한 후 특정 목적에 따라 프로그램들을 새롭게 구성하여 재다중화하는 MMS 전송스트림 재다중화 방법 및 시스템에 관한 것이다.The present invention relates to a method and system for remultiplexing MMS transmission streams for digital broadcasting. In particular, an MMS for demultiplexing a multi-mode service transport stream of digital terrestrial broadcasting and classifying by PID and newly configuring programs according to a specific purpose is remultiplexed. The present invention relates to a transport stream remultiplexing method and system.
디지털 지상파 방송에서 쓰는 MMS는 '멀티 모드 서비스(Multi Mode Service)'의 약자다. 1개 채널로 할당된 주파수 대역폭에서 복수(멀티)의 채널을 송출하는 것을 말한다. 기존 아날로그 방송 환경에서 1개 TV채널의 주파수 대역폭은 6㎒이다. 그런데 데이터 압축 기술과 디지털 송출기술의 발달하면서 기존 6㎒ 대역폭 안에서 HD 1개 채널을 보내고도 대역폭이 남게 되었고, 지상파 방송사들은 이 여유 대역폭을 HD급 비디오 채널 외에 SD급 비디오채널, 오디오, 데이터채널 등을 함께 전송하는 다중모드서비스(MMS)를 시험 방송하고 있다.MMS, which is used in digital terrestrial broadcasting, stands for 'Multi Mode Service'. It refers to transmitting a plurality of channels in a frequency bandwidth allocated to one channel. In the existing analog broadcasting environment, the frequency bandwidth of one TV channel is 6MHz. However, due to the development of data compression technology and digital transmission technology, the bandwidth remains even after one HD channel is transmitted within the existing 6MHz bandwidth, and terrestrial broadcasters use this free bandwidth in addition to HD video channels, SD video channels, audio and data channels, etc. It is broadcasting a multi-mode service (MMS) that transmits the data together.
기존 디지털 지상파 방송의 재전송은 각 지상파 방송사들이 송출한 방송 스 트림을 수신하여, 재전송 사업자들이 보유한 망을 통해 재전송한다. 하지만 수신단에서 지상파 방송을 재전송 받아 시청할 경우 채널 또는 프로그램 전환에 따르는 네트워크 지연이 발생한다.Retransmission of existing digital terrestrial broadcasters receives broadcast streams transmitted by each terrestrial broadcaster and retransmits them through a network owned by retransmission providers. However, when the terrestrial broadcast is retransmitted and viewed at the receiving end, a network delay occurs due to channel or program switching.
따라서, 지상파 방송을 재전송 받아 시청하는 경우 채널 또는 프로그램 전환에 따르는 네트워크 지연이 발생하지 않는 방법 및 시스템이 절실히 요구된다.Therefore, there is an urgent need for a method and system in which network delay does not occur due to channel or program switching when terrestrial broadcasting is retransmitted and viewed.
본 발명은 MMS 전송스트림을 역다중화하고 PID별로 분류한 후, 디지털방송의 멀티 모드 서비스 재전송시 전송스트림을 재다중화함으로써, 채널 또는 프로그램 전환에 따르는 네트워크 지연시간 없이 시청할 수 있는 MMS 전송스트림 재다중화 방법 및 시스템을 제공한다.The present invention demultiplexes an MMS transport stream, classifies by PID, and re-multiplexes the transport stream when retransmitting a multi-mode service of digital broadcasting, thereby allowing the MMS transport stream remultiplexing method to be viewed without network delay time due to channel or program switching. And a system.
본 발명은 MMS 전송스트림을 역다중화하고 PID별로 분류한 후, 실시간 프로그램 전체, 시청자의 선호도가 높은 프로그램별 및 영상 등급(ex. HD/SD)별 등으로 재분류하여 전송스트림을 재다중화함으로써, 다양하게 분류된 MMS 전송스트림을 제공할 수 있는 MMS 전송스트림 재다중화 방법 및 시스템을 제공한다.The present invention demultiplexes an MMS transport stream and classifies it by PID, and then reclassifies the transport stream by reclassifying the entire real-time program, a program having a high viewer's preference, and an image grade (ex. HD / SD). Provided are a method and system for remultiplexing an MMS transport stream capable of providing various classified MMS transport streams.
본 발명의 일실시예에 따른 MMS 전송스트림 재다중화 방법은, MMS(Multi Mode Service) 방송 스트림을 수신하는 단계, 상기 수신된 방송 스트림을 역다중화하여 기설정된 기준에 따라 패킷을 분류하는 단계 및 상기 분류된 패킷을 기설정된 기준에 따라 재다중화하는 단계를 포함한다An MMS transport stream remultiplexing method according to an embodiment of the present invention comprises the steps of: receiving an MMS broadcast stream, demultiplexing the received broadcast stream to classify a packet according to a predetermined criterion; and Remultiplexing the classified packets according to predetermined criteria
본 발명의 일측면에 따르면, 상기 기설정된 기준에 따라 패킷을 분류하는 단계는, 상기 수신된 방송 스트림을 각 채널별로 분리하는 단계 및 상기 채널별로 분리된 스트림을 PID(Packet IDentifier)에 따라 분류하여 저장하는 단계를 포함할 수 있다.According to an aspect of the invention, the step of classifying the packet according to the predetermined criteria, the step of separating the received broadcast stream for each channel and the stream divided for each channel by classifying the PID (Packet IDentifier) And storing.
본 발명의 일측면에 따르면, 상기 기설정된 기준에 따라 재다중화하는 단계 는, 기설정된 기준에 따라 PSI 정보를 재구성하는 단계 및 상기 PSI 정보에 따라 상기 분류된 패킷들을 재다중화기로 전송하는 단계를 포함할 수 있다.According to an aspect of the present invention, the remultiplexing according to a predetermined criterion includes reconstructing PSI information according to a predetermined criterion and transmitting the classified packets according to the PSI information to a remultiplexer. can do.
본 발명의 일실시예에 따른 MMS 전송스트림 재다중화 시스템은, MMS(Multi Mode Service) 방송 스트림을 수신하는 스트림 수신부, 상기 수신된 방송 스트림을 역다중화하여 기설정된 기준에 따라 패킷을 분류하는 스트림 분류부 및 상기 분류된 패킷을 기설정된 기준에 따라 재다중화하는 스트림 재다중화부를 포함한다In an MMS transport stream remultiplexing system according to an embodiment of the present invention, a stream receiver for receiving a MMS broadcast stream, a stream classification for demultiplexing the received broadcast stream and classifying a packet according to a predetermined criterion And a stream remultiplexer for remultiplexing the classified packets according to predetermined criteria.
본 발명의 일측면에 따르면, 상기 스트림 분류부는, 상기 수신된 방송 스트림을 각 채널별로 분리하는 채널분리기, 상기 채널별로 분리된 스트림을 PID(Packet IDentifier)에 따라 분류하는 병렬 PID 분리기 및 상기 분류된 스트림을 저장하는 병렬 FIFO 저장부를 포함할 수 있다.According to an aspect of the invention, the stream classifier, a channel separator for separating the received broadcast stream for each channel, a parallel PID separator for classifying the stream separated for each channel according to the PID (Packet IDentifier) and the classified It may include a parallel FIFO storage unit for storing the stream.
본 발명의 일측면에 따르면, 상기 스트림 재다중화부는, PAT 정보를 추출하여 각 프로그램 정보를 획득하는 PSI 분석기, 기설정된 기준에 따라 PSI 정보를 재구성하는 프로그램 제어부, 상기 PSI 정보에 따라 PSIP 패킷 및 PMT_PID에 따른 패킷들을 재다중화기로 전송하도록 제어하는 패킷 전송 제어부 및 상기 재구성된 PSI 정보에 따라 PSI 패킷을 생성하고 CRC 32(Cyclic Redundancy Check 32)값을 생성하는 PSI 생성부를 포함할 수 있다.According to an aspect of the invention, the stream re-multiplexer, PSI analyzer for extracting PAT information to obtain each program information, a program control unit for reconstructing the PSI information according to a predetermined criterion, PSIP packet and PMT_PID according to the PSI information And a PSI generation unit for generating a PSI packet according to the reconstructed PSI information and generating a Cyclic Redundancy Check (CRC 32) value according to the reconstructed PSI information.
본 발명의 일실시예에 따르면, MMS 전송스트림을 역다중화하고 PID별로 분류한 후, 디지털방송의 멀티 모드 서비스 재전송시 전송스트림을 재다중화함으로써, 채널 또는 프로그램 전환에 따르는 네트워크 지연시간 없이 시청할 수 있는 MMS 전송스트림 재다중화 방법 및 시스템이 제공된다.According to an embodiment of the present invention, by demultiplexing the MMS transport stream and classifying by PID, and re-multiplexing the transport stream when retransmitting the multi-mode service of digital broadcasting, it is possible to watch without network delay time due to channel or program switching An MMS transport stream remultiplexing method and system are provided.
본 발명의 일실시예에 따르면, MMS 전송스트림을 역다중화하고 PID별로 분류한 후, 실시간 프로그램 전체, 시청자의 선호도가 높은 프로그램별 및 영상 등급(ex. HD/SD)별 등으로 재분류하여 전송스트림을 재다중화함으로써, 다양하게 분류된 MMS 전송스트림을 제공할 수 있는 MMS 전송스트림 재다중화 방법 및 시스템을 제공된다.According to an embodiment of the present invention, the MMS transmission stream is demultiplexed and classified by PID, and then reclassified and transmitted according to the entire real-time program, a program having a high viewer's preference, and an image grade (ex. HD / SD). By remultiplexing streams, an MMS transport stream remultiplexing method and system capable of providing variously classified MMS transport streams are provided.
이하, 첨부된 도면들에 기재된 내용들을 참조하여 본 발명에 따른 실시예를 상세하게 설명한다. 다만, 본 발명이 실시예들에 의해 제한되거나 한정되는 것은 아니다. 각 도면에 제시된 동일한 참조부호는 동일한 부재를 나타낸다.Hereinafter, with reference to the contents described in the accompanying drawings will be described in detail an embodiment according to the present invention. However, the present invention is not limited to or limited by the embodiments. Like reference numerals in the drawings denote like elements.
도 1은 본 발명의 일실시예에 있어서, 하나 이상의 채널을 전송하는 기존 주파수 대역폭을 도시한 흐름도이다.1 is a flowchart illustrating an existing frequency bandwidth for transmitting one or more channels according to an embodiment of the present invention.
현재 디지털 지상파 방송 사업자들은 1개 채널 대역폭(6㎒) 전체를 사용하던 아날로그 방송 환경에서 디지털 방송 환경으로 전환하며 데이터 압축 기술을 활용하여 기존 대역폭 안에서 HD급 비디오 채널 외에 SD급 비디오채널, 오디오, 데이터채널 등을 전송하는 다중모드서비스(MMS)를 시험 방송 중이다. Currently, digital terrestrial broadcasters are shifting from analog broadcasting environment that used one channel bandwidth (6MHz) to digital broadcasting environment and utilizing data compression technology, SD video channel, audio, data in addition to HD video channel within existing bandwidth. A test is being conducted on a multi-mode service (MMS) that transmits channels and the like.
예를 들어, 도 1에 도시되어 있는 바와 같이, 데이터 압축 기술을 활용하여 기존 대역폭 내에 SD급 비디오채널, HD급 비디오채널 등 하나 이상의 채널을 동시에 전송할 수 있다. 따라서, 기존의 전송에서는 이러한 다중 모드 서비스(MMS : Multi Mode Service)제공시, 채널 전환시 지연시간이 발생할 수 있다.For example, as illustrated in FIG. 1, one or more channels such as an SD video channel and an HD video channel may be simultaneously transmitted within an existing bandwidth by using a data compression technology. Therefore, in the conventional transmission, when such a multi-mode service (MMS) is provided, delay time may occur when switching channels.
도 2는 본 발명의 일실시예에 있어서, 하나 이상의 채널을 멀티 프로그램 TS 스트림으로 전송하는 과정을 설명하기 위한 도면이다.2 is a diagram for describing a process of transmitting one or more channels in a multi-program TS stream according to an embodiment of the present invention.
도 2를 참고하면, 각 채널의 스트림에 대해 PID값을 할당한다. 여기서, 비디오 스트림, 오디오 스트림 등에 대하여 PID 값을 할당하고 각 기초스트림들을 멀티플렉싱 시키면 싱글 프로그램 TS 스트림이 생성된다.Referring to FIG. 2, PID values are allocated to streams of respective channels. Here, a single program TS stream is generated by assigning PID values to video streams, audio streams, and the like and multiplexing the respective elementary streams.
예를 들면, HD-1 프로그램(210)에서는 해당 엘리먼트 스트림의 비디오 스트림, 오디오 스트림 등의 PID를 할당하고 이를 멀티플렉싱 시킬 수 있다. For example, the HD-1
마찬가지의 방법이 SD-1 프로그램(220) 및 SD-2 프로그램(230)에 대해서도 진행될 수 있다. 다음으로 상기 과정을 통해 생성된 하나 이상의 싱글 프로그램 TS 스트림을 멀티플렉싱하여 멀티 프로그램 TS 스트림을 생성할 수 있다. 이때, 멀티 프로그램 TS 스트림 생성시, 해당 프로그램 넘버 및 PMT_PID를 할당하고 상기 각 프로그램 넘버 및 각 PMT_PID를 PAT(Program Association Table)에 기록할 수 있다. 즉, 도 2에서와 같이 HD-1 프로그램(210)의 프로그램 넘버에 '1'을 할당하고, PMT_PID로 '100'을 할당하고 이를 PAT에 기록할 수 있다.The same method may be performed for the SD-1
상기의 과정을 통해 생성된 멀티 프로그램 TS 스트림은 하나의 링크를 통해 수신단말로 시분할 전송될 수 있다.The multi-program TS stream generated through the above process may be time-divisionally transmitted to the receiving terminal through one link.
도 3은 본 발명의 일실시예에 있어서, MMS 전송 스트림을 수신하고 스트림을 재다중화하여 재전송하는 과정을 설명하기 위한 도면이다.FIG. 3 is a diagram illustrating a process of receiving an MMS transport stream, remultiplexing the stream, and retransmitting according to an embodiment of the present invention.
도 3을 참고하면, 먼저, 지상파 수신기(310)를 통하여 복수의 디지털 방송 신호를 수신할 수 있다. Referring to FIG. 3, first, a plurality of digital broadcast signals may be received through the
다음으로, 상기 수신된 디지털 지상파 방송 신호는 채널분리기(Serial to Parallel)(320)를 통과하여 방송사별 각각의 채널로 분리될 수 있다. 예를 들어, 수신된 디지털 지상파 방송 신호가 KBS, MBC, SBS 등의 다수의 채널이 동시에 멀티 모드 서비스를 통해 전송된 경우라면 방송사별 각각의 채널을 분리할 수 있다.Next, the received digital terrestrial broadcast signal may be separated into respective channels for each broadcaster through a channel separator (Serial to Parallel) 320. For example, when the received digital terrestrial broadcast signal is transmitted through a multi-mode service simultaneously with a plurality of channels such as KBS, MBC, and SBS, each channel may be separated from each broadcaster.
또한 채널별로 분리된 스트림을 병렬 PID 분리기(330)로 입력하여 PID(Packet IDentifier)에 따라 분류한다.In addition, the stream separated for each channel is input to the
병렬 PID 분리기(330)를 통하여 분리된 상기 전송 스트림은 병렬 FIFO 저장매체(340)에 저장할 수 있다.The transport stream separated by the
즉, 상기 과정을 통해 상기 수신된 복수의 전송 스트림을 PID별로 구분 정렬하여 저장한다.That is, the received plurality of transport streams are classified and stored for each PID through the above process.
이후, PAT 정보를 확인하기 위해 PID가 '0' 인 패킷을 정렬하여 PSI 분석부(350)를 통과시킨다. 즉, PSI 분석부(350)에서 PAT 정보를 분석하고, 이를 통해 현재 수신하고 있는 스트림들 각각의 프로그램 정보를 얻을 수 있다.Thereafter, in order to check the PAT information, the packets having the PID of '0' are sorted and passed through the
다음으로 프로그램 제어부(360)에서는 시청자의 선호도별 채널, 영상 등급별, 실시간 프로그램 여부 등의 기준을 통하여 PSI 정보를 새롭게 구성할 수 있다.Next, the
새롭게 구성된 정보에 따라 병렬 FIFO 저장매체(340)에서는 PID가 '0x1FFB'인 PSIP 정보 패킷 및 새롭게 구성된 PSI 정보를 기초로 분류된 프로그램의 PMT_PID에 따라 해당 패킷들을 재다중화기(380)로 전송한다.According to the newly configured information, the parallel
또한, PSI 생성부(370)에서는 상기 새롭게 구성된 PSI 정보에 따라 동일한 PSI 패킷을 생성하고, 해당 PSI 섹션을 위한 CRC 32(Cyclic Redundancy Check 32) 값을 새로 생성할 수 있다.In addition, the
또한, PSI 생성부(370)에서는 어댑테이션 필드를 이용하여 PAT 패킷의 길이를 188bytes로 맞춘 후 출력할 수 있다.In addition, the
이렇게 만들어진 PSI 정보는 기설정된 시간(ex.0.5초 내외의 시간)간격으로 재대중화기로 주기적인 전송을 하여 재전송을 위한 전송스트림을 재다중화 할 수 있다.The PSI information thus generated can be remultiplexed in the transport stream for retransmission by periodically transmitting to the re-mongrelator at a predetermined time interval (ex. 0.5 seconds or so).
이때, 다중화를 완료한 지상파 재전송 다중 스트림은 스트리밍 서버 또는 QAM Modulator(390)로 입력될 수 있다. 즉, 다중화를 완료한 지상파 재전송 다중 스트림은 재전송사업자의 망을 통하여 시청자에게로 전송할 수 있는데, 재전송 사업자의 망은 IP 망 및 케이블 망 중 적어도 하나를 포함할 수 있다. 즉, IP 망을 통해 전송하고자 하는 경우에는 재전송 다중 스트림은 스트리밍 서버를 통해 전송되고, 케이블 망을 통해 전송하고자 하는 경우에는 QAM Modulator를 통해 전송될 수 있다.At this time, the terrestrial retransmission multiplexing stream having completed the multiplexing may be input to the streaming server or the
상기와 같이 MMS 전송스트림을 PID별로 분류하고 재다중화함으로써, 시청자의 채널 또는 프로그램 전환에 따르는 네트워크 지연시간 없이 시청할 수 있는 전송 환경을 조성할 수 있다. 또한 시청자의 선호도별 채널, 영상 등급별, 실시간 프로그램 여부 등 다양한 기준에 따라 재분류된 재전송 스트림을 제공할 수 있는 전송 환경을 조성할 수 있다.By classifying and remultiplexing the MMS transport stream by PID as described above, it is possible to create a transmission environment that can be viewed without network delay time caused by channel or program switching of the viewer. In addition, it is possible to create a transmission environment that can provide reclassified retransmission streams according to various criteria such as channel by viewer preference, image rating, and real-time program status.
도 4는 본 발명의 일실시예에 있어서, MMS 전송스트림 재다중화하는 방법을 도시한 흐름도이다.4 is a flowchart illustrating a method of remultiplexing an MMS transport stream according to an embodiment of the present invention.
도 4를 참고하면, 단계(S410)에서는, MMS(Multi Mode Service) 방송 스트림을 수신한다. 데이터 압축 기술이 발달됨에 따라 기존의 1채널 주파수 대역폭()에서 복수의 채널을 송출할 수 있게 되어, 복수의 채널을 가지는 방송 스트림을 송출할 수 있고 이를 수신할 수 있다. Referring to FIG. 4, in step S410, a MMS broadcast stream is received. As data compression technology is developed, a plurality of channels can be transmitted in a conventional one-channel frequency bandwidth (), and a broadcast stream having a plurality of channels can be transmitted and received.
단계(S420)에서는, 수신된 방송 스트림을 역다중화하여 기설정된 기준에 따라 패킷을 분류할 수 있다.In operation S420, the received broadcast stream may be demultiplexed to classify the packet according to a predetermined criterion.
즉, PMT 정보를 통해 프로그램 내의 오디오, 비디오 스트림 등의 PID, 즉 프로그램을 구성하는 elementary_PID들을 알아낼 수 있다. 이러한 PID들을 병렬 PID 분리기를 거쳐 해당 오디오와 비디오 스트림 등을 구성하는 트랜스포트 패킷을 추출한다. 상기 트랜스포트 패킷들은 트랜스포트 패킷 디코더를 거쳐 PES 형태로 역다중화된 후 PID별로 분류될 수 있다. 이는 도 5를 통하여 이하에서 더욱 상세하게 설명한다.In other words, PIDs such as audio and video streams in a program, that is, elementary_PIDs constituting the program, can be determined through PMT information. These PIDs are extracted through a parallel PID separator and transport packets constituting the corresponding audio and video streams are extracted. The transport packets may be demultiplexed into PES through a transport packet decoder and then classified into PIDs. This will be described in more detail below with reference to FIG. 5.
단계(S430)에서는, 분류된 패킷을 기설정된 기준에 따라 재다중화한다. 예를 들어, 상기 분류된 패킷을 영상 등급에 따라 분류하고 다시 다중화 작업을 거쳐 재다중화 스트림을 생성할 수 있다. 이는 도 6을 통하여 이하에서 더욱 상세하게 설명한다.In step S430, the classified packets are remultiplexed according to a predetermined criterion. For example, the classified packets may be classified according to video grades and may be remultiplexed to generate remultiplexed streams. This will be described in more detail below with reference to FIG. 6.
도 5는 본 발명의 일실시예에 있어서, 수신된 스트림을 역다중화하여 패킷을 분류하는 방법을 도시한 흐름도이다.5 is a flowchart illustrating a method of classifying packets by demultiplexing a received stream according to an embodiment of the present invention.
도 5를 참고하면, 단계(S510)에서는, 수신된 방송 스트림을 각 채널별로 분리할 수 있다. 예를 들어, 수신된 방송 스트림에 복수개의 채널에 대한 프로그램 이 포함되어 있다면 우선적으로 방송 스트림을 각 채널별로 분리할 수 있다.Referring to FIG. 5, in step S510, the received broadcast stream may be separated for each channel. For example, if a received broadcast stream includes programs for a plurality of channels, the broadcast stream may be divided first for each channel.
단계(S520)에서는, 채널별로 분리된 스트림을 PID(Packet IDentifier)에 따라 분류하여 저장할 수 있다. 즉, PID 분리기 등을 통하여 PID를 분리하고, 이를 저장매체에 저장할 수 있다. 이때, PID 분리기는 병렬 PID 분리기 등일 수 있고, 저장 매체는 병렬 FIFO 저장매체 등일 수 있다.In operation S520, the stream divided for each channel may be classified and stored according to a PID (Packet IDentifier). That is, the PID may be separated through a PID separator and stored in a storage medium. In this case, the PID separator may be a parallel PID separator, or the like, and the storage medium may be a parallel FIFO storage medium.
도 6은 본 발명의 일실시예에 있어서, 수신된 스트림을 기설정된 기준에 따라 재다중화하는 방법을 도시한 흐름도이다.6 is a flowchart illustrating a method of remultiplexing a received stream according to a predetermined criterion according to an embodiment of the present invention.
도 6을 참고하면, 단계(S610)에서는 PAT 정보를 추출하여 각 프로그램 정보를 획득할 수 있다. 이때, PID별로 분류된 패킷들 중 PID가 '0' 인 패킷을 정렬하여 PSI 분석기를 거치면 PAT 정보를 추출할 수 있다. 즉, 추출된 PAT 정보를 통해 현재 수신하고 있는 스트림들 각각의 프로그램 정보를 얻을 수 있다.Referring to FIG. 6, in operation S610, PAT information may be extracted to obtain respective program information. In this case, PAT information may be extracted by sorting packets having PID '0' among the packets classified by PID and passing through the PSI analyzer. That is, program information of each of the streams currently being received may be obtained through the extracted PAT information.
단계(S620)에서는 단계(S610)에서 획득한 각 프로그램 정보에 따라 PSI 정보를 재구성할 수 있다. 예를 들어, 영상 등급별로 패킷을 분류하여 스트림을 재다중화 하고자 하는 경우, 각 프로그램 정보에서 HD급인 프로그램과 SD급인 프로그램을 각각 분류하여 재다중화 할 수 있도록 PSI 정보를 재구성할 수 있다.In step S620, the PSI information may be reconfigured according to the program information obtained in step S610. For example, in case of remultiplexing streams by classifying packets by video class, PSI information may be reconfigured to classify and remultiplex HD class and SD class programs in each program information.
단계(S630)에서는 재구성된 PSI 정보에 따라 PSI 패킷을 생성하고 CRC 32(Cyclic Redundancy Check 32)값을 생성할 수 있다. 단계(S620)에서 재구성된 PSI 정보에 따라 PSI 패킷을 생성할 수 있고, 전송에 있어서 노이즈에 의한 오류를 검출하고 그를 정정하기 위한 CRC 32(Cyclic Redundancy Check 32)값을 생성할 수 있다.In operation S630, a PSI packet may be generated according to the reconstructed PSI information, and a cyclic redundancy check (CRC 32) value may be generated. In operation S620, the PSI packet may be generated according to the reconstructed PSI information, and a CRC 32 (Cyclic Redundancy Check 32) value may be generated to detect and correct an error due to noise in transmission.
단계(S640)에서는 PSI 정보에 따라 PSIP 패킷 및 PMT_PID에 따른 패킷들을 재다중화기로 전송할 수 있다. 예를 들어, 영상 등급별로 패킷을 분류하여 스트림을 재다중화 하고자 하는 경우, HD급 프로그램의 PMT_PID에 따른 패킷과 SD급 프로그램의 PMT_PID에 따른 패킷 및 PSIP 패킷을 각각 재다중화기로 전송할 수 있다.In step S640, the PSIP packet and the packets according to the PMT_PID may be transmitted to the remultiplexer according to the PSI information. For example, in case of remultiplexing a stream by classifying packets according to video grades, the packet according to PMT_PID of HD class program and the packet and PSIP packet according to PMT_PID of SD class program may be transmitted to remultiplexer, respectively.
단계(S650)에서는 PAT 패킷의 길이를 기설정된 길이로 맞추어 출력할 수 있다. 즉, 스터핑 바이트 등을 이용하여 PAT 패킷의 길이가 188byte가 되도록 맞춘 후 이를 출력할 수 있다.In operation S650, the length of the PAT packet may be adjusted to a predetermined length and output. That is, the length of the PAT packet may be adjusted to 188 bytes using a stuffing byte, and then output.
단계(S660)에서는 상기 PSI 정보를 주기적으로 재다중화기로 전송하여 상기 분류된 패킷을 재다중화 할 수 있다. 이때, PSI 정보의 전송 주기는 0.5초 내외의 간격이 될 수 있다.In step S660, the classified packet may be remultiplexed by periodically transmitting the PSI information to the remultiplexer. At this time, the transmission period of the PSI information may be an interval of about 0.5 seconds.
도 7은 본 발명의 일실시예에 있어서, MMS 전송스트림 재다중화 시스템을 도시한 도면이다.7 illustrates an MMS transport stream remultiplexing system according to an embodiment of the present invention.
도 7을 참고하면, MMS 전송스트림 재다중화 시스템(700)은 스트림 수신부(710), 스트림 분류부(720), 스트림 재다중화부(730)을 포함한다.Referring to FIG. 7, the MMS transport
스트림 수신부(710)는, MMS(Multi Mode Service) 방송 스트림을 수신한다. 즉, 복수의 채널을 포함한 방송 스트림을 스트림 수신부(710)를 통해 수신할 수 있다.The
스트림 분류부(720)는, 수신된 방송 스트림을 역다중화하여 기설정된 기준에 따라 패킷을 분류한다. 즉, 수신된 방송 스트림을 PID별로 분류하여 저장할 수 있다. 스트림 분류부(720)의 구성의 일실시예는 도 8을 통해 이하에서 상세하게 설명한다.The
스트림 재다중화부(730)는, 분류된 패킷을 기설정된 기준에 따라 재다중화 할 수 있다. 즉, PID별로 분류된 방송 스트림을 영상 등급 등에 따라 재분류하고 이를 재다중화할 수 있다. 스트림 재다중화부(730)의 구성의 일실시예는 도 9를 통해 이하에서 상세하게 설명한다.The stream remultiplexer 730 may remultiplex the classified packets according to predetermined criteria. That is, broadcast streams classified by PIDs may be reclassified according to image grade and the like and remultiplexed. An embodiment of the configuration of the
도 8은 본 발명의 일실시예에 있어서, 스트림 분류부의 구성을 도시한 도면이다. 8 is a diagram showing the configuration of a stream classification unit according to an embodiment of the present invention.
도 8을 참고하면, 스트림 분류부(720)는, 채널분리기(810), 병렬 PID 분리기(820), 병렬 FIFO 저장부(830)를 포함할 수 있다.Referring to FIG. 8, the
채널분리기(810)는, 수신된 방송 스트림을 각 채널별로 분리한다. 즉, 수신된 방송 스트림이 하나 이상의 채널의 프로그램을 포함하는 경우, 이를 각 방송사별 채널로 분리할 수 있다.The
병렬 PID 분리기(820)는, 채널별로 분리된 스트림을 PID(Packet IDentifier)에 따라 분류하고, 병렬 FIFO 저장부(830)는 분류된 스트림을 저장한다. 이때 저장매체는 병렬 FIFO(First In First Out) 저장매체일 수 있다.The
도 9는 본 발명의 일실시예에 있어서, 스트림 재다중화부의 구성을 도시한 도면이다.9 is a diagram illustrating a configuration of a stream remultiplexing unit according to an embodiment of the present invention.
도 9를 참고하면, 스트림 재다중화부(730)는, PSI 분석기(910), 프로그램 제어부(920), 패킷 전송 제어부(940), PSI 생성부(930)를 포함할 수 있다.Referring to FIG. 9, the
PSI 분석기(910)는, PAT 정보를 추출하여 각 프로그램 정보를 획득한다. 즉, PID가 '0' 인 패킷을 PSI 분석기를 통해 분석하여 PAT 정보를 추출하고, 이를 통해 현재 수신하고 있는 스트림들 각각의 프로그램 정보를 얻을 수 있다.The
프로그램 제어부(920)는, 기설정된 기준에 따라 PSI 정보를 재구성한다. 예를 들어, 실시간 프로그램 여부에 따라 스트림을 분류하고 재다중화 하고자 하는 경우, 실시간 프로그램 또는 비실시간 프로그램에 따라 스트림이 분류되고 재다중화 될 수 있도록 PSI 정보를 재구성할 수 있다.The
패킷 전송 제어부(940)는, PSI 정보에 따라 PSIP 패킷 및 PMT_PID에 따른 패킷들을 재다중화기로 전송하도록 제어한다. 예를 들어, 상기와 같이 실시간 프로그램 여부에 따라 스트림을 분류하고 재다중화 하고자 하는 경우, 실시간 프로그램의 PMT_PID에 따른 패킷, 비실시간 프로그램의 PMT_PID에 따른 패킷 및 PSIP 패킷을 재다중화기로 전송할 수 있다.The packet
PSI 생성부(930)는, 재구성된 PSI 정보에 따라 PSI 패킷을 생성하고 CRC 32(Cyclic Redundancy Check 32)값을 생성한다. 이때, PSI 생성부(930)는, 패킷 사이징부(931), PSI 정보 전송부(932)를 포함할 수 있다. 즉, 패킷 사이징부(931)는 PAT 패킷의 길이가 188byte가 되도록 맞춘 후 이를 출력할 수 있고, PSI 정보 전송부(932)는 일정 시간 주기로 PSI 정보를 재다중화기에 전송하여 PSI 정보에 따라 재다중화되도록 제어할 수 있다.The
상기 살펴본 바와 같이, MMS 전송스트림을 역다중화하고 PID별로 분류한 후, 디지털방송의 멀티 모드 서비스 재전송시 전송스트림을 재다중화함으로써, 채널 또는 프로그램 전환에 따르는 네트워크 지연시간 없이 시청할 수 있다. 또한, 실시간 프로그램 전체, 시청자의 선호도가 높은 프로그램별 및 영상 등급(ex. HD/SD)별 등으로 재분류하여 전송스트림을 재다중화함으로써 다양하게 분류된 MMS 전송스트림을 제공할 수 있다. As described above, the MMS transport stream is demultiplexed and classified by PID, and then remultiplexed in the multi-mode service retransmission of digital broadcasting, so that the user can watch without network delay time due to channel or program switching. In addition, variously classified MMS transport streams may be provided by re-multiplexing the transport streams by reclassifying the entire real-time programs, by programs and viewer ratings (eg, HD / SD) having high preference.
또한 본 발명의 일실시예에 따른 MMS 전송스트림 재다중화 방법은 다양한 컴퓨터로 구현되는 동작을 수행하기 위한 프로그램 명령을 포함하는 컴퓨터 판독 가능 매체를 포함한다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다.In addition, the MMS transport stream re-multiplexing method according to an embodiment of the present invention includes a computer-readable medium including program instructions for performing operations implemented by various computers. The computer readable medium may include program instructions, data files, data structures, etc. alone or in combination. The media may be program instructions that are specially designed and constructed for the present invention or may be available to those skilled in the art of computer software. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tape, optical media such as CD-ROMs, DVDs, and magnetic disks, such as floppy disks. Magneto-optical media, and hardware devices specifically configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like. Examples of program instructions include not only machine code generated by a compiler, but also high-level language code that can be executed by a computer using an interpreter or the like.
이상과 같이 본 발명은 비록 한정된 실시예와 도면에 의해 설명되었으나, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 이는 본 발명이 속하는 분야에서 통상의 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다. 따라서, 본 발명 사상은 아래에 기재된 특허청구범위에 의해서만 파악되어야 하고, 이의 균등 또는 등가적 변형 모두는 본 발명 사상의 범주에 속한다고 할 것이다.As described above, the present invention has been described by way of limited embodiments and drawings, but the present invention is not limited to the above-described embodiments, which can be variously modified and modified by those skilled in the art to which the present invention pertains. Modifications are possible. Accordingly, the spirit of the present invention should be understood only by the claims set forth below, and all equivalent or equivalent modifications thereof will belong to the scope of the present invention.
도 1은 본 발명의 일실시예에 있어서, 하나 이상의 채널을 전송하는 기존 주파수 대역폭을 도시한 흐름도이다.1 is a flowchart illustrating an existing frequency bandwidth for transmitting one or more channels according to an embodiment of the present invention.
도 2는 본 발명의 일실시예에 있어서, 하나 이상의 채널을 멀티 프로그램 TS 스트림으로 전송하는 과정을 설명하기 위한 도면이다.2 is a diagram for describing a process of transmitting one or more channels in a multi-program TS stream according to an embodiment of the present invention.
도 3은 본 발명의 일실시예에 있어서, MMS 전송 스트림을 수신하고 스트림을 재다중화하여 재전송하는 과정을 설명하기 위한 도면이다.FIG. 3 is a diagram illustrating a process of receiving an MMS transport stream, remultiplexing the stream, and retransmitting according to an embodiment of the present invention.
도 4는 본 발명의 일실시예에 있어서, MMS 전송스트림 재다중화하는 방법을 도시한 흐름도이다.4 is a flowchart illustrating a method of remultiplexing an MMS transport stream according to an embodiment of the present invention.
도 5는 본 발명의 일실시예에 있어서, 수신된 스트림을 역다중화하여 패킷을 분류하는 방법을 도시한 흐름도이다.5 is a flowchart illustrating a method of classifying packets by demultiplexing a received stream according to an embodiment of the present invention.
도 6은 본 발명의 일실시예에 있어서, 수신된 스트림을 기설정된 기준에 따라 재다중화하는 방법을 도시한 흐름도이다.6 is a flowchart illustrating a method of remultiplexing a received stream according to a predetermined criterion according to an embodiment of the present invention.
도 7은 본 발명의 일실시예에 있어서, MMS 전송스트림 재다중화 시스템을 도시한 도면이다.7 illustrates an MMS transport stream remultiplexing system according to an embodiment of the present invention.
도 8은 본 발명의 일실시예에 있어서, 스트림 분류부의 구성을 도시한 도면이다.8 is a diagram showing the configuration of a stream classification unit according to an embodiment of the present invention.
도 9는 본 발명의 일실시예에 있어서, 스트림 재다중화부의 구성을 도시한 도면이다.9 is a diagram illustrating a configuration of a stream remultiplexing unit according to an embodiment of the present invention.
<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>
210 : HD급 채널 1 220 : SD급 채널 1210:
230 : SD급 채널 2 380 : 재다중화기230:
Claims (15)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080043019A KR100973138B1 (en) | 2008-05-08 | 2008-05-08 | Method and system for remultiplex transport stream of multi mode stream in digital broadcasting |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080043019A KR100973138B1 (en) | 2008-05-08 | 2008-05-08 | Method and system for remultiplex transport stream of multi mode stream in digital broadcasting |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20090117115A KR20090117115A (en) | 2009-11-12 |
KR100973138B1 true KR100973138B1 (en) | 2010-07-29 |
Family
ID=41601643
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020080043019A KR100973138B1 (en) | 2008-05-08 | 2008-05-08 | Method and system for remultiplex transport stream of multi mode stream in digital broadcasting |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100973138B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101699367B1 (en) | 2012-05-16 | 2017-02-14 | 한국전자통신연구원 | Method for 3dtv multiplexing and apparatus thereof |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050109517A (en) * | 2003-03-24 | 2005-11-21 | 인터내셔널 비지네스 머신즈 코포레이션 | System and method for providing multiplexing and remultiplexing of mpeg-2 streams |
KR20080026036A (en) * | 2006-09-19 | 2008-03-24 | 삼성전자주식회사 | Method and apparatus of processing applications for broadcasting service, and information storage medium thereof |
-
2008
- 2008-05-08 KR KR1020080043019A patent/KR100973138B1/en not_active IP Right Cessation
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050109517A (en) * | 2003-03-24 | 2005-11-21 | 인터내셔널 비지네스 머신즈 코포레이션 | System and method for providing multiplexing and remultiplexing of mpeg-2 streams |
KR20080026036A (en) * | 2006-09-19 | 2008-03-24 | 삼성전자주식회사 | Method and apparatus of processing applications for broadcasting service, and information storage medium thereof |
Also Published As
Publication number | Publication date |
---|---|
KR20090117115A (en) | 2009-11-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101452669B1 (en) | Method for transmitting/receiving media content and transmitting/receiving apparatus thereof | |
JP5111858B2 (en) | Method for transmitting digital service via network and apparatus for realizing the method | |
EP2723086B1 (en) | Media content transceiving method and transceiving apparatus using same | |
US9479841B2 (en) | Method for transmitting/receiving internet-based content and transmitter/receiver using same | |
US9819977B2 (en) | Method for transmitting/receiving internet-based content and transmitter/receiver using same | |
KR101789633B1 (en) | Apparatus and method for transmitting and receiving contents based on internet | |
US9479559B2 (en) | Method for transmission/reception of internet-based content and transmitter/receiver using same | |
US20150373076A1 (en) | Method for transmitting/receiving internet-based content and transmitter/receiver using same | |
KR101131836B1 (en) | ASI Switcher for digital advertisement inserter | |
US10616618B2 (en) | Broadcast signal transmitting device, broadcast signal receiving device, broadcast signal transmitting method and broadcast signal receiving method | |
KR100973138B1 (en) | Method and system for remultiplex transport stream of multi mode stream in digital broadcasting | |
KR20150057149A (en) | System and method for providing 3d broadcast service provision based on re-transmission broadcast networks | |
JP4965591B2 (en) | TS separation / section editing apparatus, TS separation / section editing method, and TS separation / section editing program | |
KR100952292B1 (en) | System and method for sending/receiving video on demand using ts multiplexing | |
KR20230052678A (en) | Method and advertisement transmission apparatus for channel linked type advertisement service | |
KR102130733B1 (en) | Apparatus for providing and receiving augmented broadcasting service in hybrid broadcasting environment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20130628 Year of fee payment: 4 |
|
FPAY | Annual fee payment |
Payment date: 20140528 Year of fee payment: 5 |
|
FPAY | Annual fee payment |
Payment date: 20150630 Year of fee payment: 6 |
|
LAPS | Lapse due to unpaid annual fee |