KR19990000720A - Data Partitioning and Reassembly Using Dual Port RAM and Its Control Method - Google Patents

Data Partitioning and Reassembly Using Dual Port RAM and Its Control Method Download PDF

Info

Publication number
KR19990000720A
KR19990000720A KR1019970023789A KR19970023789A KR19990000720A KR 19990000720 A KR19990000720 A KR 19990000720A KR 1019970023789 A KR1019970023789 A KR 1019970023789A KR 19970023789 A KR19970023789 A KR 19970023789A KR 19990000720 A KR19990000720 A KR 19990000720A
Authority
KR
South Korea
Prior art keywords
data
port ram
dual port
area
interrupt
Prior art date
Application number
KR1019970023789A
Other languages
Korean (ko)
Other versions
KR100237550B1 (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 KR1019970023789A priority Critical patent/KR100237550B1/en
Publication of KR19990000720A publication Critical patent/KR19990000720A/en
Application granted granted Critical
Publication of KR100237550B1 publication Critical patent/KR100237550B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/20Adaptations for transmission via a GHz frequency band, e.g. via satellite

Abstract

본 발명은 셋-탑-박스의 가입자 측과 접속되어 데이타 통신을 수행하는 셋-탑-유닛에서의 데이타 분할 및 재조립 장치와 그 제어 방법에 관한 것으로, 망 인터페이스 유닛과 접속되어 유토피아 인터페이스에서의 부드러운 데이타 분할 및 재조립 동작을 수행하는 글루 로직과, 송신할 데이타를 저장하고 있으며 수신된 데이타를 입력받아 저장하는 로칼 메모리와, 로칼 메모리와 접속되어 데이타의 송수신 동작을 제어하는 중앙 처리 장치와, 상기 글루 로직과 중앙 처리 장치에 동시 접속되어 송수신되는 데이타를 일시 저장하는 듀얼 포트 램을 포함하여 데이타 분할 및 재조립 장치를 구성하였다.The present invention relates to a data partitioning and reassembly apparatus in a set-top-unit connected to a subscriber side of a set-top-box and performing data communication, and a method of controlling the same. Glue logic to perform smooth data partitioning and reassembly operation, Local memory for storing data to be transmitted and receiving the received data, Central processing unit connected to the local memory to control the transmission and reception of data, The data partitioning and reassembly device was configured to include the glue logic and a dual port RAM that temporarily stores data transmitted and received simultaneously with the central processing unit.

본 발명은 특히, 데이타 전송시 이루어지는 데이타의 분할 및 재조립(데이타의 정합)을 중앙 처리 장치에서 소프트웨어적으로 수행할 수 있도록 하는 효과가 있는 것이다.In particular, the present invention has an effect of enabling the central processing unit to perform software division and reassembly (data registration) of data.

Description

듀얼 포트 램을 이용한 데이타 분할 및 재조립 장치와 그 제어 방법Data Partitioning and Reassembly Using Dual Port RAM and Its Control Method

본 발명은 셋-탑-박스(SET-TOP-BOX)에서 가입자 측과 접속되어 데이타 통신을 수행하는 셋-탑-유닛(SET-TOP-UNIT)에 관한 것으로, 특히, 셋-탑-유닛과 망 인터페이스 유닛(NETWORK INTERFACE UNIT) 사이에서의 데이타 전송시, 소프트웨어를 이용하여 보다 빠르게 데이타를 처리하고 전송하기 위하여 구성한, 듀얼 포트 램(DUAL PORT RAM)을 이용한 데이타 분할 및 재조립 장치와 그 제어 방법에 관한 것이다.The present invention relates to a set-top-unit (SET-TOP-UNIT) is connected to the subscriber side in the SET-TOP-BOX and performs data communication. Data segmentation and reassembly device and control method using dual port RAM, which is configured to process and transfer data faster by using software when transferring data between network interface units. It is about.

현재 방송 서비스는 종합 유성 방송(CABLE TELEVISION) 서비스, 위성 방송 서비스, 주문형 비디오(VIDEO ON DEMAND) 서비스 등을 제공하는데 중점을 두고 있다. 상기와 같은 방송 서비스를 수행하기 위해서는 가입자측에 각 방송 서비스를 수신하고, 또한, 방송 서비스를 제공하는 공급자측으로 서비스를 요구하는 데이타를 전송할 수 있는 장치가 필요하다. 상기와 같은 장치로 현재 가장 일반화되어 있는 것이 셋-탑-박스이다.The current broadcasting service is focused on providing comprehensive cable broadcasting service, satellite broadcasting service, and video on demand service. In order to perform such a broadcast service, an apparatus capable of receiving each broadcast service to a subscriber and transmitting data requesting a service to a provider that provides a broadcast service is required. The most common type of device as described above is the set-top box.

일반적으로 사용되고 있는 셋-탑-박스의 구성은 도 1에 도시된 바와 같이, 크게 망과의 인터페이스를 위한 망 인터페이스 유닛과 가입자와의 인터페이스를 위한 셋-탑-유닛으로 구성된다.A configuration of a set-top box that is generally used is composed of a network interface unit for interface with a network and a set-top-unit for interface with a subscriber, as shown in FIG. 1.

상기에서 셋-탑-유닛은 망 인터페이스 유닛과 엠-팩2 전송 스트림 전용의 범용 버스와 제어용 RS232C를 통해 접속되며, 셋-탑-유닛의 다른 디바이스들과 시스템 버스를 통해 접속되어, 셋-탑-박스 시스템을 전반적으로 제어하는 메인(MAIN) 중앙 처리 장치와; 상기 메인 중앙 처리 장치와 RS232C를 통해 접속되어 메인 중앙 처리 장치를 보조하며, 주로 리모콘과 키 매트릭스(KEY MATRIX)로부터 전송되는 신호에 의한 동작 제어를 수행하는 MCU(MATRIX CONTROL UNIT : 매트릭스 제어 장치 : 이하 MCU라 칭한다)와; 망 인터페이스부를 통해 입력된 서비스 공급자로부터 인코딩되어 전송된 데이타를 디코딩하는 엠팩2 디코더와; 상기 엠팩2 디코더에서 디코딩되어 출력된 디지탈 오디오 데이타를 아날로그 오디오 데이타로 변환하는 오디오 DAC(DIGITAL ANALOG CONVERTOR : 디지탈 아날로그 변환기 : 이하 DAC라 칭한다)와; 상기 엠팩2 디코더에서 디코딩되어 출력된 영상 신호를 그래픽 처리하는 그래픽 프로세서와; 상기 그래픽 프로세서에서 그래픽 처리되어 출력되는 영상 신호를 NTSC 신호(NATIONAL TELEVISON STANDARDS COMMITTEE SIGNAL : 미국 텔레비젼 방식 위원회의 규격 신호)와 팔 신호(PHASE ALTERNATING BY LINE SIGNAL : 독일에서 개발된 컬러 TV 신호 방식)로 인코딩하는 인코더 및; 상기 각 블럭들에서의 데이타 처리를 수월하게 하기 위한 다수개의 메모리들을 포함하여 이루어진다.The set-top unit is connected via a universal bus dedicated to the network interface unit and the M-Pak 2 transport stream and the control RS232C, and is connected via the system bus with other devices of the set-top unit. A MAIN central processing unit for overall control of the box system; MCU which is connected to the main central processing unit through RS232C and assists the main central processing unit, and performs an operation control mainly by signals transmitted from a remote controller and a key matrix (MATRIX CONTROL UNIT). Called MCU); An MPEG-2 decoder for decoding data transmitted from an encoded service provider through a network interface unit; An audio DAC (digital analog converter: hereinafter referred to as DAC) for converting the digital audio data decoded and output by the MPEG-2 decoder into analog audio data; A graphic processor configured to process a video signal decoded and output by the MPEG-2 decoder; Encodes the video signal processed by the graphic processor to be NTSC signal (NATIONAL TELEVISON STANDARDS COMMITTEE SIGNAL) and ARM signal (PHASE ALTERNATING BY LINE SIGNAL: color TV signal system developed in Germany) An encoder; It includes a plurality of memories to facilitate data processing in each of the blocks.

상기와 같은 구성의 셋-탑-유닛은, 망 인터페이스 유닛으로부터 수신된 영상 및 오디오 데이타가 엠팩 전송 스트림으로 엠팩2 디코더로 전송되고, 제어 신호가 메인 중앙 처리 장치로 전송되면, 엠팩2 디코더에서는 망 인터페이스 유닛으로부터 입력된 영상 및 오디오 데이타를 디코딩하여 오디오 데이타는 오디오 DAC로 전송하며, 영상 데이타는 그래픽 프로세서로 전송하고, 오디오 DAC에서는 엠팩2 디코더에서 입력된 디지탈 오디오 신호를 아날로그 오디오 신호로 변환하여 출력하며, 그래픽 프로세서에서는 엠팩2 디코더에서 입력된 영상 데이타를 그래픽 처리하여 인코더로 전송하고, 인코더에서는 그래픽 프로세서에서 전송된 데이타를 각 텔레비젼 사양에 부합하는 신호(NTSC 또는 팔 신호)로 인코딩하여 출력하며, 메인 중앙 처리 장치는 시스템 버스를 통해 망 인터페이스 유닛으로부터 전송된 제어 신호에 의해 엠팩2 디코더와 그래픽 프로세서 및 MCU 등을 제어하고, MCU는 리모콘과 키 매트릭스로부터 입력되는 신호를 분석하여 메인 중앙 처리 장치의 동작을 보조한다.In the set-top unit configured as described above, when the video and audio data received from the network interface unit is transmitted to the MPEG-2 decoder as an MPEG transport stream, and a control signal is transmitted to the main central processing unit, the MPEG-2 decoder is connected to the network. Decodes video and audio data input from the interface unit, and transmits the audio data to the audio DAC. The video data is transmitted to the graphics processor. The audio DAC converts the digital audio signal input from the MPEG2 decoder into an analog audio signal and outputs the analog audio signal. In the graphics processor, the image data input from the MPEG-2 decoder is processed by the graphic and transmitted to the encoder. The encoder encodes and outputs the data transmitted from the graphics processor into a signal (NTSC or ARM signal) that conforms to each television specification. The main central processing unit is a system server By a control signal transmitted from the network interface unit via controlling the MPEG1 decoder 2 and the graphics processor and the MCU, MCU analyzes the signal input from the remote control and the key matrix to assist the operation of the main CPU.

상기와 같은 셋-탑-박스의 셋-탑-유닛은, 망 인터페이스 유닛과 셋-탑-유닛의 메인 중앙 처리 장치 사이에 엠-팩2 전송 스트림 전용 버스와 RS232C 제어용 버스로 구성되어 있어 디지탈 오디오 광학회의(DAVIC : DIGITAL AUDIO VISUAL COUNCIL) 규격을 따르지 않고 있다. DAVIC 규격에서는 엠-팩2 전송을 위한 하이스피드 다운스트림 버스(HIGH SPEED DOWNSTREAM BUS)와 제어용 비-다이렉셔널 버스(BI-DIRECTIONAL BUS : ATM(비동기 전송 모드 : ASYNCHRONOUS TRANSRER MODE : 이하 ATM이라 칭한다) 셀의 형식으로 송수신되는 버스임)를 규정하고 있다.The set-top unit of the set-top box is composed of an M-pack 2 transport stream bus and an RS232C control bus between the network interface unit and the main CPU of the set-top unit. It does not comply with the Digital Conference (DAVIC: DIGITAL AUDIO VISUAL COUNCIL) standard. In the DAVIC standard, the high speed downstream bus for M-Pak 2 transmission and the non-directional bus for control (BI-DIRECTIONAL BUS: ATM) are referred to as ASYNCHRONOUS TRANSRER MODE (hereinafter referred to as ATM). Bus is transmitted and received in the form of a cell.

ATM 셀 데이타의 형식은 도 2에서 보여주고 있는 바와 같이, 가상 채널/경로 식별자와 오류 식별 정보 등의 데이타 정보가 실리는 5바이트의 헤더부분과, 실제 전송되는 데이타가 실리는 48바이트의 데이타 부분으로 이루어지며, 하나의 ATM 셀은 전체 53바이트의 길이를 가지게 된다.As shown in FIG. 2, the ATM cell data format includes a 5-byte header portion containing data information such as a virtual channel / path identifier and error identification information, and a 48-byte data portion carrying actual data. One ATM cell has a total length of 53 bytes.

상기와 같은 ATM 셀 데이타의 전송은 A0 인터페이스(DAVIC에서 제정한 셋-탑-박스 내의 인터페이스 규격)를 통해 이루어지게 되는데, 셋-탑-유닛과 망 인터페이스 유닛 사이에서 이루어지는 A0 인터페이스는 도 3에 도시된 바와 같이, 하이 스프드 다운스트림 버스(HIGH SPEED DOWNSTREAM BUS)를 통해 망 인터페이스 유닛에 서 셋-탑-유닛으로 고속의 데이타(HS_DATA)와 클럭(HS_CLK)과 동기(HS_SYNC)신호를 전송하고, 비-다이렉셔널 버스(BI-DIRECTIONAL BUS)를 통해 셋-탑-유닛에서 망 인터페이스 유닛으로 송신 데이타(TX-DATA)를, 망 인터페이스 유닛에서 셋-탑-유닛으로 수신 데이타(RX_DATA)를, 양방향으로 송신(TX_CTL)과 수신(RX_CTL) 제어 신호를 전송하며, 로칼 컨트롤 버스(LOCAL CONTROL BUS)를 통해서는 양방향으로 시리얼 데이타(SDA)와 클럭(SCL) 신호를 전송하고, 리셋 버스(RESET BUS)를 통해서는 양방향으로 리셋 신호(RESET)를 전송하며, 아날로그 패스-스로우 버스(ANALOG PASS-THROUGH BUS)를 통해서는 망 인터페이스 유닛에서 셋-탑-유닛으로 아날로그 오디오(A_AUDIO)와 비디오(A_VIDEO) 신호를 전송하고, 망 인터페이스 유닛 파워 컨넥션들(NETWORK INTERFACE UNIT POWER CONNECTIONS)을 통해서는 셋-탑-유닛에서 망 인터페이스 유닛으로 디지탈과 아날로그의 파워(DIGITAL_POWER, ANALOG_POWER)와 그라운드(DIGITAL_GRD, ANALOG_GRD) 신호가 전송된다.The ATM cell data is transmitted through the A0 interface (interface standard in the set-top box established by DAVIC). The A0 interface between the set-top unit and the network interface unit is shown in FIG. As shown, high speed data (HS_DATA), clock (HS_CLK) and synchronization (HS_SYNC) signals are transmitted from the network interface unit to the set-top unit via the HIGH SPEED DOWNSTREAM BUS. Transmit data (TX-DATA) from the set-top-unit to the network interface unit via the non-directional bus (BI-DIRECTIONAL BUS), receive data (RX_DATA) from the network interface unit to the set-top-unit, Transmit (TX_CTL) and receive (RX_CTL) control signals in both directions, send serial data (SDA) and clock (SCL) signals in both directions via LOCAL CONTROL BUS, and reset bus Through The transmitter transmits the reset signal (RESET) in both directions and transmits the analog audio (A_AUDIO) and video (A_VIDEO) signals from the network interface unit to the set-top unit through the analog pass-throw bus. In addition, digital and analog power (DIGITAL_POWER, ANALOG_POWER) and ground (DIGITAL_GRD, ANALOG_GRD) signals are transmitted from the set-top unit to the network interface unit through the NETWORK INTERFACE UNIT POWER CONNECTIONS.

상기에서 실제 방송 서비스를 구현하기 위한 제어용 데이타(ATM 셀 데이타)의 통신은 유토피아 인터페이스(UTOPIA INTERFACE)라 불리는 비-다이렉셔널 버스(BI-DIRECTIONAL BUS)를 통해 이루어지는 데이타 통신이다.The communication of the control data (ATM cell data) for implementing the actual broadcast service is a data communication performed through a non-directional bus called a UTOPIA INTERFACE.

상기와 같이 이루어지는 A0 인터페이스는 각 데이타 버스를 통한 데이타 통신 별로 각각의 특성에 부합되는 하드웨어를 구성하여 따로 수행되는데, 이때, 데이타의 실시간적 전송이 요구되는 엠-팩2 하이 스피드 다운스트림 버스는 일반적으로 하드웨어로 구성하며, 저속의 데이타의 전송인 경우는 하드웨어 구성이 복잡하여 시스템의 부피가 커지고 고가가 되는 문제점이 발생한다.The A0 interface configured as described above is performed separately by configuring hardware corresponding to each characteristic for each data communication through each data bus. In this case, the M-Pak 2 high speed downstream bus that requires real-time transmission of data is generally used. In the case of low-speed data transmission, the hardware configuration is complicated and the system becomes bulky and expensive.

본 발명은 상기와 같은 문제점을 개선하기 위한 것으로, A0 인터페이스 내의 유토피아 인터페이스를 소프트웨어적으로 제어하기 위하여, 듀얼 포트 램과 데이타 처리의 기본이 되는 글루 로직을 이용하여 구성한 데이타 분할 및 재조립 장치를 제시함을 특징으로 한다.The present invention is to solve the above problems, to provide a data partitioning and reassembly apparatus configured using the dual port RAM and glue logic that is the basis of data processing in order to control the utopia interface in the A0 interface. It is characterized by.

즉, 듀얼 포트 램을 이용하여 데이타의 분할 및 재조립 장치를 구성함으로써, 저속 제어용 ATM 셀 통신을 가능하게 하며, 듀얼 포트 램의 메모리 영역의 구성을 송신 데이타용과 수신 데이타용 및 신호 영역으로 구성하여, 신호 영역의 셋팅 상태에 의해 데이타 통신이 이루어지도록 함으로써, 데이타 통신시 데이타 처리가 소프트웨어적인 방법으로 수행될 수 있도록 하였다.That is, by configuring the data partitioning and reassembly apparatus using the dual port RAM, ATM cell communication for low speed control is possible, and the memory area of the dual port RAM is composed of the transmission data, the reception data, and the signal area. In this way, data communication is performed by the setting state of the signal region, so that data processing can be performed in a software manner during data communication.

듀얼 포트 램을 이용하여 구성한 데이타 분할 및 재조립 장치의 구성은, 망 인터페이스 유닛과 접속되어 유토피아 인터페이스에서의 부드러운 데이타 분할 및 재조립 동작을 수행하는 글루 로직과, 송신할 데이타를 저장하고 있으며 수신된 데이타를 입력받아 저장하는 로칼 메모리와, 로칼 메모리와 접속되어 데이타의 송수신 동작을 제어하는 중앙 처리 장치와, 상기 글루 로직과 중앙 처리 장치에 동시 접속되어 송수신되는 데이타를 일시 저장하는 듀얼 포트 램을 포함하여 이루어진다.The data partitioning and reassembly device configured using the dual port RAM is connected to the network interface unit to store the data to be transmitted and the glue logic to perform the smooth data partitioning and reassembly operation at the utopia interface. A local memory configured to receive and store data, a central processor connected to the local memory to control data transmission and reception, and a dual port RAM configured to temporarily store data transmitted and received simultaneously to the glue logic and the central processing unit. It is done by

상기에서 사용한 듀얼 포트 램의 메모리 영역의 구성은, 송신할 데이타를 저장하는 n개의 세그먼트로 이루어진 송신 데이타 영역과, 수신할 데이타를 저장하는 n개의 세그먼트로 이루어진 수신 데이타 영역과, 데이타 상태를 나타내는 신호의 셋팅을 위한 신호 영역으로 이루어지며, 상기에서 신호 영역은 데이타 송신시 인터럽트를 발생하기 위한 송신 인터럽트 신호영역과, 데이타 수신시 인터럽트를 발생하기 위한 수신 인터럽트 신호 영역과, 수신된 데이타의 정보 등을 저장하여 데이타가 수신되었음을 알리기 위한 수신 신호 영역(RESERVED)과, 수신 데이타 영역의 사용 가능한 영역에 대한 정보를 저장하고 있는 수신 세그먼트 신호 영역(RxSI)으로 이루어진다.The configuration of the memory area of the dual port RAM used above includes a transmission data area consisting of n segments storing data to be transmitted, a receiving data area consisting of n segments storing data to be received, and a signal indicating a data state. The signal area includes a transmission interrupt signal area for generating an interrupt when data is transmitted, a reception interrupt signal area for generating an interrupt when data is received, information on received data, and the like. A reception signal area (RESERVED) for storing and indicating that data has been received, and a reception segment signal area (RxSI) for storing information on the usable area of the reception data area.

상기와 같은 듀얼 포트 램을 이용하여 구성한 데이타 분할 및 재조립 장치의 제어 과정은, 데이타 송신시에는, 제어용 사용자 정보(CONTROL USER DATA : 전송할 데이타를 지칭한다)가 발생하게 되면, 중앙 처리 장치에서 제어용 사용자 정보를 헤더 정보와 결합시켜 ATM 셀 단위의 데이타로 정합하여 듀얼 포트 램의 송신 데이타 영역에 저장한 후, 듀얼 포트 램의 엔드 어드레스(END ADDRESS : 송신 인터럽트 신호 영역)에 전송하고자 하는 데이타의 길이를 저장한다. 상기와 같이 듀얼 포트 램에 데이타가 저장되면 듀얼 포트 램에서 글루 로직으로 송신 인터럽트가 발생하고, 송신 인터럽트가 발생하면, 글루 로직에서는 듀얼 포트 램의 엔드 어드레스(송신 인터럽트 신호 영역)에 저장된 송신 데이타의 길이 정보를 읽어와, 듀얼 포트 램의 송신 데이타 영역에서 길이 정보 만큼의 데이타를 읽어온 후 망 인터페이스 유닛으로 전송한다.In the control process of the data segmentation and reassembly apparatus constructed using the dual port RAM as described above, when the control user information (CONTROL USER DATA: refers to data to be transmitted) occurs during data transmission, The length of the data to be transmitted to the end address (END ADDRESS) of the dual port RAM after combining the user information with the header information, matching the data into ATM cell unit data, storing it in the transmission data area of the dual port RAM. Save it. As described above, when data is stored in the dual port RAM, a transmission interrupt occurs from the dual port RAM to the glue logic. When the transmission interrupt occurs, the glue logic causes the transmission data stored in the end address (transmission interrupt signal area) of the dual port RAM to occur. It reads the length information, reads the data as much as the length information from the transmission data area of the dual port RAM and sends it to the network interface unit.

데이타 수신시의 동작은, 수신된 데이타가 망 인터페이스 유닛을 통해 글루로직으로 입력되면, 글루 로직에서는 입력된 데이타를 듀얼 포트 램의 n개의 세그먼트로 이루어진 수신 데이타 영역에 저장한 후, 수신 세그먼트 신호 영역을 이용하여 현재 수신된 데이타가 저장된 위치를 셋팅하며, 수신된 데이타를 중앙 처리 장치가 가져갈 수 있도록 하기 위하여, 듀얼 포트 램의 엔드 어드레스-1 번지(END ADDRESS-1 : 수신 인터럽트 신호 영역)에 데이타의 수신을 알리는 가상(DUMMY) 데이타를 셋팅한다. 상기와 같이 듀얼 포트 램에 가상 데이타가 셋팅되면 듀얼 포트 램에서 중앙 처리 장치로 수신 인터럽트가 발생하고, 수신 인터럽트가 발생하면, 중앙 처리 장치에서 듀얼 포트 램의 수신 세그먼트 신호 영역의 데이타를 리드하여 현재 수신된 데이타가 존재하는 위치를 인식하여, 인식된 위치로부터 데이타를 리드하여 로칼 메모리에 저장한 후 데이타를 정합하여 정보에 대한 처리를 수행한다.The operation at the time of data reception is that if the received data is input into glue logic through the network interface unit, the glue logic stores the input data in the reception data area consisting of n segments of the dual port RAM, and then receives the reception segment signal area. To set the location where the currently received data is stored, and to receive the received data from the central processing unit, set the data to the END ADDRESS-1 address of the dual port RAM. Sets DUMMY data that informs the receipt of a message. As described above, when the virtual data is set in the dual port RAM, a reception interrupt occurs in the dual port RAM to the central processing unit. When the reception interrupt occurs, the central processing unit reads the data in the reception segment signal area of the dual port RAM to present the data. Recognizes the position where the received data exists, reads the data from the recognized position, stores the data in the local memory, matches the data, and processes the information.

상기와 같이 듀얼 램을 이용하여 데이타의 분할 및 재조립 장치를 구성하게 되면, 중앙 처리 장치에서 데이타의 분할 및 재조립 동작을 소프트웨어적으로 수행할 수 있게 된다.When the data division and reassembly apparatus is configured using the dual RAM as described above, the central processing unit can perform the data division and reassembly operation in software.

도 1은 일반적인 셋-탑-박스의 구성을 보여주는 도면,1 is a view showing the configuration of a typical set-top-box,

도 2는 일반적인 ATM 셀의 구조를 보여주는 도면,2 is a view showing the structure of a typical ATM cell;

도 3은 일반적인 A0 인터페이스를 보여주는 도면,3 shows a typical A0 interface,

도 4는 본 발명에 의해 구현된 데이타 분할 및 재조립 장치의 구성을 보여주는 도면,4 is a view showing the configuration of a data partitioning and reassembly apparatus implemented by the present invention;

도 5는 본 발명에서 사용되는 듀얼 포트 램의 메모리 영역의 구성을 보여주는 도면,5 is a diagram illustrating a configuration of a memory area of a dual port RAM used in the present invention;

도 6은 본 발명에 구현된 데이타 분할 및 재조립 장치의 제어 방법을 보여주는 도면으로,6 is a view showing a control method of a data partitioning and reassembly apparatus implemented in the present invention,

a는 데이타 송신시의 과정을 보여주는 도면,a is a diagram showing a process during data transmission;

b는 데이타 수신시의 과정을 보여주는 도면.b is a view showing a process at the time of data reception.

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

1 : 망 인터페이스 유닛2 : 셋-탑-유닛1 network interface unit 2 set-top unit

10 : 글루 로직20 : 듀얼 포트 램10: Glue Logic 20: Dual Port RAM

30 : 중앙 처리 장치40 : 로칼 메모리30 central processing unit 40 local memory

11 : 타이밍·동기 처리부12 : 듀얼 포트 램 인터페이스부11 timing / synchronization processing unit 12 dual port RAM interface unit

13 : 듀얼 포트 램 인터럽트 핸들러13: Dual Port RAM Interrupt Handler

이하, 본 발명의 일실시예를 도면을 참조하여 상세히 설명하면 다음과 같다.Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

[실시예]EXAMPLE

도 4는 본 발명에 의해 구현된 데이타 분할 및 재조립 장치의 구성을 보여주고 있는 도면으로, 망 인터페이스 유닛(1)과 접속되어 유토피아 인터페이스에서의 부드러운 데이타 분할 및 재조립 동작을 수행하는 글루 로직(10)과, 송신할 데이타를 저장하고 있으며 수신된 데이타를 입력받아 저장하는 로칼 메모리(40)와, 로칼 메모리(40)와 접속되어 데이타의 송수신 등작을 제어하는 중앙 처리 장치(30)와, 상기 글루 로직(10)과 중앙 처리 장치(30)에 동시 접속되어 송수신되는 데이타를 일시 저장하는 듀얼 포트 램(20)을 포함하여 이루어진다.4 is a diagram illustrating a configuration of a data partitioning and reassembly apparatus implemented by the present invention, and includes a glue logic connected to the network interface unit 1 to perform a smooth data partitioning and reassembly operation at a utopia interface. 10), a local memory (40) storing data to be transmitted and receiving and storing the received data, a central processing unit (30) connected to the local memory (40) to control transmission and reception equalization of data, and And dual port RAM 20 for temporarily storing data transmitted and received simultaneously with the glue logic 10 and the central processing unit 30.

상기에서 글루 로직(10)은 듀얼 포트 램(20)과 접속되어 데이타의 송수신과 인터럽트 발생에 대한 처리를 수행하는 듀얼 포트 램 인터페이스부(12)와, 듀얼 포트 램(20)의 송신 인터럽트 발생단에 접속되고 듀얼 포트 램 인터페이스부(12)와 접속되어 듀얼 포트 램(20)에서의 인터럽트 처리를 제어하는 듀얼 포트 램 인터럽트 핸들러(13)와, 망 인터페이스 유닛(1)과 듀얼 포트 램 인터페이스부(12)에 동시에 접속되어 유토피아 인터페이스시 타이밍과 동기를 처리하는 타이밍·동기 처리부(11)를 포함하여 이루어진다.The glue logic 10 is connected to the dual port RAM 20, the dual port RAM interface unit 12 for transmitting and receiving data and interrupt generation, and the transmission interrupt generation stage of the dual port RAM 20 A dual port RAM interrupt handler 13 connected to the dual port RAM interface unit 12 to control interrupt processing in the dual port RAM 20, a network interface unit 1 and a dual port RAM interface unit ( And a timing / synchronization processing section 11 which is simultaneously connected to 12) and processes timing and synchronization at the time of the utopia interface.

참고로, 상기와 같은 데이타 분할 및 재조립 장치는 도 1에서 망 인터페이스 유닛(1)과 셋-탑-유닛(2)의 메인 중앙 처리 장치 사이의 구성이다. 즉, 상기에서 설명하는 중앙 처리 장치(30)는 도 1에서 메인 중앙 처리 장치를 지칭한다.For reference, such a data partitioning and reassembly apparatus is a configuration between the network interface unit 1 and the main central processing unit of the set-top unit 2 in FIG. 1. That is, the central processing unit 30 described above refers to the main central processing unit in FIG. 1.

상기에서 사용한 듀얼 포트 램(20)의 메모리 영역의 구성은 도 5에 도시된 바와 같이 n개의 세그먼트로 이루어진 송신 데이타 영역과, n개의 세그먼트로 이루어진 수신 데이타 영역과, 데이타 상태를 나타내는 신호의 셋팅을 위한 신호 영역으로 이루어지며, 상기에서 신호 영역은 데이타 송신시 인터럽트를 발생하기 위한 송신 인터럽트 신호 영역과, 데이타 수신시 인터럽트를 발생하기 위한 수신 인터럽트 신호 영역과, 수신된 데이타의 정보 등을 저장하여 데이타가 수신되었음을 알리기 위한 수신 신호 영역과, 수신 데이타 영역의 사용 가능한 영역에 대한 정보를 저장하고 있는 수신 세그먼트 신호 영역으로 이루어진다.The configuration of the memory area of the dual port RAM 20 used above is a setting of a transmission data area consisting of n segments, a receiving data area consisting of n segments, and a signal representing a data state as shown in FIG. The signal area includes a transmission interrupt signal area for generating an interrupt when data is transmitted, a reception interrupt signal area for generating an interrupt when data is received, information on received data, and the like. And a reception segment signal area for storing information on the usable area of the reception data area.

상기에서 하나의 세그먼트는 하나의 ATM 셀 데이타를 저장할 수 있도록 하기 위하여 53바이트로 이루어지고, 수신 데이타 영역을 n개의 세그먼트로 분할 한 것은 망 인터페이스 유닛(1)로부터 도착하는 연속적인 데이타(또는 데이타의 버스트(BUST)를 처리하기 위한 것이며, 또한 여러개의 메세지를 구성하는 셀들의 혼합처리가 가능하게 하기 위한 것이다.In this case, one segment is composed of 53 bytes in order to store one ATM cell data, and the division of the receiving data area into n segments is a sequence of continuous data (or data) arriving from the network interface unit 1. It is for processing burst, and also for enabling a mixing process of cells constituting several messages.

상기에서 연속적인 데이타 처리는, 수신되는 데이타가 53바이트의 ATM 셀 단위이고 하나의 세그먼트가 53바이트로 구성되어, 하나의 수신 데이타가 하나의 세크먼트에 저장되며, 수신 데이타 영역이 n개의 세그먼트로 이루어져 있기 때문에, 여러개의 데이타가 연속적으로 수신되면, 수신된 데이타를 수신 데이타 영역에 저장한 후 순차적으로 처리함으로서 가능하고, 여러개의 메세지를 구성하는 셀들의 혼합처리는, 중앙 처리 장치(30)에서 각 세그먼트에 저장된 데이타의 헤더 정보들을 인식한 후, 동일한 헤더 정보를 가진 세그먼트 데이타들끼리 분류하여 정합함으로써 가능하며, 여러개의 메세지 데이타가 동시에 수신되더라도 서로 다른 데이타들이 혼합되지 않는다.In the above continuous data processing, the received data is 53 bytes of ATM cell unit and one segment is composed of 53 bytes, one received data is stored in one segment, and the received data area is divided into n segments. Since a plurality of pieces of data are continuously received, it is possible to store the received data in a receiving data area and then process them sequentially. Mixing of cells constituting the plurality of messages is performed in the central processing unit 30. After recognizing the header information of the data stored in each segment, it is possible to classify and match the segment data having the same header information, and even if multiple message data are received at the same time, different data are not mixed.

상기와 같은 구성의 데이타 분할 및 재조립 장치의 제어 과정은 도 6에 도시된 바와 같이, 데이타 송신시(도 6a 참조)는, 중앙 처리 장치(30)에서 제어용 사용자 정보가 발생하였나를 체크하는 제 1단계(S1)와; 상기 제 1단계(S1)에서 제어용 사용자 정보가 발생하면 데이타를 정합하여 듀얼 포트 램(20)의 송신 데이타 영역에 저장하고, 듀얼 포트 램(20)의 송신 데이타 영역에 저장한 데이타에 대한 길이 정보를 듀얼 포트 램(20)의 엔드 어드레스(송신 인터럽트 신호 영역)에 저장하는 제 2단계(S2)와; 상기 제 2단계(S2) 후 송신 인터럽트가 발생하는 제 3단계(S3)와; 상기 제 3단계(S3) 후 글루 로직(10)에서 듀얼 포트 램(20)의 엔드 어드레스(송신 인터럽트 신호 영역) 영역에서 데이타 길이 정보를 읽어오는 제 4단계(S4)와; 상기 제 4단계(S4) 후 듀얼 포트 램(20)의 송신 데이타 영역에 저장된 데이타를 읽어오는 제 5단계(S5)와; 상기 제 5단계(S5) 후 듀얼 포트 램(20)의 송신 데이타 영역에서 읽어온 데이타의 길이가 듀얼 포트 램(20)의 엔드 어드레스(송신 인터럽트 신호 영역)에서 읽어온 길이 정보와 같은지를 체크하여, 아니면 상기 제 5단계(S5)의 동작을 반복 수행하고, 같으면 망 인터페이스 유닛(1)로 데이타를 전송하는 제 6단계(S6)로 이루어져 순차 동작하며, 상기 제 1단계(S1)에서 제 2단계(S2)까지의 동작(S100)은 중앙 처리 장치(30)와 듀얼 포트 램(20) 사이에서 이루어지고, 제 3단계(S3)의 동작은 중앙 처리 장치(30)와 듀얼 포트 램(20)과 글루 로직(10) 사이에서 이루어지며, 제 4단계(S4)에서 제 6단계(S6)까지의 동작(S200)은 듀얼 포트 램(20)과 글루 로직(10) 사이에서 이루어진다.As shown in FIG. 6, the control process of the data partitioning and reassembly apparatus having the above-described configuration is performed by the central processing unit 30 to check whether or not control user information has occurred during data transmission (see FIG. 6A). A first step S1; When the control user information is generated in the first step S1, the data is matched and stored in the transmission data area of the dual port RAM 20, and the length information about the data stored in the transmission data area of the dual port RAM 20. A second step (S2) of storing the data in an end address (transmission interrupt signal region) of the dual port RAM 20; A third step S3 in which a transmission interrupt occurs after the second step S2; A fourth step S4 of reading data length information from the end address (transmission interrupt signal region) region of the dual port RAM 20 in the glue logic 10 after the third step S3; A fifth step S5 of reading data stored in the transmission data area of the dual port RAM 20 after the fourth step S4; After the fifth step S5, it is checked whether the length of data read from the transmission data area of the dual port RAM 20 is equal to the length information read from the end address (transmission interrupt signal area) of the dual port RAM 20. Otherwise, the operation of the fifth step (S5) is repeated, and if the same, the sixth step (S6) of transmitting data to the network interface unit 1 is performed sequentially, and the second step in the first step (S1) Operation S100 until step S2 is performed between the central processing unit 30 and the dual port RAM 20, and operation of the third step S3 is performed by the central processing unit 30 and the dual port RAM 20. ) And the glue logic 10, and the operation S200 from the fourth step S4 to the sixth step S6 is performed between the dual port RAM 20 and the glue logic 10.

데이타 수신시(도 6b 참조)는, 글루 로직(10)에서 수신된 데이타가 일정치 이상이 될때까지 망 인터페이스로부터 데이타를 수신하는 제 1단계(T1)와; 상기 제 1단계(T1)에서 수신된 데이타가 일정치 이상이 되면 수신된 데이타를 듀얼 포트 램(20)의 수신 데이타 영역에 저장한 후 수신 세그먼트 신호 영역을 셋팅하는 제 2단계(T2)와; 상기 제 2단계(T2) 후 듀얼 포트 램(20)에 저장된 데이타가 일정치 이상인가를 체크하여, 아니면 상기 제 2단계(T2)의 과정을 반복 수행하고, 일정치 이상이면 듀얼 포트 램(20)의 엔드 어드레스-1 번지(수신 인터럽트 신호 영역)에 가상 데이타를 셋팅하는 제 3단계(T3)와; 상기 제 3단계(T3) 후 수신 인터럽트가 발생하는 제 4단계(T4)와; 상기 제 4단계(T4) 후 중앙 처리 장치(30)에서 듀얼 포트 램(20)의 수신 세그먼트 신호 영역에 저장된 데이타를 리드하여, 데이타 리드를 시작할 듀얼 포트 램(20)의 수신 데이타 영역의 어드레스를 인식하는 제 5단계(T5)와; 상기 제 5단게(T5) 후 인식한 어드레스에 의해 듀얼 포트 램(20)의 수신 데이타 영역에 저장된 데이타를 리드하여 로칼 메모리(40)에 저장한 후 데이타를 정합하는 제 6단계(T6)로 이루어져 순차 동작하며, 상기 제 1단계(T1)에서 제 3단계(T3)까지(T100)는 글루 로직(10)과 듀얼 포트 램(20) 사이에서 이루어지고, 제 4단계(T4)는 글루 로직(10)과 듀얼 포트 램(20)과 중앙 처리 장치(30)에서 이루어지며, 제 5단계(T5)에서 제 6단게(T6)까지(T200)는 듀얼 포트 램(20)과 중앙 처리 장치(30)에서 이루어진다.Upon receiving data (see FIG. 6B), the first step T1 of receiving data from the network interface until the data received by the glue logic 10 becomes a predetermined value or more; A second step (T2) of storing the received data in the reception data area of the dual port RAM 20 and setting a reception segment signal area when the data received in the first step T1 is greater than or equal to a predetermined value; After the second step T2, it is checked whether the data stored in the dual port RAM 20 is greater than or equal to a predetermined value, or if the data of the second port T2 is repeatedly performed, the dual port RAM 20 is repeatedly performed. A third step (T3) of setting virtual data at the end address-1 address (receive interrupt signal region) of the " A fourth step T4 in which a reception interrupt occurs after the third step T3; After the fourth step T4, the central processing unit 30 reads the data stored in the reception segment signal area of the dual port RAM 20 to determine the address of the reception data area of the dual port RAM 20 to start data reading. Recognizing a fifth step (T5); The sixth step T6 is performed to read data stored in the reception data area of the dual port RAM 20 based on the recognized address after the fifth step T5, store the data in the local memory 40, and match the data. Sequential operation, the first step (T1) to the third step (T3) (T100) is made between the glue logic 10 and the dual port RAM 20, the fourth step (T4) is a glue logic ( 10) and the dual port RAM 20 and the central processing unit 30, the fifth step (T5) to the sixth step (T6) (T200) is the dual port RAM 20 and the central processing unit 30 Takes place).

상기와 같은 데이타 분할 및 재조립 장치의 동작을 먼저 데이타 송신시의 흐름부터 살펴보면 다음과 같다.The operation of the data segmentation and reassembly apparatus as described above will be described first with the flow of data transmission.

중앙 처리 장치(30)에서 로칼 메모리(40)에 저장되어 있는 제어용 사용자 정보를 읽어와 헤더 정보를 결합시켜 53바이트 ATM 셀 단위의 데이타를 만들어(데이타 분할 과정) 듀얼 포트 램(20)의 송신 데이타 영역에 저장한 후, 듀얼 포트 램(20)의 엔드 어드레스(송신 인터럽트 신호 영역)에 전송하고자 하는 데이타의 길이 정보를 라이트 하고, 송신 인터럽트 신호 영역을 셋팅시켜 송신 인터럽트를 발생시킨다. 송신 인터럽트가 발생하면 글루 로직(10)에서 듀얼 포트 램(20)의 엔드 어드레스(송신 인터럽트 신호 영역)에 저장된 전송 데이타 길이 정보를 리드한 후, 듀얼 포트 램(20)의 송신 데이타 영역에서 전송 데이타 길이 만큼 데이타를 리드하여 유토피아 인터페이스를 통해 망 인터페이스 유닛(1)로 전송한다. 상기와 같은 과정을 통해 데이타 전송이 완료되면, 글루 로직(10)에서 듀얼 포트 램(20)의 송신 데이타 영역의 재사용이 가능함을 프로세서(중앙 처리 장치(30))에 알리기 위해, 듀얼 포트 램(20)의 엔드 어드레스-1 번지(수신 인터럽트 신호 영역)에 재사용 가능을 알리는 특정값을 저장한 후 수신 인터럽트를 발생시키고, 수신 인터럽트가 발생하면 중앙 처리 장치(30)에서 듀얼 포트 램(20)의 엔드 어드레스-1 번지(수신 인터럽트 신호 영역)에 저장된 내용을 리드하여, 듀얼 포트 램(20)의 송신 데이타 영역의 재사용 가능을 확인한다.The central processing unit 30 reads the control user information stored in the local memory 40 and combines the header information to create 53-byte ATM cell data (data partitioning process). The transmission data of the dual port RAM 20 After storing in the area, the length information of the data to be transmitted is written to the end address (transmission interrupt signal area) of the dual port RAM 20, and the transmission interrupt signal area is set to generate a transmission interrupt. When the transmission interrupt occurs, the glue logic 10 reads the transmission data length information stored in the end address (transmission interrupt signal area) of the dual port RAM 20, and then transmits data in the transmission data area of the dual port RAM 20. Data is read by the length and transmitted to the network interface unit 1 through the utopia interface. When the data transmission is completed through the above process, the dual logic (RAM) to inform the processor (central processing unit 30) that the transmission data region of the dual port RAM 20 can be reused in the glue logic 10. A specific value indicating reuse is stored in the end address-1 address (receive interrupt signal area) of 20) and a receive interrupt is generated. When a receive interrupt occurs, the central processing unit 30 of the dual port RAM 20 The contents stored in the end address-1 address (receive interrupt signal area) are read, and the reuse of the transmission data area of the dual port RAM 20 is confirmed.

데이타 수신시의 흐름은 다음과 같다.The flow when receiving data is as follows.

먼저 글루 로직(10)에서 주기적으로 듀얼 포트 램(20)의 수신 세그먼트 신호 영역의 데이타를 리드하여, 현재 수신 데이타 영역에서 어드 세그먼트가 사용 가능한지를 확인하고, 사용 가능 세그먼트의 시작 어드레스를 로칼 메모리(도면에는 도시하지 않음)에 저장한다. 수신된 데이타가 망 인터페이스 유닛(1)을 통해 글루 로직(10)로 입력되면, 글루 로직(10)에서는 듀얼 포트 램(20)에 상기에서 확인된 수신 데이타 영역의 사용 가능 세그먼트의 시작 번지부터 수신된 데이타를 라이트한 후, 수신 세그먼트 신호 영역의 데이타를 업데이트(UP-DATE)시키고, 듀얼 포트 램(20)의 엔드 어드레스-1 번지(수신 인터럽트 신호 영역)에 가상 데이타를 라이트한다. 상기 과정을 통해 듀얼 포트 램(20)의 엔드 어드레스-1 번지(수신 인터럽트 신호 영역)에 가상 데이타가 라이트되면, 듀얼 포트 램(20)에서 중앙 처리 장치(30)로 수신 인터럽트가 발생하며, 수신 인터럽트가 발생하면, 중앙 처리 장치(30)에서는 수신 세그먼트 신호 영역의 데이타를 리드하여 현재 수신된 데이타가 라이트되어 있는 수신 데이타 영역 세그먼트의 시작 어드레스를 인식한 후, 인식된 수신 데이타 영역 세그먼트 어드레스부터 데이타를 리드하여 로칼 메모리(40)에 라이트한 후 수신된 정보에 대한 처리를 수행한다.First, the glue logic 10 periodically reads data in the reception segment signal area of the dual port RAM 20 to check whether an ad segment is available in the current reception data area, and starts the start address of the available segment in the local memory ( Not shown). When the received data is input to the glue logic 10 through the network interface unit 1, the glue logic 10 receives the dual port RAM 20 from the start address of the available segment of the received data area identified above. After the data is written, the data in the receiving segment signal area is updated (UP-DATE), and the virtual data is written to the end address-1 address (receive interrupt signal area) of the dual port RAM 20. When the virtual data is written to the end address-1 address (receive interrupt signal region) of the dual port RAM 20 through the above process, a reception interrupt occurs from the dual port RAM 20 to the central processing unit 30, and the reception is performed. When an interrupt occurs, the central processing unit 30 reads the data of the receiving segment signal area, recognizes the start address of the receiving data area segment in which the currently received data is written, and then starts the data from the recognized receiving data area segment address. Reads and writes the data to the local memory 40 and then processes the received information.

상기 과정에서 듀얼 포트 램(20)에서 인터럽트가 발생하는 것은 듀얼 포트 램(20)의 2개의 인터럽트 신호 영역(송신 및 수신)의 셋팅 상태에 의해 이루어지며, 중앙 처리 장치(30)와 글루 로직(10)에서 지속적으로 듀얼 포트 램(20)의 2개의 인터럽트 영역의 상태를 리드함으로써 인터럽트 발생 상태를 인식하는 것이다.In the above process, the interrupt is generated in the dual port RAM 20 by the setting state of two interrupt signal regions (send and receive) of the dual port RAM 20, and the central processing unit 30 and the glue logic ( In 10), the interrupt generation state is recognized by continuously reading the states of the two interrupt regions of the dual port RAM 20.

상기 과정에서 글루 로직(10)은 일정 시간내에 수신 바이트의 카운트가 일정한계치를 초과할 경우 수신한 데이타를 수신 데이타 영역에 라이트한 후 수신 세그먼트 신호 영역의 데이타를 업데이트시키며, 상기와 같은 과정으로 듀얼 포트 램(20)의 수신 데이타 영역에 저장한 데이타가 차지하는 세그먼트의 갯수가 일정한 갯수 이상이 되면 듀얼 포트 램(20)의 엔드 어드레스-1 번지(수신 인터럽트 신호 영역)에 가상 데이타를 라이트하여 수신 인터럽트가 발생하도록 하고, 중앙 처리 장치(30)에서는 수신 인터럽트가 발생하면 수신 세그먼트 신호 영역을 확인 한 후 유효한 모든 세그먼트에 저장된 데이타를 리드하여, 각 세그먼트에 저장된 데이타의 헤더 정보에 의해 동일한 헤더 정보를 가진 데이타들을 정합하여 메세지를 구성(데이타 재조립 과정)하고, 정보에 대한 처리를 수행한다.In the above process, if the count of the received bytes exceeds a certain threshold within the predetermined time, the glue logic 10 writes the received data to the receiving data area and then updates the data of the receiving segment signal area. When the number of segments occupied by the data stored in the receive data area of the port RAM 20 becomes greater than a certain number, the virtual data is written to the end address-1 address (receive interrupt signal area) of the dual port RAM 20 to receive the interrupt. When the reception interrupt occurs, the CPU 30 checks the reception segment signal area, reads data stored in all valid segments, and has the same header information by the header information of the data stored in each segment. Match the data to form a message (data reassembly process), Performs processing on the information.

상기와 같은 과정을 통해 버스트(BUST)하게 도착하는 ATM 셀의 완충 효과를 얻을 수 있을 뿐만 아니라 중앙 처리 장치(30)에게 빈번한 인터럽트를 걸지 않게 되어 오버로드(OVERLOAD)를 줄이는 효과를 달성할 수 있다.Through the above process, not only the buffering effect of ATM cells arriving in bursts can be obtained, but also the interruption of frequent interrupts to the central processing unit 30 can be achieved, thereby reducing the overload. .

이상에서 살펴본 바와 같이 본 발명은, 특히, 망 인터페이스 유닛과 셋-탑-유닛 사이에서 전송이 이루어지는 ATM 데이타를 듀얼 포트 램을 이용하여 전송함으로서, 데이타 전송시 이루어지는 데이타의 분할 및 재조립(데이타의 정합)을 중앙 처리 장치에서 소프트웨어적으로 수행할 수 있도록 하는 효과가 있는 것이다.As described above, the present invention, in particular, by transmitting the ATM data that is transmitted between the network interface unit and the set-top unit by using a dual port RAM, the division and reassembly of data (data reconstruction) Matching) can be performed in software on the central processing unit.

Claims (9)

셋-탑-유닛의 데이타 분할 및 재조립 장치에 있어서,In the data partitioning and reassembly apparatus of the set-top unit, 망 인터페이스 유닛과 접속되어 유토피아 인터페이스에서의 부드러운 데이타 분할 및 재조립 동작을 수행하는 글루 로직과, 송신할 데이타를 저장하고 있으며 수신된 데이타를 입력받아 저장하는 로칼 메모리와, 로칼 메모리와 접속되어 데이타의 송수신 동작을 제어하는 중앙 처리 장치와, 상기 글루 로직과 중앙 처리 장치에 동시 접속되어 송수신되는 데이타를 일시 저장하는 듀얼 포트 램을 포함하여 이루어짐을 특징으로 하는 듀얼 포트 램을 이용한 데이타 분할 및 재조립 장치.Glue logic for smooth data partitioning and reassembly operations in the Utopia interface connected to the network interface unit, Local memory for storing the data to be transmitted and receiving the received data, and Local memory for accessing the data Central processing unit for controlling the transmission and reception operation, and data partitioning and reassembly using dual port RAM, characterized in that it comprises a dual port RAM for temporarily storing data transmitted and received simultaneously connected to the glue logic and the central processing unit . 제 1 항에 있어서,The method of claim 1, 글루 로직은 듀얼 포트 램과 접속되어 데이타의 송수신과 인터럽트 발생에 대한 처리를 수행하는 듀얼 포트 램 인터페이스부와, 듀얼 포트 램의 송신 인터럽트 발생단에 접속되고 듀얼 포트 램 인터페이스부와 접속되어 듀얼 포트 램에서의 인터럽트 처리를 제어하는 듀얼 포트 램 인터럽트 핸들러와, 망 인터페이스 유닛과 듀얼 포트 램 인터페이스부에 동시에 접속되어 유토피아 인터페이스시 타이밍과 동기를 처리하는 타이밍·동기 처리부를 포함하여 이루어짐을 특징으로 하는 듀얼 포트 램을 이용한 데이타 분할 및 재조립 장치.Glue logic is connected to dual port RAM to handle data transmission and interrupt generation, and dual port RAM interface part to connect interrupt generation terminal of dual port RAM and dual port RAM interface part to dual port RAM Dual port RAM interrupt handler for controlling interrupt processing in the network and a timing / synchronization processor for timing and synchronization during the utopia interface simultaneously connected to the network interface unit and the dual port RAM interface unit Data partitioning and reassembly using RAM. 제 1 항에 있어서,The method of claim 1, 듀얼 포트 램의 메모리 영역의 구성은, 송신할 데이타를 저장하는 n개의 세그먼트로 이루어진 송신 데이타 영역과, 수신할 데이타를 저장하는 n개의 세그먼트로 이루어진 수신 데이타 영역과, 데이타 상태를 나타내는 신호의 셋팅을 위한 신호 영역으로 이루어짐을 특징으로 하는 듀얼 포트 램을 이용한 데이타 분할 및 재조립 장치.The configuration of the memory area of the dual port RAM includes setting of a transmission data area consisting of n segments storing data to be transmitted, a receiving data area consisting of n segments storing data to be received, and a signal representing a data state. Data segmentation and reassembly device using dual port RAM, characterized in that the signal area for. 제 3 항에 있어서,The method of claim 3, wherein 신호 영역은 데이타 송신시 인터럽트를 발생하기 위한 송신 인터럽트 신호 영역과, 데이타 수신시 인터럽트를 발생하기 위한 수신 인터럽트 신호 영역과, 수신된 데이타의 정보 등을 저장하여 데이타가 수신되었음을 알리기 위한 수신 신호 영역(RESERVED)과, 수신 데이타 영역의 사용 가능한 영역에 대한 정보를 저장하고 있는 수신 세그먼트 신호 영역(RxSI)으로 이루어짐을 특징으로 하는 듀얼 포트 램을 이용한 데이타 분할 및 재조립 장치.The signal area includes a transmission interrupt signal area for generating an interrupt when data is transmitted, a reception interrupt signal area for generating an interrupt when data is received, a reception signal area for storing the information of the received data, and the like to indicate that data has been received. RESERVED) and a reception segment signal area (RxSI) that stores information on the usable area of the reception data area. 제 3 항에 있어서,The method of claim 3, wherein 하나의 세그먼트는 53바이트로 이루어짐을 특징으로 하는 듀얼 포트 램을 이용한 데이타 분할 및 재조립 장치.Data segmentation and reassembly device using dual port RAM, characterized in that one segment consists of 53 bytes. 듀얼 포트 램을 이용하여 구성한 데이타 분할 및 재조립 장치의 제어 방법에 있어서,In the control method of the data partitioning and reassembly device configured using the dual port RAM, 데이타 송신시는, 중앙 처리 장치에서 로칼 메모리에 저장되어 있는 제어용 사용자 정보를 읽어와 헤더 정보를 결합시켜 53바이트 ATM 셀 단위의 데이타를 만들어 듀얼 포트 램의 송신 데이타 영역에 저장한 후, 듀얼 포트 램의 엔드 어드레스(송신 인터럽트 신호 영역)에 전송하고자 하는 데이타의 길이 정보를 라이트하면 송신 인터럽트가 발생하고, 송신 인터럽트가 발생하면 글루 로직에서 듀얼 포트 램의 엔드 어드레스(송신 인터럽트 신호 영역)에 저장된 전송 데이타 길이 정보를 리드한 후, 듀얼 포트 램의 송신 데이타 영역에서 전송 데이타 길이 만큼 데이타를 리드하여 유토피아 인터페이스를 통해 망 인터페이스 유닛으로 전송하며, 상기와 같은 과정을 통해 데이타 전송이 완료되면, 글루 로직에서 듀얼 포트 램의 송신 데이타 영역의 재사용이 가능함을 프로세서(중앙 처리 장치)에 알리기 위해, 듀얼 포트 램의 엔드 어드레스-1 번지(수신 인터럽트 신호 영역)에 재사용 가능을 알리는 특정값(가상 데이타)을 저장한 후 수신 인터럽트를 발생시키고, 수신 인터럽트가 발생하면 중앙 처리 장치에서 듀얼 포트 램의 엔드 어드레스-1번지(수신 인터럽트 신호 영역)에 저장된 내용을 리드하여, 듀얼 포트 램의 수신 데이타 영역의 재사용 가능을 확인함을 특징으로 하는 듀얼 포트 램을 이용한 데이타 분할 및 재조립 장치의 제어 방법.In data transmission, the central processing unit reads the control user information stored in the local memory, combines the header information, creates 53-byte ATM cell data, stores the data in the dual port RAM transmission data area, and then stores the dual port RAM. When the length information of the data to be transmitted is written to the end address (send interrupt signal area) of the transmitter, a transmission interrupt occurs. When the transmission interrupt occurs, the transmission logic stores the transmission data stored in the end address (transmission interrupt signal area) of the dual port RAM. After reading the length information, the data is read as much as the transmission data length in the transmission data area of the dual port RAM and transmitted to the network interface unit through the utopia interface. Reusing the transmission data area of the port RAM In order to inform the processor (central processing unit), a specific value (virtual data) indicating a reusability is stored in the end address-1 address (receive interrupt signal area) of the dual port RAM and a receive interrupt is generated. Occurs, the central processing unit reads the contents stored in the end address-1 (receive interrupt signal area) of the dual port RAM, and confirms that the receive data area of the dual port RAM can be reused. Control method of data segmentation and reassembly apparatus using. 제 6 항에 있어서,The method of claim 6, 데이타 수신시는, 글루 로직에서 주기적으로 듀얼 포트 램의 수신 세그먼트 신호 영역의 데이타를 리드하여, 현재 수신 데이타 영역에서 어드 세그먼트가 사용 가능한지를 확인하고, 사용 가능 세그먼트의 시작 어드레스를 로칼 메모리(도면에는 도시하지 않음)에 저장한 후, 수신된 데이타가 망 인터페이스 유닛을 통해 글루 로직로 입력되면, 글루 로직에서는 듀얼 포트 램에 상기에서 확인된 수신 데이타 영역의 사용 가능 세그먼트의 시작 번지부터 수신된 데이타를 라이트한 후, 수신 세그먼트 신호 영역의 데이타를 업데이트(UP-DATE)시키고, 듀얼 포트 램의 엔드 어드레스-1 번지(수신 인터럽트 신호 영역)에 가상 데이타를 라이트한다. 상기 과정을 통해 듀얼 포트 램의 엔드 어드레스-1 번지(수신 인터럽트 신호 영역)에 가상 데이타가 라이트되면, 듀얼 포트 램에서 중앙 처리 장치로 수신 인터럽트가 발생하며, 수신 인터럽트가 발생하면, 중앙 처리 장치에서는 수신 세그먼트 신호 영역의 데이타를 리드하여 현재 수신된 데이타가 라이트되어 있는 수신 데이타 영역 세그먼트의 시작 어드레스를 인식하여, 인식된 수신 데이타 영역 세그먼트 어드레스부터 데이타를 리드하여 로칼 메모리에 라이트한 후, 데이타를 정합하여 수신된 정보에 대한 처리를 수행함을 특징으로 하는 듀얼 포트 램을 이용한 데이타 분할 및 재조립 장치의 제어 방법.When receiving data, the glue logic periodically reads data in the receive segment signal area of the dual port RAM, checks whether the available segment is available in the current receive data area, and starts the start address of the available segment in local memory (in the drawing). (Not shown), when the received data is input to the glue logic through the network interface unit, the glue logic sends the received data from the start address of the available segment of the received data area to the dual port RAM. After writing, the data of the receiving segment signal area is updated (UP-DATE), and virtual data is written to the end address-1 address (receive interrupt signal area) of the dual port RAM. When the virtual data is written to the end address-1 address (receive interrupt signal area) of the dual port RAM through the above process, a receive interrupt is generated from the dual port RAM to the central processing unit. When the receiving interrupt occurs, the central processing unit Reads the data of the received segment signal area, recognizes the start address of the received data area segment to which the currently received data is written, reads the data from the recognized received data area segment address, writes the data to the local memory, and then matches the data. And controlling the received information by using the dual port RAM. 제 6 항 및 7 항에 있어서,The method according to claim 6 and 7, 인터럽트 발생은 듀얼 포트 램의 2개의 인터럽트 신호 영역(송신 및 수신)의 셋팅 상태에 의해 이루어지며, 중앙 처리 장치와 글루 로직에서 지속적으로 듀얼 포트 램의 2개의 인터럽트 신호 영역(송신 및 수신 인터럽트 신호 영역)의 상태를 리드하여 인터럽트 발생 상태를 인식함으로써 이루어짐을 특징으로 하는 듀얼 포트 램을 이용한 데이타 분할 및 재조립 장치의 제어 방법.The interrupt is generated by the setting status of the two interrupt signal areas (send and receive) of the dual port RAM, and the two interrupt signal areas (send and receive interrupt signal area of the dual port RAM continuously in the central processing unit and glue logic. The method of controlling a data partitioning and reassembly device using a dual port RAM, comprising: reading a state of a terminal) and recognizing an interrupt occurrence state. 제 7 항에 있어서,The method of claim 7, wherein 중아 처리 장치에서의 수신 데이타 정합 과정은, 중앙 처리 장치에서 각 세그먼트에 저장된 데이타의 헤더 정보들을 인식한 후, 동일한 헤더 정보를 가진 세그먼트 데이타들끼리 분류하여 정합함을 특징으로 하는 듀얼 포트 램을 이용한 데이타 분할 및 재조립 장치의 제어 방법.In the central processing unit, the received data matching process uses the dual port RAM, wherein the central processing unit recognizes the header information of the data stored in each segment, and classifies and classifies the segment data having the same header information. Method for controlling data partitioning and reassembly.
KR1019970023789A 1997-06-10 1997-06-10 Device and method for dividing and recombining data using dual port ram KR100237550B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970023789A KR100237550B1 (en) 1997-06-10 1997-06-10 Device and method for dividing and recombining data using dual port ram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970023789A KR100237550B1 (en) 1997-06-10 1997-06-10 Device and method for dividing and recombining data using dual port ram

Publications (2)

Publication Number Publication Date
KR19990000720A true KR19990000720A (en) 1999-01-15
KR100237550B1 KR100237550B1 (en) 2000-01-15

Family

ID=19509024

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970023789A KR100237550B1 (en) 1997-06-10 1997-06-10 Device and method for dividing and recombining data using dual port ram

Country Status (1)

Country Link
KR (1) KR100237550B1 (en)

Also Published As

Publication number Publication date
KR100237550B1 (en) 2000-01-15

Similar Documents

Publication Publication Date Title
US5905882A (en) Electronic-equipment control apparatus, electronic-equipment control method and electronic-equipment control system
US5872784A (en) High speed single chip digital video network apparatus
US5856975A (en) High speed single chip digital video network apparatus
JP3759541B2 (en) Data communication apparatus having overlay function and data processing method thereof
US5887187A (en) Single chip network adapter apparatus
US6269107B1 (en) Device and method for demultiplexing transport stream
US5864554A (en) Multi-port network adapter
EP0910208B1 (en) Digital broadcast receiving system
US5914955A (en) Switched network hub on a chip
US6026088A (en) Network architecture
US5708659A (en) Method for hashing in a packet network switching system
US20020152471A1 (en) Method and apparatus for cross-connection of video signals
US6301248B1 (en) Transport stream multiplexing apparatus capable of accommodating plurality of streams
US8265170B2 (en) Data transmission system, and its transmission side apparatus and reception side apparatus
EP0880277B1 (en) Demultiplexer
KR100760259B1 (en) Multi-Protocol Encapsulation recombination for partitioned MPEG2 Transport Stream
KR100237550B1 (en) Device and method for dividing and recombining data using dual port ram
US6577633B1 (en) ATM communications device
EP1220533A2 (en) Common interface module and method related thereto
KR100248657B1 (en) Interface device between sar and cpu
KR100290659B1 (en) Device and method for controlling real time and non-real time signal process
KR100248547B1 (en) An interface contoller for data of mpeg2-ts
KR19990027685U (en) Utopia connection device using FIFO in set top box
KR19990017906A (en) Interface device between SAR and host CPU in subscriber terminal of interactive CATV
JP2000232614A (en) Television circuit sending/receiving signal in various directions

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

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee