KR20040055010A - Processing apparatus and method for RTP packet in IP-PABX - Google Patents

Processing apparatus and method for RTP packet in IP-PABX Download PDF

Info

Publication number
KR20040055010A
KR20040055010A KR1020020081574A KR20020081574A KR20040055010A KR 20040055010 A KR20040055010 A KR 20040055010A KR 1020020081574 A KR1020020081574 A KR 1020020081574A KR 20020081574 A KR20020081574 A KR 20020081574A KR 20040055010 A KR20040055010 A KR 20040055010A
Authority
KR
South Korea
Prior art keywords
rtp packet
packet
data
processing unit
tdm
Prior art date
Application number
KR1020020081574A
Other languages
Korean (ko)
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 KR1020020081574A priority Critical patent/KR20040055010A/en
Publication of KR20040055010A publication Critical patent/KR20040055010A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1053IP private branch exchange [PBX] functionality entities or arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • H04M7/006Networks other than PSTN/ISDN providing telephone service, e.g. Voice over Internet Protocol (VoIP), including next generation networks with a packet-switched transport layer

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PURPOSE: An RTP(Real Time Protocol) packet processing apparatus in an Internet phone exchange and a method therefor are provided to process RTP data in a TDM format and send it to a TDM interface without going through a central processor. CONSTITUTION: A LAN interface(220) interfaces with a LAN(210) and receives an RTP packet including a packet having information and voice. An RTP packet processor(230) analyzes and stores data inputted through the LAN interface(220) and transfers it to a TDM interface(250) or to a central processor(240). The central processor(240) transfers information to the RTP packet processor(230) so that the RTP packet and a TDM packet can be mutually converted.

Description

인터넷 전화 교환기에서의 RTP 패킷 처리장치 및 방법{Processing apparatus and method for RTP packet in IP-PABX}Processing apparatus and method for RTP packet in IP-PABX}

본 발명은 인터넷 전화 교환기(IP-PABX)에 있어서, 특히 RTP(Real Time Protocol) 데이터를 TDM 포맷으로 처리하여, 중앙 처리부를 경유하지 않고 TDM 인터페이스로 보낼 수 있도록 한 인터넷 전화 교환기에서의 RTP 패킷 처리장치 및 방법에 관한 것이다.The present invention relates to an Internet telephone exchange (IP-PABX), in particular, to process RTP (Real Time Protocol) data in a TDM format, so that the RTP packet processing in the Internet telephone exchange can be sent to the TDM interface without passing through the central processing unit. An apparatus and method are provided.

도 1은 종래 인터넷 전화 교환기에서의 데이터 처리 장치를 나타낸 구성도이다.1 is a block diagram showing a data processing apparatus in a conventional Internet telephone exchange.

도 1을 참조하면, 랜(LAN)(110)과 인터페이스하여 정보를 가진 패킷과 실제 음성이 들어있는 RTP 패킷을 수신하는 랜 인터페이스(120)와, 상기 랜 인터페이스(120)를 통하여 입력되는 데이터를 분석하고 RTP 데이터일 경우 디지털 신호 프로세서(140)로 전달하고 TDM(time division multiplexing) 인터페이스(150)와의 연결을 통해 데이터를 시스템 하이웨이(System Highway)로 내 보내는 중앙 처리부(CPU)(130)와, 롬(ROM)(131) 및 에스디램(SDRAM)(132)으로 구성된다.Referring to FIG. 1, a LAN interface 120 for interfacing with a LAN 110 to receive a packet with information and an RTP packet including real voice and data input through the LAN interface 120 are provided. A central processing unit (CPU) 130 for analyzing and transmitting the RTP data to the digital signal processor 140 and sending the data to the system highway through a connection with a time division multiplexing (TDM) interface 150; ROM (131) and SDRAM (SDRAM) 132.

상기와 같은 인터넷 전화 교환기에서의 데이터 처리 장치에 대하여 첨부된 도 1을 참조하여 설명하면 다음과 같다.The data processing apparatus of the Internet telephone exchange as described above will be described with reference to FIG. 1.

도 1을 참조하면, 중앙 처리부(130)는 랜(110)으로부터 들어오는 데이터를 랜 인터페이스(120)를 통해서 수신하고, 수신된 데이터를 분석하게 된다. 이때의 데이터는 정보를 가진 패킷과 실제 음성이 들어있는 패킷(RTP)이다.Referring to FIG. 1, the central processing unit 130 receives data from the LAN 110 through the LAN interface 120 and analyzes the received data. The data at this time is a packet with information and a packet (RTP) containing actual voice.

이때, 상기 분석결과 수신된 데이터가 RTP 데이터일 경우 외부 디지털 신호 프로세서(140)로 전달하면, 디지털 신호 프로세서(140)는 RTP 데이터를 저장 및 처리하여 RTP 패킷의 음성 부분을 처리하여 상기 중앙 처리부(130)로 전달하게 된다.In this case, when the received data is the RTP data, the data is transmitted to the external digital signal processor 140. The digital signal processor 140 stores and processes the RTP data to process the voice portion of the RTP packet, thereby processing the central processing unit ( 130).

즉, 중앙 처리부에서 랜 인터페이스(120)로부터 받은 패킷을 분석하여 음성 데이터를 추출한 후 디지털 신호 프로세서(140)에 보내어 TDM 데이터로 변환되게 한다. 즉, 디지털 신호 프로세서(140)는 실제 음성에 해당하는 패킷의 음성 부분을처리하는 일을 담당한다.That is, the central processing unit analyzes the packet received from the LAN interface 120, extracts the voice data, and sends it to the digital signal processor 140 to be converted into TDM data. That is, the digital signal processor 140 is responsible for processing the voice portion of the packet corresponding to the actual voice.

상기 중앙 처리부(130)는 상기 RTP 패킷을 TDM 인터페이스(150)와의 연결을 통해서 시스템 하이웨이(즉 시스템 버스)로 내 보내게 된다.The central processing unit 130 sends the RTP packet to a system highway (ie, a system bus) through a connection with the TDM interface 150.

여기서, 랜 인터페이스(120)를 통해서 들어오는 패킷 데이터는 많은 양의 데이터(예컨대, 20ms의 데이터)가 일순간에 들어오기 때문에, 디지털 신호 프로세서(140) 내부에 버퍼를 구비하여 저장하게 된다.Here, the packet data coming through the LAN interface 120 enters a large amount of data (for example, 20 ms of data) at a moment, and thus, a buffer is stored in the digital signal processor 140.

그러나, 종래에는 중앙 처리부에서 모든 데이터를 처리하고 관리를 수행하기 때문 많은 부하가 걸리게 되며, 이에 따라 고 기능의 중앙 처리부와 디지털 신호 프로세서가 필요로 하게 되는 문제가 있다.However, in the related art, since the central processing unit processes and manages all data, a large load is applied, and thus a high function central processing unit and a digital signal processor are required.

본 발명은 상기한 문제를 해결하기 위해 안출된 것으로서, 랜을 통해 수신되는 데이터를 분석하여 해당하는 데이터가 RTP 패킷인 경우 RTP 패킷 처리부에서 처리를 한 후, TDM 인터페이스에 연결하여 시스템 하이웨이로 전송할 수 있도록 하는 한편, 해당하는 데이터가 중앙 처리부에서 필요로 하는 패킷인 경우 중앙 처리부로 전달할 수 있도록 한 인터넷 전화 교환기에서의 RTP 패킷 처리장치 및 방법을 제공함에 그 목적이 있다.The present invention has been made to solve the above problems, and if the corresponding data is an RTP packet by analyzing the data received through the LAN, after processing in the RTP packet processing unit, it can be connected to the TDM interface and transmitted to the system highway On the other hand, it is an object of the present invention to provide an apparatus and method for processing an RTP packet in an Internet telephone switchboard so that the data can be delivered to the central processing unit if the corresponding data is a packet required by the central processing unit.

다른 특징은 RTP 패킷 처리부의 내부에 메모리를 구비하여, RTP 패킷을 저장하고 처리하여 TDM 인터페이스에서 읽어갈 수 있도록 한 인터넷 전화 교환기에서의 RTP 패킷 처리 장치 및 방법을 제공함에 그 목적이 있다.It is another object of the present invention to provide an apparatus and method for processing an RTP packet in an Internet telephone switch having a memory inside the RTP packet processing unit so that the RTP packet can be stored and processed to be read from the TDM interface.

도 1은 종래 인터넷 전화 교환기에서의 RTP 패킷 처리장치를 나타낸 구성도.1 is a block diagram showing an apparatus for processing a RTP packet in a conventional Internet telephone exchange.

도 2는 본 발명 실시 예에 따른 인터넷 전화 교환기에서의 RTP 패킷 처리 장치를 나타낸 구성도.2 is a block diagram illustrating an apparatus for processing an RTP packet in an Internet telephone exchange according to an exemplary embodiment of the present invention.

도 3은 도 2의 메모리의 테이블 구성도.3 is a table configuration diagram of the memory of FIG. 2.

도 4는 본 발명 실시 예에 따른 RTP 패킷 처리 방법을 나타낸 플로우 챠트.4 is a flowchart illustrating a method of processing an RTP packet according to an exemplary embodiment of the present invention.

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

210...랜 220...랜 인터페이스210 ... LAN 220 ... LAN Interface

230...RTP 패킷 처리부 231...메모리230 ... RTP packet processor 231 ... memory

240...중앙 처리부 250...TDM 인터페이스240 ... central processing unit 250 ... TDM interface

상기한 목적 달성을 위한 본 발명에 따른 인터넷 전화 교환기에서의 RTP 패킷 처리 장치는,RTP packet processing apparatus in the Internet telephone exchange according to the present invention for achieving the above object,

랜으로부터 정보를 가진 패킷 및 음성 정보가 들어있는 RTP 패킷을 수신하는 랜 인터페이스와;A LAN interface for receiving a packet having information from the LAN and an RTP packet containing voice information;

채널 순서에 의해 채널 번호를 요구하여 시스템 하이웨이로 보내는 TDM 인터페이스와;A TDM interface for requesting channel numbers in channel order and sending them to the system highway;

상기 랜 인터페이스를 통해 입력되는 데이터를 분석 및 저장하며 RTP 패킷이면 RTP 패킷을 TDM 포맷으로 변환 처리하여 TDM 인터페이스로 전송하는 RTP 패킷 처리부와;An RTP packet processing unit for analyzing and storing data input through the LAN interface and converting the RTP packet into a TDM format if the RTP packet is transmitted to the TDM interface;

상기 RTP 패킷 처리부에 RTP 패킷과 TDM 패킷이 상호 변환 가능하도록 연결정보를 RTP 패킷 처리부에 기록해 주는 중앙 처리부를 포함하는 것을 특징으로 한다.The RTP packet processing unit includes a central processing unit for recording connection information in the RTP packet processing unit so that the RTP packet and the TDM packet can be mutually converted.

바람직하게, 상기 RTP 패킷 처리부는 내부에 메모리를 구비하여, 랜 인터페이스로부터 들어오는 데이터를 분석하여, RTP 패킷인 경우 내부 메모리를 이용하여 TDM 포맷으로 변환 처리하여 TDM 인터페이스로 전달하고, RTP 패킷이 아닌 경우 중앙 처리부로 전달하는 것을 특징으로 한다.Preferably, the RTP packet processing unit includes a memory therein, analyzes data coming from a LAN interface, converts the data into a TDM format using an internal memory in the case of an RTP packet, and transfers the data to a TDM interface, and not the RTP packet. Characterized in that the transfer to the central processing unit.

그리고, 본 발명에 따른 인터넷 전화 교환기에서의 RTP 패킷 처리 방법은,중앙 처리부에서 시스템 하이웨이를 통해 수신한 연결 정보를 RTP 패킷 처리부의 메모리에 기록하는 단계; RTP 패킷 처리부에서 랜 인터페이스로부터 RTP 패킷의 수신포트를 확인하여 내부 메모리의 기록 영역을 결정하고 유효 비트를 검사하는 단계; 상기 유효 비트가 1이면 입력 포인터 값이 지시하는 메모리 영역에 데이터를 저장하고, 입력 포인터와 패킷 저장 시간을 갱신하고, 유효비트가 1이 아니면 중앙 처리부로 전달하는 단계; 이후, TDM 인터페이스로부터 해당하는 채널의 번호와 함께 데이터 요구를 수신하면, 해당 채널 번호를 확인하여 메모리의 해당 영역으로부터 데이터를 읽는 단계; 상기 메모리 액세스 경우, TDM 인터페이스에서 RTP 패킷 처리부의 메모리 출력 포인터 값을 결정하고, 그 값이 지시하는 데이터를 액세스하여 시스템 하이웨이로 보내는 단계를 포함하는 것을 특징으로 한다.In addition, the RTP packet processing method in the Internet telephone exchange according to the present invention, the central processing unit recording the connection information received via the system highway in the memory of the RTP packet processing unit; Checking, by the RTP packet processor, a receiving port of the RTP packet from the LAN interface, determining a recording area of the internal memory, and checking valid bits; Storing data in a memory area indicated by an input pointer value when the valid bit is 1, updating an input pointer and a packet storage time, and transferring the data to a central processing unit when the valid bit is not 1; Thereafter, upon receiving the data request together with the corresponding channel number from the TDM interface, checking the corresponding channel number and reading data from the corresponding area of the memory; In the case of the memory access, determining a memory output pointer value of the RTP packet processor in the TDM interface, and accessing the data indicated by the value to the system highway.

바람직하게, 상기 RTP 패킷 처리부의 내부 메모리에 상기 랜 인터페이스로부터 패킷이 들어오는 속도와 TDM 인터페이스에서 패킷을 가져가는 속도를 비교하여, 버퍼 오버플로우 및 버퍼 오버런을 갱신시켜 주는 것을 특징으로 한다.Preferably, the buffer overflow and the buffer overrun are updated by comparing a rate at which a packet is input from the LAN interface to the internal memory of the RTP packet processor and a rate at which a packet is taken at the TDM interface.

이하 첨부된 도면을 참조하여 설명하면 다음과 같다.Hereinafter, with reference to the accompanying drawings as follows.

도 2는 본 발명 실시 예에 따른 RTP 패킷을 처리하여 TDM으로 변환시키는 장치이다.2 is an apparatus for processing and converting an RTP packet into a TDM according to an embodiment of the present invention.

도 2를 참조하면, 랜(210)과 인터페이스하여 정보를 가진 패킷 및 음성이 포함하는 RTP 패킷을 수신하는 랜 인터페이스(220)와, 상기 랜 인터페이스(220)를 통해 입력되는 데이터를 분석 및 저장하고 RTP 패킷 여부에 따라 TDM 인터페이스(250) 또는 중앙 처리부(240)로 전달하는 RTP 패킷 처리부(230)와, 상기 RTP 패킷 처리부(230)에 RTP 패킷과 TDM 패킷이 상호 변환 가능하도록 정보를 전달하는 중앙 처리부(240)를 포함하며, 미 설명부호 241은 롬(ROM), 242는에스램(SRAM)이다.2, a LAN interface 220 for interfacing with the LAN 210 to receive a packet having information and an RTP packet included in voice, and analyzing and storing data input through the LAN interface 220. RTP packet processing unit 230 to be transmitted to the TDM interface 250 or the central processing unit 240 according to whether the RTP packet, and the central to transfer the information so that the RTP packet and TDM packet can be converted to the RTP packet processing unit 230 A processor 240 is included, and reference numeral 241 denotes a ROM and 242 denotes an SRAM.

상기와 같은 RTP 패킷 인터페이스 제어 장치 및 방법는 대하여 첨부된 도 2 내지 도 4를 참조하여 설명하면 다음과 같다.The apparatus and method for controlling an RTP packet interface as described above will be described below with reference to FIGS. 2 to 4.

먼저, 도 2를 참조하면, 랜(210)에 연결된 랜 인터페이스(220)를 통해서 입력되는 데이터는 RTP 패킷 처리부(230)로 입력된다. 이때 RTP 패킷 처리부(230)에 입력되는 데이터는 정보를 가진 패킷과 실제 음성 데이터가 포함된 RTP패킷이 입력된다. 여기서, 정보를 가진 패킷은 중앙 처리부(240)에서 필요로 하며, RTP 패킷은 TDM 인터페이스(250)로 보내지게 된다.First, referring to FIG. 2, data input through the LAN interface 220 connected to the LAN 210 is input to the RTP packet processor 230. At this time, the data input to the RTP packet processing unit 230 is a packet with information and the RTP packet including the actual voice data is input. Here, a packet with information is needed by the central processing unit 240, and the RTP packet is sent to the TDM interface 250.

이를 위해서, RTP 패킷 처리부(230)는 랜(210)을 통해 입력되는 데이터를 분석하여 해당하는 데이터가 RTP 패킷인 경우 내부에서 TDM 포맷으로 변환 처리를 하여 TDM 인터페이스(240)에 연결하여 시스템 하이웨이로 보내주며, 해당하는 데이터가 중앙 처리부(240)로 가야 하는 패킷(Control 등)인 경우에는 중앙 처리부(240)로 보내주게 된다.To this end, the RTP packet processing unit 230 analyzes data input through the LAN 210 and converts the data into a TDM format internally when the corresponding data is an RTP packet to connect to the TDM interface 240 to the system highway. If the corresponding data is a packet (Control, etc.) to go to the central processing unit 240, it is sent to the central processing unit 240.

여기서, 중앙 처리부(240)는 초기에 시스템에서 새로운 연결을 맺는 경우 신호라인(Signal)을 통하여 해당하는 연결에 관한 정보를 시스템으로부터 받아 오고 그 정보를 참고하여 RTP 패킷 처리부(230)의 메모리(231)에 처리 정보를 기록해주게 된다.In this case, when a new connection is initially established in the system, the central processing unit 240 receives information about a corresponding connection through a signal line (Signal) from the system and refers to the memory 231 of the RTP packet processing unit 230 by referring to the information. ) Will record the processing information.

이러한 RTP 패킷 처리부(230)는 상기 연결 정보를 이용하여 외부 랜 인터페이스(220)에서 들어오는 데이터를 분석하여 RTP 패킷인지, 아닌지를 판단하며, RTP 패킷인 경우 내부에서 처리를 하기 위하여 내부 메모리(SRAM)(231)에 데이터를 저장하고 각 종 파라미터를 갱신시켜 준다.The RTP packet processor 230 analyzes the data coming from the external LAN interface 220 using the connection information to determine whether it is an RTP packet or not, and, in the case of an RTP packet, an internal memory (SRAM) for internal processing. 231 stores data and updates various parameters.

또한 RTP 패킷 처리부(230)는 TDM 인터페이스(250)로부터 전달되는 TDM 패킷을 RTP 패킷으로 변환하여, 랜 인터페이스(220)를 통해서 랜(210)으로 전송한다.In addition, the RTP packet processor 230 converts the TDM packet transmitted from the TDM interface 250 into an RTP packet, and transmits the TDM packet to the LAN 210 through the LAN interface 220.

RTP 패킷 처리부(230)의 내부 메모리(231)는 도 3에 도시된 바와 같고 도 4는 RTP 패킷 처리 방법을 나타낸 도면이다.The internal memory 231 of the RTP packet processor 230 is as shown in FIG. 3, and FIG. 4 is a diagram illustrating a method of processing an RTP packet.

도 3 및 도 4를 참조하면, 초기에 중앙 처리부(240)는 시스템에서 새로운 연결을 맺는 경우, 신호 라인(Signal)을 통하여 해당하는 연결에 관한 정보를 시스템으로부터 받아오고, 정보를 참고하여 RTP 패킷 처리부(230)의 메모리(231)에 후술하는 파라미터들을 적어 주게 된다(S201). 여기서, 연결이 되지 않아 사용되지 않고 있는 부분은 모두 '0'으로 되어 있다. 단 FP(IDLE Fill Pattern)의 경우에는 널(NULL) 값(시스템 마다 사용하는 값이 다름)이 적혀 있다.3 and 4, when the central processing unit 240 initially establishes a new connection in the system, the central processing unit 240 receives information about the corresponding connection from the system through a signal line (Signal), and refers to the RTP packet by referring to the information. The parameters described later are written in the memory 231 of the processor 230 (S201). Here, all the parts which are not used because of no connection are all set to '0'. However, in the case of FP (IDLE Fill Pattern), a null value (the value used for each system is written) is written.

초기 연결 정보를 위한 파라미터들 중 유효 비트(Valid bit)는 '1'로 세팅(setting)을 하며, 최초 비트(First Bit)는 '0'으로, LC(Law Conversion) 값은 A-law, u-law가 필요한 경우 '1'로, FP는 데이터가 없을 경우 사용할 널 데이터(Null data)를 INP(Input Pointer), OUTP(Output Pointer)는 '0'으로, JBT(Jitter Buffering Time)영역은 실제로 사용하고자 하는 RTP 패킷을 위한 버퍼의 크기로, PSTS(Packet Last Time Stamp)값은 '0'으로 setting을 한다. 포트(Port) 부분은 RTP가 사용해야할 포트 번호를 적어 놓는다. 나머지 부분에 있는 데이터는 무시를 한다.Among the parameters for initial connection information, the valid bit is set to '1', the first bit is set to '0', and the LC (Law Conversion) value is A-law, u. If -law is required, it is set to '1', FP is null data to be used when there is no data, INP (Input Pointer), OUTP (Output Pointer) is '0', and JBT (Jitter Buffering Time) area is Size of buffer for RTP packet to use, PSTS (Packet Last Time Stamp) value is set to '0'. In the Port section, write down the port number that RTP should use. The rest of the data is ignored.

또한 패킷 카운터(PKCNT), 시퀀스 넘버(SN), 시퀀스넘버 에러(SNE), 버퍼 언더런(BUV: Buffer Underrun), 버퍼 오버플로우 (BOV: Buffer Overflow) 는 '0으로 적어 놓는다.Also, the packet counter (PKCNT), sequence number (SN), sequence number error (SNE), buffer underrun (BUV), and buffer overflow (BOV) are written as' 0.

그리고, RTP 패킷 처리부(230)는 랜 인터페이스(220)를 통해서 RTP 패킷이 들어온 경우, 해당하는 포트 값을 확인하여 메모리(231)의 어느 부분을 사용할 것인가를 결정하게 된다. 일단 결정이 되고 나면 메모리(231)의 유효비트(V bit)를 검사하게 된다(S203).In addition, when the RTP packet enters through the LAN interface 220, the RTP packet processor 230 determines which part of the memory 231 to use by checking a corresponding port value. Once determined, the valid bit (V bit) of the memory 231 is examined (S203).

이때, 유효비트의 검사결과(S205), 유효 비트가 '1'이 되어 있지 않는 경우에는 RTP 패킷인 경우에도 메모리(231)에 저장이 되지를 않고 중앙 처리부(240)로 보내지게 된다(S219).At this time, when the valid bit is checked (S205) and the valid bit is not '1', the valid bit is sent to the central processing unit 240 without being stored in the memory 231 even in the case of the RTP packet (S219). .

만약, 유효비트가 '1'이 되어 있으면 입력포인터(INP: Input Pointer)의 값 부분이 가리키고 있는 부분에 실제 데이터를 저장을 하게 된다(S207). 데이터의 저장이 끝나면 입력포인터(INP)의 값을 저장된 데이터(data)의 양만큼 증가를 시켜 입력포인터(INP)에 적어 놓게 된다. 이후, 현재 패킷이 저장되는 시간(PSTS: Packet Last Time Stamp) 필드에 현재의 타이머(timer)값을 적어 놓는다(S209).If the valid bit is '1', the actual data is stored in the portion indicated by the value portion of the input pointer (INP) (S207). After the data is saved, the value of the input pointer INP is increased by the amount of stored data and written in the input pointer INP. Thereafter, the current timer value is written in the Packet Last Time Stamp (PSTS) field in which the current packet is stored (S209).

그리고, TDM 인터페이스(250)에서는 시스템에서 클럭과 프레임 헤더(FH: Frame header-시스템 버스의 시작을 알림)를 받아 해당하는 데이터를 시스템 하이웨이에 실어 주어야 한다. 이러한 TDM 인터페이스(250)는 동기, 클럭, 송신 및 수신 라인으로 구성된다.In addition, the TDM interface 250 receives a clock and a frame header (FH: notifying the start of the system bus) from the system and loads corresponding data on the system highway. This TDM interface 250 consists of synchronization, clock, transmit and receive lines.

이때 해당하는 채널의 순서가 되면 TDM 인터페이스(250)에서는 RTP 패킷 처리부(230)에 해당하는 채널의 번호와 함께 데이터를 요구하게 된다(S211). RTP 패킷 처리부(230)에서는 채널 번호를 확인 후 해당하는 메모리(231) 영역을 읽는다(S213).At this time, when the order of the corresponding channels, the TDM interface 250 requests data together with the number of the channel corresponding to the RTP packet processor 230 (S211). After checking the channel number, the RTP packet processing unit 230 reads the corresponding memory 231 region (S213).

메모리(231)의 액세스 경우 유효 비트가 '1'이 아닌 경우 FP(IDLE Fill Pattern)에 있는 널 데이터(Null data)를 전달해 주며, 유효 비트가 '1'인 경우 첫 번째(F Bit)를 확인하여 '1'이 아닌 경우에는 해당하는 데이터의 액세스의 시작임을 알아 출력 포인터(OUTP: OUT Pointer)값을 결정해 주어야 한다.When the valid bit is not '1' when the memory 231 is accessed, the null data in the FP (IDLE Fill Pattern) is transmitted. When the valid bit is '1', the first bit is checked. If it is not '1', it should be determined that the output pointer (OUTP: OUT Pointer) value is the start of the corresponding data access.

상기 출력 포인터(OUTP)의 값은 입력포인터(INP)의 값에서 JBT(Jitter Buffering Time)의 값만큼을 감산하고, 현재 RTP의 패킷 1개가 전달하는 데이터의 량(시간, 예 20ms)에서 내부 타이머와 PSTS의 차이 만큼을 제한 값을 적어 놓는다. 여기서, 내부 타이머는 TDM 인터페이스(250)의 프레임 헤더(FH)를 이용하여 구동이 되는 타이머로써, 프레임 헤더가 1번 동작하는 것은 모든 TDM 채널에 데이터가 1번씩 실렸다는 것을 의미하며, 프레임 헤더가 1번 동작할 때마다 타이머도 1씩 증가를 하게 된다. 이후, 출력포인터(OUTP)가 지정하고 있는 곳의 데이터를 가져가게 된다.The value of the output pointer OUTP is subtracted by the value of the JBT (Jitter Buffering Time) from the value of the input pointer (INP), and the internal timer in the amount of data (time, e.g. 20ms) delivered by one packet of the current RTP Note the limit as much as the difference between and PSTS. Here, the internal timer is a timer driven by using the frame header (FH) of the TDM interface 250. When the frame header is operated once, it means that data is loaded once on all TDM channels. Each time you run it, the timer also increases by 1. After that, the data of the place designated by the output pointer OUTP is taken.

그리고, F 비트(First Bit)가 '1'이 되어 있는 경우에는 출력 포인터(OUTP)에 있는 데이터를 가져가고 출력 포인터 값을 1 증가시켜 메모리(231)의 해당하는 영역에 적어 놓는다(S215).When the first bit is set to '1', the data in the output pointer OUTP is taken, and the output pointer value is increased by one and written in the corresponding area of the memory 231 (S215).

이때, 패킷이 1번 저장될 때마다 패킷 카운터(PKCNT)는 1씩 증가를 하며 시퀀스 넘버(SN)는 현재의 값으로 적어 놓고, 과거의 값과 비교를 하여 틀리면 시퀀스 넘버 에러(SNE: SN Error)에 적어 놓는다.At this time, each time a packet is stored once, the packet counter PKCNT is incremented by 1, and the sequence number SN is written as the current value. ).

또한, 패킷이 들어오는 속도와 TDM 인터페이스(250)에서 데이터를 가져가는 속도를 비교하여 버퍼 오버플로우(BOV :Buffer Overflow)와 버퍼 언더런(BUV: Buffer Underun)을 표시한다.Also, a buffer overflow (BOV) and a buffer underrun (BUV) are displayed by comparing a speed at which a packet comes in and a speed at which data is taken from the TDM interface 250.

이때, 버퍼 오버플로우(BOV)와 버퍼 언더런(BUV)의 계산은 패킷이 저장이 되는 경우 출력 포인터를 다시 계산하여, 기존 출력 포인터와 비교하거나 TDM 인터페이스로 데이터를 보내 주는 경우 출력 포인터를 다시 계산하여 기존 출력 포인터와 비교하여 적어 놓는다(S217).In this case, the buffer overflow (BOV) and the buffer underrun (BUV) are calculated by recalculating the output pointer when the packet is stored, and comparing the existing output pointer or by recalculating the output pointer when sending data to the TDM interface. Compare it with the existing output pointer and write it down (S217).

만약, 버퍼 오버플로우(BOV)와 버퍼 언더런(BUV)의 비교결과 '0'이면 변화가 없는 것이며, 기록되어 있는 값은 두 기존 출력 포인터와 새로 계산된 출력 포인터와의 차이를 적어 놓는다. 이때 기존 출력 포인터가 더 큰 경우(즉 입력포인터와의 차이가 적은 경우), 버퍼 오버플로우(BOV)에 값을 적고 버퍼 언더런(BUV)은 '0'을 적는다, 반대의 경우는 버퍼 언더런(BUV)에 값을 적고 버퍼 오버플로우(BOV)에 '0'을 적는다.If the result of the comparison between the buffer overflow (BOV) and the buffer underrun (BUV) is '0', there is no change, and the recorded value records the difference between the two existing output pointers and the newly calculated output pointer. If the existing output pointer is larger (that is, the difference between input pointers is small), write the value in the buffer overflow (BOV) and the buffer underrun (BUV) write '0', otherwise the buffer underrun (BUV) ) And '0' for the buffer overflow (BOV).

또한, 계속해서 버퍼 언더런이 발생을 하면, 출력 포인터(OUTP)와 입력포인터(INP)가 같아지는 경우, 데이터를 FP(IDLE Fill Pattern)를 내보내게 된다. 이때 중앙 처리부는 주기적으로 버퍼 오버플로우(BOV)와 버퍼 언더런(BUV), 시퀀스 에러(SNE)를 검사하여, 에러가 발생한 경우 조치를 취한다. 그리고, 버퍼 오버플로우(BOV)와 버퍼 언더런(BUV)을 위해 출력 포인터(OUTP)를 다시 계산하는 경우에는 그 값을 적어 놓지는 않는다.In addition, if the buffer underrun occurs continuously, when the output pointer OUTP and the input pointer INP are the same, the data is sent out as FP (IDLE Fill Pattern). At this time, the central processing unit periodically checks the buffer overflow (BOV), the buffer underrun (BUV), and the sequence error (SNE), and takes action when an error occurs. When the output pointer OUTP is recalculated for the buffer overflow BOV and the buffer underrun BUV, the value is not written down.

이와 같이, RTP 패킷 처리부(230)는 랜 인터페이스(220)로부터 들어오는 데이터 분석하여 RTP 패킷인 경우 내부에서 저장하여 TDM 포맷으로 변환 처리하여, TDM 인터페이스로 보내주게 되며, 해당하는 데이터가 중앙 처리부가 필요로 하는 패킷이면 중앙 처리부로 보내줄 수 있게 된다.As described above, the RTP packet processing unit 230 analyzes the data coming from the LAN interface 220 and stores the data in the case of the RTP packet, converts the data into the TDM format, and sends the data to the TDM interface. If the packet is to be sent to the central processing unit.

상술한 바와 같이 본 발명에 따른 인터넷 전화 교환기에서의 RTP 패킷 처리 장치 및 방법에 의하면, 랜 인터페이스와 중앙 처리부 사이에 RTP 패킷 처리부를 구비하여, 상기 랜 인터페이스로부터 수신되는 패킷이 RTP 패킷인 경우 이를 처리하여 TDM 포맷으로 TDM 인터페이로 내 보냄으로써, 중앙 처리부로 들어가는 데이터의 양을 줄임으로써, 중앙 처리부의 로드를 줄일 수 있고 별도의 디지털 신호 프로세서를 구비하지 않고도 동작을 할 수 있는 효과가 있다.As described above, according to the apparatus and method for processing an RTP packet in an Internet telephone exchange according to the present invention, an RTP packet processing unit is provided between a LAN interface and a central processing unit, so that a packet received from the LAN interface is processed as an RTP packet. Therefore, by sending the data to the TDM interface in the TDM format, the amount of data that enters the central processing unit can be reduced, thereby reducing the load of the central processing unit and operating without having a separate digital signal processor.

Claims (4)

인터넷 전화 교환기에 있어서,In the internet telephone exchange, 정보를 가진 패킷 및 음성 정보가 들어있는 RTP 패킷을 수신하는 랜 인터페이스와;A LAN interface for receiving a packet having information and an RTP packet containing voice information; 채널 순서에 의해 채널 번호를 요구하여 시스템 하이웨이로 보내는 TDM 인터페이스와;A TDM interface for requesting channel numbers in channel order and sending them to the system highway; 상기 랜 인터페이스를 통해 입력되는 데이터를 분석 및 저장하며 RTP 패킷이면 RTP 패킷을 TDM 포맷으로 변환 처리하여 TDM 인터페이스로 전송하는 RTP 패킷 처리부와;An RTP packet processing unit for analyzing and storing data input through the LAN interface and converting the RTP packet into a TDM format if the RTP packet is transmitted to the TDM interface; 상기 RTP 패킷 처리부에 RTP 패킷과 TDM 패킷이 상호 변환 가능하도록 연결정보를 RTP 패킷 처리부에 기록해 주는 중앙 처리부를 포함하는 것을 특징으로 하는 인터넷 전화 교환기에서의 RTP 패킷 처리 장치.And a central processing unit for recording connection information in the RTP packet processing unit so that the RTP packet processing unit and the TDM packet can be mutually converted by the RTP packet processing unit. 제 1항에 있어서,The method of claim 1, 상기 RTP 패킷 처리부는 내부에 메모리를 구비하여, 랜 인터페이스로부터 들어오는 데이터를 분석하여, RTP 패킷인 경우 내부 메모리를 이용하여 TDM 포맷으로 변환 처리하여 TDM 인터페이스로 전달하고, RTP 패킷이 아닌 경우 중앙 처리부로 전달하는 것을 특징으로 하는 인터넷 전화 교환기에서의 RTP 패킷 처리 장치.The RTP packet processing unit includes a memory therein, analyzes data coming from a LAN interface, converts the RTP packet into a TDM format using an internal memory, and transfers the data to the TDM interface. Apparatus for processing RTP packets in an Internet telephone exchange, characterized in that the transfer. 인터넷 전화 교환기에 있어서,In the internet telephone exchange, 중앙 처리부에서 시스템 하이웨이를 통해 수신한 연결 정보를 RTP 패킷 처리부의 메모리에 기록하는 단계;Recording, by the central processor, connection information received through the system highway to a memory of the RTP packet processor; RTP 패킷 처리부에서 랜 인터페이스로부터 RTP 패킷의 수신 포트를 확인하여 내부 메모리의 기록 영역을 결정하고 유효 비트를 검사하는 단계;Checking, by the RTP packet processor, a receiving port of the RTP packet from the LAN interface, determining a recording area of the internal memory, and checking valid bits; 상기 유효 비트가 1이면 입력 포인터 값이 지시하는 메모리 영역에 데이터를 저장하고, 입력 포인터와 패킷 저장 시간을 갱신하고, 유효비트가 1이 아니면 중앙 처리부로 전달하는 단계;Storing data in a memory area indicated by an input pointer value when the valid bit is 1, updating an input pointer and a packet storage time, and transferring the data to a central processing unit when the valid bit is not 1; 이후, TDM 인터페이스로부터 해당하는 채널의 번호와 함께 데이터 요구를 수신하면, 해당 채널 번호를 확인하여 메모리의 해당 영역으로부터 데이터를 읽는 단계;Thereafter, upon receiving the data request together with the corresponding channel number from the TDM interface, checking the corresponding channel number and reading data from the corresponding area of the memory; 상기 메모리 액세스 경우, TDM 인터페이스에서 RTP 패킷 처리부의 메모리 출력 포인터 값을 결정하고, 그 값이 지시하는 데이터를 액세스하여 시스템 하이웨이로 보내는 단계를 포함하는 것을 특징으로 하는 인터넷 전화 교환기에서의 RTP 패킷 처리 방법.In the case of the memory access, the RTP packet processing method in the TDM interface comprising the step of determining the value of the memory output pointer of the RTP packet processing unit, and sending the data indicated by the value to the system highway; . 제 3항에 있어서,The method of claim 3, wherein 상기 RTP 패킷 처리부의 내부 메모리에 상기 랜 인터페이스로부터 패킷이 들어오는 속도와 TDM 인터페이스에서 패킷을 가져가는 속도를 비교하여, 버퍼 오버플로우 및 버퍼 오버런을 갱신시켜 주는 것을 특징으로 하는 인터넷 전화 교환기에서의 RTP 패킷 처리 방법.RTP packet in the Internet telephone switch, characterized in that the buffer overflow and the buffer overrun is updated by comparing the rate at which the packet enters from the LAN interface to the internal memory of the RTP packet processor and the rate at which the packet is taken by the TDM interface. Treatment method.
KR1020020081574A 2002-12-20 2002-12-20 Processing apparatus and method for RTP packet in IP-PABX KR20040055010A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020020081574A KR20040055010A (en) 2002-12-20 2002-12-20 Processing apparatus and method for RTP packet in IP-PABX

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020020081574A KR20040055010A (en) 2002-12-20 2002-12-20 Processing apparatus and method for RTP packet in IP-PABX

Publications (1)

Publication Number Publication Date
KR20040055010A true KR20040055010A (en) 2004-06-26

Family

ID=37347750

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020020081574A KR20040055010A (en) 2002-12-20 2002-12-20 Processing apparatus and method for RTP packet in IP-PABX

Country Status (1)

Country Link
KR (1) KR20040055010A (en)

Similar Documents

Publication Publication Date Title
US5918073A (en) System and method for equalizing data buffer storage and fetch rates of peripheral devices
US5533018A (en) Multi-protocol packet framing over an isochronous network
JPH01241935A (en) Synchronized formatter
AU4736189A (en) System for transmitting hdlc frames on a pcm type link using a single hdlc circuit and a transposition buffer memory
JPS60178738A (en) High-speed burst signal monitor device
US6868096B1 (en) Data multiplexing apparatus having single external memory
US20040133710A1 (en) Dynamic configuration of a time division multiplexing port and associated direct memory access controller
KR20040055010A (en) Processing apparatus and method for RTP packet in IP-PABX
JPH03191649A (en) Method and device for transferring data at high speed
JP2760280B2 (en) Communication data exchange device and communication system using the exchange device
US6438626B1 (en) System implementing a state transition having an interface storing a new next state of a self block and exchanging the state information with other block
CN112352403B (en) Apparatus for buffered transmission of data
US7130793B2 (en) System and method for minimizing overrun and underrun errors in packetized voice transmission
KR910007681B1 (en) G3 fax and csdn interfaceing method
KR100429263B1 (en) Method and apparatus for preventing of mobile terminal
JP2728410B2 (en) Frame synchronizer
Price Voice Services on a Local Computer Network
CN115328431A (en) High-speed audio and control integrated bus and device
JPS6332300B2 (en)
JP2000049888A (en) Communication protocol controller and communication equipment between different kinds of networks
KR840002801A (en) Storage of a telecommunication exchange
JPH03150943A (en) Communication equipment
JPS6211951A (en) Channel device
JPH05316168A (en) Multi-channel multiplex communication controller
JPH1127770A (en) Memory control circuit

Legal Events

Date Code Title Description
N231 Notification of change of applicant
WITN Application deemed withdrawn, e.g. because no request for examination was filed or no examination fee was paid