KR100457751B1 - SPEECH CODEC MODE ASSIGNMENT METHOD FOR VoIP(VOICE OVER IP) WITH AMR SPEECH CODEC - Google Patents

SPEECH CODEC MODE ASSIGNMENT METHOD FOR VoIP(VOICE OVER IP) WITH AMR SPEECH CODEC Download PDF

Info

Publication number
KR100457751B1
KR100457751B1 KR10-2002-0065021A KR20020065021A KR100457751B1 KR 100457751 B1 KR100457751 B1 KR 100457751B1 KR 20020065021 A KR20020065021 A KR 20020065021A KR 100457751 B1 KR100457751 B1 KR 100457751B1
Authority
KR
South Korea
Prior art keywords
voice codec
codec mode
voice
range
packet
Prior art date
Application number
KR10-2002-0065021A
Other languages
Korean (ko)
Other versions
KR20040036200A (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 KR10-2002-0065021A priority Critical patent/KR100457751B1/en
Publication of KR20040036200A publication Critical patent/KR20040036200A/en
Application granted granted Critical
Publication of KR100457751B1 publication Critical patent/KR100457751B1/en

Links

Classifications

    • 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
    • H04M7/0072Speech codec negotiation

Abstract

본 발명은 인터넷 전화시스템에 관한 것으로서, 특히 인터넷 전화 서비스의 운영에 있어서 양호한 음질을 얻을 수 있는 가변 전송율을 갖는 음성 코덱을 적용하여 패킷 손실을 줄이고 통화품질의 향상을 기할 수 있도록하기 위해, 8개의 전송 모드를 갖는 AMR 음성코덱을 인터넷 전화시스템(VoIP)에 적용하는 한편, 네트웍의 상태를 모니터링 하여 그에 따라 상기 AMR 음성코덱의 모드를 결정할 수 있도록 하기 위한, 가변 전송율을 갖는 음성코덱을 적용한 인터넷 전화시스템에서의 음성코덱 모드 할당 방법을 제공하는데 그 목적이 있다. 이를 위한 본 발명은 가변 전송율을 갖는 음성코덱을 적용한 인터넷 전화시스템에서의 음성코덱 모드 할당 방법에 있어서, 채널 모니터링 파라미터인 지터(Jitter)를 정의하여 상기 파라미터의 범위를 각 단계별로 나누고, 상기 각 단계별로 음성코덱 모드를 할당하며, 수신된 패킷에서 지터값을 계산하는 제 1 단계; 상기 각 단계별로 할당된 음성코덱 모드 중 상기 지터값이 해당되는 단계에 할당된 음성코덱 모드를 선택하는 제 2 단계; 및 선택된 음성코덱 모드를 이용하여 송신측으로 패킷을 전송하는 제 3 단계를 포함한다.The present invention relates to an Internet telephony system. In particular, in order to reduce packet loss and improve call quality by applying a voice codec having a variable bit rate to obtain good sound quality in the operation of an Internet telephony service, Internet telephony using a voice codec with variable transmission rate to apply an AMR voice codec with a transmission mode to an Internet telephony system (VoIP), and to monitor the network status and determine the mode of the AMR voice codec accordingly. The purpose of the present invention is to provide a voice codec mode allocation method in a system. To this end, the present invention provides a method for allocating a voice codec mode in an Internet telephony system to which a voice codec having a variable bit rate is applied, by defining jitter, which is a channel monitoring parameter, dividing the range of the parameter into each step. A first step of allocating a voice codec mode and calculating a jitter value in the received packet; A second step of selecting a voice codec mode allocated to a step corresponding to the jitter value among the voice codec modes allocated to each step; And a third step of transmitting a packet to a sender using the selected voice codec mode.

Description

가변 전송율을 갖는 음성코덱을 적용한 인터넷 전화시스템에서의 음성코덱 모드 할당 방법{SPEECH CODEC MODE ASSIGNMENT METHOD FOR VoIP(VOICE OVER IP) WITH AMR SPEECH CODEC}SPECCH CODEC MODE ASSIGNMENT METHOD FOR VoIP (VOICE OVER IP) WITH AMR SPEECH CODEC

본 발명은 인터넷 전화시스템에 관한 것으로서, 특히 가변 전송율을 갖는 음성코덱을 이용한 인터넷 전화시스템에서의 코덱모드 할당 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an internet telephone system, and more particularly, to a method for allocating a codec mode in an internet telephone system using a voice codec having a variable transmission rate.

인터넷 프로토콜(IP:Internet Protocol)(이하, 간단히 "IP"라 함) 망에서의 인터넷 전화(VoIP:Voice Over IP) 서비스의 기본 전제는 음성신호가 패킷 형태로 변환되고 이를 IP 패킷에 포함시켜서 VoIP 기능이 있는 장비들 사이에 라우팅 될 수 있다는 것이다. 이러한 패킷들은 적당한 라우팅 경로를 거쳐 목적지에 도달해서 상당히 우수한 음질로 재생될 수 있다.The basic premise of the Voice over IP (VoIP) service in the Internet Protocol (IP) network (hereinafter simply referred to as "IP") is that the voice signal is converted into a packet form and included in the IP packet. It can be routed between devices with functionality. These packets reach the destination via a suitable routing path and can be reproduced with fairly good sound quality.

이러한, VoIP 통신 방식은 크게 PC 대 PC, PC 대 전화, 전화 대 전화 등의 세 가지 방식으로 구분 할 수 있으며, 서비스 제공을 위해 다양한 기술요소들이 필요하다.The VoIP communication method can be classified into three types such as PC-to-PC, PC-to-phone, and phone-to-phone, and various technical elements are required to provide services.

VoIP 서비스를 제공하기 위한 기술들로서는, 음성/디지털 신호 변환 및 압축 기술 등을 포함하는 사용자 단말기 기술, 사용자 단말기 정보처리 기술 및 통신 설정과 제어에 관한 서버 기술, 단말기간의 상호 연동과 호환을 지원하는 게이트웨이 기술, 통화채널 설정 및 관리 기술, IP 주소 및 전화 번호 매핑 기술 등의 핵심 요소기술들이 있다. 이러한 기술들은 여러 표준화 기구 혹은 컨소시움을 통해 개발되어 표준안으로 선정되고 있다.Techniques for providing VoIP services include user terminal technology including voice / digital signal conversion and compression technology, user terminal information processing technology, server technology related to communication setting and control, and mutual interoperability and compatibility between terminals. Core technologies include gateway technology, call channel setup and management technology, IP address and phone number mapping technology. These technologies have been developed by several standardization bodies or consortiums and selected as standards.

현재까지 인터넷전화 관련 표준규격 개발은 ITU-T의 H.323 기반으로 진행되어 왔으며, 이는 ETSI 및 IMTC 단체들의 활발한 기고에 의해 완성되었다.To date, the development of Internet telephony standards has been based on ITU-T's H.323, which has been completed by active contributions from ETSI and IMTC organizations.

RTP/ RTCP 프로토콜을 사용하는 H.323 기반의 인터넷전화는 ITU-T의 여러 기존 표준과의 조합에서 비효율적이라는 인식이 퍼지면서, IETF에서 인터넷 프로토콜 위주의 표준이 개발되고 있으며, 이것이 바로 SIP(Session Initiation Protocol) 기반의 인터넷전화 표준이다. 현재까지는 ITU-T의 H.323 방식의 표준 및 제품 개발이 주류를 이루었으나, 향후에는 SIP 방식 기반의 VoIP 기술과 활발한 경쟁이 이루어질 것으로 전망된다.H.323-based Internet telephony using RTP / RTCP protocols is becoming inefficient in combination with several existing ITU-T standards, and Internet Protocol-oriented standards are being developed at the IETF. Internet telephony standard based on Initiation Protocol. Until now, ITU-T's H.323-based standards and product development have been mainstream, but in the future, active competition with SIP-based VoIP technology is expected.

한편, H.323은 다양한 형태의 망에서 멀티미디어 통신 서비스를 제공해 주는 ITU-T의 H.32x 권고안 시리즈의 하나로서, 패킷 기반의 망에서 오디오, 비디오, 데이터 등의 실시간 전송을 위해 기본이 되는 기술이다. 실시간 양방향 통신에 사용되는 H.323 단말기는 멀티미디어 신호를 압축하기 위한 오디오/비디오 압축 프로토콜, 호 설정 및 제어에 관한 프로토콜, 실시간 전송 및 제어 프로토콜을 포함하며, 프로토콜 스팩의 구성 및 사용자 장비 인터페이스, 시스템 제어, LAN과의 연계를 도 1a 및 도 1b 에 각각 나타내고 있다.H.323, on the other hand, is one of ITU-T's H.32x series of recommendations for providing multimedia communication services in various types of networks, and is the basic technology for real-time transmission of audio, video, and data in packet-based networks. to be. H.323 terminals used for real-time two-way communication include audio / video compression protocols for compressing multimedia signals, protocols for call setup and control, real-time transmission and control protocols, protocol specification configuration, user equipment interface, and system. The control and linkage with the LAN are shown in Figs. 1A and 1B, respectively.

즉, 도 1a 는 일반적인 H.323 단말기측 프로토콜의 일실시예 구성도이며, 도 1b 는 일반적인 H.323 단말기의 일실시예 구성도이다.That is, FIG. 1A is a configuration diagram of an embodiment of a general H.323 terminal protocol, and FIG. 1B is a configuration diagram of an embodiment of a general H.323 terminal.

인터넷 전화 시스템에서 H.323 단말기가 제공하는 기본적인 서비스는 음성통신이므로 효율적인 정보 전송을 위해 아래의 [표 1]에 도시된 H.323에서 지원하는 음성 코덱 중 한 가지 이상이 필수적으로 지원되어야 한다.Since the basic service provided by the H.323 terminal in the Internet telephony system is voice communication, at least one of the voice codecs supported by H.323 shown in [Table 1] must be supported for efficient information transmission.

ITU-T 표준ITU-T standard 부호화 알고리즘Coding algorithm 전송속도Transmission speed G.711G.711 PCMPCM 64 kbits/s64 kbits / s G.722G.722 SB-ADPCMSB-ADPCM 48,56,64 kbits/s48,56,64 kbits / s G.723.1G.723.1 MP-MLQ/ACELPMP-MLQ / ACELP 5.3,6.3 kbits/s5.3,6.3 kbits / s G.728G.728 LD-CELPLD-CELP 16 kbits/s16 kbits / s G.729G.729 CS-ACELPCS-ACELP 8 kbits/s8 kbits / s

한편, 현재 VoIP 기술에 관한 제안서는 주로 네트웍 트래픽 처리를 위한 대형 장비개발이나 인터넷 프로토콜 위주로 진행되고 있으며, 음성품질 개선을 위한 단말 내부에서의 음성신호처리 기술에는 뚜렷한 제안서가 추진되지 못하고 있는 실정이다. 따라서, 양질의 음성서비스를 제공하기 위한 기술 개발은 상대적으로 등한시되어 왔고, 사업자들은 사용자의 통화품질에 대한 불만에 부딪혀 난관을 겪고 있는 실정이다.On the other hand, the proposal on the VoIP technology is mainly focused on the development of large equipment for network traffic processing or the Internet protocol, and there is no clear proposal for the voice signal processing technology in the terminal for improving the voice quality. Therefore, the development of technology for providing high quality voice service has been relatively neglected, and the operators are facing difficulties due to the user's dissatisfaction with the call quality.

VoIP에서 음성 서비스 품질을 저하시키는 가장 큰 요인들은 음성 패킷의 전송 손실, 음성 데이터의 전달 지연, 음성 데이터의 전달 지연, 종단간의 에코 현상, 음성코덱의 부하 등이며, 이러한 문제점은 VoIP의 고속 성장을 가로막는 가장 큰 원인이 되고 있다.The biggest deterioration of voice quality of service in VoIP is the loss of transmission of voice packets, delay of transmission of voice data, delay of transmission of voice data, end-to-end echo phenomenon, and load of voice codec. The barrier is the biggest cause.

특히, [표 1]에 열거된 바와 같이 현재 지원되고 있는 VoIP 시스템의 음성코덱은 모두 고정된 전송율을 가지므로 트래픽 변동이 심한 인터넷망에서 패킷 손실에 유연하게 대처할 수 없다는 문제점을 가지고 있다.In particular, as listed in Table 1, all voice codecs of VoIP systems currently supported have a fixed transmission rate, and thus have a problem in that they cannot flexibly cope with packet loss in a network with high traffic fluctuations.

또한, 상기한 바와 같은 기존 음성 코덱의 음질은 최근에 3GPP의 표준으로선정된 가변전송율을 갖는 AMR 음성코덱의 음질보다 떨어진다는 문제점도 가지고 있다.In addition, the sound quality of the existing voice codec as described above has a problem that the sound quality of the AMR voice codec having a variable transmission rate recently selected as the standard of 3GPP.

즉, 현재 이용되고 있는 인터넷 전화시스템에 있어서의 음성 코덱은, 고정된 전송율을 갖는 음성 코덱을 이용하므로 트래픽 변동이 심한 인터넷망에서 패킷 손실에 유연하게 대처할 수 없는 문제점이 있을 뿐만 아니라, 그 음질면에 있어서도 새롭게 개발된 AMR 음성 코덱의 음질보다 떨어진다는 문제점이 있으며, 이로인해 사용자들에게 고품질의 인터넷 전화 서비스를 제공할 수 없다는 문제점이 있다.In other words, the voice codec in the currently used Internet telephone system uses a voice codec having a fixed transmission rate, which not only can not flexibly cope with packet loss in a high-traffic Internet network, but also has a poor sound quality. In addition, there is a problem that the sound quality of the newly developed AMR voice codec is lower than, and thus there is a problem that can not provide high-quality Internet phone service to users.

본 발명은 상기와 같은 종래의 문제점을 해결하기 위한 것으로서, 인터넷 전화 서비스의 운영에 있어서, 양호한 음질을 얻을 수 있는 가변 전송율을 갖는 음성 코덱을 적용하여 패킷 손실을 줄이고 통화품질의 향상을 기할 수 있도록하기 위해, 8개의 전송 모드를 갖는 AMR 음성코덱을 인터넷 전화시스템(VoIP)에 적용하는 한편, 네트웍의 상태를 모니터링 하여 그에 따라 상기 AMR 음성코덱의 모드를 결정할 수 있도록 하기 위한, 가변 전송율을 갖는 음성코덱을 적용한 인터넷 전화시스템에서의 음성코덱 모드 할당 방법을 제공하는데 그 목적이 있다.The present invention is to solve the above-described problems, in the operation of the Internet telephony service, by applying a voice codec having a variable bit rate that can obtain a good sound quality to reduce packet loss and improve the call quality In order to apply an AMR voice codec having eight transmission modes to an Internet telephone system (VoIP), a voice having a variable transmission rate for monitoring the state of the network and thus determining the mode of the AMR voice codec accordingly An object of the present invention is to provide a voice codec mode allocation method in an Internet telephone system using a codec.

도 1a 는 일반적인 H.323 단말기측 프로토콜의 일실시예 구성도.1A is a diagram illustrating an embodiment of a general H.323 terminal-side protocol.

도 1b 는 일반적인 H.323 단말기의 일실시예 구성도.1B is a block diagram of an embodiment of a general H.323 terminal.

도 2 는 본 발명이 적용되는 인터넷 전화 시스템의 일실시예 구성도.2 is a configuration diagram of an embodiment of an Internet telephone system to which the present invention is applied.

도 3 은 본 발명에 적용되는 AMR 음성코덱을 적용한 인터넷 전화(VoIP) 단말기의 일실시예 구성도.3 is a diagram illustrating an embodiment of an Internet telephone (VoIP) terminal to which an AMR voice codec applied to the present invention is applied.

도 4 는 본 발명에 적용되는 Jiti파라미터를 이용한 음성코덱 모드 할당 방법의 일예시도.4 is an exemplary view illustrating a voice codec mode allocation method using Jit i parameters applied to the present invention.

도 5 는 본 발명에 적용되는 적응적 코덱 모드 할당 알고리즘의 일예시도.5 is an exemplary diagram of an adaptive codec mode allocation algorithm applied to the present invention.

도 6a 내지 도 6c 는 본 발명에 따른 가변 전송율을 갖는 음성코덱을 적용한 인터넷 전화시스템에서의 음성코덱 모드 할당 방법의 일예시도.6A to 6C are diagrams illustrating an example of a voice codec mode allocation method in an Internet telephone system to which a voice codec having a variable data rate is applied according to the present invention.

도 7a 및 도 7b 는 본 발명을 실험하기 위한 PC 프로그램의 일실시예 실행화면.7A and 7B show an embodiment execution screen of a PC program for experimenting with the present invention.

도 8 은 본 발명에 대하여 인터넷을 통한 음성 전송을 실험하기 위한 실험환경의 일예시도.8 is an example of an experimental environment for experimenting with voice transmission over the Internet with respect to the present invention.

도 9a 내지 도 9f 는 본 발명에 대하여 실험한 결과를 나타낸 일실시예 도표.9A to 9F are exemplary diagrams showing the results of experiments with respect to the present invention.

상기 목적을 달성하기 위한 본 발명은, 가변 전송율을 갖는 음성코덱을 적용한 인터넷 전화시스템에서의 음성코덱 모드 할당 방법에 있어서, 채널 모니터링 파라미터인 지터(Jitter)를 정의하여 상기 파라미터의 범위를 각 단계별로 나누고, 상기 각 단계별로 음성코덱 모드를 할당하며, 수신된 패킷에서 지터값을 계산하는제 1 단계; 상기 각 단계별로 할당된 음성코덱 모드 중 상기 지터값이 해당되는 단계에 할당된 음성코덱 모드를 선택하는 제 2 단계; 및 선택된 음성코덱 모드를 이용하여 송신측으로 패킷을 전송하는 제 3 단계를 포함한다.In order to achieve the above object, the present invention provides a voice codec mode allocation method in an Internet telephone system to which a voice codec having a variable transmission rate is applied. Dividing, assigning a voice codec mode to each step, and calculating a jitter value in the received packet; A second step of selecting a voice codec mode allocated to a step corresponding to the jitter value among the voice codec modes allocated to each step; And a third step of transmitting a packet to a sender using the selected voice codec mode.

또한, 본 발명은 가변 전송율을 갖는 음성코덱을 적용한 인터넷 전화시스템에서의 음성코덱 모드 할당 방법에 있어서, 채널 모니터링 파라미터인 지터(Jitter)와 CumLoss를 정의하여 상기 파라미터의 범위를 각 단계별로 나누고, 상기 각 단계별로 음성코덱 모드를 할당하므로써 음성코덱 모드 테이블을 정의하며, 송신측으로부터 전송된 패킷을 수신하는 제 1 단계; 수신된 패킷에서 지터와 CumLoss 를 계산하여, 상기 각 단계의 범위를 수정하므로써, 상기 제 1 단계에서 정의된 음성코덱 모드 테이블을 수정하는 제 2 단계; 수정된 음성코덱 모드 테이블에서 상기 계산된 지터값이 해당되는 단계에 할당된 음성코덱 모드를 선택하는 제 3 단계; 및 선택된 음성코덱 모드를 이용하여 송신측으로 패킷을 전송하는 제 4 단계를 포함한다.In addition, the present invention, in the voice codec mode allocation method in the Internet telephone system to which the voice codec having a variable data rate is applied, by defining the channel monitoring parameters Jitter (Jitter) and CumLoss to divide the range of the parameters in each step, A first step of defining a voice codec mode table by allocating a voice codec mode for each step, and receiving a packet transmitted from a transmitter; A second step of modifying the voice codec mode table defined in the first step by calculating jitter and CumLoss in the received packet and modifying the range of each step; A third step of selecting a voice codec mode assigned to a step corresponding to the calculated jitter value in a modified voice codec mode table; And a fourth step of transmitting a packet to a transmitter using the selected voice codec mode.

또한, 본 발명은 가변 전송율을 갖는 음성코덱을 적용한 인터넷 전화시스템에서의 음성코덱 모드 할당 방법에 있어서, 채널 모니터링 파라미터인 지터(Jitter)와 CumLoss를 정의하여 상기 파라미터의 범위를 각 단계별로 나누고, 상기 각 단계별로 음성코덱 모드를 할당하므로써 음성코덱 모드 테이블을 정의하며, 송신측으로부터 전송된 패킷을 수신하는 제 1 단계; 수신된 패킷에서 지터와 CumLoss 를 계산하여, 상기 각 단계의 범위를 수정하므로써, 상기 제 1 단계에서 정의된 음성코덱 모드 테이블을 수정하는 제 2 단계; 수정된 음성코덱 모드 테이블에서 상기 계산된 지터값이 해당되는 단계에 할당된 음성코덱 모드를 선택하는 제 3 단계; 및 선택된 음성코덱 모드를 이용하여 송신측으로 패킷을 전송하는 한편, 상기 제 3 단계에서 선택된 음성코덱 모드에 대한 정보를 상기 패킷에 실어 함께 전송하는 제 4 단계를 포함한다.In addition, the present invention, in the voice codec mode allocation method in the Internet telephone system to which the voice codec having a variable data rate is applied, by defining the channel monitoring parameters Jitter (Jitter) and CumLoss to divide the range of the parameters in each step, A first step of defining a voice codec mode table by allocating a voice codec mode for each step, and receiving a packet transmitted from a transmitter; A second step of modifying the voice codec mode table defined in the first step by calculating jitter and CumLoss in the received packet and modifying the range of each step; A third step of selecting a voice codec mode assigned to a step corresponding to the calculated jitter value in a modified voice codec mode table; And a fourth step of transmitting the packet to the transmitter using the selected voice codec mode, and transmitting information on the voice codec mode selected in the third step in the packet.

즉, 본 발명은 상기한 바와 같이 기존의 인터넷 전화(VoIP : Internet Telephony) 시스템에서 고정된 전송율을 갖는 음성코덱으로는 극복하기 어려운 통화품질 개선 문제를 해결하기 위한 것으로서, 양호한 음질을 얻을 수 있는 가변 전송율을 갖는 음성코덱(AMR 음성코덱)(이하, 간단히 "AMR 음성코덱"이라 함)을 네트웍의 변화가 심한 인터넷 전화 시스템에 적용하여 패킷 손실을 줄이고 통화품질의 향상을 기하고자 한다.That is, the present invention is to solve the problem of improving the call quality, which is difficult to overcome by a voice codec having a fixed transmission rate in a conventional Internet Telephony (VoIP) system as described above, a variable that can obtain a good sound quality A voice codec (AMR voice codec) having a transmission rate (hereinafter, simply referred to as an "AMR voice codec") is applied to an Internet telephone system in which a network is changed, thereby reducing packet loss and improving call quality.

이를 위해, 우선 8개의 전송 모드를 갖는 AMR 음성코덱을 인터넷 전화 시스템에 적용하며, 트래픽 변동에 따른 인터넷망의 채널 상태를 모니터링 할 수 있는 파라미터를 정의한 후 상기 파라미터를 이용해 네트웍의 상태를 모니터링 하여, 그에 따른 음성코덱의 모드를 결정하는 방법을 제안하고자 한다.To this end, first, AMR voice codec with 8 transmission modes is applied to the Internet phone system, define the parameters that can monitor the channel status of the Internet network according to traffic fluctuations, and then monitor the network status using the parameters. We propose a method of determining the mode of the voice codec accordingly.

이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시예를 상세히 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 2 는 본 발명이 적용되는 인터넷 전화 시스템의 일실시예 구성도이다.2 is a configuration diagram of an embodiment of an Internet telephone system to which the present invention is applied.

도면에 도시된 바와 같이, 본 발명이 적용되는 인터넷 전화 시스템은, AMR 음성코덱을 적용한 인터넷 전화(VoIP)(이하, 간단히 "인터넷 전화"라 함) 단말기(10, 10') 및 인터넷 프로토콜을 사용하는 인터넷망(네트웍)(30)으로 구성되어 있으며, 상기 인터넷 전화와 네트워크를 연결해 주기 위한 라우터(20,20')로 구성되어 있다.As shown in the figure, the Internet telephone system to which the present invention is applied uses an Internet telephone (VoIP) terminal (hereinafter simply referred to as "Internet telephone") to which an AMR voice codec is applied, and an Internet protocol. It consists of an internet network (network) 30, and consists of a router (20, 20 ') for connecting the Internet phone and the network.

즉, 본 발명은 AMR 음성코덱을 적용한 단말기(10,10')를 이용하는 한편, 트래픽 변동에 따른 인터넷망(30)의 채널 상태를 모니터링 할 수 있도록 정의된 파라미터를 이용해 인터넷망(30)의 상태를 모니터링하여, 그에 따른 음성코덱의 모드를 결정하여 인터넷 전화의 통화 품질을 개선할 수 있는 방법을 제안하고자 한다.That is, the present invention uses the terminal (10, 10 ') to which the AMR voice codec is applied, while the state of the Internet network 30 using a parameter defined to monitor the channel state of the Internet network 30 according to the traffic change We will propose a method that can improve the call quality of the Internet phone by monitoring and determining the mode of the voice codec accordingly.

도 3 은 본 발명에 적용되는 AMR 음성코덱을 적용한 인터넷 전화(VoIP) 단말기의 일실시예 구성도이며, 도 4 는 본 발명에 적용되는 Jiti파라미터를 이용한 코덱 모드 할당 방법의 일예시도이고, 도 5 는 본 발명에 적용되는 적응적 코덱 모드 할당 알고리즘의 일예시도이다.3 is a configuration diagram of an embodiment of an Internet telephony (VoIP) terminal to which an AMR voice codec applied to the present invention is applied, and FIG. 4 is an example of a codec mode allocation method using Jit i parameters applied to the present invention. 5 is an exemplary diagram of an adaptive codec mode allocation algorithm applied to the present invention.

즉, 도 3 에 도시된 인터넷 전화 단말기는 도 1b 에 도시된 인터넷 전화 단말기와 그 구조에 있어서는 동일하지만, 기존의 인터넷 전화 단말기에서 사용하고 있던 음성코덱외에 AMR 음성코덱을 추가적으로 사용하고 있다는 특징이 있으며, 이로 인해 시스템 제어부의 기능이 기존의 단말기와 상이함을 알 수 있다.That is, the Internet phone terminal shown in FIG. 3 is identical in structure to the Internet phone terminal shown in FIG. 1B, but has an additional feature of using an AMR voice codec in addition to the voice codec used in the existing Internet phone terminal. Therefore, it can be seen that the function of the system controller is different from the existing terminal.

한편, 패킷 손실, 지터, 그리고 전송지연과 같이 VoIP 시스템의 음질에 영향을 주는 주요 파라미터들은 네트웍 대역폭이 부족하기 때문인데, 주로 패킷망의 각 전송 노드에서 큐잉(Queuing)이나 라우팅(Routing) 과정을 거치면서 발생하게 된다. 이때, 아주 나쁜 네트웍 상태에서도 양호한 QoS(Quality of Service)를 보장하기 위해서는 네트웍 상태에 따라서 전송되는 패킷의 크기를 조절해주는 게 바람직하며, 패킷의 크기를 조절한다는 것은 음성코덱의 전송율을 패킷단위로 변화시키는 것을 의미하는데, 채널 상태에 따라 패킷 크기를 적응적으로 조절함으로써 패킷 손실을 줄이고 음질을 향상시킬 수 있다.On the other hand, the main parameters affecting the voice quality of VoIP systems such as packet loss, jitter, and transmission delay are due to the lack of network bandwidth, mainly through queuing or routing at each transport node in the packet network. Will occur. In this case, in order to ensure good quality of service (QoS) even in a bad network state, it is desirable to adjust the size of a transmitted packet according to the network state. Adjusting the size of a packet changes the transmission rate of a voice codec in units of packets. By adaptively adjusting the packet size according to the channel condition, it is possible to reduce packet loss and improve sound quality.

현재 VoIP시스템을 위한 H.323 프로토콜에서 지원하고 있는 음성코덱들은 G.711(PCM), G.723.1(MP-MLQ ACELP), G.729(CS-ACELP), GSM-FR 등이 있으며, 상기한 바와 같이 이러한 음성코덱들은 고정된 전송율을 가지고 있어서 매우 급격하게 변하는 채널 상태에 적응할 수 없다는 단점을 가지고 있다.Voice codecs currently supported by the H.323 protocol for VoIP systems include G.711 (PCM), G.723.1 (MP-MLQ ACELP), G.729 (CS-ACELP), and GSM-FR. As described above, these voice codecs have a fixed transmission rate and thus cannot adapt to a rapidly changing channel condition.

반면에, AMR 음성코덱은 매 분석 프레임마다 12.2 kbits/s에서 4.75 kbits/s까지 전송율을 변화시킬 수 있는 가변 전송율을 갖는 음성코덱이다. 그리고, AMR 음성코덱이 IMT-2000을 위한 표준안으로 채택되었기 때문에, IMT-2000 무선 네트웍과 IP 네트웍의 음성 트래픽의 연동이 필요할 경우, 두 네트웍 사이에 존재하는 게이트웨이에서 수행되는 transcoding 과정을 제거할 수 있다. 이것은 전체 전송지연과 교환망에서의 복잡도를 감소시키게 되므로, 전반적인 음질을 향상시킬 수 있게 된다. 따라서, 본 발명에서는 도 3 과 같이 AMR 음성코덱을 적용한 새로운 VoIP 단말기를 이용하고자 한다.AMR voice codecs, on the other hand, are voice codecs with variable rates that can vary from 12.2 kbits / s to 4.75 kbits / s in every analysis frame. Since the AMR voice codec is adopted as a standard for IMT-2000, when the IMT-2000 wireless network and the IP network's voice traffic are required to be interworked, the transcoding process performed at the gateway between the two networks can be eliminated. have. This reduces overall transmission delay and complexity in the switching network, thus improving overall sound quality. Accordingly, the present invention intends to use a new VoIP terminal to which the AMR voice codec is applied as shown in FIG.

한편, 패킷 단위로 AMR 음성코덱의 여덟 가지 코덱 모드 중에서 하나를 선택하기 위해서는 채널 상태가 추정되어야 하는데, 이를 위해서는 RTP 헤더에 포함되어 있는 timestamp 정보를 이용한다.Meanwhile, in order to select one of eight codec modes of an AMR voice codec on a packet basis, a channel state must be estimated. For this, timestamp information included in an RTP header is used.

또한, VoIP 시스템에 적용할 AMR 음성코덱의 전송율을 결정하기 위해, 채널 상태를 모니터링 하는 측정 파라미터로는 아래의 [수학식 1]에 정의된 지터 파라미터를 사용한다.In addition, to determine the transmission rate of the AMR voice codec to be applied to the VoIP system, the jitter parameter defined in Equation 1 below is used as a measurement parameter for monitoring channel conditions.

Jiti= | ( Ri- Si) - ( Ri-1- Si-1) |Jit i = | (R i -S i )-(R i-1 -S i-1 ) |

이때, Ri와 Si는 각각 i번째 패킷의 수신측 도착시간과 RTP 헤더에 포함되어 있는 Timestamp를 나타내며, 수신측에서 [수학식 1]을 계산함으로써, 패킷 데이터의 interarrival 지터, 즉, 채널 상태를 추정할 수 있다.In this case, R i and S i represent the arrival time of the i-th packet and the timestamp included in the RTP header, respectively, and by calculating [Equation 1] at the receiving side, interarrival jitter of the packet data, that is, channel state Can be estimated.

수신측 디지터(de-jitter) 버퍼 크기의 초기값을 40 msec로 설정한다고 할 때, Jit_i의 범위를 [표 2]에 나타낸 것처럼 선형적으로 8 개의 상태로 나눌 수 있다. [수학식 1]에 의해 계산된 수신 패킷의 interarrival jitter와 [표 2]를 이용하여 전송되는 패킷의 AMR 코덱 모드를 할당한다.Assuming that the initial value of the de-jitter buffer size is set to 40 msec, the range of Jit_i can be linearly divided into eight states as shown in [Table 2]. The interarrival jitter of the received packet calculated by [Equation 1] and the AMR codec mode of the transmitted packet are allocated using [Table 2].

이러한 과정들은 매 전송 패킷마다 수행된다. 예를 들어, Jiti가 4 msec일 경우, 전송되는 패킷은 12.2 kbits/s의 AMR 코덱 모드가 할당되고, Jiti가 14 msec일 경우에는 7.95 kbits/s가 할당되어 전송되게 되며 이러한 음성코덱 모드 할당에 대한 과정이 도 4 에 나타나 있다. 한편, 아래의 [표 2]는 AMR 음성코덱 모드 할당을 위한 초기 상태를 나타낸 것이다.These processes are performed for every transport packet. For example, when Jit i is 4 msec, the transmitted packet is assigned an AMR codec mode of 12.2 kbits / s, and when Jit i is 14 msec, 7.95 kbits / s is allocated and transmitted. The process for allocation is shown in FIG. Meanwhile, Table 2 below shows an initial state for AMR voice codec mode allocation.

Range of Jiti(msec)Range of Jit i (msec) AMR 코덱 모드AMR codec mode 0(range[1]) < Jiti< 5(range[2])0 (range [1]) <Jit i <5 (range [2]) 12.2 kbits/s12.2 kbits / s 5(range[2]) < Jiti< 10(range[3])5 (range [2]) <Jit i <10 (range [3]) 10.2 kbits/s10.2 kbits / s 10(range[3]) < Jiti< 15(range[4])10 (range [3]) <Jit i <15 (range [4]) 7.95 kbits/s7.95 kbits / s 15(range[4]) < Jiti< 20(range[5])15 (range [4]) <Jit i <20 (range [5]) 7.40 kbits/s7.40 kbits / s 20(range[5]) < Jiti< 25(range[6])20 (range [5]) <Jit i <25 (range [6]) 6.70 kbits/s6.70 kbits / s 25(range[6]) < Jiti< 30(range[7])25 (range [6]) <Jit i <30 (range [7]) 5.90 kbits/s5.90 kbits / s 30(range[7]) < Jiti< 40(range[8])30 (range [7]) <Jit i <40 (range [8]) 5.15 kbits/s5.15 kbits / s 40(range[8]) < Jiti 40 (range [8]) <Jit i 4.75 kbits/s4.75 kbits / s

즉, 상기에서 설명된 음성 코덱 모드 할당 방법과 같이, [표 2]에 주어진 것처럼 고정된 Jiti상태 범위를 가지는 음성 코덱 모드 할당 방법을 적용한 VoIP 시스템을 "AMR_1"이라고 정의하며, 그 구현 방법은 도 6a 에 도시된 흐름도를 참조하여 설명하겠다.That is, like the voice codec mode allocation method described above, a VoIP system to which a voice codec mode allocation method having a fixed Jit i state range is defined as "AMR_1" as given in [Table 2]. This will be described with reference to the flowchart shown in FIG. 6A.

이때, [표 2]의 코덱 모드 할당을 위한 각 상태의 Jiti범위가 고정되어 있다면, 좋지 않은 채널 상태가 오랫동안 지속될 경우에는 패킷 손실이 증가할 수 있다. 또한, 네트웍 상태가 매우 좋을 경우에는 할당된 코덱 모드들이 높은 전송율 주변에만 몰림으로써 네트웍의 부하를 가중시킬 수 있기도 하다.At this time, if the Jit i range of each state for the codec mode allocation shown in [Table 2] is fixed, packet loss may increase when a bad channel state lasts for a long time. In addition, when the network conditions are very good, the allocated codec modes can be concentrated around the high data rate, which can increase the load on the network.

이러한 경우들을 고려하기 위해서는 각 상태의 Jiti범위를 네트웍 상태에 따라 적응적으로 변화시키는 것이 장기적인 관점에서 타당하다고 할 수 있다. 이를 위해 본 발명에서는 채널 상태에 보다 더 효율적으로 적응하기 위해서 VoIP에 AMR 음성코덱를 적용하기 위한 적응적 코덱 모드 할당 방법을 제안한다.In order to consider these cases, it is reasonable in the long term to adaptively change the Jit i range of each state according to the network state. To this end, the present invention proposes an adaptive codec mode allocation method for applying an AMR voice codec to VoIP in order to more efficiently adapt to channel conditions.

즉, 장기적인 관점에서 채널 상태들을 모니터링하기 위해서, 두 개의 파라미터들을 사용한다.That is, to monitor channel conditions in the long term, two parameters are used.

먼저, 매 5초마다 전송되는 RTCP 패킷의 헤더에 포함되어 있는 "cumulativenumber of packets lost(이하, 간단히 "CumLoss"라 함)" 파라미터를 사용하고, 또한, RTCP가 전송되는 주기동안 할당된 코덱 모드들의 분포 특성을 파라미터로 활용한다.First, use the "cumulativenumber of packets lost" parameter included in the header of the RTCP packet transmitted every 5 seconds, and also use the codec modes assigned during the period in which the RTCP is transmitted. Use distribution characteristics as parameters.

이때, 상기한 파라미터들을 활용하여 각 상태의 Jiti범위를 네트웍 상태에 따라 적응적으로 변화시키므로써, 본 발명에 따른 가변 전송율을 갖는 음성코덱을 적용한 인터넷 전화시스템에서의 음성코덱 모드 할당 방법을 구현하는 방법에는 두가지가 있다. 즉, 제안된 방법은 각각 "역방향 채널 상태 모니터링 방식(AMR_2)"과 "순방향 채널 상태 모니터링 방식(AMR_3)"으로 명명하였으며, AMR 음성 코덱을 적용하기 위해 제안된 적응적 코덱 모드 할당 알고리즘은 도 5 에 도시하였다. 한편, 상기 두가지 방법에 대하여는 도 6b 및 도 6c 를 참조하여 상세히 설명하겠다.In this case, by using the parameters described above, the Jit i range of each state is adaptively changed according to the network state, thereby implementing a voice codec mode allocation method in an Internet telephone system to which a voice codec having a variable bit rate according to the present invention is applied. There are two ways to do this. That is, the proposed method is named "reverse channel state monitoring method (AMR_2)" and "forward channel state monitoring method (AMR_3)", respectively. The proposed codec mode allocation algorithm proposed to apply the AMR voice codec is shown in FIG. Shown in Meanwhile, the two methods will be described in detail with reference to FIGS. 6B and 6C.

먼저, 이하에서는 각 상태의 Jiti범위(이하, 간단히 "상태범위"라 함)를 수정하는 구체적인 방법 및 상태범위를 수정함으로써 생기는 이점에 대하여 설명하도록 하겠다.First, the following describes a specific method of modifying the Jit i range (hereinafter, simply referred to as "state range") of each state and the advantages resulting from modifying the state range.

상태범위를 수정하는 구체적인 방법은 다음과 같다.The specific method to modify the status range is as follows.

즉, 5초동안 손실되는 패킷의 개수를 RTCP 헤더 정보로부터 추출해서 CumLoss를 구한다. 만약에 현재 측정된 CumLoss가 이전에 측정된 CumLoss 보다 크다면 분명하게 채널의 상태가 나빠졌다고 생각할 수 있으며, 이를 기반으로 음성코덱 모드를 결정하는데 사용된 [표 2]의 range값들을 조정하는 것이다. 음성코덱 모드를 결정하기 위해서는 여덟 가지의 range 값이 필요한데, 각각의 range 값들을CumLoss 비교 결과를 참조해서 2만큼씩 증가시키거나 감소시킨다. 상기 과정을 구현하기 위한 알고리즘은 아래의 [표 3]과 같다.That is, CumLoss is obtained by extracting the number of packets lost for 5 seconds from the RTCP header information. If the currently measured CumLoss is larger than the previously measured CumLoss, you can clearly think that the channel is in a bad state, and adjust the range values in [Table 2] used to determine the voice codec mode based on this. Eight range values are needed to determine the voice codec mode, and each range value is increased or decreased by 2 with reference to the CumLoss comparison result. Algorithms for implementing the above process are shown in Table 3 below.

FOR i = 1 to 8IF CumLossj> CumLossj-1range[i] += stepELSE IF CumLossj< CumLossj-1range[i] -= stepENDwhere, step = 2CumLoss: Cumulative number of lost packetsj: count of RTCP packetFOR i = 1 to 8IF CumLoss j > CumLoss j-1 range [i] + = step ELSE IF CumLoss j <CumLoss j-1 range [i]-= stepENDwhere, step = 2 Cumuls: Cumulative number of lost packets j: count of RTCP packets

range를 변경하기 위한 두 번째 방법으로는 동일한 5초 동안에 사용된 코덱 모드 분포를 참조한다. 즉, 5초 동안에 여덟 가지의 모드가 각각 몇 번씩 할당되었는가를 분석해 보고, 그 중 가장 많이 할당된 모드(M)를 찾는다. 그 값은 1(원래 가장 높은 비트율을 갖는 모드의 번호 -12.2) ~ 8(원래 가장 낮은 비트율을 갖는 모드의 번호 -4.75) 중의 값이 될 것이고, 코덱 모드를 결정하는데 필요한 낮은 쪽 범위 값과 비교를 해서 range를 변경하게 된다. 상기 과정을 구현하기 위한 알고리즘은 아래의 [표 4]와 같다.The second way to change the range is to refer to the codec mode distribution used during the same five seconds. In other words, it analyzes how many eight modes are allocated in 5 seconds and finds the most allocated mode (M). The value will be a value between 1 (original number mode with the highest bit rate -12.2) to 8 (original number mode with the lowest bit rate -4.75) and compared with the lower range value needed to determine the codec mode. To change the range. An algorithm for implementing the above process is shown in Table 4 below.

Calculate MmaxFOR k = 1 to 8IF k> Mmaxrange[k] -= stepELSE IF k< Mmaxrange[k] += stepENDMmax: the codec mode which have been assignedmost frequently during a RTCP intervalk: number assigned to each codec mode, k = 1(12.2kbps) ~ k = 8(4.75kbps)Calculate M max FOR k = 1 to 8IF k> M max range [k]-= step ELSE IF k <M max range [k] + = stepENDM max : the codec mode which have been assignedmost frequently during a RTCP intervalk: number assigned to each codec mode, k = 1 (12.2 kbps) to k = 8 (4.75 kbps)

한편, 상태범위를 수정하므로써 생기는 이점은 다음과 같다.On the other hand, the benefits of modifying the state range are as follows.

비트율을 결정할 때, 고정된 범위값을 이용한다면, 초기의 최대 범위값인 40 ms 보다 큰 지터값에서는 영원히 4.75 kbps 모드만 할당될 것이다. 즉, 본 연구의 목적이 가변적인 채널 상태에 따라서 음성부호화기의 비트율도 조정하자는 것인데, 고정 범위값을 사용할 경우 잘못하면 원래의 연구 목적에 벗어나는 결과를 얻게 될 수도 있을 것이다. 예를 들어, 아래의 [표 5]와 같은 그림을 생각할 수 있다.When determining the bit rate, if you use a fixed range value, only 4.75 kbps mode will be assigned forever at jitter values larger than the initial maximum range value of 40 ms. In other words, the purpose of this study is to adjust the bit rate of the voice encoder according to the variable channel condition. If the fixed range value is used, it may be wrong to get the original research purpose. For example, consider a picture like Table 5 below.

즉, 극단적으로 지터값이 50에서 110 사이의 값을 갖는다고 가정해 보면, 초기의 고정된 range를 이용하는 방식으로는 채널의 변화 특성(50 ~ 110 사이로 지터가 변하는 경우)에 상관없이 고정된 비트율(4.75)이 할당되겠지만, 채널 상태에 의존적으로 range 값을 바꿔주면 초기값에 비해 큰 범위에서도 여덟 가지 비트율을 골고루 잘 할당할 수 있으므로, 채널의 상태가 많이 변화하는 상황에서도 비트율을 적응적으로 잘 쓸 수 있는 이점이 생기는 것이다.In other words, assuming that the jitter value is in the range of 50 to 110, the fixed bit rate is used regardless of the channel change characteristic (when the jitter varies between 50 and 110) using the initial fixed range. (4.75) will be assigned, but if the range value is changed depending on the channel state, eight bit rates can be allocated evenly over a larger range than the initial value. There is an advantage to use.

도 6a 는 본 발명에 따른 가변 전송율을 갖는 음성코덱을 적용한 인터넷 전화시스템에서의 음성코덱 모드 할당 방법의 일실시예 흐름도로서, 고정된 Jiti상태 범위를 가지는 음성 코덱 모드를 이용한 방법이다.FIG. 6A is a flowchart illustrating a method for allocating a voice codec mode in an Internet telephony system to which a voice codec having a variable data rate is applied according to the present invention, and using a voice codec mode having a fixed Jit i state range.

먼저, 수신측의 인터넷 전화 단말기(이하, 간단히 "수신 단말기"라 함)(10')는, 인터넷망을 통해 발신측의 인터넷 전화 단말기(이하, 간단히 "발신 단말기"라 함)(10)로부터 전송된 i번째 패킷을 수신하게 된다(602).First, an Internet telephone terminal (hereinafter referred to simply as a "receiver terminal") 10 'on the receiving side is connected to an Internet telephone terminal (hereinafter simply referred to as a "calling terminal") 10 on the calling side through the Internet network. The i-th transmitted packet is received (602).

수신 단말기(10')의 제어부에서는 수신된 패킷을 통해 채널의 상태를 추정하기 위해 상기에서 설명한 바와 같이 Jiti값을 계산하게 된다(604).The controller of the receiving terminal 10 ′ calculates a Jit i value as described above in order to estimate the state of the channel through the received packet (604).

[표 2]에 도시된 AMR 코덱 모드 중에서 상기 계산된 Jiti값에 해당하는 음성코덱 모드를 선택한다(606).A voice codec mode corresponding to the calculated Jit i value is selected from the AMR codec modes shown in [Table 2] (606).

선택된 음성코덱 모드를 이용하여 수신 단말기(10')는 송신측 단말기(10)로 패킷을 전송하게 된다(608).Using the selected voice codec mode, the receiving terminal 10 'transmits a packet to the transmitting terminal 10 (608).

도 6b 는 본 발명에 따른 가변 전송율을 갖는 음성코덱을 적용한 인터넷 전화시스템에서의 음성코덱 모드 할당 방법의 일실시예 흐름도로서, 역방향 채널 상태 모니터링 방식을 이용한 음성코덱 모드 할당 방법을 나타내고 있다. 이때, 역방향 채널 상태 모니터링 방법은 수신측에서 채널 상태를 모니터링 하여 음성코덱 모드를 적응적으로 할당하는 방법이다.FIG. 6B is a flowchart illustrating a method for allocating a voice codec mode in an Internet telephony system to which a voice codec having a variable bit rate according to the present invention is applied and shows a method for allocating a voice codec mode using a reverse channel state monitoring method. In this case, the reverse channel state monitoring method is a method of adaptively allocating a voice codec mode by monitoring the channel state at the receiving side.

먼저, 수신 단말기(10')는, 인터넷망을 통해 발신 단말기(10)로부터 전송된 i번째 패킷을 수신하게 된다(642).First, the receiving terminal 10 'receives the i th packet transmitted from the calling terminal 10 through the Internet network (642).

수신 단말기(10')의 제어부에서는 수신된 패킷에서의 각 파라미터(Jiti, CumLoss)를 이용하여 [표 2]에 도시된 코덱모드의 각 상태 범위를 조절하므로써, 전체적으로 코덱모드 테이블을 변경한다(644).The control unit of the receiving terminal 10 'changes the codec mode table as a whole by adjusting each state range of the codec modes shown in [Table 2] using each parameter (Jit i , CumLoss) in the received packet ( 644).

즉, 매 5초 마다 전송되는 RTCP 패킷의 헤더내에 있는 'cumulative number of packets lost(CumLoss)' 파라미터는 통화가 시작된 이후로 송신측으로부터 전송된 RTP 데이터 패킷중에 손실된 총 패킷수를 나타내는데, 매 RTCP 패킷 간격마다 수신된 CumLoss 파라미터에 따라 [표 2]에 주어진 코덱 모드의 각 상태의 범위를 조절한다.That is, the 'cumulative number of packets lost (CumLoss)' parameter in the header of the RTCP packet transmitted every 5 seconds indicates the total number of packets lost in the RTP data packets transmitted from the sender since the call started. Adjust the range of each state of the codec mode given in Table 2 according to the CumLoss parameter received at each packet interval.

만약, 현재 RTCP 패킷의 CumLoss 파라미터의 값이 바로 이전 RTCP 패킷의 값보다 높다면, 장기적인 관점에서 볼 때 채널 상태가 나쁜 것으로 간주하여 각 코덱 모드의 상태 범위를 각각 증가시킨다. 반대의 경우에는 채널 상태가 좋은 것으로 추정하여 각 상태 범위를 감소시킨다.If the value of the CumLoss parameter of the current RTCP packet is higher than the value of the previous RTCP packet, the channel state is regarded as bad in the long term and the status range of each codec mode is increased. In the opposite case, it is assumed that the channel state is good and the respective state range is reduced.

할당된 코덱 모드의 분포 특성은 AMR 코덱 모드가 가장 높은 코덱 모드나 가장 낮은 코덱 모드 쪽으로 몰리는 것을 방지하기 위하여 사용된다. 이를 위하여, 하나의 RTCP 패킷 간격동안 가장 많이 할당된 코덱 모드, Mmax를 정의하고, 이 코덱 모드를 기준으로 이 보다 낮은 코덱 모드의 상태 범위는 step 간격 만큼 각각 증가시키고, 이 보다 높은 코덱 모드의 상태 범위는 step 간격 만큼 각각 감소시킴으로써 할당되는 코덱 모드들의 분포가 전 코덱 모드로 골고루 퍼질 수 있도록 유도한다.The distribution characteristic of the assigned codec mode is used to prevent the AMR codec mode from rushing toward the highest or lowest codec mode. To this end, we define the codec mode, Mmax, which is the most allocated during one RTCP packet interval, and based on this codec mode, the status range of the lower codec mode is increased by the step interval, and the status of the higher codec mode is increased. The range is reduced by each step interval so that the distribution of assigned codec modes can be spread evenly across all codec modes.

상기 과정(644)를 통해 변경된 AMR 코덱 모드 테이블 중에서 수신된 패킷을 통해 계산된 Jiti값에 해당하는 음성코덱 모드를 선택한다(646).In operation 644, the voice codec mode corresponding to the Jit i value calculated through the received packet is selected from the AMR codec mode table changed in operation 646.

선택된 음성코덱 모드를 이용하여 수신 단말기(10')는 송신측 단말기(10)로 패킷을 전송하게 된다(648).Using the selected voice codec mode, the receiving terminal 10 'transmits a packet to the transmitting terminal 10 (648).

이하에서는, 구체적인 예를 들어 상기 역방향 채널 상태 모니터링 방식을 이용한 음성코덱 모드 할당 방법을 설명하겠다. 이때, 현재의 CumLoss 파라미터의 값이 이전의 값보다 크며, 수신된 Jiti가 17이라고 가정한 경우를 예로하여 설명하겠다.Hereinafter, a voice codec mode allocation method using the reverse channel state monitoring method will be described as a specific example. In this case, it is assumed that the value of the current CumLoss parameter is larger than the previous value and the received Jit i is 17, for example.

즉, 수신된 패킷을 통해 확인된 ComLoss가 증가했다는 것은 채널의 상태가 더 나빠졌다는 것을 의미하므로, 아래의 [표 6]과 같이 음성코덱의 상태범위를 변경하게 되는 것이다(642, 644). 이때, 변경전의 상태범위 값들은 [표 2]에 도시된 초기값들과 동일하다고 가정하였다.That is, the increase in the ComLoss confirmed through the received packet means that the state of the channel is worse, and thus the state range of the voice codec is changed as shown in Table 6 below (642 and 644). At this time, it is assumed that the state range values before the change are the same as the initial values shown in [Table 2].

변 경 전Before change 변 경 후after change AMR 코덱모드AMR codec mode 0(range[1]) < Jiti< 5(range[2])0 (range [1]) <Jit i <5 (range [2]) 2(range[1])<Jiti<7(range[2])2 (range [1]) <Jit i <7 (range [2]) 12.2 kbits/s12.2 kbits / s 5(range[2]) < Jiti< 10(range[3])5 (range [2]) <Jit i <10 (range [3]) 7(range[2])<Jiti<12(range[3])7 (range [2]) <Jiti <12 (range [3]) 10.2 kbits/s10.2 kbits / s 10(range[3]) < Jiti< 15(range[4])10 (range [3]) <Jit i <15 (range [4]) 12(range[3])<Jiti<17(range[4])12 (range [3]) <Jit i <17 (range [4]) 7.95 kbits/s7.95 kbits / s 15(range[4]) < Jiti< 20(range[5])15 (range [4]) <Jit i <20 (range [5]) 17(range[4])<Jiti<22(range[5])17 (range [4]) <Jit i <22 (range [5]) 7.40 kbits/s7.40 kbits / s 20(range[5]) < Jiti< 25(range[6])20 (range [5]) <Jit i <25 (range [6]) 20(range[5])<Jiti<25(range[6])20 (range [5]) <Jit i <25 (range [6]) 6.70 kbits/s6.70 kbits / s 25(range[6]) < Jiti< 30(range[7])25 (range [6]) <Jit i <30 (range [7]) 27(range[6])<Jiti<32(range[7])27 (range [6]) <Jit i <32 (range [7]) 5.90 kbits/s5.90 kbits / s 30(range[7]) < Jiti< 40(range[8])30 (range [7]) <Jit i <40 (range [8]) 32(range[7])<Jiti<42(range[8])32 (range [7]) <Jit i <42 (range [8]) 5.15 kbits/s5.15 kbits / s 40(range[8]) < Jiti 40 (range [8]) <Jit i 42(range[8])<Jiti 42 (range [8]) <Jit i 4.75 kbits/s4.75 kbits / s

또한, 수신된 Jiti값이 17이라고 하였으므로, 수신 단말기(10')는 [표 6]의 변경된 음성코덱 모드 테이블에서 7.40kbits/s 의 음성코덱 모드를 선택하여(646) 송신 단말기(10)로 패킷을 전송하게 되는 것이다.In addition, since the received Jit i value is 17, the receiving terminal 10 'selects a voice codec mode of 7.40 kbits / s from the changed voice codec mode table of Table 6 to the transmitting terminal 10 (646). The packet will be sent.

한편, 실제적으로 [수학식 1]에 의해 추정된 채널 상태는 송신측에서 수신측으로 전송된 데이터의 품질을 나타내고 있으며, 송신측 관점에서의 채널 상태를 추정한 값이라고 할 수 있다. 즉, 순방향 전송경로와 역방향 전송경로의 채널 상태가 서로 유사하다는 가정 아래에서 위와 같이 추정된 채널 상태 정보를 수신측에서 전송되는 패킷의 코덱 모드를 정의하는데 사용하였다. 따라서 이를 역방향 채널 상태 모니터링 방법이라고 정의하였다.On the other hand, the channel state estimated by Equation (1) actually represents the quality of data transmitted from the transmitting side to the receiving side, and it can be said that the channel state is estimated from the transmitting side perspective. That is, under the assumption that the channel states of the forward transmission path and the reverse transmission path are similar to each other, the estimated channel state information is used to define the codec mode of the packet transmitted from the receiving side. Therefore, this is defined as a reverse channel state monitoring method.

도 6c 는 본 발명에 따른 가변 전송율을 갖는 음성코덱을 적용한 인터넷 전화시스템에서의 음성코덱 모드 할당 방법의 일실시예 흐름도로서, 순방향 채널 상태 모니터링 방식을 이용한 음성코덱 모드 할당 방법의 일실시예 흐름도이다. 이때, 순방향 채널 상태 모니터링 방법은, 송신측에서 수신측으로의 채널 상태에 따라 수신측 단말기에서 음성 코덱 모드를 적응적으로 할당한 후, 할당된 음성 코덱 모드 정보를 송신측으로 재전송하여 송신측에서 또 다른 음성 데이터를 전송하는경우에 상기 할당된 음성 코덱 모드를 통해 전송할 수 있도록 하는 방법으로서, 순방향과 역방향 경로의 채널 상태가 서로 유사하다는 가정이 성립되지 않는 경우에 이용될 수 있다.FIG. 6C is a flowchart illustrating a method for allocating a voice codec mode in an Internet telephony system to which a voice codec having a variable bit rate is applied according to the present invention. FIG. . At this time, in the forward channel state monitoring method, the receiving terminal adaptively allocates the voice codec mode according to the channel state from the transmitting side to the receiving side, and then retransmits the allocated voice codec mode information to the transmitting side to perform another transmission side. In the case of transmitting voice data, the method can be transmitted through the assigned voice codec mode, and can be used when the assumption that the channel states of the forward and reverse paths are similar to each other is not established.

즉, 순방향과 역방향 경로의 채널 상태가 서로 유사하다는 가정이 성립되지 않을 경우, 수신측에서 [수학식 1]에 의해 구해진 지터 정보는 송신측 단말기에서 전송되는 패킷의 코덱 모드를 결정할 때 사용되는 것이 훨씬 더 합당하다고 할 수 있다.That is, when the assumption that the channel states of the forward and reverse paths are similar to each other does not hold, the jitter information obtained by Equation 1 at the receiving end is used to determine the codec mode of the packet transmitted at the transmitting terminal. It is much more reasonable.

이를 위해, 수신측에서 구해진 지터 정보를 송신측으로 되돌려주는 방법이 강구되어야 하며, 이때, 지터 정보 자체를 되돌려주는 것보다 송신측에서 다음 패킷을 전송할 때 사용할 코덱 모드를 결정해서 보내주는 것이 훨씬 유리하다.To this end, a method of returning the jitter information obtained from the receiving side to the transmitting side should be devised. In this case, it is much more advantageous to determine and send the codec mode to be used when transmitting the next packet rather than returning the jitter information itself. .

다시말해서, 수신측에서 구해진 채널 상태, 즉 지터 정보를 이용한 코덱 모드는 순방향 채널 상태 모니터링 방법에 의해 송신측으로 되돌려지고, 송신측에서는 이 값을 다음에 전송할 패킷의 코덱 모드로 활용하게 된다. 따라서, 송신측에서 수신측으로의 채널 상태에 따라 수신측에서 할당된 코덱 모드 정보를 송신측으로 되돌려주기 위해서 RTP 헤더에 포함된 'payloadtype' 파라미터를 사용하였다.In other words, the channel state obtained from the receiving side, that is, the codec mode using jitter information is returned to the transmitting side by the forward channel state monitoring method, and the transmitting side utilizes this value as the codec mode of the next packet to be transmitted. Therefore, the 'payloadtype' parameter included in the RTP header is used to return the codec mode information allocated by the receiver to the transmitter according to the channel state from the transmitter to the receiver.

먼저, 수신 단말기(10')는, 인터넷망을 통해 발신 단말기(10)로부터 전송된 i번째 패킷을 수신하게 된다(662).First, the receiving terminal 10 ′ receives the i th packet transmitted from the calling terminal 10 through the Internet network (662).

수신 단말기(10')의 제어부에서는 수신된 패킷에서의 각 파라미터(Jiti, CumLoss)를 이용하여 [표 2]에 도시된 코덱모드의 각 상태 범위를 조절하므로써, 전체적으로 코덱모드 테이블을 [표 6]과 같이 변경하며(664), 변경된 코덱모드 테이블 중에서 수신된 패킷을 통해 계산된 Jiti 값에 해당하는 음성코덱 모드를 선택한 후(666), 선택된 음성코덱 모드를 이용하여 수신 단말기(10')는 송신측 단말기(10)로 패킷을 전송하게 된다(668).The control unit of the receiving terminal 10 'adjusts each state range of the codec mode shown in [Table 2] by using each parameter (Jiti, CumLoss) in the received packet, thereby making the overall codec mode table [Table 6]. In operation 664, the voice codec mode corresponding to the Jiti value calculated through the received packet is selected from the changed codec mode table (666), and then the receiving terminal 10 'transmits using the selected voice codec mode. The packet is transmitted to the side terminal 10 (668).

이때, 상기 과정들(662 내지 668) 까지는 도 6b 에서 설명한 순방향 채널상태 모니터링 방식과 동일하다고 할 수 있으며, 역방향 채널상태 모니터링 방식에서는 수신 단말기(10')가 선택된 음성코덱 모드를 이용하여 송신측 단말기(10)로 패킷을 전송할 때, 상기 선택된 음성코덱 모드에 대한 정보를 전송 패킷에 실어 함께 전송하는 과정을 더 포함하게 되는 것이다(670).In this case, the processes 662 to 668 may be the same as the forward channel state monitoring method described with reference to FIG. 6B. In the reverse channel state monitoring method, the receiving terminal 10 ′ uses the selected voice codec mode. When the packet is transmitted to (10), the method further includes the step of transmitting information on the selected voice codec mode in a transport packet and transmitting the packet together (670).

한편, 본 발명에서는 할당된 음성코덱 모드를 송신측으로 되돌려주기 위해, 아직 사용하지 않는 'payloadtype' 파라미터 중에서 35에서 42 번까지를 활용하였으며 각 모드에서 사용하는 payloadtype 할당 테이블을 [표 7]에 나타내었다. 이때, [표 7]에 도시된 payloadtype 번호는, 실제 패킷 통신에 있어서 패킷의 형성시 어떤 종류의 오디오 코덱이 사용되었는가에 대한 헤더 정보를 말하는 것이다.Meanwhile, in the present invention, in order to return the assigned voice codec mode to the sender, 35 to 42 of the 'payloadtype' parameters which are not used yet are used, and the payload type allocation table used in each mode is shown in [Table 7]. . In this case, the payloadtype number shown in [Table 7] refers to header information indicating what kind of audio codec was used in packet formation in actual packet communication.

PayloadtypePayloadtype Codec ModeCodec mode 3535 AMR_12.2AMR_12.2 3636 AMR_10.2AMR_10.2 3737 AMR_7.95AMR_7.95 3838 AMR_7.4AMR_7.4 3939 AMR_6.7AMR_6.7 4040 AMR_5.95AMR_5.95 4141 AMR_5.15AMR_5.15 4242 AMR_4.75AMR_4.75

즉, 순방향 채널 상태 모니터링 방식을 이용한 음성코덱 모드 할당 방법은, 자신이 보낼 패킷의 비트율을 어떻게 결정하는가의 문제가 아니라 자신이 분석한지터값을 보고 자신이 받고싶은 비트율을 송신단에 능동적으로 요청하는 방법이다. 따라서, 보낼 비트율과는 상관없이 받고싶은 비트율을 사용되지 않은 payloadtype 번호를 사용하여 요구하는 것으로서, 받고싶은 비트율이 AMR_12.2일 경우 35번을 쓰고, 받고싶은 비트율이 AMR_4.75일 경우 42번을 쓰게되는 것이다.That is, the voice codec mode allocation method using the forward channel state monitoring method is not a matter of how to determine the bit rate of the packet to be sent, but actively requests the transmitter to receive the bit rate that the user wants to receive based on the analyzed jitter value. Way. Therefore, regardless of the bit rate to send, it is required to use the unused payload type number. Will be written.

이하에서는, 구체적인 예를 들어 상기 순방향 채널 상태 모니터링 방식을 이용한 음성코덱 모드 할당 방법을 설명하겠다. 이때, 현재의 CumLoss 파라미터의 값이 이전의 값보다 크며, 수신된 Jit 가 17이라고 가정한 경우를 예로하여 설명하겠다.Hereinafter, a voice codec mode allocation method using the forward channel state monitoring method will be described as a specific example. At this time, assuming that the value of the current CumLoss parameter is larger than the previous value and the received Jit is 17, the example will be described.

이때, 도 6b 에서 설명된 예에서와 마찬가지로, 수신 단말기(10')가 자신이 전송할 패킷의 비트율을 7.4 kbps로 선택하는 것은 동일하고(662 내지 668), 자신이 받고싶은 비트율을 송신 단말기(10)에 능동적으로 요구하게 되는 과정(670)이 추가되게 되는 것이다. 이때, [표 7]에 도시된 바와 같이 payloadtype 38번을 전송하므로써, 수신 단말기(10') 측에서는 자신이 원하는 비트율을 능동적으로 송신 단말기(10)측에 요구하게 된다.In this case, as in the example illustrated in FIG. 6B, the receiving terminal 10 'selects the bit rate of the packet to be transmitted as 7.4 kbps (662 to 668), and transmits the bit rate that the receiving terminal 10 wants to receive. In step 670, the active request is added. At this time, by transmitting payload type 38 as shown in [Table 7], the receiving terminal 10 'side actively requests the transmitting terminal 10 for its desired bit rate.

즉, 송신단에서는 패킷 손실이 없는 좋은 환경에서 패킷을 계속 받고 있다면, 자신이 받는 패킷으로부터의 정보만 알기 때문에 지금 수신단에서는 7.4 kbps의 비트율을 선호하고 있다는 사실을 잘 모르고 12.2 kbps등의 높은 비트율로 패킷을 만들어서 보낼 가능성이 있으므로, 수신단에서 자신이 원하는 비트율을 능동적으로 송신단에 요구하게 되는 것이다.In other words, if the sender keeps receiving packets in a good environment with no packet loss, the receiver only knows the information from the packet it receives, so the receiver does not know that the bit rate of 7.4 kbps is preferred, and the packet has a high bit rate such as 12.2 kbps. Since there is a possibility of sending a packet, the receiving end actively requests the transmitting end for its desired bit rate.

상기한 바와 같이, 역방향 채널 상태 모니터링 방법은, 송신측에서 수신측으로의 채널 상태에 따라 수신측 단말기에서 음성 코덱 모드를 적응적으로 할당하여 해당 음성 코덱 모드를 통해 음성 데이터를 송신측으로 전송하는 방법으로서, 순방향과 역방향 경로의 채널 상태가 서로 유사한 경우에 이용될 수 있다.As described above, the reverse channel state monitoring method is a method in which a receiving terminal adaptively allocates a voice codec mode according to a channel state from a transmitting side to a receiving side and transmits voice data to the transmitting side through the corresponding voice codec mode. This may be used when the channel states of the forward and reverse paths are similar to each other.

한편, 이하에서는 상기한 방법을 적용한 실험 내용을 참고로 하여 설명하겠다.On the other hand, it will be described below with reference to the experimental content applying the above method.

즉, 상기에서 설명한 본 발명에 따른 방법의 성능을 평가하기 위하여 3GPP에서 배포한 AMR 음성코덱을 H.323 프로토콜에 적용하여 VoIP 단말기를 구현한 후 PC에 탑재하였다. 이때, 구현된 VoIP 단말기는 Equivalnce Pty Ltd.에서 일반인들을 위해 공개한 소스를 활용하였으며, PC용 프로그램의 실행 화면은 도 7a 및 도 7b 와 같다. 즉, 도 7a 및 도 7b 는 본 발명을 실험하기 위한 PC 프로그램의 일실시예 실행화면으로서, 도 7a 는 실행화면을 나타낸 것이고 도 7b 는 실행화면 중 특히 오디오 코덱 선택과정의 화면을 나타낸 것이다.That is, in order to evaluate the performance of the method according to the present invention described above, the AMR voice codec distributed by 3GPP was applied to the H.323 protocol to implement a VoIP terminal and then mounted on a PC. In this case, the implemented VoIP terminal utilizes a source open for the public by Equivalnce Pty Ltd., and execution screens of the PC program are as shown in FIGS. 7A and 7B. That is, FIGS. 7A and 7B show an execution screen of an embodiment of a PC program for experimenting with the present invention. FIG. 7A shows an execution screen and FIG. 7B shows a screen of an audio codec selection process among the execution screens.

또한, 제안된 적응적 음성코덱 모드 할당 방법들의 성능을 평가하기 위해서 공중 인터넷 망 환경에서 full-duplex로 여러 번의 음성 전송 실험을 수행하였다. 실험 환경은 도 8 과 같이 서로 다른 두 장소에서 각각의 음성코덱을 적용한 VoIP 단말기를 여러 대의 PC에 탑재한 후, 동시에 전송실험을 수행하였다. 즉, 도 8 은 본 발명에 대하여 인터넷을 통한 음성 전송을 실험하기 위한 실험환경의 일예시도이다.In addition, to evaluate the performance of the proposed adaptive voice codec mode allocation methods, several voice transmission experiments were performed in full-duplex in a public Internet network. In the experimental environment, as shown in FIG. 8, VoIP terminals applied with respective voice codecs in two different places were mounted on several PCs, and then transmission experiments were simultaneously performed. That is, Figure 8 is an example of an experimental environment for experimenting with the voice transmission over the Internet with respect to the present invention.

본 실험에서는 AMR 음성코덱을 적용한 VoIP 시스템과의 성능 비교를 위해 기존의 VoIP 시스템에서 채택하고 있는 여러 개의 음성코덱 중에서 G.723.1과 GSM-FR음성코덱을 사용하였다. 왜냐하면, AMR 음성코덱의 가장 높은 전송률 모드가 GSM-FR의 전송율과 유사하며, G.723.1 음성코덱은 현재 VoIP 시스템에서 가장 널리 사용되고 있는 것이기 때문이다.In this experiment, G.723.1 and GSM-FR voice codec were used among several voice codecs adopted in the existing VoIP system for performance comparison with VoIP system with AMR voice codec. This is because the highest bit rate mode of the AMR voice codec is similar to the bit rate of GSM-FR, and G.723.1 voice codec is one of the most widely used VoIP systems.

다수의 실험 결과에서 제안된 알고리즘의 성능을 평가하기 위해 평균 패킷 손실율과 interarrival jitter, 수신된 음성의 주관적 음질 평가를 수행하였으며, 각각의 결과는 도 9a 내지 도 9f 와 같다. 이때, 도 9a 및 9b 는 첫번째 실험의 평균 패킷 손실 및 평균 지터값을 나타낸 것이고, 도 9c 및 도 9d 는 두번째 실험의 평균 패킷 손실 및 평균 지터값을 나타낸 것이며, 도 9e 및 도 9f 는 세번째 실험의 평균 패킷 손실 및 평균 지터값을 나타낸 것이다.In order to evaluate the performance of the proposed algorithm, the subjective sound quality of the average packet loss rate, the interarrival jitter, and the received voice was evaluated in order to evaluate the performance of the proposed algorithm. The results are shown in FIGS. 9A to 9F. 9A and 9B show average packet loss and average jitter of the first experiment, and FIGS. 9C and 9D show average packet loss and average jitter of the second experiment, and FIGS. 9E and 9F illustrate the third experiment. Average packet loss and average jitter are shown.

즉, 도 9a 내지 도 9f 에 도시된 도표들을 통해 본 발명에 따른 방법을 적용한 시스템이 기존의 오디오 코덱을 사용하는 경우보다 평균 패킷 손실율이 적고, 적은 지터 값을 가지므로 기존의 시스템을 개선한 것으로 볼 수 있다.That is, the system using the method according to the present invention has a lower average packet loss rate and a smaller jitter value than the conventional audio codec through the diagrams shown in FIGS. 9A to 9F. can see.

한편, 본 특허에서 제안하는 개발 기술은, 인터넷 전화 시스템뿐만 아니라 전송 채널의 특성이 고정되지 않는 통신 시스템에도 적용이 가능하다.On the other hand, the development technology proposed in this patent can be applied not only to the Internet telephone system but also to a communication system in which the characteristics of the transmission channel are not fixed.

즉, 이상의 본 발명은 상기에서 기술된 실시예들에 의해 한정되지 않고, 당업자들에 의해 다양한 변형 및 변경을 가져올 수 있으며, 이는 첨부된 청구항에서 정의되는 본 발명의 취지와 범위에 포함된다.That is, the present invention is not limited to the above-described embodiments, and various modifications and changes can be made by those skilled in the art, which are included in the spirit and scope of the present invention as defined in the appended claims.

본 발명은 패킷 통신 환경에서 채널의 특성에 따라 단말기에서 전송되는 패킷의 크기를 적응적으로 조절함으로써, 유동적인 채널 특성의 영향을 적게 받을 수있다는 우수한 효과가 있다.The present invention has an excellent effect of being able to be less affected by fluid channel characteristics by adaptively adjusting the size of a packet transmitted from a terminal according to the characteristics of a channel in a packet communication environment.

따라서, 폭발적으로 증가하고 있는 인터넷 전화시스템에서 적은 비용으로 통화품질을 개선시킬 수 있는 우수한 효과가 있다.Therefore, there is an excellent effect that can improve the call quality at a low cost in the exploding Internet telephone system.

Claims (5)

가변 전송율을 갖는 음성코덱을 적용한 인터넷 전화시스템에서의 음성코덱 모드 할당 방법에 있어서,A voice codec mode allocation method in an internet telephone system using a voice codec having a variable bit rate, 채널 모니터링 파라미터인 지터(Jitter)를 정의하여 상기 파라미터의 범위를 각 단계별로 나누고, 상기 각 단계별로 음성코덱 모드를 할당하며, 수신된 패킷에서 지터값을 계산하는 제 1 단계;A first step of defining jitter, which is a channel monitoring parameter, dividing the range of the parameter into each step, assigning a voice codec mode to each step, and calculating a jitter value in the received packet; 상기 각 단계별로 할당된 음성코덱 모드 중 상기 지터값이 해당되는 단계에 할당된 음성코덱 모드를 선택하는 제 2 단계; 및A second step of selecting a voice codec mode allocated to a step corresponding to the jitter value among the voice codec modes allocated to each step; And 선택된 음성코덱 모드를 이용하여 송신측으로 패킷을 전송하는 제 3 단계A third step of transmitting a packet to a sender using the selected voice codec mode 를 포함하는 가변 전송율을 갖는 음성코덱을 적용한 인터넷 전화시스템에서의 음성코덱 모드 할당 방법.Voice codec mode allocation method in an internet telephone system to which a voice codec having a variable bit rate including a transmission rate is applied. 가변 전송율을 갖는 음성코덱을 적용한 인터넷 전화시스템에서의 음성코덱 모드 할당 방법에 있어서,A voice codec mode allocation method in an internet telephone system using a voice codec having a variable bit rate, 채널 모니터링 파라미터인 지터(Jitter)와 CumLoss를 정의하여 상기 파라미터의 범위를 각 단계별로 나누고, 상기 각 단계별로 음성코덱 모드를 할당하므로써음성코덱 모드 테이블을 정의하며, 송신측으로부터 전송된 패킷을 수신하는 제 1 단계;By defining jitter and CumLoss, which are channel monitoring parameters, the range of the parameter is divided into stages, the voice codec mode is defined by assigning the voice codec mode to each stage, and the packet transmitted from the transmitter is received. First step; 수신된 패킷에서 지터와 CumLoss 를 계산하여, 상기 각 단계의 범위를 수정하므로써, 상기 제 1 단계에서 정의된 음성코덱 모드 테이블을 수정하는 제 2 단계;A second step of modifying the voice codec mode table defined in the first step by calculating jitter and CumLoss in the received packet and modifying the range of each step; 수정된 음성코덱 모드 테이블에서 상기 계산된 지터값이 해당되는 단계에 할당된 음성코덱 모드를 선택하는 제 3 단계; 및A third step of selecting a voice codec mode assigned to a step corresponding to the calculated jitter value in a modified voice codec mode table; And 선택된 음성코덱 모드를 이용하여 송신측으로 패킷을 전송하는 제 4 단계A fourth step of transmitting a packet to a sender using the selected voice codec mode 를 포함하는 가변 전송율을 갖는 음성코덱을 적용한 인터넷 전화시스템에서의 음성코덱 모드 할당 방법.Voice codec mode allocation method in an internet telephone system to which a voice codec having a variable bit rate including a transmission rate is applied. 가변 전송율을 갖는 음성코덱을 적용한 인터넷 전화시스템에서의 음성코덱 모드 할당 방법에 있어서,A voice codec mode allocation method in an internet telephone system using a voice codec having a variable bit rate, 채널 모니터링 파라미터인 지터(Jitter)와 CumLoss를 정의하여 상기 파라미터의 범위를 각 단계별로 나누고, 상기 각 단계별로 음성코덱 모드를 할당하므로써 음성코덱 모드 테이블을 정의하며, 송신측으로부터 전송된 패킷을 수신하는 제 1 단계;By defining jitter and CumLoss, which are channel monitoring parameters, the range of the parameter is divided into steps, and the voice codec mode table is defined by allocating the voice codec mode for each step. First step; 수신된 패킷에서 지터와 CumLoss 를 계산하여, 상기 각 단계의 범위를 수정하므로써, 상기 제 1 단계에서 정의된 음성코덱 모드 테이블을 수정하는 제 2 단계;A second step of modifying the voice codec mode table defined in the first step by calculating jitter and CumLoss in the received packet and modifying the range of each step; 수정된 음성코덱 모드 테이블에서 상기 계산된 지터값이 해당되는 단계에 할당된 음성코덱 모드를 선택하는 제 3 단계; 및A third step of selecting a voice codec mode assigned to a step corresponding to the calculated jitter value in a modified voice codec mode table; And 선택된 음성코덱 모드를 이용하여 송신측으로 패킷을 전송하는 한편, 상기 제 3 단계에서 선택된 음성코덱 모드에 대한 정보를 상기 패킷에 실어 함께 전송하는 제 4 단계A fourth step of transmitting the packet to the sender using the selected voice codec mode, and transmitting information on the voice codec mode selected in the third step together with the packet; 를 포함하는 가변 전송율을 갖는 음성코덱을 적용한 인터넷 전화시스템에서의 음성코덱 모드 할당 방법.Voice codec mode allocation method in an internet telephone system to which a voice codec having a variable bit rate including a transmission rate is applied. 제 3 항에 있어서,The method of claim 3, wherein 상기 제 4 단계의 음성코덱 모드에 대한 정보는 RTP 헤더에 포함된 payloadtype 파라미터를 사용하는 것을 특징으로 하는 가변 전송율을 갖는 음성코덱을 적용한 인터넷 전화시스템에서의 음성코덱 모드 할당 방법.The voice codec mode allocation method of claim 4, wherein the information on the voice codec mode uses payloadtype parameters included in the RTP header. 제 1 항 내지 제 4 항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 4, 상기 음성코덱은, 8개의 전송 모드를 갖는 AMR 음성코덱을 이용하는 것을 특징으로 하는 가변 전송율을 갖는 음성코덱을 적용한 인터넷 전화시스템에서의 음성코덱 모드 할당 방법.The voice codec is a voice codec mode allocation method in an Internet telephone system to which a voice codec having a variable transmission rate is used, characterized by using an AMR voice codec having eight transmission modes.
KR10-2002-0065021A 2002-10-23 2002-10-23 SPEECH CODEC MODE ASSIGNMENT METHOD FOR VoIP(VOICE OVER IP) WITH AMR SPEECH CODEC KR100457751B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2002-0065021A KR100457751B1 (en) 2002-10-23 2002-10-23 SPEECH CODEC MODE ASSIGNMENT METHOD FOR VoIP(VOICE OVER IP) WITH AMR SPEECH CODEC

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2002-0065021A KR100457751B1 (en) 2002-10-23 2002-10-23 SPEECH CODEC MODE ASSIGNMENT METHOD FOR VoIP(VOICE OVER IP) WITH AMR SPEECH CODEC

Publications (2)

Publication Number Publication Date
KR20040036200A KR20040036200A (en) 2004-04-30
KR100457751B1 true KR100457751B1 (en) 2004-11-18

Family

ID=37334795

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2002-0065021A KR100457751B1 (en) 2002-10-23 2002-10-23 SPEECH CODEC MODE ASSIGNMENT METHOD FOR VoIP(VOICE OVER IP) WITH AMR SPEECH CODEC

Country Status (1)

Country Link
KR (1) KR100457751B1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100677360B1 (en) * 2004-09-22 2007-02-02 엘지전자 주식회사 Session data of synchronous mobile communication system and method of setting the same
KR100903113B1 (en) * 2006-12-05 2009-06-16 한국전자통신연구원 Method to contol the variable bit-rate voice codec and Apparatus thereof
US7907523B2 (en) 2006-12-05 2011-03-15 Electronics And Telecommunications Research Institute Method and apparatus for controlling variable bit-rate voice codec
KR101385748B1 (en) * 2007-10-05 2014-04-17 삼성전자주식회사 IAD's codec automatic setting system and the control method in DLS network
KR101523590B1 (en) 2009-01-09 2015-05-29 한국전자통신연구원 Method for controlling codec mode in All-IP network and Terminal using the same

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010096409A (en) * 2000-03-31 2001-11-07 조성호 VoIP(Voice over Internet Protocol) system employing one-encoder and multi-decoder
EP1158493A2 (en) * 2000-05-23 2001-11-28 NTT DoCoMo, Inc. Concealing packet losses in a Voice of IP (VOIP) tranmission
US6373839B1 (en) * 1999-12-10 2002-04-16 Siemens Information And Communication Networks, Inc. Bandwidth biased codec selection system and method
KR20020051600A (en) * 2000-12-23 2002-06-29 오길록 System for internet phone and method thereof
JP2003037683A (en) * 2001-07-23 2003-02-07 Nec Corp Voice codec designation system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6373839B1 (en) * 1999-12-10 2002-04-16 Siemens Information And Communication Networks, Inc. Bandwidth biased codec selection system and method
KR20010096409A (en) * 2000-03-31 2001-11-07 조성호 VoIP(Voice over Internet Protocol) system employing one-encoder and multi-decoder
EP1158493A2 (en) * 2000-05-23 2001-11-28 NTT DoCoMo, Inc. Concealing packet losses in a Voice of IP (VOIP) tranmission
KR20020051600A (en) * 2000-12-23 2002-06-29 오길록 System for internet phone and method thereof
JP2003037683A (en) * 2001-07-23 2003-02-07 Nec Corp Voice codec designation system

Also Published As

Publication number Publication date
KR20040036200A (en) 2004-04-30

Similar Documents

Publication Publication Date Title
KR100501324B1 (en) Call Routing Method based on MOS prediction value
US7142532B2 (en) System and method for improving communication between a switched network and a packet network
US7746797B2 (en) Non-intrusive monitoring of quality levels for voice communications over a packet-based network
US8391166B2 (en) Adaptive packet size modification for voice over packet networks
US20050094628A1 (en) Optimizing packetization for minimal end-to-end delay in VoIP networks
US7027434B2 (en) Method to have a real time data communication
US8787196B2 (en) Method of providing voice over IP at predefined QOS levels
Nisar et al. Enhanced performance of packet transmission using system model over VoIP network
JP4482024B2 (en) Resource utilization optimization in packet-switched networks.
EP1525720B1 (en) End to end test between gateways in an ip network
KR100457751B1 (en) SPEECH CODEC MODE ASSIGNMENT METHOD FOR VoIP(VOICE OVER IP) WITH AMR SPEECH CODEC
KR100369798B1 (en) METHOD FOR CONTROLLING BANDWIDTH IN VoIP SYSTEM
Yamada et al. A QoE based service control scheme for RACF in IP-based FMC networks
Cisco Voice/Data Integration Technologies
Yamada et al. Voice quality evaluation of IP-based voice stream multiplexing schemes
Nisar et al. Enhanced performance of IPv6 packet transmission over VoIP network
JP2002247067A (en) Band controller
Arafat et al. SIP-based QoS in IP telephony
Galiotos et al. QoS management for an enhanced VoIP platform using R-factor and network load estimation functionality
Balan et al. An experimental evaluation of voice-over-ip quality over the datagram congestion control protocol
KR101384125B1 (en) Apparatus and method for generating quality of service parameter about mac layer in communication system
Sathiaseelan et al. Multimedia congestion control for broadband wireless networks
Dagiuklas et al. Architecture and Design of an enhanced H. 323 VoIP Gateway
JP2005252429A (en) Ip packetizing unit
KR20050002341A (en) Dynamic codec selection system and method for the voice call service in NGN media gateway system

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
N231 Notification of change of applicant
FPAY Annual fee payment

Payment date: 20111130

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20131028

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20141028

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20160420

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee