KR20050116464A - Method for terminating session based messaging service in internet protocol multimedia sub-system - Google Patents

Method for terminating session based messaging service in internet protocol multimedia sub-system Download PDF

Info

Publication number
KR20050116464A
KR20050116464A KR1020040041489A KR20040041489A KR20050116464A KR 20050116464 A KR20050116464 A KR 20050116464A KR 1020040041489 A KR1020040041489 A KR 1020040041489A KR 20040041489 A KR20040041489 A KR 20040041489A KR 20050116464 A KR20050116464 A KR 20050116464A
Authority
KR
South Korea
Prior art keywords
session
msrp
terminal
messaging service
based messaging
Prior art date
Application number
KR1020040041489A
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 KR1020040041489A priority Critical patent/KR20050116464A/en
Publication of KR20050116464A publication Critical patent/KR20050116464A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • 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]

Abstract

본 발명은 인터넷 멀티미디어 서브시스템의 세션 기반 메시징 서비스에서 MSRP 세션 및 SIP 세션을 해제하기 위한 방법을 개시한다. 인터넷 멀티미디어 서브시스템에서 세션 초기화 프로토콜(SIP) 세션을 통해 형성되는 메시지 세션 릴레이 프로토콜(MSRP) 세션을 통해 수행되는 세션 기반 메시징 서비스의 종료 방법은, 상기 세션 기반 메시징 서비스를 수행하고 있는 두 단말들 중 일측 단말이 상기 세션 기반 메시징 서비스를 종료하기 위한 종료 요청 메시지를 타측 단말에게 전송하고, 상기 세션 기반 메시징 서비스에 관련된 상기 MSRP 세션을 해제하는 과정과, 상기 타측 단말이 상기 종료 요청 메시지에 응답하여 상기 세션 기반 메시징 서비스에 관련된 상기 MSRP 세션을 해제하고, 상기 일측 단말에게 응답 메시지를 전송하는 과정으로 이루어진다. 상기 세션 기반 메시징 서비스가 적어도 하나의 중간 노드를 경유하여 형성되는 경우, 상기 적어도 하나의 중간 노드는 상기 일측 단말로부터 상기 타측 단말의 방향으로 전송되는 종료 요청 메시지를 인지한 후, 상기 일측 단말의 방향으로 응답 메시지를 전송하기 이전에 상기 세션 기반 메시징 서비스에 관련된 상기 MSRP 세션을 해제한다. The present invention discloses a method for releasing an MSRP session and a SIP session in a session based messaging service of an internet multimedia subsystem. A method of terminating a session-based messaging service performed through a message session relay protocol (MSRP) session formed through a session initiation protocol (SIP) session in an internet multimedia subsystem, includes two terminals performing the session-based messaging service. Sending a termination request message to one terminal to terminate the session-based messaging service by the other terminal, releasing the MSRP session related to the session-based messaging service, and the other terminal in response to the termination request message; Releasing the MSRP session related to the session-based messaging service, and transmitting a response message to the one terminal. When the session-based messaging service is formed via at least one intermediate node, the at least one intermediate node recognizes an end request message transmitted from the one terminal in the direction of the other terminal, and then the direction of the one terminal. Release the MSRP session associated with the session based messaging service prior to sending the response message.

Description

인터넷 멀티미디어 서브시스템의 세션 기반 메시징 서비스의 종료 방법{METHOD FOR TERMINATING SESSION BASED MESSAGING SERVICE IN INTERNET PROTOCOL MULTIMEDIA SUB-SYSTEM} Termination method of session-based messaging service of Internet multimedia subsystem {METHOD FOR TERMINATING SESSION BASED MESSAGING SERVICE IN INTERNET PROTOCOL MULTIMEDIA SUB-SYSTEM}

본 발명은 인터넷 멀티미디어 서브시스템에 관한 것으로서, 특히 인터넷 프로토콜(Internet Protocol)을 기반으로 하는 멀티미디어 서브시스템의 세션 기반 메시징 서비스를 위한 세션들을 해제하는 방법에 관한 것이다.The present invention relates to an internet multimedia subsystem, and more particularly to a method for releasing sessions for a session based messaging service of a multimedia subsystem based on the Internet Protocol.

3GPP(3rd Generation Partnership Project) IP(Internet Protocol) 멀티미디어 서브시스템(IP Multimedia Subsystem: IMS) 혹은 3GPP2 멀티미디어 도메인(Multimedia Domain: MMD)은 3세대 이동 통신 네트워크에서 IP 기반의 패킷 통신 서비스를 제공하게 위하여 도입되었다. 이와 같이 이동통신 네트워크를 통한 인터넷 접속이 가능하게 됨에 따라 인터넷상에서만 가능하던 다양한 서비스를 이동통신 시스템에 접속하기 위한 연구가 이루어지고 있다.3GPP (3rd Generation Partnership Project) Internet Protocol (IP) Multimedia Subsystem (IMS) or 3GPP2 Multimedia Domain (MMD) is introduced to provide IP-based packet communication services in 3G mobile communication networks. It became. As the Internet access through the mobile communication network is enabled as described above, researches for accessing various services available only on the Internet to the mobile communication system have been made.

한편, 인터넷의 보급이 활성화되고 일상생활에서 컴퓨터를 사용하는 시간이 증가함에 따라 대부분의 인터넷 사용자들은 자신의 동료나 친구(buddy)와 통신하기 위하여 통상의 이메일(e-mail)보다는 간편하고 신속한 메시징 서비스를 이용하는 것을 더 선호하게 되었다. IP 멀티미디어 서브시스템(IP Multimedia Sub-system: IMS)에서는 사용자들이 IP 기반의 사용자 메시지를 서로 교환할 수 있는 메시징 서비스를 제공한다. IP 멀티미디어 서브시스템에서 제공되는 메시징 서비스로는 인스턴트 메시징과 세션 기반 메시징 서비스가 있다.On the other hand, with the spread of the Internet and the increased use of computers in everyday life, most Internet users use simpler and faster messaging than regular e-mails to communicate with their colleagues or buddy. I prefer to use the service. IP Multimedia Sub-system (IMS) provides a messaging service that allows users to exchange IP-based user messages with each other. Messaging services provided by the IP multimedia subsystem include instant messaging and session-based messaging services.

인스턴트 메시징은 단문의 사용자 메시지 또는 짧은 미디어 메시지를, 통상 초기 인터넷 통신의 개시를 위하여 사용되는 세션 초기화 프로토콜(Session Initialization Protocol: 이하 SIP라 칭함) 세션을 통하여 교환되는 SIP 메시지에 실어서 전달하는 방식이다. 인스턴트 메시징과는 달리 세션 기반 메시징에서의 사용자 메시지는 SIP 세션을 통해 형성된 MSRP(Message Session Relay Protocol) 세션을 통한 MSRP 메시지에 실려 전달된다. 세션 기반 메시징에서 사용하는 MSRP 메시지는 SIP 메시지에 비하여 상대적으로 단순하며, SIP 세션과 별개의 접속을 통하여 교환되고, TCP(Transfer Control Protocol)의 혼잡제어(Congestion Control)를 받기 때문에 SIP 메시지를 통해 전달되는 인스턴트 메시징에 비하여 더 큰 크기의 메시지 교환이 가능하다.Instant messaging is a method of delivering a short user message or a short media message to a SIP message exchanged through a Session Initialization Protocol (SIP) session, which is typically used for initiating initial Internet communication. . Unlike instant messaging, user messages in session-based messaging are carried in MSRP messages over Message Session Relay Protocol (MSRP) sessions formed through SIP sessions. MSRP messages used in session-based messaging are relatively simpler than SIP messages, exchanged over SIP sessions, and delivered through SIP messages because they receive Congestion Control (Transfer Control Protocol). Larger message exchanges are possible compared to instant messaging.

세션 기반 메시징 서비스는 SIP(Session Initiation Protocol) 세션에서의 시그널링과, MSRP(Message Session Relay Protocol) 세션을 통한 데이터 전송으로 구현된다. 3GPP TS 23,228에서는 SIP 세션과 MSRP 세션이 서로 독립적인 방향성을 가지고 형성되도록 정의하고 있다. SIP 세션의 경우, 최초에 발신을 하는 단말이 SIP 세션을 제안(offer)하고 수신 단말이 이를 수락(answer)함으로써 형성된다. MSRP 세션의 경우, 세션 형성시에 세션을 유치할 단말을 결정하게 되는데, 이에 따라 세션의 형성은, 최초에 발신을 하는 단말이 SIP 세션을 제안하며 동시에 MSRP 세션을 유치하는 경우(originating UE hosting)와, 최초에 발신을 하는 단말이 SIP 세션을 제안하며 수신 단말이 MSRP 세션을 유치하는 경우(terminating UE hosting)로 분류될 수 있다.Session-based messaging services are implemented with signaling in Session Initiation Protocol (SIP) sessions and data transmission over Message Session Relay Protocol (MSRP) sessions. 3GPP TS 23,228 defines that SIP sessions and MSRP sessions are formed with independent directions. In the case of a SIP session, the originating terminal initially establishes an SIP session and is formed by the receiving terminal answering it. In the case of an MSRP session, a terminal to determine a session is determined when the session is established. Accordingly, the session is formed when the originating terminal first proposes a SIP session and simultaneously invites an MSRP session (originating UE hosting). And, it may be classified as a case where the originating terminal proposes a SIP session and the receiving terminal invites an MSRP session.

발신 단말과 수신 단말 간에 메시지 교환이 끝나면 SIP 세션을 닫음으로써 MSRP 세션을 닫히게 되어 메시징 서비스가 종료된다. 이때는 양 단말들에서 사용하던 TCP와 관련된 자원 및 기타 자원들이 반환된다. 종래의 기술에 따른 IP 멀티미디어 서브시스템에서는 양 단말에서 MSRP 및 SIP 세션을 해제하는 상세한 동작을 제공하고 있지 않다는 문제점이 있었다. 따라서 SIP와 MSRP를 이용하여 MSRP 및 SIP 세션을 해제하기 위한 방안을 필요로 하게 되었다. After the exchange of messages between the originating terminal and the receiving terminal, the MSRP session is closed by closing the SIP session, thereby terminating the messaging service. In this case, resources related to TCP and other resources used by both terminals are returned. The conventional IP multimedia subsystem has a problem in that it does not provide a detailed operation of releasing MSRP and SIP sessions at both terminals. Therefore, there is a need for a method for releasing MSRP and SIP sessions using SIP and MSRP.

따라서 상기한 바와 같이 동작되는 종래 기술의 문제점을 해결하기 위하여 창안된 본 발명의 목적은, 인터넷 멀티미디어 서브시스템에서 세션 기반 메시징 서비스를 종료하기 위한 방법을 제공하는 것이다.It is therefore an object of the present invention, devised to solve the problems of the prior art operating as described above, to provide a method for terminating a session based messaging service in an internet multimedia subsystem.

본 발명의 다른 목적은, 인터넷 멀티미디어 서브시스템에서 세션 기반 메시징 서비스를 수행하는 양 단말이 MSRP 및 SIP 세션을 해제하는 방법을 제공하는 것이다.Another object of the present invention is to provide a method for both terminals performing a session-based messaging service in an internet multimedia subsystem to release an MSRP and SIP session.

상기한 바와 같은 목적을 달성하기 위하여 창안된 본 발명의 실시예는, 인터넷 멀티미디어 서브시스템에서 세션 초기화 프로토콜(SIP) 세션을 통해 형성되는 메시지 세션 릴레이 프로토콜(MSRP) 세션을 통해 수행되는 세션 기반 메시징 서비스의 종료 방법에 있어서,An embodiment of the present invention, which was created to achieve the above object, is a session-based messaging service performed through a message session relay protocol (MSRP) session that is formed through a session initiation protocol (SIP) session in an Internet multimedia subsystem. In the end method of,

중간 노드들 없이 상기 세션 기반 메시징 서비스를 수행하고 있는 두 단말들 중 일측 단말이 상기 세션 기반 메시징 서비스를 종료하기 위한 종료 요청 메시지를 타측 단말에게 전송하고, 상기 세션 기반 메시징 서비스에 관련된 상기 MSRP 세션을 해제하는 과정과,One of two terminals performing the session-based messaging service without intermediate nodes transmits an end request message for terminating the session-based messaging service to the other terminal and sends the MSRP session related to the session-based messaging service. To turn it off,

상기 타측 단말이 상기 종료 요청 메시지에 응답하여 상기 세션 기반 메시징 서비스에 관련된 상기 MSRP 세션을 해제하고, 상기 일측 단말에게 응답 메시지를 전송하는 과정을 포함하는 것을 특징으로 한다.The other terminal releases the MSRP session related to the session-based messaging service in response to the termination request message, characterized in that it comprises the step of transmitting a response message to the one terminal.

본 발명의 다른 실시예는, 인터넷 멀티미디어 서브시스템에서 세션 초기화 프로토콜(SIP) 세션을 통해 형성되는 메시지 세션 릴레이 프로토콜(MSRP) 세션을 통해 수행되는 세션 기반 메시징 서비스의 종료 방법에 있어서,Another embodiment of the present invention provides a method for terminating a session-based messaging service performed through a message session relay protocol (MSRP) session formed through a session initiation protocol (SIP) session in an internet multimedia subsystem.

적어도 하나의 중간 노드를 통해 상기 세션 기반 메시징 서비스를 수행하고 있는 두 단말들 중 일측 단말이 상기 세션 기반 메시징 서비스를 종료하기 위한 종료 요청 메시지를 상기 적어도 하나의 중간 노드를 통해 타측 단말에게 전송하고, 상기 세션 기반 메시징 서비스에 관련된 상기 MSRP 세션을 해제하는 과정과,One of the two terminals performing the session-based messaging service through at least one intermediate node transmits a termination request message for terminating the session-based messaging service to the other terminal through the at least one intermediate node, Releasing the MSRP session associated with the session based messaging service;

상기 타측 단말이 상기 종료 요청 메시지에 응답하여 상기 세션 기반 메시징 서비스에 관련된 상기 MSRP 세션을 해제하고, 상기 적어도 하나의 중간 노드를 통해 상기 일측 단말에게 응답 메시지를 전송하는 과정과, Releasing, by the other terminal, the MSRP session related to the session-based messaging service in response to the termination request message, and transmitting a response message to the one terminal through the at least one intermediate node;

상기 적어도 하나의 중간 노드가 상기 응답 메시지에 응답하여 상기 세션 기반 메시징 서비스에 관련된 상기 MSRP 세션을 해제하는 과정을 포함하는 것을 특징으로 한다.And the at least one intermediate node releasing the MSRP session associated with the session based messaging service in response to the response message.

본 발명의 또 다른 실시예는, 인터넷 멀티미디어 서브시스템에서 세션 초기화 프로토콜(SIP) 세션을 통해 형성되는 메시지 세션 릴레이 프로토콜(MSRP) 세션을 통해 수행되는 세션 기반 메시징 서비스의 종료 방법에 있어서,Another embodiment of the present invention provides a method of terminating a session-based messaging service performed through a message session relay protocol (MSRP) session formed through a session initiation protocol (SIP) session in an internet multimedia subsystem.

적어도 하나의 중간 노드를 통해 상기 세션 기반 메시징 서비스를 수행하고 있는 두 단말들 중 일측 단말이 상기 세션 기반 메시징 서비스를 종료하기 위한 종료 요청 메시지를 상기 적어도 하나의 중간 노드에게 전송하고, 상기 세션 기반 메시징 서비스에 관련된 상기 MSRP 세션을 해제하는 과정과,One of two terminals performing the session-based messaging service through at least one intermediate node sends a termination request message to the at least one intermediate node to terminate the session-based messaging service, and the session-based messaging. Releasing the MSRP session related to the service;

상기 적어도 하나의 중간 노드가 상기 종료 요청 메시지를 이후 단의 중간 노드 또는 타측 단말에게 전달한 후, 상기 종료 요청 메시지에 응답하여 상기 세션 기반 메시징 서비스에 관련된 상기 MSRP 세션을 해제하고, 이전 단의 중간 노드 또는 상기 일측 단말에게 응답 메시지를 전송하는 과정을After the at least one intermediate node forwards the termination request message to a subsequent intermediate node or the other terminal, the MSRP session related to the session-based messaging service is released in response to the termination request message, and the intermediate node of the previous stage is released. Or transmitting a response message to the one terminal.

상기 타측 단말이 상기 종료 요청 메시지에 응답하여 상기 세션 기반 메시징 서비스에 관련된 상기 MSRP 세션을 해제하고, 상기 적어도 하나의 중간 노드에게 응답 메시지를 전송하는 과정을 포함하는 것을 특징으로 한다. In response to the termination request message, the other terminal releases the MSRP session related to the session-based messaging service and transmits a response message to the at least one intermediate node.

이하 첨부된 도면을 참조하여 본 발명의 바람직한 실시예에 대한 동작 원리를 상세히 설명한다. 하기에서 본 발명을 설명함에 있어 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략할 것이다. 그리고 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들로서 이는 사용자, 운용자의 의도 또는 관례 등에 따라 달라질 수 있다. 그러므로 그 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다. Hereinafter, with reference to the accompanying drawings will be described in detail the operating principle of the preferred embodiment of the present invention. In the following description of the present invention, detailed descriptions of well-known functions or configurations will be omitted if it is determined that the detailed description of the present invention may unnecessarily obscure the subject matter of the present invention. Terms to be described later are terms defined in consideration of functions in the present invention, and may be changed according to intentions or customs of users or operators. Therefore, the definition should be made based on the contents throughout the specification.

후술되는 본 발명은 IP 멀티미디어 서브시스템에서의 메시징 서비스에 관련된다. 앞서 언급한 바와 같이 IP 멀티미디어 서브시스템에서는 사용자들이 IP 기반의 사용자 서비스를 서로 교환할 수 있도록 인스턴트 메시징과 세션 기반 메시징 서비스를 지원한다.The invention described below relates to a messaging service in an IP multimedia subsystem. As mentioned earlier, the IP multimedia subsystem supports instant messaging and session-based messaging services to enable users to exchange IP-based user services.

도 1은 IP 멀티미디어 서브시스템에서 제공되는 두 가지 메시징 서비스인 인스턴트 메시징과 세션 기반 메시징 서비스에 대하여 나타낸 것이다.Figure 1 illustrates two messaging services provided by the IP multimedia subsystem, instant messaging and session-based messaging services.

상기 도 1의 (A)를 참조하면, 인스턴트 메시징에서의 사용자 메시지들(101)은 SIP 메시지들에 실려 운반된다. IP 코어 네트워크는 모든 호 또는 세션에 관련된 절차를 관리하는 CSCF(Call State Control Function)(103)를 가진다. 모든 SIP 메시지들은 상기 CSCF(103)를 통하여 교환된다. 인스턴트 메시징은 SIP 메시지를 직접 사용하기 때문에 MSRP 메시지 전송을 위한 MSRP 세션을 따로 형성하지 않고, 따라서 MSRP 세션을 형성하기 위한 SIP 세션을 형성하지도 않는다. 양 단말들 간에 전달되는 메시지들은 그 시간적인 순서와 무관하게, 서로 아무런 관계없는 독립적인 메시지들로 간주되어 CSCF(103)에서 처리된다.Referring to FIG. 1A, user messages 101 in instant messaging are carried in SIP messages. The IP core network has a Call State Control Function (CSCF) 103 that manages procedures related to every call or session. All SIP messages are exchanged through the CSCF 103. Because instant messaging uses SIP messages directly, it does not form a separate MSRP session for sending MSRP messages, and therefore does not form a SIP session for establishing an MSRP session. Messages delivered between both terminals are regarded as independent messages irrelevant to each other and processed by the CSCF 103 regardless of their temporal order.

상기 도 1의 (B)를 참조하면, 세션 기반 메시징 서비스는 동일한 특성을 가진 연속적인 사용자 메시지들의 교환을 위해 사용된다. 이때는 각 사용자 메시지가 SIP 메시지가 아니라 TCP를 통한 MSRP 메시지를 통해 전달된다. 따라서 MSRP 세션을 생성하기 위한 SIP 세션이 필요하다. 여기에서 SIP 메시지는 점선으로 나타내었고 MSRP 메시지는 실선으로 나타내었다.Referring to FIG. 1B, a session based messaging service is used for the exchange of consecutive user messages having the same characteristics. In this case, each user message is transmitted through MSRP message through TCP, not SIP message. Therefore, a SIP session is needed to create an MSRP session. Here, the SIP message is shown by the dotted line and the MSRP message is shown by the solid line.

세션 기반 메시징 서비스를 위해서는 먼저 양 단말들 간에 세션을 생성하기 위한 SIP 메시지(105)가 CSCF(107)를 통해 전송된다. SIP 세션이 생성되면 상기 SIP 세션을 통해 MSRP 세션이 생성된다. 그러면 사용자 메시지를 담은 MSRP 메시지들(109)이 SIP 세션을 통해 형성된 MSRP 세션에서 사용하는 TCP 접속을 통하여 전달된다. 양 단말간의 MSRP 메시지들의 교환이 끝나면 SIP 세션을 닫기 위한 SIP 메시지(111)가 전달됨으로써 MSRP 세션도 함께 종료되고 메시징 서비스가 종료된다.For session-based messaging services, a SIP message 105 is first sent via CSCF 107 to create a session between both terminals. When a SIP session is created, an MSRP session is created through the SIP session. MSRP messages 109 containing the user message are then delivered over the TCP connection used in the MSRP session established via the SIP session. When the exchange of MSRP messages between both terminals is completed, the SIP message 111 for closing the SIP session is delivered, thereby ending the MSRP session and ending the messaging service.

도 2는 3GPP IP 멀티미디어 서브시스템에서 SIP 메시지의 전송 동작에 대해 도시한 것이다. Figure 2 illustrates the operation of sending a SIP message in the 3GPP IP multimedia subsystem.

상기 도 2를 참조하면, 단말들(10, 20)은 IP 멀티미디어 서브시스템 네트워크들(12, 16, 22, 26)을 통하여 상호간에 통신한다. 자신의 홈 네트워크(home network)(12, 22) 혹은 외부 네트워크(visited network)(14, 24)에 있는 단말들(10, 20)은 메시징 서비스를 이용하여 텍스트 혹은 멀티미디어 메시지를 서로 주고받게 된다. 홈 네트워크들(12, 22)은 SIP 메시지들을 운반하고 세션들을 관리하기 위하여 서빙 CSCF(Serving CSCF: S-CSCF)(14, 24)을 사용하며, 방문 네트워크들(16, 28)은 프록시 CSCF(Proxy CSCF: P-CSCF)(18, 30)를 사용한다. 홈 네트워크들(12, 22)은 I-CSCF(Interrogating CSCF)(26)에 의해 상호간 통신한다.Referring to FIG. 2, the terminals 10, 20 communicate with each other via IP multimedia subsystem networks 12, 16, 22, 26. The terminals 10 and 20 in their home networks 12 and 22 or in the visited networks 14 and 24 may exchange text or multimedia messages with each other using a messaging service. Home networks 12, 22 use Serving CSCF (S-CSCF) 14, 24 to carry SIP messages and manage sessions, while visiting networks 16, 28 are proxy CSCF ( Proxy CSCF: P-CSCF) (18, 30). The home networks 12, 22 communicate with each other by an Interrogating CSCF (I-CSCF) 26.

P-CSCF들(18, 30)은 단말들이 IP 멀티미디어 서브시스템으로 서비스를 받을 때 가장 먼저 접촉하게 되는 기능 노드로서 해당 단말의 홈 네트워크나 외부 네트워크에 존재한다. S-CSCF들(14, 24)은 실제로 단말의 SIP 세션 상태를 처리하고 관리하는 기능 노드로서 해당 단말의 홈 네트워크에 존재한다. I-CSCF(26)는 다른 사업자 네트워크들 간의 접촉 포인트로 사용되며 서로 다른 사업자 네트워크들 간에 SIP 세션이 형성될 때에 처음 지나가는 CSCF이다.The P-CSCFs 18 and 30 are functional nodes that are first contacted by terminals when they are serviced by the IP multimedia subsystem and exist in the terminal's home network or external network. The S-CSCFs 14 and 24 actually exist in the home network of the terminal as a functional node that processes and manages the SIP session state of the terminal. I-CSCF 26 is used as a point of contact between different operator networks and is the first CSCF to pass when a SIP session is established between different operator networks.

모든 종류의 SIP 요청/응답 메시지들은 메시지의 전달 경로를 나타내는 확장 헤더로서 Via 헤더를 가진다. 예를 들어 최초 UE#1에서 발신하는 SIP 메시지의 Via 헤더에는 UE#1의 주소만이 존재하지만, P-CSCF#1, S-CSCF#1등을 지나면서 상기 Via 헤더에 상기 P-CSCF#1, S-CSCF#1의 주소가 계속 덧붙게 된다. 각 노드에서 상기 SIP 메시지는 Via 헤더의 가장 상위의 주소로 전달된다.All kinds of SIP request / response messages have Via headers as extension headers indicating the route of the message. For example, although only the address of UE # 1 exists in the Via header of the SIP message originating from UE # 1, the P-CSCF # in the Via header passes through P-CSCF # 1 and S-CSCF # 1. 1, the address of S-CSCF # 1 is added continuously. At each node, the SIP message is delivered to the highest address of the Via header.

상기 도 2에서 각각 방문 네트워크(16, 28)에 위치한 발신측 단말(UE#1, 10)과 수신측 단말(UE#2, 20)이 홈 네트워크들(12, 22)을 통해 SIP 메시지를 교환하는 동작을 상세히 설명한다.In FIG. 2, the calling terminal UE # 1 and 10 and the receiving terminal UE # 2 and 20 located in the visited networks 16 and 28 respectively exchange SIP messages through the home networks 12 and 22. The operation to be described in detail.

과정 201에서는 UE#1(10)과 UE#2(20) 사이에 CSCF들(18, 14, 26, 24, 30)을 거쳐서 SIP 세션이 형성(establishment)된다. 또한 과정 203에서 메시지들을 전송하기 위해 상기 SIP 세션과는 별도의 MSRP 세션이 형성되며, 이때 MSRP 세션을 통해 전달될 MSRP 메시지의 미디어 특성은 상기 SIP 세션을 통하여 협의(negotiation)된다. SIP 세션이 CSCF들(18, 14, 26, 24, 30)을 통해서 형성되는데 비해서 MSRP 세션은 일반적인 TCP 접속(connection)에 의하여 형성된다.In step 201, a SIP session is established between the CS # 1 10 and the UE # 2 20 via CSCFs 18, 14, 26, 24, and 30. In addition, in step 203, an MSRP session separate from the SIP session is formed to transmit messages, wherein media characteristics of the MSRP message to be delivered through the MSRP session are negotiated through the SIP session. SIP sessions are established through CSCFs 18, 14, 26, 24, and 30, whereas MSRP sessions are established by normal TCP connections.

UE#1(10)이 SIP 세션을 형성하기 위하여 전달하는 SIP 메시지는 UE#1(10)이 현재 위치하고 있는 외부 네트워크(16)의 최초 접촉 포인트인 P- CSCF#1(18)로 전달된다. P-CSCF#1(18)은 UE#1(10)의 홈 네트워크(23)를 찾아, UE#1(10)의 해당하는 S-CSCF#1(14)에게 상기 SIP 메시지를 전달한다. S-CSCF#1(14)은 UE#1(10)이 SIP 세션을 형성하고자 하는 UE#2(20)의 홈 네트워크(22)를 찾아내고, 상기 홈 네트워크(22)로 상기 SIP 메시지를 전달한다.The SIP message delivered by UE # 1 10 to establish a SIP session is delivered to P-CSCF # 1 18, which is the initial point of contact of the external network 16 on which UE # 1 10 is currently located. The P-CSCF # 1 18 finds the home network 23 of the UE # 1 10 and delivers the SIP message to the corresponding S-CSCF # 1 14 of the UE # 1 10. S-CSCF # 1 14 finds the home network 22 of UE # 2 20 to which UE # 1 10 wishes to establish a SIP session, and forwards the SIP message to the home network 22. do.

상기 S-CSCF#1(14)이 전달한 상기 SIP 메시지는 우선적으로 홈 네트워크(22)의 I-CSCF#2(26)로 전달된다. I-CSCF#2(26)는 UE#2(20)에 해당하는 S-CSCF#2(24)에게 상기 SIP 메시지를 전달한다. S-CSCF #2(24)는 자신이 서비스를 제공하는 UE#2(20)가 지금 위치하고 있는 외부 네트워크(28)를 찾고, 상기 외부 네트워크(28)로 상기 SIP 메시지를 전달한다. 최종적으로 상기 외부 네트워크(28)의 P-CSCF#2(30)로부터 SIP 메시지가 UE#2(20)에게 전달된다. The SIP message delivered by the S-CSCF # 1 14 is first delivered to the I-CSCF # 2 26 of the home network 22. The I-CSCF # 2 26 delivers the SIP message to the S-CSCF # 2 24 corresponding to the UE # 2 20. S-CSCF # 2 24 finds the external network 28 where the UE # 2 20 that it provides services is now located and forwards the SIP message to the external network 28. Finally, a SIP message is transmitted to UE # 2 20 from P-CSCF # 2 30 of the external network 28.

UE#2(20)로부터 UE#1(10)로의 SIP 메시지는 반대의 순서로 전달된다. 상기한 SIP 메시지를 교환함으로써 UE#1과 UE#2사이에 SIP 세션이 설립된다.SIP messages from UE # 2 20 to UE # 1 10 are delivered in the reverse order. By exchanging the above SIP messages, a SIP session is established between UE # 1 and UE # 2.

도 3은 세션 기반 메시징에서의 SIP 세션과 MSRP 세션의 관계를 좀더 상세하게 보인 것이다Figure 3 illustrates in more detail the relationship between a SIP session and an MSRP session in session-based messaging.

상기 도 3을 참조하면, SIP의 주된 역할은 SDP(Session Description Protocol)에서 정의된 미디어 세션을 혐의하고, 형성하며 최종적으로 종료시키는데 있다. 세션 기반 메시징을 위한 SIP 세션 협의 과정 301에서는 양 단말들 간에 SDP 인수들을 서로 교환함으로써 SIP 세션에서 사용할 미디어와 세션의 특성을 결정한다. 이후 형성된 SIP 세션에서는 상기 결정된 미디어와 세션의 특성을 유지한다. 미디어와 세션 특성은 세션 변환 과정을 거쳐서 변화될 수도 있다.Referring to FIG. 3, the main role of SIP is to suspect, form, and finally terminate a media session defined in Session Description Protocol (SDP). In the SIP session negotiation process 301 for session-based messaging, SDP arguments are exchanged between two terminals to determine media and characteristics of a session to be used in a SIP session. The formed SIP session then maintains the determined media and session characteristics. Media and session characteristics may change through a session conversion process.

SIP 세션 형성과 동시에 과정 303에서 MSRP 메시지를 교환할 때 사용하기 위한 MSRP 인자들을 교환한다. 이때 사용되는 인자로는, SIP 세션의 인식자와 양 단말의 주소, 그리고 MSRP 메시지를 교환할 때 사용할 TCP 포트번호 등이 있다. 필요에 따라서는 TCP 접속을 유치하는 쪽에서 TCP 포트를 포함한 자원들을 예약하기도 한다.Simultaneously with the establishment of the SIP session, MSRP parameters are exchanged for use in exchanging MSRP messages in step 303. The arguments used here include the identifier of the SIP session, the addresses of both terminals, and the TCP port number used to exchange MSRP messages. If necessary, the host that reserves the TCP connection may reserve resources including the TCP port.

과정 305에서는 상기 MSRP 인자들을 이용하여 SIP 세션에 해당하는 MSRP 세션을 형성한다. 이때 단일 SIP 세션에 대하여 복수의 MSRP 세션들이 형성될 수도 있다. 양 단말간의 MSRP 세션은 이미 교환된 주소와 TCP 포트번호를 이용하여 형성이 된다.In step 305, an MSRP session corresponding to a SIP session is formed using the MSRP factors. In this case, a plurality of MSRP sessions may be formed for a single SIP session. The MSRP session between both terminals is established using the already exchanged address and TCP port number.

과정 307에서는 상기 MSRP 세션을 통해 MSRP 메시지가 전송된다. 과정 309에서 양 단말간의 메시지 교환이 끝나면 SIP 세션을 닫음으로써 MSRP 세션을 닫게 되어 메시징 서비스가 종료된다. 이때는 양 단말들에서 사용하던 TCP와 기타 자원들이 반환된다.In step 307, an MSRP message is transmitted through the MSRP session. After the exchange of messages between the two terminals in step 309, the MSRP session is closed by closing the SIP session to terminate the messaging service. At this time, TCP and other resources used by both terminals are returned.

본 발명에서는 IP 멀티미디어 서브시스템에서 세션 기반 메시징 서비스를 제공할 때에, SIP 세션과 MSRP 세션의 해제 동작과 순서를 제안한다. 하기에서는 두 가지 경우의 세션 기반 메시징 서비스에서의 세션 해제 동작을 설명한다. 첫 번째 경우는 메시징을 하는 발신 단말과 수신 단말이 홈 네트워크가 아닌 다른 네트워크(즉 방문 네트워크)로 로밍(roaming)하여 서비스 받는 상황에서, 중간 노드를 거치지 않는 채 단일한 TCP 접속을 이용하는 경우이다. 두 번째 경우는 발신 단말과 수신 단말의 세션 형성 과정에 중간 노드로서 동작하는 응용 서버(Application Server: AS)가 참여하여, 메시지를 전송하는 TCP 세션이 중간 노드를 거쳐서 형성되는 경우이다. 상기 중간 노드들은 MSRP 세션 형성에 참여하면서, SIP 메시지와 MSRP 메시지가 전달되는 중간 경로로 사용된다.The present invention proposes a release operation and sequence of a SIP session and an MSRP session when providing a session-based messaging service in an IP multimedia subsystem. The following describes a session release operation in the session-based messaging service in two cases. The first case is a case in which a source terminal and a receiving terminal roam to a network other than the home network (that is, a visited network) to receive a service and use a single TCP connection without passing through an intermediate node. In the second case, an application server (AS), which acts as an intermediate node, participates in a session formation process between the calling terminal and the receiving terminal, and a TCP session for transmitting a message is formed through the intermediate node. The intermediate nodes participate in the establishment of an MSRP session, and serve as intermediate paths through which SIP and MSRP messages are delivered.

본 발명의 바람직한 실시예에 따르면, SIP 세션 및 MSRP 세션은 RFC-3261에 정의된 SIP BYE 요청 메시지에 의해서 해제된다. According to a preferred embodiment of the present invention, the SIP session and the MSRP session are released by the SIP BYE request message defined in RFC-3261.

IP 멀티미디어 서브시스템의 단말과 중간 노드 및 CSCF들은 SIP BYE 요청 메시지를 전달받으면, 상기 SIP BYE 요청 메시지를, 전달 경로를 나타내는 Via 헤더의 가장 위쪽에 위치한 SIP UA(User Agent)인 CSCF, AS 혹은 단말로 전달한 다음, SIP 세션과 SIP 트랜잭션(transaction) 및 SIP 다이얼로그(dialog)와 관련된 상태들을 제거하여 SIP 세션을 종료한다. AS 혹은 UE는 상기 SIP BYE 요청 메시지를 전달받으면, 해당 MSRP 세션 및 TCP 접속과 관련된 상태들을 제거하여 MSRP 세션을 종료한다.When the UE, the intermediate node, and the CSCFs of the IP multimedia subsystem receive the SIP BYE request message, they send the SIP BYE request message to the CSCF, AS or UE, which is a SIP UA (User Agent) located at the top of the Via header indicating a delivery path. Then, the SIP session is terminated by removing the SIP session and the states related to the SIP transaction and the SIP dialog. When the AS or the UE receives the SIP BYE request message, the AS or the UE terminates the MSRP session by removing states related to the corresponding MSRP session and the TCP connection.

이하 본 발명의 바람직한 실시예에 따른 세션 해제 방안에 대한 구체적인 동작 예를 설명한다. 단말들과 중간 노드인 AS 각각에서 이루어지는 상세한 동작은 도 7과 도 8 및 도 9를 참조하여 설명할 것이다.A detailed operation example of a session release method according to a preferred embodiment of the present invention will be described below. Detailed operations performed in each of the terminals and the intermediate node AS will be described with reference to FIGS. 7, 8, and 9.

도 4는 본 발명의 바람직한 실시예에 따라 발신 단말과 수신 단말이 방문 네트워크에서 서비스 받는 상황에서, 중간 노드를 거치지 않는 채 단일한 TCP 접속을 이용하는 경우의 메시지 흐름도를 나타낸 것이다. 여기에는 방문 네트워크의 P-CSCF#1로부터 IP 멀티미디어 서브시스템 서비스를 제공받는 일측 단말 UE#1이 타측 단말 UE#2에게 MSRP 서비스 종료를 요청하는 경우의 도착을 도시하였다. 상기 UE#2 역시 자신의 홈 네트워크를 떠나서 방문 네트워크의 P-CSCF#2로부터 서비스를 받고 있는 상태이다.4 is a flowchart illustrating a message flow when a single TCP connection is used without passing through an intermediate node in a situation where a calling terminal and a receiving terminal are serviced in a visited network according to a preferred embodiment of the present invention. This shows the arrival when one terminal UE # 1 receiving the IP multimedia subsystem service from the P-CSCF # 1 of the visited network requests the other terminal UE # 2 to terminate the MSRP service. The UE # 2 also leaves its home network and receives a service from the P-CSCF # 2 of the visited network.

각 홈 네트워크와 외부 네트워크, P-CSCF, I-CSCF, S-CSFC에 대해서는 도 2에 이미 설명한 바와 같다. 후술되는 설명에서 IP-CAN(IP-Capable Access Network) 베어러(bearer)는 SIP 메시지나 MSRP 메시지를 전송하기 위해 사용되는 무선 액세스 구간(Radio Access Network)의 전송로이다. 하기에서 SIP 메시지를 전송하기 위한 IP-CAN 베어러는 이미 할당되어 있는 것으로 가정하여, MSRP 세션의 MSRP 메시지를 전송하는데 사용되는 IP-CAN 베어러의 할당만을 고려한다. 각 IP-CAN 베어러는 MSRP 세션당 하나씩 할당이 된다. Each home network, external network, P-CSCF, I-CSCF, and S-CSFC have been described with reference to FIG. 2. In the following description, an IP-Capable Access Network (IP-CAN) bearer is a transmission path of a radio access network used for transmitting a SIP message or an MSRP message. In the following, it is assumed that an IP-CAN bearer for transmitting a SIP message is already allocated, and only considers an assignment of an IP-CAN bearer used for transmitting an MSRP message of an MSRP session. Each IP-CAN bearer is assigned one per MSRP session.

과정 401에서, UE#1은 UE#2에게 사용자 데이터를 포함하는 MSRP SEND 메시지를 전송한다. 즉 UE들은 세션 기반 메시징 서비스를 위해 MSRP 세션을 형성한 후 상대의 세선 URL(Uniform Resource Locator)과 TCP 포트번호를 이용하여, 상대에게 상기 MSRP SEND 메시지를 직접 전송한다. 전송하고자 하는 사용자 데이터는 상기 MSRP SEND 메시지에 포함된다. 과정 403에서 UE#2는 UE#1에게서 전송받은 상기 MSRP SEND 메시지에 대한 응답으로 MSRP 200 OK 메시지를 전송한다.In step 401, UE # 1 transmits an MSRP SEND message including user data to UE # 2. That is, UEs establish an MSRP session for a session-based messaging service, and then directly transmit the MSRP SEND message to the other party using a wire URL (Uniform Resource Locator) and TCP port number. User data to be transmitted is included in the MSRP SEND message. In step 403, UE # 2 transmits an MSRP 200 OK message in response to the MSRP SEND message received from UE # 1.

과정 405에서 UE#1은 세션 기반 메시징 서비스를 종료하기 위하여 SIP BYE 요청 메시지를 발신한다. 상기 SIP BYE 요청 메시지를 전송한 뒤, 과정 407에서 UE#1은 SIP 세션과 MSRP 세션 관련된 상태들과 TCP 관련 상태들을 제거한다.In step 405, UE # 1 sends a SIP BYE request message to terminate the session-based messaging service. After transmitting the SIP BYE request message, in step 407, UE # 1 removes the SIP session and MSRP session related states and the TCP related states.

과정들 409 내지 415에서 상기 SIP BYE 요청 메시지는 P-CSCF#1, S-CSCF#1, S-CSCF#2, P-CSCF#2를 거쳐서 UE#2에게 전달된다. 여기서 상기 CSCF들은 상기 SIP BYE 요청 메시지를 Via 헤더의 가장 위쪽에 위치한 CSCF 혹은 UE#2로 전달한다. 과정 417에서 UE#2는 UE#1로부터 상기 SIP BYE 요청 메시지를 전달받은 후 SIP 세션과 MSRP 세션을 해제한다. 이를 위해, MSRP 세션 관련된 상태들과 TCP 관련 상태들을 제거한다. MSRP 세션 관련된 상태들이 모두 제거되면, 과정 419에서 UE#2는 SIP 200 OK 응답 메시지를 발신한다.In processes 409 to 415, the SIP BYE request message is delivered to UE # 2 via P-CSCF # 1, S-CSCF # 1, S-CSCF # 2, and P-CSCF # 2. Here, the CSCFs deliver the SIP BYE request message to the CSCF or UE # 2 located at the top of the Via header. In step 417, UE # 2 releases the SIP session and the MSRP session after receiving the SIP BYE request message from UE # 1. To do this, remove the MSRP session related states and TCP related states. If all the MSRP session related states are removed, UE # 2 sends a SIP 200 OK response message in step 419.

MSRP 세션 종료 후, 과정 421에서 UE#2는 IP-CAN 베어러를 해제한다. 만일, UE#2가 이후에 IP 멀티미디어 서브시스템의 서비스를 이용하고자 할 때는, IP-CAN 베어러를 유지할 수도 있다. 그렇지 않을 경우에는 UE#2는 자신이 사용하던 IP-CAN 베어러를 해제하고, 네트워크와의 연결을 끊는다.After the MSRP session is terminated, UE # 2 releases the IP-CAN bearer in step 421. If UE # 2 later wants to use the services of the IP multimedia subsystem, it may maintain an IP-CAN bearer. Otherwise, UE # 2 releases its IP-CAN bearer and disconnects from the network.

과정들 423 내지 429에서 UE#2가 전송한 상기 SIP 200 OK 응답 메시지는 상기 과정들 405 내지 415의 반대 경로를 따라 UE#1에게 전달된다. 상기 SIP 200 OK 응답 메시지는 UE#1과 UE#2 사이의 MSRP 세션 및 SIP 세션이 성공적으로 해제되었음을 UE#1에게 통보하여 준다. The SIP 200 OK response message transmitted by UE # 2 in processes 423 to 429 is delivered to UE # 1 along the reverse path of the processes 405 to 415. The SIP 200 OK response message informs UE # 1 that the MSRP session and the SIP session between UE # 1 and UE # 2 were successfully released.

과정 431에서 MSRP 세션이 완전히 종료되었으므로, UE#1은 IP-CAN 베어러를 해제한다. 만일, UE#1이 이후에 IP 멀티미디어 서브시스템의 서비스를 이용하고자 할 때는, IP-CAN 베어러를 유지할 수도 있다. 그렇지 않을 경우에는 UE#1은 자신이 사용하던 IP-CAN 베어러를 해제하고, 네트워크와의 연결을 끊는다.Since the MSRP session is completely terminated in step 431, UE # 1 releases the IP-CAN bearer. If UE # 1 later wants to use the services of the IP multimedia subsystem, it may maintain an IP-CAN bearer. Otherwise, UE # 1 releases its IP-CAN bearer and disconnects from the network.

중간 노드가 세션 형성에 참여 했을 경우, 발신 단말과 수신 단말 간의 세션을 해제하는 방법에는 두 가지가 있다. 하나는 세션 전체를 한꺼번에 해제하는 것이며, 다른 하나는 세션을 구성하고 있는 TCP 접속단위로 해제하는 것이다. 전자의 방법은 도 5에 도시하였고, 후자의 방법은 도 6에 도시하였다. 중간 노드가 어떤 방법으로 세션을 해제하는가는 해당 중간 노드를 관리하는 네트워크 사업자의 정책에 의하여 결정된다.When the intermediate node participates in the session establishment, there are two ways to release the session between the originating terminal and the receiving terminal. One is to release the entire session at once, and the other is to release the TCP connection that makes up the session. The former method is shown in FIG. 5 and the latter method is shown in FIG. How the intermediate node releases the session is determined by the policy of the network operator managing the intermediate node.

도 5는 발신 단말과 수신 단말의 MSRP 세션 형성에 중간 노드들이 참여했을 때, 세션을 해제하는 첫 번째 실시예를 보인 것이다. MSRP 세션 형성 과정에 중간 노드들이 참여하게 되면, 양측 단말들 사이의 TCP 접속이 여러 개의 TCP 접속들로 나뉘어 지게 된다. 도 5에서 일측 단말인 UE#1과 상대측 단말인 UE#2는 2개의 중간 노드들 AS#1, AS#2를 통해 세션을 설정하고 있으며, UE#1과 UE#2 사이의 TCP 접속은, 1) UE#1 과 AS#1 사이의 제1 TCP 접속과, 2) AS#1과 AS#2 사이의 제2 TCP 접속, 그리고 3) AS#2와 UE#2 사이의 제3 TCP 접속으로 나뉘어 진다. 따라서 실제 UE#1과 UE#2에서 전송된 메시지는 중간 노드들인 AS#1과 AS#2를 거쳐서 상대편에게 전달된다. 도 5에서 보이고 있는 세션 해제는, 상기 세 개의 TCP 접속들을 UE#2 쪽의 TCP 접속부터 해제하여 나가는 경우이다.FIG. 5 illustrates a first embodiment of releasing a session when intermediate nodes participate in MSRP session establishment between the originating terminal and the receiving terminal. When the intermediate nodes participate in the MSRP session establishment, the TCP connection between both terminals is divided into multiple TCP connections. In FIG. 5, UE # 1, which is one terminal and UE # 2, which is an opponent terminal, establishes a session through two intermediate nodes AS # 1 and AS # 2, and a TCP connection between UE # 1 and UE # 2 includes: 1) a first TCP connection between UE # 1 and AS # 1, 2) a second TCP connection between AS # 1 and AS # 2, and 3) a third TCP connection between AS # 2 and UE # 2. Divided. Therefore, the actual message transmitted from UE # 1 and UE # 2 is delivered to the other party through the intermediate nodes AS # 1 and AS # 2. The session release shown in FIG. 5 is a case in which the three TCP connections are released from the TCP connection of the UE # 2 side.

과정 501에서 UE#1은 사용자 데이터를 포함하는 MSRP SEND 메시지를 보낸다. 즉 UE들은 세션 기반 메시징 서비스를 위해 MSRP 세션이 형성한 후, 상대의 세션 URL과 TCP 포트번호를 이용하여, 상대에게 상기 MSRP SEND 메시지를 직접 전송한다. 전송하고자 하는 사용자 데이터는 상기 MSRP SEND 메시지에 포함된다. 과정들 503 내지 505에서 상기 MSRP SEND 메시지는 UE#1과 중간 노드 AS#1 사이의 제1 TCP 접속과, AS#1과 AS#2 사이의 제2 TCP 접속 및 AS#2와 UE#2 사이의 제3 TCP 접속을 거쳐 전송된다. 상기 중간 노드들은 상기 MSRP SEND 메시지를 다음 중간노드나 UE#2에게 전달한다.In step 501, UE # 1 sends an MSRP SEND message including user data. In other words, after the MSRP session is established for the session-based messaging service, UEs directly transmit the MSRP SEND message to the other party using the other party's session URL and TCP port number. User data to be transmitted is included in the MSRP SEND message. In processes 503 to 505, the MSRP SEND message is generated by a first TCP connection between UE # 1 and intermediate node AS # 1, a second TCP connection between AS # 1 and AS # 2 and between AS # 2 and UE # 2. Is sent over the third TCP connection. The intermediate nodes forward the MSRP SEND message to the next intermediate node or UE # 2.

과정 507에서 UE#2는 상기 MSRP SEND 메시지에 대한 응답으로 MSRP 200 OK 메시지를 전송한다. 과정들 509 내지 511에서 상기 MSRP 200 OK 메시지는 세 개의 TCP 접속들을 거쳐서 UE#1에게 전달된다.In step 507, UE # 2 transmits an MSRP 200 OK message in response to the MSRP SEND message. In processes 509 to 511 the MSRP 200 OK message is delivered to UE # 1 over three TCP connections.

과정 513에서 UE#1은 세션 기반 메시징 서비스를 종료하기 위하여 SIP BYE 요청 메시지를 발생한다. 상기 SIP 200 OK 응답 메시지를 전송한 이후, 과정 515에서 UE#1은 SIP 세션과 MSRP 세션에 관련된 상태들과 TCP 관련 상태들을 제거한다. In step 513, UE # 1 generates a SIP BYE request message to terminate the session-based messaging service. After transmitting the SIP 200 OK response message, in step 515, UE # 1 removes the states related to the SIP session and the MSRP session and the TCP related states.

과정들 517 내지 519에서 상기 SIP BYE 요청 메시지는 P-CSCF#1, S-CSCF#1을 거쳐서 중간 노드인 AS#1에게 전달되고, 과정들 520 내지 523에서 AS#1은 상기 SIP BYE 요청 메시지를 다시 S-CSCF#2를 거쳐서 AS#2에게 전달하고, 과정들 524 내지 527에서 상기 SIP BYE 요청 메시지는 P-CSCF#2를 거쳐서 UE#2에게 전달된다.In steps 517 to 519, the SIP BYE request message is delivered to the intermediate node AS # 1 via P-CSCF # 1 and S-CSCF # 1, and in steps 520 to 523, AS # 1 is the SIP BYE request message. Is transmitted to AS # 2 again via S-CSCF # 2, and in steps 524 to 527, the SIP BYE request message is delivered to UE # 2 via P-CSCF # 2.

과정 529에서 UE#2는 상기 SIP BYE 요청 메시지에 응답하여 SIP 세션과 MSRP 세션을 해제한다. 이를 위해, MSRP 세션 관련된 상태들과 TCP 관련 상태들을 제거한다. MSRP 세션 관련된 상태들이 모두 제거되면, 과정 531에서 UE#2는 SIP 200 OK 응답 메시지를 전송한다. MSRP 세션 종료 후, 과정 533에서 UE#2는 IP-CAN 베어러를 해제한다. 만일, UE#2가 이후에 IP 멀티미디어 서브시스템의 서비스를 이용하고자 할 때는, IP-CAN 베어러를 유지할 수도 있다. 그렇지 않을 경우에는 UE#2는 자신이 사용하던 IP-CAN 베어러를 해제하고, 네트워크와의 연결을 끊는다.In step 529, UE # 2 releases the SIP session and the MSRP session in response to the SIP BYE request message. To do this, remove the MSRP session related states and TCP related states. When all MSRP session related states are removed, UE # 2 transmits a SIP 200 OK response message in step 531. After the end of the MSRP session, in step 533 UE # 2 releases the IP-CAN bearer. If UE # 2 later wants to use the services of the IP multimedia subsystem, it may maintain an IP-CAN bearer. Otherwise, UE # 2 releases its IP-CAN bearer and disconnects from the network.

과정들 535 내지 536에서 에서 중간 노드 AS#2는 상기 SIP 200 OK 응답 메시지에 따라 MSRP 세션을 해제한 뒤, 과정 539에서 AS#1에게 상기 SIP 200 OK 응답 메시지를 전달한다. 과정들 541 내지 542에서 중간 노드 AS#1은 상기 SIP 200 OK 응답 메시지에 따라 MSRP 세션을 해제한 뒤, 과정 545에서 SIP 200 OK 응답 메시지를 발신한다. 과정들 547 내지 549에서 상기 SIP 200 OK 응답 메시지는 UE#1에게 전달된다.In processes 535 to 536, the intermediate node AS # 2 releases the MSRP session according to the SIP 200 OK response message, and then transfers the SIP 200 OK response message to AS # 1 in step 539. In steps 541 to 542, the intermediate node AS # 1 releases the MSRP session according to the SIP 200 OK response message, and then sends a SIP 200 OK response message in step 545. In processes 547 to 549 the SIP 200 OK response message is delivered to UE # 1.

과정 551에서 UE#1은 MSRP 세션이 완전히 종료된 것으로 판단하여 IP-CAN 베어러를 해제한다. 만일, UE#1이 이후에 IP 멀티미디어 서브시스템의 서비스를 이용하고자 할 때는, IP-CAN 베어러를 유지할 수도 있다. 그렇지 않을 경우에는 UE#1은 자신이 사용하던 IP-CAN 베어러를 해제하고, 네트워크와의 연결을 끊는다.In step 551, UE # 1 determines that the MSRP session is completely terminated and releases the IP-CAN bearer. If UE # 1 later wants to use the services of the IP multimedia subsystem, it may maintain an IP-CAN bearer. Otherwise, UE # 1 releases its IP-CAN bearer and disconnects from the network.

도 6은 발신 단말과 착신 단말의 MSRP 세션 형성에 중간 노드들이 참여했을 때, 세션을 해제하는 두 번째 실시예를 보인 것이다. 여기에서 전체 MSRP 세션을 구성하고 있는 TCP 접속은 UE#1 쪽부터 순차적으로 해제된다. 6 illustrates a second embodiment of releasing a session when intermediate nodes participate in MSRP session establishment between the originating terminal and the called terminal. Here, the TCP connection composing the entire MSRP session is released sequentially from the UE # 1 side.

과정 601에서 UE#1은 사용자 데이터를 포함하는 MSRP SEND 메시지를 보낸다. 즉 UE들은 세션 기반 메시징 서비스를 위해 MSRP 세션이 형성한 후, 상대의 세션 URL과 TCP 포트번호를 이용하여, 상대에게 상기 MSRP SEND 메시지를 직접 전송한다. 전송하고자 하는 사용자 데이터는 상기 MSRP SEND 메시지에 포함된다. 과정들 603 내지 605에서 상기 MSRP SEND 메시지는 UE#1과 중간 노드 AS#1 사이의 제1 TCP 접속과, AS#1과 AS#2 사이의 제2 TCP 접속 및 AS#2와 UE#2 사이의 제3 TCP 접속을 거쳐 전송된다. 상기 중간 노드들은 상기 MSRP SEND 메시지를 다음 중간노드나 UE#2에게 전달한다. 과정 607에서 UE#2는 상기 MSRP SEND 메시지에 대한 응답으로 MSRP 200 OK 메시지를 전송한다. 과정들 609 내지 611에서 상기 MSRP 200 OK 메시지는 세 개의 TCP 접속들을 거쳐서 UE#1에게 전달된다.In step 601, UE # 1 sends an MSRP SEND message including user data. In other words, after the MSRP session is established for the session-based messaging service, UEs directly transmit the MSRP SEND message to the other party using the other party's session URL and TCP port number. User data to be transmitted is included in the MSRP SEND message. In processes 603 to 605, the MSRP SEND message is generated by a first TCP connection between UE # 1 and intermediate node AS # 1, a second TCP connection between AS # 1 and AS # 2 and between AS # 2 and UE # 2. Is sent over the third TCP connection. The intermediate nodes forward the MSRP SEND message to the next intermediate node or UE # 2. In step 607, UE # 2 transmits an MSRP 200 OK message in response to the MSRP SEND message. In steps 609 to 611 the MSRP 200 OK message is delivered to UE # 1 over three TCP connections.

과정 613에서 UE#1은 세션 기반 메시징 서비스를 종료하기 위하여 SIP BYE 요청 메시지를 전송한다. 상기 SIP BYE 요청 메시지를 전송한 뒤, 과정 615에서 UE#1은 SIP 세션과 MSRP 세션 관련된 상태들과 TCP 관련 상태들을 제거한다.In step 613, UE # 1 transmits a SIP BYE request message to terminate the session-based messaging service. After transmitting the SIP BYE request message, in step 615, UE # 1 removes the states related to the SIP session and the MSRP session and the TCP related states.

과정들 617 내지 619에서 상기 SIP BYE 요청 메시지는 P-CSCF#1과 S-CSCF#1을 거쳐서 중간 노드인 AS#1에게 전달된다. 과정들 620 내지 621에서 AS#1은 상기 SIP BYE 요청 메시지에 응답하여 SIP BYE 요청 메시지를 발신한 후 과정 623에서 MSRP 세션 관련된 상태들과 TCP 관련 상태들을 제거한다. 세션과 관련된 모든 상태들이 제거되면, 과정 625에서 AS#1은 SIP 200 OK 응답 메시지를 UE#1에게 전송하여 UE#1과 AS#1사이의 TCP 접속이 해제되었음을 통보한다. In processes 617 to 619, the SIP BYE request message is delivered to the intermediate node AS # 1 via P-CSCF # 1 and S-CSCF # 1. In steps 620 through 621, AS # 1 sends a SIP BYE request message in response to the SIP BYE request message, and then removes the MSRP session related states and TCP related states in step 623. When all states related to the session are removed, the AS # 1 sends a SIP 200 OK response message to the UE # 1 in step 625 to notify that the TCP connection between the UE # 1 and the AS # 1 has been released.

과정들 627 내지 629에서 상기 SIP 200 OK 응답 메시지는 S-CSCF#1과 P-CSCF#1을 거쳐서 UE#1에게 전달된다. 과정 631에서 UE#1은 상기 SIP 200 OK 응답 메시지에 응답하여 IP-CAN 베어러를 해제한다. 만일, UE#1이 이후에 IP 멀티미디어 서브시스템의 서비스를 이용하고자 할 때는, IP-CAN 베어러를 유지할 수도 있다. 그렇지 않을 경우에는 UE#1은 자신이 사용하던 IP-CAN 베어러를 해제하고, 네트워크와의 연결을 끊는다. In steps 627 to 629, the SIP 200 OK response message is delivered to UE # 1 via S-CSCF # 1 and P-CSCF # 1. In step 631, UE # 1 releases the IP-CAN bearer in response to the SIP 200 OK response message. If UE # 1 later wants to use the services of the IP multimedia subsystem, it may maintain an IP-CAN bearer. Otherwise, UE # 1 releases its IP-CAN bearer and disconnects from the network.

과정 633에서 상기 SIP BYE 요청 메시지는 AS#2로 도달한다. 과정들 635 내지 635에서 AS#2는 상기 SIP BYE 요청 메시지를 P-CSCF#2 에게 전달하고, 과정 637에서 MSRP 세션 관련된 상태들과 TCP 관련 상태들을 제거한다. 세션과 관련된 모든 상태들이 제거되면, 과정들 639 내지 642에서 AS#2는 SIP 200 OK 응답 메시지를 AS#1에게 전송하여, AS#1과 AS#2사이의 TCP 접속이 해제되었음을 통보한다.In step 633, the SIP BYE request message arrives at AS # 2. AS # 2 delivers the SIP BYE request message to P-CSCF # 2 in processes 635 to 635 and removes MSRP session related states and TCP related states in step 637. Once all states associated with the session are removed, in steps 639 through 642, AS # 2 sends a SIP 200 OK response message to AS # 1, indicating that the TCP connection between AS # 1 and AS # 2 has been released.

과정 643에서 P-CSCF#2로부터의 SIP BYE 요청 메시지는 UE#2에게 도달한다. 과정 645에서 UE#2는 상기 SIP BYE 요청 메시지에 응답하여 SIP 세션과 MSRP 세션 관련된 상태들과 TCP 관련 상태들을 제거한다. 세션과 관련된 모든 상태들이 제거되면, 과정 647에서 UE#2는 SIP 200 OK 응답 메시지를 AS#2에게 전송하여, AS#2와 UE#2사이의 TCP 접속이 해제되었음을 통보한다. 상기 SIP 200 OK 응답 메시지를 전송한 뒤, 과정 649에서 UE#2는 자신의 IP-CAN 베어러를 해제한다. 만일, UE#2가 이후에 IP 멀티미디어 서브시스템의 서비스를 이용하고자 할 때는, IP-CAN 베어러를 유지할 수도 있다. 그렇지 않을 경우에는 UE#2는 자신이 사용하던 IP-CAN 베어러를 해제하고, 네트워크와의 연결을 끊는다.In step 643, the SIP BYE request message from P-CSCF # 2 arrives at UE # 2. In step 645, UE # 2 removes SIP session and MSRP session related states and TCP related states in response to the SIP BYE request message. When all states related to the session are removed, UE # 2 sends a SIP 200 OK response message to AS # 2 in step 647 to inform that the TCP connection between AS # 2 and UE # 2 has been released. After transmitting the SIP 200 OK response message, UE # 2 releases its IP-CAN bearer in step 649. If UE # 2 later wants to use the services of the IP multimedia subsystem, it may maintain an IP-CAN bearer. Otherwise, UE # 2 releases its IP-CAN bearer and disconnects from the network.

과정들 651 내지 652에서 상기 SIP 200 OK 응답 메시지는 중간 노드 AS#2에게 전달되고, AS#2는 상기 SIP 200 OK 응답 메시지에 따라 AS#2와 UE#2 사이의 TCP 접속이 해제되었음을 인식한다.In steps 651 to 652, the SIP 200 OK response message is delivered to the intermediate node AS # 2, and AS # 2 recognizes that the TCP connection between AS # 2 and UE # 2 has been released according to the SIP 200 OK response message. .

도 7 내지 도 9는 상기 도 5 및 도 6에 도시한 실시예들에서의 단말들과 중간 노드들의 동작을 나타낸 흐름도이다.7 to 9 are flowcharts illustrating operations of terminals and intermediate nodes in the embodiments illustrated in FIGS. 5 and 6.

도 7은 본 발명의 바람직한 실시예에 따라 단말이 MSRP 세션을 해제하여, IP 멀티미디어 서브시스템의 세션 기반 메시징 서비스를 종료하고자 할 때의 동작을 나타낸 흐름도이다. 여기에는 상기 도 5와 도 6의 실시예들에서 UE#1이 수행하는 동작을 도시하였다.7 is a flowchart illustrating an operation when a terminal releases an MSRP session and terminates a session based messaging service of an IP multimedia subsystem according to a preferred embodiment of the present invention. Here, the operations performed by UE # 1 in the embodiments of FIG. 5 and FIG. 6 are illustrated.

과정 701에서 단말은 세션 기반 메시징 서비스를 위한 MSRP 세션 해제를 시작하기로 결정하고, 과정 703에서 상대편 단말에게 SIP BYE 요청 메시지를 보내어 MSRP 세션을 해제하고 메시징 서비스를 종료할 것을 알린다.In step 701, the UE decides to start the MSRP session release for the session-based messaging service, and in step 703, the UE sends a SIP BYE request message to inform the other terminal of the release of the MSRP session and terminates the messaging service.

과정 705에서 단말은 SIP 세션 및 MSRP 세션과 관련된 상태들을 제거한다. 이때 제거되는 상태들에는 하기와 같은 것들이 있다. In step 705, the terminal removes the states associated with the SIP session and the MSRP session. The states removed at this time are as follows.

- SIP 세션 관련: 호 식별자(Call-ID), 호 시퀀스 번호(Call Sequence Number)SIP Session: Call Identifier (Call-ID), Call Sequence Number

- SIP 다이얼로그 관련: 다이얼로그 식별자(Dialog ID), 로컬/원격 시퀀스 번호(Local/remote sequence number), 로컬/원격 URL(Local/remote URI), 원격 목적지(Remote target)-SIP dialog related: Dialog ID, Local / remote sequence number, Local / remote URI, Remote target

- SIP 트랜잭션 관련: 타이머들SIP transaction related: timers

- MSRP 세션 관련: 세션 URL, TR-ID(Transaction Identifier), 지속성 플래그(Continuity flag)MSRP session related: Session URL, Transaction Identifier (TR-ID), Continuity flag

- TCP 접속 관련: TCP 포트 번호, TCP 윈도우 크기, TCP 시퀀스 번호TCP connection: TCP port number, TCP window size, TCP sequence number

{{CSeq, TR-ID의 full name이 필요합니다.}}{{CSeq, full name of TR-ID is required}}

과정 707에서 단말은 SIP 200 OK 응답 메시지를 수신할 때까지 대기한다.In step 707, the terminal waits until it receives a SIP 200 OK response message.

과정 709에서 상기 SIP 200 OK 응답 메시지가 수신되면, 단말은 IP-CAN 베어러를 해제한다. 상기 IP-CAN 베어러가 해제되면 P-CSCF와의 연결이 끊어지므로 IP 멀티미디어 서브시스템과의 연결이 종료된다. 따라서 과정 711에서 UE의 세션 해제과정이 종료된다.If the SIP 200 OK response message is received in step 709, the terminal releases the IP-CAN bearer. When the IP-CAN bearer is released, the connection with the P-CSCF is broken and the connection with the IP multimedia subsystem is terminated. Accordingly, the session release process of the UE is terminated in step 711.

도 8은 본 발명의 바람직한 실시예에 따라 단말에 의하여 세션이 해제될 때, 중간 노드인 AS에서 수행되는 세션 해제 동작을 보인 흐름도이다. 여기에는 상기 도 5와 도 6에서 AS#1과 AS#2가 수행하는 동작을 나타내었다.8 is a flowchart illustrating a session release operation performed at an intermediate node AS when a session is released by the terminal according to an exemplary embodiment of the present invention. Here, the operations performed by AS # 1 and AS # 2 in FIGS. 5 and 6 are shown.

과정 801에서 AS는 SIP 메시지의 수신을 대기한다. 과정 805에서 SIP BYE 요청 메시지가 도착하면, 과정 809에서 AS는 상기 SIP BYE 요청 메시지의 Via 헤더 값을 RFC 3261에 규정된 바와 같이 변경시키고, 상기 SIP BYE 요청 메시지의 목적지 헤더 주소로 상기 SIP BYE 요청 메시지를 전달한다. 상기 SIP BYE 메시지는 자동적으로, 상기 SIP BYE 요청 메시지의 경로 상에서 바로 다음에 위치하고 있는 SIP UA로 전달된다.In step 801, the AS waits to receive a SIP message. When the SIP BYE request message arrives in step 805, the AS in step 809 changes the Via header value of the SIP BYE request message as defined in RFC 3261, and requests the SIP BYE to the destination header address of the SIP BYE request message. Pass the message. The SIP BYE message is automatically forwarded to the SIP UA located next on the path of the SIP BYE request message.

상기 SIP BYE 요청 메시지를 전송한 뒤, 과정 811에서 AS는 사업자의 정책에 따라 과정 813 또는 과정 821로 진행한다.After transmitting the SIP BYE request message, in step 811, the AS proceeds to step 813 or 821 according to the operator's policy.

도 5와 같이 TCP 접속을 일괄적으로 해제하는 경우, 과정 813에서 AS는 상기 SIP BYE 요청 메시지에 대한 SIP 200 OK 메시지가 수신될 때까지 대기한다. 상기 SIP 200 OK 메시지는 AS 이전의 TCP 접속들이 모두 성공적으로 해제되었음을 의미한다. 따라서 과정 815에서 AS는 SIP 세션 및 MSRP 세션과 관련된 상태들을 제거한다.In the case of collectively releasing the TCP connection as shown in FIG. 5, in step 813, the AS waits until a SIP 200 OK message for the SIP BYE request message is received. The SIP 200 OK message means that all TCP connections before the AS are successfully released. Thus, in step 815, the AS removes the states associated with the SIP session and the MSRP session.

상기 SIP 세션 및 MSRP 세션과 관련된 상태들이 성공적으로 제거되면, 과정 817에서 AS는 상기 SIP 200 OK 메시지의 Via 헤더 값을 RFC 3261에 규정된 바와 같이 변경시키고, 상기 Via 헤더의 첫 번째 주소로 SIP 200 OK 메시지를 전달한다. 상기 Via 헤더의 첫 번째 주소는 SIP BYE 요청 메시지의 경로 상에서 바로 이전에 위치하고 있는 SIP UA의 주소이다.If the states associated with the SIP session and the MSRP session are successfully removed, in step 817, the AS changes the Via header value of the SIP 200 OK message as specified in RFC 3261, and sets the SIP 200 to the first address of the Via header. Deliver the OK message. The first address of the Via header is the address of the SIP UA located just prior to the path of the SIP BYE request message.

한편, 도 6과 같이 TCP 접속을 단계별로 순서대로 해제하는 경우, 과정 821에서 AS는 SIP 200 OK 메시지가 수신될 때까지 기다리지 않고, SIP 세션 및 MSRP 세션과 관련된 상태들을 제거한다. 상기 SIP 세션 및 MSRP 세션과 관련된 상태들이 성공적으로 제거되면, 과정 823에서 AS는 상기 SIP 200 OK 메시지의 Via 헤더 값을 RFC 3261에 규정된 바와 같이 변경시키고, 상기 Via 헤더의 첫 번째 주소로 SIP 200 OK 메시지를 전달한다.On the other hand, when releasing the TCP connection step by step as shown in Figure 6, in step 821, the AS does not wait until the SIP 200 OK message is received, and removes the state associated with the SIP session and MSRP session. If the conditions associated with the SIP session and MSRP session are successfully removed, the AS in step 823 changes the Via header value of the SIP 200 OK message as specified in RFC 3261, and sets the SIP 200 to the first address of the Via header. Deliver the OK message.

상기 과정 817 또는 과정 823에서 상기 SIP 200 OK 메시지를 전달하고 나면, 과정 819에서 중간 노드 AS와 관련된 세션 해제 동작이 완료된다.After the SIP 200 OK message is delivered in step 817 or 823, the session release operation associated with the intermediate node AS is completed in step 819.

도 9는 본 발명의 바람직한 실시예에 따라 한 단말에 의하여 세션이 해제될 때, 상대편 단말에서 수행되는 세션 해제 동작을 보인 흐름도이다. 여기에는 상기 도 5와 도 6에서 UE#2가 수행하는 동작을 나타내었다.9 is a flowchart illustrating a session release operation performed at the opposite terminal when the session is released by one terminal according to an exemplary embodiment of the present invention. Here, the operation performed by UE # 2 in FIG. 5 and FIG. 6 is illustrated.

과정 901에서 단말은 SIP 메시지의 수신을 대기한다. 과정 903에서 SIP BYE 요청 메시지가 도착하면, 과정 905에서 단말은 SIP 세션 및 MSRP 세션과 관련된 상태들을 제거한다.In step 901, the terminal waits to receive a SIP message. When the SIP BYE request message arrives in step 903, the UE removes states related to the SIP session and the MSRP session in step 905.

상기 SIP 세션 및 MSRP 세션과 관련된 상태들이 성공적으로 제거되면, 과정 907에서 단말은 RFC 3261에 규정된 바와 같이 최초에 세션 해제를 요청한 단말에게 SIP 200 OK 메시지를 전송한다.If the states related to the SIP session and the MSRP session are successfully removed, in step 907, the terminal transmits a SIP 200 OK message to the terminal that initially requested the session release as defined in RFC 3261.

상기 SIP 200 OK 응답 메시지를 전송하고 난 뒤, 과정 909에서 단말은 IP-CAN 베어러를 해제한다. 상기 IP-CAN 베어러가 해제되면 P-CSCF와의 연결이 끊어지므로 IP 멀티미디어 서브시스템과의 연결이 종료된다. 따라서 과정 911에서 상기 단말의 세션 해제 동작이 종료된다. After transmitting the SIP 200 OK response message, the UE releases the IP-CAN bearer in step 909. When the IP-CAN bearer is released, the connection with the P-CSCF is broken and the connection with the IP multimedia subsystem is terminated. Therefore, the session release operation of the terminal is terminated in step 911.

한편 본 발명의 상세한 설명에서는 구체적인 실시예에 관해 설명하였으나, 본 발명의 범위에서 벗어나지 않는 한도 내에서 여러 가지 변형이 가능함은 물론이다. 구체적으로 본 명세서에서는 단말들이 방문 네트워크에 위치하는 경우의 실시예들을 설명하였으나, 단말들 중 적어도 하나가 홈 네트워크에 위치하는 경우에도 본 발명이 큰 변형 없이 적용 가능하다. 그러므로 본 발명의 범위는 설명된 실시예에 국한되지 않으며, 후술되는 특허청구의 범위뿐만 아니라 이 특허청구의 범위와 균등한 것들에 의해 정해져야 한다. Meanwhile, in the detailed description of the present invention, specific embodiments have been described, but various modifications are possible without departing from the scope of the present invention. In detail, in the present specification, the embodiments in the case where the terminals are located in the visited network have been described, but the present invention can be applied without significant modification even when at least one of the terminals is located in the home network. Therefore, the scope of the present invention should not be limited to the described embodiments, but should be defined not only by the scope of the following claims, but also by those equivalent to the scope of the claims.

이상에서 상세히 설명한 바와 같이 동작하는 본 발명에 있어서, 개시되는 발명중 대표적인 것에 의하여 얻어지는 효과를 간단히 설명하면 다음과 같다.In the present invention operating as described in detail above, the effects obtained by the representative ones of the disclosed inventions will be briefly described as follows.

본 발명은, SIP을 이용하여 IP 멀티미디어 서브시스템에서 세션 기반 메시징 서비스를 제공할 때에 MSRP 세션이 해제되는 절차를 제공하여, 메시징 서비스를 안정적으로 종료할 수 있도록 하는 효과가 있다.The present invention has the effect of providing a procedure of releasing an MSRP session when providing a session-based messaging service in an IP multimedia subsystem using SIP, so that the messaging service can be reliably terminated.

도 1은 IP 멀티미디어 서브시스템에서 제공되는 두 가지 메시징 서비스인 인스턴트 메시징과 세션 기반 메시징 서비스를 나타낸 도면.1 illustrates two messaging services provided in an IP multimedia subsystem, instant messaging and session-based messaging services.

도 2는 IP 멀티미디어 서브시스템에서의 메시징 서비스를 나타내는 도면.2 illustrates a messaging service in an IP multimedia subsystem.

도 3은 SIP와 MSRP의 동작을 설명하는 도면.3 is a diagram illustrating the operation of SIP and MSRP.

도 4는 본 발명의 바람직한 실시예에 따라 발신 단말과 수신 단말이 방문 네트워크에서 서비스 받는 상황에서, 중간 노드를 거치지 않는 채 단일한 TCP 접속을 이용하는 경우의 메시지 흐름도.4 is a message flow diagram when a single TCP connection is used without passing through an intermediate node in a situation where a calling terminal and a receiving terminal are serviced in a visited network according to a preferred embodiment of the present invention.

도 5는 발신 단말과 수신 단말의 MSRP 세션 형성에 중간 노드들이 참여했을 때, 세션을 해제하는 첫 번째 실시예를 보인 메시지 흐름도.FIG. 5 is a message flow diagram illustrating a first embodiment of releasing a session when intermediate nodes participate in MSRP session establishment between an originating terminal and a receiving terminal. FIG.

도 6은 발신 단말과 착신 단말의 MSRP 세션 형성에 중간 노드들이 참여했을 때, 세션을 해제하는 두 번째 실시예를 보인 메시지 흐름도.6 is a message flow diagram illustrating a second embodiment of releasing a session when intermediate nodes participate in establishing an MSRP session between an originating terminal and a called terminal.

도 7은 본 발명의 바람직한 실시예에 따라 단말이 MSRP 세션을 해제하여 IP 멀티미디어 서브시스템의 세션 기반 메시징 서비스를 종료하고자 할 때의 동작을 나타낸 흐름도.7 is a flowchart illustrating an operation when a terminal releases an MSRP session and terminates a session based messaging service of an IP multimedia subsystem according to a preferred embodiment of the present invention.

도 8은 본 발명의 바람직한 실시예에 따라 단말에 의하여 세션이 해제될 때, 중간 노드인 AS에서 수행되는 세션 해제 동작을 보인 흐름도.8 is a flowchart illustrating a session release operation performed in an intermediate node AS when a session is released by a terminal according to an exemplary embodiment of the present invention.

도 9는 본 발명의 바람직한 실시예에 따라 한 단말에 의하여 세션이 해제될 때, 상대편 단말에서 수행되는 세션 해제 동작을 보인 흐름도. 9 is a flowchart illustrating a session release operation performed at the opposite terminal when the session is released by one terminal according to a preferred embodiment of the present invention.

Claims (18)

인터넷 멀티미디어 서브시스템에서 세션 초기화 프로토콜(SIP) 세션을 통해 형성되는 메시지 세션 릴레이 프로토콜(MSRP) 세션을 통해 수행되는 세션 기반 메시징 서비스의 종료 방법에 있어서,A method of terminating a session-based messaging service performed through a message session relay protocol (MSRP) session formed through a session initiation protocol (SIP) session in an internet multimedia subsystem. 중간 노드들 없이 상기 세션 기반 메시징 서비스를 수행하고 있는 두 단말들 중 일측 단말이 상기 세션 기반 메시징 서비스를 종료하기 위한 종료 요청 메시지를 타측 단말에게 전송하고, 상기 세션 기반 메시징 서비스에 관련된 상기 MSRP 세션을 해제하는 과정과,One of two terminals performing the session-based messaging service without intermediate nodes transmits an end request message for terminating the session-based messaging service to the other terminal and sends the MSRP session related to the session-based messaging service. To turn it off, 상기 타측 단말이 상기 종료 요청 메시지에 응답하여 상기 세션 기반 메시징 서비스에 관련된 상기 MSRP 세션을 해제하고, 상기 일측 단말에게 응답 메시지를 전송하는 과정을 포함하는 것을 특징으로 하는 상기 방법.In response to the termination request message, the other terminal releases the MSRP session related to the session-based messaging service and transmits a response message to the one terminal. 제 1 항에 있어서, 상기 MSRP 세션을 해제하는 과정은,The method of claim 1, wherein the step of releasing the MSRP session, 상기 MSRP 세션에 관련된 상태들과 TCP 접속 상태들을 제거하는 것을 특징으로 하는 상기 방법.And removing TCP connection states and states related to the MSRP session. 제 2 항에 있어서, 상기 MSRP 세션에 관련된 상태들은, 세션 URL과 TR-ID와 지속성 플래그를 포함하며, 상기 TCP 접속 상태들은 TCP 포트 번호와 TCP 윈도우 사이즈와 TCP 시퀀스 번호를 포함하는 것을 특징으로 하는 상기 방법.The method of claim 2, wherein the states related to the MSRP session include a session URL, a TR-ID, and a persistence flag, and the TCP connection states include a TCP port number, a TCP window size, and a TCP sequence number. The method. 제 1 항에 있어서, 상기 타측 단말이 상기 일측 단말에게 상기 응답 메시지를 전송한 후 상기 MSRP 세션에 관련된 자신의 무선 베어러를 해제하는 과정과,The method of claim 1, further comprising: releasing, by the other terminal, its own radio bearer related to the MSRP session after transmitting the response message to the one terminal; 상기 일측 단말이 상기 응답 메시지를 수신하고, 상기 MSRP 세션에 관련된 자신의 무선 베어러를 해제하는 과정을 더 포함하는 것을 특징으로 하는 상기 방법.And receiving, by the one terminal, the response message and releasing its own radio bearer associated with the MSRP session. 제 1 항에 있어서, 상기 일측 단말 및 상기 타측 단말이 이후에 상기 인터넷 멀티미디어 서브시스템의 서비스를 이용하기 위하여 상기 MSRP 세션에 관련된 무선 베어러들을 유지하는 과정을 더 포함하는 것을 특징으로 하는 상기 방법.2. The method of claim 1, further comprising the step of the one terminal and the other terminal maintaining radio bearers associated with the MSRP session for later use of the services of the Internet multimedia subsystem. 제 1 항에 있어서, 상기 일측 단말 및 상기 타측 단말들은, 방문 네트워크와 접속하여 상기 세션 기반 메시징 서비스를 이용하는 것을 특징으로 하는 상기 방법.The method of claim 1, wherein the one terminal and the other terminal are connected to a visited network to use the session-based messaging service. 인터넷 멀티미디어 서브시스템에서 세션 초기화 프로토콜(SIP) 세션을 통해 형성되는 메시지 세션 릴레이 프로토콜(MSRP) 세션을 통해 수행되는 세션 기반 메시징 서비스의 종료 방법에 있어서,A method of terminating a session-based messaging service performed through a message session relay protocol (MSRP) session formed through a session initiation protocol (SIP) session in an internet multimedia subsystem. 적어도 하나의 중간 노드를 통해 상기 세션 기반 메시징 서비스를 수행하고 있는 두 단말들 중 일측 단말이 상기 세션 기반 메시징 서비스를 종료하기 위한 종료 요청 메시지를 상기 적어도 하나의 중간 노드를 통해 타측 단말에게 전송하고, 상기 세션 기반 메시징 서비스에 관련된 상기 MSRP 세션을 해제하는 과정과,One of the two terminals performing the session-based messaging service through at least one intermediate node transmits a termination request message for terminating the session-based messaging service to the other terminal through the at least one intermediate node, Releasing the MSRP session associated with the session based messaging service; 상기 타측 단말이 상기 종료 요청 메시지에 응답하여 상기 세션 기반 메시징 서비스에 관련된 상기 MSRP 세션을 해제하고, 상기 적어도 하나의 중간 노드를 통해 상기 일측 단말에게 응답 메시지를 전송하는 과정과,Releasing, by the other terminal, the MSRP session related to the session-based messaging service in response to the termination request message, and transmitting a response message to the one terminal through the at least one intermediate node; 상기 적어도 하나의 중간 노드가 상기 응답 메시지에 응답하여 상기 세션 기반 메시징 서비스에 관련된 상기 MSRP 세션을 해제하는 과정을 포함하는 것을 특징으로 하는 상기 방법.The at least one intermediate node releasing the MSRP session associated with the session based messaging service in response to the response message. 제 7 항에 있어서, 상기 MSRP 세션을 해제하는 과정은,The method of claim 7, wherein the step of releasing the MSRP session, 상기 MSRP 세션에 관련된 상태들과 TCP 접속 상태들을 제거하는 것을 특징으로 하는 상기 방법.And removing TCP connection states and states related to the MSRP session. 제 8 항에 있어서, 상기 MSRP 세션에 관련된 상태들은, 세션 URL과 TR-ID와 지속성 플래그를 포함하며, 상기 TCP 접속 상태들은 TCP 포트 번호와 TCP 윈도우 사이즈와 TCP 시퀀스 번호를 포함하는 것을 특징으로 하는 상기 방법.10. The method of claim 8, wherein the states related to the MSRP session include a session URL, a TR-ID, and a persistence flag, wherein the TCP connection states include a TCP port number, a TCP window size, and a TCP sequence number. The method. 제 7 항에 있어서, 상기 타측 단말이 상기 응답 메시지를 전송한 후 상기 MSRP 세션에 관련된 자신의 무선 베어러를 해제하는 과정과,The method of claim 7, further comprising: releasing, by the other terminal, its own radio bearer associated with the MSRP session after transmitting the response message; 상기 일측 단말이 상기 응답 메시지를 수신하고, 상기 MSRP 세션에 관련된 자신의 무선 베어러를 해제하는 과정을 더 포함하는 것을 특징으로 하는 상기 방법.And receiving, by the one terminal, the response message and releasing its own radio bearer associated with the MSRP session. 제 7 항에 있어서, 상기 일측 단말 및 상기 타측 단말이 이후에 상기 인터넷 멀티미디어 서브시스템의 서비스를 이용하기 위하여 상기 MSRP 세션에 관련된 무선 베어러들을 유지하는 과정을 더 포함하는 것을 특징으로 하는 상기 방법.8. The method of claim 7, further comprising the step of the one terminal and the other terminal to maintain radio bearers associated with the MSRP session for later use of the services of the Internet multimedia subsystem. 제 7 항에 있어서, 상기 일측 단말 및 상기 타측 단말들은, 방문 네트워크와 접속하여 상기 세션 기반 메시징 서비스를 이용하는 것을 특징으로 하는 상기 방법.The method of claim 7, wherein the one terminal and the other terminal use the session-based messaging service in connection with a visited network. 인터넷 멀티미디어 서브시스템에서 세션 초기화 프로토콜(SIP) 세션을 통해 형성되는 메시지 세션 릴레이 프로토콜(MSRP) 세션을 통해 수행되는 세션 기반 메시징 서비스의 종료 방법에 있어서,A method of terminating a session-based messaging service performed through a message session relay protocol (MSRP) session formed through a session initiation protocol (SIP) session in an internet multimedia subsystem. 적어도 하나의 중간 노드를 통해 상기 세션 기반 메시징 서비스를 수행하고 있는 두 단말들 중 일측 단말이 상기 세션 기반 메시징 서비스를 종료하기 위한 종료 요청 메시지를 상기 적어도 하나의 중간 노드에게 전송하고, 상기 세션 기반 메시징 서비스에 관련된 상기 MSRP 세션을 해제하는 과정과,One of two terminals performing the session-based messaging service through at least one intermediate node sends a termination request message to the at least one intermediate node to terminate the session-based messaging service, and the session-based messaging. Releasing the MSRP session related to the service; 상기 적어도 하나의 중간 노드가 상기 종료 요청 메시지를 이후 단의 중간 노드 또는 타측 단말에게 전달한 후, 상기 종료 요청 메시지에 응답하여 상기 세션 기반 메시징 서비스에 관련된 상기 MSRP 세션을 해제하고, 이전 단의 중간 노드 또는 상기 일측 단말에게 응답 메시지를 전송하는 과정을After the at least one intermediate node forwards the termination request message to a subsequent intermediate node or the other terminal, the MSRP session related to the session-based messaging service is released in response to the termination request message, and the intermediate node of the previous stage is released. Or transmitting a response message to the one terminal. 상기 타측 단말이 상기 종료 요청 메시지에 응답하여 상기 세션 기반 메시징 서비스에 관련된 상기 MSRP 세션을 해제하고, 상기 적어도 하나의 중간 노드에게 응답 메시지를 전송하는 과정을 포함하는 것을 특징으로 하는 상기 방법.In response to the termination request message, the other terminal releasing the MSRP session related to the session-based messaging service, and transmitting a response message to the at least one intermediate node. 제 13 항에 있어서, 상기 MSRP 세션을 해제하는 과정은,The method of claim 13, wherein the step of releasing the MSRP session, 상기 MSRP 세션에 관련된 상태들과 TCP 접속 상태들을 제거하는 것을 특징으로 하는 상기 방법.And removing TCP connection states and states related to the MSRP session. 제 14 항에 있어서, 상기 MSRP 세션에 관련된 상태들은, 세션 URL과 TR-ID와 지속성 플래그를 포함하며, 상기 TCP 접속 상태들은 TCP 포트 번호와 TCP 윈도우 사이즈와 TCP 시퀀스 번호를 포함하는 것을 특징으로 하는 상기 방법.15. The method of claim 14, wherein the states related to the MSRP session include a session URL, a TR-ID, and a persistence flag, wherein the TCP connection states include a TCP port number, a TCP window size, and a TCP sequence number. The method. 제 13 항에 있어서, 상기 타측 단말이 상기 응답 메시지를 전송한 후 상기 MSRP 세션에 관련된 자신의 무선 베어러를 해제하는 과정과,The method of claim 13, further comprising: releasing, by the other terminal, its own radio bearer associated with the MSRP session after transmitting the response message; 상기 일측 단말이 상기 응답 메시지를 수신하고, 상기 MSRP 세션에 관련된 자신의 무선 베어러를 해제하는 과정을 더 포함하는 것을 특징으로 하는 상기 방법.And receiving, by the one terminal, the response message and releasing its own radio bearer associated with the MSRP session. 제 13 항에 있어서, 상기 일측 단말 및 상기 타측 단말이 이후에 상기 인터넷 멀티미디어 서브시스템의 서비스를 이용하기 위하여 상기 MSRP 세션에 관련된 무선 베어러들을 유지하는 과정을 더 포함하는 것을 특징으로 하는 상기 방법.14. The method of claim 13, further comprising: maintaining, by the one terminal and the other terminal, radio bearers associated with the MSRP session for later use of the services of the Internet multimedia subsystem. 제 13 항에 있어서, 상기 일측 단말 및 상기 타측 단말들은, 방문 네트워크와 접속하여 상기 세션 기반 메시징 서비스를 이용하는 것을 특징으로 하는 상기 방법.The method of claim 13, wherein the one terminal and the other terminal use the session-based messaging service in connection with a visited network.
KR1020040041489A 2004-06-07 2004-06-07 Method for terminating session based messaging service in internet protocol multimedia sub-system KR20050116464A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040041489A KR20050116464A (en) 2004-06-07 2004-06-07 Method for terminating session based messaging service in internet protocol multimedia sub-system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040041489A KR20050116464A (en) 2004-06-07 2004-06-07 Method for terminating session based messaging service in internet protocol multimedia sub-system

Publications (1)

Publication Number Publication Date
KR20050116464A true KR20050116464A (en) 2005-12-13

Family

ID=37290069

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040041489A KR20050116464A (en) 2004-06-07 2004-06-07 Method for terminating session based messaging service in internet protocol multimedia sub-system

Country Status (1)

Country Link
KR (1) KR20050116464A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100411394C (en) * 2006-03-03 2008-08-13 华为技术有限公司 System and method for packaging transmission message in message conversation trunking protocol
KR100898634B1 (en) * 2007-06-25 2009-05-21 주식회사 케이티프리텔 System and method for call processing
KR100907612B1 (en) 2007-06-29 2009-07-14 주식회사 케이티프리텔 Method and system for charging after session termination in IP multimedia subsystem

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100411394C (en) * 2006-03-03 2008-08-13 华为技术有限公司 System and method for packaging transmission message in message conversation trunking protocol
KR100898634B1 (en) * 2007-06-25 2009-05-21 주식회사 케이티프리텔 System and method for call processing
KR100907612B1 (en) 2007-06-29 2009-07-14 주식회사 케이티프리텔 Method and system for charging after session termination in IP multimedia subsystem

Similar Documents

Publication Publication Date Title
US9143537B2 (en) Device registration in an IMS network
US7877487B2 (en) Dynamic service triggers in communication networks
US20050213580A1 (en) System and method for enforcing policies directed to session-mode messaging
EP1973283A1 (en) Interworking network element, interworking system between the csi terminal and the ims terminal and the method thereof
US20060256748A1 (en) System and method for interworking between IMS network and H.323 network
EP2312806B1 (en) A media negotiation method for ip multimedia link
CA2605475C (en) Session initiation from application servers in an ip multimedia subsystem
WO2005081490A1 (en) Controlling communication sessions in a communication system
CN101563903A (en) Service adaptation in an IP multimedia subsystem network
CN100574474C (en) Set up the method that communication traffic connects in a kind of communication system
KR101453971B1 (en) Apparatus and method for interworking between wirless network and wireline network
EP1672866A1 (en) Method and system to the instant transfer of multimedia files between mobile radio users within the scope of combinational services
KR100966047B1 (en) Media transmission method and apparatus in a communication system
WO2008011790A1 (en) Method, system and network apparatus for setting up session
EP3228057B1 (en) Ims application control protocol
EP2200254B1 (en) Mobile network system and guidance message providing method
KR20050102772A (en) Method and apparatus for establishing a session for session-based messaging service ip multimedia sub-system
KR101003944B1 (en) Method of transmitting an instant message
KR20050116464A (en) Method for terminating session based messaging service in internet protocol multimedia sub-system
WO2008110110A1 (en) Ip multimedia subsystem service providing method and system
KR20050103050A (en) Method and system for establishing a session of a called user equipment for session-based messaging with intermediate nodes in internet protocol multimedia subsystem
KR20050103048A (en) Internet protocal multimedia subsystem and method for establishing session in internet protocal multimedia subsystem
EP1672867A1 (en) Method to the fast and reliable transfer of large amount of data between mobile radio users involved in a SIP session
WO2012010019A1 (en) Method and system for realizing media anchoring
JP2010239292A (en) Network control device, back-to- back user agent, call control device, and network control method

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination