[go: up one dir, main page]

KR100924162B1 - Control Method of Media Channel in SIP Server and Communication System Implementing It - Google Patents

Control Method of Media Channel in SIP Server and Communication System Implementing It Download PDF

Info

Publication number
KR100924162B1
KR100924162B1 KR1020030026469A KR20030026469A KR100924162B1 KR 100924162 B1 KR100924162 B1 KR 100924162B1 KR 1020030026469 A KR1020030026469 A KR 1020030026469A KR 20030026469 A KR20030026469 A KR 20030026469A KR 100924162 B1 KR100924162 B1 KR 100924162B1
Authority
KR
South Korea
Prior art keywords
media
sip server
message
uas
sip
Prior art date
Application number
KR1020030026469A
Other languages
Korean (ko)
Other versions
KR20040092231A (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 KR1020030026469A priority Critical patent/KR100924162B1/en
Publication of KR20040092231A publication Critical patent/KR20040092231A/en
Application granted granted Critical
Publication of KR100924162B1 publication Critical patent/KR100924162B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]

Landscapes

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

Abstract

본 발명은 에스아이피 프로토콜(SIP Protocol)을 기반으로 하는 통신시스템에서 에스아이피 서버가 미디어 채널을 제어하기 위한 수단으로, 수신하고자 하는 미디어의 속성이 기술된 메시지를 사용자에이전트로부터 수신하는 단계; 상기 기술된 미디어 속성 중 미디어 수신 아이피 주소 및 포트정보를 에스아이피 서버의 아이피 주소 및 포트정보로 변환하는 단계; 및 상기 변환된 메시지를 대화의 상대방인 사용자에이전트에게 전송하는 단계를 포함하는 에스아이피 서버에서의 미디어 채널의 제어방법 및 이를 구현한 통신시스템을 제공한다.
The present invention provides a means for the SIP server to control the media channel in a communication system based on the SIP protocol, the method comprising: receiving a message describing a property of a media to be received from a user agent; Converting the media receiving IP address and port information among the above described media attributes into IP addresses and port information of the SIP server; And a method of controlling a media channel in an SIP server and transmitting the converted message to a user agent which is a counterpart of a conversation.

SIP, UAC, UAS, SIP, UAC, UAS,

Description

에스아이피 서버에서의 미디어 채널의 제어방법 및 이를 구현한 통신시스템{Control Method of Media Channel at SIP Server and The Communication System with Said Method} Control Method of Media Channel at SIP Server and The Communication System with Said Method             

도 1은 종래 에스아이피 프로토콜 기반의 통신시스템 구성도로서 호(Call)가 설정되는 과정을 보여준다.1 is a block diagram of a conventional SIP protocol based communication system, and illustrates a process of setting a call.

도 2는 종래 에스아이피 프로토콜 기반의 통신시스템 구성도로서 호(Call)가 해제되는 과정을 보여준다.2 is a block diagram of a conventional SIP protocol based communication system, illustrating a process of releasing a call.

도 3은 본 발명에 따른 에스아이피 프로토콜 기반의 통신시스템 구성도
3 is a block diagram of a communication system based on the SIP protocol according to the present invention

<도면의 주요부분에 대한 부호설명><Code Description of Main Parts of Drawing>

201: 사용자에이전트클라이언트(UAC) 202: 사용자에이전트서버(UAS)201: User Agent Client (UAC) 202: User Agent Server (UAS)

210: 에스아이피 서버(SIP Server)
210: SIP server

본 발명은 에스아이피 프로토콜(SIP Protocol)을 기반으로 하는 통신시스템에서의 미디어 채널 제어방법 및 그 시스템에 관한 것으로, 보다 상세하게는 사용자에이전트들(클라이언트 및 서버)간에 설정된 미디어 채널을 에스아이피 서버가 직접 제어하는 방법 및 이를 포함하는 통신시스템에 관한 것이다.The present invention relates to a method and a system for controlling a media channel in a communication system based on the SIP protocol, and more particularly, a media channel set between user agents (client and server) by an SIP server. It relates to a direct control method and a communication system including the same.

에스아이피(SIP, RFC 2543)는 아이피(IP, Inter Protocol) 상에서 양자간 음성 및 화상 통화 또는 다자간 음성 및 화상 통화를 가능하게 하는 VoIP 프로토콜이다. SIP (RFC 2543) is a VoIP protocol that enables two-way voice and video calls or multi-party voice and video calls over IP (Inter Protocol).

VoIP란 전화망인 회선교환망(Circuit Switched Network) 대신에 IP 망이라는 상대적으로 값이 저렴하고 효율적인 패킷교환망(Packet Switched Network)을 이용하여 음성 및 화상 통신을 가능하게 하는 프로토콜을 말한다. 대표적인 VoIP 프로토콜로는 SIP 이외에도 H.323이 있다.VoIP is a protocol that enables voice and video communication by using a relatively inexpensive and efficient packet switched network called an IP network instead of a circuit switched network, which is a telephone network. The typical VoIP protocol is H.323 in addition to SIP.

SIP 프로토콜에는 인바이트(INVITE), 레지스터(REGISTER) 등의 메시지가 존재하고 이 중 INVITE는 전화 수신자를 향해 호설정 메시지를 보내는 것이고, 레지스터 메시지는 전화 단말이 등록 서버(Registration server)에 자신의 주소정보를 등록하는 메시지이다.In SIP protocol, there are messages such as INVITE, REGISTER, etc. Among them, INVITE sends a call setup message to a telephone receiver, and a register message is used by a telephone terminal to register its address with a registration server. This is a message for registering information.

SIP 프로토콜은 사용자에이전트클라이언트(UAC), 사용자에이전트서버(UAS), 프록시 서버(proxy Server), 등록 서버(Registration server) 등을 구성요소로 한다. The SIP protocol includes a user agent client (UAC), a user agent server (UAS), a proxy server, a registration server, and a registration server.

상기에서 UAC는 SIP 통화를 시도하는 전화 단말을 의미하며, UAS는 SIP 통화를 수신하는 전화 단말을 의미한다. UAC와 UAS의 구분은 기능상의 논리적인 구분일 뿐이고, 일반적으로 전화 단말은 전화 송신 및 수신이 모두 가능해야 하므로 UAC와 UAS를 모두 포함한다. 등록서버는 UAC 및 UAS가 SIP 네트워크 상에서 자기의 현재 위치를 등록해 놓은 서버이다. 프록시 서버는 IP 네트워크에서의 라우터와 유사한 개념의 서버로써 UAC가 UAS로 새로운 전화통화를 시도할 때 연결 설정 메시지를 중간에서 전달해 주는 역할을 한다. 프록시 서버는 등록서버와 물리적으로 같은 위치에 존재하며 등록서버에 등록된 UAS의 SIP 네트워크 상에서의 위치를 기반으로 호설정 메시지(INVITE Message)를 UAC로부터 UAS로 전달하는 역할을 수행한다. 이와 같이 등록서버와 프록시 서버는 물리적으로 하나의 기계에 존재하여, 이하에서는 이를 'SIP 서버'라고 칭한다.In the above description, UAC refers to a phone terminal attempting a SIP call, and UAS refers to a phone terminal receiving a SIP call. The distinction between UAC and UAS is only a logical division of functions, and in general, a telephone terminal includes both UAC and UAS since both telephone transmission and reception must be possible. The registration server is a server where UAC and UAS register their current location on the SIP network. The proxy server is a server similar in concept to a router in an IP network, and serves as a medium for transmitting a connection establishment message when UAC attempts a new telephone call to UAS. The proxy server is located at the same physical location as the registration server and transmits an INVITE message from the UAC to the UAS based on the location of the registered UAS on the SIP network. As such, the registration server and the proxy server physically exist in one machine, hereinafter referred to as 'SIP server'.

상기 SIP 서버 하나가 관장하는 범위를 SIP 네트워크 상의 도메인이라 한다. 도메인은 어떤 특정한 주소가 아니라, 주소의 범위를 나타낸다. 따라서, SIP 서버는 특정 주소의 범위를 관장한다고 할 수 있다.The range managed by one SIP server is called a domain on the SIP network. A domain is not a specific address, but a range of addresses. Thus, it can be said that the SIP server manages a range of specific addresses.

UAC로부터 UAS로의 전화연결은 하기와 같은 과정을 통해 이루어진다.The telephone connection from UAC to UAS is made through the following process.

먼저, UAC는 호설정 메시지(INVITE Message)를 UAS가 속한 도메인의 SIP 서버로 전송한다. SIP 서버는 상기 INVITE 메시지를 UAS에게로 전송한다. INVITE 메시지를 받은 UAS는 SIP 서버에게로 연결요청을 승인하는 200OK 응답을 전송하고, SIP 서버는 상기 응답을 다시 UAC로 전송함으로써 UAC와 UAS 사이의 전화연결이 성립되는 것이다.First, the UAC transmits an INVITE message to the SIP server of the domain to which the UAS belongs. The SIP server sends the INVITE message to the UAS. The UAS receiving the INVITE message sends a 200OK response to the SIP server to approve the connection request, and the SIP server sends the response back to the UAC to establish a telephone connection between the UAC and the UAS.

이때, UAC 로부터 UAS로의 INVITE 메시지와 UAS로부터 UAC로의 200OK 응답 메시지는 SDP(세션디스크립션프로토콜) 라는 메시지 바디를 포함하게 되는데 상기 SDP는 UAC와 UAS간에 주고 받을 음성 및 화상을 포함한 미디어의 속성을 기술한다. 일단 연결설정이 완료되면 UAC와 UAS는 SDP에 기술된 정보에 의해 음성 및 화상 데이터를 주고 받는다. 음성 및 화상 데이터는 SIP 메시지와는 전혀 다른 패스로 전송된다. 연결설정이 완료되는 즉시 SIP 서버는 필요하다면 과금을 시작하게 된다. 설정된 연결은 UAC나 UAS가 상대편에게 호해제 메시지인 BYE 메시지를 보냄으로써 연결을 종료시키게 된다. 연결이 종료되는 즉시 SIP 서버에서의 과금도 중단된다. 즉, SIP 서버는 연결이 설정되는 순간부터 연결이 종료되는 순간까지를 사용자가 전화를 이용했다고 보고 해당 시간을 계산하여 과금을 하게 되는 것이다,At this time, the INVITE message from the UAC to the UAS and the 200OK response message from the UAS to the UAC include a message body called SDP (session description protocol), which describes the attributes of the media including voice and video to be exchanged between the UAC and the UAS. . Once the connection setup is complete, the UAC and UAS send and receive audio and video data by the information described in the SDP. Voice and video data are transmitted in a completely different path than SIP messages. As soon as the connection is established, the SIP server will begin charging if necessary. The established connection is terminated by the UAC or UAS sending a BYE message, which is a call cancellation message to the other party. As soon as the connection is closed, billing on the SIP server is also stopped. That is, the SIP server calculates and charges the time when the user uses the telephone from the moment the connection is established to the moment the connection is terminated.

문제는 SIP를 이용한 음성 및 화상 통화는 모두 패킷교환망인 인터넷 망을 이용하고 있다는데 있다.The problem is that both voice and video calls using SIP use the Internet, a packet-switched network.

즉, SDP에 의하여 기술된 음성 및 화상 데이터가 SIP 서버를 거치는 SIP 메시지와는 달리 SIP 서버를 거치지 않고 전송되기 때문에 SIP 서버의 입장에서는 UAC와 UAS사이의 전화 연결이 끊겼다라고 생각하더라도 실제로는 미디어가 SIP 서버가 모르게 계속해서 흐를 수 있다. 만약, UAC와 UAS가 이를 악용하면 과금이 안되는 상황에서 계속해서 전화 통화를 할 수도 있다.
That is, since the voice and video data described by the SDP are transmitted without going through the SIP server, unlike the SIP message passing through the SIP server, even if the SIP server thinks that the telephone connection between the UAC and the UAS is lost, the media is actually The SIP server can continue to flow unknowingly. If UAC and UAS exploit this, they may continue to make phone calls when they are not charged.

도 1은 종래 SIP 프로토콜 기반의 통신시스템 구성도로서 호(Call)가 설정되는 과정을 보여준다. 1 is a diagram illustrating a process of establishing a call as a configuration diagram of a conventional SIP protocol based communication system.

먼저, UAC(101)가 'INVITE UAS' 라는 호설정 메시지를 SIP 서버(110)에 전송하면, SIP 서버(110)는 상기 메시지를 UAS(102)에게 전송한다. UAS(102)는 전화연 결을 승인하고, '200OK' 메시지를 SIP 서버에게로 전달한다. SIP 서버는 상기 메시지를 다시 UAC(101)에게로 전송한다. 상기 과정에 의해 연결이 완성되면 UAC와 UAS 사이에 미디어 채널(120)이 완성되고 상기 채널로 음성 및 화상 데이터가 전달된다. 이때부터 SIP 서버는 과금을 시작하게 된다. First, when the UAC 101 transmits a call setup message of 'INVITE UAS' to the SIP server 110, the SIP server 110 transmits the message to the UAS 102. The UAS 102 approves the telephone connection and sends a '200OK' message to the SIP server. The SIP server sends the message back to the UAC (101). When the connection is completed by the above process, the media channel 120 is completed between the UAC and the UAS, and voice and image data are transferred to the channel. From this time, the SIP server starts charging.

상기 도 1에서 알 수 있듯이, UAC(101)와 UAS(102)간에 형성된 미디어 채널(120)은 SIP 서버(110)를 거치지 않는다.
As can be seen in FIG. 1, the media channel 120 formed between the UAC 101 and the UAS 102 does not pass through the SIP server 110.

도 2는 종래 SIP 프로토콜 기반의 통신시스템 구성도로서 호(Call)가 해제되는 과정을 보여준다. 먼저, UAC(101)가 'BYE UAS'라는 호해제 메시지를 SIP 서버(110)에 보내면, SIP 서버는 상기 메시지를 UAS(102)에게 전달한다. UAS(102)는 '200OK'로 응답하여 전화를 끊는다. 이때 SIP 서버는 과금을 중단하게 된다.2 is a block diagram of a conventional SIP protocol-based communication system showing a process in which a call is released. First, when the UAC 101 sends a call release message of 'BYE UAS' to the SIP server 110, the SIP server transmits the message to the UAS 102. UAS 102 hangs up in response to '200OK'. At this time, the SIP server stops charging.

그러나, 도 2에서와 같이 SIP 서버(110)는 UAC와 UAS 사이에 설정된 미디어 채널의 해제를 강제할 수 없기 때문에 UAC(101)와 UAS(102)가 스스로 미디어 채널(120)을 끊지 않는다면 상기 미디어 채널은 계속해서 음성 및 화상을 전송하는데 사용될 수 있는 문제가 있다.
However, as shown in FIG. 2, since the SIP server 110 cannot force the release of the media channel established between the UAC and the UAS, the UAC 101 and the UAS 102 do not disconnect the media channel 120 by themselves. There is a problem that channels can continue to be used to transmit audio and video.

본 발명은 상기 종래 기술이 지니는 문제를 해결하기 위해 안출된 것으로, 사용자에이전트들(클라이언트 및 서버)간에 흐르는 미디어를 중간에서 가로채어 재전송시키며, 과금이 종료되면 사용자에이전트들사이에 흐르는 미디어의 종료를 강 제시켜 불법적인 미디어 전송을 차단함으로써, 미디어 채널을 SIP 서버에서 제어하는 방법을 제공함에 목적이 있다.The present invention has been made to solve the problems of the prior art, intercepts and retransmits the media flowing between the user agents (client and server) in the middle, the termination of the media flowing between the user agents when the billing is finished The purpose of the present invention is to provide a method of controlling a media channel in a SIP server by forcibly blocking illegal media transmission.

본 발명의 다른 목적은 상기 미디어 채널의 제어를 수행하는 SIP 서버를 포함하는 SIP 프로토콜 기반의 통신시스템을 제공함에 있다.
Another object of the present invention is to provide a SIP protocol based communication system including a SIP server for controlling the media channel.

상기한 목적을 달성하기 위해 본 발명은 수신하고자 하는 미디어의 속성이 기술된 메시지를 사용자에이전트로부터 수신하는 단계; 상기 기술된 미디어 속성 중 미디어 수신 IP 주소 및 포트정보를 SIP 서버의 IP 주소 및 포트정보로 변환하는 단계; 및 상기 변환된 메시지를 대화의 상대방인 사용자에이전트에게 전송하는 단계를 포함하는 SIP 서버에서의 미디어 채널의 제어방법을 제공한다.In order to achieve the above object, the present invention comprises the steps of receiving from the user agent a message describing the attributes of the media to receive; Converting the media receiving IP address and port information among the above described media attributes into IP addresses and port information of the SIP server; And transmitting the converted message to a user agent that is a counterpart of the conversation.

상기 SIP 서버는 바람직하게는 사용자에이전트로부터의 연결해제 메시지를 수신하는 경우 자신의 미디어 포트를 닫아 사용자 에이전트 사이의 미디어 전송을 종료시키는 단계를 추가로 구비한다.
The SIP server preferably further comprises the step of terminating its media transfer between user agents by closing its media port upon receiving a disconnect message from the user agent.

또한 본 발명은 사용자에이전트, SIP 서버를 포함하는 SIP 프로토콜 기반의 통신시스템에 있어서, 사용자에이전트측으로부터 수신되는 메시지에 포함된 미디어 속성 중 미디어 수신 IP 주소 및 포트정보를 SIP 서버의 IP 주소 및 포트정보로 변환하는 수단을 포함함을 특징으로 하는 SIP 프로토콜 기반의 통신시스템을 제공한다. In addition, the present invention is a SIP protocol-based communication system comprising a user agent, a SIP server, the media receiving IP address and port information of the media properties included in the message received from the user agent side IP address and port information of the SIP server It provides a SIP protocol-based communication system comprising a means for converting to.                     

이하 본 발명의 내용 중 '사용자에이전트(UA)'라고 함은 특별히 정의하지 않는 한 내용에 따라 사용자에이전트클라이언트(UAC) 또는 사용자에이전트서버(UAS)를 의미하며, 고유한 SIP ID를 가지는 사용자이다.Hereinafter, the term 'user agent (UA)' in the context of the present invention refers to a user agent client (UAC) or a user agent server (UAS) according to the contents, unless specifically defined, and has a unique SIP ID.

또한, 본 발명의 내용 중 '메시지'는 특별히 정의하지 않는 한 내용에 따라 INVITE 메시지 또는 200OK 응답메시지를 의미한다. In addition, "message" in the context of the present invention means an INVITE message or a 200OK response message, depending on the content unless otherwise defined.

또한, 본 발명의 내용 중 '미디어 속성'이라 함은 특별히 정의하지 않는 한 SDP에 기술된 수신을 요하는 미디어에 대한 정보로서, 미디어의 포맷, 미디어의 수신 IP 주소, 미디어의 수신 포트정보를 포함한다. 이때 미디어는 오디오 또는/및 비디오를 포함한다.
In addition, the term "media attribute" in the context of the present invention is information about a media requiring reception described in the SDP, unless specifically defined, and includes a format of the media, a reception IP address of the media, and information on a reception port of the media. do. The media then includes audio or / and video.

이하 본 발명의 내용을 바람직한 실시예로서 제시된 해당 도면 등을 참조하여 보다 상세히 설명하고자 한다.Hereinafter, the present invention will be described in more detail with reference to the accompanying drawings and the like as preferred embodiments.

도 3은 본 발명에 따른 SIP 프로토콜 기반의 통신시스템을 보여주고 있다. 본 발명의 통신시스템은 UAC(201), UAS(202)를 포함하는 사용자에이전트 그룹과, UAC 또는/및 UAS로부터 수신되는 메시지에 포함된 미디어 속성 중 미디어 수신 IP 주소 및 포트정보를 SIP 서버의 IP 주소 및 포트정보로 변환하는 수단이 구비된 SIP 서버(210)를 포함한다. 상기 SIP 서버(210)는 프록시서버와, 등록서버를 포함한다.3 shows a SIP protocol based communication system according to the present invention. According to an embodiment of the present invention, a communication system includes a user agent group including a UAC 201 and a UAS 202, and a media receiving IP address and port information among media attributes included in a message received from a UAC or / and a UAS. And a SIP server 210 provided with means for converting to address and port information. The SIP server 210 includes a proxy server and a registration server.

이하 상기 통신시스템의 구성을 기본으로 하여 본 발명의 내용을 도 4를 참조하여 통화연결단계, 미디어 전송단계 및 통화종료단계로 구분하여 설명한다. 다 만 각 구성에 대한 인용부호는 도 3에 개시된 것과 동일하게 부기하였다.
Hereinafter, the contents of the present invention will be described based on the configuration of the communication system by dividing into a call connection step, a media transmission step, and a call termination step with reference to FIG. However, the reference numerals for each configuration are the same as those shown in FIG.

A: 통화연결단계A: Call connection step

통화연결은 UAC(201)가 SDP를 포함하는 INVITE 메시지를 SIP서버(210)에 전송하는 단계; SIP서버(210)가 SDP의 주소/포트 정보를 자신의 주소 및 포트 정보로 변경하는 단계; 변경된 SDP를 포함하는 INVITE 메시지를 UAS(202)에게 전송하는 단계; UAS(202)가 상기 변경된 INVITE 메시지를 수신하는 단계; UAS(202)가 SDP를 포함하는 200OK 메시지를 SIP 서버(210)에 전송하는 단계; SIP 서버(210)가 SDP의 주소/포트 정보를 자신의 주소 및 포트정보로 변경하는 단계; 변경된 SDP를 포함하는 INVITE 메시지를 UAC(201)에게 전송하는 단계; UAC(201)가 상기 200OK 메시지를 수신하는 단계를 포함한다.
The call connection is performed by the UAC 201 transmitting an INVITE message including the SDP to the SIP server 210; Changing, by the SIP server 210, the address / port information of the SDP to its address and port information; Sending an INVITE message to the UAS 202 including the modified SDP; A UAS (202) receiving the modified INVITE message; The UAS 202 sending a 200OK message including the SDP to the SIP server 210; Changing, by the SIP server 210, the address / port information of the SDP into its own address and port information; Transmitting an INVITE message including the changed SDP to the UAC 201; UAC 201 includes receiving the 200OK message.

B: 미디어 전송단계B: Media transfer stage

UAC(201)와 UAS(202)사이에 SIP 서버(210)가 매개하여, UAS(202)가 UAC(201)로 미디어를 전송하고자 하는 경우 SIP 서버(210)의 주소 및 포트로 미디어를 먼저 전송하게 한 후, SIP 서버(210)가 원래의 SDP 주소 및 포트로 미디어를 전송하게 한다. 그 역의 경우에도 동일하게 적용된다.
If the SIP server 210 is mediated between the UAC 201 and the UAS 202 and the UAS 202 wishes to transmit the media to the UAC 201, the media is first transmitted to the address and port of the SIP server 210. After doing so, the SIP server 210 sends the media to the original SDP address and port. The same applies in the reverse case.

C: 통화종료단계C: End Call

UAC(201) 또는 UAS(202)가 BYE 메시지를 SIP 서버(210)에 전송하면, SIP 서 버(210)는 자신의 미디어 포트를 닫아 미디어의 흐름을 차단한다.
When the UAC 201 or the UAS 202 transmits a BYE message to the SIP server 210, the SIP server 210 closes its media port to block the flow of media.

위 과정을 보다 구체적인 예를 들어 설명하면 다음과 같다.If the above process is described with a more specific example as follows.

UAC(201)은 INVITE 메시지를 보낼 때, 자신이 받을 미디어의 속성을 기술하는 SDP를 함께 보내고, UAS(202) 역시 자신이 받을 미디어의 속성을 기술하는 SDP를 200OK에 포함하여 이를 UAC(201)에 전달한다. 이때, SIP 서버(210)는 UAC(201) 및 UAS(202)의 사이에서 INVITE 메시지 및 200OK 응답메시지를 전달하는 역할을 수행한다. 따라서, SIP 서버(210)는 상기 메시지에 포함된 SDP를 분석하여 UAC 및 UAC가 수신하기를 원하는 미디어의 속성을 파악할 수 있다. SDP에 기술되는 미디어 속성은 하기 표에 기재되어 있다.When the UAC 201 sends an INVITE message, the UAC 201 sends an SDP describing the attribute of the media to be received, and the UAS 202 also includes the SDP describing the attribute of the media to be received in the 200OK. To pass on. At this time, the SIP server 210 transfers the INVITE message and the 200OK response message between the UAC 201 and the UAS 202. Accordingly, the SIP server 210 may determine the attributes of the UAC and the media that the UAC wants to receive by analyzing the SDP included in the message. The media attributes described in the SDP are listed in the table below.

<표> 미디어 속성<Table> Media Properties

미디어 정보Media information 설명Explanation 오디오 포맷Audio format 자신이 수신할 수 있는 음성 데이터의 포맷Format of voice data that one can receive 오디오 수신 IP 주소Audio Receive IP Address 오디오를 수신할 단말기의 IP주소IP address of the terminal to receive audio 오디오 수신 포트Audio receiving port 오디오를 수신할 단말기의 UDP/TCP 포트UDP / TCP port of the terminal to receive audio 비디오 포맷Video format 자신이 수신할 수 있는 화상 데이터의 포맷Format of picture data that oneself can receive 비디오 수신 IP 주소Video Receive IP Address 비디오를 수신할 단말기의 IP주소IP address of the terminal to receive the video 비디오 수신 포트Video receiving port 비디오를 수신할 단말기의 UDP/TCP 포트UDP / TCP port of the terminal to receive video

UAS(202)는 UAC(201)에게 미디어를 전송할 때 UAC의 INVITE 메시지에 포함된 SDP에 기술된 <오디오 수신 IP주소, 오디오 수신 포트> 및, <비디오 수신 IP주소, 비디오 수신 포트>로 음성 및 화상 데이터를 각각 보내야 한다.When the UAS 202 transmits media to the UAC 201, the UAS 202 transmits the voice and audio to the <audio receiving IP address, audio receiving port> and <video receiving IP address, video receiving port> described in the SDP included in the UAC INVITE message. Each image data must be sent.

또한, UAC(201)는 UAS(202)에게 미디어를 전송할 때 UAS의 200OK 메시지에 포함된 SDP에 기술된 <오디오 수신 IP주소, 오디오 수신 포트> 및 <비디오 수신 IP 주소, 비디오 수신 포트>로 음성 및 화상 데이터를 각각 보내야 한다.In addition, when transmitting media to the UAS 202, the UAC 201 uses the <audio receiving IP address, audio receiving port> and <video receiving IP address, video receiving port> described in the SDP included in the 200OK message of the UAS. And image data, respectively.

SIP 서버(210)이 미디어 채널을 제어하기 위해서는 UAC(201)와 UAS(202) 사이에 전송되는 모든 미디어가 SIP 서버(210) 자신을 거치도록 하여야 한다. 도 3 및 도 4는 이와 같은 과정을 잘 보여주고 있다. 기존 SIP 프로토콜 기반의 통신시스템에 적용된 UAS와 UAC 사이의 미디어 전송채널(220)을 통한 직접전송방식은 본 발명에 의해 SIP 서버(210)가 이들 UA간의 미디어 전송을 가로채어 재전송하는 방식으로 대체된다.In order for the SIP server 210 to control the media channel, all media transmitted between the UAC 201 and the UAS 202 must pass through the SIP server 210 itself. 3 and 4 illustrate this process well. The direct transmission method through the media transmission channel 220 between the UAS and the UAC applied to the existing SIP protocol-based communication system is replaced by a method in which the SIP server 210 intercepts and retransmits media transmission between these UAs according to the present invention. .

이를 위해서는 SIP 서버(210)는 INVITE 메시지에 포함된 SDP의 <오디오 수신 IP주소, 오디오 수신 포트> 및 <비디오 수신 IP주소, 비디오 수신 포트>를 <SIP 서버 IP주소, 새롭게 할당된 SIP 서버 오디오 수신 포트> 및 <SIP 서버 IP주소, 새롭게 할당된 SIP 서버 비디오 수신 포트>로 변경한다. To this end, the SIP server 210 receives the <audio receiving IP address, audio receiving port> and <video receiving IP address, video receiving port> of the SDP included in the INVITE message. Port> and <SIP server IP address, newly assigned SIP server video receiving port>.

SIP 서버(210)는 상기 과정에 의해 변경된 SDP를 포함한 INVITE 메시지를 UAS(202)에게 전송하여 UAS(202)로 하여금 SIP 서버(210)로 미디어를 전송하도록 한다.The SIP server 210 transmits the INVITE message including the SDP changed by the above process to the UAS 202 to cause the UAS 202 to transmit the media to the SIP server 210.

UAS(202)로부터 미디어를 전송받으면 SIP 서버(210)는 원래 UAC(201)의 SDP에 기술되어 있던 <오디오 수신 IP주소, 오디오 수신 포트> 및 <비디오 수신 IP주소, 비디오 수신 포트>로 미디어를 전달하여야 한다.Upon receiving the media from the UAS 202, the SIP server 210 sends the media to the <Audio Receive IP Address, Audio Receive Port> and <Video Receive IP Address, Video Receive Port> described in the SDP of the UAC 201. Must be communicated.

또한, SIP 서버(210)는 200OK 메시지에 포함된 SDP의 <오디오 수신 IP주소, 오디오 수신 포트> 및 <비디오 수신 IP주소, 비디오 수신 포트>를 <SIP 서버 IP주소, 새롭게 할당된 SIP 서버 오디오 수신 포트> 및 <SIP 서버 IP주소, 새롭게 할당 된 SIP 서버 비디오 수신 포트>로 변경한다. In addition, the SIP server 210 receives the <audio receiving IP address, audio receiving port> and <video receiving IP address, video receiving port> of the SDP included in the 200OK message. Port> and <SIP server IP address, newly assigned SIP server video receiving port>.

SIP 서버(210)는 상기 과정에 의해 변경된 SDP를 포함한 200OK 메시지를 UAC(201)에게 전송하여 UAC(201)로 하여금 SIP 서버(210)로 미디어를 전송하도록 한다.The SIP server 210 transmits the 200OK message including the SDP changed by the above process to the UAC 201 so that the UAC 201 transmits the media to the SIP server 210.

UAC(201)로부터 미디어를 전송받으면 SIP 서버(210)는 원래 UAS(202)의 SDP에 기술되어 있던 <오디오 수신 IP주소, 오디오 수신 포트> 및 <비디오 수신 IP주소, 비디오 수신 포트>로 미디어를 전달하여야 한다.
Upon receiving the media from the UAC 201, the SIP server 210 sends the media to the <audio receiving IP address, audio receiving port> and <video receiving IP address, video receiving port> originally described in the SDP of the UAS 202. Must be communicated.

상기 과정을 통해 UAC(201)와 UAS(202)간의 모든 미디어 전송은 SIP 서버(210)를 거쳐 전송된다. 만일, UAC(201)와 UAS(202)가 자신의 통신피어에게 연결해제 메시지인 BYE를 전송하게 되면 SIP 서버(210)는 이를 감지하여 UAC(201)와 UAS(202)사이에 미디어 전송을 위해 할당한 자신의 오디오 수신 포트 및 미디어 수신 포트를 닫는다. Through the above process, all media transmissions between the UAC 201 and the UAS 202 are transmitted through the SIP server 210. If the UAC 201 and the UAS 202 transmit a BYE, which is a disconnect message, to the communication peer, the SIP server 210 detects this and transmits the media between the UAC 201 and the UAS 202. Close the assigned audio receiving port and media receiving port.

이에 따라, UAC(201)와 UAS(202)가 연결이 해제되었음에도 불구하고 불법적으로 보내게 되는 미디어(오디오, 비디오)는 그들이 원하는 목적지까지 올바르게 전달되지 않게 된다. 따라서, SIP 서버에서 과금이 종료됨과 동시에 UAC(201)와 UAS(202) 사이에 흐르는 미디어도 실질적으로는 종료된다.
Accordingly, even though the UAC 201 and the UAS 202 are disconnected, media (audio and video) that is illegally sent may not be properly delivered to their desired destination. Therefore, the billing is terminated at the SIP server and at the same time, the media flowing between the UAC 201 and the UAS 202 is substantially terminated.

본 발명에 의하면 사용자에이전트들(클라이언트 및 서버)간에 흐르는 미디어 를 중간에서 가로채어 재전송시킬 수 있으며, 과금이 종료되면 사용자에이전트들사이에 흐르는 미디어의 종료를 강제시킬 수 있어 불법적인 미디어 전송을 차단할 수 있다. 또한 SIP 서버는 필요에 따라 사용자에이전트들간에 전송되는 화상 및 음성을 감청 또는 녹음(녹화)할 수도 있다.According to the present invention, the media flowing between user agents (clients and servers) can be intercepted and retransmitted in the middle, and when the billing ends, the media flowing between the user agents can be forced to block illegal media transmission. have. The SIP server may also listen or record (record) audio and video transmitted between user agents as necessary.

상술한 바와 같이, 본 발명의 바람직한 실시 예를 참조하여 설명하였지만 해당 기술 분야의 숙련된 당업자라면 하기의 특허청구범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.As described above, although described with reference to a preferred embodiment of the present invention, those skilled in the art will be variously modified and modified within the scope of the present invention without departing from the spirit and scope of the invention described in the claims below. It will be appreciated that it can be changed.

Claims (7)

수신하고자 하는 미디어의 속성이 기술된 메시지를 사용자에이전트로부터 수신하는 단계; 상기 기술된 미디어 속성 중 미디어 수신 아이피 주소 및 포트정보를 에스아이피 서버의 아이피 주소 및 포트정보로 변환하는 단계; 및 상기 변환된 메시지를 대화의 상대방인 사용자에이전트에게 전송하는 단계를 포함하는 에스아이피 서버에서의 미디어 채널의 제어방법Receiving a message describing a property of a media to be received from a user agent; Converting the media receiving IP address and port information among the above described media attributes into IP addresses and port information of the SIP server; And transmitting the converted message to a user agent which is a counterpart of a conversation. 제 1항에 있어서, The method of claim 1, 상기 에스아이피 서버는 사용자에이전트로부터의 연결해제 메시지를 수신하는 경우 자신의 미디어 포트를 닫아 사용자 에이전트 사이의 미디어 전송을 종료시키는 단계를 추가로 구비함을 특징으로 하는 제어방법The SIP server further comprises the step of closing the media port when receiving a disconnection message from the user agent to terminate the media transmission between the user agent, characterized in that the control method 제 1항에 있어서, The method of claim 1, 미디어는 오디오 또는/및 비디오인 제어방법Control method in which the media is audio or video 제 1항에 있어서, The method of claim 1, 상기 메시지는 INVITE 메시지 또는 200OK인 제어방법The message is an INVITE message or 200OK control method 사용자에이전트, 에스아이피 서버를 포함하는 에스아이피 프로토콜 기반의 통신시스템에 있어서, In the communication system based on the SIP protocol, including a user agent, SIP server, 상기 에스아이피 서버는, 사용자에이전트측으로부터 수신되는 메시지에 포함된 미디어 속성 중 미디어 수신 아이피 주소 및 포트정보를 에스아이피 서버의 아이피 주소 및 포트정보로 변환하는 수단을 포함함을 특징으로 하는 에스아이피 프로토콜 기반의 통신시스템The SIP server includes a means for converting the media reception IP address and port information among the media attributes included in the message received from the user agent to the IP address and port information of the SIP server. Based communication system 제 5항에 있어서, The method of claim 5, 미디어는 오디오 또는/및 비디오인 에스아이피 프로토콜 기반의 통신시스템Communication system based on SIP protocol, which is audio or video 제 5항에 있어서, The method of claim 5, 상기 메시지는 INVITE 메시지 또는 200OK인 에스아이피 프로토콜 기반의 통신시스템The message is an INVITE message or a 200 OK communication protocol based system
KR1020030026469A 2003-04-25 2003-04-25 Control Method of Media Channel in SIP Server and Communication System Implementing It KR100924162B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020030026469A KR100924162B1 (en) 2003-04-25 2003-04-25 Control Method of Media Channel in SIP Server and Communication System Implementing It

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020030026469A KR100924162B1 (en) 2003-04-25 2003-04-25 Control Method of Media Channel in SIP Server and Communication System Implementing It

Publications (2)

Publication Number Publication Date
KR20040092231A KR20040092231A (en) 2004-11-03
KR100924162B1 true KR100924162B1 (en) 2009-10-28

Family

ID=37372736

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020030026469A KR100924162B1 (en) 2003-04-25 2003-04-25 Control Method of Media Channel in SIP Server and Communication System Implementing It

Country Status (1)

Country Link
KR (1) KR100924162B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110790A (en) * 2006-07-18 2008-01-23 华为技术有限公司 Method for establishing conversation

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020064693A (en) * 2002-06-14 2002-08-09 (주) 로스틱테크놀로지 Method for providing signalling process for quality of communication service by using session initiation protocol
KR20020068440A (en) * 2001-02-21 2002-08-27 삼성전자 주식회사 Method for audio and image communication in web brower using session initiation protocol
US20020156903A1 (en) 2001-01-05 2002-10-24 Bach Corneliussen Knut Snorre Multi-user applications in multimedia networks
KR20040081511A (en) * 2003-03-13 2004-09-22 엘지전자 주식회사 Media transmission method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020156903A1 (en) 2001-01-05 2002-10-24 Bach Corneliussen Knut Snorre Multi-user applications in multimedia networks
KR20020068440A (en) * 2001-02-21 2002-08-27 삼성전자 주식회사 Method for audio and image communication in web brower using session initiation protocol
KR20020064693A (en) * 2002-06-14 2002-08-09 (주) 로스틱테크놀로지 Method for providing signalling process for quality of communication service by using session initiation protocol
KR20040081511A (en) * 2003-03-13 2004-09-22 엘지전자 주식회사 Media transmission method

Also Published As

Publication number Publication date
KR20040092231A (en) 2004-11-03

Similar Documents

Publication Publication Date Title
US7058042B2 (en) One-to-one communication
US6738390B1 (en) SIP-H.323 gateway implementation to integrate SIP agents into the H.323 system
US7886060B2 (en) Establishing and modifying network signaling protocols
CN1611084B (en) Communication system and method for communication between a first terminal and a second terminal by the communication system
CA2547666C (en) Session initiation protocol (sip) based user initiated handoff
EP1619853A1 (en) RTSP proxy extended to detect streaming session events and report to valued streaming applications the notified ones
CN101360091B (en) Apparatus, system and method realizing session initial protocol terminal conference accessing
JP2008523662A (en) Image-based push-to-talk user interface image exchange method
CN102480575B (en) VOIP recording control method and system thereof
US8767590B2 (en) Multimedia conference system and method which enables communication between private network and internet
KR20070077419A (en) Method and apparatus for processing the call request of UEIP including real-time service through IMS domain
CN110650260B (en) System and method for intercommunication of network terminal audio internal and external networks
US7948890B2 (en) System and method for providing a communication channel
CN101313551A (en) Method and apparatus for utilizing network services in a manner substantially transparent to service endpoints
US7440440B1 (en) Method and system for device-based call park and pick-up
JP4526038B2 (en) Session in communication system
EP1672866A1 (en) Method and system to the instant transfer of multimedia files between mobile radio users within the scope of combinational services
US7024197B2 (en) Wireless mid-call transfers
US7836190B2 (en) Shared IP multimedia resource reservation
US9071690B2 (en) Call transfer processing in SIP mode
US8495225B2 (en) Methods and arrangements for a telecommunications system
KR100924162B1 (en) Control Method of Media Channel in SIP Server and Communication System Implementing It
EP2200254B1 (en) Mobile network system and guidance message providing method
US20110122868A1 (en) Communication method and gateway device based on sip phone
US20080137647A1 (en) VoIP terminal and method for providing multi-call service

Legal Events

Date Code Title Description
PA0109 Patent application

Patent event code: PA01091R01D

Comment text: Patent Application

Patent event date: 20030425

PG1501 Laying open of application
A201 Request for examination
PA0201 Request for examination

Patent event code: PA02012R01D

Patent event date: 20080221

Comment text: Request for Examination of Application

Patent event code: PA02011R01I

Patent event date: 20030425

Comment text: Patent Application

E902 Notification of reason for refusal
PE0902 Notice of grounds for rejection

Comment text: Notification of reason for refusal

Patent event date: 20090530

Patent event code: PE09021S01D

E701 Decision to grant or registration of patent right
PE0701 Decision of registration

Patent event code: PE07011S01D

Comment text: Decision to Grant Registration

Patent event date: 20090925

GRNT Written decision to grant
PR0701 Registration of establishment

Comment text: Registration of Establishment

Patent event date: 20091022

Patent event code: PR07011E01D

PR1002 Payment of registration fee

Payment date: 20091023

End annual number: 3

Start annual number: 1

PG1601 Publication of registration
FPAY Annual fee payment

Payment date: 20120926

Year of fee payment: 4

PR1001 Payment of annual fee

Payment date: 20120926

Start annual number: 4

End annual number: 4

FPAY Annual fee payment

Payment date: 20130924

Year of fee payment: 5

PR1001 Payment of annual fee

Payment date: 20130924

Start annual number: 5

End annual number: 5

FPAY Annual fee payment

Payment date: 20140924

Year of fee payment: 6

PR1001 Payment of annual fee

Payment date: 20140924

Start annual number: 6

End annual number: 6

FPAY Annual fee payment

Payment date: 20150924

Year of fee payment: 7

PR1001 Payment of annual fee

Payment date: 20150924

Start annual number: 7

End annual number: 7

FPAY Annual fee payment

Payment date: 20160923

Year of fee payment: 8

PR1001 Payment of annual fee

Payment date: 20160923

Start annual number: 8

End annual number: 8

PC1903 Unpaid annual fee

Termination category: Default of registration fee

Termination date: 20210802