KR100342157B1 - sound transmission system using UDP protocol for PC-to-Phone method - Google Patents

sound transmission system using UDP protocol for PC-to-Phone method Download PDF

Info

Publication number
KR100342157B1
KR100342157B1 KR1020000010184A KR20000010184A KR100342157B1 KR 100342157 B1 KR100342157 B1 KR 100342157B1 KR 1020000010184 A KR1020000010184 A KR 1020000010184A KR 20000010184 A KR20000010184 A KR 20000010184A KR 100342157 B1 KR100342157 B1 KR 100342157B1
Authority
KR
South Korea
Prior art keywords
voice
server
buffer
client
voice data
Prior art date
Application number
KR1020000010184A
Other languages
Korean (ko)
Other versions
KR20000024679A (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 KR1020000010184A priority Critical patent/KR100342157B1/en
Publication of KR20000024679A publication Critical patent/KR20000024679A/en
Application granted granted Critical
Publication of KR100342157B1 publication Critical patent/KR100342157B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/164Adaptation or special uses of UDP protocol
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

본 발명은 유디피 프로토콜을 이용한 피씨 투 폰 방식 원거리 음성통화 시스템에 관한 것으로, 보다 상세하게는 인터넷과 PSTN(400)망을 이용한 음성통화시스템에 있어서, 송화클라이언트(100)가 인터넷에 연결된 서버(200)에 수화자(300)의 수신번호로 연결 요청하는 제 1단계(S1); 상기 서버(200)에 요청된 수신번호로 수화자(300)에 연결을 시도하는 제 2단계(S2); 상기에서 연결 요청받은 수화자(300)가 상기 서버(200)로 연결 응답신호를 보내는 제 3단계(S3); 상기 전달된 응답신호에 따라 상기 서버(200)가 상기 송화클라이언트(100)에게 연결 완료메세지를 보내는 제 4단계(S4); 상기 완료메세지가 보내진 상기 송화클라이언트(100)는 음성을 실시간, 양방향으로 레코딩과 재생을 위한 버퍼를 준비하는 제 5단계(S5); 상기 송화클라이언트(100)로 입력된 음성데이터를 버퍼에 저장하고, 유디피 프로토콜을 이용하여 상기 서버(200)로 전송하는 제 6단계(S6); 상기 서버(200)로 전송된 송화클라이언트(100)의 음성데이터를 음성압축보드(500)로 전달하고, PSTN(400)망을 통해 수화자(300)의 전화로 전송하는 제 7단계(S7); 상기 수화자(300)의 음성은 PSTN(400)망을 통해 상기 서버(200)의 음성압축보드(500)로 전달되고, 상기 서버(200)는 전달된 음성을 유디피 프로토콜을 이용하여 송화클라이언트(100)로 전송하는 제 8단계(S8); 상기 서버(200)에서 전송된 수화자(300)의 음성을 음성재생 버퍼에서 수신하여 음성을 재생하고, 상기 송화클라이언트(100)에서 수신된 일정 분량의 음성녹음 버퍼를 실시간 음성데이터로 재생하고, 재생이 끝난 버퍼를 다음에 사용할 수 있도록 버퍼의 내용을 삭제하고 큐의 가장 마지막에 위치하도록 하여 버퍼에 음성데이터가 축적되는 것을 방지하는 제 9단계(S9);를 포함하여 구성되는 것을 특징으로 하고, 상기 제 2단계(S2)는 PSTN(400)망으로 인해 연결 시도가 실패하는 경우 요청 불가능 메시지를 서버(200)에서 송화클라이언트(100)로 전송하는 것을 포함하며, 또한, 상기 송화클라이언트(100) 내지는 서버(200)로 부터 음성을 실시간으로 전송하기 위해 500Byte ~ 2000Byte 단위로 레코딩된 음성데이터를 네트워크를 통해 전송할 때 음성데이터가 보내진 시간을 음성데이터패킷에 붙여 보내어, 서버(200)측에서 시간적을 순차적으로 비교하여 실시간으로 재생하는 것을 특징으로 하는 유디피 프로토콜을 이용한 피씨 투 폰 방식 원거리 음성통화 시스템에 관한 것이다. 이에 따라, 사용자는 컴퓨터 게임의 사운드 사용시에도 사운드 충돌없이 통화할 수 있는 이점이 있다.The present invention relates to a PC-to-phone remote voice call system using the UPD protocol, and more particularly, in a voice call system using the Internet and the PSTN 400 network, a server connected to the Internet by the call client 100 ( Requesting connection to the reception number of the called party 300 to the first step (S1); A second step (S2) of attempting to connect to the called party (300) by the received number requested by the server (200); A third step (S3) of receiving a connection request from the called party and sending a connection response signal to the server 200; A fourth step (S4) in which the server 200 sends a connection completion message to the call client 100 according to the transmitted response signal; A fifth step (S5) of preparing a buffer for recording and reproducing voice in real time and in both directions, wherein the call client 100 to which the completion message has been sent is received; A sixth step (S6) of storing the voice data input to the call client 100 in a buffer and transmitting the voice data to the server 200 using a UIP protocol; The seventh step S7 of transmitting the voice data of the calling client 100 transmitted to the server 200 to the voice compression board 500, and transmitting the voice data to the telephone receiver 300 through the PSTN 400 network. ; The voice of the called party 300 is transmitted to the voice compression board 500 of the server 200 through the PSTN 400 network, and the server 200 transmits the transmitted voice using a UIP protocol. An eighth step S8 of transmitting to 100; Receives the voice of the talker 300 transmitted from the server 200 in the voice playback buffer to play the voice, and reproduces a predetermined amount of the voice recording buffer received from the talk client 100 as real-time voice data, And a ninth step (S9) of preventing the accumulation of voice data in the buffer by deleting the contents of the buffer so as to be able to use the reproduced buffer next time and placing it at the end of the queue. The second step S2 includes transmitting a request impossible message from the server 200 to the talk client 100 when the connection attempt fails due to the PSTN 400 network, and the talk client 100. ) Or when transmitting the voice data recorded in 500Byte ~ 2000Byte unit over the network to transmit the voice from the server 200 in real time. It is attached to the sex data packet, and the server 200 side is compared to the PC to the far-end voice call system using the UDPI protocol, characterized in that to reproduce in real time. Accordingly, there is an advantage that the user can talk without sound collision even when using the sound of the computer game.

Description

유디피 프로토콜을 이용한 피씨 투 폰 방식 원거리 음성통화 시스템{sound transmission system using UDP protocol for PC-to-Phone method}Sound transmission system using UDP protocol for PC-to-Phone method}

본 발명은 컴퓨터 사운드카드 사용 중에 사운드 충돌없이 전화통화를 할 수 있는 시스템에 관한 것으로서, 인터넷과 PSTN망을 이용한 음성통화시스템에 있어서, 컴퓨터 게임에서 사용되는 사운드와 충돌없이 통화할 수 있는 시스템에 관한 것이다.The present invention relates to a system for making a telephone call without sound collision while using a computer sound card, and to a system for making a telephone call without collision with a sound used in a computer game in a voice call system using the Internet and a PSTN network. will be.

일반적으로 인터넷 폰의 경우, PC-to-PC방식, Phone-to-Phone방식, PC-to-Phone방식 등으로 구분된다.In general, Internet phones are divided into PC-to-PC, Phone-to-Phone, and PC-to-Phone.

먼저, PC-to-PC방식은 네트워크상에 연결된 PC간에 서로 통화할 수 있는 방식에 관한 것이다. 상기와 같은 방식은 마이크, 사운드카드, 스피커 그리고, 해당 PC에 직접 설치되어 전화를 연결할 수 있는 소프트웨어로 구성되는 직접식 통화방식과 마이크, 사운드카드, 스피커 그리고 전화를 연결시켜주는 서버로 구성되는 간접식 통화방식이 있다. 상기와 같은 방식은 통화를 하고자 하는 양쪽의 모든 사용자들이 컴퓨터 앞에 있어야 한다는 문제점이 있다. 또한, 상기 방식의 통화 중에는 컴퓨터 사운드 기능을 전화 음성을 듣고 말하는 기능 외에는 컴퓨터 게임, MP3플레이어 등을 실행할 수 없게 된다는 또 다른 문제점이 있다.First of all, the PC-to-PC method relates to a method in which PCs connected on a network can communicate with each other. The above method is a direct call method consisting of a microphone, a sound card, a speaker, and software installed directly on the PC to connect a telephone, and an indirect system consisting of a microphone, a sound card, a speaker, and a server connecting a telephone. There is a form of currency. This approach has the problem that all users who wish to make calls must be in front of the computer. In addition, there is another problem that the computer sound function cannot play a computer game, an MP3 player, or the like, except for the function of listening to and speaking the phone voice during the call of the above method.

다음, Phone-to-Phone방식은 사용자간 일반 전화를 이용하여 인터넷 회선에 접속하여 사용자간 통화를 할 수 있는 방식으로, 종래의 일반적인 전화기로는 통화할 수 없는 문제점과 전화기를 따로 구비해야 하며, 상기 인터넷 폰 일반 전화기는 전화기 자체가 고가라는 또 다른 문제점이 있다.Next, the phone-to-phone method is a method that allows users to make a call between users by accessing an Internet line using a general telephone between users, and has to separately provide a problem and a telephone that cannot be talked with a conventional telephone. The Internet phone general telephone has another problem that the telephone itself is expensive.

다음, PC-to-Phone방식은 유료 방식과 무료방식 두 가지가 있다. 유료방식은 종래에는 해당 ISP업체의 웹사이트를 방문하여 해당 프로그램을 다운받아 사용자의 컴퓨터에 프로그램을 설치한 후, 걸고자 하는 해당 전화번호를 입력하고 통화버튼을 누르면, 일반 전화 등에 연결되어 통화할 수 있는 방식이다. 상기와 같은 방식으로 연결되면 사용자는 컴퓨터의 주변기기인 마이크를 통하여 송화하고, 스피커를 통하여 수화하게 된다. 그리고, 상기와 같은 방식은 사용자는 ISP업체를 통하여 접속하게 되며, 상기 ISP업체는 일반 전화망인 PSTN망과 연결되어 일반전화로 연결되는 것이다. 따라서, 사용자는 ISP업체에 전화사용에 따른 사용료를 지불하는 방식이다. 그리고, 무료방식의 경우, 최근들어 등장한 방식으로 사용자는 해당 ISP업체에 접속하여 회원으로 가입한 후 자신이 걸고자 하는 전화번호를 입력하여 전화를 통화하는 방식이다. 상기와 같은 방식은 TCP/IP(Transmission Control Protocol/Internet Protocol)을 이용하여 음성 데이터 패킷(Packet)을 발송하는 시스템이다. 그리고, 상기와 같은 방식은 컴퓨터 게임 중 사용되는 사운드와 음성통화에 사용되는 음성 사운드가 서로 충돌하는 문제점이 있다. 따라서, 사용자가 통화를 원하는 시점에서 컴퓨터에서 사용되는 사운드 사용프로그램을 모두 종료해야 한다는 또 다른 문제점이 있다.Next, there are two types of PC-to-Phone methods: paid and free. The paid method is to visit the website of the ISP company, download the program, install the program on the user's computer, enter the phone number to be dialed and press the call button. That's the way it can be. When connected in the above manner, the user talks through a microphone, which is a peripheral device of the computer, and receives a sign through the speaker. In this manner, the user is connected through an ISP company, and the ISP company is connected to a PSTN network, which is a general telephone network, to a general telephone. Therefore, the user pays the fee for using the telephone to the ISP. And, in the case of the free method, a user has recently entered a method of accessing an ISP and signing up as a member, and then calling his / her phone by entering a phone number to be called. The above scheme is a system for sending a voice data packet using a Transmission Control Protocol / Internet Protocol (TCP / IP). In addition, the above-described method has a problem in that a sound used in a computer game and a sound used in a voice call collide with each other. Therefore, there is another problem in that the sound use program used in the computer must be terminated when the user wants to make a call.

상기한 바와 같은 문제점을 해결하기 위한 본 발명은, 본 발명에 의한 유디피 프로토콜을 이용한 피씨 투 폰 방식 원거리 음성통화 시스템에 의하면, 음성압축보드(500)를 장착한 서버(200) 시스템이 인터넷 망과 PSTN(400)망을 이용해 일반전화 및 핸드폰으로 전화, 통화할 수 있는 시스템을 제공하는 데 그 다른 목적이 있다.According to the present invention for solving the above problems, according to the PC-to-phone remote voice call system using the UPI protocol according to the present invention, the server 200 system equipped with the voice compression board 500 is the Internet network And another purpose is to provide a system that can call, call, using a normal phone and a mobile phone using the PSTN (400) network.

그리고, 버퍼에 음성데이터를 쌓이는 것을 방지하기 위해 버퍼상의 큐(Queue)를 실시간 재생하고, 삭제하여 원형 큐의 형식으로 계속 사용함으로써, 컴퓨터 사운드 사용 중 전화통화를 실행하더라도 사운드 충돌없이 음성을 전달할 수 있는 시스템을 제공하는 데 또 다른 목적이 있다.In order to prevent the accumulation of voice data in the buffer, the real-time playback of the queue on the buffer, the deletion, and continuous use in the form of a circular queue, so that voice can be delivered without a sound collision even if a telephone call is made while using computer sound. Another purpose is to provide an existing system.

도 1 : 본 발명에 의한 유디피 프로토콜을 이용한 피씨 투 폰 방식 원거리 음성통화 시스템의 전체구성도.1: The overall configuration of the PC-to-phone remote voice call system using the UD protocol according to the present invention.

도 2 : 본 발명에 의한 유디피 프로토콜을 이용한 피씨 투 폰 방식 원거리 음성통화 시스템의 메세지 흐름도.2 is a message flow diagram of a PC-to-phone remote voice call system using the UDPI protocol according to the present invention.

도 3 : 본 발명에 의한 유디피 프로토콜을 이용한 피씨 투 폰 방식 원거리 음성통화 시스템의 음성녹음 흐름도.3 is a voice recording flowchart of a PC to phone remote voice call system using the UD protocol according to the present invention.

도 4 : 본 발명에 의한 유디피 프로토콜을 이용한 피씨 투 폰 방식 원거리 음성통화 시스템의 음성녹음 재생도.4 is a voice recording reproduction diagram of a PC to phone remote voice call system using the UD protocol according to the present invention.

< 도면의 주요부분에 대한 부호의 설명 ><Description of Symbols for Major Parts of Drawings>

100 : 송화클라이언트 200 : 서버100: Song client 200: Server

300 : 수화자 400 : PSTN300: receiver 400: PSTN

500 : 음성압축보드 S1 : 제 1단계500: voice compression board S1: first step

S2 : 제 2단계 S3 : 제 3단계S2: second stage S3: third stage

S4 : 제 4단계 S5 : 제 5단계S4: fourth step S5: fifth step

S6 : 제 6단계 S7 : 제 7단계S6: Sixth Step S7: Seventh Step

S8 : 제 8단계 S9 : 제 9단계S8: 8th step S9: 9th step

상기한 목적을 달성하기 위한 본 발명은, 인터넷과 PSTN망을 이용한 음성통화시스템에 있어서, 송화클라이언트가 인터넷에 연결된 서버에 수화자의 수신번호로 연결 요청하는 제 1단계; 상기 서버에 요청된 수신번호로 수화자에 연결을 시도하는 제 2단계; 상기에서 연결 요청받은 수화자가 상기 서버로 연결 응답신호를 보내는 제 3단계; 상기 전달된 응답신호에 따라 상기 서버가 상기 송화클라이언트에게 연결 완료메세지를 보내는 제 4단계; 상기 완료메세지가 보내진 상기 송화클라이언트는 음성을 실시간, 양방향으로 레코딩과 재생을 위한 버퍼를 준비하는 제 5단계; 상기 송화클라이언트로 입력된 음성데이터를 버퍼에 저장하고, 유디피 프로토콜을 이용하여 상기 서버로 전송하는 제 6단계; 상기 서버로 전송된 송화클라이언트의 음성데이터를 음성압축보드로 전달하고, PSTN망을 통해 수화자의 전화로 전송하는 제 7단계; 상기 수화자의 음성은 PSTN망을 통해 상기 서버의 음성압축보드로 전달되고, 상기 서버는 전달된 음성을 유디피 프로토콜을 이용하여 송화클라이언트로 전송하는 제 8단계; 상기 서버에서 전송된 수화자의 음성을 음성재생 버퍼에서 수신하여 음성을 재생하고, 상기 송화클라이언트(100)에서 수신된 일정 분량의 음성녹음 버퍼를 실시간 음성데이터로 재생하고, 재생이 끝난 버퍼를 다음에 사용할 수 있도록 버퍼의 내용을 삭제하고 큐의 가장 마지막에 위치하도록 하여 버퍼에 음성데이터가 축적되는 것을 방지하는 제 9단계;를 포함하여 구성되는 것을 특징으로 하는 유디피 프로토콜을 이용한 피씨 투 폰 방식 원거리 음성통화 시스템에 관한 것이다.The present invention for achieving the above object, the voice call system using the Internet and the PSTN network, the first step for the call client to connect to the server connected to the Internet by the recipient's receiving number; A second step of attempting to connect to the called party with the received number requested by the server; A third step in which the called party receiving the connection request sends a connection response signal to the server; A fourth step of sending, by the server, a connection completion message to the call client according to the transmitted response signal; A fifth step of preparing a buffer for recording and reproducing the voice in real time and in both directions, wherein the call client to which the completion message has been sent is transmitted; A sixth step of storing the voice data input to the calling client in a buffer and transmitting the voice data to the server using a UDPI protocol; A seventh step of transmitting the voice data of the calling client transmitted to the server to a voice compression board, and transmitting the voice data to the caller's telephone through a PSTN network; An eighth step of transmitting the voice of the called party to a voice compression board of the server through a PSTN network, wherein the server transmits the transmitted voice to a calling client using a UIP protocol; Receives the voice of the called party transmitted from the server in the voice reproducing buffer, reproduces the voice, regenerates a predetermined amount of the voice recording buffer received in the talk client 100 as real-time voice data, and then executes the replayed buffer. Clearing the contents of the buffer so that it can be used to the end of the queue to prevent the accumulation of voice data in the buffer; 9th step; PC-to-phone method using the UIP protocol It relates to a voice call system.

그리고, 상기 제 2단계는 PSTN망으로 인해 연결 시도가 실패하는 경우 요청 불가능 메시지를 서버에서 송화클라이언트로 전송하는 것을 포함하도록 구성되는 것이 바람직하다.In addition, the second step may be configured to include transmitting a request impossible message from the server to the calling client when the connection attempt fails due to the PSTN network.

또한, 상기 송화클라이언트 내지는 서버로 부터 음성을 실시간으로 전송하기 위해 500Byte ~ 2000Byte 단위로 레코딩된 음성데이터를 네트워크를 통해 전송할 때 음성데이터가 보내진 시간을 음성데이터패킷에 붙여 보내어, 서버측에서 시간적을 순차적으로 비교하여 실시간으로 재생하는 것을 특징으로 하는 유디피 프로토콜을 이용한 피씨 투 폰 방식 원거리 음성통화 시스템.In addition, when transmitting the voice data recorded in 500Byte ~ 2000Byte unit over the network in order to transmit the voice from the calling client or the server in real time, the voice data packet is sent to the voice data packet, and the server side sequentially PC-to-phone remote voice call system using the UD protocol, characterized in that the playback in real time compared to.

이에 따라, 사용자는 인터넷과 PSTN망을 이용한 음성통화시스템에 있어 컴퓨터 사운드 사용중이라도 사운드 충돌없이 통화를 할 수 있게 된다.Accordingly, in the voice call system using the Internet and the PSTN network, the user can make a call without sound collision even while using computer sound.

이하 첨부한 도면을 참조로 하여, 본 발명에 따른 유디피 프로토콜을 이용한 피씨 투 폰 방식 원거리 음성통화 시스템을 상세히 설명하기로 한다.Hereinafter, with reference to the accompanying drawings, it will be described in detail the PC to phone remote voice call system using the UI protocol according to the present invention.

도 1은 본 발명에 의한 유디피 프로토콜을 이용한 피씨 투 폰 방식 원거리 음성통화 시스템의 전체구성도이고, 도 2는 본 발명에 의한 유디피 프로토콜을 이용한 피씨 투 폰 방식 원거리 음성통화 시스템의 메세지 흐름도이다.1 is an overall configuration diagram of a PC-to-phone remote voice call system using the UPD protocol according to the present invention, Figure 2 is a message flow diagram of a PC-to-phone remote voice call system using the UPD protocol according to the present invention. .

먼저, 1단계(S1)를 설명하기로 한다. 상기 1단계(S1)는 송화클라이언트(100)가 인터넷에 연결된 서버(200)에 통화하고자 하는 수화자(300)의 수신번호로 연결 요청하는 단계이다.First, step 1 (S1) will be described. The first step (S1) is a step in which the calling client 100 requests the connection to the server 200 connected to the Internet to the receiving number of the called party 300 to call.

다음, 2단계(S2)를 설명하기로 한다. 상기 서버(200)에 요청된 수신번호로 수화자(300)에 연결을 시도하는 단계이다.Next, the second step (S2) will be described. Attempting to connect to the called party 300 using the received number requested by the server 200.

다음, 3단계(S3)를 설명하기로 한다. 상기에서 연결 요청받은 수화자(300)가 상기 서버(200)로 연결 응답신호를 보내는 단계이다.Next, step 3 (S3) will be described. The receiver 300 who has received the connection request sends a connection response signal to the server 200.

다음, 4단계(S4)를 설명하기로 한다. 상기 전달된 응답신호에 따라 상기 서버(200)가 상기 송화클라이언트(100)에게 연결 완료메세지를 보내는 단계이다.Next, step 4 (S4) will be described. The server 200 sends a connection completion message to the call client 100 according to the transmitted response signal.

상기 1단계 내지는 4단계는 종래에 PC-to-Phone방식에서는 일반적인 기술에 해당하므로 상세한 설명은 생략하기로 한다.Steps 1 to 4 are conventional techniques in the PC-to-Phone method, so detailed description thereof will be omitted.

다음, 5단계(S5)를 설명하기로 한다. 상기 완료메세지가 보내진 상기 송화클라이언트(100)는 음성을 실시간, 양방향으로 레코딩과 재생을 위한 버퍼를 준비하는 단계이다. 상기 4단계에서 전송된 연결 완료메세지에 따라 전화통화를 할 수 있도록 준비하는 단계이다. 즉, 송화클라이언트(100)에서 수화자(300)로 전달되는 음성을 녹음하기 위한 녹음 버퍼와 수화자(300)에게서 송화클라이언트(100)로 전달되는 음성을 재생하기 위한 재생 버퍼를 준비하게 된다. 이후,송화클라이언트(100) 내지는 수화자(300)의 음성이 입력을 기다리게 된다.Next, step 5 (S5) will be described. The call client 100, to which the completion message is sent, prepares a buffer for recording and reproducing voice in real time and in both directions. A step of preparing to make a phone call according to the connection complete message sent in step 4. That is, a recording buffer for recording the voice transmitted from the talk client 100 to the talker 300 and a playback buffer for reproducing the voice transmitted from the talker 300 to the talk client 100 are prepared. Thereafter, the voice of the calling client 100 or the called party 300 waits for input.

도 3은 본 발명에 의한 유디피 프로토콜을 이용한 피씨 투 폰 방식 원거리 음성통화 시스템의 음성녹음 흐름도이다.3 is a voice recording flowchart of a PC to phone remote voice call system using the UPD protocol according to the present invention.

다음, 6단계(S6)를 설명하기로 한다. 상기 송화클라이언트(100)로 입력된 음성데이터를 버퍼에 저장하고, 유디피 프로토콜을 이용하여 상기 서버(200)로 전송하는 단계이다. 상기 5단계(S5)에서 송화클라이언트(100) 측의 음성이 컴퓨터 주변기기인 마이크를 통해 입력되면, 사운드카드의 입력되고, 사운드캡쳐스트림(Sound Capture Stream)을 통하여 사용자의 음성을 캡쳐하고, 상기 캡쳐된 음성든 웨이브 스트림(Wave Stream)을 통해 복사되고, 메모리 스트림(Memory Stream)을 통해 저장된다. 상기에서 저장된 사용자 음성은 포트번호 2020 인 UDP프로토콜로 전달되고 네트워크를 통해 서버(200)로 보내지게 된다.Next, six steps (S6) will be described. The voice data input to the call client 100 is stored in a buffer, and is transmitted to the server 200 by using a UIP protocol. When the voice of the calling client 100 is input through a microphone, which is a computer peripheral device, in step 5 (S5), the sound card is input, and the user's voice is captured through the sound capture stream. All voices are copied through a wave stream and stored through a memory stream. The stored user voice is transmitted to the UDP protocol having the port number 2020 and sent to the server 200 through the network.

도 4는 본 발명에 의한 유디피 프로토콜을 이용한 피씨 투 폰 방식 원거리 음성통화 시스템의 음성녹음 재생도이다.4 is a voice recording reproduction diagram of a PC-to-phone remote voice call system using the UDPI protocol according to the present invention.

다음, 7단계(S7)를 설명하기로 한다. 상기 서버(200)로 전송된 송화클라이언트(100)의 음성데이터를 음성압축보드(500)로 전달하고, PSTN(400)망을 통해 수화자(300)의 전화로 전송하는 단계이다. 상기 서버(200)는 포트번호 2021로 부터 전해지는 송화클라이언트(100) 사용자의 음성을 스트림(Stream)형태로 입력받게 된다. 입력된 스트림(Stream)은 메모리스트림(Memory Stream)으로 저장되고, 다시 웨이브 스트림(Wave Stream)으로 복사된다. 이때, 음성 재생은 웨이브 스트림(Wave Stream)의 크기가 4,500Bytes(0.5초)를 넘는 시점부터 재생하게 되며,크기가 4,500Bytes를 넘지 않으면 Wave Stream으로 저장된다. 상기에서 웨이브 스트림(Wave Stream)이 4,500Bytes를 넘어 재생을 하게 되면 상기 웨이브 스트림은 사운드 카드의 출력단자로 출력되고, PSTN(400)망을 통해 수화자(300)의 수화기로 송화클라이언트(100) 측의 음성이 전달된다.Next, step 7 (S7) will be described. The voice data of the calling client 100 transmitted to the server 200 is transmitted to the voice compression board 500 and transmitted to the telephone receiver 300 through the PSTN 400 network. The server 200 receives the voice of the user of the calling client 100 transmitted from the port number 2021 in the form of a stream. The input stream is stored as a memory stream and copied back into a wave stream. At this time, the voice playback is started from the time point when the size of the wave stream (Wave Stream) exceeds 4,500Bytes (0.5 seconds), and is stored as a Wave Stream if the size does not exceed 4,500Bytes. When the wave stream is reproduced beyond 4,500 bytes, the wave stream is output to the output terminal of the sound card, and the call client 100 is connected to the receiver of the receiver 300 through the PSTN 400 network. The voice of the side is transmitted.

다음, 8단계(S8)를 설명하기로 한다. 상기 수화자(300)의 음성은 PSTN(400)망을 통해 상기 서버(200)의 음성압축보드(500)로 전달되고, 상기 서버(200)는 전달된 음성을 유디피 프로토콜을 이용하여 송화클라이언트(100)로 전송하는 단계이다. 상기 8단계(S8)는 상기 7단계(S7)와 같이, 상기 서버(200)는 포트번호 2021로 부터 전해지는 수화자(300)의 음성을 스트림(Stream)형태로 입력받게 된다. 입력된 스트림(Stream)은 메모리스트림(Memory Stream)으로 저장되고, 다시 웨이브 스트림(Wave Stream)으로 복사된다. 이때, 음성 재생은 웨이브 스트림(Wave Stream)의 크기가 4,500Bytes(0.5초)를 넘는 시점부터 재생하게 되며, 크기가 4,500Bytes를 넘지 않으면 Wave Stream으로 저장된다. 상기에서 웨이브 스트림(Wave Stream)이 4,500Bytes를 넘어 재생을 하게 되면 상기 웨이브 스트림은 사운드 카드의 출력단자로 출력되고, 상기 송화클라이언트(100) 사용자는 수화자(300)의 음성을 듣게 된다.Next, eight steps (S8) will be described. The voice of the called party 300 is transmitted to the voice compression board 500 of the server 200 through the PSTN 400 network, and the server 200 transmits the transmitted voice using a UIP protocol. The step of transmitting to 100. In the eighth step S8, as in the seventh step S7, the server 200 receives the voice of the called party 300 transmitted from the port number 2021 in the form of a stream. The input stream is stored as a memory stream and copied back into a wave stream. At this time, the voice playback is started from the point of time when the size of the wave stream (Wave Stream) exceeds 4,500Bytes (0.5 seconds), and is stored as a Wave Stream if the size does not exceed 4,500Bytes. When the wave stream is reproduced beyond 4,500 bytes, the wave stream is output to the output terminal of the sound card, and the user of the talk client 100 hears the voice of the talker 300.

다음, 9단계(S9)를 설명하기로 한다. 상기 서버(200)에서 전송된 수화자(300)의 음성을 음성재생 버퍼에서 수신하여 음성을 재생하고, 상기 송화클라이언트(100)에서 수신된 일정 분량의 음성녹음 버퍼를 실시간 음성데이터로 재생하고, 재생이 끝난 버퍼를 다음에 사용할 수 있도록 버퍼의 내용을 삭제하고 큐의가장 마지막에 위치하도록 하여 버퍼에 음성데이터가 축적되는 것을 방지하는 단계이다.Next, step 9 (S9) will be described. Receives the voice of the talker 300 transmitted from the server 200 in the voice playback buffer to play the voice, and reproduces a predetermined amount of the voice recording buffer received from the talk client 100 as real-time voice data, This step is to prevent the accumulation of audio data in the buffer by deleting the contents of the buffer so that it can be used later.

이하에서는, 상기 본 발명에 의한 유디피 프로토콜을 이용한 피씨 투 폰 방식 원거리 음성통화 시스템을 사용한 실시예를 설명하기로 한다.Hereinafter, an embodiment using the PC-to-phone remote voice call system using the UIP protocol according to the present invention will be described.

먼저, 사용자는 송화클라이언트(100) 시스템을 사용하여 서버(200)에 접속하게 된다. 여기서, 송화클라이언트(100)는 네트워크에 연결된 상태에서 인터넷 브라우저를 실행시키고, URL을 입력하여 상기 서버(200)에 접속하게 된다. 이때, 상기 서버(200)는 사용자 정보를 입력받아 상기 서버(200)에 저장된 사용자 데이터베이스를 검색하여 사용자 확인을 하게 된다. 상기 확인 과정 후, 사용자는 송화클라이언트(100)시스템에서 자신이 연결하고자 하는 전화번호를 입력하고, 상기 서버(200)에 전화 연결을 요청하게 된다. 이에 따라, 상기 서버(200)는 상기 송화클라이언트(100)에 의해 입력된 전화번호로 수화자(300)에게 연결신호음을 보내 전화연결을 시도하게 된다. 그리고, 상기 수화자(300)가 연결신호음을 인지하고, 이때, 수화자는 수화기를 들거나 수화버튼을 누름으로써 상기 연결신호음에 응답을 하게 된다. 상기 응답신호는 상기 서버(200)로 전송되고, 상기 서버(200)는 송화클라이언트(100)로 응답신호를 보내게 된다. 따라서, 상기 송화클라이언트(100) 시스템은 사용자의 음성을 녹음하고, 수화자(300)의 음성을 재생하기 위한 버퍼를 할당하게 된다.First, a user connects to the server 200 using the call client 100 system. Here, the calling client 100 is connected to the server 200 by executing an Internet browser in a state connected to the network, inputting a URL. In this case, the server 200 receives user information and searches a user database stored in the server 200 to confirm the user. After the checking process, the user enters a phone number to which he or she wants to connect in the calling client 100 system, and requests the server 200 to make a telephone connection. Accordingly, the server 200 attempts to make a telephone call by sending a ring tone to the called party 300 to the telephone number input by the calling client 100. In addition, the receiver 300 recognizes the ringing tone, and in this case, the receiver responds to the ringing tone by picking up the handset or pressing a handset button. The response signal is transmitted to the server 200, and the server 200 sends a response signal to the talk client 100. Accordingly, the call client 100 system records a user voice and allocates a buffer for reproducing the voice of the talker 300.

먼저, 음성녹음은 다음과 같은 과정을 거치게 된다. 상기 송화클라이언트(100)의 사용자는 컴퓨터의 주변기기인 마이크를 통하여 자신의 음성을 입력하고, 상기 음성은 사운드카드의 입력단자로 입력되고, 사운드캡쳐스트림(Sound Capture Stream)을 통하여 사용자의 음성을 캡쳐하고, 상기 캡쳐된 음성든 웨이브 스트림(Wave Stream)을 통해 복사되고, 메모리 스트림(Memory Stream)을 통해 저장된다. 상기에서 저장된 사용자 음성은 포트번호 2020 인 UDP프로토콜로 전달되고 네트워크를 통해 서버(200)로 보내지게 된다.First, voice recording goes through the following process. The user of the talk client 100 inputs his / her voice through a microphone, which is a peripheral device of a computer, and the voice is input to an input terminal of a sound card and captures the user's voice through a sound capture stream. The captured voice is copied through a wave stream and stored through a memory stream. The stored user voice is transmitted to the UDP protocol having the port number 2020 and sent to the server 200 through the network.

그리고, 음성재생은 상기 서버(200)는 포트번호 2021로 부터 전해지는 수화자(300)의 음성을 스트림(Stream)형태로 입력받게 된다. 입력된 스트림(Stream)은 메모리스트림(Memory Stream)으로 저장되고, 다시 웨이브 스트림(Wave Stream)으로 복사된다. 이때, 음성 재생은 웨이브 스트림(Wave Stream)의 크기가 4,500Bytes(0.5초)를 넘는 시점부터 재생하게 되며, 크기가 4,500Bytes를 넘지 않으면 Wave Stream으로 저장된다. 상기에서 웨이브 스트림(Wave Stream)이 4,500Bytes를 넘어 재생을 하게 되면 상기 웨이브 스트림은 사운드 카드의 출력단자로 출력되고, 출력단자에 연결된 스피커를 통하여 외부로 음성을 전달하게 된다.In the voice playback, the server 200 receives the voice of the receiver 300 transmitted from the port number 2021 in the form of a stream. The input stream is stored as a memory stream and copied back into a wave stream. At this time, the voice playback is started from the point of time when the size of the wave stream (Wave Stream) exceeds 4,500Bytes (0.5 seconds), and is stored as a Wave Stream if the size does not exceed 4,500Bytes. When the wave stream is played back more than 4,500 bytes, the wave stream is output to the output terminal of the sound card and delivers the voice to the outside through a speaker connected to the output terminal.

그리고, 상기에서 언급된 음성녹음과 음성재생은 상기 송화클라이언트(100) 시스템 내의 버퍼상에서 녹음과 재생이 이루어지는 순간 해당 버퍼에 저장된 음성데이터를 삭제하고, 녹음과 재생에 준비된 버퍼의 가장 마지막 위치로 빈 버퍼로 위치하도록 하여 버퍼에 음성데이터가 축적되는 것을 방지하여 컴퓨터 사운드와 음성이 서로 충돌하지 않게 된다.In addition, the above-mentioned voice recording and voice reproduction delete the voice data stored in the buffer at the moment of recording and reproducing on the buffer in the talk client 100 system, and moves to the last position of the buffer prepared for recording and reproducing. Positioning the buffer prevents the accumulation of voice data in the buffer so that computer sound and voice do not collide with each other.

다음으로, 상기 서버(200)로 녹음된 송화클라이언트(100) 사용자의 음성은 음성압축보드를 통하여 PSTN(400)망을 통해 수화자(300)의 전화기로 음성을 전달된다.Next, the voice of the user of the calling client 100 recorded by the server 200 is transmitted to the telephone of the receiver 300 through the PSTN 400 network through the voice compression board.

상기와 같이, 수화자(300)의 음성은 PSTN(400)망을 통해 입력되고, 음성압축보드(500)를 통하여 서버(200)로 전달되어 상기 음성재생의 과정을 거쳐 송화클라이언트(100) 사용자에게 음성으로 전달된다.As described above, the voice of the caller 300 is input through the PSTN 400 network, transferred to the server 200 through the voice compression board 500, and the user of the call client 100 through the process of playing the voice. Is spoken to you.

이상 설명한 바와 같이, 버퍼에 음성데이터를 쌓이는 것을 방지하기 위해 버퍼상의 큐(Queue)를 실시간 재생하고, 삭제하여 원형 큐의 형식으로 계속 사용함으로써, 컴퓨터 사운드 사용 중 전화통화를 실행하더라도 사운드 충돌없이 음성을 전달할 수 있는 이점이 있다.As described above, in order to prevent the accumulation of voice data in the buffer, by real-time playing the queue on the buffer, deleting it and continuing to use it in the form of a circular queue, even if a telephone call is performed while using computer sound, the voice is not crashed. There is an advantage that can be delivered.

Claims (3)

인터넷과 PSTN망을 이용한 음성통화시스템에 있어서,In the voice call system using the Internet and PSTN network, 송화클라이언트가 인터넷에 연결된 서버에 수화자의 수신번호로 연결 요청하는 제 1단계;A first step of a calling client connecting to a server connected to the Internet using a called party's incoming number; 상기 서버에 요청된 수신번호로 수화자에 연결을 시도하는 제 2단계;A second step of attempting to connect to the called party with the received number requested by the server; 상기에서 연결 요청받은 수화자가 상기 서버로 연결 응답신호를 보내는 제 3단계;A third step in which the called party receiving the connection request sends a connection response signal to the server; 상기 전달된 응답신호에 따라 상기 서버가 상기 송화클라이언트에게 연결 완료메세지를 보내는 제 4단계;A fourth step of sending, by the server, a connection completion message to the call client according to the transmitted response signal; 상기 완료메세지가 보내진 상기 송화클라이언트는 음성을 실시간, 양방향으로 레코딩과 재생을 위한 버퍼를 준비하는 제 5단계;A fifth step of preparing a buffer for recording and reproducing the voice in real time and in both directions, wherein the call client to which the completion message has been sent is transmitted; 상기 송화클라이언트로 입력된 음성데이터를 버퍼에 저장하고, 유디피 프로토콜을 이용하여 상기 서버로 전송하는 제 6단계;A sixth step of storing the voice data input to the calling client in a buffer and transmitting the voice data to the server using a UDPI protocol; 상기 서버로 전송된 송화클라이언트의 음성데이터를 음성압축보드로 전달하고, PSTN망을 통해 수화자의 전화로 전송하는 제 7단계;A seventh step of transmitting the voice data of the calling client transmitted to the server to a voice compression board, and transmitting the voice data to the caller's telephone through a PSTN network; 상기 수화자의 음성은 PSTN망을 통해 상기 서버의 음성압축보드로 전달되고, 상기 서버는 전달된 음성을 유디피 프로토콜을 이용하여 송화클라이언트로 전송하는 제 8단계;An eighth step of transmitting the voice of the called party to a voice compression board of the server through a PSTN network, wherein the server transmits the transmitted voice to a calling client using a UIP protocol; 상기 서버에서 전송된 수화자의 음성을 음성재생 버퍼에서 수신하여 음성을재생하고, 상기 송화클라이언트에서 수신된 일정 분량의 음성녹음 버퍼를 실시간 음성데이터로 재생하고, 재생이 끝난 버퍼를 다음에 사용할 수 있도록 버퍼의 내용을 삭제하고 큐의 가장 마지막에 위치하도록 하여 버퍼에 음성데이터가 축적되는 것을 방지하는 제 9단계;를 포함하여 구성되는 것을 특징으로 하는 유디피 프로토콜을 이용한 피씨 투 폰 방식 원거리 음성통화 시스템.Receives the voice of the called party transmitted from the server in the voice playback buffer to play the voice, and reproduces a predetermined amount of the voice recording buffer received from the talk client as real time voice data, and uses the finished buffer for the next time. And a ninth step of preventing the accumulation of the voice data in the buffer by deleting the contents of the buffer and placing the buffer at the end of the queue. . 제 1항에 있어서,The method of claim 1, 상기 제 2단계는 PSTN망으로 인해 연결 시도가 실패하는 경우 요청 불가능 메시지를 서버에서 송화클라이언트로 전송하는 것을 포함하는 것을 특징으로 하는 유디피 프로토콜을 이용한 피씨 투 폰 방식 원거리 음성통화 시스템.The second step is a PC-to-phone long distance voice call system using a UPD protocol, characterized in that the server if the connection attempt fails due to the PSTN network to transmit a request impossible message from the server. 제 1항에 있어서,The method of claim 1, 상기 송화클라이언트 내지는 서버로 부터 음성을 실시간으로 전송하기 위해 500Byte ~ 3200Byte 단위로 레코딩된 음성데이터를 네트워크를 통해 전송할 때 음성데이터가 보내진 시간을 음성데이터패킷에 붙여 보내어, 서버측에서 시간적을 순차적으로 비교하여 실시간으로 재생하는 것을 특징으로 하는 유디피 프로토콜을 이용한 피씨 투 폰 방식 원거리 음성통화 시스템.To transmit the voice data recorded in 500Byte ~ 3200Byte units through the network to send the voice data from the calling client or the server in real time, the time when the voice data is sent is pasted to the voice data packet, and the time is sequentially compared on the server side. PC-to-phone remote voice call system using the UPD protocol, characterized in that to play in real time.
KR1020000010184A 2000-02-29 2000-02-29 sound transmission system using UDP protocol for PC-to-Phone method KR100342157B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020000010184A KR100342157B1 (en) 2000-02-29 2000-02-29 sound transmission system using UDP protocol for PC-to-Phone method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020000010184A KR100342157B1 (en) 2000-02-29 2000-02-29 sound transmission system using UDP protocol for PC-to-Phone method

Publications (2)

Publication Number Publication Date
KR20000024679A KR20000024679A (en) 2000-05-06
KR100342157B1 true KR100342157B1 (en) 2002-07-02

Family

ID=19651226

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020000010184A KR100342157B1 (en) 2000-02-29 2000-02-29 sound transmission system using UDP protocol for PC-to-Phone method

Country Status (1)

Country Link
KR (1) KR100342157B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10210074A (en) * 1997-01-17 1998-08-07 Secom Co Ltd Speaking system
KR20000025612A (en) * 1998-10-13 2000-05-06 구자홍 Method and apparatus for controlling multichannel voice data
KR20000025611A (en) * 1998-10-13 2000-05-06 구자홍 Method for processing data at real time in internet phone
KR20000039016A (en) * 1998-12-10 2000-07-05 이계철 Method for compensating delay of variable voice data using asynchronous access to voice buffer

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10210074A (en) * 1997-01-17 1998-08-07 Secom Co Ltd Speaking system
KR20000025612A (en) * 1998-10-13 2000-05-06 구자홍 Method and apparatus for controlling multichannel voice data
KR20000025611A (en) * 1998-10-13 2000-05-06 구자홍 Method for processing data at real time in internet phone
KR20000039016A (en) * 1998-12-10 2000-07-05 이계철 Method for compensating delay of variable voice data using asynchronous access to voice buffer

Also Published As

Publication number Publication date
KR20000024679A (en) 2000-05-06

Similar Documents

Publication Publication Date Title
JP2000504892A (en) Voice internet transmission system
JP4263839B2 (en) Voice mail system and recording medium recording program
WO2010000120A1 (en) Voice-video mailbox device and implementation method
KR100342157B1 (en) sound transmission system using UDP protocol for PC-to-Phone method
JP2007504755A (en) Internet telephone communication through the host
US20080123566A1 (en) Usb Storage Device with Ip Telephone Capable of Providing On-Line Contents
KR100729580B1 (en) Phone service network for providing additional services to a PSTN and Internet phone subscriber using VoIP gateway with interactive voice response function, and method for additional service thereof
US20110051718A1 (en) Methods and apparatus for delivering audio content to a caller placed on hold
JP2001230885A (en) Method and system for replying voice mail with remarks
EP1295443B1 (en) Method to assess the quality of a voice communication over packet networks
JP3352408B2 (en) Voice reception method
US7668156B2 (en) Apparatus and method for a voice portal
US20070253440A1 (en) Internet communication system and method
JP4006501B2 (en) Emergency emergency call system
KR100700706B1 (en) Method for providing collect call service in communication system and communication system of enabling the method
JPH11243427A (en) Method and device for selecting voice communication gateway considering overseas voice communication and recording medium with its program recorded therein
KR100345578B1 (en) network game system provided with the function of hearing the specific background music of the remote multi-user vioce communication
KR100343491B1 (en) Sound Transmission System for real time and ambidirection in using sound
KR100794127B1 (en) System and Method for Web to Phone Service of the Sender Allotment
JP2007189508A5 (en)
JP2002237891A (en) Telephone conversation recording system and voice recorder
KR100379327B1 (en) Web-enabled voice messaging system using internet real-time streaming technique and its service method
JP2000253136A (en) Voice mail transmitted via packet network
KR100439249B1 (en) Apparatus and method for controlling phone using internet
CA2286639A1 (en) Method of accessing messages

Legal Events

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

Payment date: 20070612

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee