KR100769216B1 - Sip(session initiation protocol) service method for home network - Google Patents

Sip(session initiation protocol) service method for home network Download PDF

Info

Publication number
KR100769216B1
KR100769216B1 KR1020060120534A KR20060120534A KR100769216B1 KR 100769216 B1 KR100769216 B1 KR 100769216B1 KR 1020060120534 A KR1020060120534 A KR 1020060120534A KR 20060120534 A KR20060120534 A KR 20060120534A KR 100769216 B1 KR100769216 B1 KR 100769216B1
Authority
KR
South Korea
Prior art keywords
terminal
sip
private
home
message
Prior art date
Application number
KR1020060120534A
Other languages
Korean (ko)
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 KR1020060120534A priority Critical patent/KR100769216B1/en
Application granted granted Critical
Publication of KR100769216B1 publication Critical patent/KR100769216B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/08Upper layer protocols
    • H04W80/12Application layer protocols, e.g. WAP [Wireless Application Protocol]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/08Upper layer protocols
    • H04W80/10Upper layer protocols adapted for application session management, e.g. SIP [Session Initiation Protocol]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

An SIP(Session Initiation Protocol) service method for a home network is provided to quickly and stably support transmission of a real time media stream between SIP terminals and support compatibility for any type of SIP terminals. Private IP addresses of private IP terminals and corresponding public IP addresses are registered in an SIP proxy server. An RTP(Real time Transport Protocol) session is generated in response to a request for a session by the private IP terminal or a public IP terminal. The private IP terminal and the public IP terminal transmit and receive an RTP media stream through a UDP(User Datagram Protocol) relay according to the generated RTP session.

Description

홈 네트워크를 위한 에스아이피 서비스 방법{SIP(Session Initiation Protocol) service method for home network}SIP service method for home network {SIP (Session Initiation Protocol) service method for home network}

도 1은 본 발명의 실시예에 따른 홈 네트워크를 위한 SIP 서비스 방법의 구현을 위한 SIP 서비스 시스템의 구성을 보여주는 도면.1 is a diagram illustrating a configuration of a SIP service system for implementing a SIP service method for a home network according to an embodiment of the present invention.

도 2는 본 발명의 실시예에 따른 홈 네트워크를 위한 SIP 서비스 방법에 있어서, 사설 IP 단말기(UAC)가 SIP 프록시 서버에 등록하는 절차를 보여주는 도면.2 is a diagram illustrating a procedure in which a private IP terminal (UAC) registers with a SIP proxy server in a SIP service method for a home network according to an embodiment of the present invention.

도 3은 본 발명의 실시예에 따른 홈 네트워크를 위한 SIP 서비스 방법에 있어서, 사설 IP 단말기의 세션 요구로 인한 사설 IP 단말기(UAC)와 공인 IP 단말기(UAS) 사이의 RTP 미디어 스트림의 전송 절차를 보여주는 도면.3 is a diagram illustrating a procedure for transmitting an RTP media stream between a private IP terminal (UAC) and a public IP terminal (UAS) due to a session request of a private IP terminal in a SIP service method for a home network according to an embodiment of the present invention. Showing drawings.

도 4는 본 발명의 실시예에 따른 홈 네트워크를 위한 SIP 서비스 방법에 있어서, 공인 IP 단말기의 세션 요구로 인한 사설 IP 단말기(UAS)와 공인 IP 단말기(UAC)사이의 RTP 미디어 스트림의 전송 절차를 보여주는 도면.4 is a diagram illustrating a procedure for transmitting an RTP media stream between a private IP terminal (UAS) and a public IP terminal (UAC) due to a session request of a public IP terminal in a SIP service method for a home network according to an embodiment of the present invention. Showing drawings.

<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for main parts of the drawings>

110,210,310,450...사설 IP 단말기 120,240,350,410...공인 IP 단말기110,210,310,450 ... Private IP terminals 120,240,350,410 ... Certified IP terminals

130,230,340,420...SIP 프록시 서버 140...홈 게이트웨이130,230,340,420 ... SIP Proxy Server 140 ... Home Gateway

140r,330,430...UDP 릴레이 140p,220,320,440...홈 SIP 프록시140r, 330,430 ... UDP Relay 140p, 220,320,440 ... Home SIP Proxy

본 발명은 홈 네트워크를 위한 SIP(Session Initiation Protocol; 접속 설정 프로토콜) 서비스 방법에 관한 것으로서, 특히 NAT(Network Address Translation; 네트웍 주소 변환)를 갖는 망에서의 SIP UAC(User Agent Client)와 SIP UAS(User Agent Server) 간의 RTP(real-time transport protocol; 실시간 전송 프로토콜) 세션을 처리하는 홈 네트워크를 위한 SIP 서비스 방법에 관한 것이다.The present invention relates to a Session Initiation Protocol (SIP) service method for a home network, and more particularly to a SIP UAC (User Agent Client) and a SIP UAS (NAS) in a network having a network address translation (NAT). The present invention relates to a SIP service method for a home network that processes a real-time transport protocol (RTP) session between a user agent server.

향후 네트워크는 급속한 인터넷과 정보가전의 발달, 그리고 고객의 편리에 대한 욕구로 인해 홈 네트워크 환경으로 진화할 것이다. 이러한 홈 네트워크 환경에서는 댁내 단말기에 모두 공인 IP(Internet Protocol)를 부여하기보다는 각 가정별로 NAT를 이용한 사설 망이 구축될 것으로 전망된다. 한편 현재 인터넷은 웹 중심의 데이터 트래픽 위주에서 점차 원격 회의, VoIP(voice over IP) 등과 같은 실시간 트래픽을 필요로 하는 서비스로 진화하고 있다. 따라서 향후 네트워크는 서비스에 따라 데이터의 정확한 전송보다는 도달 시간이 더 중요한 UDP(User Datagram Protocol)를 기반으로 하는 서비스도 제공할 수 있어야 한다. In the future, the network will evolve into the home network environment due to the rapid development of the Internet, information appliances, and the desire for customer convenience. In such a home network environment, private networks using NAT are expected to be built for each home rather than providing public IP (Internet Protocol) to all home terminals. Meanwhile, the Internet is gradually evolving from web-centric data traffic to services requiring real-time traffic such as teleconferencing and voice over IP (VoIP). Therefore, future networks should be able to provide services based on User Datagram Protocol (UDP), where arrival time is more important than the exact transmission of data depending on the service.

현재 이러한 실시간 전송 서비스를 위한 호 설정 프로토콜로는 가장 많이 쓰이는 ITU-T(International Telecommunications Union - Telecommunication Standardization Sector)에서 제시한 H.323과 IETF(Internet Engineering Task Force)의 SIP 등이 있다. 현재 대다수의 장비 업체들과 서비스 업체들이 H.323 프로토콜을 지원하고 있으나 많은 기능과 확장성을 가진 IETF의 SIP 프로토콜이 향후 보편화될 것으로 전망된다. 일반적으로 SIP는 IETF RFC2543 문서에 표준이 정의되어 있으며 영상, 음성 등의 멀티미디어 통신을 위한 세션이나 호를 설정, 수정, 종료하기 위한 애플리케이션 계층의 제어 프로토콜이다. SIP는 클라이언트-서버 기반 프로토콜로서 호 시도자가 상대편을 세션에 참석시키기 위하여 호출하는 형태로 전개되는 프로토콜이다. 또한 멀티미디어 서비스 통신을 위하여 세션에 표현되어야 할 세션 정보들은 SDP(Session Description Protocol)를 이용하여 기술한다. Currently, call establishment protocols for such a real-time transmission service include H.323 and Internet Engineering Task Force (IETF) SIP proposed by the most widely used International Telecommunications Union-Telecommunication Standardization Sector (ITU-T). Currently, most equipment and service providers support the H.323 protocol, but IETF's SIP protocol, with its many features and scalability, is expected to become commonplace in the future. In general, SIP is defined in the IETF RFC2543 document and is an application layer control protocol for establishing, modifying and terminating sessions or calls for multimedia communication such as video and voice. SIP is a client-server based protocol that is deployed in the form of a call originator calling for the other party to join the session. In addition, session information to be expressed in a session for multimedia service communication is described using a Session Description Protocol (SDP).

하지만, NAT를 이용하여 사설 망을 갖는 홈 네트워크 환경에서는 이러한 SIP서비스의 제공에 제약이 있다. 즉, 사설 망에 위치한 UAC와 UAS 간의 SIP를 이용한 RTP 미디어 스트림(stream)의 통신에는 NAT의 형태와 망의 구조에 따라 그 성공 여부가 달라진다. However, in a home network environment having a private network using NAT, there is a limitation in providing such a SIP service. That is, the success of RTP media streams using SIP between UAC and UAS located in a private network depends on the type of NAT and the structure of the network.

NAT는 네트워크 계층에서 사설 IP 주소를 공인 IP 주소로 변환하는데 사용하는 주소 변환기로서, 다수의 사설 단말기들이 공인 IP를 공유할 수 있도록 함으로써 IP 주소를 절약할 수 있다. NAT는 크게 정적, 동적, NAPT(Network Address and Port Translation) 방식으로 나누어지는데, 특히 내부 IP와 포트(port)를 공인 IP와 포트로 매핑시키는 NAPT 방식이 많이 사용되고 있다. 이러한 NAPT 방식은 다시 풀 콘(Full Cone), 지역 한정 콘(Restricted Cone), 포트 지역 한정 콘(Port Restricted Cone), 대칭적 방식(Symmetric)으로 나눌 수 있다. NAT is an address translator used to translate private IP addresses into public IP addresses at the network layer, which can save IP addresses by allowing multiple private terminals to share a public IP. NAT is largely divided into static, dynamic, and network address and port translation (NAPT) methods. Especially, the NAPT method that maps internal IP and ports to public IP and ports is widely used. The NAPT scheme can be further classified into a full cone, a restricted cone, a port restricted cone, and a symmetrical scheme.

홈 네트워크에 SIP 프록시(proxy) 서버를 구성하면 공인 또는 사설 망에 상관없이 SIP 호 요청의 라우팅은 문제없이 처리된다. 하지만 RTP 세션의 처리는 조건에 따라 문제가 발생할 수 있다. 즉, RTP 처리는 홈 네트워크가 공인 망이라면 아무 문제가 없다. 하지만 홈 네트워크가 사설 망이라면 홈 네트워크의 NAT의 유형에 따라 처리 여부가 달라지는데, 풀 콘 NAT라면 공인망에 존재시킨 STUN(Simple Traversal of UDP through NAT)를 구성하면 처리가 가능하고 대칭적 방식의 NAT라면 STUN을 존재시켜도 불가능하다. 만약 홈 네트워크의 NAT가 대칭적 방식의 NAT라면 공인 망에 TURN(Traversal Using Relay NAT)서버를 구성하여 RTP 처리가 가능하도록 할 수 있다. 하지만 이때 TURN은 많은 수의 클라이언트로부터의 미디어 릴레이 요청으로 인한 대역폭 낭비와 지연 등의 문제를 갖게 된다.If a SIP proxy server is configured in the home network, the routing of SIP call requests is handled without problem, regardless of the public or private network. However, processing of RTP sessions can be problematic depending on conditions. That is, RTP processing does not have any problem if the home network is a public network. However, if the home network is a private network, whether or not it is handled depends on the type of NAT of the home network.If a full cone NAT is configured, the STNA (Simple Traversal of UDP through NAT) that exists in the public network can be processed and is symmetrical. If not, it is impossible to have STUN. If the NAT of the home network is a symmetric NAT, a TURN (Traversal Using Relay NAT) server can be configured in the public network to enable RTP processing. However, TURN has problems such as bandwidth waste and delay due to media relay requests from a large number of clients.

본 발명은 이상과 같은 사항을 감안하여 창출된 것으로서, 사설 망을 갖는 홈 네트워크 환경에서, TURN과 같은 기능을 홈 게이트웨이 상에 구현함으로써, TURN보다 단순하고 효율적인 UDP 릴레이(relay)를 제공하여 원활한 RTP 세션의 처리를 가능하게 하는 홈 네트워크를 위한 SIP 서비스 방법을 제공함에 그 목적이 있다.The present invention has been made in view of the above, and in a home network environment having a private network, by implementing a function such as TURN on a home gateway, a simpler and more efficient UDP relay than TURN is provided to provide smooth RTP. An object of the present invention is to provide a SIP service method for a home network that enables processing of a session.

상기의 목적을 달성하기 위하여, 본 발명의 특징에 따른 홈 네트워크를 위한 SIP 서비스 방법은,In order to achieve the above object, a SIP service method for a home network according to an aspect of the present invention,

사설 IP 단말기와 공인 IP 단말기 사이에 원활한 RTP 세션의 처리를 가능하게 하기 위한 홈 네트워크를 위한 SIP 서비스 방법에 있어서,In the SIP service method for a home network to enable smooth processing of RTP session between a private IP terminal and a public IP terminal,

a) 사설 IP 단말기들에 대한 사설 IP 주소와 그에 대응하는 공인 IP 주소의 쌍을 SIP 프록시 서버에 등록하는 단계;a) registering a pair of private IP addresses for the private IP terminals and corresponding public IP addresses with the SIP proxy server;

b) 상기 사설 IP 단말기 또는 공인 IP 단말기에 의한 세션 요구에 의해 RTP 세션을 생성하는 단계; 및 b) creating an RTP session in response to a session request by the private IP terminal or a public IP terminal; And

c) 상기 생성된 RTP 세션에 의해 상기 사설 IP 단말기와 공인 IP 단말기 사이에 UDP 릴레이를 통해 RTP 미디어 스트림을 주고 받는 단계를 포함한다.c) sending and receiving an RTP media stream between the private IP terminal and the public IP terminal through a UDP relay by the generated RTP session.

여기서, 상기 단계 a)에서 사설 IP 단말기의 SIP 프록시 서버에의 등록 절차는,Here, the registration procedure of the private IP terminal to the SIP proxy server in step a),

a-1) 사설 IP를 가진 UAC(User Agent Client)가 홈 게이트웨이의 홈 SIP 프록시에 등록(register) 요청 메시지를 보내는 단계; a-1) sending a registration request message to a home SIP proxy of a home gateway by a user agent client (UAC) having a private IP;

a-2) 상기 등록 요청 메시지를 받은 홈 SIP 프록시가 SIP 메시지의 콘택트 헤더를 SIP 프록시 서버가 알 수 있는 공인 IP 주소로 바꾼 후 SIP 프록시 서버로 전송하는 단계; a-2) the home SIP proxy receiving the registration request message, converting the contact header of the SIP message into a public IP address known to the SIP proxy server, and transmitting the SIP header to the SIP proxy server;

a-3) SIP 메시지를 수신한 SIP 프록시 서버가 등록 절차를 처리한 후, 상기 홈 게이트웨이의 홈 SIP 프록시로 등록이 완료되었음을 알리는 단계; 및a-3) after the SIP proxy server receiving the SIP message processes the registration procedure, informing that the registration is completed with the home SIP proxy of the home gateway; And

a-4) 상기 등록완료 통보를 받은 홈 SIP 프록시가 다시 SIP 메시지의 콘택트 헤더를 해당 UAC의 ID에 대응하는 (사설 IP주소:포트)로 바꾼 후 상기 UAC로 등록완료를 통보하는 단계를 포함하여 이루어진다.a-4) the home SIP proxy receiving the registration completion notification, changing the contact header of the SIP message back to (private IP address: port) corresponding to the ID of the corresponding UAC, and notifying the completion of registration to the UAC; Is done.

또한, 상기 단계 b)에서 사설 IP 단말기에 의한 세션 요구에 의해 RTP 세션을 생성하는 단계는,In addition, in the step b), the step of creating the RTP session by the session request by the private IP terminal,

b-1) 발신 사설 IP 단말기가 홈 SIP 프록시와 SIP 프록시 서버를 거쳐 착신 공인 IP 단말기에 초청(invite) 메시지를 보내는 단계;b-1) the originating private IP terminal sending an invite message to the called public IP terminal via the home SIP proxy and the SIP proxy server;

b-2) 상기 초청 메시지를 받은 착신 공인 IP 단말기가 SIP 프록시 서버와 홈 SIP 프록시를 거쳐 발신 사설 IP 단말기로 수락 메시지를 보내는 단계;b-2) the incoming public IP terminal receiving the invitation message sending an acceptance message to the calling private IP terminal via the SIP proxy server and the home SIP proxy;

b-3) 상기 수락 메시지를 받은 발신 사설 IP 단말기가 홈 SIP 프록시와 SIP 프록시 서버를 거쳐 착신 공인 IP 단말기로 확인 메시지를 보내는 단계를 포함하여 이루어진다.b-3) the originating private IP terminal receiving the acceptance message sends a confirmation message to the called public IP terminal through the home SIP proxy and the SIP proxy server.

또한, 상기 단계 b)에서 공인 IP 단말기에 의한 세션 요구에 의해 RTP 세션을 생성하는 단계는,In addition, the step of generating an RTP session by the session request by the public IP terminal in step b),

b'-1) 외부 공인 IP 단말기가 SIP 프록시 서버와 홈 SIP 프록시를 거쳐 사설 IP 단말기에 초청 메시지를 보내는 단계;b'-1) the external public IP terminal sending an invitation message to the private IP terminal via the SIP proxy server and the home SIP proxy;

b'-2) 상기 초청 메시지를 받은 사설 IP 단말기가 홈 SIP 프록시와 SIP 프록시 서버를 거쳐 발신 공인 IP 단말기로 수락 메시지를 보내는 단계;b'-2) the private IP terminal receiving the invitation message sending an acceptance message to the calling public IP terminal through a home SIP proxy and a SIP proxy server;

b'-3) 상기 수락 메시지를 받은 발신 공인 IP 단말기가 SIP 프록시 서버와 홈 SIP 프록시를 거쳐 착신 사설 IP 단말기로 확인 메시지를 보내는 단계를 포함하여 이루어진다.b'-3) sending the acknowledgment message to the destination private IP terminal via the SIP proxy server and the home SIP proxy.

이하에서는 첨부한 도면을 참고로 하여 본 발명의 실시예에 대하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다. 그러나 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시예에 한정되지 않는다. 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 addition, when a part is said to "include" a certain component, this means that it may further include other components, except to exclude other components unless otherwise stated.

이제 본 발명의 실시예에 따른 홈 네트워크를 위한 SIP 서비스 방법에 대하여 도면을 참고로 하여 상세하게 설명한다.Now, a SIP service method for a home network according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 실시예에 따른 홈 네트워크를 위한 SIP 서비스 방법의 구현을 위한 SIP 서비스 시스템의 구성을 보여주는 도면이다.1 is a diagram illustrating a configuration of a SIP service system for implementing a SIP service method for a home network according to an embodiment of the present invention.

도 1을 참조하면, SIP 서비스 시스템은 사설 망에 속해 사설 IP를 사용하는 사설 IP 단말기(110)와, 공인 IP 망에 연결되어 상기 사설 IP 단말기(110)와 RTP 세션을 형성하여 데이터를 주고 받는 공인 IP 단말기(120)와, 공인 IP 망에 연결되어 SIP 단말기의 등록정보를 관리하고 발신 단말기가 보낸 메시지를 착신 단말기로 중계해주는 SIP 프록시 서버(130)와, 상기 사설 망의 입구로서, SIP 메시지를 변경하여 사설 IP와 공인 IP의 변환 역할을 하는 홈 SIP 프록시(140p)와 UDP 통신을 위한 UDP 릴레이 서비스를 구비하는 홈 게이트웨이(140)로 구성된다.Referring to FIG. 1, a SIP service system is connected to a public IP network with a private IP terminal 110 using a private IP belonging to a private network, and forms an RTP session with the private IP terminal 110 to exchange data. The public IP terminal 120, a SIP proxy server 130 connected to the public IP network to manage registration information of the SIP terminal and relaying a message sent by the calling terminal to the destination terminal, and a SIP message as an entrance to the private network. It is composed of a home gateway 140 having a home SIP proxy (140p) and a UDP relay service for UDP communication to change the private IP and public IP by changing the.

이상과 같은 SIP 서비스 시스템에서, 사설망은 홈 게이트웨이(140)를 통해 공인 IP 망을 거쳐 공인 IP 단말기(120)와 SIP 프록시 서버(130) 등과 연결된다. 홈 게이트웨이(140)는 각 가정의 댁내 망으로 들어가는 입구 역할을 하며 홈 SIP 프록시(140p)와 UDP 릴레이 서비스(140r)를 탑재하여 NAT 기능과 RTP 미디어 스트림의 전송을 가능하게 한다. 즉, 홈 게이트웨이(140)의 홈 SIP 프록시(140p)는 (사설 IP:포트)-(공인 IP:포트) 정보에 근거하여 내부 사설 IP 단말기(110)가 보낸 SIP 메시지를 변경하여 공인 망의 SIP 프록시 서버(130)에 메시지를 전송하거나 또는 SIP 프록시 서버(130)에서 들어오는 SIP 메시지를 변경하여 내부 사설 망으로 보내준다. 홈 게이트웨이(140)에 탑재된 UDP 릴레이 서비스(140r)는 SIP 시그널링(signaling)이 완료된 후 실제 RTP 미디어 스트림을 전송하기 위한 중계 역할을 한다. 또한, 공인 망의 SIP 프록시 서버(130)는 사설 IP 단말기(110)를 등록하며, 사설 IP 단말기와 사설 IP 단말기 간에 또는 사설 IP 단말기와 공인 IP 단말기 사이의 SIP 메시지를 중계하는 역할을 한다. 공인 망에 연결되어 SIP 프록시 서버(130)를 통해 사설 IP 단말기(110)와 통신하게 되는 공인 IP 단말기(120)는 공인 망에 직접 연결된 SIP 단말기 그 자체를 의미할 뿐만 아니라 임의의 형태의 NAT를 갖는 제3의 사설 망의 게이트웨이 역할을 하는 공인 IP 단말기까지 포함한다. In the SIP service system as described above, the private network is connected to the public IP terminal 120 and the SIP proxy server 130 through the home gateway 140 through the public IP network. The home gateway 140 serves as an entrance to the home network of each home, and is equipped with a home SIP proxy 140p and a UDP relay service 140r to enable NAT and transmission of an RTP media stream. That is, the home SIP proxy 140p of the home gateway 140 changes the SIP message sent by the internal private IP terminal 110 based on the (private IP: port)-(public IP: port) information to change the SIP of the public network. The message is transmitted to the proxy server 130 or the SIP message received from the SIP proxy server 130 is changed and sent to the internal private network. The UDP relay service 140r mounted in the home gateway 140 serves as a relay for transmitting the actual RTP media stream after SIP signaling is completed. In addition, the SIP proxy server 130 of the public network registers the private IP terminal 110, and serves to relay SIP messages between the private IP terminal and the private IP terminal or between the private IP terminal and the public IP terminal. The public IP terminal 120, which is connected to the public network and communicates with the private IP terminal 110 through the SIP proxy server 130, means not only the SIP terminal itself directly connected to the public network, but also any type of NAT. It also includes a public IP terminal serving as a gateway of a third private network having a network.

즉, 홈 SIP 프록시(140p)와 UDP 릴레이 서비스(140r)를 통한 방식이 아닌 임의의 다른 NAT를 갖는 사설 망 내의 SIP 단말기와 RTP 세션을 형성하기 위해서는 해당 사설 망의 구조나 형태는 고려할 필요 없이 일단 해당 사설 망으로 들어가기 위한 공인 IP 단말기(게이트웨이)까지만 성공적으로 세션을 주고 받으면 된다. 왜냐하면 그 이후의 공인 IP 단말기와 사설 망 내의 SIP 단말기 간의 절차는 해당 사설 망의 NAT의 정책에 따라 성공적으로 이루어지기 때문이다.That is, to form an RTP session with a SIP terminal in a private network having any other NAT other than the method through the home SIP proxy 140p and the UDP relay service 140r, the structure or form of the private network need not be considered. The session only needs to be successfully exchanged to a public IP terminal (gateway) to enter the private network. This is because the subsequent procedure between the public IP terminal and the SIP terminal in the private network is successfully performed according to the NAT policy of the private network.

따라서, 도 1의 시스템은 사설 IP 단말기(110)와 공인 IP 단말기(120) 간, 그리고 사설 IP 단말기(110)와 임의의 다른 사설 망에 존재하는 사설 IP 단말기 간의 SIP 서비스를 가능하게 한다.Thus, the system of FIG. 1 enables SIP services between the private IP terminal 110 and the public IP terminal 120, and between the private IP terminal 110 and a private IP terminal existing in any other private network.

그러면, 이상과 같은 SIP 서비스 시스템을 바탕으로 본 발명의 실시예에 따른 홈 네트워크를 위한 SIP 서비스 방법에 대하여 도 2 내지 도 4를 참조하면서 설명해 보기로 한다.Then, a SIP service method for a home network according to an embodiment of the present invention will be described with reference to FIGS. 2 to 4 based on the SIP service system as described above.

도 2는 본 발명의 실시예에 따른 홈 네트워크를 위한 SIP 서비스 방법에 있어서, 사설 IP 단말기(UAC)가 SIP 프록시 서버에 등록하는 절차를 보여주는 도면이다.2 is a diagram illustrating a procedure in which a private IP terminal (UAC) registers with a SIP proxy server in a SIP service method for a home network according to an embodiment of the present invention.

도 2를 참조하면, 본 발명의 실시예에 따른 홈 네트워크를 위한 SIP 서비스 방법에 따라 먼저 사설 IP 단말기들에 대한 사설 IP 주소와 그에 대응하는 공인 IP 주소의 쌍을 SIP 프록시 서버에 등록하게 된다.Referring to FIG. 2, first, a pair of private IP addresses for private IP terminals and a corresponding public IP address is registered in a SIP proxy server according to a SIP service method for a home network according to an embodiment of the present invention.

즉, 우선적으로 사설 IP를 가진 UAC(User Agent Client)(210)는 홈 게이트웨이의 홈 SIP 프록시(220)로 등록(register) 요청 메시지를 보낸다(step1). 이때 SIP 메시지에는 (UAC의 사설 IP주소:포트) - (홈 게이트웨이의 공인 IP주소: 포트) 쌍이 기재되며, 특히 콘택트 헤더(contact header)에는 <ID@사설 IP 주소:포트>와 같이 UAC(210)의 사설 IP주소와 ID가 기재되어 향후 공인 IP를 통해 들어온 SIP 메시지의 ID로 쉽게 해당 UAC를 찾을 수 있게 해준다. That is, the UAC 210 having a private IP preferentially sends a registration request message to the home SIP proxy 220 of the home gateway (step 1). In this case, the SIP message includes a pair of (UAC's private IP address: port)-(home gateway's public IP address: port), and in particular, the contact header includes a UAC (210), such as <ID @ private IP address: port>. ) 'S private IP address and ID are listed so that the UAC can be easily found by the ID of SIP message coming from public IP in the future.

UAC(210)로부터의 등록 요청 메시지를 받은 홈 SIP 프록시(220)는 SIP 프록시 서버(230)에 등록을 요구하기에 앞서 SIP 메시지의 콘택트 헤더를 SIP 프록시 서버(230)가 알 수 있는 공인 IP 주소로 바꾼 후(step2), SIP 프록시 서버(230)로 등록 요청 메시지를 전송한다(step3). 이에 따라 SIP 프록시 서버(230)는 등록 절차를 처리한 후(step4), 홈 게이트웨이의 홈 SIP 프록시(220)로 등록이 완료되었음을 알리는 응답(예컨대, 200 OK)을 보낸다(step5). 그 응답을 받은 홈 SIP 프록시(220)는 다시 SIP 메시지의 콘택트 헤더를 해당 UAC의 ID에 대응하는 (사설 IP주소:포트)로 바꾼 후(step6), 상기 UAC(210)로 등록완료 메시지(200 OK)를 전달한 다(step7). 이로써 등록 절차가 완료된다.   The home SIP proxy 220 receiving the registration request message from the UAC 210, prior to requesting registration with the SIP proxy server 230, the public IP address of which the SIP proxy server 230 can know the contact header of the SIP message. After switching to step 2, the registration request message is transmitted to the SIP proxy server 230 (step 3). Accordingly, after processing the registration procedure (step4), the SIP proxy server 230 sends a response (for example, 200 OK) to the home SIP proxy 220 of the home gateway (step 200). After receiving the response, the home SIP proxy 220 changes the contact header of the SIP message back to (private IP address: port) corresponding to the ID of the corresponding UAC (step 6), and then the registration completion message 200 to the UAC 210. OK) (step 7). This completes the registration process.

이렇게 하여 사설 IP 단말기의 SIP 프록시 서버에의 등록이 완료되면, 상기 사설 IP 단말기 또는 공인 IP 단말기에 의한 세션 요구에 의해 RTP 세션을 생성하게 된다. 먼저 사설 IP 단말기에 의한 세션 요구에 의해 RTP 세션을 생성하는 과정에 대해 설명해 보기로 한다.When the registration of the private IP terminal to the SIP proxy server is completed in this way, an RTP session is generated by the session request by the private IP terminal or the public IP terminal. First, the process of creating an RTP session by a session request by a private IP terminal will be described.

도 3은 본 발명의 실시예에 따른 홈 네트워크를 위한 SIP 서비스 방법에 있어서, 사설 IP 단말기의 세션 요구로 인한 사설 IP 단말기(UAC)와 공인 IP 단말기(UAS) 사이의 RTP 미디어 스트림의 전송 절차를 보여주는 도면이다.3 is a diagram illustrating a procedure for transmitting an RTP media stream between a private IP terminal (UAC) and a public IP terminal (UAS) due to a session request of a private IP terminal in a SIP service method for a home network according to an embodiment of the present invention. Figure showing.

여기서, 우선 사설 망의 UAC는 SIP 프록시 서버에 단말기가 등록되어 있다고 가정한다.Here, first, it is assumed that the UAC of the private network has a terminal registered in the SIP proxy server.

도 3을 참조하면, 먼저 사설 망의 UAC(310)는 세션을 설정하기 위해 홈 게이트웨이의 홈 SIP 프록시(320)에 초청(invite) 메시지를 보낸다(step1). 그러면, 홈 SIP 프록시(320)는 상기 도 2에서와 같이 초청 메시지의 콘택트(contact) 헤더를 공인 망에서 인식될 수 있는 공인 IP로 변경하고(step2), 아울러 메시지의 바디(body) 부분에 있는 SDP(Session Description Protocol;세션 기술 프로토콜) IP 또한 공인 IP로 변경한다(step3). 그 후 RTP 세션 요구를 받아들일 준비를 홈 게이트웨이의 UDP 릴레이 서비스(330) 상에 요구하고(step4), SIP 프록시 서버(340)에 초청 메시지를 전송한다(step5). 초청 메시지를 받은 SIP 프록시 서버(340)는 메시지 내의 UAS(350)의 ID를 확인하여 호 처리를 하고(step6), UAS(350)로 초청 메시지를 전송한다(step7). 초청 메시지를 받은 UAS(350)는 수락 메시지(200 OK 메시 지)를 SIP 프록시 서버(340)로 전송하고(step9), SIP 프록시 서버(340)는 호 처리 절차를 거쳐(step10) UAC쪽의 홈 SIP 프록시(320)로 수락 메시지(200 OK 메시지)를 전달한다(step11). 그 후 홈 SIP 프록시(320)는 홈 게이트웨이의 UDP 릴레이 서비스(330)에 RTP 세션을 열 준비가 되었음을 알린 후(step13), SIP 메시지의 콘택트 헤더와 UAS(350)의 SDP IP를 변경하여(step12,14) UAC(310)로 수락 메시지(200 OK 메시지)를 전송한다(step15). 수락 메시지(200 OK 메시지)를 받은 UAC(310)는 그에 대한 응답으로 확인(ACK) 메시지를 홈 SIP 프록시(320)를 거쳐 SIP 프록시 서버(340)로 전송하고(step16,17), SIP 프록시 서버(340)는 확인(ACK) 처리 절차를 거친 후(step18) UAS(350)로 확인(ACK) 메시지를 전달한다(step19). Referring to FIG. 3, first, a UAC 310 of a private network sends an invitation message to a home SIP proxy 320 of a home gateway to establish a session (step 1). Then, the home SIP proxy 320 changes the contact header of the invitation message to a public IP that can be recognized by the public network as shown in FIG. 2 (step2), and also in the body part of the message. Session Description Protocol (SDP) IP is also changed to public IP (step 3). It then requests to prepare for accepting the RTP session request on the UDP relay service 330 of the home gateway (step4), and sends an invitation message to the SIP proxy server 340 (step5). Upon receiving the invitation message, the SIP proxy server 340 checks the ID of the UAS 350 in the message, processes the call (step 6), and transmits the invitation message to the UAS 350 (step 7). Upon receiving the invitation message, the UAS 350 transmits an acceptance message (200 OK message) to the SIP proxy server 340 (step 9), and the SIP proxy server 340 processes the call (step 10) to the home of the UAC side. The accept message (200 OK message) is forwarded to the SIP proxy 320 (step11). Thereafter, the home SIP proxy 320 notifies the UDP relay service 330 of the home gateway that it is ready to open an RTP session (step13), and then changes the contact header of the SIP message and the SDP IP of the UAS 350 (step12). (14) A acceptance message (200 OK message) is transmitted to the UAC 310 (step 15). The UAC 310 receiving the acceptance message (200 OK message) sends an acknowledgment (ACK) message to the SIP proxy server 340 via the home SIP proxy 320 (steps 16 and 17) in response thereto. In step 340, the acknowledgment (ACK) process is performed (step 18), and the acknowledgment (ACK) message is transmitted to the UAS 350 (step 19).

위와 같은 절차에 의해 SIP 시그널링(signaling) 과정이 끝나면, 확인(ACK) 메시지를 받은 UAS(350)는 RTP 데이터를 UDP 릴레이 서비스(330)를 거쳐 UAC(310)로 전송하며(step20,21), 이로써 RTP 세션이 성공적으로 열리게 된다. RTP 세션 동안 UAC(310)와 UAS(350)는 UDP 릴레이 서비스(330)를 통해 데이터를 주고 받을 수 있다(step22,23). 여기서, 상기 UDP 릴레이 서비스(330)는 발신 사설 IP 단말기(UAC)(310)에 연결된 홈 게이트웨이 상에 응용프로그램 형태로 존재하며, 발신 사설 IP 단말(UAC)(310)과 착신 IP 단말기(UAS)(350) 사이의 RTP 데이터 전송을 중계한다.After the SIP signaling process is completed by the above procedure, the UAS 350 receiving the acknowledgment message transmits the RTP data to the UAC 310 via the UDP relay service 330 (steps 20 and 21). This will open the RTP session successfully. During the RTP session, the UAC 310 and the UAS 350 may exchange data via the UDP relay service 330 (steps 22 and 23). Here, the UDP relay service 330 is present in the form of an application program on the home gateway connected to the calling private IP terminal (UAC) 310, and the calling IP terminal (UAC) 310 and the destination IP terminal (UAS). Relay the RTP data transmission between 350.

이상과 같은 일련의 과정에 있어서, 100 Trying, 180 Ringing 메시지는 생략되어 있지만(step8 참조), 당업자라면 이러한 메시지들의 생략에도 불구하고 상기에서와 같은 사설 IP 단말기(UAC)(310)와 공인 IP 단말기(UAS)(350)사이의 RTP 미 디어 스트림의 전송 절차를 이해할 수 있을 것이다. In the above series of steps, the 100 Trying and 180 Ringing messages are omitted (see step 8), but those skilled in the art, despite the omission of these messages, are aware of the private IP terminal (UAC) 310 and the public IP terminal as described above. It will be understood that the procedure of transmission of the RTP media stream between the (UAS) 350.

한편, RTP 데이터의 송수신이 완료된 후, UAS(350) 또는 UAC(310)에서 홉-바이-홉(hop-by-hop) 방식으로 UAC(310) - 홈 SIP 프록시(320) - SIP 프록시 서버(340) - UAS(350)의 경로로 바이(BYE) 요구 메시지를 전송하면, 이에 대한 응답으로 홉-바이-홉 방식으로 수락(200 OK) 응답 메시지가 전송되어 콜 설정을 해제하게 된다. On the other hand, after the transmission and reception of the RTP data is completed, the UAC 310-home SIP proxy 320-SIP proxy server in a hop-by-hop manner in the UAS 350 or UAC 310 ( 340)-When the BYE request message is transmitted through the path of the UAS 350, a 200 OK response message is transmitted in a hop-by-hop manner in response to this to release the call setup.

이상에 의해 사설 IP 단말기의 세션 요구로 인한 사설 IP 단말기(UAC)와 공인 IP 단말기(UAS) 사이의 RTP 미디어 스트림의 전송 절차에 대해 설명하였다. 그러면, 이번에는 공인 IP 단말기의 세션 요구로 인한 사설 IP 단말(UAS)과 공인 IP 단말기(UAC) 사이의 RTP 미디어 스트림의 전송 절차에 대하여 설명해 보기로 한다.As described above, the transmission procedure of the RTP media stream between the private IP terminal (UAC) and the public IP terminal (UAS) due to the session request of the private IP terminal has been described. Next, a description will be given of the transmission procedure of the RTP media stream between the private IP terminal (UAS) and the public IP terminal (UAC) due to the session request of the public IP terminal.

도 4는 본 발명의 실시예에 따른 홈 네트워크를 위한 SIP 서비스 방법에 있어서, 공인 IP 단말기의 세션 요구로 인한 사설 IP 단말기(UAS)와 공인 IP 단말기(UAC)사이의 RTP 미디어 스트림의 전송 절차를 보여주는 도면이다.4 is a diagram illustrating a procedure for transmitting an RTP media stream between a private IP terminal (UAS) and a public IP terminal (UAC) due to a session request of a public IP terminal in a SIP service method for a home network according to an embodiment of the present invention. Figure showing.

여기서, 먼저 사설 망의 UAS는 SIP 프록시 서버에 단말이 등록되어 있다고 가정한다.Here, first, it is assumed that a UAS of a private network has a terminal registered in a SIP proxy server.

도 4를 참조하면, 먼저 공인 망의 UAC(410)는 세션을 설정하기 위해 SIP 프록시 서버(420)에 초청(INVITE) 메시지를 보낸다(step1). 그러면, SIP 프록시 서버(420)는 호 처리 절차를 거친 후(step2), 홈 SIP 프록시(440)에 초청(INVITE) 메시지를 전송한다(step3). 메시지를 받은 홈 SIP 프록시(440)는 메시지의 바디 (body) 부분에 있는 UAC의 SDP IP를 변경하고(step4), RTP 세션 요구를 받아들일 준비를 홈 게이트웨이의 UDP Relay 서비스(430) 상에 요구한 후(step5), UAS(450)로 초청(INVITE) 메시지를 전송한다(step6). 초청(INVITE) 메시지를 받은 사설 망의 UAS(450)는 수락(200 OK) 메시지를 홈 SIP 프록시(440)에 전송한다(step8). 그 후 홈 SIP 프록시(440)는 UAS(450)의 SDP IP를 변경하고(step9), 홈 게이트웨이의 UDP Relay 서비스(430)에 RTP 세션을 열 준비가 되었음을 알린 후(step10), SIP 프록시 서버(420)에 수락(200 OK) 메시지를 전송한다(step11). 수락(200 OK) 메시지를 받은 SIP 프록시 서버(420)는 호 처리 절차를 거친 후(step12), UAC(410)에 수락(200 OK) 메시지를 전달한다(step13). 수락(200 OK) 메시지를 받은 UAC(410)는 그에 대한 응답으로 확인(ACK) 메시지를 SIP 프록시 서버(420)에 전송하고(step14), SIP 프록시 서버(420)는 확인 처리 절차를 거친 후(step15), 홈 SIP 프록시(440)로 확인(ACK) 메시지를 전달한다(step16). 확인(ACK) 응답을 전달받은 홈 SIP 프록시(440)는 다시 UAS(450)로 확인(ACK) 응답을 전달한다(step17). 이로써 SIP 시그널링(signaling) 과정을 완료한다. Referring to FIG. 4, first, the UAC 410 of a public network sends an INVITE message to the SIP proxy server 420 to establish a session (step 1). Then, the SIP proxy server 420 sends a INVITE message to the home SIP proxy 440 after step 2 (step 2). The home SIP proxy 440 receiving the message changes the SDP IP of the UAC in the body portion of the message (step 4) and requests on the home relay's UDP Relay service 430 to accept the RTP session request. After that (step5), the UAS (450) transmits an invitation (INVITE) message (step6). The UAS 450 of the private network receiving the INVITE message sends a 200 OK message to the home SIP proxy 440 (step 8). Thereafter, the home SIP proxy 440 changes the SDP IP of the UAS 450 (step 9), notifies the UDP relay service 430 of the home gateway that it is ready to open an RTP session (step 10), and then executes the SIP proxy server ( In step 420, an OK (200 OK) message is transmitted. After receiving the 200 OK message, the SIP proxy server 420 transfers the 200 OK message to the UAC 410 after the call processing procedure (step 12). After receiving the 200 OK message, the UAC 410 transmits an acknowledgment (ACK) message to the SIP proxy server 420 in response (step 14), and the SIP proxy server 420 undergoes a verification process (step 14). In step 15, an acknowledgment (ACK) message is transmitted to the home SIP proxy 440 (step 16). The home SIP proxy 440, which has received the acknowledgment (ACK) response, transmits an acknowledgment (ACK) response to the UAS 450 again (step 17). This completes the SIP signaling process.

위와 같은 절차에 의해 SIP 시그널링 과정이 끝나면, 확인(ACK) 메시지를 받은 UAS(450)는 RTP 데이터를 UDP 릴레이(430)를 거쳐 UAC(410)로 전송한다(step18, 19). 이로써, RTP 세션이 성공적으로 열리게 된다. RTP 세션 동안 UAC(410)와 UAS(450)는 UDP 릴레이 서비스(430)를 통해 데이터를 주고 받을 수 있다 (step20,21). 여기서, 상기 UDP 릴레이 서비스(430)는 착신 사설 IP 단말기 (UAS)(450)에 연결된 홈 게이트웨이 상에 응용프로그램 형태로 존재하며, 발신 공인 IP 단말기(UAC)(410)와 착신 사설 IP 단말기(UAS)(450) 사이의 RTP 데이터 전송 을 중계한다.After the SIP signaling process is completed by the above procedure, the UAS 450 receiving the acknowledgment (ACK) message transmits the RTP data to the UAC 410 via the UDP relay 430 (steps 18 and 19). This will open the RTP session successfully. During the RTP session, the UAC 410 and the UAS 450 may exchange data through the UDP relay service 430 (steps 20 and 21). Here, the UDP relay service 430 is present in the form of an application program on the home gateway connected to the destination private IP terminal (UAS) 450, and the originating public IP terminal (UAC) 410 and the destination private IP terminal (UAS). Relay RTP data transmission between 450

이상과 같은 일련의 과정에 있어서, 100 Trying, 180 Ringing 메시지는 생략되어 있지만(step7 참조), 당업자라면 이러한 메시지들의 생략에도 불구하고 상기에서와 같은 사설 IP 단말기(UAS)와 공인 IP 단말기(UAC)사이의 RTP 미디어 스트림의 전송 절차를 이해할 수 있을 것이다. In the above series of steps, the 100 Trying and 180 Ringing messages are omitted (see step 7), but those skilled in the art, despite the omission of these messages, are aware of the above-mentioned private IP terminal (UAS) and public IP terminal (UAC). Understand the transmission procedure of the RTP media stream between.

한편, RTP 데이터의 송수신이 완료된 후, UAS(450) 또는 UAC(410)에서 홉-바이-홉 방식으로 UAC(410) - SIP 프록시 서버(420) - 홈 SIP 프록시(440) - UAS (450)의 경로로 바이(BYE) 요구 메시지를 전송하면, 이에 대한 응답으로 홉-바이-홉 방식으로 200 OK 응답 메시지가 전송되어 콜 설정을 해제하게 된다.Meanwhile, after the transmission and reception of RTP data is completed, the UAC 410-SIP proxy server 420-home SIP proxy 440-UAS 450 in a hop-by-hop manner in the UAS 450 or the UAC 410. When the BYE request message is transmitted through the path of the BYE, a 200 OK response message is transmitted in a hop-by-hop manner in response to this to release the call setup.

이상에서 본 발명의 실시예에 대하여 상세하게 설명하였지만, 본 발명의 권리범위는 이에 한정되는 것은 아니고 다음의 청구범위에서 정의하고 있는 본 발명의 기본 개념을 이용한 당업자의 여러 변형 및 개량 형태 또한 본 발명의 권리범위에 속하는 것이다.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.

이상의 설명에서와 같이, 본 발명의 실시예에 따른 홈 네트워크를 위한 SIP 서비스 방법은 종래의 대칭적 방식인 NAT와 TURN 서버를 사용한 형태가 갖는 대역폭 낭비와 지연의 문제를 홈 게이트웨이 상에 홈 SIP 프록시와 UDP 릴레이 서비스를 구현하여 분산 처리함으로써, SIP 단말기 간의 실시간 미디어 스트림의 전송을 보다 빠르고 안정적으로 지원할 수 있는 효과가 있다. 또한, 본 발명은 SIP 유저 에이전트에 특별한 요구사항을 가지지 않아 어떠한 형태의 SIP 단말기와도 호환되 는 장점이 있다.As described above, the SIP service method for the home network according to the embodiment of the present invention is a home SIP proxy on the home gateway to solve the problem of bandwidth waste and delay of the conventional symmetric method using the NAT and TURN server. And distributed processing by implementing the UDP relay service, it is possible to more quickly and stably support the transmission of the real-time media stream between SIP terminals. In addition, the present invention does not have a special requirement for the SIP user agent has the advantage that it is compatible with any type of SIP terminal.

Claims (10)

사설 IP 단말기와 공인 IP 단말기 사이에 원활한 RTP 세션의 처리를 가능하게 하기 위한 홈 네트워크를 위한 SIP 서비스 방법에 있어서,In the SIP service method for a home network to enable smooth processing of RTP session between a private IP terminal and a public IP terminal, a) 사설 IP 단말기들에 대한 사설 IP 주소와 그에 대응하는 공인 IP 주소의 쌍을 SIP 프록시 서버에 등록하는 단계;a) registering a pair of private IP addresses for the private IP terminals and corresponding public IP addresses with the SIP proxy server; b) 상기 사설 IP 단말기 또는 공인 IP 단말기에 의한 세션 요구에 의해 RTP 세션을 생성하는 단계; 및 b) creating an RTP session in response to a session request by the private IP terminal or a public IP terminal; And c) 상기 생성된 RTP 세션에 의해 상기 사설 IP 단말기와 공인 IP 단말기 사이에 UDP 릴레이를 통해 RTP 미디어 스트림을 주고받는 단계를 포함하는 홈 네트워크를 위한 SIP 서비스 방법.c) sending and receiving an RTP media stream between the private IP terminal and the public IP terminal through a UDP relay by the generated RTP session. 제1항에서,In claim 1, 상기 단계 a)에서 사설 IP 단말기의 SIP 프록시 서버에의 등록 절차는,In step a), the registration procedure of the private IP terminal to the SIP proxy server is a-1) 사설 IP를 가진 UAC(User Agent Client)가 홈 게이트웨이의 홈 SIP 프록시에 등록(register) 요청 메시지를 보내는 단계; a-1) sending a registration request message to a home SIP proxy of a home gateway by a user agent client (UAC) having a private IP; a-2) 상기 등록 요청 메시지를 받은 홈 SIP 프록시가 SIP 메시지의 콘택트 헤더를 SIP 프록시 서버가 알 수 있는 공인 IP 주소로 바꾼 후 SIP 프록시 서버로 전송하는 단계; a-2) the home SIP proxy receiving the registration request message, converting the contact header of the SIP message into a public IP address known to the SIP proxy server, and transmitting the SIP header to the SIP proxy server; a-3) SIP 메시지를 수신한 SIP 프록시 서버가 등록 절차를 처리한 후, 상기 홈 게이트웨이의 홈 SIP 프록시로 등록이 완료되었음을 알리는 단계; 및a-3) after the SIP proxy server receiving the SIP message processes the registration procedure, informing that the registration is completed with the home SIP proxy of the home gateway; And a-4) 상기 등록완료 통보를 받은 홈 SIP 프록시가 다시 SIP 메시지의 콘택트 헤더를 해당 UAC의 ID에 대응하는 (사설 IP주소:포트)로 바꾼 후 상기 UAC로 등록완료를 통보하는 단계를 포함하여 이루어진 홈 네트워크를 위한 SIP 서비스 방법.a-4) the home SIP proxy receiving the registration completion notification, changing the contact header of the SIP message back to (private IP address: port) corresponding to the ID of the corresponding UAC, and notifying the completion of registration to the UAC; SIP service method for a made home network. 제1항에서,In claim 1, 상기 단계 b)에서 사설 IP 단말기에 의한 세션 요구에 의해 RTP 세션을 생성하는 단계는,In the step b), the step of creating the RTP session by the session request by the private IP terminal, b-1) 발신 사설 IP 단말기가 홈 SIP 프록시와 SIP 프록시 서버를 거쳐 착신 공인 IP 단말기에 초청(invite) 메시지를 보내는 단계;b-1) the originating private IP terminal sending an invite message to the called public IP terminal via the home SIP proxy and the SIP proxy server; b-2) 상기 초청 메시지를 받은 착신 공인 IP 단말기가 SIP 프록시 서버와 홈 SIP 프록시를 거쳐 발신 사설 IP 단말기로 수락 메시지를 보내는 단계;b-2) the incoming public IP terminal receiving the invitation message sending an acceptance message to the calling private IP terminal via the SIP proxy server and the home SIP proxy; b-3) 상기 수락 메시지를 받은 발신 사설 IP 단말기가 홈 SIP 프록시와 SIP 프록시 서버를 거쳐 착신 공인 IP 단말기로 확인 메시지를 보내는 단계를 포함하여 이루어진 홈 네트워크를 위한 SIP 서비스 방법.b-3) a SIP service method for a home network, comprising the step of sending a confirmation message to a called public IP terminal through a home SIP proxy and a SIP proxy server receiving the acceptance message. 제3항에서,In claim 3, 상기 단계 b-1)에서 사설 IP 단말기로부터 초청 메시지를 받은 홈 SIP 프록시는 초청 메시지의 콘택트(contact) 헤더와 SDP IP를 공인 IP로 변경하고, RTP 세션 요구를 받아들일 준비를 홈 게이트웨이의 UDP 릴레이 서비스 상에 요구하며, SIP 프록시 서버는 메시지 내의 공인 IP 단말기의 ID를 확인하여 호 처리를 하는 것을 특징으로 하는 홈 네트워크를 위한 SIP 서비스 방법.The home SIP proxy receiving the invitation message from the private IP terminal in step b-1) changes the contact header and SDP IP of the invitation message to the public IP and prepares to accept the RTP session request. A SIP service method for a home network, wherein the SIP proxy server checks the ID of a public IP terminal in a message and processes the call. 제3항에서,In claim 3, 상기 단계 b-2)에서 수락 메시지(200 OK 메시지)를 전송받은 SIP 프록시 서버는 호를 처리하고, 홈 SIP 프록시는 홈 게이트웨이의 UDP 릴레이 서비스에 RTP 세션을 열 준비가 되었음을 알리며, SIP 메시지의 콘택트 헤더와 SDP IP를 변경하는 것을 특징으로 하는 홈 네트워크를 위한 SIP 서비스 방법.In step b-2), the SIP proxy server receiving the acceptance message (200 OK message) processes the call, and the home SIP proxy notifies that the home gateway is ready to open an RTP session to the UDP relay service, and contacts the SIP message. SIP service method for a home network, characterized by changing a header and an SDP IP. 제1항에서,In claim 1, 상기 단계 c)에서의 UDP 릴레이 서비스는 발신 사설 IP 단말에 연결된 홈 게이트웨이 상에 응용프로그램 형태로 존재하며, 발신 사설 IP 단말(UAC)과 착신 IP 단말(UAS) 사이의 RTP 데이터 전송을 중계하는 것을 특징으로 하는 홈 네트워크를 위한 SIP 서비스 방법.The UDP relay service in step c) exists in the form of an application program on the home gateway connected to the originating private IP terminal, and relays the RTP data transmission between the originating private IP terminal (UAC) and the destination IP terminal (UAS). SIP service method for home network characterized in that. 제1항에서,In claim 1, 상기 단계 b)에서 공인 IP 단말기에 의한 세션 요구에 의해 RTP 세션을 생성하는 단계는,In the step b), generating the RTP session by the session request by the public IP terminal, b'-1) 외부 공인 IP 단말기가 SIP 프록시 서버와 홈 SIP 프록시를 거쳐 사설 IP 단말기에 초청 메시지를 보내는 단계;b'-1) the external public IP terminal sending an invitation message to the private IP terminal via the SIP proxy server and the home SIP proxy; b'-2) 상기 초청 메시지를 받은 사설 IP 단말기가 홈 SIP 프록시와 SIP 프록시 서버를 거쳐 발신 공인 IP 단말기로 수락 메시지를 보내는 단계;b'-2) the private IP terminal receiving the invitation message sending an acceptance message to the calling public IP terminal through a home SIP proxy and a SIP proxy server; b'-3) 상기 수락 메시지를 받은 발신 공인 IP 단말기가 SIP 프록시 서버와 홈 SIP 프록시를 거쳐 착신 사설 IP 단말기로 확인 메시지를 보내는 단계를 포함하여 이루어진 것을 특징으로 하는 홈 네트워크를 위한 SIP 서비스 방법.b'-3) A SIP service method for a home network, comprising the step of sending a confirmation message to an incoming private IP terminal via a SIP proxy server and a home SIP proxy, receiving the acceptance message. 제7항에서,In claim 7, 상기 단계 b'-1)에서 공인 망의 UAC로부터 초청(INVITE) 메시지를 받은 SIP 프록시 서버는 호 처리를 한 후, 홈 SIP 프록시로 초청 메시지를 전송하고, 그 메시지를 받은 홈 SIP 프록시는 메시지 내에 있는 UAC의 SDP IP를 변경하며, RTP 세션 요구를 받아들일 준비를 홈 게이트웨이의 UDP 릴레이 서비스 상에 요구하는 것을 특징으로 하는 홈 네트워크를 위한 SIP 서비스 방법.In step b'-1), the SIP proxy server receiving the INVITE message from the UAC of the authorized network processes the call and transmits the invitation message to the home SIP proxy, and the home SIP proxy receiving the message is in the message. A SIP service method for a home network, comprising: changing the SDP IP of an existing UAC and requesting preparation for accepting an RTP session request on a UDP relay service of a home gateway. 제7항에서,In claim 7, 상기 단계 b'-2)에서 사설 망의 UAS로부터 수락(200 OK) 메시지를 받은 홈 SIP 프록시는 UAS의 SDP IP를 변경하고, 홈 게이트웨이의 UDP 릴레이 서비스에 RTP 세션을 열 준비가 되었음을 알리며, SIP 프록시 서버는 호 처리를 하는 것을 특징으로 하는 홈 네트워크를 위한 SIP 서비스 방법.In step b'-2), the home SIP proxy that receives the 200 OK message from the UAS of the private network changes the SDP IP of the UAS, notifies that it is ready to open an RTP session to the UDP relay service of the home gateway, and SIP Proxy server is a SIP service method for a home network, characterized in that the call processing. 제7항에서,In claim 7, 상기 단계 c)에서 상기 UDP 릴레이 서비스는 착신 사설 IP 단말기에 연결된 홈 게이트웨이 상에 응용프로그램 형태로 존재하며, 발신 공인 IP 단말기(UAC)와 착신 사설 IP 단말기(UAS) 사이의 RTP 데이터 전송을 중계하는 것을 특징으로 하는 홈 네트워크를 위한 SIP 서비스 방법.In step c), the UDP relay service is present in the form of an application program on a home gateway connected to the destination private IP terminal, and relays RTP data transmission between the originating public IP terminal (UAC) and the destination private IP terminal (UAS). SIP service method for a home network, characterized in that.
KR1020060120534A 2006-12-01 2006-12-01 Sip(session initiation protocol) service method for home network KR100769216B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060120534A KR100769216B1 (en) 2006-12-01 2006-12-01 Sip(session initiation protocol) service method for home network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060120534A KR100769216B1 (en) 2006-12-01 2006-12-01 Sip(session initiation protocol) service method for home network

Publications (1)

Publication Number Publication Date
KR100769216B1 true KR100769216B1 (en) 2007-10-22

Family

ID=38815478

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060120534A KR100769216B1 (en) 2006-12-01 2006-12-01 Sip(session initiation protocol) service method for home network

Country Status (1)

Country Link
KR (1) KR100769216B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101253025B1 (en) 2011-04-12 2013-04-16 주식회사 엘지유플러스 System for transmitting udp push data and control method thereof, communication apparatus comprised in the system and control method thereof
KR101341019B1 (en) * 2011-09-30 2013-12-13 숭실대학교산학협력단 Mobile-controlled Live Streaming Service Transfer Method on Home Network

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050043597A (en) * 2003-11-04 2005-05-11 한국전자통신연구원 Method of visitor confirming and communication service using internet

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050043597A (en) * 2003-11-04 2005-05-11 한국전자통신연구원 Method of visitor confirming and communication service using internet

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101253025B1 (en) 2011-04-12 2013-04-16 주식회사 엘지유플러스 System for transmitting udp push data and control method thereof, communication apparatus comprised in the system and control method thereof
KR101341019B1 (en) * 2011-09-30 2013-12-13 숭실대학교산학협력단 Mobile-controlled Live Streaming Service Transfer Method on Home Network

Similar Documents

Publication Publication Date Title
US9350699B2 (en) Scalable NAT traversal
US8767590B2 (en) Multimedia conference system and method which enables communication between private network and internet
US20050066038A1 (en) Session control system, communication terminal and servers
US20070253418A1 (en) Routing path optimization between sip endpoints
CN101414950B (en) Method for address translation device traversal for sip signaling messages through temporary use of the TCP transport protocol
EP1551148A2 (en) Method and apparatus for functional architecture of a SIP network border element for voice-over-IP
US20090077245A1 (en) Client-To-Client Direct RTP Exchange In A Managed Client-Server Network
US8098671B1 (en) Monitoring datagrams in a data network
US20060187912A1 (en) Method and apparatus for server-side NAT detection
KR101368172B1 (en) Traversal of nat address translation equipment for signalling messages complying with the sip protocol
JP3891195B2 (en) Data communication method
TW201002018A (en) Method for predicting port number of NAT apparatus based on two STUN server inquiry results
US8374178B2 (en) Apparatus and method for supporting NAT traversal in voice over internet protocol system
KR100769216B1 (en) Sip(session initiation protocol) service method for home network
EP4064635B1 (en) Method for realizing voice-over-ip communication sessions between a calling party and a called party, telecommunications network, transport forwarding path network entity or proxy call state control function entity or functionality or software defined network entity or functionality, program and computer-readable medium
EP1959643A1 (en) Method for NAT traversal in a P2P-SIP network
US20080137647A1 (en) VoIP terminal and method for providing multi-call service
KR100899440B1 (en) Method for providing VoIP service in private network and terminal unit thereof
JP5135257B2 (en) Method and system for establishing a plurality of sessions of different routes by home gateway and session control server
KR101344270B1 (en) Communication device in cloud environment and operating method for communication device
KR100410809B1 (en) Communication method for SIP under Network Address Translation
JP5247534B2 (en) Method and system for establishing a plurality of sessions of different routes depending on home gateway
Nurmela Session initiation protocol
Georgescu Best practices for SIP NAT traversal
KR20060075321A (en) Method for providing sip phone service using private ip address and method thereof

Legal Events

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

Payment date: 20121008

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20131004

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20141006

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20151006

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20161005

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20170928

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20181001

Year of fee payment: 12

FPAY Annual fee payment

Payment date: 20190903

Year of fee payment: 13