KR100236833B1 - Transport stream packet generator - Google Patents
Transport stream packet generator Download PDFInfo
- Publication number
- KR100236833B1 KR100236833B1 KR1019970039885A KR19970039885A KR100236833B1 KR 100236833 B1 KR100236833 B1 KR 100236833B1 KR 1019970039885 A KR1019970039885 A KR 1019970039885A KR 19970039885 A KR19970039885 A KR 19970039885A KR 100236833 B1 KR100236833 B1 KR 100236833B1
- Authority
- KR
- South Korea
- Prior art keywords
- transport stream
- data
- packet
- stream packet
- fifo
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/30—Definitions, standards or architectural aspects of layered protocol stacks
- H04L69/32—Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
- H04L69/322—Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
- H04L69/326—Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the transport layer [OSI layer 4]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/19—Flow control; Congestion control at layers above the network layer
- H04L47/193—Flow control; Congestion control at layers above the network layer at the transport layer, e.g. TCP related
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
MPEG-2 트랜스포트 스트림은 압축된 비디오, 오디오 데이터 및 사용자 데이터, 그리고 시스팀 정보 데이터가 다중화되어 패킷 형태로 구성되며, 이는 전송망으리 전송 포맷에 새로이 매핑되어 수신측에 전달된다. 전송중에는 MPEG-2 트랜스 포트 스트림 고유의 패킷의 형태가 없어지며, 수신측의 역다중화부는 이를 재생하므로써 정보처리를 원활히 할 수 있다. 재생장치는 wadr,radr 발생부를 내장하며, 클럭발생기에서 출력된 reset 신호로 초기화되는 값은 각각 “Ox1FF”,“0x000”이고, wadr과 radr의 위치로 fifo_full 상태를 확인하여, 188바이트 이상의 데이터가 FIFO에 저장되면(fifo_full=‘1’) 이를 27MHz의 clock으로 읽어 트랜스포트 스트림 패킷을 발생시킨다.The MPEG-2 transport stream is composed of multiplexed compressed video, audio and user data, and system information data in the form of packets, which are newly mapped to the transmission format of the transmission network and delivered to the receiver. During transmission, the packet form peculiar to the MPEG-2 transport stream disappears, and the demultiplexer on the receiving side can smoothly process the information by reproducing it. The playback device has a built-in wadr and radr generator, and the values initialized by the reset signal output from the clock generator are “Ox1FF” and “0x000”, respectively. Check the fifo_full status with the positions of wadr and radr. When stored in the FIFO (fifo_full = '1'), this is read as a 27 MHz clock to generate a transport stream packet.
Description
본 발명은 전송망 적응 계층을 통하여 전달된 데이터를 용이하게 역다중화하고, 고속으로 처리할 수 있는 트랜스포트 스트림 패킷으로 재구성하는 재생장치에 관한 것이다.The present invention relates to a playback apparatus for easily demultiplexing data transmitted through a transport adaptation layer and reconstructing a transport stream packet that can be processed at high speed.
일반적으로 MPEG-2 시스템에서 네트워크를 통하여 전송되는 트랜스포트 스트림 패킷에서 입력된 신호가 어디에서부터 유효한지를 디코딩하는 데 있어 동기 비트를 찾기 위한 디코더를 갖는 재생장치가 다양하게 개발되고 있다. 그러나, 이러한 장치의 개발에도 불구하고 실제적인 패킷재생장치는 역다중화기가 정상 동작할 수 있는 시작지점을 얻어, 데이터의 에러발생에 대한 복구능력을 향상시키는 기능이 필수적으로 이루어져야만 가능하다.In general, various playback apparatuses having a decoder for finding sync bits in decoding a signal input from a transport stream packet transmitted through a network in MPEG-2 systems have been developed. However, despite the development of such a device, a practical packet reproducing apparatus can be obtained only by obtaining a starting point at which the demultiplexer can operate normally, thereby improving the recoverability against error of data.
상기한 점을 감안하여, 본 발명은 역 다중화기가 정상 동작할 수 있는 시작지점을 제공함과 아울러, 데이터의 에러발생에 대한 복구능력을 향상시키는 트랜스포트 스트림 패킷 재생장치를 제공하는 것이다.In view of the above, the present invention provides a transport stream packet reproducing apparatus that provides a starting point for the demultiplexer to operate normally and also improves the recoverability against error of data.
제1도는 본 발명으로 구현가능한 하드웨어 블록도.1 is a hardware block diagram embodying the present invention.
제2도는 본 발명의 동작원리를 나타내는 유한 상태천이도.2 is a finite state transition diagram showing the principle of operation of the present invention.
제3도는 본 발명의 적용시 입출력 신호 타이밍도.3 is an input / output signal timing diagram in application of the present invention.
MPEG-2 트랜스포트 스트림은 압축된 비디오, 오디오 데이터 및 사용자 데이터, 그리고 시스팀 정보 데이터가 다중화되어 패킷 형태로 구성되며, 이 패킷 형태는 전송망의 전송 포맷에 새로이 매핑되어 수신측에 전달된다. 전송중에는 MPEG-2트랜스포트 스트림 고유의 패킷의 형태가 없어지며, 수신측의 역다중화부는 이를 재생하므로써 정보처리를 원활히 할 수 있다.MPEG-2 transport stream is composed of compressed video, audio and user data, and system information data in a packet form, which is newly mapped to a transmission format of a transmission network and delivered to a receiver. During transmission, the packet form peculiar to the MPEG-2 transport stream disappears, and the demultiplexer on the receiving side can smoothly process the information by reproducing it.
본 발명의 재생장치는 reset, clock, data_clock 및 8비트 data를 입력으로 하고, ts_enb와 8비트 ts_data를 주 출력으로 한다. 여기서, FIFO는 본 재생장치의 내부에 존재할 수도 있으며, 외부에 존재할 수도 있다.The playback apparatus of the present invention takes reset, clock, data_clock and 8-bit data as inputs, and ts_enb and 8-bit ts_data as main outputs. Here, the FIFO may exist inside or outside of the present playback device.
제1도의 일예는 FIFO가 재생장치의 외부에 존재하는 경우이다. 512바이트 크기의 FIFO를 사용하기 위하여 각각 2개의 읽기, 쓰기용 9비트의 어드레스 버스(wadr, radr)를 가지고 있으며, FIFO입출력 데이터 버스가 있다.An example of FIG. 1 is a case where a FIFO exists outside of a playback apparatus. To use a 512-byte FIFO, each has two 9-bit address buses (wadr and radr) for reading and writing, and a FIFO I / O data bus.
재생장치는 wadr,radr 발생부를 내장하며, 도시 안된 클럭발생기에서 출력된 reset 신호로 초기화되는 값은 각각 “0x1FF”,“0x000”이다. 본 발명의 재생장치에 연결되고 wadr과 radr의 위치로 fifo_full 상태를 확인하여, 188바이트 이상의 데이터가 FIFO에 저장되면(fifo_full=‘1’) 이를 27MHz의 clock으로 읽어 트랜스포트 스트림 패킷을 발생시킨다.The playback device has a built-in wadr and radr generator, and the values initialized by the reset signal output from the clock generator (not shown) are "0x1FF" and "0x000", respectively. When connected to the playback apparatus of the present invention, the fifo_full state is checked by the positions of wadr and radr, and when more than 188 bytes of data are stored in the FIFO (fifo_full = '1'), a transport stream packet is generated by reading it with a clock of 27 MHz.
재생 장치의 동작원리를 설명하면 다음과 같다.The operation principle of the reproducing apparatus is as follows.
본 재생장치는 단순히 188바이트의 트랜스포트 스트림을 재구성할 뿐 아니라 패킷 헤더의 동기바이트(“0x47”)를 매 패킷마다 검사하는 동기바이트 에물레이션 기능을 갖추고 있으며, 동기바이트 에러가 발생한 패킷에서는 다음 동기바이트를 찾을때까지 데이타를 버리므로써 역다중화기의 오동작을 방지하는 기능을 갖추고 있다.This playback device not only reconstructs a 188-byte transport stream, but also has a sync byte emulation function that checks the sync byte (“0x47”) of the packet header for every packet. This function prevents the malfunction of the demultiplexer by discarding the data until it finds.
제2도는 본 재생장치의 동작원리를 나타내는 유한상태 천이도이다.2 is a finite state transition diagram showing the operation principle of the present playback apparatus.
INIT 상태는 초기화상태로서, 초기값 radr과 wader이 초기화되며, 최초로 fifo_full=‘1’이 될 때까지 데이터를 저장하기만 한다. fifo_full=‘1’이 되면 데이터를 읽기 시작하는데 이때 동기바이트를 찾게 된다. 동기바이트를 찾으면(sync_byte=‘1’)OUT 2 상태가 되고 나머지 187바이트를 버린 후 다시 INIT 상태로 천이하여 다음 동기 바이트를 찾는다. 이러한 과정을 n회 되풀이하여(본 예에서는 n=3. 즉 sync_find<3)패킷의 동기바이트가 안정적으로 검출되면 OUT 1 상태로 천이한다.The INIT state is an initialization state, and the initial values radr and wader are initialized and only store data until fifo_full = '1'. When fifo_full = '1', the data starts to be read, and the sync byte is found. If a sync byte is found (sync_byte = '1'), it goes to the OUT 2 state, discards the remaining 187 bytes, and transitions to the INIT state again to find the next sync byte. This process is repeated n times (n = 3 in this example, i.e., sync_find <3), and when the synchronous byte of the packet is stably detected, the state transitions to the
INIT 상태에서 천이된 최초의 OUT 1 상태는 바로 NORM 상태로 천이하여 트랜스포트 스트림 패킷을 발생시키고, NORM 상태에서는 다시 FIFO에 적정 데이터가 저장될 때까지 기다린 후 sync_byte=‘1’이면 OUT 1 상태로 천이하고, 그렇지 못한 경우 INIT 상태로 천이하여 초기 상태로 된다.The
정상적인 트랜스포트 스트림 데이터가 입력되는 경우의 상태천이는 INIT - OUT 2 - INIT - OUT 2 - INIT - OUT 2 - INIT - OUT 1 - NORM -OUT 1 - NORM의 상태로 천이하며 최종 2개의 상태를 연속적으로 천이하면서 동작하게 된다.When the normal transport stream data is input, the state transitions to INIT-OUT 2-INIT-OUT 2-INIT-OUT 2-INIT-OUT 1-NORM-OUT 1-NORM, and the last two states are continuously It works while transitioning to.
그러나 도중에 동기바이트 오류가 검출되면 NORM 상태에서 다시 INIT상태로 천이하여 위의 과정을 되풀이하게 된다.However, if a sync byte error is detected on the way, the process is repeated by transitioning from the NORM state to the INIT state again.
다음, 입출력 신호의 특성을 제3도를 참조하여 설명하면 다음과 같다.Next, the characteristics of the input / output signal will be described with reference to FIG.
제3도는 상기의 과정을 되풀이하며 발생되는 트랜스포트 스트림 패킷의 출력장치에서 출력된 타이밍도이다.3 is a timing diagram output from an output device of a transport stream packet generated by repeating the above process.
제3도에 있어서, 188바이트의 ts_data가 연속적으로 발생되며, 이는 ts_enb로 구분된다. ts_data의 첫 번째 데이터는 항상 “0x47”이다. 입력신호는 전형적인 비동기식 FIFO를 사용할 수 있는 타이밍을 보이고 있다.In FIG. 3, 188 bytes of ts_data are generated continuously, which is divided by ts_enb. The first data in ts_data is always “0x47”. The input signal shows the timing at which a typical asynchronous FIFO can be used.
이상에서 설명한 본 발명의 재생장치를 사용하게 되면, 역다중화기가 정상 동작할 수 있는 시작지점을 제공함과 아울러, 데이터의 에러발생에 대한 복구능력을 향상시키는 트랜스포트 스트림 패킷 재생장치를 제공하여, 기존의 전송 서비스 뿐만 아니라 광대역통신 서비스를 제공하는 경제적인 효과가 있다. 또한, 이 패킷 형태는 전송망의 전송 포맷에 새로이 매핑되어 수신측에 전달되고, 전송중에는 MPEG-2 트랜스포트 스트림 고유의 패킷의 형태가 없어지며, 수신측의 역다중화부는 이를 재생하므로써 정보처리를 원활히 할 수 있다.When the playback apparatus of the present invention described above is used, a transport stream packet playback apparatus for providing a starting point at which the demultiplexer can operate normally and improving the recoverability against error of data is provided. It is economical to provide broadband communication service as well as transmission service. In addition, this packet type is newly mapped to the transmission format of the transmission network and delivered to the receiving side. During transmission, the packet type unique to the MPEG-2 transport stream is lost, and the demultiplexing unit at the receiving side reproduces the information to smoothly process the information. can do.
아울러 본 발명의 바람직한 실시예는 예시의 목적을 위해 개시된 것이며, 당업자라면 본 발명의 사상과 범위안에서 다양한 수정, 변경, 부가등이 가능할 것이며, 이러한 수정 변경 등은 이하의 특허 청구의 범위에 속하는 것으로 보아야 할 것이다.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 (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019970039885A KR100236833B1 (en) | 1997-08-21 | 1997-08-21 | Transport stream packet generator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019970039885A KR100236833B1 (en) | 1997-08-21 | 1997-08-21 | Transport stream packet generator |
Publications (2)
Publication Number | Publication Date |
---|---|
KR19990017106A KR19990017106A (en) | 1999-03-15 |
KR100236833B1 true KR100236833B1 (en) | 2000-01-15 |
Family
ID=19518054
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019970039885A KR100236833B1 (en) | 1997-08-21 | 1997-08-21 | Transport stream packet generator |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100236833B1 (en) |
-
1997
- 1997-08-21 KR KR1019970039885A patent/KR100236833B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR19990017106A (en) | 1999-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR20010050628A (en) | Method of transmitting isochronous packets, computer-needable recording medium recorded a control program for realizing the same transmission, and LSI for controlling bridge and packet transmission | |
KR19980042154A (en) | Method and apparatus for transmitting AT cell over 1394 serial data bus | |
JP2002374231A (en) | Network synchronization method, lsi, bus bridge, network device, and program | |
US7480282B2 (en) | Methods and apparatus for controlling ethernet packet transfers between clock domains | |
KR19990009675A (en) | Transport Stream Multiplexing Device Accommodate Multiple Streams | |
US6127953A (en) | Apparatus and method for compressing data containing repetitive patterns | |
US7035250B2 (en) | System for organizing voice channel data for network transmission and/or reception | |
JPH08237231A (en) | Circuit for communication system,communication link and communication equipment | |
KR100236833B1 (en) | Transport stream packet generator | |
US6868096B1 (en) | Data multiplexing apparatus having single external memory | |
JP3389747B2 (en) | Transmission device, transmission recording device, and reproduction transmission device | |
US6954891B1 (en) | Technique for payload-independent frame delineation engine for optical data transport | |
US4964142A (en) | Receiver synchronization in encoder/decoder | |
US20040017821A1 (en) | Transport packet parser | |
US6219350B1 (en) | ATM cell converting apparatus which includes tone and DTMF generating function and method using the same | |
US7489694B2 (en) | Cell disassembly unit | |
US5923670A (en) | Multi-port type universal asynchronous receiver/ transmitter system using time division system | |
JP2001044976A (en) | Inter-bit phase difference reduction transmission system in digital processor | |
KR19990055985A (en) | Elastic buffer circuit in synchronous transmission device | |
KR100267371B1 (en) | An interface system between the system and audio decoder of mpeg-2 | |
JP3246096B2 (en) | Self-diagnosis device for digital equipment | |
JP2002204284A (en) | Circuit for generating aos test signal conforming to ccsds | |
KR100268125B1 (en) | The circuit of parallel crc generator | |
KR100248547B1 (en) | An interface contoller for data of mpeg2-ts | |
JPH10262042A (en) | Scramble cancel device for security element and security element consisting of the cancel device |
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: 20101001 Year of fee payment: 12 |
|
LAPS | Lapse due to unpaid annual fee |