KR100545655B1 - Internet phone system for selecting voice compression type by internet protocol network peculiarity and thereof method - Google Patents

Internet phone system for selecting voice compression type by internet protocol network peculiarity and thereof method Download PDF

Info

Publication number
KR100545655B1
KR100545655B1 KR1020030090220A KR20030090220A KR100545655B1 KR 100545655 B1 KR100545655 B1 KR 100545655B1 KR 1020030090220 A KR1020030090220 A KR 1020030090220A KR 20030090220 A KR20030090220 A KR 20030090220A KR 100545655 B1 KR100545655 B1 KR 100545655B1
Authority
KR
South Korea
Prior art keywords
network
voice
packet
phone system
internet phone
Prior art date
Application number
KR1020030090220A
Other languages
Korean (ko)
Other versions
KR20050057981A (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 KR1020030090220A priority Critical patent/KR100545655B1/en
Publication of KR20050057981A publication Critical patent/KR20050057981A/en
Application granted granted Critical
Publication of KR100545655B1 publication Critical patent/KR100545655B1/en

Links

Images

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/253Telephone sets using digital voice transmission
    • H04M1/2535Telephone sets using digital voice transmission adapted for voice communication over an Internet Protocol [IP] network

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

본 발명은 공중 IP망과 같이 패킷 지연시간이 경로에 따라 변화하는 상황에서 최적의 음성압축방식 및 패킷처리 우선순위를 자동적으로 선택하도록 개선된 IP망 특성에 따라 음성압축방식을 선택하는 인터넷폰 시스템 및 그 선택방법에 관한 것이다.The present invention provides an Internet phone system for selecting a voice compression method according to an improved IP network characteristic to automatically select an optimal voice compression method and a packet processing priority in a situation in which packet delay time changes along a path such as a public IP network. And a method of selecting the same.

본 발명은 통상의 인터넷폰 시스템의 구성중 호설정모듈에 Unix/Linux 등에서 사용되는 핑기능을 수행할 수 있도록 핑클라이언트 및 그에 응답하는 핑서버를 구축한 후 송신자가 수신자의 전화번호를 입력하게 되면 호를 연결하기 전에 미리 IP망을 통해 핑클라이언트와 핑서버간의 IP패킷 교환을 통해 IP망의 IP주소 경유 갯수, 지연시간, 패킷손실율 등을 기록하고 판단하여 설정치 이상 혹은 미만에 따라 송신할 음성압축방식의 우선순위를 결정하도록 함으로써 주어진 망 상태에 따라 최적의 음성압축방식 및 패킷처리방식을 자동 선택하도록 하여 최적의 통화품질을 확보할 수 있도록 함과 동시에 망 상태가 시간에 따라 가변되더라도 항상 최적의 통화품질을 구현할 수 있도록 한 것이다.The present invention is to construct a ping client and a ping server to respond to the ping function used in Unix / Linux, etc. in the call setup module of the configuration of a typical Internet phone system when the sender enters the receiver's telephone number Before connecting the call, the IP packet exchange between the ping client and the ping server through the IP network records and judges the number, delay time, packet loss rate, etc. via the IP address of the IP network. By determining the priority of the method, it is possible to automatically select the optimal voice compression method and packet processing method according to the given network condition to ensure the best call quality and to always ensure the optimal even if the network condition changes over time. It is to enable call quality.

Description

아이피망 특성에 따라 음성압축방식을 선택하는 인터넷폰 시스템 및 그 선택방법{INTERNET PHONE SYSTEM FOR SELECTING VOICE COMPRESSION TYPE BY INTERNET PROTOCOL NETWORK PECULIARITY AND THEREOF METHOD}INTERNET PHONE SYSTEM FOR SELECTING VOICE COMPRESSION TYPE BY INTERNET PROTOCOL NETWORK PECULIARITY AND THEREOF METHOD}

도 1은 종로 인터넷폰 시스템의 예시적인 구성블럭도,1 is an exemplary block diagram of a Jongno Internet phone system,

도 2는 본 발명에 따른 인터넷폰 시스템의 예시적인 구성블럭도,2 is an exemplary configuration block diagram of an Internet phone system according to the present invention;

도 3은 본 발명에서 사용되는 망상태 측정모듈의 예시적인 구성블럭도,3 is an exemplary configuration block diagram of a network state measurement module used in the present invention;

도 4는 본 발명에 따른 음성압축방식의 우선순위를 결정하는 제어흐름을 보인 플로우챠트.Figure 4 is a flow chart showing a control flow for determining the priority of the speech compression method according to the present invention.

♧ 도면의 주요 부분에 대한 부호의 설명 ♧♧ description of the symbols for the main parts of the drawing ♧

100,200....호설정모듈 100',200'....망상태 측정모듈100,200 call setup module 100 ', 200' ... network status measurement module

110....핑클라이언트 210....핑서버110 .... Ping Client 210 .... Ping Server

120....음성코더 140,240....프로토콜처리기120 .... Voice Coder 140,240 .... Protocol Processor

160....마이크/ADC 220....음성디코더160 .... Mic / ADC 220 .... Voice Decoder

260....DAC/스피커260 .... DAC / Speaker

본 발명은 IP망을 사용하는 인터넷폰 시스템에 관한 것으로, 특히 공중 IP망과 같이 패킷 지연시간이 경로에 따라 변화하는 상황에서 최적의 음성압축방식 및 패킷처리 우선순위를 자동적으로 선택하도록 개선된 IP망 특성에 따라 음성압축방식을 선택하는 인터넷폰 시스템 및 그 선택방법에 관한 것이다.The present invention relates to an Internet phone system using an IP network, and more particularly, to improve an automatic voice compression method and a packet processing priority automatically in a situation in which packet delay time varies along a path such as a public IP network. The present invention relates to an internet phone system for selecting a voice compression method according to network characteristics and a method of selecting the same.

현재, 인터넷 사용자는 해마다 급격하게 증가하고 있는 추세에 있으며, 이에 따라 인터넷망을 이용한 다양한 서비스들이 제공되고 있다.Currently, the number of Internet users is increasing rapidly every year, and accordingly, various services using the Internet network are provided.

특히, VoIP 기술을 이용하여 PC와 PC, PC와 전화기, 전화기와 전화기간의 음성통신을 가능하게 하여 주는 인터넷폰 시스템은 상당한 기술수준에 이르렀으며, 그 외에도 인터넷망을 이용한 이메일서비스, 팩스서비스 등이 개발되고 있다.In particular, the Internet phone system, which enables voice communication between PCs and PCs, PCs and telephones, telephones and telephones using VoIP technology, has reached a considerable level of technology. In addition, e-mail and fax services using the Internet network Is being developed.

이러한 인터넷폰 시스템에서는 음성신호를 전송하여야 하기 때문에 데이터처리량과 전송시간이 급증되는 문제가 있게 되는데 이는 음성신호를 압축부호화한 다음 그 압축부호화된 데이터를 전송한 후 이를 다시 복호화하는 형태의 음성압축 기술의 상용화로 해결되고 있다.In the Internet phone system, since a voice signal has to be transmitted, there is a problem that data throughput and transmission time increase rapidly. This is a voice compression technology that compresses and encodes a voice signal and then decodes it after transmitting the encoded coded data. This is being solved by commercialization.

IP망을 이용한 종래 인터넷폰 시스템은 예컨대 도 1과 같이, 송신자가 수신자의 전화번호를 입력하게 되면 호 설정모듈(10)은 해당 수신자 인터넷폰의 IP address 및 port address를 찾아 수신측 호 설정모듈(20)과 호 설정에 필요한 정보를 주고 받아 음성코더(12) 및 프로토콜처리기(14)를 제어하여 호를 연결시키게 되며, 송신자가 음성을 발생시키게 되면 마이크/ADC(ANALOG TO DIGITAL CONVERTER)(16)에서는 음성을 전기적신호, 즉 아날로그음성신호를 디지털음성신호로 변환시키게 되고, 이 디지털음성신호는 음성코더(12)를 통해 국제표준규격 G.723.1, G.729.a 등의 알고리즘으로 압축 음성데이터를 생성하게 되며, 생성된 압축 음성데이터는 IP망을 통해 전송가능하도록 프로토콜처리기(14)를 통해 패킷형태로 변환된 후 인터넷망(IP망)을 경유하여 전송되게 된다.In the conventional Internet phone system using an IP network, for example, as shown in FIG. 1, when a sender inputs a phone number of a receiver, the call setup module 10 finds an IP address and a port address of the receiver's Internet phone, and receives a call setup module ( 20) send and receive information necessary for call setup and control the voice coder 12 and the protocol processor 14 to connect the call, when the sender generates a voice microphone / ADC (ANALOG TO DIGITAL CONVERTER) (16) In voice, the voice signal is converted into an electrical signal, that is, an analog voice signal, into a digital voice signal, and the digital voice signal is compressed by an algorithm such as international standard G.723.1 or G.729.a through the voice coder 12. The compressed voice data is converted into a packet through the protocol processor 14 so that the compressed voice data can be transmitted through the IP network and then transmitted through the Internet network (IP network).

한편, 수신측에서는 수신부 프로토콜처리기(24)가 수신된 패킷으로부터 protocol header/trailer를 분석하여 압축된 음성데이터만을 추출하게 되며, 추출된 압축 음성데이터는 음성디코더(22)를 통해 압축상태가 복원된 후 디지털음성신호만이 추출되게 되고, 이어 DAC(DIGITAL TO ANALOG CONVERTER)/스피커(26)를 통해 디지털음성신호가 음성으로 변환된 후 수신자가 그 음성을 청취하게 된다.Meanwhile, the receiver side extracts only the compressed voice data by analyzing the protocol header / trailer from the received packet by the receiver protocol processor 24. After the compressed state is restored through the voice decoder 22, the compressed voice data is restored. Only the digital voice signal is extracted, and then the digital voice signal is converted into voice through DAC (DIGITAL TO ANALOG CONVERTER) / speaker 26 and the receiver listens to the voice.

그런데, 상술한 과정을 통해 통화가 이루어질 때에 IP망상의 경로 특성이 달라지게 되면 음성품질이 떨어지게 되는 단점이 부각되었다.However, when the call is made through the above-described process, if the path characteristics on the IP network are changed, the voice quality is deteriorated.

이를테면, IP망의 경로상 패킷 전달 지연시간이 길어질 경우 상대방의 응답이 늦게 도착하게 되어 대화가 불가능하게 된다든지 혹은 IP망의 경로상 대역폭이 작아질 경우 패킷 손실이 발생하여 음성품질이 급격히 떨어지는 등의 현상을 들 수 있다.For example, if the packet forwarding delay time on the path of the IP network becomes long, the response of the other party arrives late, making the conversation impossible, or if the bandwidth on the path of the IP network decreases, packet loss occurs and voice quality drops sharply. The phenomenon can be mentioned.

뿐만 아니라, 음성압축방식이나 패킷 처리 우선순위가 항상 고정적이기 때문에 IP망의 상태가 악화 혹은 향상되더라도 더 좋은 방식을 통한 음성전송이 원천적으로 불가능한 구조상의 단점도 있었다.In addition, since voice compression and packet processing priority are always fixed, there is a structural disadvantage in that voice transmission through a better method is fundamentally impossible even if the IP network is deteriorated or improved.

본 발명은 상술한 바와 같은 종래 기술이 갖는 제반 문제점을 감안하여 이를 해결하고자 창출한 것으로, IP망을 통한 인터넷폰의 사용시 주어진 IP망의 상태에 따라 최적의 음성압축방식 및 패킷 처리시 우선순위를 자동적으로 선택하여 최적의 통화 음질을 구현할 수 있음은 물론 개별적인 통화가 시작될 때마다 IP망의 상태를 측정하여 변화되는 것들중에서 항상 최적의 통화 음질이 확보될 수 있도록 한 IP망 특성에 따라 음성압축방식을 선택하는 인터넷폰 시스템 및 그 선택방법을 제공함에 그 목적이 있다.The present invention was created in view of the above-described problems of the prior art, and solved this problem. The use of an Internet phone over an IP network provides an optimal voice compression scheme and priority in packet processing according to a given IP network state. It is possible to automatically select the best call quality and to measure the status of the IP network whenever an individual call is initiated, so that the optimal voice quality can be ensured at all times. Its purpose is to provide an Internet phone system and a method of selecting the same.

본 발명은 상기한 기술적 과제를 달성하기 위하여, 입력된 전화번호에 따라 IP망을 통해 수신측과 교신하여 상호간의 호를 연결하는 송신자 호 설정모듈과, 송신자의 음성을 디지털음성신호로 변환하는 마이크/ADC와, 변환된 디지털음성신호를 압축하는 음성코더와, 압축된 음성데이터를 패킷형태로 전환하는 프로토콜처리기와, 호 및 패킷을 전송하는 IP망과, IP망을 통해 수신된 패킷으로부터 압축된 음성데이터를 추출하는 수신자 호 설정모듈과, 추출된 압축음성데이터로부터 디지털 음성신호로 추출하는 음성디코더와, 추출된 디지털 음성신호를 아날로그 음성신호로 변환하고 청취가능한 형태로 변환하는 DAC/스피커를 포함하여 구성된 IP망을 이용한 인터넷폰 시스템에 있어서; 상기 송신자 및 수신자 호 설정모듈에 IP망을 통해 ping기능을 수행하여 IP망의 경로, 지연시간, 패킷손실율을 기록하는 망상태 측정모듈을 부가한 IP망 특성에 따라 음성압축방식을 선택하는 인터넷폰 시스템을 제공함에 그 특징이 있다.In order to achieve the above technical problem, the present invention communicates with a receiver through an IP network according to an input telephone number, and a caller call setting module for connecting a call to each other, and a microphone for converting a sender's voice into a digital voice signal. / ADC, a voice coder for compressing the converted digital voice signal, a protocol processor for converting the compressed voice data into a packet form, an IP network for transmitting calls and packets, and a packet received from an IP network. A receiver call setup module for extracting voice data, a voice decoder for extracting the extracted compressed voice data into a digital voice signal, and a DAC / speaker for converting the extracted digital voice signal into an analog voice signal and converting it into an audible form. In the Internet phone system using the IP network configured to; Internet phone which selects voice compression method according to IP network characteristics by adding network status measurement module that records path, delay time and packet loss rate of IP network by pinging sender and receiver call setup module through IP network. It is characteristic of providing a system.

또한, 본 발명은 상기한 기술적 과제를 달성하기 위하여, 송신자가 수신자의 전화번호를 입력하게 되면 망상태 측정모듈이 수신자의 인터넷폰 시스템상의 IP주 소 및 port주소를 찾아 두 지점 사이의 IP패킷을 교환하는 제1과정과; 제1과정에서 기록된 IP망 경로가 특정개수 이상이면 코딩에 걸리는 시간이 짧은 순으로 음성압축에 대한 우선순위를 부여한 후 지연시간을 검사하도록 하고, 미만이면 특정압축방식으로만 압축하도록 우선순위를 부여한 후 지연시간을 검사하도록 하는 제2과정과; 제2과정후 기록된 지연시간이 설정시간 이상이면 압축율이 높은 순으로 음성압축에 대한 우선순위를 부여한 후 패킷손실율을 측정하도록 하고, 미만이면 곧바로 패킷손실율을 측정하도록 하는 제3과정과; 제3과정후 측정된 패킷손실율이 설정% 이상이면 Diffserv Code Point값을 '42'로 결정하여 호를 연결하도록 하고, 미만이면 Diffserv Code Point값을 '56'으로 결정하여 호를 연결하도록 하는 제4과정을 포함하여 구성되는 IP망 특성에 따라 음성압축방식을 선택하는 인터넷폰 시스템의 음성압축방식 선택방법을 제공함에도 그 특징이 있다.In addition, the present invention, in order to achieve the above technical problem, when the sender enters the receiver's telephone number, the network state measurement module finds the IP address and port address on the receiver's Internet phone system to find the IP packet between the two points. A first process of exchanging; If the number of IP network paths recorded in the first step is greater than or equal to a certain number, the coding time is prioritized to give priority to voice compression in the shortest order, and then the delay time is checked. A second process of checking a delay time after assigning; A third step of, if the delay time recorded after the second process is equal to or greater than the set time, gives priority to voice compression in order of high compression rate, and then measures packet loss rate, and if less, immediately measures packet loss rate; If the packet loss rate measured after the third process is greater than or equal to the set%, the Diffserv Code Point value is determined to be '42', and if the packet loss rate is less than '4', the fourth is configured to connect the call. There is also a feature to provide a voice compression method selection method of the Internet phone system to select the voice compression method according to the IP network characteristics including the process.

이하에서는, 첨부도면을 참고하여 본 발명의 바람직한 실시예에 대하여 설명하기로 한다.Hereinafter, with reference to the accompanying drawings will be described a preferred embodiment of the present invention.

도 2는 본 발명에 따른 인터넷폰 시스템의 구성 블럭도이고, 도 3은 도 2의 망상태 측정모듈의 일예를 보인 구성블럭도이다.2 is a block diagram of the Internet phone system according to the present invention, Figure 3 is a block diagram showing an example of the network state measurement module of FIG.

도 2에서와 같이, 본 발명 인터넷폰 시스템은 송신자측 및 수신자측 모두의 호 설정모듈(100,200)에 각각의 망상태를 측정할 수 있는 망상태 측정모듈(100',200')을 부가한 것이다.As shown in FIG. 2, the present invention provides an Internet phone system by adding network state measurement modules 100 'and 200' capable of measuring respective network states to call setup modules 100 and 200 on both a sender side and a receiver side. .

이러한 망상태 측정모듈(100',200')은 도 3과 같은 구조로 이루어질 수 있는데 이는 Unix/Linux 시스템에서 사용되는 핑(Ping) 기능과 동일 내지 유사한 형태 이다.The network state measurement module 100 ', 200' may be configured as shown in FIG. 3, which is the same as or similar to the ping function used in the Unix / Linux system.

예컨대, 송신자측 망상태 측정모듈(100')에는 핑클라이언트(110)이 실장되고, 수신자측 망상태 측정모듈(200')에는 핑데몬(Ping Daemon), 즉 핑서버(210)가 실장되어, 핑클라이언트(110)가 주기적으로 일정한 크기의 IP패킷을 보내면 핑서버(210)는 수신된 IP패킷의 헤더정보만 바꾸어 에코(echo)함으로써 IP망을 통한 양 모듈간의 망상태를 측정할 수 있게 된다.For example, the ping client 110 is mounted on the sender side network state measurement module 100 ', and a ping daemon, that is, the ping server 210, is mounted on the receiver side network state measurement module 200'. When the ping client 110 periodically sends a fixed size IP packet, the ping server 210 changes the header information of the received IP packet to echo to measure the network state between both modules through the IP network. .

이때, 상기 핑클라이언트(110)가 송신하는 IP패킷의 송신주기와 크기는 사용자가 지정가능하며, 패킷의 내용은 0~255 사이의 숫자가 반복되는 형태이며, 또한 핑클라이언트(110)는 에코된 IP패킷의 수신시간을 측정하여 송신시간과의 차이, 즉 IP망의 지연시간을 표시하여 주고 만약 패킷이 중간에 손실되어 일정시간이 경과하여도 에코되지 않으면 그 손실율을 계산하여 표시하게 된다.At this time, the user can specify the transmission period and the size of the IP packet transmitted by the pink client 110, the contents of the packet is a form that repeats the number between 0 and 255, and the pink client 110 is echoed It measures the reception time of the IP packet and displays the difference from the transmission time, that is, the delay time of the IP network. If the packet is lost in the middle and does not echo after a certain time, the loss rate is calculated and displayed.

이러한 구성으로 이루어진 본 발명 인터넷폰 시스템의 음성압축방식을 선택하는 방법에 대하여 설명한다.A method of selecting a voice compression method of the Internet phone system of the present invention having such a configuration will be described.

도 4에서와 같이, 먼저 송신자가 수신자의 전화번호를 입력하게 되면 송신자측 망상태 측정모듈(100')은 수신자의 인터넷폰 시스템상의 IP주소 및 port주소를 찾아 핑기능을 이용하여 두 지점 사이의 IP망 경로 및 지연시간 그리고 패킷 손실율을 측정하게 된다(S10,S11).As shown in FIG. 4, when the sender first inputs the receiver's telephone number, the sender's network status measurement module 100 'finds an IP address and a port address on the receiver's Internet phone system and uses the ping function to find a connection between the two points. The IP network path, delay time and packet loss rate are measured (S10 and S11).

즉, 상술하였듯이 송신자측 망상태 측정모듈(100')에 적재된 핑클라이언트(110)가 수신자측 핑서버(210)로 IP망을 통해 주기적으로 일정한 크기의 IP패킷을 송신하게 되면 핑서버(210)는 이를 수신한 후 그 수신된 IP패킷중 헤 더(header) 정보만을 바꾸어 에코하게 된다.That is, as described above, when the ping client 110 loaded in the sender-side network state measurement module 100 'periodically transmits an IP packet having a predetermined size to the receiver-side ping server 210 through the IP network, the ping server 210 ) Receives this and echoes only the header information of the received IP packets.

이후, 기록된 IP망 경로를 검사하여 중간에 경유하는 IP주소(=IP 라우터)가 N개 이상이면 음성코더가 사용할 압축방식의 우선순위를 다음과 같이 설정하게 되며, 조건에 만족되지 않으면 특정된 압축방식으로 압축을 수행하도록 우선순위를 부여하게 된다(S12,S13,S14).After that, the recorded IP network path is checked and if there are more than N IP addresses (= IP routers) in between, the priority of the compression method to be used by the voice coder is set as follows. Priority is given to performing compression by the compression method (S12, S13, S14).

이때, N 즉, IP 라우터 갯수는 음성통화에서 사용자가 감지할 수 있는 응답지연시간(통상 100ms)을 r로 나누어 줌으로써 구할 수 있는데 여기에서 r은 IP 라우터의 평균 패킷지연시간이며, 이 N값은 사용자가 임의로 설정할 수 있도록 함이 바람직하다.In this case, N, that is, the number of IP routers can be obtained by dividing the response delay time (typically 100ms) that a user can detect in a voice call by r, where r is the average packet delay time of the IP router. It is desirable to allow the user to set arbitrarily.

예컨대, N을 3으로 설정한 경우 기록된 IP망의 경로가 3개 이상이면 코딩에 걸리는 시간이 짧은 것을 높은 순위로 하여 ①G.711 ②G.726 ③G.729 ④G.723.1과 같이 음성압축에 대한 우선순위를 정하도록 하고, 3개 미만이면 우선순위의 결정없이 무조건 G.711 방식으로 음성압축을 행하도록 우선순위를 부여한다.For example, if N is set to 3, if the recorded IP network has more than 3 paths, the coding time is shorter and the priority is given to voice compression such as ①G.711 ②G.726 ③G.729 ④G.723.1. If it is less than 3, priority is given to performing voice compression in G.711 manner without determining the priority.

이후, 기록된 지연시간을 검사하여 그 값이 D초 이상이면 음성코더가 사용할 압축방식의 우선순위를 다음과 같이 설정하게 되며, 조건에 만족되지 않으면 상술한 IP망 경로 판단과정에서 결정된 우선순위로 특정되도록 한 상태에서 패킷손실율을 측정하도록 하게 된다(S15,S16,S17).After that, if the delay time is checked and the value is more than D seconds, the priority of the compression scheme to be used by the voice coder is set as follows. If the condition is not satisfied, the priority determined in the above-described IP network path determination process is set. In this state, the packet loss rate is measured (S15, S16, S17).

이때, D값은 N값과 마찬가지로 사용자가 임의로 결정할 수 있는데 이를테면, 일반적인 통화품질을 원하는 경우에는 D=100ms로 하고, 통화품질을 희생하면서도 대역폭을 절약하는 경우에는 D=200ms로 결정하는 형태를 가진다.In this case, the D value can be arbitrarily determined by the user like the N value. For example, if the general call quality is desired, D = 100ms, and if the bandwidth is saved while sacrificing the call quality, D = 200ms is determined. .

즉, D=100ms로 결정한 경우 지연시간이 100ms 이상이면 일반적인 통화품질을 원하는 것으로서 압축율이 높은 것을 우선순위로 하여 ①G.723.1 ②G.729 ③G.726 ④G.711과 같은 순으로 음성압축을 행하도록 우선순위를 부여토록 하고, 100ms 이하이면 곧바로 패킷손실율을 측정하도록 하여 이미 그 상위단계, 즉 IP망 경로의 갯수를 판단하는 과정에서 설정된 우선순위를 가지고 그 순위대로 패킷손실율을 측정하게 된다.In other words, if D = 100ms, the delay time is 100ms or more, and the general call quality is desired, and the compression rate is high.The priority is to perform voice compression in the order of ①G.723.1 ②G.729 ③G.726 ④G.711. The packet loss rate should be measured immediately if it is less than 100ms, and the packet loss rate is measured according to the priority with the priority set in the process of determining the upper level, that is, the number of IP network paths.

이렇게 하여 음성압축에 필요한 우선순위가 결정되면 이후 기록된 패킷의 손실율을 측정하게 된다(S18).In this way, when the priority required for voice compression is determined, the loss rate of the recorded packet is measured (S18).

이 과정에서는 손실율이 L% 이상일 경우 IP패킷 처리우선순위를 Diffserv code point 값 = 42로 정하며, 그렇지 않을 경우에는 Diffserv code point 값 = 56으로 정하도록 하는데 이때 L값도 사용자가 임의로 결정할 수 있다(S19,S20,S21).In this process, if the loss rate is more than L%, the priority of IP packet processing is set to Diffserv code point value = 42. Otherwise, the Diffserv code point value is set to 56. In this case, the L value may be arbitrarily determined by the user (S19). , S20, S21).

여기에서, '42'는 medium priority, low drop precedence로서 패킷 손실율을 최소화하는 IP패킷처리 우선순위값이며, '56'은 expedited forwarding으로서 안전하게 전송속도를 최대화하는 IP패킷처리 우선순위값을 의미한다.Here, '42' is an IP packet processing priority value that minimizes packet loss rate as medium priority and low drop precedence, and '56' is an IP packet processing priority value that safely maximizes transmission speed as expedited forwarding.

또한, L%는 패킷손실율의 임계치를 말하는데 일반적인 통화품질을 원할 경우에는 L=0.2%이고, 통화품질을 희생하면서도 대역폭을 절약하고자 할 경우에는 L=2%로 결정되는 바, 이때 0.2%는 50초에 한번 순간적으로 잡음이 들리는 것과 같은 것의 비율을 말한다.In addition, L% refers to the threshold of packet loss rate, L = 0.2% for general call quality, and L = 2% for bandwidth saving at the expense of call quality, where 0.2% is 50 It is the ratio of something like noise heard momentarily once a second.

이러한 과정을 거쳐 음성압축방식이 결정되면 호설정모듈이 나머지 필요한 정보를 주고 받아 호를 연결시킨다(S22).When the voice compression method is determined through this process, the call setup module sends and receives the remaining necessary information to connect the call (S22).

호가 연결되면 도 2에서와 같이, 송신자의 음성은 마이크/ADC(160)를 통해 디지털형태의 음성신호로 변환되며, 변환된 디지털 음성신호는 음성코더(120)를 거쳐 선택된 압축방식으로 압축되어 압축음성데이터로 변환된다.When the call is connected, as shown in FIG. 2, the transmitter's voice is converted into a digital voice signal through the microphone / ADC 160, and the converted digital voice signal is compressed and compressed by the selected compression method through the voice coder 120. The voice data is converted.

이어, 송신부 프로토콜처리기(140)가 압축된 음성데이터를 인터넷 패킷 형태로 변환한 후 인터넷(IP망)을 통하여 송신측의 음성패킷을 수신측으로 전달하게 된다.Subsequently, the transmitter protocol processor 140 converts the compressed voice data into an Internet packet, and then transmits the voice packet of the transmitter to the receiver through the Internet (IP network).

수신측에서는 음성패킷을 수신하고 수신자 프로토콜처리기(240)에 의해 압축음성데이터가 추출되게 된다.The receiving side receives the voice packet and the compressed voice data is extracted by the receiver protocol processor 240.

추출된 압축음성데이터는 음성디코더(220)를 통해 디지털 음성신호로 추출되며, 추출된 디지털 음성신호는 DAC/스피커(260)를 통해 아날로그 음성신호로 전환된 후 수신자에게 청취되게 된다.The extracted compressed voice data is extracted as a digital voice signal through the voice decoder 220, and the extracted digital voice signal is converted into an analog voice signal through the DAC / speaker 260 and then listened to the receiver.

이상에서 상세히 설명한 바와 같이, 본 발명은 다음과 같은 효과를 제공한다.As described in detail above, the present invention provides the following effects.

첫째, 주어진 IP망 상태에 따라 최적의 음성압축방식 및 패킷처리에 관한 우선순위를 자동 선택함으로써 가장 최적의 통화품질을 구현할 수 있게 된다.First, it is possible to realize the most optimal call quality by automatically selecting the optimal voice compression method and priority for packet processing according to the given IP network status.

둘째, 개별적인 통화가 시작될 때마다 IP망 상태를 측정하여 최적의 설정을 행함으로써 IP망 상태가 시간에 따라 변하더라도 그중에서 가장 최적의 통화음질을 확보할 수 있게 된다.Second, it is possible to secure the best call quality even if the IP network state changes over time by measuring the IP network state each time the individual call is started and performing the optimal setting.

세째, 통화지연이 극소화되고, 통화불량의 문제가 개선된다.Third, currency delays are minimized and the problem of poor currency improves.

Claims (5)

입력된 전화번호에 따라 IP망을 통해 수신측과 교신하여 상호간의 호를 연결하는 송신자 호 설정모듈과, 송신자의 음성을 디지털음성신호로 변환하는 마이크/ADC와, 변환된 디지털음성신호를 압축하는 음성코더와, 압축된 음성데이터를 패킷형태로 전환하는 프로토콜처리기와, 호 및 패킷을 전송하는 IP망과, IP망을 통해 수신된 패킷으로부터 압축된 음성데이터를 추출하는 수신자 호 설정모듈과, 추출된 압축음성데이터로부터 디지털 음성신호로 추출하는 음성디코더와, 추출된 디지털 음성신호를 아날로그 음성신호로 변환하고 청취가능한 형태로 변환하는 DAC/스피커를 포함하여 구성된 IP망을 이용한 인터넷폰 시스템에 있어서;Sender call setup module that communicates with the receiving party through the IP network according to the input telephone number and connects mutual calls, a microphone / ADC that converts the sender's voice into a digital voice signal, and compresses the converted digital voice signal. A voice coder, a protocol processor for converting the compressed voice data into a packet form, an IP network for transmitting calls and packets, a receiver call setting module for extracting compressed voice data from packets received through the IP network, and extraction An internet phone system using an IP network including a voice decoder for extracting a digital voice signal from compressed compressed data and a DAC / speaker for converting the extracted digital voice signal into an analog voice signal and converting the voice signal into an audible form; 상기 송신자 및 수신자 호 설정모듈에 IP망을 통해 ping기능을 수행하여 IP망의 경로, 지연시간, 패킷손실율을 기록하고, 상기 IP 망의 경로 중 경유 IP 라우터 주소 갯수와 상기 지연시간과, 상기 패킷손실율에 따라 상기 음성 코더의 음성 압축방식을 설정하는 망상태 측정모듈을 부가한 것을 특징으로 하는 IP망 특성에 따라 음성압축방식을 선택하는 인터넷폰 시스템.Perform a ping function on the sender and receiver call setup module through an IP network to record the path, delay time, and packet loss rate of the IP network, and determine the number of transit IP router addresses, the delay time, and the packet in the path of the IP network. An internet phone system for selecting a voice compression method according to the characteristics of an IP network, comprising adding a network state measurement module for setting a voice compression method of the voice coder according to a loss ratio . 청구항 1에 있어서,The method according to claim 1, 상기 망상태 측정모듈은 송신측 호설정모듈에 적재된 핑클라이언트와; 상기 핑클라이언트로부터 IP망을 통해 송신된 IP패킷을 수신한 후 그 헤더 정보만을 바꾸어 에코하도록 수신측 호설정모듈에 적재된 핑서버로 구성되는 것을 특징으로 하는 IP망 특성에 따라 음성압축방식을 선택하는 인터넷폰 시스템.The network state measurement module includes: a ping client loaded on the call setup module of the transmitting side; The voice compression method is selected according to the characteristics of the IP network, which comprises a ping server loaded in the call setup module to receive the IP packet transmitted through the IP network from the ping client and change only the header information. Internet phone system. 송신자가 수신자의 전화번호를 입력하게 되면 망상태 측정모듈이 수신자의 인터넷폰 시스템상의 IP주소 및 port주소를 찾아 두 지점 사이의 IP패킷을 교환하는 제1과정과;A first step of the network state measuring module exchanging an IP packet between two points by searching for an IP address and a port address of the receiver's Internet phone system when the sender inputs the telephone number of the receiver; 제1과정에서 기록된 IP망 경로가 특정개수 이상이면 코딩에 걸리는 시간이 짧은 순으로 음성압축에 대한 우선순위를 부여한 후 지연시간을 검사하도록 하고, 미만이면 특정압축방식으로만 압축하도록 우선순위를 부여한 후 지연시간을 검사하도록 하는 제2과정과;If the number of IP network paths recorded in the first step is greater than or equal to a certain number, the coding time is prioritized to give priority to voice compression in the shortest order, and then the delay time is checked. A second process of checking a delay time after assigning; 제2과정후 기록된 지연시간이 설정시간 이상이면 압축율이 높은 순으로 음성압축에 대한 우선순위를 부여한 후 패킷손실율을 측정하도록 하고, 미만이면 곧바로 패킷손실율을 측정하도록 하는 제3과정과;A third step of, if the delay time recorded after the second process is equal to or greater than the set time, gives priority to voice compression in order of high compression rate, and then measures packet loss rate, and if less, immediately measures packet loss rate; 제3과정후 측정된 패킷손실율이 설정% 이상이면 Diffserv Code Point값을 '42'로 결정하여 호를 연결하도록 하고, 미만이면 Diffserv Code Point값을 '56'으로 결정하여 호를 연결하도록 하는 제4과정을 포함하여 구성되는 것을 특징으로 하는 IP망 특성에 따라 음성압축방식을 선택하는 인터넷폰 시스템의 음성압축방식 선택방법.If the packet loss rate measured after the third process is greater than or equal to the set%, the Diffserv Code Point value is determined to be '42', and if the packet loss rate is less than '4', the fourth is configured to connect the call. The voice compression method selection method of the Internet phone system to select the voice compression method according to the characteristics of the IP network, characterized in that it comprises a process. 청구항 3에 있어서,The method according to claim 3, 상기 제2과정에서 코딩에 걸리는 시간이 짧은 우선순위는 ①G.711 ②G.726 ③G.729 ④G.723.1과 같은 순서인 것을 특징으로 하는 IP망 특성에 따라 음성압축방식을 선택하는 인터넷폰 시스템의 음성압축방식 선택방법.The priority of the short time that the coding takes in the second process is as follows: ①G.711 ②G.726 ③G.729 ④G.723.1 Voice of the Internet phone system to select the voice compression method according to the characteristics of the IP network Compression method selection method. 청구항 3에 있어서,The method according to claim 3, 상기 제3과정에서 압축율이 높은 우선순위는 ①G.723.1 ②G.729 ③G.726 ④G.711과 같은 순서인 것을 특징으로 하는 IP망 특성에 따라 음성압축방식을 선택하는 인터넷폰 시스템의 음성압축방식 선택방법.The voice compression method of the Internet phone system that selects the voice compression method according to the characteristics of the IP network, characterized in that the priority of the compression ratio in the third process is in the order of ①G.723.1 ②G.729 ③G.726④G.711. Way.
KR1020030090220A 2003-12-11 2003-12-11 Internet phone system for selecting voice compression type by internet protocol network peculiarity and thereof method KR100545655B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020030090220A KR100545655B1 (en) 2003-12-11 2003-12-11 Internet phone system for selecting voice compression type by internet protocol network peculiarity and thereof method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020030090220A KR100545655B1 (en) 2003-12-11 2003-12-11 Internet phone system for selecting voice compression type by internet protocol network peculiarity and thereof method

Publications (2)

Publication Number Publication Date
KR20050057981A KR20050057981A (en) 2005-06-16
KR100545655B1 true KR100545655B1 (en) 2006-01-24

Family

ID=37251677

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020030090220A KR100545655B1 (en) 2003-12-11 2003-12-11 Internet phone system for selecting voice compression type by internet protocol network peculiarity and thereof method

Country Status (1)

Country Link
KR (1) KR100545655B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106255149A (en) * 2016-08-10 2016-12-21 广州市百果园网络科技有限公司 A kind of media data transmission method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106255149A (en) * 2016-08-10 2016-12-21 广州市百果园网络科技有限公司 A kind of media data transmission method and device
CN106255149B (en) * 2016-08-10 2019-12-24 广州市百果园网络科技有限公司 Media data transmission method and device

Also Published As

Publication number Publication date
KR20050057981A (en) 2005-06-16

Similar Documents

Publication Publication Date Title
US6751477B1 (en) Systems and methods for dynamically optimizing the fidelity of a speech signal received from a wireless telephony device and transmitted through a packet-switched network
US8169937B2 (en) Managing a packet switched conference call
US8432816B2 (en) VoIP terminal having QoS monitoring function and QoS monitoring method
KR100607140B1 (en) Internet based telephone apparatus
US20040165570A1 (en) Call routing method in VoIP based on prediction MOS value
KR101119662B1 (en) System for measuring qos of multimedia service and method for operating the same
EP1667397A1 (en) Handling real-time transport protocol (RTP) media packets in voice over internet protocol (VoIP) terminal
US8184616B2 (en) Changing codec information to provide voice over internet protocol (VoIP) terminal with coloring service
MX2008010573A (en) Techniques for facilitating emergency calls.
US7986634B2 (en) Apparatus and method for measuring quality of sound encoded with a variable band multi-codec
US7076316B2 (en) Method and apparatus for controlling an operative setting of a communications link
EP2158753B1 (en) Selection of audio signals to be mixed in an audio conference
JP2000270024A (en) Method for exchanging capability of frame packet processing size in internet phone, terminal utilizing internet phone and medium recording program of internet phone
US7889721B2 (en) Selecting an adaptor mode and communicating data based on the selected adaptor mode
KR100545655B1 (en) Internet phone system for selecting voice compression type by internet protocol network peculiarity and thereof method
EP1168734A1 (en) Method to reduce the distortion in a voice transmission over data networks
CN1925678B (en) Mobile communication terminal for checking VoIP service aptness and its checking method
US20090089442A1 (en) Method of transmitting data in a communication system
JP2006042175A (en) Call system, call method, call program, and storing medium
JP2007134862A (en) Ip communication terminal and ip communication method
US7808981B1 (en) Packet telephony across the public switched telephone network
JP2001345804A (en) Telephone system, terminal adapter device and telephone set
KR20050002341A (en) Dynamic codec selection system and method for the voice call service in NGN media gateway system
JP4127274B2 (en) Telephone speech recognition system
Tiwari et al. A Survey on Enhancing the QoS through voice Quality for Voice over Wireless LANs (VOWLAN)

Legal Events

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

Payment date: 20121217

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20131217

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20141211

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20151204

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20161209

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee