Claims (8)
엠팩-1 데이터와 일반 데이터를 엠팩-1 시스템스트림 및 엠팩-2 전송스트림 포맷으로 전송하는 전송로의 수신측 종단에 엠팩-1 시스템스트림 및 엠팩-2 전송스트림을 혼용하여 동일 전송로를 이용하여 전송할 수 있도록 하는 엠팩-1 및 엠팩-2 동기워드 자동구분 시스템은, 전화선 및 근거리 통신망 등의 네트워크와 접속하여 전송 데이터의 처리를 하여 주 메모리부 및 중앙처리장치에 데이터 라인을 통해 데이터를 전송하는 네트워크부(100)와; 동기워드 이후 입력된 188바이트씩의 데이터 포맷을 빠른 속도로 억세스 하여 저장하는 주기억부(200)와; 전송된 데이터가 엠팩-1 시스템스트림인지 엠팩-2 전송스트림인지의 여부를 판단하여 그에 맞는 처리를 하게 하는 중앙처리장치(300)와; 상기 주기억부(200)에 저장해놓은 데이터를 각 데이터의 특성에 맞게 처리하는 데이터 처리부(400); 및 상기 네트워크부(100)와 중앙처리장치(300) 사이의 인터페이스를 위한 접속 로직부(500)로 구성됨을 특징으로 하는 엠팩-2 전송시스템 및 엠팩-1 시스템스트림 자동구분/처리 시스템.The MPEG-1 system stream and the MPEG-2 transport stream are mixed at the receiving end of the transmission path for transmitting the MPEG-1 data and the general data in the MPEG-1 system stream and the MPEG-2 transport stream format, 1 and the MPACK-2 synchronous word automatic discrimination system for connecting to a network such as a telephone line and a local area network and transmitting data through the data line to the main memory unit and the central processing unit A network unit 100; A main storage unit 200 for accessing and storing a data format of 188 bytes input after the sync word at a high speed; A central processing unit (300) for determining whether the transmitted data is an MPEG-1 system stream or an MPEG-2 transport stream and for performing a process corresponding thereto; A data processing unit 400 for processing the data stored in the main memory unit 200 according to characteristics of each data; And an access logic unit (500) for an interface between the network unit (100) and the central processing unit (300).
제 1항에 있어서, 상기 네트워크부(100)는 전송로를 통해 전송된 신호와의 인터페이스 기능을 수행하는 커넥터부(10)와; 전화선이나 근거리통신망 등의 네트워크와의 인터페이스를 담당하는 망 인터페이스부(20)와; 상기 망 인터페이스부(20)의 직렬 출력을 병렬로 변환하고 다음 클럭까지 입력 데이터를 출력단에 계속 유지하게 하는 직/병렬 변환 및 래치부(30)와; 망 인터페이스부(20), 버퍼부(50), 동기워드 검출부(60,70), 상태 레지스터부(80), 및 접속 로직부(500)의 동작을 제어하는 제어부(40)와; 상기 직/병렬 변환 및 래치부(30)의 출력 및 제어부(40)의 출력을 임시 저장했다가 동기워드 검출부(60,70)로 그 값을 전송시키는 버퍼부(50)와; 상기 버퍼부(50)의 데이터에서 엠팩-2 전송스트림의 동기워드인 0x47 을 검출하는 0x47 검출부(60)와; 상기 버퍼부(50)의; 데이터에서 엠팩-1 시스템스트림의 동기워드인 0x000001BA를 검출하는 0x000001BA 검출부(70)와; 상기 0x47 검출부(60) 및 0x000001BA 검출부(70)로 부터 검출된 데이터가 어떤 동기워드인지를 저장하고 망 인터페이스부(20)에 대한 전체 상태를 나타내는 상태 레지스터부(80)로 이루어짐을 특징으로 하는 엠팩-2 전송시스템 및 엠팩-1 시스템스트림 자동구분/처리 시스템.The system of claim 1, wherein the network unit (100) comprises: a connector unit (10) for performing an interface function with a signal transmitted through a transmission path; A network interface unit 20 for interfacing with a network such as a telephone line or a local area network; A serial-to-parallel conversion and latch unit 30 for converting the serial output of the network interface unit 20 into a parallel signal and maintaining the input data until the next clock signal at the output terminal; A control unit 40 for controlling operations of the network interface unit 20, the buffer unit 50, the synchronous word detecting units 60 and 70, the status register unit 80, and the connection logic unit 500; A buffer unit 50 for temporarily storing the output of the serial / parallel conversion and latch unit 30 and the output of the control unit 40 and for transmitting the value to the synchronous word detecting units 60 and 70; A 0x47 detector 60 for detecting 0x47 which is a synchronous word of the MPEG-2 transport stream from the data of the buffer unit 50; The buffer unit 50; A 0x000001BA detecting unit 70 for detecting 0x000001BA which is a synchronous word of the MPEG-1 system stream in the data; And a status register unit (80) for storing the detected data from the 0x47 detecting unit (60) and the 0x000001BA detecting unit (70) and indicating the overall status for the network interface unit (20) -2 transmission system and an MPEG-1 system stream automatic classification / processing system.
제 1항에 있어서, 상기 데이터 처리부(400)는 엠팩-1 포맷으로 인코딩하는 오디오/비디오 데이터를 디코딩하는 엠팩-1 디코더부(401)와; 상기 엠팩-1 디코더부(401)로 입력되는 데이터 외의 각종 비트맵등의 그래픽 포맷 및 PC에 연결시 연결포트를 통해 전송하는 정보 데이터를 처리하는 일반 데이터 처리부(402)로 이루어짐을 특징으로 하는 엠팩-2 전송시스템 및 엠펙-1 시스템스트림 자동구분/처리 시스템.The data processing apparatus according to claim 1, wherein the data processing unit (400) comprises: an MPEG-1 decoder unit (401) for decoding audio / video data encoded in an MPEG-1 format; And a general data processing unit 402 for processing graphic data such as various bit maps other than data input to the MPEG-1 decoder unit 401 and information data transmitted through a connection port when connected to a PC. -2 transmission system and MPEG-1 system stream automatic classification / processing system.
제 2항에 있어서, 상기 제어부(40)는 망 인터페이스부(20)로 부터 전송 데이터를 받아 엠팩-2 상태머신블럭(46)의 클럭신호를 받아 상태 레지스터 제어블럭(48)으로 검출된 동기워드를 전송하라는 신호를 보내주는 망 인터페이스부 제어블럭(41)과; 매 188바이트가 카운팅 되어질 때마다 시그널을 받아 버퍼부(50)에 데이터를 쓰고/읽는 것을 제어하는 버퍼부 제어블럭(42)과; 연속해서 입력되는 직렬 데이터를 8비트씩 분배할 수 있도록 그 시작점을 검출하여 버퍼부 제어블럭(42)과 엠팩-2 상태 머신블럭(46)에 그 시작점으로부터 원하는 크기의 데이터를 검출할 수 있도록 하는 바이트 얼라인블럭(43)과; 엠팩-2 동기워드를 우선 받아들이도록 제어하는 엠팩-1/엠팩-2 우선권 결정블럭(44)과; 0x47 검출부(60)에서 검출된 신호를 상태 레지스터 제어블럭(48)에 0x47이 검출됐음을 알려주는 0x47 검출부 제어블럭(45-1)과; 0x000001BA 검출부(70)에서 검출된 신호를 상태 레지스터 제어블럭(48)에 0x000001BA이 검출됐음을 알려주는 0x000001BA 검출부 제어블럭(45-2)과; 0x47 검출이 전송스트림의 동기워드인지 일반데이터인지의 확인 및 에러시 시스템을 조정하는 엠팩-2 상태머신블럭(46)과; 상기 0x47 검출부 제어블럭(45-1) 및 0x000001BA 검출부 제어블럭(45-3)에서 동기워드를 검출하면 그 동기워드로 부터 한 데이터 포맷인 188바이트를 카운팅하는 188바이트 카운터블럭(47)과; 망 인터페이스 제어블럭(41), 0x47 검출부 제어블럭(45-1), 0x000001BA 검출부 제어블럭(45-2) 및 엠팩-2 상태머신블럭(46)의 신호를 받아 상태 레지스터를 제어하는 상태 레지스터 제어블럭(48)과; 중앙처리장치(300)와 네트워크부(100)와의 인터페이스를 위한 제어를 하는 접속로직부 제어블럭(49)으로 이루어짐을 특징으로 하는 엠팩-2 전송시스템 및 엠팩-1 시스템스트림 자동구분/처리 시스템.The method of claim 2, wherein the control unit receives the transmission data from the network interface unit and receives the clock signal of the MPU-2 state machine block to receive the synchronous word detected by the status register control block. A network interface unit control block 41 for sending a signal to transmit the control signal; A buffer unit control block 42 for receiving and reading data from / to the buffer unit 50 every time 188 bytes are counted; It is possible to detect the start point of serial data to be continuously distributed in units of 8 bits so that the buffer unit control block 42 and the MPU-2 state machine block 46 can detect data of a desired size from the start point thereof A byte aligned block 43; An MPEG-1 / MPEG-2 priority decision block 44 for controlling the MPEG-2 synchronous word to be received first; A 0x47 detection block control block 45-1 for notifying the status register control block 48 that the signal detected by the 0x47 detection block 60 is 0x47; A 0x000001BA detection block control block 45-2 for notifying the state register control block 48 that the signal detected by the detection block 70 is 0x000001BA; An MP-2 state machine block (46) for adjusting the system upon acknowledgment and error of whether the 0x47 detection is a synchronous word of the transport stream or general data; A 188-byte counter block 47 for counting 188 bytes, which is a data format from the synchronous word, when the 0x47 detecting block control block 45-1 and the 0x000001BA detecting block controlling block 45-3 detect the synchronizing word; A state register control block 41 for receiving a signal of the network interface control block 41, 0x47 detector block 45-1, 0x000001BA detector block 45-2 and the MP- (48); And an access control block (49) for controlling the interface between the central processing unit (300) and the network unit (100).
엠팩-1 데이터와 일반 데이터를 엠팩-1 시스템스트림 및 엠팩-2 전송스트림 포맷으로 전송하는 전송로의 수신측 종단에 엠팩-1 시스템스트림 및 엠팩-2 전송스트림을 혼용하여 동일 전송로를 이용하여 전송할 수 있도록 하는 엠팩-1 및 엠팩-2 동기워드 자동구분 방법은, 엠팩-1 시스템스트림인지 엠팩-2 전송스트림인지의 여부를 판단하는 제1단계와; 상기 제 1단계에서 엠팩-1 시스템스트림인 경우 바이트 얼라인블럭, 188바이트 카운터, 및 인터럽트 요구를 인에이블시키며, 상태 레지스터를 세팅시키는 제 2단계와; 상기 제 1단계에서 엠팩-2 전송스트림인 경우 바이트 얼라인블럭, 엠팩-2 상태머신블럭, 188바이트 카운터블럭, 및 인터럽트 요구를 인에이블시키고, 상태 레지스터를 세팅시키는 제 3단계와; 상기 제 3단계 이후에 중앙처리장치 주 루틴을 수행하여 상태 레지스터의 데이터에 따라 엠팩-1 루틴 및 엠팩-2 루틴으로 점프하는 제 4단계와; 상기 제 4단계에서 엠팩-1 루틴으로 점프했을 경우 188바이트를 딜레이 시킨 후 데이터 메모리 억세스 요구를 인에이블 시키며, 주기억부로 데이터를 전송하고 시스템스트림 헤더를 분석하여 동기워드가 일치하는지를 판단하는 제 5 단계와; 상기 제4단계에서 엠팩-2 루틴으로 점프했을 경우 188바이트를 딜레이 시킨 후 데이터 메모리 억세스 요구를 인에이블시키며, 주기억부로 데이터를 전송하고 엠팩-2 전송시스템을 분석하여 시스템 스트림으로 전송스트림을 변환하는 제 6단계와; 상기 제 5단계의 동기워드가 일치할 경우 및 제 6단계의 전송스트림으로의 변환이후 각 데이터에 맞게 데이터를 디코딩 및 처리하여 출력하는 제 7단계로 순차동작함으로 특징으로 하는 엠팩-2 전송시스템 및 엠팩-1 시스템스트림 자동구분/처리 방법.The MPEG-1 system stream and the MPEG-2 transport stream are mixed at the receiving end of the transmission path for transmitting the MPEG-1 data and the general data in the MPEG-1 system stream and the MPEG-2 transport stream format, The method comprising: a first step of determining whether an MP-1 system stream or an MP-2 transport stream is an MP-1 system stream or an MP-2 transport stream; A second step of enabling a byte aligned block, a 188 byte counter, and an interrupt request and setting a status register in case of the MPEG-1 system stream in the first step; A third step of enabling a byte aligned block, an MPEG-2 state machine block, a 188-byte counter block, and an interrupt request and setting a status register in case of the MPEG-2 transport stream in the first step; A fourth step of performing a central processing unit main routine after the third step and jumping to an MP-1 routine and an MP-2 routine according to the data of the status register; In the fourth step, when a jump is made to the Mpac-1 routine, the data memory access request is delayed by 188 bytes, the data is transmitted to the main memory unit, and the system stream header is analyzed to determine whether the synchronous words match Wow; In the fourth step, when a jump is made to the Mpac-2 routine, the data memory access request is enabled after delaying 188 bytes, data is transferred to the main memory, and the transport stream is converted into a system stream by analyzing the Mpac- A sixth step; And a seventh step of decoding and processing the data in accordance with each data after the conversion into the transport stream in the sixth step and outputting the encoded data in the seventh step. Automated Classification / Processing Method of MPEG-1 System Stream.
제 5항에 있어서, 상기 제 4단계의 중앙처리장치 주 루틴중 동기워드를 자동 구분하기 위한 수행은 인터럽트 상태인가를 판단하여 인터럽트 상태일 경우 상태 레지스터의 데이터를 읽어, 엠팩-1 시스템스트림인지, 엠팩-2 전송스트림인지, 또는 에러가 발생했는지의 여부를 판단하는 제 1단계와; 상기 제 1단계에서 엠팩-1 시스템스트림인 경우 엠팩-1 루틴으로 점프하고, 엠팩-2 전송스트림인 경우 엠팩-2 루틴으로 점프하며, 에러가 발생한 경우 망 인터페이스부에 에러가 발생했는지를 판단하는 제 2단계와; 상기 제 2단계에서 망 인터페이스의 에러인 경우 제 1단계로 점프하며, 망 인터페이스의 에러가 아닌 경우 제어부를 리셋시킨 후 제 1단계로 점프하는 제 3단계로 순차 동작함을 특징으로 하는 엠팩-2 전송시스템 및 엠팩-1 시스템스트림 자동구분/처리 방법.6. The method as claimed in claim 5, wherein, in the main routine of the central processing unit of the fourth step, an operation for automatically discriminating a synchronous word is determined as an interrupt status, and if the status is an interrupt status, A first step of determining whether an MPEG-2 transport stream or an error has occurred; In the first step, if the MPEG-1 system stream is an MPEG-1 transport stream, the MPEG-2 transport stream is jumped to the MPEG-2 routine. If an error occurs, it is determined whether an error occurs in the network interface A second step; And a third step of jumping to the first step if the error is in the network interface in the second step, and jumping to the first step after resetting the control part in the case where it is not an error in the network interface. Transmission system and method for automatic classification / processing of MPEG-1 system stream.
제 5항에 있어서, 상기 제 4단계의 중앙처리장치 주 루틴중 데이터 처리를 위한 수행은 새로운 데이터인가를 판단하는 제 1단계와; 상기 제 1단계에서 새로운 데이터가 아니면 주기억부(200)의 데이터를 클리어하고 다시 제 1단계를 수행하는 제 2단계와; 상기 제 1단계에서 새로운 데이터이면 전송스트림을 분석하여 주기억부(200)에 전송된 데이터를 저장하고 엠팩-1 디코더부(401) 및 일반 데이터 처리부(402)에 분배하는 제 3 단계로 순차 동작함을 특징으로 하는 엠팩-2 전송시스템 및 엠팩-1 시스템스트림 자동구분/처리 방법.The method as claimed in claim 5, wherein the main routine of the central processing unit of the fourth step includes: a first step of determining whether the data is new data; A second step of clearing data in the main memory unit 200 and performing a first step again if it is not new data in the first step; If the new data is the new data in the first step, the transport stream is analyzed and the data transferred to the main memory unit 200 is stored and distributed to the MPEG-1 decoder unit 401 and the general data processing unit 402. And a method for automatic classification / processing of an MPEG-1 system stream.
전송 에러 및 동기워드로의 '0100 0111'과 일반 데이터로서의 '0100 0111;을 구분하기 위한 방법으로써, '0100 0111'의 검출되면 상태 다이어그램을 작동시켜 헌트 모드로 동작하여 '0100 0111'이 검출되기를 기다리는 제 1단계와; '0100 0111'이 검출되면 원 모드로 천이하여 데이터를 카운트하여 188바이트마다 '0100 0111'이 검출되는지를 판단하는 제 2단계와; 상기 제 2단계에서 188바이트마다 '0100 0111'이 검출될 경우 윈 모드를 계속 유지하고, 검출되지 않을 경우 헌트 모드로 천이하여 동기검출부로 부터 동기워드가 검출되었다는 신호가 오기를 기다리는 제 3단계로 순차 동작함을 특징으로 하는 엠팩-2 전송시스템 및 엠팩-1 시스템스트림 자동구분/처리 방법.0100 0111 " as general data when detecting '0100 0111' as transmission error and synchronous word and '0100 0111' as general data. When '0100 0111' is detected, '0100 0111' is detected by operating in the hunt mode by operating the state diagram A first step of waiting; If '0100 0111' is detected, a second step of transitioning to the original mode and counting data and judging whether '0100 0111' is detected every 188 bytes; In the second step, if '0100 0111' is detected for every 188 bytes, the third mode is to continue to hold the win mode, and if not, to shift to the hunt mode and wait for a signal indicating that a sync word is detected from the sync detecting unit And a method for automatic classification / processing of an MPEG-1 system stream.
※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: It is disclosed by the contents of the first application.