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 PDFInfo
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/25—Mapping addresses of the same type
- H04L61/2503—Translation of Internet protocol [IP] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/25—Mapping addresses of the same type
- H04L61/2503—Translation of Internet protocol [IP] addresses
- H04L61/256—NAT 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
도 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
즉 발신 단말(10)은 스턴 서버(50)로부터 발신 단말(100)의 사설 주소에 대해 네트워크 주소 변환기(40)가 할당할 공인 주소에 대한 정보를 수신한다. 스턴 프로토토콜은 스턴(STUN, Simple Traversal of User Datagram Protocol(UDP) through Network Address Translators(NATs) 방식의 “클라이언트-서버” 프로토콜이다.That is, the originating
발신 단말(10)은 스턴 서버(50)로부터 제공받은 공인 주소를 호스트 주소로 하여 착신 단말(20)에게 세션 개시를 요청한다. 착신 단말(20)은 목적지 주소를 발신 단말(10)의 공인 주소로 하여 세션 개시 요청에 대한 응답을 전송한다. The
이때, 네트워크 주소 변환기(40)는 착신 단말(20)로부터 수신한 세션 개시 응답의 목적지 주소가 공인 주소이므로 사설망 외부의 망(도면에는 도시 되지 않 음)으로 라우팅을 수행한다. 그런데 세션 개시를 요청한 발신 단말(10)은 사설망 내에 존재하므로 발신 단말(10)은 세션 개시 응답을 수신하지 못하여 세션 개시 절차는 실패하게 된다. 이와 같이 세션 개시 절차가 실패하게 되는 것을 헤어핀(Hairpin) 동작 불가라 한다. At this time, the
종래에는 발신 단말(10)이 세션 개시에 실패하면 턴 방식으로 전환하여 세션 개시를 다시 수행한다. Conventionally, when the
따라서, 세션 개시 절차의 실패, 턴 방식으로 전환하여 세션 개시 재수행이 이루어지는 동안의 호 지연이 발생한다. 또한, 동일한 망에 존재하는데도 불구하고 턴 방식을 이용하는 것은 단말간 직접 송/수신을 하는 것에 비해 비효율적이다.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
발/착신 단말(100’, 100”)은 패킷 기반의 유/무선 단말로서 SIP 기반의 VoIP 서비스를 제공할 수 있다.The originating / receiving
사설망(200)은 사설 주소를 사용하는 망으로서 발신 단말(100’) 및 착신 단 말(100”)이 접속된 사설망(200)은 서로 같거나 다를 수 있다.The
응용 계층 게이트웨이 서버(300)는 네트워크 주소 변환기(400)가 인식하지 못하는 OSI 모델의 응용 계층의 주소 정보를 분석 및 변환하는 서버이다.The application
응용 계층 게이트웨이 서버(300)는 사설망(200)에 위치하여 사설 주소 및 정적 공인 주소를 할당받는다. 이때, 응용 계층 게이트웨이 서버(300)는 발/착신 단말(100’, 100”)과 동일한 사설망(200)일 수도 있고 다를 수도 있다.The application
응용 계층 게이트웨이 서버(300)는 발/착신 단말(100’, 100”)에 탑재된“SIP-클라이언트”에 대응되는 서버 기능을 수행한다.The application
네트워크 주소 변환기(400)는 NAT(Network Address Translation) 기술이 구현된 장치로서 사설망(200)의 경계에 위치하여 패킷의 헤더에 포함된 사설 주소를 공인 주소로 변환한다.The
스턴 서버(500)는 스턴(STUN, Simple Traversal of User Datagram Protocol(UDP) through Network Address Translators(NATs)) 프로토콜이 구현된 서버로서, 발/착신 단말(100’, 100”)에 탑재되는“스턴-클라이언트”에 대응되는 서버 기능을 수행한다. The
스턴 서버(500)는 네트워크 주소 변환기(400)의 외부에 위치하고 공인 주소를 할당받는다.
스턴 서버(500)는 네트워크 주소 변환기(400) 하단에 위치하는 “스턴-클라이언트”가 네트워크 주소 변환기(400)의 존재 여부, 네트워크 주소 변환 타입 및 네트워크 주소 변환기(400)가 할당할 공인 주소에 대한 정보를 파악할 수 있게 한 다.
도 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
발신 단말(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
이때, 발신 단말(100’) 및 착신 단말(100”) 각각은 연결 상태 확인(S109, S123)을 통해 응용 계층 게이트웨이 서버(300)가 자신과 동일한 망인지 다른 망인지를 파악할 수 있다.At this time, each of the calling terminal 100 'and the called terminal 100' may determine whether the application
응용 계층 게이트웨이 서버(300)와의 연결이 확인되면 발신 단말(100’) 및 착신 단말(100”) 각각은 레지스터 메시지(Register)를 이용하여 SIP 등록을 요청(S111, S125)하고 그에 대한 응답(200 OK)을 수신(S113, S127)한다. S111 단계, S113 단계, S125 단계 및 S127 단계를 통해 발신 단말(100’) 및 착신 단말(100”) 각각은 응용 계층 게이트웨이 서버(300)에 자신의 위치 정보를 등록한다.When the connection with the application
이때, 응용 계층 게이트웨이 서버(300)의 주소 정보는 S109 단계 및 S123 단계에서 확인한 자망/타망 여부에 따라 사설 주소 또는 공인 주소가 이용된다.At this time, the address information of the application
S105 단계 및 S119 단계에서 네트워크 주소 변환 타입이 비대칭적 타입인 것을 확인한 발/착신 단말(100’, 100”) 간에는 S107 단계 및 S121 단계에서 획득한 매핑 주소 1, 2를 이용하여 세션 연결이 이루어진다.In step S105 and step S119, the session connection is made between the calling / calling
먼저 발신 단말(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
응용 계층 게이트웨이 서버(300)는 S129 단계에서 수신한 인바이트 메시지를 착신 단말(100”)에게 전달한다(S131).The application
착신 단말(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
착신 단말(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
또한, 판단 결과, 동일망이 아닌 경우 착신 단말(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
이후, 동일망 여부에 따라 서로 동일한 사설망에 속하는 경우 호스트 주소를 사용하고 서로 다른 사설망에 속하는 경우 매핑 주소(1, 2)를 이용하여 발/착신 단말(100’, 100”)간에 실시간 미디어 통신(RTP, Real Time Protocol)이 이루어진다.Afterwards, real-time media communication between originating / receiving
도 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
주소 처리부(120)는 스턴 서버(도 2의 500)와 대응되는 “스턴-클라이언트” 기능을 수행한다. 즉 스턴 프로토콜 규약에 따른 스턴 메시지를 이용하여 스턴 서버(500)와 통신을 수행하여 네트워크 주소 변환 타입 및 매핑 주소(1, 2)를 요청하고 이들을 수신한다.The
접속 처리부(140)는 응용 계층 게이트웨이 서버(도 2의 300)와 자신이 속한 망으로부터 할당받은 호스트 주소 및 주소 처리부(120)를 통하여 획득한 매핑 주소(1, 2)를 이용하여 연결 상태를 확인한다.The
세션 처리부(160)는 응용 계층 게이트웨이 서버(300)와 대응되는 “SIP 클라이언트” 기능을 수행한다. 즉 세션 접속 프로토콜(SIP, Session Initiation Protocol) 메시지를 이용하여 응용 계층 게이트웨이 서버(300)와 세션을 연결한다. The
세션 처리부(160)는 세부적인 기능별로 등록 처리부(162), 발신 처리부(164) 및 착신 처리부(166)를 포함한다.The
등록 처리부(162)는 응용 계층 게이트웨이 서버(300)에 로그인(LogIN)하기 위한 세션 접속 프로토콜 등록을 수행한다.The
발신 처리부(164)는 SIP 요구를 초기화하는 SIP 발신 처리(User Agent Client, UAC)를 수행한다. The
발신 처리부(164)는 자신이 속한 사설망에서 할당받은 사설 주소인 제1 호스트 주소와 주소 처리부(120)가 수신한 매핑 주소 1을 소스 주소에 수록한 세션 개시 요청(INVITE) 메시지를 생성한다. 그리고 생성한 세션 개시 요청(INVITE) 메시지를 응용 계층 게이트웨이 서버(300)를 통해 착신측으로 전송한다.The originating
발신 처리부(164)는 착신측이 판단한 동일망 여부에 따라 착신측이 속한 사설망에서 할당된 제2 호스트 주소 또는 매핑 주소 2가 기술된 세션 개시 응답(200 OK) 메시지를 수신한다.The originating
발신 처리부(164)는 착신측으로부터 수신되는 세션 개시 응답(200 OK) 메시지의 소스 주소가 제2 호스트 주소인 경우 제1 호스트 주소를 사용하고, 소스 주소 가 매핑 주소 2인 경우 매핑 주소 1을 사용하여 착신측과 SIP 기반의 실시간 미디어 통신을 수행한다.The originating
착신 처리부(166)는 SIP 요구를 수신하고 그에 대한 응답을 되돌리는 SIP 착신 처리(User Agent Server, UAS)를 수행한다.The
착신 처리부(166)는 응용 계층 게이트웨이 서버(300)를 통해 발신측으로부터 수신된 세션 개시 요청(INVITE) 메시지의 소스 주소를 확인하여 발신측과의 동일망 여부를 판단한다. 이때, 판단은 세션 개시 요청(INVITE) 메시지의 소스 주소에 수록된 발신측이 속한 사설망에서 할당된 제2 호스트 주소 및 매핑 주소 2과 자신이 속한 사설망에서 할당받은 제1 호스트 주소 및 매핑 주소 1를 비교한다. The
착신 처리부(166)는 동일망 여부 판단 결과에 따라 발신측과 동일망이면 제1호스트 주소를, 발신측과 동일망이 아니면 자신의 매핑 주소 1를 소스 주소로 하는 세션 개시 응답(200 OK) 메시지를 생성하여 응용 계층 게이트웨이 서버(300)를 통해 발신측으로 전송한다.The
착신 처리부(166)는 전송한 세션 개시 응답(200 OK) 메시지의 소스 주소에포함된 주소에 따라 제1 호스트 주소 또는 매핑 주소 1를 사용하여 발신측과 세션 접속 프로토콜 기반의 실시간 미디어 통신을 수행한다.The
제어부(180)는 주소 처리부(120), 접속 처리부(140) 및 세션 처리부(160)와 연결되어 이들의 동작을 제어한다.The
이상에서 본 발명의 실시예에 대하여 상세하게 설명하였지만 본 발명의 권리범위는 이에 한정되는 것은 아니고 다음의 청구범위에서 정의하고 있는 본 발명의 기본 개념을 이용한 당업자의 여러 변형 및 개량 형태 또한 본 발명의 권리범위에 속하는 것이다.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)
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)
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)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
USD807849S1 (en) | 2015-04-09 | 2018-01-16 | Samsung Electronics Co., Ltd. | Mobile terminal |
Citations (4)
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 |
-
2007
- 2007-06-28 KR KR1020070064150A patent/KR100899440B1/en not_active IP Right Cessation
Patent Citations (4)
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)
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 |