KR100899440B1 - Method for providing VoIP service in private network and terminal unit thereof - Google Patents

Method for providing VoIP service in private network and terminal unit thereof Download PDF

Info

Publication number
KR100899440B1
KR100899440B1 KR1020070064150A KR20070064150A KR100899440B1 KR 100899440 B1 KR100899440 B1 KR 100899440B1 KR 1020070064150 A KR1020070064150 A KR 1020070064150A KR 20070064150 A KR20070064150 A KR 20070064150A KR 100899440 B1 KR100899440 B1 KR 100899440B1
Authority
KR
South Korea
Prior art keywords
address
network
private
terminal
public
Prior art date
Application number
KR1020070064150A
Other languages
Korean (ko)
Other versions
KR20090002391A (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 KR1020070064150A priority Critical patent/KR100899440B1/en
Publication of KR20090002391A publication Critical patent/KR20090002391A/en
Application granted granted Critical
Publication of KR100899440B1 publication Critical patent/KR100899440B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/256NAT traversal

Abstract

본 발명은 사설 주소를 사용하는 망에서 VoIP 서비스를 제공하는 방법 및 이를 구현하는 단말장치에 관한 것이다.The present invention relates to a method for providing VoIP service in a network using a private address, and a terminal device for implementing the same.

본 발명에 따르면, 발신 단말은 자신이 속한 사설망으로부터 할당받은 제1 사설 주소 및 제1 사설 주소에 매핑되는 공인 주소를 소스 주소에 수록하여 세션 개시 요청 메시지를 전송한다.According to the present invention, the originating terminal transmits a session initiation request message by including a first private address allocated from its own private network and a public address mapped to the first private address in a source address.

착신 단말은 수신되는 세션 개시 요청 메시지의 소스 주소에 포함된 제2 사설 주소 및 제2 사설 주소에 매핑되는 제2 공인 주소를 이용하여 자신이 속한 사설망과 세션 개시 요청 메시지를 전송한 발신자가 속한 사설망의 동일 여부를 확인한다. 착신 단말은 발/착신망이 동일한 경우에는 제1 사설 주소가 포함된 세션 개시 응답 메시지를 전송하고 동일하지 않은 경우에는 제1 공인 주소가 포함된 세션 개시 응답 메시지를 전송한다.The called terminal uses the second private address included in the source address of the received session initiation request message and the private network to which the sender who sent the session initiation request message belongs to the private network to which the second private address is mapped. Check if the same. The called terminal transmits the session start response message including the first private address when the calling / called network is the same, and transmits the session start response message including the first public address if it is not the same.

이와 같이, 발/착신 단말 간에 자망 또는 타망 여부를 식별하여 세션을 개시하므로 종래에 동일망 내에 있을 경우에도 수행되던 불필요한 응용 계층 주소 변환 및 네트워크 주소 변환기의 헤어핀 동작 불가 현상을 방지할 수 있다.As such, since a session is initiated by identifying whether a network is self or other between the originating / receiving terminals, unnecessary application layer address translation and hairpin operation of the network address translator, which are conventionally performed even in the same network, can be prevented.

사설망, 타망, 자망, VoIP 서비스  Private network, other network, own network, VoIP service

Description

사설 주소를 사용하는 망에서 VoIP 서비스를 제공하는 방법 및 이를 구현하는 단말장치{Method for providing VoIP service in private network and terminal unit thereof}Method for providing VoIP service in a network using a private address, and a terminal device for implementing the same {Method for providing VoIP service in private network and terminal unit}

도 1은 종래기술에 따른 사설 주소를 사용하는 망에서 VoIP 서비스를 제공하는 시스템의 구성도이다.1 is a block diagram of a system for providing VoIP service in a network using a private address according to the prior art.

도 2는 본 발명의 실시예에 따른 사설 주소를 사용하는 망에서 VoIP 서비스를 제공하는 시스템의 구성도이다.2 is a block diagram of a system for providing VoIP service in a network using a private address according to an embodiment of the present invention.

도 3은 본 발명의 실시예에 따른 사설 주소를 사용하는 망에서 VoIP 서비스를 제공하는 방법의 흐름도이다.3 is a flowchart of a method for providing VoIP service in a network using a private address according to an embodiment of the present invention.

도 4는 본 발명의 실시예에 따른 사설 주소를 사용하는 망에서 VoIP 서비스를 제공하는 단말장치의 구성을 나타낸 블록도이다.4 is a block diagram showing the configuration of a terminal apparatus for providing VoIP service in a network using a private address according to an embodiment of the present invention.

본 발명은 사설 주소를 사용하는 망에서 VoIP 서비스를 제공하는 방법 및 이를 구현하는 단말장치에 관한 것이다. 더욱 상세하게는, 네트워크 주소 변환(Network Address Translation, 이하 “NAT”라 기술함)을 사용하는 사설망에서 어플리케이션 계층 게이트웨이(Application Layer Gateway, 이하 ‘ALG’라 기술함)를 이용하여 VoIP 서비스를 제공하는 방법 및 이를 구현하는 단말장치에 관한 것이다.The present invention relates to a method for providing VoIP service in a network using a private address, and a terminal device for implementing the same. More specifically, in a private network using Network Address Translation (hereinafter, referred to as “NAT”), a VoIP service is provided using an Application Layer Gateway (hereinafter, referred to as “ALG”). It relates to a method and a terminal device for implementing the same.

VoIP(Voice over Internet Protocol)는 인터넷 프로토콜(Internet Protocol, 이하 “IP”라 기술함)을 사용하여 음성 정보를 전달하는 인터넷 전화 기술이다. VoIP에는 SIP(Session Initiation Protocol), MGCF(Media Gateway Control Protocol), H.323 프로토콜 등이 정의되어 있다. 이 중에서 SIP는 간단한 텍스트 기반의 응용 계층 제어 프로토콜로서, 하나 이상의 참가자들이 함께 세션을 생성/수정/종료할 수 있게 한다.Voice over Internet Protocol (VoIP) is an Internet telephony technology that delivers voice information using the Internet Protocol (hereinafter referred to as "IP"). In VoIP, Session Initiation Protocol (SIP), Media Gateway Control Protocol (MGCF), and H.323 protocol are defined. SIP is a simple, text-based application layer control protocol that allows one or more participants to create / modify / end sessions together.

대부분의 망 사업자들은 부족한 공인(Global) IP 주소의 확보 및 자(自)망의 안정성 확보 등을 이유로 NAT를 이용한다. NAT는 자망의 사설(Private) IP 주소 또는 TCP(Transmission Control Protocol)/UDP(User Datagram Protocol)의 포트 번호를 각각 공인 IP 주소 또는 포트로 변환하는 기술로서, 이종(異種)망간의 연동을 가능하게 한다.Most network operators use NAT because of the lack of global IP addresses and the security of their networks. NAT is a technology that converts a private IP address or a port number of Transmission Control Protocol (TCP) / UDP (User Datagram Protocol) into a public IP address or port, respectively, to enable interworking between heterogeneous networks. do.

그런데 NAT는 OSI(Open System Interconnection) 모델의 3계층 헤더(Source IP) 및 4계층 헤더(Source Port)까지만 분석이 가능하고 그 보다 상위 계층인 SDP(Session Description Protocol) 내 주소 정보는 분석하지 못한다. However, NAT can analyze only Layer 3 (Source IP) and Layer 4 (Source Port) headers of the Open System Interconnection (OSI) model, and does not analyze address information in the Session Description Protocol (SDP).

이와 같이, NAT의 변환 영역이 IP 계층에 국한되므로 실제 미디어 전송을 위한 주소 정보를 SDP에 수록하는 SIP 프로토콜을 이용할 경우 이종(異種)망간의 연동이 불가능한 상황이 발생한다. 이러한 상황을 “NAT-Traversal”의 문제라고 한 다. As described above, since the NAT translation area is limited to the IP layer, a situation in which interworking between heterogeneous networks is impossible when using the SIP protocol for recording address information for actual media transmission in the SDP occurs. This situation is called the problem of “NAT-Traversal”.

ALG 기술은 바로 이러한 “NAT-Traversal” 문제를 해결하기 위해 제시된 방안이다. ALG 기술은 OSI의 응용 계층 주소 변환을 수행하여 사설망과 공인망간에 SIP 프로토콜을 이용한 통신을 가능하게 한다. ALG technology is the proposed solution to this "NAT-Traversal" problem. ALG technology enables application layer address translation of OSI to enable communication using the SIP protocol between private and public networks.

도 1은 종래기술에 따른 사설 주소를 사용하는 망에서 VoIP 서비스를 제공하는 시스템의 구성도이다.1 is a block diagram of a system for providing VoIP service in a network using a private address according to the prior art.

도 1에 따르면, 발신 단말(10) 및 착신 단말(20)은 각각 사설망(30)에 접속되는 단말로서, 발신 단말(10)은 착신 단말(20)이 동일한 망에 속하는지 여부를 확인할 방법이 없다. 따라서, 발신 단말(10)은 착신 단말(20)이 속한 망이 타(他)망이라고 일단 간주하고 ALG 동작을 수행한다.According to FIG. 1, the calling terminal 10 and the called terminal 20 are terminals connected to the private network 30, respectively, and the calling terminal 10 checks whether the called terminal 20 belongs to the same network. none. Therefore, the calling terminal 10 assumes that the network to which the called terminal 20 belongs is another network and performs the ALG operation.

즉 발신 단말(10)은 스턴 서버(50)로부터 발신 단말(100)의 사설 주소에 대해 네트워크 주소 변환기(40)가 할당할 공인 주소에 대한 정보를 수신한다. 스턴 프로토토콜은 스턴(STUN, Simple Traversal of User Datagram Protocol(UDP) through Network Address Translators(NATs) 방식의 “클라이언트-서버” 프로토콜이다.That is, the originating terminal 10 receives the information on the public address to be assigned by the network address translator 40 with respect to the private address of the originating terminal 100 from the stun server 50. Stern protocol is a "client-server" protocol based on STUN (Simple Traversal of User Datagram Protocol) through Network Address Translators (NATs).

발신 단말(10)은 스턴 서버(50)로부터 제공받은 공인 주소를 호스트 주소로 하여 착신 단말(20)에게 세션 개시를 요청한다. 착신 단말(20)은 목적지 주소를 발신 단말(10)의 공인 주소로 하여 세션 개시 요청에 대한 응답을 전송한다. The calling terminal 10 requests the called terminal 20 to start a session using the public address provided from the stun server 50 as a host address. The called terminal 20 transmits a response to the session start request using the destination address as the public address of the calling terminal 10.

이때, 네트워크 주소 변환기(40)는 착신 단말(20)로부터 수신한 세션 개시 응답의 목적지 주소가 공인 주소이므로 사설망 외부의 망(도면에는 도시 되지 않 음)으로 라우팅을 수행한다. 그런데 세션 개시를 요청한 발신 단말(10)은 사설망 내에 존재하므로 발신 단말(10)은 세션 개시 응답을 수신하지 못하여 세션 개시 절차는 실패하게 된다. 이와 같이 세션 개시 절차가 실패하게 되는 것을 헤어핀(Hairpin) 동작 불가라 한다. At this time, the network address translator 40 performs routing to a network (not shown) outside the private network since the destination address of the session start response received from the called terminal 20 is a public address. However, since the originating terminal 10 requesting the session initiation exists in the private network, the originating terminal 10 does not receive the session initiation response and the session initiation procedure fails. The failure of the session initiation procedure as described above is called hairpin operation.

종래에는 발신 단말(10)이 세션 개시에 실패하면 턴 방식으로 전환하여 세션 개시를 다시 수행한다. Conventionally, when the originating terminal 10 fails to start a session, the calling terminal 10 switches to a turn method and performs session initiation again.

따라서, 세션 개시 절차의 실패, 턴 방식으로 전환하여 세션 개시 재수행이 이루어지는 동안의 호 지연이 발생한다. 또한, 동일한 망에 존재하는데도 불구하고 턴 방식을 이용하는 것은 단말간 직접 송/수신을 하는 것에 비해 비효율적이다.Therefore, a call delay occurs during the failure of the session initiation procedure, the switching to the turn method, and the resumption of session initiation. In addition, using the turn method despite being in the same network is inefficient compared to performing direct transmission / reception between terminals.

그러므로, 본 발명이 이루고자 하는 기술적 과제는 발/착신 단말간에 서로 동일한 망에 존재하는지 여부를 확인한 후 ALG 변환을 수행하는 사설 주소를 사용하는 망에서 VoIP 서비스를 제공하는 방법 및 이를 구현하는 단말장치를 제공하는 것이다.Therefore, a technical problem to be achieved by the present invention is to provide a VoIP service in a network using a private address for performing ALG translation after checking whether the originating and terminating terminals exist in the same network, and a terminal apparatus implementing the same. To provide.

상기 기술한 바와 같은 과제를 이루기 위하여 본 발명의 특징에 따른 VoIP 서비스 제공 방법은,
공인주소를 사용하는 공인망 및 각각의 사설주소를 사용하는 사설망이 각각의 네트워크 주소 변환기를 통해 연동하는 네트워크 환경에서 착신 단말이 VoIP 서비스를 제공하는 방법에 있어서, 발신 단말에게 할당된 제1 사설 주소 및 상기 제1 사설 주소에 매핑되는 제1 공인 주소를 포함하는 세션 개시 요청을 상기 발신 단말로부터 수신하는 단계; 상기 제1 사설 주소 및 상기 제1 공인 주소를 상기 착신 단말이 할당받은 제2 사설 주소 및 상기 제2 사설 주소에 매핑되는 제2 공인 주소와 비교하여 상기 발신 단말과 상기 착신 단말이 동일한 망에 위치하는지를 확인하는 단계; 동일한 경우, 상기 제2 사설 주소가 포함된 세션 개시 응답을 상기 발신 단말에게 전송하는 단계; 동일하지 않은 경우, 상기 제2 공인 주소가 포함된 세션 개시 응답을 상기 발신 단말에게 전송하는 단계를 포함하고, 상기 발신 단말은, 상기 착신 단말로부터 수신된 세션 개시 응답에 상기 제2 사설 주소가 포함되어 있는 경우 상기 제1 사설 주소를 사용하여 상기 착신 단말과 통신을 개시하고 상기 착신 단말로부터 수신된 세션 개시 응답에 상기 제2 공인 주소가 포함되어 있는 경우 상기 제1 공인 주소를 사용하여 상기 착신 단말과 통신을 개시하는 것을 특징으로 한다.
VoIP service providing method according to a feature of the present invention in order to achieve the above problems,
A method of providing a VoIP service by a called terminal in a network environment in which a public network using a public address and a private network using each private address interwork through respective network address translators, the first private address assigned to a calling terminal And receiving, from the originating terminal, a session initiation request that includes a first public address mapped to the first private address. The calling terminal and the called terminal are located in the same network by comparing the first private address and the first public address with a second private address assigned by the called terminal and a second public address mapped to the second private address. Checking whether it is; If the same, sending a session start response including the second private address to the calling terminal; And if not the same, transmitting a session start response including the second public address to the calling terminal, wherein the calling terminal includes the second private address in the session start response received from the called terminal. The first private address is used to initiate communication with the called terminal, and when the session initiation response received from the called terminal includes the second public address, the called terminal using the first public address It is characterized in that the communication with the start.

삭제delete

본 발명의 특징에 따른 단말장치는,
공인주소를 사용하는 공인망 및 각각의 사설주소를 사용하는 사설망이 각각의 네트워크 주소 변환기를 통해 연동하는 네트워크 환경에서 VoIP 서비스를 제공하는 단말장치에 있어서, 자신이 속한 사설망으로부터 할당받은 제1 사설 주소 및 상기 제1 사설 주소에 매핑되는 제1 공인 주소가 포함된 세션 개시 요청을 착신자에게 전송하는 발신 처리부; 및 수신되는 세션 개시 요청에 포함된 세션 개시 요청 발신자의 제2 사설 주소 및 상기 제2 사설 주소에 매핑되는 제2 공인 주소를 이용하여 상기 자신이 속한 사설망과 상기 세션 개시 요청 발신자가 속한 사설망이 동일한지를 판단하고, 동일한 경우 상기 제1 사설 주소가 포함된 세션 개시 응답을 전송하고 동일하지 않은 경우 상기 제1 공인 주소가 포함된 세션 개시 응답을 상기 세션 개시 요청 발신자에게 전송하는 착신 처리부를 포함하고, 상기 발신 처리부는, 상기 착신자로부터 수신되는 세션 개시 응답에 상기 착신자의 사설 주소가 포함된 경우 상기 제1 사설 주소를 사용하여 상기 착신자와 통신을 개시하고 상기 착신자로부터 수신되는 세션 개시 응답에 상기 착신자의 공인 주소가 포함된 경우 상기 제1 공인 주소를 사용하여 상기 착신자와 통신을 개시하는 것을 특징으로 한다.
Terminal device according to a feature of the invention,
A terminal device providing VoIP service in a network environment in which a public network using a public address and a private network using each private address interwork with each network address translator, the first private address allocated from a private network to which the private network belongs And an origination processor for transmitting a session initiation request including a first public address mapped to the first private address to a called party. And a private network to which the private network to which the session initiation request originator belongs is identical to the private network to which the session initiation request originator belongs by using a second private address of the session initiation request originator included in the received session initiation request and a second public address mapped to the second private address. And a call processing unit for transmitting a session start response including the first private address to the session start request sender including the first public address if not the same, and transmitting the session start response including the first public address to the sender. The origination processing unit, when the session initiation response received from the called party includes the private address of the called party, initiates communication with the called party using the first private address and sends the session initiation response received from the called party to the called party. If a public address is included, use the first public address to communicate with the called party. A characterized in that it discloses.

삭제delete

아래에서는 첨부한 도면을 참고로 하여 본 발명의 실시예에 대하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상 세히 설명한다. 그러나 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시예에 한정되지 않는다. 그리고 도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다.DETAILED DESCRIPTION Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art may easily implement the present invention. As those skilled in the art would realize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present invention. In the drawings, parts irrelevant to the description are omitted in order to clearly describe the present invention, and like reference numerals designate like parts throughout the specification.

명세서 전체에서, 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있는 것을 의미한다. 또한, 명세서에 기재된 "…부", “…모듈”은 적어도 하나의 기능이나 동작을 처리하는 단위를 의미하며, 이는 하드웨어나 소프트웨어 또는 하드웨어 및 소프트웨어의 결합으로 구현될 수 있다.Throughout the specification, when a part is said to "include" a certain component, it means that it can further include other components, without excluding other components unless specifically stated otherwise. In addition, "… part" described in the specification, Module ”means a unit for processing at least one function or operation, which may be implemented as hardware or software or a combination of hardware and software.

이제, 본 발명의 실시예에 따른 사설 주소를 사용하는 망에서 VoIP 서비스를 제공하는 방법 및 이를 구현하는 단말장치에 대하여 도면을 참고로 하여 상세하게 설명한다. Now, a method for providing a VoIP service in a network using a private address according to an embodiment of the present invention and a terminal apparatus implementing the same will be described in detail with reference to the accompanying drawings.

도 2는 본 발명의 실시예에 따른 사설 주소를 사용하는 망에서 VoIP 서비스를 제공하는 시스템의 구성도이다.2 is a block diagram of a system for providing VoIP service in a network using a private address according to an embodiment of the present invention.

도 2에 따르면, VoIP 서비스 제공 시스템은 발/착신 단말(100’, 100”), 사설망(200), 응용 계층 게이트웨이 서버(300), 네트워크 주소 변환기(400) 및 스턴 서버(500)를 포함한다.According to FIG. 2, the VoIP service providing system includes originating / receiving terminals 100 ′ and 100 ″, a private network 200, an application layer gateway server 300, a network address translator 400, and a stun server 500. .

발/착신 단말(100’, 100”)은 패킷 기반의 유/무선 단말로서 SIP 기반의 VoIP 서비스를 제공할 수 있다.The originating / receiving terminal 100 ', 100 ”may provide a SIP-based VoIP service as a packet-based wired / wireless terminal.

사설망(200)은 사설 주소를 사용하는 망으로서 발신 단말(100’) 및 착신 단 말(100”)이 접속된 사설망(200)은 서로 같거나 다를 수 있다.The private network 200 is a network using a private address, and the private network 200 to which the calling terminal 100 'and the called terminal 100 "are connected may be the same or different.

응용 계층 게이트웨이 서버(300)는 네트워크 주소 변환기(400)가 인식하지 못하는 OSI 모델의 응용 계층의 주소 정보를 분석 및 변환하는 서버이다.The application layer gateway server 300 is a server that analyzes and converts address information of the application layer of the OSI model that the network address translator 400 does not recognize.

응용 계층 게이트웨이 서버(300)는 사설망(200)에 위치하여 사설 주소 및 정적 공인 주소를 할당받는다. 이때, 응용 계층 게이트웨이 서버(300)는 발/착신 단말(100’, 100”)과 동일한 사설망(200)일 수도 있고 다를 수도 있다.The application layer gateway server 300 is located in the private network 200 and assigned a private address and a static public address. In this case, the application layer gateway server 300 may be the same private network 200 as the originating / receiving terminal 100 ′, 100 ″, or may be different.

응용 계층 게이트웨이 서버(300)는 발/착신 단말(100’, 100”)에 탑재된“SIP-클라이언트”에 대응되는 서버 기능을 수행한다.The application layer gateway server 300 performs a server function corresponding to the "SIP-client" mounted on the originating and terminating terminals 100 'and 100 ".

네트워크 주소 변환기(400)는 NAT(Network Address Translation) 기술이 구현된 장치로서 사설망(200)의 경계에 위치하여 패킷의 헤더에 포함된 사설 주소를 공인 주소로 변환한다.The network address translator 400 is a device in which NAT (Network Address Translation) technology is implemented and is located at the boundary of the private network 200 to convert a private address included in a header of a packet into a public address.

스턴 서버(500)는 스턴(STUN, Simple Traversal of User Datagram Protocol(UDP) through Network Address Translators(NATs)) 프로토콜이 구현된 서버로서, 발/착신 단말(100’, 100”)에 탑재되는“스턴-클라이언트”에 대응되는 서버 기능을 수행한다. The stun server 500 is a server in which a STUN (Simple Traversal of User Datagram Protocol (UDP) through Network Address Translators (NATs)) protocol is implemented. Performs the server function corresponding to “Client”.

스턴 서버(500)는 네트워크 주소 변환기(400)의 외부에 위치하고 공인 주소를 할당받는다. Stern server 500 is located outside the network address translator 400 is assigned a public address.

스턴 서버(500)는 네트워크 주소 변환기(400) 하단에 위치하는 “스턴-클라이언트”가 네트워크 주소 변환기(400)의 존재 여부, 네트워크 주소 변환 타입 및 네트워크 주소 변환기(400)가 할당할 공인 주소에 대한 정보를 파악할 수 있게 한 다.Stern server 500 is a "stern-client" located at the bottom of the network address translator 400 for the existence of the network address translator 400, the type of network address translation and the public address to be assigned by the network address translator 400 Make sure you understand the information.

도 3은 본 발명의 실시예에 따른 사설 주소를 사용하는 망에서 VoIP 서비스를 제공하는 방법의 흐름도이다.3 is a flowchart of a method for providing VoIP service in a network using a private address according to an embodiment of the present invention.

도 3에 따르면, 발신 단말(도 2의 100’) 및 착신 단말(도 2의 100”) 각각은 스턴 서버(도 2의 500)와 스턴 바인딩 요청 메시지(STUN: Binding Request Message) 및 스턴 바인딩 응답 메시지(STUN: Binding Response Message)를 송/수신한다(S101, S103, S115, S117).According to FIG. 3, each of the calling terminal (100 ′ in FIG. 2) and the called terminal (100 ′ in FIG. 2) has a stun server (500 in FIG. 2), a stun binding request message (STUN), and a stun binding response. Send / receive a message (STUN: Binding Response Message) (S101, S103, S115, S117).

그리고 발신 단말(100’) 및 착신 단말(100”) 각각은 스턴 동작(S101, S103, S115, S117)을 통해 네트워크 주소 변환 타입 및 매핑 주소 1 또는 2를 획득한다(S105, S107, S119, S121). Each of the calling terminal 100 ′ and the called terminal 100 ″ obtains a network address translation type and a mapping address 1 or 2 through stun operations S101, S103, S115, and S117 (S105, S107, S119, and S121). ).

여기서, 네트워크 주소 변환 타입은 대칭적(Symmetric) 타입 및 비대칭적(Non-symmetric) 타입을 포함한다. 대칭적 타입에서는 특정 목적지 주소를 위해 생성된 매핑값은 다른 목적지 주소와의 연결을 위해 사용할 수 없다. 비대칭적 타입에서는 하나의 목적지 주소를 위해 생성된 매핑값을 다른 목적지 주소와의 연결을 위해 사용할 수 있다.Here, the network address translation type includes a symmetric type and a non-symmetric type. In the symmetric type, the mapping value generated for a specific destination address cannot be used to connect to another destination address. In the asymmetric type, the mapping value generated for one destination address can be used to connect with another destination address.

네트워크 주소 변환 타입이 대칭적 타입인 경우에는, 턴(TURN, Traversal Using Relay Network Address Translators(NATs)) 프로토콜을 이용한 패킷 전달에 의해 발/착신 단말(100’, 100”) 간에 통신을 수행한다. 턴 프로토콜을 이용한 통신 과정에 대해서는 본 발명의 실시예와 직접적인 관련이 없으므로 생략한다.When the network address translation type is a symmetric type, communication is performed between the originating and terminating terminals 100 'and 100' by packet transmission using a turn (TRA) protocol. The communication process using the turn protocol is omitted because it is not directly related to the embodiment of the present invention.

또한, 매핑 주소(Mapping Address, MA) 1, 2는 발/착신 단말(100’, 100”) 의 호스트 주소(Host Address, HA)에 대해 네트워크 주소 변환기(도 2의 400)가 할당한 공인 주소를 의미한다. In addition, the mapping addresses (MA) 1 and 2 are public addresses assigned by the network address translator (400 in FIG. 2) to host addresses (HA) of the originating / receiving terminals 100 'and 100 ”. Means.

발신 단말(100’) 및 착신 단말(100”) 각각은 응용 계층 게이트웨이 서버(300)와의 연결 상태를 확인한다(S109, S123). 연결 확인은 자신이 속한 사설망(200)에서 할당받은 각각의 호스트 주소와 S107, S121 단계에서 수신한 매핑 주소 1 또는 2를 이용하여 응용 계층 게이트웨이 서버(300)와의 연결성을 검사하는 방식으로 이루어진다. 검사 방식은 핑(Ping) 등의 방법이 이용될 수 있다. 상태 확인은 TCP(Transmission Control Protocol) 프로토콜을 사용하여 연결을 유지하거나 또는 UDP(User Datagram Protocol)를 사용하여 주기적인 갱신을 통해 이루어질 수 있다.Each of the calling terminal 100 ′ and the called terminal 100 ″ checks a connection state with the application layer gateway server 300 (S109 and S123). The connection confirmation is performed by checking connectivity with the application layer gateway server 300 by using each host address assigned in the private network 200 to which it belongs and the mapping address 1 or 2 received in steps S107 and S121. As the inspection method, a method such as ping may be used. Status checks can be made by maintaining a connection using the Transmission Control Protocol (TCP) protocol or through periodic updates using the User Datagram Protocol (UDP).

이때, 발신 단말(100’) 및 착신 단말(100”) 각각은 연결 상태 확인(S109, S123)을 통해 응용 계층 게이트웨이 서버(300)가 자신과 동일한 망인지 다른 망인지를 파악할 수 있다.At this time, each of the calling terminal 100 'and the called terminal 100' may determine whether the application layer gateway server 300 is the same network or another network through the connection state checks S109 and S123.

응용 계층 게이트웨이 서버(300)와의 연결이 확인되면 발신 단말(100’) 및 착신 단말(100”) 각각은 레지스터 메시지(Register)를 이용하여 SIP 등록을 요청(S111, S125)하고 그에 대한 응답(200 OK)을 수신(S113, S127)한다. S111 단계, S113 단계, S125 단계 및 S127 단계를 통해 발신 단말(100’) 및 착신 단말(100”) 각각은 응용 계층 게이트웨이 서버(300)에 자신의 위치 정보를 등록한다.When the connection with the application layer gateway server 300 is confirmed, each of the calling terminal 100 ′ and the called terminal 100 ″ requests SIP registration (S111, S125) and a response (200) using a register message (Register). OK) is received (S113, S127). In step S111, step S113, step S125, and step S127, each of the calling terminal 100 ′ and the called terminal 100 ″ registers its location information with the application layer gateway server 300.

이때, 응용 계층 게이트웨이 서버(300)의 주소 정보는 S109 단계 및 S123 단계에서 확인한 자망/타망 여부에 따라 사설 주소 또는 공인 주소가 이용된다.At this time, the address information of the application layer gateway server 300 is a private address or a public address is used depending on whether the network or other network identified in step S109 and step S123.

S105 단계 및 S119 단계에서 네트워크 주소 변환 타입이 비대칭적 타입인 것을 확인한 발/착신 단말(100’, 100”) 간에는 S107 단계 및 S121 단계에서 획득한 매핑 주소 1, 2를 이용하여 세션 연결이 이루어진다.In step S105 and step S119, the session connection is made between the calling / calling terminals 100 'and 100 "having confirmed that the network address translation type is an asymmetric type using the mapping addresses 1 and 2 obtained in steps S107 and S121.

먼저 발신 단말(100’)이 소스 주소에 자신이 속한 사설망(200)으로부터 할당받은 사설 주소인 호스트 주소와 S107 단계에서 획득한 매핑 주소 1을 기술한 인바이트 메시지(INVITE)를 전송하여 세션 초대를 요청한다(S129). 즉 미디어 수신을 위한 소스 주소를 나타내는 인바이트 메시지(INVITE)의 m/c line에 호스트 주소 및 매핑 주소 1이 수록될 수 있다.First, the originating terminal 100 'transmits an invite message (INVITE) describing the host address, which is a private address allocated from the private network 200 to which the source address belongs, and the mapping address 1 obtained in step S107, to send a session invitation. Request (S129). That is, the host address and the mapping address 1 may be included in the m / c line of the INVITE indicating the source address for media reception.

응용 계층 게이트웨이 서버(300)는 S129 단계에서 수신한 인바이트 메시지를 착신 단말(100”)에게 전달한다(S131).The application layer gateway server 300 transmits the invite message received in step S129 to the destination terminal 100 ″ (S131).

착신 단말(100”)은 180 Ringing 메시지를 응용 계층 게이트웨이 서버(300)에게 전송(S133)하고 응용 계층 게이트웨이 서버(300)는 수신한 180 Ringing 메시지를 발신 단말(100’)에게 전송한다(S135).The called terminal 100 ″ transmits a 180 ringing message to the application layer gateway server 300 (S133), and the application layer gateway server 300 transmits the received 180 ringing message to the calling terminal 100 ′ (S135). .

착신 단말(100”)은 발신 단말(100’)의 호스트 주소 및 매핑 주소 1과 자신의 호스트 주소 및 매핑 주소 2를 비교하여 발신 단말(100’)이 자신과 동일망에 속하는지를 판단한다(S137).The called terminal 100 ″ compares the host address and the mapping address 1 of the calling terminal 100 ′ with its host address and the mapping address 2 and determines whether the calling terminal 100 ′ belongs to the same network (S137). ).

판단 결과, 동일망인 경우 착신 단말(100”)은 소스 주소에 자신의 호스트 주소를 기술한 200 OK 메시지를 전송하여 세션 초대에 응답한다(S139).As a result, in the case of the same network, the called terminal 100 ″ responds to the session invitation by transmitting a 200 OK message describing its host address in the source address (S139).

응용 계층 게이트웨이 서버(300)는 착신 단말(100”)로부터 수신한 200 OK 메시지를 발신 단말(100’)에게 전달한다(S141).The application layer gateway server 300 transmits the 200 OK message received from the called terminal 100 ″ to the calling terminal 100 ′ (S141).

또한, 판단 결과, 동일망이 아닌 경우 착신 단말(100”)은 소스 주소에 자신의 매핑 주소 2를 기술한 200 OK 메시지를 전송하여 세션 초대에 응답한다(S143). In addition, when the determination result is not the same network, the called terminal 100 ″ responds to the session invitation by transmitting a 200 OK message describing its mapping address 2 to the source address (S143).

이때, 200 OK 메시지에서 역시 미디어 수신을 위한 소스 주소를 나타내는 m/c line에 착신 단말의 호스트 주소 또는 매핑 주소 2가 수록될 수 있다.In this case, the host address or the mapping address 2 of the called terminal may be recorded in the m / c line indicating the source address for media reception in the 200 OK message.

응용 계층 게이트웨이 서버(300)는 착신 단말(100”)로부터 수신한 200 OK 메시지를 발신 단말(100’)에게 전달한다(S145).The application layer gateway server 300 transmits the 200 OK message received from the called terminal 100 ″ to the calling terminal 100 ′ (S145).

이후, 동일망 여부에 따라 서로 동일한 사설망에 속하는 경우 호스트 주소를 사용하고 서로 다른 사설망에 속하는 경우 매핑 주소(1, 2)를 이용하여 발/착신 단말(100’, 100”)간에 실시간 미디어 통신(RTP, Real Time Protocol)이 이루어진다.Afterwards, real-time media communication between originating / receiving terminals 100 'and 100 "using a host address when belonging to the same private network according to the same network and using mapping addresses 1 and 2 when belonging to different private networks. RTP, Real Time Protocol.

도 4는 본 발명의 실시예에 따른 사설 주소를 사용하는 망에서 VoIP 서비스를 제공하는 단말장치의 구성을 나타낸 블록도로서, 도 2 및 도 3에서 설명한 발/착신 단말(100’, 100”)의 구성을 나타낸 블록도이다.4 is a block diagram showing the configuration of a terminal apparatus for providing VoIP service in a network using a private address according to an embodiment of the present invention. A block diagram showing the configuration of the present invention.

도 4에 따르면, 단말장치(100)는 주소 처리부(120), 접속 처리부(140), 세션 처리부(160) 및 제어부(180)를 포함한다.According to FIG. 4, the terminal device 100 includes an address processor 120, a connection processor 140, a session processor 160, and a controller 180.

주소 처리부(120)는 스턴 서버(도 2의 500)와 대응되는 “스턴-클라이언트” 기능을 수행한다. 즉 스턴 프로토콜 규약에 따른 스턴 메시지를 이용하여 스턴 서버(500)와 통신을 수행하여 네트워크 주소 변환 타입 및 매핑 주소(1, 2)를 요청하고 이들을 수신한다.The address processor 120 performs a "stern-client" function corresponding to the stun server 500 of FIG. 2. That is, the STNC performs communication with the STUN server 500 using the STUN message according to the STUN protocol protocol, requests the network address translation type and the mapping address (1, 2), and receives them.

접속 처리부(140)는 응용 계층 게이트웨이 서버(도 2의 300)와 자신이 속한 망으로부터 할당받은 호스트 주소 및 주소 처리부(120)를 통하여 획득한 매핑 주소(1, 2)를 이용하여 연결 상태를 확인한다.The access processing unit 140 checks the connection state using the application layer gateway server (300 of FIG. 2) and the mapping address (1, 2) obtained through the host address and the address processing unit 120 allocated from the network to which it belongs. do.

세션 처리부(160)는 응용 계층 게이트웨이 서버(300)와 대응되는 “SIP 클라이언트” 기능을 수행한다. 즉 세션 접속 프로토콜(SIP, Session Initiation Protocol) 메시지를 이용하여 응용 계층 게이트웨이 서버(300)와 세션을 연결한다. The session processor 160 performs a “SIP client” function corresponding to the application layer gateway server 300. That is, the session is connected with the application layer gateway server 300 by using a Session Initiation Protocol (SIP) message.

세션 처리부(160)는 세부적인 기능별로 등록 처리부(162), 발신 처리부(164) 및 착신 처리부(166)를 포함한다.The session processing unit 160 includes a registration processing unit 162, an origination processing unit 164, and an incoming processing unit 166 according to detailed functions.

등록 처리부(162)는 응용 계층 게이트웨이 서버(300)에 로그인(LogIN)하기 위한 세션 접속 프로토콜 등록을 수행한다.The registration processor 162 performs session access protocol registration for logging in to the application layer gateway server 300.

발신 처리부(164)는 SIP 요구를 초기화하는 SIP 발신 처리(User Agent Client, UAC)를 수행한다. The call processing unit 164 performs SIP call processing (User Agent Client, UAC) to initialize the SIP request.

발신 처리부(164)는 자신이 속한 사설망에서 할당받은 사설 주소인 제1 호스트 주소와 주소 처리부(120)가 수신한 매핑 주소 1을 소스 주소에 수록한 세션 개시 요청(INVITE) 메시지를 생성한다. 그리고 생성한 세션 개시 요청(INVITE) 메시지를 응용 계층 게이트웨이 서버(300)를 통해 착신측으로 전송한다.The originating processor 164 generates a session initiation request (INVITE) message in which the first host address, which is a private address allocated from the private network to which it belongs, and the mapping address 1 received by the address processor 120, are included in the source address. The session initiation request (INVITE) message is transmitted to the called party through the application layer gateway server 300.

발신 처리부(164)는 착신측이 판단한 동일망 여부에 따라 착신측이 속한 사설망에서 할당된 제2 호스트 주소 또는 매핑 주소 2가 기술된 세션 개시 응답(200 OK) 메시지를 수신한다.The originating processor 164 receives a session start response (200 OK) message describing the second host address or mapping address 2 allocated in the private network to which the called party belongs according to whether the called party determines the same network.

발신 처리부(164)는 착신측으로부터 수신되는 세션 개시 응답(200 OK) 메시지의 소스 주소가 제2 호스트 주소인 경우 제1 호스트 주소를 사용하고, 소스 주소 가 매핑 주소 2인 경우 매핑 주소 1을 사용하여 착신측과 SIP 기반의 실시간 미디어 통신을 수행한다.The originating processor 164 uses the first host address when the source address of the session start response (200 OK) message received from the called party is the second host address, and uses the mapping address 1 when the source address is the mapping address 2. SIP-based real-time media communication with the called party.

착신 처리부(166)는 SIP 요구를 수신하고 그에 대한 응답을 되돌리는 SIP 착신 처리(User Agent Server, UAS)를 수행한다.The incoming processing unit 166 performs SIP incoming processing (User Agent Server, UAS) that receives a SIP request and returns a response thereto.

착신 처리부(166)는 응용 계층 게이트웨이 서버(300)를 통해 발신측으로부터 수신된 세션 개시 요청(INVITE) 메시지의 소스 주소를 확인하여 발신측과의 동일망 여부를 판단한다. 이때, 판단은 세션 개시 요청(INVITE) 메시지의 소스 주소에 수록된 발신측이 속한 사설망에서 할당된 제2 호스트 주소 및 매핑 주소 2과 자신이 속한 사설망에서 할당받은 제1 호스트 주소 및 매핑 주소 1를 비교한다. The incoming processing unit 166 checks the source address of the session initiation request (INVITE) message received from the calling party through the application layer gateway server 300 to determine whether the same network as the calling party. In this case, the determination is performed by comparing the second host address and mapping address 2 allocated in the private network to which the calling party is included in the source address of the session initiation request (INVITE) message with the first host address and mapping address 1 allocated in the private network to which the originating party belongs. do.

착신 처리부(166)는 동일망 여부 판단 결과에 따라 발신측과 동일망이면 제1호스트 주소를, 발신측과 동일망이 아니면 자신의 매핑 주소 1를 소스 주소로 하는 세션 개시 응답(200 OK) 메시지를 생성하여 응용 계층 게이트웨이 서버(300)를 통해 발신측으로 전송한다.The destination processing unit 166 according to the determination result of the same network, the session initiation response (200 OK) message having the first host address as the source network and its mapping address 1 as the source address if it is not the same network as the calling party. It generates and transmits to the calling party through the application layer gateway server (300).

착신 처리부(166)는 전송한 세션 개시 응답(200 OK) 메시지의 소스 주소에포함된 주소에 따라 제1 호스트 주소 또는 매핑 주소 1를 사용하여 발신측과 세션 접속 프로토콜 기반의 실시간 미디어 통신을 수행한다.The incoming processing unit 166 performs real-time media communication based on the session access protocol using the first host address or the mapping address 1 according to the address included in the source address of the transmitted session start response (200 OK) message. .

제어부(180)는 주소 처리부(120), 접속 처리부(140) 및 세션 처리부(160)와 연결되어 이들의 동작을 제어한다.The controller 180 is connected to the address processor 120, the connection processor 140, and the session processor 160 to control their operations.

이상에서 본 발명의 실시예에 대하여 상세하게 설명하였지만 본 발명의 권리범위는 이에 한정되는 것은 아니고 다음의 청구범위에서 정의하고 있는 본 발명의 기본 개념을 이용한 당업자의 여러 변형 및 개량 형태 또한 본 발명의 권리범위에 속하는 것이다.Although the embodiments of the present invention have been described in detail above, the scope of the present invention is not limited thereto, and various modifications and improvements of those skilled in the art using the basic concepts of the present invention defined in the following claims are also provided. It belongs to the scope of rights.

이와 같이 본 발명의 실시예에 의하면, 발/착신 단말 간에 자망 또는 타망 여부를 식별하여 세션을 개시하므로 종래에 동일망 내에 있을 경우에도 수행되던 불필요한 응용 계층 주소 변환을 방지할 수 있다.As described above, according to the embodiment of the present invention, since the session is initiated by identifying whether or not the self network or the other network is between the originating and terminating terminals, it is possible to prevent unnecessary application layer address translation, which is conventionally performed even in the same network.

또한, 종래에 헤어핀(Hairpin) 동작 불가로 인해 미디어 착신이 실패하여 턴 프로토콜을 이용한 세션 개시를 재수행함에 따른 호 지연의 문제를 해소할 수 있다.In addition, the problem of call delay caused by resuming session initiation using a turn protocol due to the failure of media reception due to the conventional hairpin operation is not possible.

Claims (11)

공인주소를 사용하는 공인망 및 각각의 사설주소를 사용하는 사설망이 각각의 네트워크 주소 변환기를 통해 연동하는 네트워크 환경에서 착신 단말이 VoIP 서비스를 제공하는 방법에 있어서,In a method in which a called terminal provides VoIP service in a network environment in which a public network using a public address and a private network using each private address interwork with each network address translator, 발신 단말에게 할당된 제1 사설 주소 및 상기 제1 사설 주소에 매핑되는 제1 공인 주소를 포함하는 세션 개시 요청을 상기 발신 단말로부터 수신하는 단계;Receiving a session initiation request from the originating terminal, the session initiation request including a first private address assigned to the originating terminal and a first public address mapped to the first private address; 상기 제1 사설 주소 및 상기 제1 공인 주소를 상기 착신 단말이 할당받은 제2 사설 주소 및 상기 제2 사설 주소에 매핑되는 제2 공인 주소와 비교하여 상기 발신 단말과 상기 착신 단말이 동일한 망에 위치하는지를 확인하는 단계;The calling terminal and the called terminal are located in the same network by comparing the first private address and the first public address with a second private address assigned by the called terminal and a second public address mapped to the second private address. Checking whether it is; 동일한 경우, 상기 제2 사설 주소가 포함된 세션 개시 응답을 상기 발신 단말에게 전송하는 단계;If the same, sending a session start response including the second private address to the calling terminal; 동일하지 않은 경우, 상기 제2 공인 주소가 포함된 세션 개시 응답을 상기 발신 단말에게 전송하는 단계를 포함하고, If not the same, transmitting a session start response including the second public address to the calling terminal, 상기 발신 단말은, 상기 착신 단말로부터 수신된 세션 개시 응답에 상기 제2 사설 주소가 포함되어 있는 경우 상기 제1 사설 주소를 사용하여 상기 착신 단말과 통신을 개시하고 상기 착신 단말로부터 수신된 세션 개시 응답에 상기 제2 공인 주소가 포함되어 있는 경우 상기 제1 공인 주소를 사용하여 상기 착신 단말과 통신을 개시하는 것을 특징으로 하는 VoIP 서비스 제공 방법.The originating terminal initiates communication with the called terminal using the first private address when the session initiation response received from the called terminal includes the second private address, and the session start response received from the called terminal. If the second public address is included in the VoIP service providing method characterized in that to communicate with the called terminal using the first public address. 제1항에 있어서, The method of claim 1, 상기 제2 공인 주소가 포함된 세션 개시 응답을 상기 발신 단말에게 전송하는 단계 이후, After transmitting the session start response including the second public address to the calling terminal, 상기 발신 단말과 상기 착신 단말이 속한 망의 동일 여부에 따라 동일한 경우 상기 제2 사설 주소를 사용하고, 동일하지 않은 경우 상기 제2 공인 주소를 사 용하여 상기 착신 단말이 상기 발신 단말과 세션 접속 프로토콜 기반의 실시간 미디어 통신을 수행하는 단계If the calling terminal and the called terminal are the same according to whether or not the same network, the second private address is used, and if not the same using the second public address, the called terminal is based on the session access protocol based on the calling terminal To perform real-time media communications of 를 더 포함하는 VoIP 서비스 제공 방법.VoIP service providing method comprising more. 제1항 또는 제2항에 있어서, The method according to claim 1 or 2, 상기 착신 단말은, The called terminal, 상기 발신 단말이 로그인된 응용 계층의 주소 변환을 수행하는 응용 계층 게이트웨이 서버에 로그인되어 상기 응용 계층 게이트웨이 서버의 프록시 기능 수행에 의해 상기 세션 개시 요청을 위한 메시지를 상기 발신 단말로부터 수신하고 상기 세션 개시 응답을 위한 메시지를 상기 발신 단말에게 전송하는 VoIP 서비스 제공 방법.The originating terminal is logged in to an application layer gateway server performing address translation of the logged in application layer, and receives a message for the session initiation request from the originating terminal by performing a proxy function of the application layer gateway server and responding to the session initiation. VoIP service providing method for transmitting a message for the calling terminal. 제1항 또는 제2항에 있어서, The method according to claim 1 or 2, 상기 착신 단말은, The called terminal, 상기 발신 단말이 상기 네트워크 주소 변환기에 연결된 공인 주소 정보 제공 서버와의 통신을 통해 획득한 상기 제1 공인 주소를 수신하고 상기 공인 주소 정보 제공 서버와의 통신을 통해 상기 제2 공인 주소를 획득하는 VoIP 서비스 제공 방법.VoIP that the calling terminal receives the first public address obtained through communication with a public address information providing server connected to the network address translator and obtains the second public address through communication with the public address information providing server How we deliver the service. 제1항 또는 제2항에 있어서, The method according to claim 1 or 2, 상기 수신하는 단계는, The receiving step, 상기 발신 단말이 상기 네트워크 주소 변환기에 연결된 공인 주소 정보 제공 서버로부터 상기 네트워크 주소 변환기의 타입을 확인하여 비대칭적 타입인 경우에 미디어 수신을 위한 주소에 상기 제1 사설 주소 및 상기 제1 공인 주소를 수록하여 전송한 상기 세션 개시 요청 메시지를 수신하는 VoIP 서비스 제공 방법.When the calling terminal checks the type of the network address translator from the public address information providing server connected to the network address translator, the first private address and the first public address are included in the address for media reception in the case of the asymmetric type. VoIP service providing method for receiving the session start request message. 공인주소를 사용하는 공인망 및 각각의 사설주소를 사용하는 사설망이 각각의 네트워크 주소 변환기를 통해 연동하는 네트워크 환경에서 VoIP 서비스를 제공하는 단말장치에 있어서,In a terminal device providing a VoIP service in a network environment where a public network using a public address and a private network using each private address interwork with each network address translator, 자신이 속한 사설망으로부터 할당받은 제1 사설 주소 및 상기 제1 사설 주소에 매핑되는 제1 공인 주소가 포함된 세션 개시 요청을 착신자에게 전송하는 발신 처리부; 및 An originating processor for transmitting a session start request including a first private address allocated from a private network to which the network belongs and a first public address mapped to the first private address; And 수신되는 세션 개시 요청에 포함된 세션 개시 요청 발신자의 제2 사설 주소 및 상기 제2 사설 주소에 매핑되는 제2 공인 주소를 이용하여 상기 자신이 속한 사설망과 상기 세션 개시 요청 발신자가 속한 사설망이 동일한지를 판단하고, 동일한 경우 상기 제1 사설 주소가 포함된 세션 개시 응답을 전송하고 동일하지 않은 경우 상기 제1 공인 주소가 포함된 세션 개시 응답을 상기 세션 개시 요청 발신자에게 전송하는 착신 처리부를 포함하고,Whether the private network to which the session initiation request sender belongs and the private network to which the session initiation request originator belongs is identical are identified using the second private address of the session initiation request sender included in the received session initiation request and a second public address mapped to the second private address. A call processing unit for determining, if it is the same, transmitting a session start response including the first private address, and if it is not the same, sending a session start response including the first public address to the session start request sender; 상기 발신 처리부는, 상기 착신자로부터 수신되는 세션 개시 응답에 상기 착신자의 사설 주소가 포함된 경우 상기 제1 사설 주소를 사용하여 상기 착신자와 통신을 개시하고 상기 착신자로부터 수신되는 세션 개시 응답에 상기 착신자의 공인 주소가 포함된 경우 상기 제1 공인 주소를 사용하여 상기 착신자와 통신을 개시하는 것을 특징으로 하는 단말장치.The origination processing unit, when the session initiation response received from the called party includes the private address of the called party, initiates communication with the called party using the first private address and sends the session initiation response received from the called party to the called party. If the public address is included, the terminal device, characterized in that for communicating with the called party using the first public address. 제6항에 있어서, The method of claim 6, 세션 개시를 요청하는 메시지 및 세션 개시 요청에 응답하는 메시지를 전달하는 세션 접속 프로토콜의 프락시 기능을 수행하는 응용 계층 게이트웨이 서버-여기서 응용 계층 게이트웨이 서버는 응용 계층의 주소 변환을 수행하는 서버임-에 로그인하기 위한 연결 상태를 관리하는 접속 처리부An application layer gateway server that performs the proxy function of the session access protocol that delivers the message requesting session initiation and the message responding to the session initiation request, where the application layer gateway server is the server that performs the address translation of the application layer. Connection processing unit for managing connection status 를 더 포함하는 단말장치.Terminal device further comprising. 제7항에 있어서, The method of claim 7, wherein 상기 제1 사설 주소 및 상기 제1 공인 주소를 획득하기 위한 상기 네트워크 주소 변환기에 연결된 공인 주소 정보 제공 서버와의 통신을 수행하는 주소 처리부An address processing unit for communicating with a public address information providing server connected to the network address translator for obtaining the first private address and the first public address; 를 더 포함하는 단말장치.Terminal device further comprising. 제8항에 있어서, The method of claim 8, 상기 발신 처리부는, The outgoing processing unit, 상기 주소 처리부를 통해 상기 공인 주소 정보 제공 서버로부터 상기 네트워크 주소 변환기의 타입을 확인한 결과 비대칭적 타입인 경우 상기 제1 사설 주소 및 상기 제1 공인 주소를 미디어 수신을 위한 소스 주소에 수록한 세션 개시 요청 메시지를 전송하는 단말장치.When the type of the network address translator is confirmed from the public address information providing server through the address processing unit, in case of an asymmetric type, a session initiation request including the first private address and the first public address as a source address for media reception; Terminal device for transmitting a message. 제6항 내지 제9항 중 어느 한 항에 있어서, The method according to any one of claims 6 to 9, 상기 발신 처리부는, The outgoing processing unit, 착신측으로부터 수신되는 세션 개시 응답에 포함된 상기 착신측의 소스 주소가 사설 주소인 경우 상기 제1 사설 주소를 이용하고 공인 주소인 경우 상기 제1 공인 주소를 이용하여 상기 착신측과 세션 접속 프로토콜 기반의 실시간 미디어 통신을 수행하는 단말장치.If the source address of the called party included in the session start response received from the called party is a private address, the first private address is used; if the called party is a public address, the session access protocol is based on the session access protocol with the called party. Terminal for performing real-time media communication of the. 제6항 내지 제9항 중 어느 한 항에 있어서, The method according to any one of claims 6 to 9, 상기 착신 처리부는, The incoming processing unit, 상기 자신이 속한 사설망과 상기 세션 개시 요청 발신자가 속한 사설망의 동일 여부에 따라 동일한 경우 상기 제1 사설 주소를 사용하고, 동일하지 않은 경우 상기 제1 공인 주소를 사용하여 상기 세션 개시 요청 발신자와 세션 접속 프로토콜 기반의 실시간 미디어 통신을 수행하는 단말장치.The first private address is used if the private network to which the session initiation request sender belongs is identical to the private network to which the session initiation request sender belongs. Terminal device for performing protocol-based real-time media communication.
KR1020070064150A 2007-06-28 2007-06-28 Method for providing VoIP service in private network and terminal unit thereof KR100899440B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020070064150A KR100899440B1 (en) 2007-06-28 2007-06-28 Method for providing VoIP service in private network and terminal unit thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020070064150A KR100899440B1 (en) 2007-06-28 2007-06-28 Method for providing VoIP service in private network and terminal unit thereof

Publications (2)

Publication Number Publication Date
KR20090002391A KR20090002391A (en) 2009-01-09
KR100899440B1 true KR100899440B1 (en) 2009-05-27

Family

ID=40485391

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070064150A KR100899440B1 (en) 2007-06-28 2007-06-28 Method for providing VoIP service in private network and terminal unit thereof

Country Status (1)

Country Link
KR (1) KR100899440B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101158794B1 (en) * 2010-03-09 2012-06-26 경기대학교 산학협력단 Method and SBCSession Border Controller for providing VoIP service

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USD807849S1 (en) 2015-04-09 2018-01-16 Samsung Electronics Co., Ltd. Mobile terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030067240A (en) * 2002-02-07 2003-08-14 김산홍 Internet Phone Service System and method in an apartment complex
KR20040001338A (en) * 2002-06-27 2004-01-07 주식회사 케이티 Method of establishing VPN VoIP call via IP network
KR20070011843A (en) * 2005-07-21 2007-01-25 삼성전자주식회사 Apparatus and method for managing data transfer in voip gateway
KR20070045545A (en) * 2005-10-27 2007-05-02 주식회사 케이티프리텔 Method for connecting with other network in wireless packet switching network system based on sip and the system thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030067240A (en) * 2002-02-07 2003-08-14 김산홍 Internet Phone Service System and method in an apartment complex
KR20040001338A (en) * 2002-06-27 2004-01-07 주식회사 케이티 Method of establishing VPN VoIP call via IP network
KR20070011843A (en) * 2005-07-21 2007-01-25 삼성전자주식회사 Apparatus and method for managing data transfer in voip gateway
KR20070045545A (en) * 2005-10-27 2007-05-02 주식회사 케이티프리텔 Method for connecting with other network in wireless packet switching network system based on sip and the system thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101158794B1 (en) * 2010-03-09 2012-06-26 경기대학교 산학협력단 Method and SBCSession Border Controller for providing VoIP service

Also Published As

Publication number Publication date
KR20090002391A (en) 2009-01-09

Similar Documents

Publication Publication Date Title
CA2435699C (en) Methods for discovering network address and port translators
Rosenberg Interactive connectivity establishment (ICE): A protocol for network address translator (NAT) traversal for offer/answer protocols
EP2117190B1 (en) Method, system and device for realizing network address translation passing
KR100511479B1 (en) SIP service method in network with NAT
KR101280281B1 (en) An improved method and system for ip multimedia bearer path optimization through a succession of border gateways
US8200827B1 (en) Routing VoIP calls through multiple security zones
JP5209061B2 (en) Control of sending interface of SIP response message
KR100804291B1 (en) Method and system for filtering multimedia traffic based on ip address bindings
US20130308628A1 (en) Nat traversal for voip
KR101368172B1 (en) Traversal of nat address translation equipment for signalling messages complying with the sip protocol
US7006436B1 (en) Method for providing voice-over-IP service
US8755370B1 (en) Mechanisms for session border control of VOIP communication from non-symmetric port address translation device
US20100312880A1 (en) Method and device for connecting packet-oriented communication terminals
JP2016213773A (en) Communication path control device, communication path control system, communication path control method, and communication path control program
US8374178B2 (en) Apparatus and method for supporting NAT traversal in voice over internet protocol system
JP2007082196A (en) Method for establishing and maintaining connection
KR100899440B1 (en) Method for providing VoIP service in private network and terminal unit thereof
JP3928664B2 (en) Address translation apparatus, message processing method and apparatus
KR100769216B1 (en) Sip(session initiation protocol) service method for home network
KR100900697B1 (en) Terminal unit for providing VoIP service between one private network and the other private network, interworking system and method thereof
KR20060020953A (en) System for connecting to private ip network by using sip protocol
JP3928663B2 (en) Address translation apparatus, message processing method and apparatus
KR100606895B1 (en) A telecommunication method via VoIP system in Network Address Port Translation
JP2007060716A (en) Address conversion apparatus, and method and apparatus for message processing
JP2005073302A (en) Address translation method

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

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20140508

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee