KR100250982B1 - Mpeg-2 system multiplexer - Google Patents

Mpeg-2 system multiplexer Download PDF

Info

Publication number
KR100250982B1
KR100250982B1 KR1019970065673A KR19970065673A KR100250982B1 KR 100250982 B1 KR100250982 B1 KR 100250982B1 KR 1019970065673 A KR1019970065673 A KR 1019970065673A KR 19970065673 A KR19970065673 A KR 19970065673A KR 100250982 B1 KR100250982 B1 KR 100250982B1
Authority
KR
South Korea
Prior art keywords
data
transport stream
parameter
generating
rate
Prior art date
Application number
KR1019970065673A
Other languages
Korean (ko)
Other versions
KR19990047316A (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 KR1019970065673A priority Critical patent/KR100250982B1/en
Publication of KR19990047316A publication Critical patent/KR19990047316A/en
Application granted granted Critical
Publication of KR100250982B1 publication Critical patent/KR100250982B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/236Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
    • H04N21/2365Multiplexing of several video streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/236Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
    • H04N21/23605Creation or processing of packetized elementary streams [PES]

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Time-Division Multiplex Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

PURPOSE: An MPEG-2 system multiplexing apparatus is provided to multiplex two programs at the same time and to be directly connected with a personal computer by embedding PCI I/O bus. CONSTITUTION: The first and second rate control parts(10,20) take charge of interface with a video and audio encoder, and an additional data generator. A parameter generating part(30) stores various parameters for operation of a multiplexing apparatus and is changeable by a user through the outside and a PC. A multiplex control part(40) receives various data from an element having data interface for generating data and a control signal required for generating a stream to be outputted. A CRC process part(50) searches errors of transmitting data. A transport stream data generating part(60) generates bit stream having the size of 188 bytes by using video and audio buffer data, user and network information buffer data generated from the first and second rate control part, and various coding information generated from the parameter generating part(30) and the multiplex control part(40), and inserts CRC data into transport stream data generated by interfacing with the CRC process part(50). A transport stream data output rate control part(80) controls output rate for outputting the stream generated at the transport stream data generating part(60). A transport stream data output buffer(70) receives and stores the stream transformed at the transport stream data generating part(60) and outputs data having regular rate according to the control of the output rate control part(80). An interface part(90) takes charge of interface with the PC and the other control devices for receiving control data, parameter data, and user data of the multiplexing apparatus.

Description

엠펙 2 (MPEG-2) 시스템 다중화 장치MPEG-2 system

본 발명은 엠펙-2(MPEG-2) 시스템 다중화 장치에 관한 것으로, 복수의 프로그램을 동시에 다중화 할 수 있도록 하고, PCI I/O 버스를 내장하여 개인용 컴퓨터에 직접 연결할 수 있도록 한 기술로써, 디지탈 TV(DTV), 고화질 TV(HDTV), 주문형 비디오(VOD) 시스템, 영상회의 코덱 시스템 및 광대역 ISDN 단말기 코덱 시스템 등과 같이 엠펙 코덱 시스템을 사용하는 모든 시스템에 적용 가능한 기술이다.The present invention relates to an MPEG-2 system multiplexing device, which is capable of multiplexing a plurality of programs simultaneously and directly connecting a personal computer with a built-in PCI I / O bus. (DTV), high-definition television (HDTV), video-on-demand (VOD) system, video conferencing codec system and broadband ISDN terminal codec system is applicable to all systems using the MPEG codec system.

현재 영상을 처리하는 시스템에서 다중화 장치에 대한 구체적인 구현 사례가 없는 실정이며, 특히 2개 이상의 프로그램을 다중화하는 회로는 없는 실정이다.There is no specific implementation of the multiplexing device in the current image processing system, and in particular, there is no circuit for multiplexing two or more programs.

또한, 지금까지의 다중화 장치는 전송 시스템 등에서 사용하는 것으로 많이 개발이 되었는데, 현재 가장 많이 보편화된 컴퓨터에 적용할 수 있는 다중화 장치는 없다.In addition, until now, the multiplexing device has been developed to be used in a transmission system, etc., but at present, there is no multiplexing device applicable to the most common computer.

컴퓨터의 메인 버스인 PCI 버스를 채용하여 제어 및 다양한 정보 전송을 가능하도록 본 발명에서는 제시하고 있다.The present invention proposes to control and transmit various information by adopting the PCI bus which is the main bus of the computer.

본 발명은 상기에 기술한 바와 같은 종래 요구사항을 감안하여, PC와 같은 환경에서의 제어 및 각종 데이타 처리를 위해 PCI 버스를 사용하여 직접 마더 보드에 내장할 수 있도록 하고, PCI 버스를 사용하지 않을 경우에는 별도의 모듈을 통해 외부에서 다중화 장치를 제어할 수 있도록 하므로써, PCI I/O 및 일반적인 호스트 버스를 모두 수용할 수 있도록 한 다중화 장치를 제공하는 것을 목적으로 한다.In view of the conventional requirements as described above, the present invention allows a PCI bus to be directly embedded in a motherboard for control and various data processing in a PC-like environment, and does not use a PCI bus. In this case, it is an object of the present invention to provide a multiplexing device capable of accommodating both PCI I / O and a general host bus by allowing the external device to be controlled through a separate module.

도 1은 본 발명에 의해 구현된 다중화 장치의 전체 블럭도.1 is an overall block diagram of a multiplexing device implemented by the present invention.

도 2는 도 1의 레이트 제어부 상세 블럭도.FIG. 2 is a detailed block diagram of the rate controller of FIG. 1; FIG.

도 3은 도 1의 동기신호 발생부 상세 블럭도.3 is a detailed block diagram of a synchronization signal generator of FIG. 1;

도 4는 도 1의 PCI I/O 인터페이스부 상세 블럭도.4 is a detailed block diagram of the PCI I / O interface unit of FIG.

< 도면의 주요부분에 대한 부호의 설명 ><Description of Symbols for Major Parts of Drawings>

10, 20 : 레이트 제어부 11 : 레이트 제어 신호 발생부10, 20: rate control unit 11: rate control signal generator

12 : DTS/PTS 처리부 13 : 파이포12: DTS / PTS processing unit 13: Pipo

30 : 파라미터 생성부 31 : 동기신호 발생부30: parameter generator 31: synchronization signal generator

31a ∼ 31f : 카운터 40 : 다중화 제어부31a to 31f: counter 40: multiplexed control unit

50 : CRC 처리부 60 : 트랜스포트 스트림 데이타 발생부50: CRC processing unit 60: transport stream data generation unit

70 : 트랜스포트 스트림 데이타 출력버퍼70: transport stream data output buffer

80 : 트랜스포트 스트림 데이타 출력 레이트 제어부80: transport stream data output rate control unit

상기와 같은 목적을 달성하기 위해 본 발명에서 구현한 다중화 장치 구성은, 비디오, 오디오 인코터 및 부가 데이타 발생 장치와의 인터페이스를 담당하는 레이트 제어부와;In order to achieve the above object, a multiplexing device configuration implemented in the present invention includes a rate control unit in charge of an interface with a video, audio encoder, and additional data generating device;

다중화 장치의 동작을 위한 각종 파라미터를 저장하며, 외부 및 PC를 통해 사용자가 파라미터 정보를 변경할 수 있는 파라미터 생성부와;A parameter generating unit for storing various parameters for the operation of the multiplexing device and allowing a user to change parameter information through an external device and a PC;

데이타 인터페이스를 갖는 수단으로부터 각종 데이타를 받아들여 출력할 스트림을 생성하는데 필요로 하는 데이타 및 제어 신호를 생성하는 다중화 제어부와;A multiplexing control unit for generating data and control signals required for generating a stream for receiving and outputting various data from means having a data interface;

전송 데이타의 에러 검색을 위한 순환 여유도 회로(CRC) 처리부와;A cyclic redundancy circuit (CRC) processor for error retrieval of transmission data;

상기 레이트 제어부 내의 데이타와, 사용자 및 망정보 버퍼 데이타와, 상기 파라미터 생성부 및 다중화 제어부에서 발생되는 각종 코딩 정보를 이용하여 전송할 비트 스트림을 발생하는 트랜스포트 스트림 데이타 발생부와;A transport stream data generator for generating a bit stream to be transmitted using data in the rate controller, user and network information buffer data, and various coding information generated by the parameter generator and the multiplexing controller;

상기 트랜스포트 스트림 데이타 발생부에서 생성된 스트림을 출력하기 위해 출력 레이트를 제어하는 트랜스포트 스트림 데이타 출력 레이트 제어부와;A transport stream data output rate control unit controlling an output rate for outputting the stream generated by the transport stream data generation unit;

상기 트랜스포트 스트림 데이타 출력 레이트 제어부를 통해 트랜스포트 스트림 데이타 발생부에서 변환된 스트림을 입력받아 저장한 후, 출력 레이트 제어부의 제어에 따라 일정 율을 갖는 데이타를 출력하는 트랜스포트 스트림 데이타 출력 버퍼 및 ;A transport stream data output buffer for receiving and storing a stream converted by the transport stream data generation unit through the transport stream data output rate control unit and outputting data having a constant rate under the control of the output rate control unit;

PC 및 타 제어 장치와 인터페이스를 담당하여 다중화 장치의 제어 데이타, 파라미터 데이타 및 사용자 데이타를 입력받는 인터페이스부를 포함하여 구성하는 것을 특징으로 한다.It is characterized in that it comprises an interface unit that takes charge of the interface with the PC and other control devices to receive the control data, parameter data and user data of the multiplexing device.

상기한 목적 및 특징들, 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이다. 이하 첨부된 도면을 참조하여 본 발명의 실시예를 상세히 설명하면 다음과 같다.The above objects, features, and advantages will become more apparent from the following detailed description taken in conjunction with the accompanying drawings. Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

본 발명의 다중화기 회로는 ISO/IEC 13818 - 1 시스템부를 근간으로 하여 설계하며, 비디오 및 오디오 데이타와 사용자 데이타 등 다양한 정보를 하나의 비트스트림 형태로 ISO/IEC 13818 - 1 시스템부의 신택스(Syntax)에 맞게 생성한다.The multiplexer circuit of the present invention is designed based on the ISO / IEC 13818-1 system unit, and has a variety of information such as video and audio data and user data in a single bitstream form of the syntax of the ISO / IEC 13818-1 system unit. Create according to.

여기서 제 1 입력부를 통해 입력되는 데이타는 비디오, 오디오 및 사용자 데이타로 구성되며, 비디오, 오디오 인코더 장치와 인터페이스를 하여 데이타를 받아들인다.Here, the data input through the first input unit is composed of video, audio and user data, and interfaces with the video and audio encoder device to receive the data.

이때 인코더 장치와 인터페이스 시 서로간의 레이트 제어가 필요한데, 본 발명에서는 이를 위해 본 칩이 매스트/슬레이브 기능을 할 수 있도록 설계하고, 또한 PCI 버스를 사용하여 프로그램 데이타와 다양한 정보를 삽입 가능하도록 해 본 다중화 장치의 기능을 제어할 수 있도록 설계한다.At this time, the rate control between the encoder device and the interface is required. In the present invention, the chip is designed to perform a mast / slave function, and the program data and various information can be inserted using a PCI bus. Design to control the function of the multiplexing device.

도 1은 본 발명에 의해 구현된 다중화 장치의 전체 블럭도로, 비디오, 오디오 인코터 및 부가 데이타 발생 장치와의 인터페이스를 담당하는 제 1, 제 2 레이트 제어부(10, 20)와;1 is an overall block diagram of a multiplexing device implemented by the present invention, comprising: first and second rate control units 10 and 20 for interfacing with video, audio encoders and additional data generating devices;

다중화 장치의 동작을 위한 각종 파라미터를 저장하며, 외부 및 PC를 통해 사용자가 변경할 수 있는 파라미터 생성부(30)와;A parameter generator 30 which stores various parameters for the operation of the multiplexing device and which can be changed by a user through an external device and a PC;

데이타 인터페이스를 갖는 수단으로 부터 각종 데이타를 받아들여 출력할 스트림을 생성하는데 필요로 하는 데이타 및 제어 신호를 생성하는 다중화 제어부(40)와;A multiplexing control section 40 for generating data and control signals required for generating a stream for receiving and outputting various data from means having a data interface;

전송 데이타의 에러 검색을 위한 순환 여유도 회로(이하 CRC라 칭한다) 처리부(50)와;A cyclic redundancy circuit (hereinafter referred to as CRC) processing unit 50 for error retrieval of transmission data;

상기 각 레이트 제어부(10, 20) 내 비디오 및 오디오 버퍼 데이타, 사용자 및 망정보 버퍼 데이타(NIT), 상기 파라미터 생성부(30) 및 다중화 제어부(40)에서 발생 되는 각종 코딩 정보를 이용하여 188 바이트의 크기를 갖는 비트 스트림을 발생하며, 상기 CRC 처리부(50)와 인터페이스를 하여 발생시킨 트랜스포트 스트림 데이타에 CRC 데이타를 삽입하여 전송하는 트랜스포트 스트림 데이타 발생부(60)와;188 bytes using various coding information generated by the video and audio buffer data, the user and network information buffer data (NIT), the parameter generator 30 and the multiplexing controller 40 in the rate controllers 10 and 20. A transport stream data generation unit (60) for generating a bit stream having a size and inserting CRC data into transport stream data generated by interfacing with the CRC processing unit (50);

상기 트랜스포트 스트림 데이타 발생부에서 생성된 스트림을 출력하기 위해 출력 레이트를 제어하는 트랜스포트 스트림 데이타 출력 레이트 제어부(80)와;A transport stream data output rate controller (80) for controlling an output rate to output a stream generated by the transport stream data generator;

상기 트랜스포트 스트림 데이타 출력 레이트 제어부(80)를 통해 트랜스포트 스트림 데이타 발생부(60)에서 변환된 스트림을 입력받아 저장한 후, 출력 레이트 제어부(80)의 제어에 따라 일정 율을 갖는 데이타를 출력하는 트랜스포트 스트림 데이타 출력 버퍼(70) 및 ;After receiving and storing the stream converted by the transport stream data generation unit 60 through the transport stream data output rate control unit 80, outputting data having a constant rate under the control of the output rate control unit 80. A transport stream data output buffer 70;

PC 및 타 제어 장치와의 인터페이스를 담당하여 다중화 장치의 제어 데이타, 파라미터 데이타 및 사용자 데이타를 입력받는 인터페이스부(90)를 포함하여 구성된다.It is configured to include an interface unit 90 in charge of the interface with the PC and other control device to receive the control data, parameter data and user data of the multiplexing device.

상기 각 구성에 대한 구조와 동작을 더욱 상세하게 설명하면 하기와 같다.Hereinafter, the structure and operation of each component will be described in detail.

상기 각 레이트 제어부(10, 20)는 도 2에 도시된 바와 같이 상기 파라미터 생성부(30)에 저장된 파라미터 값을 참조하여 레이트 제어를 위한 제어신호를 생성하는 레이트 제어 신호 발생부(11)와;Each rate control unit (10, 20) includes a rate control signal generator (11) for generating a control signal for rate control with reference to the parameter value stored in the parameter generator (30) as shown in FIG.

상기 레이트 제어 신호 발생부(11)에서 출력된 제어신호에 따라서 입력되는 압축된 비디오, 오디오 스트림 데이타의 디코딩시 동기 확립을 위한 디코딩 시작점(이하 DTS라 칭한다)신호와 디스플레이 시작점(이하 PTS라 칭한다) 신호를 생성하는 DTS/PTS 처리부(12)와;A decoding start point (hereinafter referred to as a DTS) signal and a display start point (hereinafter referred to as a PTS) for establishing synchronization when decoding compressed video and audio stream data input according to the control signal output from the rate control signal generator 11. A DTS / PTS processor 12 which generates a signal;

상기 레이트 제어 신호 발생부(11)를 통해 입력된 비디오, 오디오 및 부가 데이타를 저장하는 파이포(13)를 포함하여 구성되며, 이와 같은 구성은 제 2 레이트 제어부(20)도 동일하다.It includes a PIPO 13 for storing the video, audio and additional data input through the rate control signal generator 11, this configuration is also the same as the second rate controller 20.

그리고 상기 트랜스포트 스트림 데이타 출력 레이트 제어부(80)의 구성도 마찬가지로 상기 레이트 제어부(10)의 구성에서 디코딩 시작점(DTS)신호와 디스플레이 시작점(PTS)을 생성하지 않는 것을 제외하고는 동일한 구성을 가진다.Similarly, the configuration of the transport stream data output rate control unit 80 has the same configuration except that the decoding start point DTS signal and the display start point PTS are not generated in the configuration of the rate control unit 10.

상기와 같은 레이트 제어부(10)는 다중화 회로 내의 다중화 제어부(40) 및 트랜스포트 스트림 데이타 발생부(60)에 버퍼 상태, 압축 데이타 및 다중화를 위한 헤더 정보 삽입 위치 등 트랜스포트 스트림 데이타의 발생을 위한 각종 데이타를 넘겨주는 역할을 한다.The rate control unit 10 as described above is used to generate transport stream data such as a buffer state, compressed data, and a header information insertion position for multiplexing in the multiplexing control unit 40 and the transport stream data generating unit 60 in the multiplexing circuit. It serves to pass various data.

상기 파라미터 생성부(30)에 저장되는 파라미터 값은 상기에서도 잠시 언급한 바와 같이 인터페이스부(90)를 통해 사용자가 입력하는 값으로 언제든지 사용자 정의가 가능하다.The parameter value stored in the parameter generator 30 is a value input by the user through the interface unit 90 as described above, and can be customized at any time.

이렇게 저장된 파라미터 값은 상기 다중화 제어부(40) 및 트랜스포트 스트림 데이타 발생부(60)에서 다중화 비트스트림 데이타를 만들 때 참조되어 진다.The stored parameter values are referred to when the multiplexing control unit 40 and the transport stream data generating unit 60 generate the multiplexed bitstream data.

또한, 파라미터 생성부(30)는 크게 제어용과 참조용 파라미터 값으로 대별되는 바, 참조 레지스터 파일에는 상기 각 레이트 제어부(10, 20)와, 다중화 제어부(40)와 트랜스포트 스트림 데이타 발생부(60)에서 필요로하는 참조용 파라미터 값을 저장하고 있다.The parameter generator 30 is roughly divided into control and reference parameter values. The reference register file includes the rate controllers 10 and 20, the multiplexing controller 40, and the transport stream data generator 60. ) Stores the reference parameter values required by.

제어 레지스터는 16비트 크기 2개로 구성(도면에는 도시하지 않음)되어 있으며 이 레지스터 파일에 저장되는 정보는 항시 호스트가 감시하여야 하는 정보로, 호스트의 요구에 따라서 PCI 버스를 통해 출력된다.The control register consists of two 16-bit sizes (not shown), and the information stored in this register file is always monitored by the host, which is output through the PCI bus at the request of the host.

그리고 파라미터 생성부(30) 내에는 동기 신호 발생부(31)가 포함되어 있는데, 본 다중화 회로는 ISO/IEC 13818 - 1 시스템부 규격에서 정의된 것처럼 디코더의 랜덤 액세스 및 시스템 동기를 이루기 위해서 프로그램에 대한 특별한 데이타인 PSI 비트스트림 데이타와 다중화 회로의 클럭 정보인 PCR 데이타를 주기적인 시간 간격으로 전송하여야 한다.In addition, a synchronization signal generator 31 is included in the parameter generator 30. The multiplexing circuit is provided to a program to achieve random access and system synchronization of a decoder as defined in the ISO / IEC 13818-1 system part standard. Special data for the PSI bitstream data and PCR data for the clock information of the multiplexing circuit should be transmitted at periodic time intervals.

또한 스크램블링에 관한 정보인 EMM, ECM 정보의 주기적인 전송도 필요하다.In addition, periodic transmission of EMM and ECM information, which is information about scrambling, is also required.

동기 신호 발생부(31)는 이러한 주기성 트랜스포트 데이타의 발생 시점을 제어부에 전달하는 역할을 하며, 이의 구성을 보면 도 3에 도시된 바와 같이, 각종 파라미터 값(PSI_init_value-load ∼ P2PCR_init_value)을 입력받아 이를 각 카운터(31a ∼ 31g)를 통해 카운팅하여 플래그(PSI_start_flag ∼ P2PCR_start_flag) 값을 다중화 제어부(40)로 출력한다.The synchronization signal generator 31 transmits the generation time point of the periodic transport data to the controller, and as shown in FIG. 3, the synchronization signal generator 31 receives various parameter values PSI_init_value-load to P2PCR_init_value. The counters are counted through the counters 31a to 31g to output the flag PSI_start_flag to P2PCR_start_flag values to the multiplexing control unit 40.

그리고 상기 파라미터 값은 사용자가 PCI를 이용하여 정의할 수 있으므로 발생 주기를 변경할 수 있다.And the parameter value can be defined by the user using the PCI can change the generation cycle.

상기 다중화 제어부(40)는 다중화 장치 내 각부로부터 데이타를 받아들여 다음과 같은 일을 처리한다.The multiplexing control unit 40 receives data from each unit in the multiplexing device and processes the following.

-우선순위에 따른 패킷번호(PID : Packet ID)를 결정한다.-Determine the packet number (PID: Packet ID) according to the priority.

-PID 버젼(Version), 연속성(continuity)을 관리한다.Manage PID version and continuity.

-PID 헤드(head), 적응 필드(adaptation field), 패이로드 파라미터(Payload Parameter) 및 데이타를 결정한다.Determine the PID head, adaptation field, Payload Parameter and data.

-패킷 에리먼트리 스트림(PES : Packet Elementary Stream) 데이타의 구조를 결정한다.Determine the structure of Packet Elementary Stream (PES) data.

-스터핑(Stuffing), 포인터(Pointer), 섹션(Section), 적응 필드(adaptation field)의 크기를 결정한다.Determine the size of stuffing, pointer, section, and adaptation field.

-PCI I/O를 통한 사용자 데이타 형태를 결정한다.Determine the type of user data over PCI I / O.

상기 CRC 처리부(50)는 CRC 코드 발생을 위해 아래 식 1과 같은 다항식을 사용하여 코드를 발생시킨다.The CRC processing unit 50 generates a code using a polynomial such as Equation 1 below to generate a CRC code.

<식 1><Equation 1>

x32 + x26 + x23 + x22 + x16 + x12 + x11 + x10 + x8 + x7 + x5 + x4 + x2 + x + 1x32 + x26 + x23 + x22 + x16 + x12 + x11 + x10 + x8 + x7 + x5 + x4 + x2 + x + 1

상기 인터페이스부(90)는 도 4에 도시된 바와 같이 PC를 통해 입력되는 파라미터 값을 입력받기 위한 PCI I/O 인터페이스부(91)와;The interface unit 90 includes a PCI I / O interface unit 91 for receiving a parameter value input through a PC as shown in FIG. 4;

PC가 아닌 타 제어장치에서 입력되는 파라미터 값을 입력받기 위한 PCI 제어부(92)와;A PCI controller 92 for receiving a parameter value input from another controller other than the PC;

상기 각 인터페이스부(91, 92)를 통해 입력된 각종 파라미터 값을 선택적으로 출력하기 위한 다수의 먹스(Multiplexer)(93)와;A plurality of multiplexers 93 for selectively outputting various parameter values input through the interface units 91 and 92;

NIT 데이타를 저장하기 위한 NIT 용 파이포(94)와;A pipette 94 for NIT for storing NIT data;

사용자 데이타를 저장하기 위한 사용자 용 파이포(95); 및User pipo 95 for storing user data; And

상기 각 파이포(94, 95)의 상태를 저장하는 상태 레지스터(96)를 포함하여 구성된다.And a status register 96 for storing the states of the respective PIPOs 94 and 95.

상기와 같이 구성된 인터페이스부(90)에서는 제어 레지스터 정보를 입력하는 외부 포트를 이용하여 PCI I/O 버스 및 일반 데이타 버스를 선택 가능하다.The interface unit 90 configured as described above may select a PCI I / O bus and a general data bus using an external port for inputting control register information.

호스트 데이타(개인용 컴퓨터에서 입력되는 제어, 참조 및 다중화 스트림데이타에 삽입되는 데이타)에는 다중화 장치 제어 및 파라미터 데이타와 EMM, ECM, NIT 및 기타 사용자 데이타가 있다.Host data (data input into control, reference, and multiplexed stream data input from a personal computer) includes multiplexing device control and parameter data and EMM, ECM, NIT, and other user data.

호스트는 EMM, ECM, NIT 및 기타 사용자 데이타 인터페이스 시 파라미터 생성부(30) 내에 존재하는 제어 레지스터를 참조하여 현재 데이타 인터페이스가 가능한지를 점검하며, 어떠한 정보를 전달하는지를 먼저 상기 제어 레지스터에 지정한다.The host checks whether the current data interface is possible by referring to the control register existing in the parameter generator 30 in the EMM, ECM, NIT, and other user data interfaces, and first assigns to the control register what information is transmitted.

그리고 상기 각 버퍼에서 NIT 용 파이포(94)는 PSI 정보 중 NIT 데이타가 다른 호스트 데이타와는 달리 주기적 트랜스포트 스트림데이타 발생을 위한 정보이기 때문에 특별하게 설계해야 함이 요구되며, 사용자 용 파이포(95)는 NIT 데이타를 제외한 모든 호스트 데이타를 인터페이스 한다.In each of the buffers, the NIT pipeo 94 is required to be specially designed because the NIT data of the PSI information is information for generating periodic transport stream data, unlike other host data. 95) interfaces all host data except NIT data.

상기와 같이 구성된 본 발명의 다중화 장치의 동작 과정은 각 레이트 제어부(10, 20)를 통해 인코더 장치로 부터 데이타가 입력되면, 다중화 제어부(40)에서 파라미터 생성부(30)에 저장되어 있는 각종 파라미터들을 참조하여 상기 입력된 데이타가 스트림으로 생성되는데 있어 필요로 되는 데이타 및 제어 신호를 생성한다.In the operation process of the multiplexing apparatus of the present invention configured as described above, when data is input from the encoder apparatus through each rate control unit 10, 20, the multiplexing control unit 40 stores various parameters stored in the parameter generating unit 30. Reference is made to the data and control signals required to generate the input data into the stream.

그런다음 상기 데이타는 트랜스 포트 스트림 데이타 발생부(60)로 입력되어 상기 제어 신호의 제어하에 출력 스트림으로 변환되며, 변환된 트랜스 포트 스트림 데이타는 트랜스포트 스트림 데이타 출력 버퍼(70)에 일시 저장되었다가 일정율의 출력을 위하여 트랜스포트 스트림 데이타 출력 레이트 제어부(80)의 요구에 따라서 데이타를 출력하게 된다.Then, the data is input to the transport stream data generator 60 and converted into an output stream under the control of the control signal, and the converted transport stream data is temporarily stored in the transport stream data output buffer 70 and then In order to output a constant rate, data is output at the request of the transport stream data output rate control unit 80.

이처럼 트랜스포트 스트림 데이타 출력 버퍼(70)에서 데이타가 일정 율에 따라 입력되면 이 데이타는 트랜스포트 스트림 데이타 출력 레이트 제어부(80)의 제어를 통해 외부로 전송된다.As described above, when data is inputted in the transport stream data output buffer 70 at a predetermined rate, the data is transmitted to the outside through the control of the transport stream data output rate control unit 80.

이상에서 상세히 설명한 바와 같이 본 발명은 ISO/IEC 13818 - 1 엠펙의 시스템부 구현으로서 2개의 프로그램을 동시에 다중화 할 수 있으며, PCI I/O버스를 내장하고 있기 때문에 개인용 컴퓨터에 바로 연결할 수 있는 잇점을 수반한다.As described in detail above, the present invention is an implementation of the system part of ISO / IEC 13818-1 MPEG, which can multiplex two programs at the same time, and has a built-in PCI I / O bus, so it can be directly connected to a personal computer. Entails.

아울러 본 발명의 바람직한 실시예는 예시의 목적을 위해 개시된 것이며, 당업자라면 본 발명의 사상과 범위안에서 다양한 수정, 변경, 부가등이 가능할 것이며, 이러한 수정 변경 등은 이하의 특허 청구의 범위에 속하는 것으로 보아야 할 것이다.In addition, a preferred embodiment of the present invention is disclosed for the purpose of illustration, those skilled in the art will be able to make various modifications, changes, additions, etc. within the spirit and scope of the present invention, such modifications and modifications belong to the following claims You will have to look.

Claims (7)

비디오, 오디오 인코터 및 부가 데이타 발생 장치와의 인터페이스를 담당하는 레이트 제어부와;A rate control unit for interfacing with the video, audio encoder and additional data generating device; 다중화 장치의 동작을 위한 각종 파라미터를 저장하며, 외부 및 PC를 통해 사용자가 파라미터 정보를 변경할 수 있는 파라미터 생성부와;A parameter generating unit for storing various parameters for the operation of the multiplexing device and allowing a user to change parameter information through an external device and a PC; 데이타 인터페이스를 갖는 수단으로 부터 각종 데이타를 받아들여 출력할 스트림을 생성하는데 필요로 하는 데이타 및 제어 신호를 생성하는 다중화 제어부와;A multiplexing control unit for generating data and control signals required for generating a stream for receiving and outputting various data from means having a data interface; 전송 데이타의 에러 검색을 위한 순환 여유도 회로(CRC) 처리부와;A cyclic redundancy circuit (CRC) processor for error retrieval of transmission data; 상기 레이트 제어부 내의 데이타와, 사용자 및 망 정보 버퍼 데이타와, 상기 파라미터 생성부 및 다중화 제어부에서 발생되는 각종 코딩 정보를 이용하여 전송할 비트 스트림을 발생하는 트랜스포트 스트림 데이타 발생부와;A transport stream data generator for generating a bit stream to be transmitted using data in the rate controller, user and network information buffer data, and various coding information generated by the parameter generator and the multiplexing controller; 상기 트랜스포트 스트림 데이타 발생부에서 생성된 스트림을 출력하기 위해 출력 레이트를 제어하는 트랜스포트 스트림 데이타 출력 레이트 제어부와;A transport stream data output rate control unit controlling an output rate for outputting the stream generated by the transport stream data generation unit; 상기 트랜스포트 스트림 데이타 출력 레이트 제어부를 통해 트랜스포트 스트림 데이타 발생부에서 변환된 스트림을 입력받아 저장한 후, 출력 레이트 제어부의 제어에 따라 일정 율을 갖는 데이타를 출력하는 트랜스포트 스트림 데이타 출력 버퍼 및 ;A transport stream data output buffer for receiving and storing a stream converted by the transport stream data generation unit through the transport stream data output rate control unit and outputting data having a constant rate under the control of the output rate control unit; PC 및 타 제어장치와의 인터페이스를 담당하여 다중화 장치의 제어 데이타, 파라미터 데이타 및 사용자 데이타를 입력받는 인터페이스부를 포함하여 구성하는 것을 특징으로 하는 엠펙 2 (MPEG-2) 시스템 다중화 장치.An MPEG-2 system multiplexing device, comprising: an interface unit for interfacing with a PC and another control device to receive control data, parameter data, and user data of the multiplexing device. 제 1항에 있어서,The method of claim 1, 상기 레이트 제어부는 상기 파라미터 생성부에 저장된 파라미터 값을 참조하여 레이트 제어를 위한 제어신호를 생성하는 레이트 제어 신호 발생부와,The rate controller may include a rate control signal generator for generating a control signal for rate control by referring to parameter values stored in the parameter generator; 상기 레이트 제어 신호 발생부에서 출력된 제어신호에 따라서 입력되는 압축된 비디오, 오디오 스트림 데이타의 디코딩시 동기 확립을 위한 디코딩 시작점(DTS)신호와 디스플레이 시작점(PTS) 신호를 생성하는 DTS/PTS 처리부와,A DTS / PTS processor for generating a decoding start point (DTS) signal and a display start point (PTS) signal for establishing synchronization when decoding the compressed video and audio stream data input according to the control signal output from the rate control signal generator; , 상기 레이트 제어 신호 발생부를 통해 입력된 비디오, 오디오 및 부가 데이타를 저장하는 파이포를 포함하여 구성되는 제 1 레이트 제어부와;A first rate controller configured to include a pipo for storing video, audio, and additional data input through the rate control signal generator; 상기 제 1 레이트 제어부와 동일한 구성으로 이루어진 제 2 레이트 제어부를 포함하여 구성하여, 하나의 다중화 장치에서 복수의 인코더를 인터페이스 할수 있도록 하는 것을 특징으로 하는 엠펙 2 (MPEG-2) 시스템 다중화 장치.And a second rate controller configured to have the same configuration as that of the first rate controller, so that a plurality of encoders can be interfaced in one multiplexer. 제 1항에 있어서,The method of claim 1, 상기 파라미터 생성부는 상기 레이트 제어부와, 다중화 제어부와 트랜스포트 스트림 데이타 발생부에서 필요로 하는 참조용 파라미터 값을 저장하는 참조 레지스터와;The parameter generator comprises: a reference register for storing reference parameter values required by the rate controller, the multiplexing controller, and the transport stream data generator; 호스트가 감시하는 정보로, 호스트의 요구에 따라서 PCI 버스를 통해 출력되는 정보를 저장하는 제어 레지스터; 및A control register that monitors information output by the host in response to a request of the host; And 주기성 트랜스포트 데이타의 발생 시점을 제어부에 전달하는 동기 신호 발생부를 포함하여 구성하는 것을 특징으로 하는 엠펙 2 (MPEG-2) 시스템 다중화 장치.An MPEG-2 system multiplexing device comprising a synchronization signal generator for transmitting a generation time point of periodic transport data to a control unit. 제 1항에 있어서,The method of claim 1, 상기 다중화 제어부는 각 부로 부터 데이타를 받아들여 우선순위에 따른 패킷번호(PID)를 결정하고;The multiplexing control unit receives data from each unit to determine a packet number (PID) according to priority; PID 버젼, 연속성을 관리하고;Manage PID version, continuity; PID 헤드, 적응 필드, 패이로드 파라미터 및 데이타를 결정하고;Determine PID heads, adaptation fields, payload parameters and data; 패킷 에리먼트리 스트림(PES) 데이타의 구조를 결정하고;Determine a structure of packet asset stream (PES) data; 스터핑, 포인터, 섹션, 적응 필드의 크기를 결정하고;Determine the size of the stuffing, pointer, section, adaptive field; PCI I/O를 통한 사용자 데이타 형태를 결정하는 것을 특징으로 하는 엠펙 2 (MPEG-2) 시스템 다중화 장치.An MPEG 2 (MPEG-2) system multiplexing device, characterized in that it determines the type of user data via PCI I / O. 제 1항에 있어서,The method of claim 1, 트랜스포트 스트림 데이타 발생부는 상기 CRC 처리부와 인터페이스를 하여, 생성한 트랜스포트 스트림 데이타에 CRC 데이타를 삽입하여 전송하는 것을 특징으로 하는 엠펙 2 (MPEG-2) 시스템 다중화 장치.And a transport stream data generation unit interfaces with the CRC processing unit to insert and transmit CRC data in the generated transport stream data. 제 1항에 있어서,The method of claim 1, 상기 트랜스포트 스트림 데이타 출력 레이트 제어부는 상기 파라미터 생성부에 저장된 파라미터 값을 참조하여 레이트 제어를 위한 제어신호를 생성하는 레이트 제어 신호 발생부(11)와,The transport stream data output rate controller may include a rate control signal generator 11 which generates a control signal for rate control by referring to parameter values stored in the parameter generator; 상기 레이트 제어 신호 발생부(11)에서 출력된 제어신호를 이용하여 비디오, 오디오 신호의 디코딩시 동기 확립을 위한 디코딩 시작점(DTS)신호와 디스플레이 시작점(PTS) 신호를 생성하는 DTS/PTS 처리부와,A DTS / PTS processor for generating a decoding start point (DTS) signal and a display starting point (PTS) signal for establishing synchronization when decoding video and audio signals using the control signal output from the rate control signal generator 11; 상기 레이트 제어 신호 발생부(11)를 통해 입력된 비디오, 오디오 및 부가 데이타를 저장하는 파이포를 포함하여 구성하는 것을 특징으로 하는 엠펙 2 (MPEG-2) 시스템 다중화 장치.And a PIPO for storing video, audio, and additional data input through the rate control signal generator (11). 제 1항에 있어서,The method of claim 1, 상기 인터페이스부 PC를 통해 입력되는 파라미터 값을 입력받기 위한 PCI I/O 인터페이스부와;A PCI I / O interface unit for receiving a parameter value input through the interface unit PC; PC가 아닌 타 통신장치에서 입력되는 파라미터 값을 입력받기 위한 PCI 제어부와;A PCI controller for receiving a parameter value input from another communication device other than the PC; 상기 각 인터페이스부를 통해 입력된 각종 파라미터 값을 선택적으로 출력하기 위한 다수의 먹스와;A plurality of muxes for selectively outputting various parameter values input through each interface unit; NIT 데이타를 저장하기 위한 NIT 용 파이포와;A pipette for NIT for storing NIT data; 사용자 데이타를 저장하기 위한 사용자 용 파이포; 및User pipo for storing user data; And 상기 각 파이포의 상태를 저장하는 상태 레지스터를 포함하여 구성하여, 전송 시스템 및 PC 모두에 사용할 수 있는 것을 특징으로 하는 엠펙 2 (MPEG-2) 시스템 다중화 장치.And a status register for storing the states of the respective PIPOs, which can be used for both a transmission system and a PC.
KR1019970065673A 1997-12-03 1997-12-03 Mpeg-2 system multiplexer KR100250982B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970065673A KR100250982B1 (en) 1997-12-03 1997-12-03 Mpeg-2 system multiplexer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970065673A KR100250982B1 (en) 1997-12-03 1997-12-03 Mpeg-2 system multiplexer

Publications (2)

Publication Number Publication Date
KR19990047316A KR19990047316A (en) 1999-07-05
KR100250982B1 true KR100250982B1 (en) 2000-04-15

Family

ID=19526371

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970065673A KR100250982B1 (en) 1997-12-03 1997-12-03 Mpeg-2 system multiplexer

Country Status (1)

Country Link
KR (1) KR100250982B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100731488B1 (en) * 1999-10-02 2007-06-21 주식회사 케이티 Apparatus and Method for Processing Timing

Also Published As

Publication number Publication date
KR19990047316A (en) 1999-07-05

Similar Documents

Publication Publication Date Title
US6988238B1 (en) Method and system for handling errors and a system for receiving packet stream data
US6463059B1 (en) Direct memory access execution engine with indirect addressing of circular queues in addition to direct memory addressing
US7724682B2 (en) Method and system for generating transport stream packets
US6438145B1 (en) Transport packet distribution system and method using local header
CN1117483C (en) MPEG II system with PES decoder
US6763390B1 (en) Method and system for receiving and framing packetized data
US6434146B1 (en) Use of sequencing information in a local header that allows proper synchronization of packets to subsidiary interfaces within the post-processing environment of an mpeg-2 packet demultiplexing architecture
US6434170B1 (en) Memory-based circular queue with local descriptive information to implement a storage area for filtering mpeg-2 packets that are distributed and/or processed under the control of a host microprocessor by a direct memory access mechanism
US20080288663A1 (en) Method and system for handling errors
EP0798932A2 (en) MPEG-2 transport decoder
KR19990001778A (en) Caption data processing circuit and method
US5812976A (en) System and method for interfacing a transport decoder to a bitrate-constrained audio recorder
KR20010069140A (en) Video decoder and method for the same
US5475688A (en) Media error code generation as for a video inverse transport processor
US5675654A (en) System and method for interfacing a transport decoder to a national renewable security systems (NRSS) smart card
US6778533B1 (en) Method and system for accessing packetized elementary stream data
JPH11163817A (en) Digital encoding multiplexer
US6804266B1 (en) Method and apparatus for handling private data from transport stream packets
KR100558584B1 (en) A demultiplexer, a television decoding apparatus and a demultiplexing method
US6868096B1 (en) Data multiplexing apparatus having single external memory
KR100250982B1 (en) Mpeg-2 system multiplexer
Kim et al. Design and implementation of an MPEG-2 transport stream multiplexer for HDTV satellite broadcasting
JP2000308023A (en) Method and device for transmitting data
US7050436B1 (en) Device and method for processing a stream of data
KR100216603B1 (en) The packet multiplexer for transport bit stream

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: 20130107

Year of fee payment: 14

FPAY Annual fee payment

Payment date: 20140102

Year of fee payment: 15

LAPS Lapse due to unpaid annual fee