KR20070076186A - Method for informing maintenance state of media session - Google Patents

Method for informing maintenance state of media session Download PDF

Info

Publication number
KR20070076186A
KR20070076186A KR1020060005271A KR20060005271A KR20070076186A KR 20070076186 A KR20070076186 A KR 20070076186A KR 1020060005271 A KR1020060005271 A KR 1020060005271A KR 20060005271 A KR20060005271 A KR 20060005271A KR 20070076186 A KR20070076186 A KR 20070076186A
Authority
KR
South Korea
Prior art keywords
session
sip
terminal
media session
terminals
Prior art date
Application number
KR1020060005271A
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 KR1020060005271A priority Critical patent/KR20070076186A/en
Publication of KR20070076186A publication Critical patent/KR20070076186A/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
    • 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/10Architectures or entities
    • H04L65/1045Proxies, e.g. for session initiation protocol [SIP]
    • 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]

Abstract

A method for informing a maintenance state of a media session is provided to make a proxy server determine whether the media session is normally operated by allowing the proxy server to receive an SIP message packet including a session maintenance region. A method for informing a maintenance state of a media session formed for the communication between a plurality of terminals includes the step of transmitting an SIP(Session Initiation Protocol) message packet including a session maintenance region to an SIP server by the plurality of terminals. The session maintenance region includes a CR(Carriage-Return)(321) and an LF(Line-Feed)(323) sequence.

Description

미디어 세션의 유지상태 통지방법{Method for informing maintenance state of media session}Method for informing maintenance state of media session

도 1은 복수의 단말기 상호간에 통신을 위한 신호의 흐름의 실시예를 보인 도면.1 is a view showing an embodiment of a signal flow for communication between a plurality of terminals.

도 2는 SIP 네트워크에서 송/수신되는 SIP 메시지 패킷의 구조를 간략히 보인 도면.2 is a diagram illustrating a structure of a SIP message packet transmitted / received in a SIP network.

도 3은 미디어 세션의 유지상태를 통지하는 킵-얼라이브 신호의 구조를 보인 도면.3 illustrates the structure of a keep-alive signal for notifying the maintenance status of a media session;

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

300 : IP 헤더 영역 310 : UDP 헤더 영역300: IP header area 310: UDP header area

320 : 데이터 영역 321 : 캐리지-리턴320: data area 321: carriage-return

323 : 라인-피드323: line-feed

본 발명은 미디어 세션의 유지상태 통지방법에 관한 것으로, 특히 SIP(Session Initiation Protocol)을 사용하여 통신하는 복수의 단말기간에 형성된 미디어 세션이 정상적으로 유지되고 있다는 신호를 통지하는 미디어 세션의 유지상태 통지방법에 관한 것이다.The present invention relates to a method for notifying a maintenance status of a media session, and more particularly, to a method for notifying a maintenance status of a media session for notifying a signal that a media session formed between a plurality of terminals communicating using a SIP (Session Initiation Protocol) is normally maintained. It is about.

SIP는 영상과 음성 등의 멀티미디어 호 제어를 위한 텍스트 기반의 응용 계층 제어 프로토콜로서, 하위 전송 프로토콜에 독립적이다. SIP는 특히 인터넷을 기반으로 하는 인터넷 텔레포니 서비스(Internet Telephony Service), 원격 화상회의, 음성 메일 등에 사용될 수 있는 시그널링 프로토콜(Signaling Protocol) 중에 하나이다. SIP는 IETF(Internet Engineering Task Force)의 MMUSIC(Multiparty Multimedia Session Control)에 의해 제안되었다. SIP is a text-based application layer control protocol for multimedia call control such as video and voice, and is independent of the lower transport protocol. SIP is one of the signaling protocols that can be used, in particular, the Internet-based Internet Telephony Service, teleconferencing, voice mail, and the like. SIP was proposed by the Multiparty Multimedia Session Control (MMUSIC) of the Internet Engineering Task Force (IETF).

SIP는 IETF의 툴키트(Toolkit) 개념에 충실히 부합되도록 설계되었다. 그러므로 인터넷에서 사용되는 다른 많은 프로토콜과 결합하여 다양한 서비스들을 만들 수 있는 유연성과 확장성을 제공한다. 일예로 SAP(Session Advertise Protocol)로 세션에 대한 정보를 관심있는 그룹에 제공하고, SIP를 통해 대화를 원하는 상대가 세션에 참가하도록 INVITE하며, SDP(Session Description Protocol)를 통해 미디어 타입(Media Type)에 대한 정보를 교환한다. 또한, SDP에 기술된 RTP(Real-time Transport Protocol) 등을 이용하여 실시간 멀티미디어(Multimedia)서비스를 제공할 수 있게 한다.SIP is designed to faithfully adhere to the IETF Toolkit concept. This provides the flexibility and scalability to create a variety of services in combination with many other protocols used on the Internet. For example, Session Advertise Protocol (SAP) provides information about the session to interested groups, INVITE allows the person who wants to talk via SIP to join the session, and Media Type (SDP) through the Session Description Protocol (SDP). Exchange information about In addition, by using the Real-time Transport Protocol (RTP) described in the SDP it is possible to provide a real-time multimedia (Multimedia) service.

SIP는 응용계층 프로토콜로서 TCP(Transmission Control Protocol)와 UDP(User Datagram Protocol)를 모두 사용할 수 있으며, 요청/응답(Request/Response) 구조이다. 또한, HTTP(Hypertext Transfer Protocol)와 SMTP(Simple Mail Transfer Protocol)의 신텍스(Syntax)와 세만틱스(Semantics)의 많은 부분을 그대로 사용하며, HTTP와 유사하게 트랜젝션(Transaction)을 한다. SIP는 텍스트 기반으로 이루어지기 때문에, H.232에 비해 구현이 용이한 장점이 있다. 또한, SIP는 각 사용자들을 구분하기 위해 이메일 주소(E-Mail Address)와 유사한 SIP URI(Uniform Resource Identifier)을 사용하므로, 사용자는 IP 주소에 종속되지 않고 서비스를 제공받을 수 있다. SIP can use both Transmission Control Protocol (TCP) and User Datagram Protocol (UDP) as an application layer protocol, and has a request / response structure. In addition, much of Syntax and Semantics of Hypertext Transfer Protocol (HTTP) and Simple Mail Transfer Protocol (SMTP) are used as they are, and transactions are performed similarly to HTTP. Because SIP is text-based, it is easy to implement compared to H.232. In addition, since SIP uses a SIP Uniform Resource Identifier (URI) similar to an E-Mail address to distinguish each user, the user may be provided with a service without being dependent on an IP address.

다양한 장점을 갖는 SIP를 사용하여 복수의 단말기가 상호간에 통신하는 경우에, 통신상에서 세션 제어를 위한 호 신호와 미디어 전달을 위한 미디어 신호의 라우팅(Routing) 경로가 상이하게 된다. 즉, 세션 제어를 위한 호 신호는 프록시 서버(Proxy Server)를 경유하지만, 미디어 신호는 프록시 서버를 경유하지 않는다. 그러므로 세션이 성립된 이후에, 호 신호를 중계하는 프록시 서버는 미디어 신호의 흐름을 감지하지 못하기 때문에 세션이 현재 정상적으로 유지되고 있는지를 판단하지 못하는 문제점이 있었다. When a plurality of terminals communicate with each other using SIP having various advantages, routing paths of call signals for session control and media signals for media delivery are different in communication. That is, the call signal for session control passes through a proxy server, but the media signal does not pass through a proxy server. Therefore, after the session is established, the proxy server relaying the call signal does not detect the flow of the media signal, which makes it difficult to determine whether the session is currently maintained.

한편, 상기의 문제점을 해결하기 위하여 IETF에서는 RFC 4028을 제정하였다. 그러나 확장표준은 'Session-Expires'와 'Min-SE'라는 두 가지의 새로운 헤더(Header) 정보를 정의하여야 하므로 번거로웠다. 또한, 세션을 갱신하기 위하여 최소 4개의 패킷을 송수신하여야 하고, 수 Kbyte의 트래픽(Traffic)이 부가적으로 낭비되어 망의 부하가 발생하는 문제점이 있었다. Meanwhile, in order to solve the above problem, the IETF enacted RFC 4028. However, the extension standard was cumbersome because it had to define two new header information, 'Session-Expires' and 'Min-SE'. In addition, at least four packets must be transmitted and received in order to update the session, and several Kbytes of traffic are additionally wasted, causing network load.

그러므로 본 발명의 목적은 SIP를 사용하여 복수의 단말기 상호간에 통신하는 데 있어서, 세션이 현재 정상적으로 유지되고 있는지에 대한 신호가 프록시 서버로 전송될 수 있도록 하는 미디어 세션의 유지상태 통지방법을 제공하는 데 있다. It is therefore an object of the present invention to provide a method for notifying a maintenance status of a media session in which a communication between a plurality of terminals using SIP can be transmitted to a proxy server, indicating whether a session is currently maintained. have.

본 발명의 다른 목적은 세션이 현재 정상적으로 유지되고 있는지에 대한 신호가 프록시 서버로 전송되도록 하는 데 있어서, 새로운 헤더 정보를 정의해야 할 필요가 없고, 트래픽이 부가적으로 낭비되지 않아서 망의 부하를 감소시키는 미디어 세션의 유지상태 통지방법을 제공하는 데 있다. Another object of the present invention is to eliminate the need for defining new header information in order to send a signal to the proxy server as to whether the session is currently in normal operation, and to reduce the load on the network since traffic is not wasted additionally. The present invention provides a method for notifying the maintenance status of a media session.

이러한 목적을 이루기 위한 본 발명의 미디어 세션의 유지상태 통지방법은 상호간에 통신을 수행하는 복수의 각 단말기는 세션 유지 영역을 포함하는 SIP 메시지 패킷을 SIP 서버로 전송하는 것을 특징으로 한다. The maintenance state notification method of the media session of the present invention for achieving the above object is characterized in that each of the plurality of terminals communicating with each other transmits a SIP message packet including a session maintenance area to the SIP server.

상기 세션 유지 영역은 캐리지-리턴(CR : Carriage Return)과 라인-피드(LF : Line Feed) 시퀀스(Sequence)가 포함된 것을 특징으로 한다. The session maintenance area may include a carriage return (CR) and a line feed (LF) sequence.

상기 세션 유지 영역을 포함하는 SIP 메시지 패킷은 상기 복수의 단말기 중에서 하나의 단말기가, 통신을 위한 'INVITE' 메소드의 요청에 대한 최종 응답인 'ACK' 메소드를 수신한 시점부터 'BYE' 메소드를 송신한 시점까지 전송되는 것을 특징으로 한다. The SIP message packet including the session maintenance area transmits the 'BYE' method from the time when one of the terminals receives the 'ACK' method, which is the final response to the request of the 'INVITE' method for communication. Characterized in that it is transmitted to one point.

상기 세션 유지 영역을 포함하는 SIP 메시지 패킷은 상기 복수의 단말기 중 에서 제 1 단말기가, 통신을 위한 'INVITE' 메소드의 요청에 대한 최종 응답인 'ACK' 메소드를 수신한 시점부터 제 2 단말기가 'BYE' 메소드를 송신한 시점까지 전송되는 것을 특징으로 한다. The SIP message packet including the session maintenance area may be configured to be 'started' when the first terminal of the plurality of terminals receives an 'ACK' method, which is a final response to a request of the 'INVITE' method for communication. It is transmitted until the time when the BYE 'method is transmitted.

상기 세션 유지 영역을 포함하는 SIP 메시지 패킷은 상기 복수의 단말기 중에서 하나의 단말기가, 통신을 위한 'INVITE' 메소드의 요청에 대한 최종 응답인 'ACK' 메소드를 수신한 시점부터 통신이 비정상적으로 종료된 시점까지 전송되는 것을 특징으로 한다. The SIP message packet including the session maintenance area is abnormally terminated when one terminal of the plurality of terminals receives an 'ACK' method, which is a final response to a request of an 'INVITE' method for communication. Characterized in that the transmission to the point in time.

상기 세션 유지 영역을 포함하는 SIP 메시지 패킷은 특정 주기로 반복하여 전송되는 것을 특징으로 한다. The SIP message packet including the session maintenance area is repeatedly transmitted at a specific period.

이하, 첨부된 도면을 참조하여 본 발명의 미디어 세션의 유지상태 통지방법에 대하여 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail a method for notifying the maintenance status of a media session of the present invention.

도 1은 복수의 단말기 상호간에 통신을 위한 신호의 흐름의 실시예를 보인 도면이다. 도시된 바와 같이, 제 1 단말기가 제 2 단말기와 통신을 하고자 하는 경우에, 제 1 단말기는 SIP 서버로 'INVITE' 메소드를 송신한다(S100). SIP 서버는 프록시 서버 및 로케이션 서버(Location Server)를 포함한다. 'INVITE' 메소드는 클라이언트와 서버간에 콜(Call)을 개시하는 가장 기본적인 메소드로서, 발신자와 수신자의 주소, 콜의 주제, 콜의 우선권, 콜 라우팅 등의 응답 특성을 포함한다. 'INVITE' 메소드에 의하여 호의 연결이 요청된다. SIP 서버는 제 1 단말기로부터 'INVITE' 메소드를 수신한 경우에 수신자의 주소에 해당하는 제 2 단말기로 'INVITE' 메소드를 송신한다(S102). 1 is a diagram illustrating an embodiment of a signal flow for communication between a plurality of terminals. As shown, when the first terminal wants to communicate with the second terminal, the first terminal transmits the 'INVITE' method to the SIP server (S100). The SIP server includes a proxy server and a location server. The 'INVITE' method is the most basic method to initiate a call between a client and a server. The 'INVITE' method includes response characteristics such as an address of a sender and a receiver, a subject of a call, a priority of a call, and call routing. Call connection is requested by 'INVITE' method. When the SIP server receives the 'INVITE' method from the first terminal, the SIP server transmits the 'INVITE' method to the second terminal corresponding to the address of the receiver (S102).

제 2 단말기는 'INVITE' 메소드를 수신하고, 제 2 단말기의 사용자가 호를 수락하기 전의 시점까지 '180 Ringing' 메소드를 SIP 서버로 송신한다(S104). SIP 서버는 제 2 단말기로부터 수신한 '180 Ringing' 메소드를 제 1 단말기로 송신한다(S106). 제 1 단말기는 '180 Ringing' 메소드를 수신한 경우에 특정 신호음을 송출하여, 제 1 단말기의 사용자로 하여금 현재 제 2 단말기로부터 호의 수락을 대기하고 있다는 사실을 인지할 수 있도록 한다. The second terminal receives the 'INVITE' method and transmits the '180 Ringing' method to the SIP server until the time before the user of the second terminal accepts the call (S104). The SIP server transmits the '180 Ringing' method received from the second terminal to the first terminal (S106). When the first terminal receives the '180 Ringing' method, the first terminal transmits a specific tone so that the user of the first terminal can recognize that the user is currently waiting to accept the call from the second terminal.

제 2 단말기의 사용자가 호를 수락한 경우에, 제 2 단말기는 '200 OK' 메소드를 SIP 서버로 송신한다(S108). '200 OK' 메소드 즉, '2xx' 메소드는 호가 성공적으로 받아들여졌다는 메소드로 제 2 단말기의 사용자가 호를 성공적으로 수락한 경우에 SIP 서버로 송신된다. SIP 서버는 제 2 단말기로부터 '200 OK' 메소드를 수신하면, 이를 제 1 단말기로 송신한다(S110).When the user of the second terminal accepts the call, the second terminal transmits a '200 OK' method to the SIP server (S108). The '200 OK' method, that is, the '2xx' method is a method that the call was successfully accepted and is transmitted to the SIP server when the user of the second terminal successfully accepts the call. When the SIP server receives the '200 OK' method from the second terminal, it transmits it to the first terminal (S110).

제 1 단말기는 '200 OK' 메소드를 수신하면, 'ACK' 메소드를 SIP 서버로 송신한다(S112). 'ACK' 메소드는 호 연결 및 미디어 세션 수락을 위한 메소드 신호이며, 'INVITE' 메소드의 요청에 대한 최종응답의 확인에 사용된다. SIP 서버는 제 1 단말기로부터 수신한 'ACK' 메소드를 제 2 단말기로 송신한다(S114). When the first terminal receives the '200 OK' method, the first terminal transmits the 'ACK' method to the SIP server (S112). The 'ACK' method is a method signal for call connection and media session acceptance, and is used to confirm the final response to the request of the 'INVITE' method. The SIP server transmits the 'ACK' method received from the first terminal to the second terminal (S114).

제 2 단말기가 'ACK' 메소드를 수신받으면 제 1 단말기와 제 2 단말기간에 미디어 세션이 성립되어, 제 1 단말기와 제 2 단말기 상호간에 음성 또는 영상 등의 미디어 신호가 교환된다.When the second terminal receives the 'ACK' method, a media session is established between the first terminal and the second terminal, and media signals such as voice or video are exchanged between the first terminal and the second terminal.

제 1 단말기와 제 2 단말기 상호간에 미디어 세션이 성립되고 음성 또는 영상 미디어 신호의 교환이 이루어진 이후, 제 2 단말기의 사용자가 제 1 단말기와의 호의 연결을 종료시키는 경우에, 제 2 단말기는 'BYE' 메소드를 SIP 서버로 송신한다(S116). 'BYE' 메소드는 설립된 미디어 세션을 종료시키기 위하여 사용된다. SIP 서버는 'BYE' 메소드를 수신하여 제 1 단말기로 송신한다(S118).If a user of the second terminal terminates the call connection with the first terminal after a media session is established between the first terminal and the second terminal and the exchange of audio or video media signals is performed, the second terminal is 'BYE'. 'Send the method to the SIP server (S116). The 'BYE' method is used to terminate an established media session. The SIP server receives the 'BYE' method and transmits it to the first terminal (S118).

제 1 단말기는 'BYE' 메소드를 수신한 경우에, 호의 종료에 대한 액션(Action)이 성공적으로 받아들여졌다는 '200 OK' 신호를 SIP 서버로 송신한다(S120). SIP 서버는 '200 OK' 메소드를 수신하여 제 2 단말기로 전송함으로써(S122), 제 1 단말기와 제 2 단말기간에 미디어 세션의 종료가 성공적으로 이루어졌다는 의미가 제 2 단말기로 전달된다.When the first terminal receives the 'BYE' method, the first terminal transmits a '200 OK' signal to the SIP server indicating that an action for terminating the call has been successfully received (S120). The SIP server receives the '200 OK' method and transmits it to the second terminal (S122), which means that the termination of the media session between the first terminal and the second terminal was successfully transmitted to the second terminal.

도 2는 SIP 네트워크에서 송/수신되는 SIP 메시지 패킷의 구조를 간략히 도시한 도면이다. SIP 프로토콜은 일반적으로 UDP 소켓(Socket)과 5060 포트(Port)를 사용하며, SIP 메시지 패킷의 물리적인 전송을 위해 이더넷 프레임(Ethernet Frame)의 형식을 따른다. SIP 메시지 패킷은 IP 헤더 영역(200), UDP 헤더 영역(210) 및 데이터 영역(220)을 포함한다.2 is a diagram schematically illustrating a structure of a SIP message packet transmitted / received in a SIP network. The SIP protocol generally uses UDP sockets and 5060 ports, and follows the format of Ethernet frames for the physical transmission of SIP message packets. The SIP message packet includes an IP header area 200, a UDP header area 210, and a data area 220.

IP 헤더 영역(200)은 발신측 IP(Source IP) 정보를 가지는 발신측 IP부와, 수신측 IP(Destination IP) 정보를 가지는 수신측 IP부를 포함한다. The IP header area 200 includes a source IP part having source IP information and a destination IP part having destination IP information.

UDP 헤더 영역(210)은 발신측 포트(Source Port) 정보를 가지는 발신측 포트부와, 수신측 포트(Destination Port) 정보를 가지는 수신측 포트부를 포함한다. The UDP header area 210 includes a source port portion having source port information and a receiving port portion having destination port information.

데이터 영역(220)에는 실질적인 SIP 메시지가 입력된다. 데이터 영역(220)에 입력되는 SIP 메시지는 스타트-라인부(Start-Line)(221)와, 메시지 헤더부(Message Header)(223)와, 엠프티 라인부(225)와, 메시지 바디부(Message Body)(227)를 포함 하여 구성된다. In the data area 220, a substantial SIP message is input. The SIP message input to the data area 220 includes a start-line unit 221, a message header unit 223, an empty line unit 225, and a message body unit ( Message Body 227).

스타트-라인부(221)에는 요청할 메소드와 SIP URI 등이 입력된다. SIP 요청(SIP Request)의 경우에 스타트-라인부(221)가 리퀘스트-라인(Request-Line)으로 사용된다. 그리고 SIP 응답(SIP Response)의 경우에 스타트-라인부(221)가 스테이터스-라인(Status-Line)으로 사용된다. SIP 요청은 예를 들면, 'INVITE', 'BYE', 'ACK' 등의 메소드가 될 수 있고, SIP 응답은 예를 들면, '200 OK' 등의 메소드가 될 수 있다. In the start-line unit 221, a request method and a SIP URI are input. In the case of a SIP request, the start-line unit 221 is used as a request-line. In the case of a SIP response, the start-line unit 221 is used as a status-line. The SIP request may be, for example, a method of 'INVITE', 'BYE', 'ACK', etc., and the SIP response may be, for example, a method of '200 OK'.

메시지 헤더부(223)에는 발신자 ID 정보를 가지는 'FROM' 헤더, 수신자 ID 정보를 가지는 'TO' 헤더, 발신자 IP 주소에 관한 헤더, 우선순위에 관한 헤더, 메소드 전송 시간(Expire Time) 정보를 가지는 'Contact' 헤더, 콘텐츠의 타입에 관한 정보를 가지는 'Content-type' 헤더 등이 포함된다. 메시지 헤더부(223)에 포함되는 복수의 헤더는 세션을 제어하기 위한 값들로 설정된다.The message header unit 223 includes a 'FROM' header having the sender ID information, a 'TO' header having the receiver ID information, a header regarding the sender IP address, a header regarding the priority, and an Expiry Time method. 'Contact' header, 'Content-type' header having information about the type of content, and the like. The plurality of headers included in the message header unit 223 are set to values for controlling the session.

엠프티 라인(225)은 캐리지-리턴과 라인-피드 시퀀스로 구성되며, 엠프티 라인(225)은 특별한 명령이 아닌 단순히 줄바꿈으로 인식된다. 상기 캐리지-리턴과 라인-피드 시퀀스는 독립적으로 사용되는 것이 아니고, 함께 사용됨으로써 줄바꿈으로 인식된다. 한편, 스타트-라인부(221)와 메시지 헤더부(223)에 포함된 복수의 헤더는 반드시 캐리지-리턴과 라인-피드 시퀀스로 종결되어야 한다. 이는 캐리지-리턴과 라인-피드 시퀀스로 인하여, 스타트-라인부(221) 또는 메시지 헤더부(223)에 포함된 복수의 헤더가 상호간에 구별될 수 있기 때문이다. The empty line 225 is composed of a carriage-return and a line-feed sequence, and the empty line 225 is recognized as a line break, not a special command. The carriage-return and line-feed sequences are not used independently but are recognized as line breaks by being used together. Meanwhile, the plurality of headers included in the start-line unit 221 and the message header unit 223 must be terminated by a carriage return and a line-feed sequence. This is because a plurality of headers included in the start-line unit 221 or the message header unit 223 may be distinguished from each other due to the carriage-return and the line-feed sequence.

메시지 바디(227)는 메시지 헤더부(223)에 포함된 'Content-type'헤더에 설 정된 콘텐츠 타입에 관한 세부 내용이 입력된다. 메시지 바디(227)는 예를 들면, 세션의 명칭과 목적 및 사용하기 위한 미디어 등, 콘텐츠 타입에 관한 세부 내용이 입력된다. The message body 227 is inputted with details regarding the content type set in the 'Content-type' header included in the message header unit 223. The message body 227 is filled in with details about the content type, such as, for example, the name and purpose of the session and the media for use.

한편, 상기 도 1에서 제 2 단말기가 'ACK' 메소드를 수신한 시점부터 'BYE'메소드를 송신한 시점까지 즉, 미디어 세션이 성립되어 있는 시간동안 각 단말기는 미디어 세션이 정상적으로 유지되고 있다는 킵-얼라이브(Keep-Alive) 신호를 SIP 서버로 전송한다. Meanwhile, in FIG. 1, each terminal keeps the media session maintained normally from the time when the second terminal receives the 'ACK' method to the time when the 'BYE' method is transmitted, that is, during the time that the media session is established. Send keep-alive signal to SIP server.

도 1에서 제 1 단말기의 사용자가 제 2 단말기의 사용자에 비하여 먼저 호를 종료시키는 경우에, 제 1 단말기가 'BYE' 메소드를 송신하고, 이에 대한 응답으로 제 2 단말기가 'ACK' 신호를 송신한다. 이때, 제 2 단말기가 'ACK' 메소드를 수신한 시점부터 제 1 단말기가 'BYE' 메소드를 송신한 시점까지 즉, 미디어 세션이 성립되어 있는 시간동안 각 단말기는 미디어 세션이 정상적으로 유지되고 있다는 킵-얼라이브(Keep-Alive) 신호를 SIP 서버로 전송한다. In FIG. 1, when the user of the first terminal terminates the call first than the user of the second terminal, the first terminal transmits a 'BYE' method, and in response thereto, the second terminal transmits an 'ACK' signal. do. At this time, each terminal keeps the media session maintained from the time when the second terminal receives the 'ACK' method to the time when the first terminal transmits the 'BYE' method, that is, during the time that the media session is established. Send keep-alive signal to SIP server.

도 1에서 제 1 단말기와 제 2 단말기간에 성립된 미디어 세션이 여러 가지 원인으로 인한 비정상적으로 종료되는 경우가 발생할 수 있다. 즉, 제 1 단말기의 사용자 또는 제 2 단말기의 사용자에 의하여 호의 종료가 아닌 비정상적인 종료가 발생할 수 있다. 이때, 제 2 단말기가 'ACK' 메소드를 수신한 시점부터 통신이 비정상적으로 종료된 시점까지, 각 단말기는 미디어 세션이 정상적으로 유지되고 있다는 킵-얼라이브 신호를 SIP 서버로 전송한다. In FIG. 1, a media session established between a first terminal and a second terminal may be abnormally terminated due to various reasons. That is, abnormal termination may occur, not end of the call, by the user of the first terminal or the user of the second terminal. At this time, from the time when the second terminal receives the 'ACK' method to the time when communication is abnormally terminated, each terminal transmits a keep-alive signal indicating that the media session is normally maintained to the SIP server.

상기한 바와 같이, 미디어 신호의 라우팅 경로는 SIP 서버에 포함된 프록시 서버를 경유하지 않으므로, 킵-얼라이브 신호가 SIP 서버에 포함된 프록시 서버를 경유하도록 하기 위하여 호 제어 신호의 형태로 이루어져야 한다. 그러므로 킵-얼라이브 신호는 상기 도 2의 SIP 메시지 패킷과 유사한 형태로 이루어져야 한다. As described above, since the routing path of the media signal does not go through the proxy server included in the SIP server, the keep-alive signal should be in the form of a call control signal in order to pass the proxy server included in the SIP server. Therefore, the keep-alive signal should be similar to the SIP message packet of FIG.

도 3은 미디어 세션의 유지상태를 통지하는 킵-얼라이브 신호의 구조를 보인 도면이다. 도시된 바와 같이, 킵-얼라이브 신호는 호 제어 신호의 형태가 되어야 하므로, IP 헤더 영역(300), UDP 헤더 영역(310) 및 데이터 영역(330)을 포함한다. IP 헤더 영역(300) 및 UDP 헤더 영역(310)에 대한 설명은 상기 도 2에서 설명하였으므로 생략하기로 한다. 3 is a diagram illustrating a structure of a keep-alive signal for notifying a maintenance state of a media session. As shown, the keep-alive signal should be in the form of a call control signal, and thus includes an IP header area 300, a UDP header area 310, and a data area 330. Since the description of the IP header area 300 and the UDP header area 310 has been described with reference to FIG. 2, a description thereof will be omitted.

킵-얼라이브 신호의 데이터 영역(330)에는 캐리지-리턴(321)과 라인-피드(323) 시퀀스로 이루어진 세션 유지영역이 포함된다. 상기 세션 유지영역은 2byte로 이루어진다. 상기 도 2에서와 같이, 데이터 영역은 스타트-라인부와 메시지 헤더부 등과 같이 단말기간의 통신을 형성하기 위한 특정 명령이 포함되어야 한다. 그러나 킵-얼라이브 신호의 데이터 영역(330)에는 캐리지-리턴(321)과 라인-피드(323) 시퀀스로 이루어진 세션 유지 영역이 포함되어, 특정 명령으로 인식되는 것이 아닌 의미없는 줄바꿈으로 인식된다. 이와 같이 킵-얼라이브 신호는 캐리지-리턴(321)과 라인-피드(323) 시퀀스에 의하여 의미없는 줄바꿈으로 인식되므로, 트랜젝션을 유발하지 않는다.The data area 330 of the keep-alive signal includes a session holding area consisting of a carriage-return 321 and a line-feed 323 sequence. The session maintenance area is composed of 2 bytes. As shown in FIG. 2, the data area must include a specific command for forming communication between terminals, such as a start-line part and a message header part. However, the data area 330 of the keep-alive signal includes a session maintenance area composed of a carriage-return 321 and a line-feed 323 sequence, which is recognized as meaningless line breaks rather than a specific command. As such, the keep-alive signal is recognized as meaningless line breaks by the carriage-return 321 and line-feed 323 sequences, and thus does not cause a transaction.

킵-얼라이브 신호는 상호간에 통신을 하고 있는 복수의 각 단말기로부터 SIP 서버로 전송된다. 킵-얼라이브 신호의 구조는 호 제어 신호인 SIP 메시지 패킷과 유사하므로, SIP 서버에 포함된 프록시 서버는 단말기가 전송한 킵-얼라이브 신호 를 수신하게 된다. 물론, 상기한 바와 같이 킵-얼라이브 신호는 미디어 세션이 성립된 시간동안 복수의 각 단말기로부터 전송되어야 한다. 그리고 복수의 각 단말기는 킵-얼라이브 신호를 전송하는 데 있어서, 특정 주기로 반복하여 전송한다. The keep-alive signal is transmitted from the plurality of terminals in communication with each other to the SIP server. Since the structure of the keep-alive signal is similar to the SIP message packet which is a call control signal, the proxy server included in the SIP server receives the keep-alive signal transmitted by the terminal. Of course, as described above, the keep-alive signal must be transmitted from each of the plurality of terminals during the time that the media session is established. Each of the plurality of terminals repeatedly transmits a keep-alive signal at a specific period.

SIP 서버에 포함된 프록시 서버는 단말기로부터 킵-얼라이브 신호를 수신한 경우에, 현재 복수의 단말기 상호간에 미디어 세션이 정상적으로 유지된다고 인식하도록 설정되어야 한다. When the proxy server included in the SIP server receives the keep-alive signal from the terminal, the proxy server should be configured to recognize that the media session is normally maintained among the plurality of terminals.

한편, 상기에서는 본 발명을 특정의 바람직한 실시 예에 관련하여 도시하고 설명하였지만, 이하의 특허청구범위에 의해 마련되는 본 발명의 정신이나 분야를 이탈하지 않는 한도 내에서 본 발명이 다양하게 개조 및 변화될 수 있다는 것을 당 업계에서 통상의 지식을 가진 자는 용이하게 알 수 있다.On the other hand, while the present invention has been shown and described with respect to specific preferred embodiments, various modifications and changes of the present invention without departing from the spirit or field of the invention provided by the claims below It can be easily understood by those skilled in the art.

이상에서 설명한 바와 같이 본 발명은 복수의 단말기 상호간에 통신으로 미디어 세션이 성립된 경우에, 각 단말기는 세션 유지 영역을 포함하는 SIP 메시지 패킷을 SIP 서버로 전송한다. 상기 SIP 메시지 패킷은 세션 제어를 위한 호 신호의 형태로 이루어지므로, SIP 서버에 포함된 프록시 서버가 수신할 수 있게 된다. 그러므로 미디어 세션이 정상적으로 동작하는지를 프록시 서버가 판단할 수 있게 된다. As described above, in the present invention, when a media session is established through communication between a plurality of terminals, each terminal transmits a SIP message packet including a session maintenance area to the SIP server. Since the SIP message packet is in the form of a call signal for session control, the proxy server included in the SIP server can receive it. Therefore, the proxy server can determine whether the media session is operating normally.

본 발명은 SIP 메시지 패킷에 포함된 세션 유지 영역이 캐리지-리턴과 라인-피드 시퀀스로 이루어져서 특정 명령이 아닌 의미없는 줄바꿈으로 인식된다. 그러 므로 미디어 세션이 정상적으로 유지되고 있는지에 대한 신호를 전송하는 데 있어서 트랜젝션이 발생하지 않고, 이로 인하여 트래픽이 부가적으로 낭비되지 않으므로 망의 부하가 감소한다. In the present invention, the session maintenance area included in the SIP message packet is composed of a carriage-return and a line-feed sequence, and thus is recognized as meaningless line breaks, not specific commands. Therefore, no transaction occurs in transmitting a signal that the media session is being maintained normally, which reduces the load on the network since no additional traffic is wasted.

Claims (6)

복수의 단말기간에 통신을 위해 형성된 미디어 세션(Media Session)이 정상적으로 유지되고 있는지의 여부를 통지하는 미디어 세션의 유지상태 통지방법에 있어서, A method for notifying a maintenance status of a media session, which notifies whether a media session formed for communication between a plurality of terminals is normally maintained. 상기 복수의 각 단말기는 세션 유지 영역을 포함하는 SIP(Session Initiation Protocol) 메시지 패킷을 SIP 서버로 전송하는 것을 특징으로 하는 미디어 세션의 유지상태 통지방법.And each of the plurality of terminals transmits a Session Initiation Protocol (SIP) message packet including a session maintenance area to a SIP server. 제 1항에 있어서, 상기 세션 유지 영역은;The apparatus of claim 1, wherein the session maintenance area; 캐리지-리턴(CR : Carriage-Return)과 라인-피드(LF : Line-Feed) 시퀀스(Sequence)가 포함된 것을 특징으로 하는 미디어 세션의 유지상태 통지방법.Carriage-Return (CR) and Line-Feed (LF: Line-Feed) sequence (Sequence) method, characterized in that the maintenance status of the media session. 제 1항에 있어서, 상기 세션 유지 영역을 포함하는 SIP 메시지 패킷은;The method of claim 1, wherein the SIP message packet comprising the session maintenance area; 상기 복수의 단말기 중에서 하나의 단말기가, 통신을 위한 'INVITE' 메소드의 요청에 대한 최종 응답인 'ACK' 메소드를 수신한 시점부터 'BYE' 메소드를 송신한 시점까지 전송되는 것을 특징으로 하는 미디어 세션의 유지상태 통지방법.A media session of one of the plurality of terminals is transmitted from the time when the terminal receives the 'ACK' method, which is the final response to the request of the 'INVITE' method for communication, to the time when the 'BYE' method is transmitted. How to notify maintenance status. 제 1항에 있어서, 상기 세션 유지 영역을 포함하는 SIP 메시지 패킷은;The method of claim 1, wherein the SIP message packet comprising the session maintenance area; 상기 복수의 단말기 중에서 제 1 단말기가, 통신을 위한 'INVITE' 메소드의 요청에 대한 최종 응답인 'ACK' 메소드를 수신한 시점부터 제 2 단말기가 'BYE' 메소드를 송신한 시점까지 전송되는 것을 특징으로 하는 미디어 세션의 유지상태 통지방법.Among the plurality of terminals, the first terminal is transmitted from the time when the first terminal receives the 'ACK' method, which is the final response to the request of the 'INVITE' method, to the time when the second terminal transmits the 'BYE' method. A method of notifying the maintenance status of a media session. 제 1항에 있어서, 상기 세션 유지 영역을 포함하는 SIP 메시지 패킷은;The method of claim 1, wherein the SIP message packet comprising the session maintenance area; 상기 복수의 단말기 중에서 하나의 단말기가, 통신을 위한 'INVITE' 메소드의 요청에 대한 최종 응답인 'ACK' 메소드를 수신한 시점부터 통신이 비정상적으로 종료된 시점까지 전송되는 것을 특징으로 하는 미디어 세션의 유지상태 통지방법.One of the plurality of terminals is transmitted from the time when the terminal receives the 'ACK' method, which is the final response to the request of the 'INVITE' method for communication from the time when the communication is abnormally terminated Retention status notification method. 제 1항에 있어서, 상기 세션 유지 영역을 포함하는 SIP 메시지 패킷은;The method of claim 1, wherein the SIP message packet comprising the session maintenance area; 특정 주기로 반복하여 전송되는 것을 특징으로 하는 미디어 세션의 유지상태 통지방법.A method of notifying a maintenance status of a media session, characterized in that it is repeatedly transmitted at a specific period.
KR1020060005271A 2006-01-18 2006-01-18 Method for informing maintenance state of media session KR20070076186A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060005271A KR20070076186A (en) 2006-01-18 2006-01-18 Method for informing maintenance state of media session

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060005271A KR20070076186A (en) 2006-01-18 2006-01-18 Method for informing maintenance state of media session

Publications (1)

Publication Number Publication Date
KR20070076186A true KR20070076186A (en) 2007-07-24

Family

ID=38501173

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060005271A KR20070076186A (en) 2006-01-18 2006-01-18 Method for informing maintenance state of media session

Country Status (1)

Country Link
KR (1) KR20070076186A (en)

Similar Documents

Publication Publication Date Title
US7469299B2 (en) Bridging user agent and a proxy server for supporting network services
US7886060B2 (en) Establishing and modifying network signaling protocols
KR100728280B1 (en) Network state management method for using BYE/200OK in communication system for using Session Initiation Protocol
US7978686B2 (en) System and method for feature-based services control using SIP
US7596150B2 (en) System and method for consolidating media signaling to facilitate internet protocol (IP) telephony
EP1260103B1 (en) Session initiation protocol based advanced intelligent network / intelligent network messaging
EP1483888B1 (en) Apparatus and method for computer telephone integration in packet switched telephone networks
US7554927B2 (en) Network entity for interconnecting SIP end-points of different capabilities
EP1047241A2 (en) System and method for restarting of signaling entities in H.323-based realtime communication networks
US20020120760A1 (en) Communications protocol
US7369493B2 (en) Congestion control in an IP network
KR101169493B1 (en) Facilitating early media in a communications system
WO2007098714A1 (en) Apparatus and method for session control
US20040255039A1 (en) Method, system and network element device for controlling sessions between terminals
US20050207399A1 (en) Method and apparatus for detecting stuck calls in a communication session
US20080101336A1 (en) Interactive voice response and secure media system integration
KR20050002335A (en) System and method for processing call in SIP network
KR101080383B1 (en) Method for voice over internet protocol call setup and communication system performing the same
KR20070076186A (en) Method for informing maintenance state of media session
US20080137647A1 (en) VoIP terminal and method for providing multi-call service
EP1755304B1 (en) Method and apparatus for a fast installation of an IP user connection over a 3GPP Nb interface under application of the BICC "Delayed Backward Bearer Establishment" and avoidance of failure
KR100652768B1 (en) Method for terminating a ip connection between mobile terminals in a ims network
WO2005107205A1 (en) Media stream correlation
KR100705576B1 (en) Voice over internet protocol system and method for guarantee quality of service
KR101128912B1 (en) Message data structure in system for transmitting the voice using internet network

Legal Events

Date Code Title Description
WITN Application deemed withdrawn, e.g. because no request for examination was filed or no examination fee was paid