KR20040044216A - Method for establishing tcp/ip session using extended session initiation protocol for peer to peer service between communication terminals - Google Patents

Method for establishing tcp/ip session using extended session initiation protocol for peer to peer service between communication terminals Download PDF

Info

Publication number
KR20040044216A
KR20040044216A KR1020020071927A KR20020071927A KR20040044216A KR 20040044216 A KR20040044216 A KR 20040044216A KR 1020020071927 A KR1020020071927 A KR 1020020071927A KR 20020071927 A KR20020071927 A KR 20020071927A KR 20040044216 A KR20040044216 A KR 20040044216A
Authority
KR
South Korea
Prior art keywords
wireless mobile
mobile terminal
session
called
message
Prior art date
Application number
KR1020020071927A
Other languages
Korean (ko)
Other versions
KR100508650B1 (en
Inventor
이준섭
안홍구
이정호
임재성
Original Assignee
주식회사 휴림인터랙티브
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 휴림인터랙티브 filed Critical 주식회사 휴림인터랙티브
Priority to KR10-2002-0071927A priority Critical patent/KR100508650B1/en
Publication of KR20040044216A publication Critical patent/KR20040044216A/en
Application granted granted Critical
Publication of KR100508650B1 publication Critical patent/KR100508650B1/en

Links

Landscapes

  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

PURPOSE: A method of setting a TCP/IP session using an expanded SIP for a service of a peer-to-peer system between communication terminals is provided to set a TCP/IP session between wireless mobile stations, and to supply an application service basis with a peer-to-peer system between the wireless mobile stations, thereby reliably transmitting data. CONSTITUTION: An originating wireless mobile station(10) transmits an invite message to an SIP server(100)(S101). A location registration server(200) transmits obtained position information of a terminal to the SIP server(100)(S102). The SIP server(100) forwards the invite message to a receiving wireless mobile station(20)(S104). The receiving wireless mobile station(20) transmits a '200 OK' message to the SIP server(100) as a response to the invite message(S105). The SIP server(100) forwards the '200 OK' message to the originating wireless mobile station(10)(S106). The originating mobile station(10) transmits an ACK(Acknowledgement) message to the SIP server(100)(S107). The SIP server(100) forwards the ACK message to the receiving mobile station(20)(S108). The receiving mobile station(20) performs a TCP/IP connection procedure(S109). The originating mobile station(10) transmits a synchronous ACK packet(S110). The receiving mobile station(20) transmits an ACK packet to the originating mobile station(10)(S111). A TCP/IP session is set between the mobile stations(10,20).

Description

통신단말기간의 피어투피어 방식의 서비스를 위한 확장 에스아이피를 이용한 티씨피/아이피 세션 설정 방법{METHOD FOR ESTABLISHING TCP/IP SESSION USING EXTENDED SESSION INITIATION PROTOCOL FOR PEER TO PEER SERVICE BETWEEN COMMUNICATION TERMINALS}METHOD FOR ESTABLISHING TCP / IP SESSION USING EXTENDED SESSION INITIATION PROTOCOL FOR PEER TO PEER SERVICE BETWEEN COMMUNICATION TERMINALS}

본 발명은 피어투피어(Peer to Peer) 방식의 서비스를 위해 확장 에스아이피(SIP : Session Initiation Protocol)를 이용하여 티씨피/아이피세션(TCP/IP Session)을 설정하는 방법에 관한 것이다. 본 명세서에서 언급되는 확장 SIP란 기존의 SIP에 TCP/IP 세션 설정을 위한 정보와 응용 어플리케이션의 정보를 담고 있는 프로토콜로 본 발명에 따라 기존의 SIP가 확장된 것을 의미한다.The present invention relates to a method for establishing a TCP / IP session using an extended session initiation protocol (SIP) for a peer-to-peer service. The extended SIP referred to herein is a protocol that contains information for TCP / IP session establishment and application application information in the existing SIP, which means that the existing SIP is extended according to the present invention.

과거 2세대 혹은 2.5세대 CDMA(Code Division Multiple Access) 무선 네트워크에서는 음성위주의 서비스를 제공한데 반해, 현재의 3세대 무선 네트워크에서는 음성서비스와 함께 고속의 멀티미디어 서비스의 필요성이 대두되고 있다. 이러한 3세대 무선 네트워크 환경에서 음성 및 고속 멀티미디어 서비스를 위하여 SIP를 통신 규격으로 채택하고 있다.In the past, second-generation or 2.5-generation CDMA (Code Division Multiple Access) wireless networks provided voice-oriented services, whereas in the current third-generation wireless networks, the need for high-speed multimedia services is emerging. In the 3G wireless network environment, SIP is adopted as a communication standard for voice and high-speed multimedia services.

현재 인터넷상에서 주로 통신하는 방법인 클라이언트-서버(Client-Server) 모델은 1994년 이후로 그 규모가 거대해지면서 대역폭 부족현상이 생기게 되었고, 어느 특정한 사람들이 아닌 누구나 인터넷상의 자원을 쓸 수 있게 되었다.The client-server model, the current method of communicating over the Internet, has grown in size since 1994, resulting in bandwidth shortages and allowing anyone, not just one particular person, to use resources on the Internet.

그러나 사회는 좀 더 전문화되고 또한 전문화된 그룹끼리 통신을 자유롭게 하고 싶은 충동이 발생되고, 이것을 극복해 보기 위한 방안으로 피어투피어에 대한 연구의 필요성이 대두되었다.However, the society has a urge to freely communicate with more specialized and specialized groups, and the need for research on peer-to-peer has emerged as a way to overcome them.

한편, 인터넷 컨텐츠들을 살펴보면, 대다수가 TCP/IP 기반이며 클라이언트-서버 모델의 경우처럼 클라이언트에서 정보를 요청(Request)하면 서버에서 응답(Response)하여 해당 정보를 제공해 주는 형태로 서비스되고 있다.On the other hand, when looking at the Internet content, the majority is based on TCP / IP, and as in the case of the client-server model, when a client requests information, the server responds to the server and provides the corresponding information.

이것은 서버에서 클라이언트들을 쉽게 관리할 수 있는 장점이 있는 반면에 서버의 과부하를 초래하며, 클라이언트에서 사전에 협약된 아이피 주소(IPAddress), 포트(Port), 소프트웨어 등의 사전 정보에 대한 통일성이 보장되어야 서비스가 가능한 문제점이 있다.While this has the advantage of easy management of clients on the server, it causes server overload and ensures uniformity of dictionary information such as IP address, port, software, etc. There is a problem with the service.

한편, IETF(International Engineering Task Force)에서 제안된 SIP 프로토콜의 경우는 현재의 인터넷망을 적절히 수용하면서 해당 단말기의 위치를 쉽게 검색하고, VoIP(Voice over IP)에서 호 설정(Call Setup)을 쉽게 해주기 때문에 많은 연구가 진행되고 있다.In the meantime, the SIP protocol proposed by the IETF (International Engineering Task Force) makes it easy to find the location of the terminal while accepting the current Internet network, and to easily set up the call in Voice over IP (VoIP). Because of this, a lot of research is going on.

현재에는 SIP 프로토콜에 따라 무선 이동 단말기와 인터넷망, 이동통신망 및 공중교환전화망(PSTN : Public Switched Telephone Network)간의 연동에 대해서 논의가 계속 되고 있다. 이러한 망을 이용하는 서비스의 경우 대부분 실시간 서비스를 위한 방법이다. 실시간 서비스 방법으로서는 인터넷 폰 서비스, 화상통신 등이 있다.Currently, discussions have been made about the interworking between wireless mobile terminals, Internet networks, mobile communication networks, and public switched telephone networks (PSTNs) according to the SIP protocol. In the case of services using such networks, most of them are for real-time services. As the real time service method, there is an Internet phone service, a video communication, and the like.

종래 유선상의 많은 서비스들은 TCP/IP를 통해 이루어지고 있으며, 그 예로서 대한민국 공개특허 중에서는 "공중교환망 단말기를 이용한 인터넷 폰 서비스 시스템 및 그 방법(출원번호: 제10-2000-0012166호)"가 있다. 이 특허는 공중교환망(PSTN,ISDN)에 접속된 단말기를 이용한 인터넷 폰 서비스 시스템에 관한 것으로, 사용자의 호 발신요구에 따라 인터넷폰을 구동하고, 그에 대한 정보를 서버에 보낸 후, 상대방 인터넷폰의 구동 여부에 따라 서로 정보를 교환한 후에 서로 인터넷폰을 통한 통신을 할 수 있다는 것을 내용으로 하고 있다. 하지만 이것은 기본적으로 유선상의 인터넷 폰 서비스를 언급하고 있다.Conventionally, many services on a wired line are made through TCP / IP. For example, the Korean Patent Application Publication No. 10-2000-0012166 discloses an Internet phone service system using a public switched network terminal and a method thereof. have. This patent relates to an Internet phone service system using a terminal connected to a public switched network (PSTN, ISDN), and operates an Internet phone according to a user's call origination request, sends the information to a server, and then After the information exchange with each other depending on whether the driving can communicate with each other through the Internet phone. But it basically refers to a wired Internet phone service.

따라서 각 단말기가 클라이언트/서버로 동작하는 SIP 프로토콜을 이용하여무선통신 시스템에서 피어투피어 방식의 TCP/IP 세션을 설정하는 새로운 방법이 요구된다.Therefore, there is a need for a new method for establishing a peer-to-peer TCP / IP session in a wireless communication system using a SIP protocol in which each terminal operates as a client / server.

본 발명은 상기한 종래의 문제점을 해결하기 위해 안출된 것으로, 확장 SIP 메시지를 이용하여 무선 이동 단말기간에 TCP/IP 세션을 설정하여 무선 이동 단말기간 피어투피어 방식의 응용 어플리케이션 서비스 기반을 제공하는데 그 목적이 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and provides a peer-to-peer application application service base between wireless mobile terminals by establishing a TCP / IP session between wireless mobile terminals using an extended SIP message. There is a purpose.

그리고, 본 발명은 확장 SIP 메시지를 이용하여 무선 이동 단말기와 인터넷망의 고정 단말기간에 TCP/IP 세션을 설정하는 방법을 제공하는데 다른 목적이 있다.Another object of the present invention is to provide a method for establishing a TCP / IP session between a wireless mobile terminal and a fixed terminal of an Internet network using an extended SIP message.

또, 본 발명은 아웃 다이얼링(Out-Dialing) 기능을 제공하는 특정서버가 이 특정서버에 접속하지 않은 무선 이동 단말기와 확장 SIP 메시지를 통하여 TCP/IP 세션을 설정하는 방법을 제공하는데 또 다른 목적이 있다.Another object of the present invention is to provide a method for establishing a TCP / IP session through an extended SIP message with a wireless mobile terminal that does not access a specific server that provides out-dialing. have.

또한, 본 발명은 통신단말기간에 피어투피어 방식의 응용 어플리케이션 서비스를 위하여 확장 SIP 메시지에 TCP/IP 세션설정을 위한 정보를 같이 실어 보내어 SIP 메시지의 3-웨이 핸드세이킹(3-Way Handshaking)을 하지 않고 SIP메시지에 대하여 2-웨이(2-Way) 방식 또는 1-웨이(1-Way) 방식으로 핸드세이킹을 수행한 다음에 TCP/IP 세션을 설정하는 방법을 제공하는데 또 다른 목적이 있다.In addition, the present invention transmits information for establishing a TCP / IP session in the extended SIP message for the peer-to-peer application service in the communication terminal period to perform 3-way handshaking of the SIP message. Another object of the present invention is to provide a method for establishing a TCP / IP session after performing handshaking on a 2-way or a 2-way method for a SIP message. .

도 1은 본 발명의 제 1실시예에 따라 무선 이동 단말기간 피어투피어(Peer to Peer) 방식의 서비스를 위해 확장 에스아이피(SIP:Session Initiation Protocol) 이용하여 티씨피/아이피(TCP/IP) 세션을 설정하기 위한 네트워크 구조도.FIG. 1 illustrates an example of TCP / IP using an extension initiation protocol (SIP) for a peer-to-peer service between wireless mobile terminals according to a first embodiment of the present invention. Network diagram for establishing a session.

도 2는 본 발명에 따른 확장 SIP 스택을 도시한 도면.2 illustrates an extended SIP stack in accordance with the present invention.

도 3은 본 발명에 따라 무선 이동 단말기와 인터넷 망의 고정 단말기(Fixed Host)간 피어투피어 방식의 서비스를 위해 확장 SIP를 이용하여 TCP/IP 세션을 설정하기 위한 네트워크 구조도.3 is a diagram illustrating a network structure for establishing a TCP / IP session using an extended SIP for a peer-to-peer service between a wireless mobile terminal and a fixed terminal of an internet network according to the present invention.

도 4는 본 발명에 따라 인터넷 망의 고정 단말기와 무선 이동 단말기간 피어투피어 방식의 서비스를 위해 확장 SIP를 이용하여 TCP/IP 세션을 설정하기 위한 네트워크 구조도.4 is a diagram illustrating a network structure for establishing a TCP / IP session using an extended SIP for a peer-to-peer service between a fixed terminal and a wireless mobile terminal of an Internet network according to the present invention.

도 5는 본 발명에 따라 확장 SIP를 이용하여 무선 이동 단말기간 아웃 다이얼링 기능을 통하여 TCP/IP 세션을 설정하기 위한 네트워크 구조도.FIG. 5 is a network architecture for establishing a TCP / IP session with out-dialing functionality between wireless mobile terminals using extended SIP in accordance with the present invention. FIG.

도 6은 본 발명에 따라 무선 이동 단말기간 피어투피어 방식의 서비스를 위해 확장 SIP를 이용하여 아웃 다이얼링 기능을 통해 TCP/IP 세션을 설정하기 위한 네트워크 구조도.6 is a network structure diagram for establishing a TCP / IP session through an out-dialing function using an extended SIP for a peer-to-peer service between wireless mobile terminals according to the present invention.

도 7은 본 발명에 따라 무선 이동 단말기간 피어투피어 방식의 서비스를 위해 확장 SIP를 이용하여 원웨이(1-Way)방식으로 TCP/IP 세션을 설정하기 위한 네트워크 구조도.FIG. 7 is a diagram illustrating a network structure for establishing a TCP / IP session in a one-way manner using extended SIP for peer-to-peer service between wireless mobile terminals according to the present invention.

도 8은 본 발명에 따라 무선 이동 단말기간 피어투피어 방식의 서비스를 위해 확장 SIP를 이용하여 투웨이(2-Way)방식으로 TCP/IP 세션을 설정하기 위한 네트워크 구조도.8 is a diagram illustrating a network structure for establishing a TCP / IP session in a 2-way manner using an extended SIP for a peer-to-peer service between wireless mobile terminals according to the present invention.

< 도면의 주요부분에 대한 부호의 설명 ><Description of Symbols for Major Parts of Drawings>

10,20: 무선 이동 단말기 30: 고정 단말기10,20: wireless mobile terminal 30: fixed terminal

100: 에스아이피(SIP)서버/피디에스엔(PDSN)200: 위치등록서버100: SIP server / PDSN 200: location registration server

300: 네트워크 서버300: network server

상기와 같은 목적을 달성하기 위하여 본 발명의 바람직한 실시예에 따른 통신단말기간의 피어투피어 방식의 서비스를 위해 확장 에스아이피를 이용하여 티씨피/아이피 세션을 설정하는 방법은, 발신을 시도하는 발신측 무선 이동 단말기가 아이피(IP) 주소 할당수단으로부터 IP주소를 할당받는 제1단계와; 상기 발신측 무선 이동 단말기가 상기 할당된 IP주소와 착신측 무선 이동 단말기의 식별번호, 발신측 무선 이동 단말기에서 구동되는 어플리케이션의 TCP 포트 번호 및 티씨피/아이피(TCP/IP) 세션설정이 요구됨을 나타내는 정보를 포함하는 인바이트(INVITE) 메시지를 생성하여 SIP 서버로 전송하는 제2단계와; 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 식별번호에 기초하여 무선 이동 단말기 위치등록부에 조회하여 상기 착신측 무선 이동 단말기의 위치정보를 획득하는 제 3단계와; 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 위치정보를 이용하여 상기 인바이트 메시지를 상기 착신측 무선 이동 단말기로 전송하는 제 4단계와; 상기 착신측 무선 이동 단말기가 상기 IP주소 할당수단으로부터 IP주소를 할당받고, 상기 인바이트 메시지에 대한 응답으로 오케이(OK) 메시지를 생성하여 상기 SIP 서버를 통하여 상기 발신측 무선 이동 단말기로 전송하는 제5단계와; 상기 오케이 메시지를 수신한 상기 발신측 무선 이동 단말기가 애크(ACK) 메시지를 생성하여 이를 상기 SIP 서버를 통하여 상기 착신측 무선 이동 단말기에게 전송하는 제6단계 및; 상기 착신측 무선 이동 단말기가 상기 인바이트 메시지에 포함된 상기 발신측 무선 이동 단말기의 IP주소와 TCP 포트 번호 및 티씨피/아이피 세션설정이 요구됨을 나타내는 정보를 이용하여, 상기 발신측 무선 이동 단말기와 피어투피어 방식의 티씨피/아이피 세션을 설정하기 위한 연결과정으로 진행하는 제7단계를 포함하여 이루어지는 것을 특징으로 한다.In order to achieve the above object, a method of establishing a TPC / IP session using an extended SIP for a peer-to-peer service of a communication terminal period according to a preferred embodiment of the present invention is a calling party that attempts to originate. A first step of receiving, by the wireless mobile terminal, an IP address from an IP address assignment means; The calling wireless terminal is required to set the assigned IP address, the identification number of the called wireless terminal, the TCP port number of the application running in the calling wireless terminal and the TCP / IP session setup. A second step of generating an INVITE message including information indicating and transmitting the generated message to the SIP server; A third step of the SIP server querying a wireless mobile terminal location register based on the identification number of the called wireless mobile terminal to obtain location information of the called wireless mobile terminal; Transmitting, by the SIP server, the invite message to the called-party wireless mobile terminal using the location information of the called-party wireless mobile terminal; Receiving the IP address from the IP address allocating means, generating an OK message in response to the invite message, and transmitting the generated OK message to the calling wireless terminal through the SIP server; Step 5; A sixth step of generating, by the originating wireless mobile terminal receiving the ok message, an ACK message and transmitting it to the called wireless mobile terminal through the SIP server; The called-party wireless mobile terminal uses the IP address and TCP port number of the calling-party wireless mobile terminal included in the invite message, and information indicating that a TPC / IP session is required. And a seventh step of proceeding to a connection process for establishing a peer-to-peer type TPC / IP session.

그리고, 상기한 목적을 달성하기 위해 본 발명에 따른 무선 이동 단말기와, 유선통신망에 접속된 고정 단말기간의 피어투피어 방식의 서비스를 위해 확장 에스아이피를 이용하여 티씨피/아이피 세션을 설정하는 방법은, 발신을 시도하는 발신측 무선 이동 단말기가 IP 주소 할당수단으로부터 IP주소를 할당받는 제1단계와; 상기 발신측 무선 이동 단말기가 상기 할당된 IP주소와, 유선통신망에 접속된 착신측 고정 단말기의 식별번호, 발신측 무선 이동 단말기에서 구동되는 어플리케이션의 TCP 포트 번호 및 티씨피/아이피(TCP/IP) 세션설정이 요구됨을 나타내는 정보를 포함하는 인바이트(INVITE) 메시지를 생성하여 SIP 서버로 전송하는 제2단계와; 상기 SIP 서버가 상기 착신측 고정 단말기의 식별번호를 이용하여 상기 인바이트 메시지를 상기 착신측 고정 단말기로 전송하는 제 3단계와; 상기 착신측 고정 단말기가 상기 인바이트 메시지에 대한 응답으로 오케이(OK) 메시지를 생성하여 상기 SIP 서버를 통하여 상기 발신측 무선 이동 단말기로 전송하는 제4단계와; 상기 오케이 메시지를 수신한 상기 발신측 무선 이동 단말기가 애크(ACK) 메시지를 생성하여 이를 상기 SIP 서버를 통하여 상기 착신측 고정 단말기에게 전송하는 제5단계 및; 상기 착신측 고정 단말기가 상기 인바이트 메시지에 포함된 상기 발신측 무선 이동 단말기의 IP주소와 TCP 포트 번호 및 티씨피/아이피 세션설정이 요구됨을 나타내는 정보를 이용하여, 상기 발신측 무선 이동 단말기와 피어투피어 방식의 티씨피/아이피 세션을 설정하기 위한 연결과정으로 진행하는 제6단계를 포함하여 이루어지는 것을 특징으로 한다.In order to achieve the above object, a method of establishing a TPC / IP session using an extended SIP for a peer-to-peer service between a wireless mobile terminal according to the present invention and a fixed terminal connected to a wired communication network is provided. A first step of receiving an IP address from an IP address allocating means by the calling wireless mobile terminal which attempts to make a call; The calling wireless terminal is assigned the IP address, the identification number of the called station fixed terminal connected to the wired communication network, the TCP port number of the application running in the calling wireless terminal and TCP / IP (TCP / IP). A second step of generating an INVITE message including information indicating that session establishment is required and transmitting it to a SIP server; Transmitting, by the SIP server, the invite message to the called party fixed terminal using the identification number of the called party fixed terminal; A fourth step in which the called party's fixed terminal generates an OK message in response to the invite message and transmits it to the calling party's wireless mobile terminal through the SIP server; A fifth step of generating, by the originating wireless mobile terminal receiving the ok message, an ACK message and transmitting it to the called party's fixed terminal through the SIP server; The called party's fixed terminal peers with the calling party's wireless mobile terminal by using the IP address and TCP port number of the calling party's wireless mobile terminal included in the invite message, and information indicating that a TCP / IP session is required. And a sixth step of proceeding to a connection process for establishing a two-peer type TPC / IP session.

또, 상기한 목적을 달성하기 위해 본 발명에 따른 유선통신망에 접속된 고정 단말기와 무선 이동 단말기간의 피어투피어 방식의 서비스를 위해 확장 에스아이피를 이용하여 티씨피/아이피 세션을 설정하는 방법은, 유선통신망에 접속된 고정 단말기가 자신의 IP주소와, 착신측의 무선 이동 단말기의 식별번호, 상기 발신측 고정 단말기에서 구동되는 어플리케이션의 TCP 포트 번호 및 티씨피/아이피(TCP/IP) 세션설정이 요구됨을 나타내는 정보를 포함하는 인바이트(INVITE) 메시지를 생성하여 SIP 서버로 전송하는 제1단계와; 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 식별번호에 기초하여 무선 이동 단말기 위치등록부에 조회하여 상기 착신측 무선 이동 단말기의 위치정보를 획득하는 제 2단계와; 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 위치정보를 이용하여 상기 인바이트 메시지를 상기 착신측 무선 이동 단말기로 전송하는 제 3단계와; 상기 착신측 무선 이동 단말기가 IP주소 할당수단으로부터 IP주소를 할당받고, 상기 인바이트 메시지에 대한 응답으로 오케이(OK) 메시지를 생성하여 상기 SIP 서버를 통하여 상기 발신측 고정단말기로 전송하는 제 4단계와; 상기 오케이 메시지를 수신한 상기 발신측 고정 단말기가 애크(ACK) 메시지를 생성하여 이를 상기 SIP 서버를 통하여 상기 착신측 무선 이동 단말기에게 전송하는 제5단계 및; 상기 착신측 무선 이동 단말기가 상기 인바이트 메시지에 포함된 상기 발신측 고정 단말기의 IP주소와 TCP 포트 번호 및 티씨피/아이피 세션설정이 요구됨을 나타내는 정보를 이용하여, 상기 발신측 고정 단말기와피어투피어 방식의 티씨피/아이피 세션을 설정하기 위한 연결과정으로 진행하는 제 6단계를 포함하여 이루어지는 것을 특징으로 한다.In addition, to achieve the above object, a method for establishing a TPC / IP session using an extended SIP for peer-to-peer service between a fixed terminal and a wireless mobile terminal connected to a wired communication network according to the present invention, The fixed terminal connected to the wired network has its IP address, the identification number of the wireless mobile terminal of the called party, the TCP port number of the application running on the calling party's fixed terminal, and TCP / IP session settings. A first step of generating an INVITE message including information indicating that it is required and transmitting it to a SIP server; A second step of the SIP server querying a wireless mobile terminal location register based on an identification number of the called wireless terminal to obtain location information of the called wireless terminal; Transmitting, by the SIP server, the invite message to the called-party wireless mobile terminal using location information of the called-party wireless mobile terminal; A fourth step in which the called-party wireless mobile terminal is assigned an IP address from an IP address allocating means, generates an OK message in response to the invite message, and transmits an OK message to the calling party fixed terminal through the SIP server; Wow; A fifth step of generating, by the originating stationary terminal receiving the ok message, an ACK message and transmitting it to the called party mobile terminal through the SIP server; The called party's wireless mobile terminal uses the IP address and TCP port number of the called stationary terminal included in the invite message, and information indicating that a TPC / IP session is required. And a sixth step of proceeding to a connection process for establishing a peer-to-peer / IP session.

또한, 상기한 목적을 달성하기 위해 본 발명에 따른 무선 이동 단말기간의 피어투피어 방식의 서비스를 위해 확장 에스아이피를 이용하여 티씨피/아이피 세션을 설정하는 방법은, 네트워크 서버에 통신 접속된 발신측 무선 이동 단말기가 SIP 서버를 통하여 상기 네트워크 서버에게 접속되지 않은 착신측 무선 이동 단말기의 식별번호를 포함하여 접속요청정보를 전송하는 제1단계와; 상기 네트워크 서버가 상기 SIP 서버를 통하여 상기 착신측 무선 이동 단말기의 식별번호에 기초하여 무선 이동 단말기 위치등록수단에 조회하여 상기 착신측 무선 이동 단말기의 위치정보를 획득하는 제 2단계와; 상기 네트워크 서버가 상기 착신측 무선 이동 단말기의 식별번호와 어플리케이션의 TCP 포트 번호 및 티씨피/아이피 세션설정이 요구됨을 나타내는 정보를 포함하는 인바이트 메시지 생성하고, 상기 인바이트 메시지를 상기 위치정보를 이용하여 에스아이피 서버를 통해서 상기 착신 무선 이동 단말기로 전송하는 제 3단계와; 상기 착신측 무선 이동 단말기가 IP주소 할당수단으로 IP 주소를 할당받고, 상기 인바이트 메시지에 대한 응답으로 오케이 메시지를 생성하여 상기 에스아이피 서버를 통하여 상기 네트워크 서버로 전송하는 제4단계와; 상기 오케이 메시지를 수신한 네트워크 서버가 애크(ACK) 메시지를 생성하여 이를 상기 에스아이피 서버를 통하여 상기 착신측 무선 이동 단말기에게 전송하는 제5단계 및; 상기 착신측 무선 이동 단말기가 상기 TCP 포트 번호 및 티씨피/아이피 세션설정이 요구됨을 나타내는 정보를 이용하여 상기 네트워크 서버 및 상기 발신측 단말기 중 어느 하나와 피어투피어 방식의 티씨피/아이피 세션을 설정하기 위한 연결과정을 진행하는 제6단계를 포함하여 이루어지는 것을 특징으로 한다.In addition, in order to achieve the above object, a method for establishing a TPC / IP session using extended SIP for peer-to-peer service between wireless mobile terminals according to the present invention includes a calling party connected to a network server. A first step of the wireless mobile terminal transmitting access request information including the identification number of the called wireless mobile terminal which is not connected to the network server through a SIP server; Obtaining, by the network server, location information of the called-party wireless mobile terminal by inquiring to the wireless mobile terminal location registration means based on the identification number of the called-party wireless mobile terminal through the SIP server; The network server generates an invite message including an identification number of the called-party wireless mobile terminal, a TCP port number of an application, and information indicating that a TPC / IP session is required, and uses the location information for the invite message. A third step of transmitting to the incoming wireless mobile terminal through an SIP server; A fourth step in which the called party wireless mobile terminal is assigned an IP address by an IP address assignment means, generates an OK message in response to the invite message, and transmits the OK message to the network server through the SIP server; A fifth step of the network server receiving the OK message generating an ACK message and transmitting the generated ACK message to the called-party wireless mobile terminal through the SIP server; The destination wireless mobile terminal establishes a peer-to-peer TPC / IP session with either the network server or the originating terminal by using the TCP port number and information indicating that a TPC / IP session is required. Characterized in that it comprises a sixth step of proceeding the connection process for.

그리고, 상기한 목적을 달성하기 위해 본 발명에 따른 무선 이동 단말기간의 피어투피어 방식의 서비스를 위해 확장 에스아이피를 이용하여 티씨피/아이피 세션을 설정하는 방법은, 발신을 시도하는 발신측 무선 이동 단말기가 IP주소 할당수단으로부터 IP주소를 할당받는 제1단계와; 상기 발신측 무선 이동 단말기가 상기 할당된 IP주소와 착신측 무선 이동 단말기의 식별번호, 발신측 무선 이동 단말기에서 구동되는 어플리케이션의 TCP 포트 번호 및 티씨피/아이피(TCP/IP) 세션설정 정보를 포함하는 인바이트(INVITE) 메시지를 생성하여 SIP 서버로 전송하는 제2단계와; 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 식별번호에 기초하여 무선 이동 단말기 위치등록부에 조회하여 상기 착신측 무선 이동 단말기의 위치정보를 획득하는 제 3단계와; 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 위치정보를 이용하여 상기 인바이트 메시지를 상기 착신측 무선 이동 단말기로 전송하는 제 4단계와; 상기 착신측 무선 이동 단말기가 상기 IP주소 할당수단으로부터 IP주소를 할당받는 제 5단계와; 상기 착신측 무선 이동 단말기가 상기 인바이트 메시지에 포함된 상기 발신측 무선 이동 단말기의 IP주소와 TCP 포트 번호 및 티씨피/아이피 세션설정 정보를 이용하여, 상기 발신측 무선 이동 단말기와 피어투피어 방식의 티씨피/아이피 세션을 설정하기 위한 연결과정으로 진행하는 제6단계를 포함하여 이루어지는 것을 특징으로 한다.In order to achieve the above object, a method of establishing a TPC / IP session using extended SIP for peer-to-peer service between wireless mobile terminals according to the present invention includes: A first step in which the terminal is assigned an IP address from the IP address assignment means; The calling wireless terminal includes the assigned IP address, the identification number of the called wireless terminal, the TCP port number of the application running in the calling wireless terminal, and TCP / IP session establishment information. A second step of generating an INVITE message to a SIP server; A third step of the SIP server querying a wireless mobile terminal location register based on the identification number of the called wireless mobile terminal to obtain location information of the called wireless mobile terminal; Transmitting, by the SIP server, the invite message to the called-party wireless mobile terminal using the location information of the called-party wireless mobile terminal; A fifth step in which the called-party wireless mobile terminal is assigned an IP address from the IP address assignment means; The called-party wireless mobile terminal uses the IP address, TCP port number, and TPC / IP session establishment information of the calling-party wireless mobile terminal included in the invite message to peer-to-peer with the calling wireless terminal. Characterized in that it comprises a sixth step of proceeding to the connection process for establishing a TPC / IP session of the.

또, 상기한 목적을 달성하기 위해 본 발명에 따른 무선 이동 단말기간의 피어투피어 방식의 서비스를 위해 확장 에스아이피를 이용하여 티씨피/아이피 세션을 설정하는 방법은, 발신을 시도하는 발신측 무선 이동 단말기가 IP주소 할당수단으로부터 IP주소를 할당받는 제1단계와; 상기 발신측 무선 이동 단말기가 상기 할당된 IP주소와 착신측 무선 이동 단말기의 식별번호, 발신측 무선 이동 단말기에서 구동되는 어플리케이션의 TCP 포트 번호 및 티씨피/아이피(TCP/IP) 세션설정 정보를 포함하는 인바이트(INVITE) 메시지를 생성하여 SIP 서버로 전송하는 제2단계와; 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 식별번호에 기초하여 무선 이동 단말기 위치등록부에 조회하여 상기 착신측 무선 이동 단말기의 위치정보를 획득하는 제 3단계와; 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 위치정보를 이용하여 상기 인바이트 메시지를 상기 착신측 무선 이동 단말기로 전송하는 제 4단계와; 상기 착신측 무선 이동 단말기가 상기 IP주소 할당수단으로부터 IP주소를 할당받고, 상기 인바이트 메시지에 대한 응답으로, 상기 할당된 자신의 IP주소와 발신측 무선 이동 단말기의 식별번호, 착신측 무선 이동 단말기에서 구동되는 어플리케이션의 TCP 포트 번호 및 티씨피/아이피(TCP/IP) 세션설정 정보를 포함하는 오케이(OK) 메시지를 생성하여 상기 SIP 서버를 통하여 상기 발신측 무선 이동 단말기로 전송하는 제 5단계와; 상기 발신측 무선 이동 단말기가 상기 오케이 메시지에 포함된 상기 착신측 무선 이동 단말기의 IP주소와 TCP 포트 번호 및 티씨피/아이피 세션설정 정보를 이용하여, 상기 착신측 무선 이동 단말기와 피어투피어 방식의 티씨피/아이피 세션을 설정하기 위한 연결과정으로 진행하는 제6단계를 포함하여 이루어지는 것을 특징으로 한다.In addition, in order to achieve the above object, a method for establishing a TPC / IP session using extended SIP for peer-to-peer service between wireless mobile terminals according to the present invention includes: A first step in which the terminal is assigned an IP address from the IP address assignment means; The calling wireless terminal includes the assigned IP address, the identification number of the called wireless terminal, the TCP port number of the application running in the calling wireless terminal, and TCP / IP session establishment information. A second step of generating an INVITE message to a SIP server; A third step of the SIP server querying a wireless mobile terminal location register based on the identification number of the called wireless mobile terminal to obtain location information of the called wireless mobile terminal; Transmitting, by the SIP server, the invite message to the called-party wireless mobile terminal using the location information of the called-party wireless mobile terminal; The called party wireless mobile terminal is assigned an IP address from the IP address assignment means, and in response to the invite message, the assigned own IP address, the identification number of the calling party wireless mobile terminal, and the called party wireless mobile terminal. A fifth step of generating an OK message including a TCP port number and a TCP / IP session setup information of an application running in the home server and transmitting the generated OK message to the calling wireless terminal through the SIP server; ; The caller's wireless mobile terminal uses the IP address, TCP port number, and TPC / IP session establishment information of the called party's wireless mobile terminal included in the OK message, to establish a peer-to-peer type connection with the called-party wireless mobile terminal. And a sixth step of proceeding to the connection process for establishing the TPC / IP session.

여기서, 상기 인바이트 메시지 및 상기 오케이 메시지에 포함된 티씨피/아이피 세션설정 정보는 TCP 포트 번호(Transport Address), 티씨피/아이피 세션설정이 요구됨을 나타내는 정보, 이니셜라이즈 시퀀스(Initialize Sequence), 어젼트 포인트(Urgent Point) 및 윈도우 사이즈(Window Size)를 포함하여 구성된다.Here, the TCP / IP session configuration information included in the invite message and the OK message may include a TCP port number (Transport Address), information indicating that the TCP / IP session configuration is required, an initialize sequence, It is configured to include a gent point and a window size.

또, 상기 무선 이동 단말기는 확장 에스아이피 프로토콜 기능과 티씨피/아이피 프로토콜 기능을 내장하고 있는 것이다.In addition, the wireless mobile terminal has an integrated SIP protocol function and a TPC / IP protocol function.

또한, 상기 확장 에스아이피는 무선 이동 단말기간 티씨피/아이피 세션 설정을 위한 정보를 에이아이피 메시지 중 미디어 기술정보 필드에 기재하는 것이 바람직하다.In addition, the extended SIP preferably records information for establishing a TPC / IP session between wireless mobile terminals in a media description information field of an AP message.

이하, 본 발명의 바람직한 실시예들에 따른 통신단말기간의 피어투피어 방식의 서비스를 위해 확장 에스아이피(SIP)를 이용하여 티씨피/아이피(TCP/IP) 세션을 설정하는 방법들에 대하여 첨부된 도면을 참조하여 상세히 설명한다.Hereinafter, methods for establishing a TCP / IP session using an extended SIP (SIP) for a peer-to-peer service of a communication terminal period according to preferred embodiments of the present invention are attached. It will be described in detail with reference to the drawings.

도 1은 본 발명의 제 1실시예에 따라 무선 이동 단말기간 피어투피어(Peer to Peer) 방식의 서비스를 위해 확장 에스아이피(SIP : Session Initiation Protocol) 이용하여 티씨피/아이피(TCP/IP) 세션을 설정하기 위한 네트워크 구조도이다.1 is an example of TCP / IP using an extended Session Initiation Protocol (SIP) for a peer-to-peer service between wireless mobile terminals according to a first embodiment of the present invention. A network structure diagram for establishing a session.

동 도면을 참조하면, 본 발명의 제 1실시예의 네트워크는 SIP서버/PDSN(100)과 위치등록서버(200) 및 복수개의 무선 이동 단말기(10, 20)를 포함하여 구성된다.Referring to the figure, the network of the first embodiment of the present invention includes a SIP server / PDSN 100, a location registration server 200, and a plurality of wireless mobile terminals 10 and 20.

상기 SIP서버/PDSN(100)은 SIP 서버와 PDSN으로 이루어진다. 상기 SIP 서버는 무선 이동 단말기(10,20)로부터 SIP 요청을 받아 응답하는 응용서버이며, TCP/IP와 유디피(UDP : User Datagram Protocol)를 모두 제공하는 서버이다. 특히 본 실시예에 있어서는 무선 이동 단말기가 생성한 확장 SIP 메시지를 다른 무선 이동 단말기로 포워딩(Forwarding)하여 발신측 무선 이동 단말기(10)와 착신측 무선 이동 단말기(20)간에 TCP/IP 세션 설정과정에 활용할 수 있도록 한다. 따라서, 본 실시예에 따른 SIP 서버는 기존의 SIP뿐만 아니라 본 발명에 따른 확장 SIP를 처리할 수 있는 서버이다.The SIP server / PDSN 100 consists of a SIP server and a PDSN. The SIP server is an application server that receives and responds to a SIP request from the wireless mobile terminals 10 and 20 and is a server that provides both TCP / IP and User Datagram Protocol (UDP). In particular, in the present embodiment, a process of establishing a TCP / IP session between the originating wireless terminal 10 and the called wireless terminal 20 by forwarding an extended SIP message generated by the wireless mobile terminal to another wireless mobile terminal. To be utilized. Therefore, the SIP server according to the present embodiment is a server capable of processing not only the existing SIP but also the extended SIP according to the present invention.

본 발명에 있어서 무선 이동 단말기(10,20)간에 TCP/IP 세션 설정을 위한 정보는 확장 SIP 메시지를 통하여 시그널링되고, 무선 이동 단말기(10,20)간에 TCP/IP 세션이 설정된 후, 무선 이동 단말기(10,20)의 TCP/IP 응응 어플리케이션은 TCP/IP 세션을 기반으로 데이터를 주고받게 되므로 시그널링 메시지 경로와 미디어 경로가 독립적으로 이루어진다.In the present invention, information for establishing a TCP / IP session between the wireless mobile terminals 10 and 20 is signaled through an extended SIP message, and after the TCP / IP session is established between the wireless mobile terminals 10 and 20, the wireless mobile terminal. The TCP / IP compliant application of (10, 20) sends and receives data based on the TCP / IP session, so that the signaling message path and the media path are independent.

따라서, 무선 이동 단말기(10,20)의 어플리케이션은 기존의 UDP보다 신뢰성이 보장되고 흐름제어와 멀티플렉싱이 용이한 연결지향모드(Connection-Oriented Mode)의 TCP/IP를 기반으로 각종 데이터를 주고받을 수 있게 된다. 상기 어플리케이션은 무선 이동 단말기(10,20)에 내장된 프로그램으로서 음성, 게임, 채팅 등을 지원하는 멀티미디어통신 지원 프로그램일 수 있다.Therefore, the applications of the wireless mobile terminals 10 and 20 can transmit and receive various data based on the TCP / IP of the connection-oriented mode, which is more reliable than the existing UDP, and is easy to control and multiplex in flow control. Will be. The application may be a multimedia communication support program that supports voice, games, chat, and the like as a program embedded in the wireless mobile terminals 10 and 20.

또한, SIP서버/PDSN(100)의 PDSN은 무선 이동 단말기(10)가 발신측으로서 접속을 시도하는 경우 또는 착신측(20)으로서 접속이 요구되는 경우 각 무선 이동 단말기(10,20)와 PPP(Point to Point Protocol) 연결을 설정함과 동시에 무선 이동 단말기(10,20)에게 아이피 주소(IP Address)를 할당하여 인터넷상에서 유일하게 식별되도록 한다.In addition, the PDSN of the SIP server / PDSN 100 is a PPP for each wireless mobile terminal 10 and 20 when the wireless mobile terminal 10 attempts to connect as a calling party or when a connection is required as the called party 20. (Point to Point Protocol) establishes a connection and assigns an IP address to the wireless mobile terminals 10 and 20 so as to be uniquely identified on the Internet.

상기 위치등록서버(200)는 발신측 무선 이동 단말기(10)가 착신측 무선 이동 단말기(20)를 특정하여 다이얼링하는 경우 착신측 무선 이동 단말기(20)의 전화번호를 SIP 아이디(ID)로 매핑시켜 주는 서버로서 ENUM(Telephone Number Mapping)서버 기능을 수행한다. 따라서, 사용자는 착신측 무선 이동 단말기(20)를 특정하여 호를 시도하는 경우 착신측 무선 이동 단말기(20)에 할당된 유알엘(URL)을 사용하지 않고서도 착신측 무선 이동 단말기(20)와 호를 설정할 수 있게 된다.The location registration server 200 maps the telephone number of the destination wireless mobile terminal 20 to the SIP ID (ID) when the calling party wireless mobile terminal 10 specifies and dials the called party wireless mobile terminal 20. It is a server that makes the ENUM (Telephone Number Mapping) server function. Therefore, when a user attempts to make a call by specifying the called party's wireless mobile terminal 20, the user calls with the called party's wireless mobile terminal 20 without using the URL assigned to the called party's wireless mobile terminal 20. Can be set.

발신측 무선 이동 단말기(10)에 내장된 어플리케이션이 착신측 무선 이동 단말기(20)의 전화번호를 포함하는 SIP ID를 직접 매핑하여 생성하는 경우에는 상기 ENUM 서버 기능은 생략될 수 있다.The ENUM server function may be omitted when an application embedded in the calling party's wireless mobile terminal 10 directly maps and generates a SIP ID including the phone number of the called party's wireless mobile terminal 20.

또한, 위치등록서버(200)는 상기 SIP서버(100)로부터 착신측 무선 이동 단말기(20)의 위치를 요청받은 경우 착신측 무선 이동 단말기(20)의 위치에 대한 정보를 상기 SIP서버(100)로 전송한다. 따라서 위치등록 서버(200)는 기존의 무선 이동 통신망에서 운용되는 가입자 위치등록장치(HLR : Home Location Register)와 연동되거나 가입자 위치등록기능을 수행하는 장치 또는 소프트웨어를 포함하여 구성되는 것이 바람직하다.In addition, when the location registration server 200 receives a request for the location of the called party wireless mobile terminal 20 from the SIP server 100, the SIP server 100 provides information on the location of the called party wireless mobile terminal 20. To send. Therefore, the location registration server 200 is preferably configured to include a device or software interworking with a subscriber location registration device (HLR: Home Location Register) operating in an existing wireless mobile communication network or performs a subscriber location registration function.

상기 무선 이동 단말기(10,20)는 개인 휴대용 무선 통신 단말기를 의미하며, 본 발명에 따른 확장 SIP 기능과 TCP/IP의 클라이언트/서버(Client/Server)의 기능을 내장하고 있는 단말기이다. 따라서, 무선 이동 단말기(10,20)는 TCP/IP 세션 설정정보를 포함한 확장 SIP 메시지를 생성하고 이를 상기 SIP 서버(100)를 경유하여 다른 무선 이동 단말기(10,20)로 전송할 수 있고, 전송된 TCP/IP 세션 설정정보를 활용하여 TCP/IP 세션을 설정할 수 있게 된다.The wireless mobile terminals 10 and 20 refer to personal portable wireless communication terminals, and are terminals having an extended SIP function and a client / server function of TCP / IP according to the present invention. Accordingly, the wireless mobile terminals 10 and 20 may generate an extended SIP message including TCP / IP session setting information and transmit the extended SIP message to other wireless mobile terminals 10 and 20 via the SIP server 100. By using the established TCP / IP session configuration information, it is possible to establish a TCP / IP session.

도 2는 본 발명에 따른 확장 SIP 스택을 도시한 도면이다. 동 도면을 참조하면, 본 발명에 따른 확장 SIP는 TCP/IP를 기반으로 하고 있으며, 본 발명에 따라 무선 이동 단말기(10,20)간에 피어투피어 방식의 서비스를 위하여 TCP/IP 세션을 설정하기 위한 추가정보를 포함할 수 있다. 일반적인 SIP 메시지와 본 발명에 따른 확장 SIP와의 관계를 좀 더 상세히 설명한다.2 is a diagram illustrating an extended SIP stack according to the present invention. Referring to the figure, an extended SIP according to the present invention is based on TCP / IP, and in order to establish a TCP / IP session for a peer-to-peer service between wireless mobile terminals 10 and 20 according to the present invention. It may include additional information. The relationship between the general SIP message and the extended SIP according to the present invention will be described in more detail.

일반적으로 SIP 메시지는 SIP 요청(Request) 메시지와 응답(Response) 메시지로 구분되고, 요청 메시지는 인바이트(INVITE), 애크(ACK), 바이(BYE), 캔설(CANCEL), 레지스터(REGISTER) 및 옵션(OPTION)의 6가지 메소드(Method)로 구성되며, 응답 메시지는 1xx(Informational), 2xx(Success), 3xx(Redirection), 4xx(Clint Error), 5xx(Sever Error), 6xx(Global Error) 형태로 표현된다.In general, SIP messages are divided into SIP request messages and response messages, and request messages include INVITE, ACK, BYE, CANCEL, REGISTER, It consists of 6 methods of OPTION, and the response message is 1xx (Informational), 2xx (Success), 3xx (Redirection), 4xx (Clint Error), 5xx (Sever Error), 6xx (Global Error) It is expressed in form.

상기 SIP 메시지는 시작라인(start line), 메시지 헤더 및 메시지 바디로 구성된다. 상기 메시지 바디는 에스디피(SDP : Session Description Protocol)로 기술되며 세션설정을 위한 정보가 기술되고, 그 구성은 세션정보기술부와 시간 기술부 및 미디어기술부로 이루어진다. 상기 메시지 바디부의 미디어 기술부(Media Description)는 아래 표1과 같은 정보를 포함할 수 있다.The SIP message consists of a start line, a message header and a message body. The message body is described as a Session Description Protocol (SDP), and information for session establishment is described, and its configuration includes a session information description section, a time description section, and a media description section. The media description of the message body part may include information as shown in Table 1 below.

필드field 필드 설명Field description 비고Remarks mm 미디어 네임과 TCP 포트 번호Media Name and TCP Port Number 필수necessary ii 미디어 타이틀Media title 옵션option cc 커넥션 정보Connection Information 필수necessary bb 대역폭 정보Bandwidth information 옵션option kk 암호 키(Encryption Key)Encryption Key 옵션option aa 미디어 특성Media characteristics 옵션option

본 발명에 따른 확장 SIP에 있어서, 단말기간 TCP/IP 세션 설정을 위한 정보는 상기 표1에 기술된 미디어 기술부에 포함되는 것이 바람직하다. 따라서, 본 발명에 따른 확장 SIP는 기존의 SIP를 변경하지 않고 메시지 바디의 미디어 기술부에무선 이동 단말기(10,20)의 TCP/IP 세션설정을 위한 정보를 추가한 구조가 된다. 미디어 기술부에 무선 이동 단말기(10,20)간 TCP/IP 세션 설정을 위한 정보가 기술되는 구체적인 예는 아래에서 설명할 본 발명에 따른 실시예에서 상세히 설명한다.In the extended SIP according to the present invention, the information for establishing a TCP / IP session between terminals is preferably included in the media description unit described in Table 1 above. Accordingly, the extended SIP according to the present invention has a structure in which information for establishing a TCP / IP session of the wireless mobile terminals 10 and 20 is added to the media description unit of the message body without changing the existing SIP. A detailed example in which information for establishing a TCP / IP session between the wireless mobile terminals 10 and 20 is described in the media description unit will be described in detail in an embodiment according to the present invention described below.

본 발명에 따라 확장 SIP를 사용하여 TCP/IP 세션을 설정하는 방법은 1) 무선 이동 단말기와 무선 이동 단말기간의 TCP/IP 세션을 설정하는 경우, 2) 무선 이동 단말기와 인터넷망에 접속된 고정단말기(예를 들면 퍼스널 컴퓨터 또는 특정한 어플리케이션 서비스를 제공하는 서버)와 TCP/IP 세션을 설정하는 경우, 3) 무선 이동 단말기가 네트워크 서버를 통하여 아웃 다이얼링하여 다른 무선 이동 단말기와 TCP/IP 세션을 설정하는 경우, 4) 확장 SIP를 이용해서 1-웨이(1-Way)방식으로 SIP 핸드세이킹을 수행하여 무선 이동 단말기간 TCP/IP 세션을 설정하는 경우, 5) 무선 이동 단말기간에서 2-웨이(2-Way)방식으로 SIP 핸드세이킹을 수행하여 TCP/IP세션을 3-웨이 핸드세이킹(3-Way Handshaking)이 아니라 1-웨이 핸드세이킹만으로 설정하는 경우가 있을 수 있다.According to the present invention, a method for establishing a TCP / IP session using an extended SIP includes: 1) setting up a TCP / IP session between a wireless mobile terminal and a wireless terminal, and 2) a fixed terminal connected to the wireless mobile terminal and the Internet network. (E.g., a personal computer or a server providing a specific application service) when establishing a TCP / IP session, 3) the wireless mobile terminal dials out through a network server to establish a TCP / IP session with another wireless mobile terminal. 4) In case of establishing a TCP / IP session between wireless mobile terminals by performing SIP handshaking in a 1-way manner using extended SIP, 5) 2-way between wireless mobile terminals. There may be a case where a TCP / IP session is set to 1-way handshaking instead of 3-way handshaking by performing SIP handshaking using a 2-way method.

이하, 본 발명에 따라 무선 이동통신 시스템에서 확장 SIP를 기반으로TCP/IP 세션을 설정하는 방법을 기존 SIP와 구별하여 순차적으로 설명한다.Hereinafter, a method of establishing a TCP / IP session based on an extended SIP in a wireless mobile communication system according to the present invention will be described sequentially in order to distinguish from an existing SIP.

도 1을 참조하면, 우선 발신측 무선 이동 단말기(10)가 통신을 하기 위해서 PDSN과 PPP 연결을 맺고 PDSN으로부터 IP주소를 할당받는다.Referring to FIG. 1, in order to communicate, the originating wireless terminal 10 first establishes a PPP connection with a PDSN and receives an IP address from the PDSN.

발신자는 착신측 무선 이동 단말기(20)를 특정하기 위하여 SIP ID 대신에 착신측 무선 이동 단말기(20)의 전화번호를 입력하며, 이에 따라 발신측 무선 이동 단말기(20)는 착신측 무선 이동 단말기(20)의 전화번호가 포함된 인바이트(INVITE) 메시지를 생성하여 상기 SIP서버(100)로 전송한다(단계 S101).The caller inputs the telephone number of the called party's wireless mobile terminal 20 instead of the SIP ID to specify the called party's wireless mobile terminal 20. Accordingly, the calling party's wireless mobile terminal 20 receives the called party's wireless mobile terminal ( An INVITE message including a telephone number of 20) is generated and transmitted to the SIP server 100 (step S101).

상기 인바이트 메시지는 예를 들면 아래 표 2와 같이 구성될 수 있다.The invite message may be configured as shown in Table 2 below.

구분division 필드field 내용Contents 시작라인Start line INVITE sip:82162202100@ktf.co.kr; user=phone SIP/2.0INVITE sip: 82162202100@ktf.co.kr; user = phone SIP / 2.0 메시지 헤더Message header ViaVia SIP/2.0 UDP 100.101.102.103:5060SIP / 2.0 UDP 100.101.102.103:5060 ToTo sip:82162202100@ktf.co.kr; user=phonesip: 82162202100@ktf.co.kr; user = phone FromFrom sip:82114104500@sktelecom.com; user=phonesip: 82114104500@sktelecom.com; user = phone Call-IDCall-id 10@100.101.102.10310@100.101.102.103 CseqCseq 1 INVITE1 INVITE SubjectSubject This is TCP connection.This is TCP connection. Content-TypeContent-Type application/sdpapplication / sdp Content-LengthContent-length ...... 메시지 바디Message body 세션정보기술부Session Information Technology Department vv 00 oo 82114104500 2890844526 2890844526 IN IP4 100.101.102.10382114104500 2890844526 2890844526 IN IP4 100.101.102.103 ss TCP connectionTCP connection cc IN IP4 100.101.102.103IN IP4 100.101.102.103 시간 기술부Time engineering department tt 0 00 0 미디어기술부Media Technology Department mm application 49170 TCP chattingapplication 49170 TCP chatting

상기 표 2를 참조하면, 상기 시작라인의 'INVITE' 필드는 상기 메시지가 인바이트 요청 메시지임을 나타내며, 'sip 82162202100@ktf.co.kr; user=phone SIP/2.0'는 발신자가 호 설정을 원하는 착신측 무선 이동 단말기(20)의 전화번호가 '016-220-2100'이고, SIP/2.0을 이용하여 상기 착신측 무선 이동 단말기(20)와 호를 시도함을 표시한다.Referring to Table 2, the 'INVITE' field of the start line indicates that the message is an invite request message, and includes' sip 82162202100@ktf.co.kr; user = phone SIP / 2.0 'is the telephone number of the called party's wireless mobile terminal 20 to which the caller wants to set up the call,' 016-220-2100 ', and the called party's wireless mobile terminal 20 using SIP / 2.0. Indicates that you are trying to call.

여기서, 'sip:82162202100@ktf.co.kr; user=phone'은 착신측 무선 이동 단말기(20)의 전화번호와 매치되는 SIP ID로서, 상기 인바이트 메시지에 있어서는 발신측 무선 이동 단말기(10)가 ENUM 기능을 수행하고 있음을 의미한다. 따라서, 이 경우에는 상기에서 설명한 바와 같이 상기 위치등록 서버(200)의 ENUM 기능은 생략될 수 있고, 상기 발신측 무선 단말기(10)는 발신 사용자에 의해 착신측 무선 단말기(20)의 전화번호(예를 들면 016-220-2100)가 입력되면 이 전화번호를 SIP ID(예를 들면 'sip 82162202100@ktf.co.kr')로 변환하여 인바이트 메시지를 생성한다.Here, 'sip: 82162202100@ktf.co.kr; user = phone 'is a SIP ID that matches the telephone number of the called party's wireless mobile terminal 20, and means that the calling party's wireless mobile terminal 10 performs the ENUM function in the invite message. Therefore, in this case, as described above, the ENUM function of the location registration server 200 may be omitted, and the calling party's wireless terminal 10 is assigned by the calling user to the telephone number of the called party's wireless terminal 20. For example, if 016-220-2100 is inputted, the telephone number is converted into a SIP ID (for example, 'sip 82162202100@ktf.co.kr') to generate a part-time message.

상기 위치등록 서버(200)가 착신측 무선 이동 단말기(20)의 전화번호를 SIP ID로 매핑하는 기능을 제공하는 경우 상기 발신측 무선 이동 단말기(10)는 별도의 SIP ID 변환 기능을 수행하지 않고 착신측 무선 이동 단말기(20)의 전화번호 예를 들면, '82162202100'을 포함하는 인바이트 메시지를 생성할 수 있다.When the location registration server 200 provides a function of mapping the phone number of the called party wireless mobile terminal 20 to the SIP ID, the calling party wireless mobile terminal 10 does not perform a separate SIP ID conversion function. A part number message including a phone number of the called party wireless mobile terminal 20, for example, '82162202100' may be generated.

이 경우, 착신측 무선 이동 단말기(20)의 전화번호를 포함하는 인바이트 메시지를 수신한 SIP 서버(100)는 그 인바이트 메시지에 포함된 착신측 전화번호에 대한 SIP ID를 위치등록 서버(200)로부터 제공받아, 그 인바이트 메시지의 'INVITE' 필드의 착신측 전화번호를 상기 제공받은 SIP ID로 수정한다.In this case, the SIP server 100 receiving the invite message including the telephone number of the called party wireless mobile terminal 20 transmits the SIP ID for the called party's telephone number included in the invite message to the location registration server 200. ), Modify the called party's telephone number in the 'INVITE' field of the invite message to the provided SIP ID.

다음으로 메시지 헤더를 설명하면, 'Via' 필드는 하나 또는 복수개일 수 있으며, 표 2와 같이 메시지에 'via'필드가 하나인 경우에는 그 'via'필드는 자신의 IP주소와 포트번호를 지시하고, 만약 2개 이상의 'via'필드가 존재하는 경우에는앞쪽에 기술된 'via'필드(들)는 경유지의 IP주소와 포트번호를 지시하고 마지막의 'via'필드는 자신의 IP주소와 포트번호를 지시한다. 표2에서는 'via'필드가 하나이므로 인바이트 요청 메시지를 요청한 요청자[즉, 발신측 무선 이동 단말기(10)의 IP주소와 포트번호를 지시한다. 즉, 'SIP/2.0 UDP 100.101.102.103:5060'는 발신측 무선 이동 단말기(10)가 '100.101.102.103' IP 주소를 가지고서 '5060' 포트를 통하여 인바이트 메시지를 전달함을 의미한다.Next, when describing the message header, there may be one or more 'Via' fields. If there is one 'via' field in the message as shown in Table 2, the 'via' field indicates its IP address and port number. If two or more 'via' fields exist, the 'via' field (s) described above indicates the IP address and port number of the waypoint, and the last 'via' field indicates its own IP address and port. Indicate the number. In Table 2, since there is one 'via' field, it indicates the IP address and port number of the requester (that is, the originating wireless mobile terminal 10) who requested the invite request message. That is, 'SIP / 2.0 UDP 100.101.102.103:5060' means that the originating wireless terminal 10 transmits the invite message through the '5060' port with the '100.101.102.103' IP address.

'To' 필드는 상기 인바이트 요청의 응답자[즉, 착신측 무선 이동 단말기(20)]를 나타내고, 상기 'sip:82162202100@ktf.co.kr; user=phone'는 상기의 시작라인에서 설명한 바와 같은 의미를 가진다.A 'To' field indicates a responder of the invite request (ie, called wireless mobile terminal 20), and the 'sip: 82162202100@ktf.co.kr; user = phone 'has the same meaning as described above in the beginning line.

'From' 필드는 상기 인바이트 메시지의 요청자를 나타내며, 따라서 상기 'sip:82114104500@sktelecom.com; user=phone'은 발신측 무선 이동 단말기(10)의 전화번호가 '011-410-4500'임을 표시한다.'From' field indicates the requestor of the invite message, and thus the 'sip: 82114104500@sktelecom.com; user = phone 'indicates that the telephone number of the originating wireless terminal 10 is' 011-410-4500'.

'Call-ID' 필드의 '10@100.101.102.103'는 발신측 무선 이동 단말기(10)가 전화 호를 구별하기 위하여 생성하는 유일한 아이디이며, 상기 'Cseq'필드의 '1 INVITE'는 동일한 호 아이디(Call-ID)[즉, '10@100.101.102.103']에 대한 호 시퀀스(Call Sequence)임을 나타내며, 동일한 호 아이디에 대하여 새로운 요청 메시지가 있는 경우 하나씩 증가된다.'10 @ 100.101.102.103 'in the' Call-ID 'field is the only ID generated by the calling wireless mobile terminal 10 to distinguish a telephone call, and' 1 INVITE 'in the' Cseq 'field is the same call ID. (Call-ID) (i.e., '10 @ 100.101.102.103 ') indicates a call sequence (Call Sequence), and is incremented by one when there is a new request message for the same call ID.

'Subject' 필드는 호의 성격을 나타내는 요청 헤더(Request Header)이며, 따라서 상기 'This is TCP connection'은 상기 발신측 무선 이동 단말기(10)가 착신측 무선 이동 단말기(20)로 요청한 호가 TCP/IP 세션설정 호임을 표시한다.The 'Subject' field is a request header indicating the nature of the call. Thus, 'This is TCP connection' indicates that the call requested by the calling party's mobile terminal 10 to the called party's wireless mobile terminal 20 is TCP / IP. Indicates session setup call.

'Content-Type' 필드의 'application/sdp'는 상기 인바이트 메시지 바디의 미디어 종류를 나타내며, 상기 'Content-Length'는 상기 인바이트 메시지 바디의 길이를 나타낸다.'Application / sdp' in the 'Content-Type' field indicates the media type of the invite message body, and 'Content-Length' indicates the length of the invite message body.

메시지 바디를 설명하면, 세션정보 기술부의 'v' 필드는 프로토콜 버전을 나타낸다. 그리고, 'o' 필드는 메시지 생성자/세션 식별자((Creator/Session Identifier)를 나타내는 것으로, 메시지 생성자의 전화번호가 "011-410-4500"이고 IP주소가 "100.101.102.103"이며 세션이 "28908445226"임을 나타낸다. 's'필드는 세션 이름을 나타낸다. 'c'필드는 연결정보(connection information)를 나타내는 것으로 '100.101.102.103'은 해당 메시지를 요청한 요청자[즉, 발신측 무선 이동 단말기(10)의 IP주소]를 나타내고, 시간 기술부의 상기 't' 필드는 세션이 활성화된 시간을 나타내며, 미디어 기술부의 상기 'm' 필드는 미디어 이름(Media Name)과 TCP 포트 번호(Transport Address)를 각각 나타낸다.When describing the message body, the 'v' field of the session information description unit indicates a protocol version. In addition, the 'o' field indicates a message creator / session identifier. The message creator has a telephone number of "011-410-4500", an IP address of "100.101.102.103", and a session of "28908445226." The 's' field indicates the session name. The 'c' field indicates connection information, and '100.101.102.103' indicates the requestor who requested the message (i.e., the originating wireless mobile terminal 10). IP address], and the 't' field of the time description unit indicates a time when the session is activated, and the 'm' field of the media description unit indicates a Media Name and a TCP port number (Transport Address), respectively. .

특히, 본 발명에 따른 확장 SIP 메시지는 메시지 바디 중 'm' 필드에 'application 49170 TCP chatting'을 부가하여 상기 무선 이동 단말기(10,20)간에 설정될 세션이 피어투피어 방식의 TCP/IP 세션임을 나타낸다. 상기에서 '49170'은 발신측 무선 이동 단말기(10)에서 구동되는 어플리케이션의 TCP 포트 번호를 나타내며, 'chatting'은 발신측 무선 이동 단말기(10)가 착신측 무선 이동 단말기(20)에게 요구한 호의 미디어 네임(Media name)을 나타낸다.In particular, in the extended SIP message according to the present invention, a session to be established between the wireless mobile terminals 10 and 20 is set as a peer-to-peer TCP / IP session by adding 'application 49170 TCP chatting' to the 'm' field of the message body. Indicates that In the above description, '49170' represents a TCP port number of an application running in the calling party's wireless mobile terminal 10, and 'chatting' refers to a call requested by the calling party's wireless mobile terminal 10 to the called party's wireless mobile terminal 20. Represents a media name.

무선 이동 단말기(10,20)는 상기에서 설명한 바와 같이 SIP 프로토콜 기능과 TCP/IP의 클라이언트/서버의 기능을 내장하고 있으며, 상기 무선 이동단말기(10,20)에서 구현되는 응용 어플리케이션 프로그램은 상기의 프로토콜을 기반으로 네트워크를 통하여 서버 또는 다른 무선 이동 단말기의 어플리케이션 프로그램과 통신할 수 있다.As described above, the wireless mobile terminals 10 and 20 incorporate SIP protocol functions and TCP / IP client / server functions, and the application programs implemented in the wireless mobile terminals 10 and 20 are described above. The protocol may communicate with an application program of a server or another wireless mobile terminal through a network.

사용자는 발신측 무선 이동 단말기(10)상에서 상기 어플리케이션 프로그램을 구동한 후에 착신측 무선 이동 단말기(20)의 전화번호를 기존의 무선 이동 단말기를 사용하는 방법과 동일하게 입력할 수 있다. 본 발명에 따른 발신측 무선 이동 단말기(10)는 통상적으로 입력되는 착신측 무선 이동 단말기(20)의 전화번호를 기존의 음성 무선호의 설정 시도로 인식하여 기존의 음성 호 설정방법과 동일하게 처리하고, 상기 어플리케이션이 구동된 후에 사용자에게 제공되는 인터페이스를 통하여 착신측 무선 이동 단말기(20)의 전화번호가 입력되는 경우 본 발명에 따른 확장 SIP를 이용하여 호 설정을 시도하는 것으로 판단한다.After the user runs the application program on the calling party's wireless mobile terminal 10, the user may input the telephone number of the called party's wireless mobile terminal 20 in the same manner as in the conventional wireless mobile terminal. The calling party's wireless mobile terminal 10 according to the present invention recognizes the telephone number of the called party's wireless mobile terminal 20, which is normally input, as an attempt to establish an existing voice radio call, and processes the same as the existing voice call setting method. When the telephone number of the called party's wireless mobile terminal 20 is input through the interface provided to the user after the application is driven, it is determined that the call setup is attempted using the extended SIP according to the present invention.

따라서, 발신측 무선 이동 단말기(10)는 상기 어플리케이션 프로그램이 구동 후에 사용자에게 제공되는 인터페이스를 통하여 착신측 무선 이동 단말기(20)의 전화번호가 입력되면 상기 표 2와 같이 구성되는 SIP 메시지(인바이트 메시지)를 생성하여 상기 SIP 서버(100)와 설정된 경로를 통하여 전송하게 된다.Accordingly, when the calling party's wireless mobile terminal 10 receives the telephone number of the called party's wireless mobile terminal 20 through an interface provided to the user after the application program is driven, the SIP message (in byte) is configured as shown in Table 2 above. Message) is generated and transmitted through the established path with the SIP server 100.

상기 인바이트 메시지를 수신한 SIP 서버(100)는 인바이트 메시지에서 착신측 무선 이동 단말기(20)의 전화번호(표2의 예에서는 016-220-2100)를 추출하여 위치등록서버(200)로 착신측 무선 이동 단말기(20)의 위치 정보를 요청한다. 위치등록서버(200)는 자신이 관리하는 데이터베이스를 참조하여 016-220-2100의 전화번호를 가지는 단말기의 위치 정보를 획득하여 상기 SIP 서버(100)로 전송한다(단계S102).The SIP server 100 receiving the invite message extracts a phone number (016-220-2100 in the example of Table 2) from the invite message to the location registration server 200. Request location information of the called-party wireless mobile terminal 20. The location registration server 200 obtains location information of a terminal having a phone number of 016-220-2100 with reference to a database managed by the location registration server 200 and transmits the location information to the SIP server 100 (step S102).

상기 SIP 서버(100)는 위치등록서버(200)로부터 착신측 무선 이동 단말기(20)의 위치를 알아낸 후에 인바이트 메시지를 착신측 무선 이동 단말기(20)로 포워딩(Forwarding)한다(단계 S104). 이때 SIP/PDSN 서버(100)는 인바이트 메시지에 대한 응답으로 상기 1xx(Informational)의 일종인 "100 Trying" 메시지를 생성하여 이를 발신측 무선 이동 단말기(10)로 보내는 것이 바람직하다(단계 S103). 또한 "100 Trying" 메시지는 "180 Ringing" 메시지와 함께 발신측 무선 이동 단말기로 전송될 수 있으며, 이들 메시지(100 Trying, 180 Ringing)는 옵션으로 설정될 수도 있다.The SIP server 100 finds the location of the destination wireless mobile terminal 20 from the location registration server 200 and forwards the invite message to the destination wireless mobile terminal 20 (step S104). . In this case, the SIP / PDSN server 100 may generate a “100 Trying” message, which is a kind of 1xx (Informational), in response to the invite message, and send it to the calling party's wireless mobile terminal 10 (step S103). . In addition, the "100 Trying" message may be transmitted to the calling mobile wireless terminal together with the "180 Ringing" message, and these messages (100 Trying, 180 Ringing) may be set as an option.

상기 인바이트(INVITE) 메시지를 수신한 착신측 무선 이동 단말기(20)는 인바이트 메시지의 세션 정보 기술부의 'c'필드와 미디어기술부의 'm'필드를 해독하여, IP주소가 '100.101.102.103'인 발신측 무선 이동 단말기(10)로부터 피어투피어 방식의 TCP/IP 세션의 설정 요청임을 확인하고, 호 수락 여부를 결정한다. 이때의 착신측 무선 이동 단말기(20)는 발신측 무선 이동 단말기(10)가 생성한 인바이트(INVITE) 메시지를 데이터 버스트(Data Burst) 메시지 형태로 받게 된다. 상기 착신측 무선 이동 단말기(20)는 발신측 무선 이동 단말기(10)의 요청에 의한 호를 수락하면 PDSN와 PPP 연결 설정을 하고 PDSN으로부터 IP주소를 할당받은 다음, 상기 인바이트 메시지에 대한 응답으로 상기한 2xx(Success)의 일종인 "200 OK" 메시지를 생성하여 SIP서버(100)로 전송한다(단계 S105). 상기 SIP 서버(100)는 발신측 무선 이동 단말기(10)로 상기 "200 OK" 메시지를 포워딩한다(단계S106). 여기서, 상기 "200 OK" 메시지에는 해당 메시지를 생성한 착신측 무선 이동 단말기(20)의 IP주소가 포함되어 있다.Upon receiving the INVITE message, the called-party wireless mobile terminal 20 decodes the 'c' field of the session information description unit and the 'm' field of the media description unit of the invite message, and the IP address is' 100.101.102.103. 'It is confirmed that the request from the originating side wireless mobile terminal 10 to establish a peer-to-peer type TCP / IP session, and determines whether to accept the call. At this time, the called party's wireless mobile terminal 20 receives an INVITE message generated by the calling party's wireless mobile terminal 10 in the form of a data burst message. When the called party's wireless mobile terminal 20 accepts a call requested by the calling wireless mobile terminal 10, it establishes a PPP connection with the PDSN, receives an IP address from the PDSN, and then responds to the invite message. The message “200 OK”, which is a type of 2xx (Success), is generated and transmitted to the SIP server 100 (step S105). The SIP server 100 forwards the "200 OK" message to the calling-party wireless mobile terminal 10 (step S106). Here, the "200 OK" message includes the IP address of the called party's wireless mobile terminal 20 that generated the message.

상기 발신측 무선 이동 단말기(10)는 착신측 무선 이동 단말기(20)의 상기 "200 OK" 메시지에 대한 응답으로 "애크(ACK)" 메시지를 생성하여 상기 SIP 서버(100)로 전송하고(단계 S107), 이를 수신한 SIP 서버(100)는 착신측 무선 이동 단말기(20)로 포워딩한다(단계 S108).The calling-party wireless mobile terminal 10 generates an "ACK" message in response to the "200 OK" message of the called-party wireless mobile terminal 20 and transmits it to the SIP server 100 (step) S107), the SIP server 100 receives the forwarding information to the called-party wireless mobile terminal 20 (step S108).

상기 SIP "애크(ACK)"메시지를 수신하면, 착신측 무선 이동 단말기(20)는 상기 인바이트 메시지의 세션정보 기술부의 'c'필드(즉, 표 2의 예에서 IN IP4 100.101.102.103)에서 추출한 발신측 무선 이동 단말기(10)의 IP주소(즉, 표 2의 예에서 100.101.102.103)를 이용하여 발신측 무선 이동 단말기(10)에 TCP/IP 접속을 위한 "씬(SYN)" 패킷을 전송함으로써 TCP/IP 연결과정(Connection Procedure)을 진행한다(단계 S109).Upon receipt of the SIP " ACK " message, the called party's wireless mobile terminal 20 determines in the 'c' field of the session information description portion of the invite message (i.e. IN IP4 100.101.102.103 in the example of Table 2). By using the extracted IP address of the calling mobile terminal 10 (that is, 100.101.102.103 in the example of Table 2), a "SYN" packet for TCP / IP connection is sent to the calling wireless terminal 10. The transmission proceeds with the TCP / IP connection procedure (step S109).

이어서, 상기 발신측 무선 이동 단말기(10)는 "씬(SYN)" 패킷에 응답하여 착신측 무선 이동 단말기(20)로 "씬애크(SYN ACK)" 패킷을 전송하고(단계 S110), 다시 착신측 무선 이동 단말기(20)는 "씬애크(SYN ACK)" 패킷에 응답하여 발신측 무선 이동 단말기(10)로 "애크(ACK)" 패킷을 전송함으로써(단계 S111), 발/착신 무선 이동 단말기(10,20)간의 TCP/IP 세션이 설정된다. 여기에서 TCP/IP 연결과정은 "씬(SYN)", "씬애크(SYN ACK)" 및 "애크(ACK)" 패킷의 전송으로 이루어지는 통상 TCP/IP연결을 위한 3-웨이 핸드세이킹 방식이 사용된다.Subsequently, the calling wireless mobile terminal 10 transmits a "SYN ACK" packet to the called wireless mobile terminal 20 in response to the "thin (SYN)" packet (step S110) and the incoming call again. The wireless terminal 20 transmits an "ACK" packet to the calling wireless terminal 10 in response to the "SYN ACK" packet (step S111). A TCP / IP session between (10, 20) is established. In this case, the TCP / IP connection process is a three-way handshaking scheme for a typical TCP / IP connection consisting of transmission of "SYN", "SYN ACK", and "ACK" packets. Used.

상기한 바와 같이 본 발명의 제 1실시예에 의하면, 착신측 무선 이동단말기(20)는 상기 인바이트 메시지 중 미디어 기술 정보의 'm' 필드에 포함된 정보에 의하여 발신측 무선 이동 단말기(10)로부터 피어투피어 방식의 TCP/IP 세션 설정이 요청되었음을 인식하고 상기 인바이트 메시지의 세션정보기술부의 'c' 필드에 기술된 발신측 무선 이동 단말기(10)의 IP주소를 이용하여 발신측 무선 이동 단말기(10)와 TCP/IP 세션 연결과정을 진행하고, 이러한 과정을 통해서 설정된 TCP/IP 세션은 사용자에게 피어투피어 방식의 채팅 서비스를 위한 기반을 제공하게 된다.As described above, according to the first embodiment of the present invention, the called party wireless mobile terminal 20 transmits the calling party wireless mobile terminal 10 based on the information included in the 'm' field of the media description information of the invite message. Recognizing that a peer-to-peer type TCP / IP session setup has been requested from the caller, and using the IP address of the calling party's wireless mobile terminal 10 described in the 'c' field of the session information technology section of the invite message, the calling party's wireless mobile The TCP / IP session connection process is performed with the terminal 10, and the TCP / IP session established through this process provides the user with a basis for a peer-to-peer chat service.

한편, 본 발명은 무선 이동 단말기가 확장 SIP를 이용하여 무선 이동 단말기간 TCP/IP 세션설정에 한정하지 않으며 인터넷 망에 접속된 고정 단말기와도 상기에서 설명한 무선 이동 단말기간 TCP/IP 설정과정과 유사한 과정을 통하여 TCP/IP 세션을 설정할 수 있다.Meanwhile, the present invention is not limited to establishing a TCP / IP session between wireless mobile terminals by using an extended SIP, and is similar to the TCP / IP setting procedure between the wireless mobile terminals described above with a fixed terminal connected to the Internet. You can set up a TCP / IP session.

이하, 무선 이동 단말기와 인터넷 망에 접속된 고정 단말기(Fixed Host) 사이에서 피어투피어 방식의 서비스를 제공하기 위해 TCP/IP 세션을 설정하는 방법을 설명한다.Hereinafter, a method of establishing a TCP / IP session to provide a peer-to-peer service between a wireless mobile terminal and a fixed host connected to an internet network will be described.

도 3은 본 발명에 따라 무선 이동 단말기와 인터넷 망의 고정 단말기간의 피어투피어 방식의 서비스를 위해 확장 SIP를 이용하여 TCP/IP 세션을 설정하기 위한 네트워크 구조도이며, 발신측 무선 이동 단말기(10)가 인터넷 망에 있는 고정 단말기(30)에게 TCP/IP 세션설정을 위한 호를 요청하는 과정을 도시한다.3 is a diagram illustrating a network structure for establishing a TCP / IP session using an extended SIP for a peer-to-peer service between a wireless mobile terminal and a fixed terminal of an internet network according to the present invention. Shows a process of requesting a call for a TCP / IP session establishment from a fixed terminal 30 in the Internet network.

발신측 무선 이동 단말기(10)는 고정단말기(30)와의 통신을 위해 PDSN과 PPP연결 설정을 맺고 PDSN으로부터 IP주소를 할당받은 후, 고정 단말기(30)를 착신 단말로 하여 인바이트 메시지를 생성하여 SIP 서버(100)로 전송한다(단계 S301). 여기서, 상기 인바이트 메시지에는 메시지 바디의 세션정보기술부의 'c'필드에 상기 발신측 무선 이동 단말기의 IP주소가 기술되고, 미디어기술부의 'm'필드에 예를 들면 표 2의 'application 49170 TCP chatting'과 같이 어플리케이션의 TCP 포트 번호와 요청 호의 미디어 이름이 기술된다.The calling party wireless mobile terminal 10 establishes a PPP connection with the PDSN for communication with the fixed terminal 30, receives an IP address from the PDSN, and generates an invite message using the fixed terminal 30 as the called terminal. The server 100 transmits to the SIP server 100 (step S301). Here, the invite message describes the IP address of the originating wireless terminal in the 'c' field of the session information description part of the message body, and the 'application 49170 TCP' of Table 2 in the 'm' field of the media description part. Like chatting, the TCP port number of the application and the media name of the request call are described.

상기 SIP 서버(100)는 상기 인바이트 메시지를 고정 단말기(30)에게로 포워딩하며(단계 S302), 상기 인바이트 메시지에 대한 응답으로 "100 Trying" 메시지를 발신측 무선 이동 단말기(10)에게 보낸다(단계 S303). 상기 "100 Trying" 메시지는 옵션으로 설정할 수 있다.The SIP server 100 forwards the invite message to the fixed terminal 30 (step S302), and sends a "100 Trying" message to the originating wireless mobile terminal 10 in response to the invite message. (Step S303). The "100 Trying" message may be set as an option.

여기에서 발신측 무선 이동 단말기(10)가 생성하는 인바이트 메시지는 상기 표 2에서 설명한 인바이트 메시지와 마찬가지의 구조를 갖는다. 다만, 인터넷 망에 접속되는 고정 단말기(30)의 식별번호는 SIP가 지원하는 SIP 유알엘(URL:Uniform Resource Locator) 또는 E.164 방식의 번호체계를 따를 수 있다.Here, the invite message generated by the originating wireless terminal 10 has the same structure as the invite message described in Table 2 above. However, the identification number of the fixed terminal 30 connected to the Internet network may follow a SIP Uniform Resource Locator (URL) or an E.164 type numbering system supported by SIP.

동 도면에서 설명하는 실시예에 있어서는 상기 도 1에서 설명한 무선 이동 단말기(10,20)간에 TCP/IP 세션설정의 경우와 동일하게 E.164방식의 번호체계를 따르는 경우에 한하여 설명한다. E.164 방식의 번호체계에 따라서 착신측 고정 단말기(30)를 호출하는 경우에는 무선 이동 단말기(10,20)간의 TCP/IP 세션설정 과정에서의 착신 무선 이동 단말기(20)의 위치 정보를 획득하는 단계가 생략될 수 있다.In the embodiment described in the drawing, only the case of following the E.164 type numbering system as in the case of TCP / IP session establishment between the wireless mobile terminals 10 and 20 described with reference to FIG. In the case where the called party's fixed terminal 30 is called according to the E.164 type numbering system, the location information of the called wireless mobile terminal 20 is acquired in the process of establishing a TCP / IP session between the wireless mobile terminals 10 and 20. The step of doing so may be omitted.

상기 인바이트(INVITE) 메시지를 수신한 착신측 고정 단말기(30)는 인바이트메시지의 세션 정보 기술부의 'c'필드에 기술된 IP주소를 가진 발신측 무선 이동 단말기(10)로부터 미디어기술부의 'm'필드에 기술된 바와 같이 피어투피어 방식의 TCP/IP 세션의 설정 요청임을 확인하고, 호 수락 여부를 결정한다. 상기 착신측 고정 단말기(30)가 발신측 무선 이동 단말기(10)의 호설정 요청을 수락하는 경우에 응답 메시지로 "200 OK" 메시지를 생성하여 SIP 서버(100)로 전송하면(단계 S304), SIP 서버(100)는 상기 "200 OK" 메시지를 발신측 무선 이동 단말기(10)로 포워딩한다(단계 S305). 여기서, 상기 '200 OK' 메시지에는 상기 착신측 고정 단말기(30)의 IP가 포함되어 있다.The called party fixed terminal 30 receiving the INVITE message receives the message from the calling party's wireless mobile terminal 10 having the IP address described in the 'c' field of the session information description part of the invite message. As described in the field m ', it confirms that the request is for establishing a peer-to-peer TCP / IP session and determines whether to accept the call. When the called party's fixed terminal 30 accepts the call setup request from the calling party's wireless mobile terminal 10, it generates a "200 OK" message as a response message and transmits it to the SIP server 100 (step S304). The SIP server 100 forwards the &quot; 200 OK &quot; message to the calling wireless mobile terminal 10 (step S305). Here, the '200 OK' message includes the IP of the called stationary terminal 30.

상기 발신측 무선 이동 단말기(10)는 "200 OK" 메시지에 대한 응답으로 "애크(ACK)" 메시지를 생성하여 SIP 서버(100)로 전송하고(단계 S306), SIP 서버(100)는 이를 착신측 고정 단말기(30)로 포워딩한다(단계 S307).The originating wireless terminal 10 generates a "ACK" message in response to the "200 OK" message and transmits it to the SIP server 100 (step S306), and the SIP server 100 receives the call. It forwards to the side fixed terminal 30 (step S307).

상기 착신측 고정 단말기(30)는 발신측 무선 이동 단말기(10)가 생성하여 SIP/PDSN 서버(100)를 통하여 전송한 인바이트 메시지에 포함된 착신측 무선 이동 단말기(10)의 IP주소를 이용하여 발신측 무선 이동 단말기(10)로 TCP/IP 연결을 위한 "SYN" 패킷을 전송함으로써 TCP/IP 연결과정을 진행한다(단계 S308). 상기 TCP/IP 연결과정에서는 상기 도 1에서 설명한 바와 같이 3-웨이 핸드세이킹 방식이 사용된다.The called party fixed terminal 30 uses the IP address of the called party wireless mobile terminal 10 included in the invite message generated by the calling party wireless mobile terminal 10 and transmitted through the SIP / PDSN server 100. Then, the TCP / IP connection process is performed by transmitting a "SYN" packet for the TCP / IP connection to the calling party's wireless mobile terminal 10 (step S308). In the TCP / IP connection process, a three-way handshaking method is used as described with reference to FIG. 1.

도 4는 본 발명에 따라 인터넷 망의 고정 단말기와 무선 이동 단말기간 피어투피어 방식의 서비스를 위해 확장 SIP를 이용하여 TCP/IP 세션을 설정하기 위한네트워크 구조도이며, 고정 단말기(30)가 무선 이동통신망에 있는 착신측 무선 이동 단말기(10)에게 TCP/IP 세션설정을 위한 호를 요청하는 과정을 도시한다.4 is a diagram illustrating a network structure for establishing a TCP / IP session using an extended SIP for a peer-to-peer service between a fixed terminal and a wireless mobile terminal in the Internet network according to the present invention. A process of requesting a call for establishing a TCP / IP session from a called-party wireless mobile terminal 10 in a communication network is shown.

발신측 고정 단말기(30)가 무선 이동 단말기(10)를 착신 단말로 하여 인바이트 메시지를 생성하고 SIP 서버(100)로 전송한다(단계 S401). 상기 SIP 서버(100)는 상기 인바이트 메시지에 대한 응답으로 "100 Trying" 메시지를 발신측 고정 단말기(30)에게 보내고(단계 S402), 위치등록 서버(200)로 착신측 무선 이동 단말기(10)의 위치 정보를 요청하여 착신측 무선 이동 단말기(10)의 위치를 파악한 다음(단계 S403), 상기 착신측 무선 이동 단말기(10)에게로 데이터 버스트(Data Burst) 메시지 형태로 인바이트(INVITE) 메시지를 포워딩한다(단계 S404). 상기 "100 Trying" 메시지는 옵션으로 설정할 수 있다.The calling station fixed terminal 30 generates the invite message using the wireless mobile terminal 10 as the called terminal and transmits it to the SIP server 100 (step S401). The SIP server 100 sends a "100 Trying" message to the calling party fixed terminal 30 in response to the invite message (step S402), and the called party wireless mobile terminal 10 to the location registration server 200. The location information of the called wireless mobile terminal 10 is determined by requesting the location information of the called party (step S403), and then an INVITE message is sent to the called wireless mobile terminal 10 in the form of a data burst message. Is forwarded (step S404). The "100 Trying" message may be set as an option.

여기에서 발신측 고정 단말기(30)가 생성하는 인바이트 메시지는 상기 표 2에서 설명한 인바이트 메시지와 마찬가지의 구조를 가지며, 메시지 바디의 세션정보기술부의 'c'필드에 상기 발신측 고정 단말기(30)의 IP주소가 기술되고, 미디어기술부의 'm'필드에 예를 들면 표 2의 'application 49170 TCP chatting'과 같이 어플리케이션의 TCP 포트 번호와 요청 호의 미디어 이름이 기술된다. 그리고 인터넷 망에 접속되는 고정 단말기(30)의 식별번호는 SIP가 지원하는 SIP 유알엘(URL) 또는 E.164방식의 번호 체계를 따를 수 있으며, 동 도면에서 설명하는 실시예에 있어서는 상기 도 1에서 설명한 무선 이동 단말기(10,20)간 TCP/IP 세션설정의 경우와 동일하게 E.164 번호체계를 따르는 경우에 한하여 설명한다.The invite message generated by the calling party fixed terminal 30 has the same structure as the invite message described in Table 2 above, and the calling party fixed terminal 30 is displayed in the 'c' field of the session information description unit of the message body. IP address is described, and the TCP port number of the application and the media name of the request call are described in the 'm' field of the media description unit, for example, 'application 49170 TCP chatting' in Table 2. In addition, the identification number of the fixed terminal 30 connected to the Internet network may be based on a SIP URL or E.164 type numbering system supported by SIP. In the embodiment described with reference to FIG. The following description will be made only in the case of following the E.164 numbering system in the same manner as the TCP / IP session establishment between the wireless mobile terminals 10 and 20 described above.

상기 인바이트(INVITE) 메시지를 수신한 착신측 무선 이동 단말기(10)는 인바이트 메시지의 세션 정보 기술부의 'c'필드에 기술된 IP주소를 가진 발신측 고정 단말기(30)로부터 미디어기술부의 'm'필드에 기술된 바와 같이 피어투피어 방식의 TCP/IP 세션의 설정 요청임을 확인하고, 호 수락 여부를 결정한다. 상기 착신측 무선 이동 단말기(10)는 발신측 고정 단말기(30)의 호 설정 요청을 수락하는 경우에 PDSN과 PPP 연결 설정을 한 다음에 PDSN으로부터 IP주소를 할당받고, 인바이트 메시지에 대한 응답으로 "200 OK" 메시지를 생성하여 SIP 서버(100)로 전송하면(단계 S405), SIP 서버(100)는 상기 "200 OK" 메시지를 발신측 고정 단말기(30)로 포워딩한다(단계 S406). 여기서, 상기 '200 OK'메시지에는 상기 착신측 무선 이동단말기의 IP주소가 포함되어 있다.The recipient wireless terminal 10 receiving the INVITE message receives a message from the media description unit from the calling station fixed terminal 30 having the IP address described in the field 'c' of the session information description portion of the invite message. As described in the field m ', it confirms that the request is for establishing a peer-to-peer TCP / IP session and determines whether to accept the call. When the called party's wireless mobile terminal 10 accepts a call setup request from the calling station's fixed terminal 30, it establishes a PPP connection with the PDSN, receives an IP address from the PDSN, and responds to an invite message. When a "200 OK" message is generated and transmitted to the SIP server 100 (step S405), the SIP server 100 forwards the "200 OK" message to the calling party's fixed terminal 30 (step S406). In this case, the '200 OK' message includes the IP address of the called wireless terminal.

상기 발신측 고정 단말기(30)는 "200 OK" 메시지에 대한 응답으로 "애크(ACK)" 메시지를 생성하여 SIP 서버(100)로 전송하고(단계 S407), SIP 서버(100)는 이를 착신측 무선 이동 단말기(10)로 포워딩한다(단계 S408).The calling station fixed terminal 30 generates an "ACK" message in response to the "200 OK" message and transmits it to the SIP server 100 (step S407), and the SIP server 100 receives the called party. Forward to the wireless mobile terminal 10 (step S408).

상기 착신측 무선 이동 단말기(10)는 발신측 고정 단말기(30)가 생성하여 SIP 서버(100)를 통하여 전송한 인바이트 메시지에 포함된 고정단말기(30)의 IP 주소를 이용하여, 발신측 고정 단말기(30)로 TCP/IP 연결을 위한 "씬(SYN)" 패킷을 전송함으로써, TCP/IP 연결과정을 진행한다(단계 S409). 상기 TCP/IP 연결과정에서는 상기 도 1에서 설명한 바와 같이 3웨이 핸드세이킹 방식이 사용된다.The called party wireless mobile terminal 10 uses the IP address of the fixed terminal 30 included in the invite message generated by the calling station fixed terminal 30 and transmitted through the SIP server 100 to fix the calling party. By sending a "SYN" packet for the TCP / IP connection to the terminal 30, the TCP / IP connection process is performed (step S409). In the TCP / IP connection process, a three-way handshaking method is used as described with reference to FIG. 1.

도 5는 본 발명에 따라 확장 SIP를 이용하여 무선 이동 단말기간 아웃 다이얼링 기능을 통하여 TCP/IP 세션을 설정하기 위한 네트워크 구조도이다. 동 도면을참조하면, 무선 이동 단말기(10,20)간 아웃 다이얼링 기능을 통하여 TCP/IP 세션을 설정하기 위한 네트워크는 상기 도 1에서 설명한 네트워크 구조에 네트워크 서버(300)가 더 포함된 구조를 가진다.FIG. 5 is a diagram illustrating a network structure for establishing a TCP / IP session through an out dialing function between wireless mobile terminals using an extended SIP according to the present invention. Referring to the figure, the network for establishing a TCP / IP session through the out-dialing function between the wireless mobile terminals 10 and 20 has a structure in which the network server 300 is further included in the network structure described with reference to FIG. .

상기 네트워크 서버(300)는 자신과 접속(로그-온:Log-On)된 발신측 무선 이동 단말기(10)가 자신과 접속되지 않은(로그-오프:Log-Off) 착신측 무선 이동 단말기(20)와 TCP/IP 세션설정을 위한 통신을 원할 때 아웃 다이얼링(Out-Dialing)기능을 통해서 착신측 무선 이동 단말기(20)에게 접속 여부를 확인하는 서버이다. 네트워크 서버(300)는 무선 이동 단말기(10,20)와 접속하여 온라인 게임 또는 채팅 서비스를 제공하는 서버인 것이 바람직하지만 이에 한정되는 것은 아니다.The network server 300 is a calling party wireless mobile terminal 20 to which the calling party's wireless mobile terminal 10 connected (log-on) is not connected (log-off). And a server for checking the connection to the called party's wireless mobile terminal 20 through an out-dialing function when communication for establishing a TCP / IP session is desired. The network server 300 is preferably a server that connects to the wireless mobile terminals 10 and 20 to provide an online game or chat service, but is not limited thereto.

여기에서 아웃 다이얼링 기능이란 발신측 무선 이동 단말기(10)의 호 설정 요청에 따라서 발신측 무선 이동 단말기(10)를 대신하여, 확장 SIP를 이용하여 착신측 무선 이동 단말기(20)와 호 설정과정을 수행하는 것을 의미한다. 기타 SIP서버/PDSN(100)과 위치등록서버(200) 및 복수개의 무선 이동 단말기(10,20)는 상기 도 1에서 설명한 것과 유사한 기능을 수행한다.In this case, the out-dialing function refers to a call setup process with the called-party wireless mobile terminal 20 by using an extension SIP instead of the calling-party wireless mobile terminal 10 in response to a call setup request from the calling-party wireless mobile terminal 10. Means to do. The other SIP server / PDSN 100, the location registration server 200, and the plurality of wireless mobile terminals 10, 20 perform functions similar to those described in FIG.

상기 아웃 다이얼링 기능을 통하여 TCP/IP 세션을 설정하기 위한 과정을 기술하면, 먼저 발신측 무선 이동 단말기(10)는 상기 네트워크 서버(300)와 TCP/IP 세션을 설정하고, 설정된 TCP/IP 세션을 기반으로 착신측 무선 이동 단말기(20)에 대한 접속 요청 메시지를 SIP 서버(100)로 전송하면(단계 S501), SIP 서버(100)는 이를 상기 네트워크 서버(300)로 포워딩한다(단계 S502). 상기 접속 요청 메시지에는 착신측 무선 이동 단말기(20)의 전화번호가 포함되는 것이 바람직하다. 이에 네트워크 서버(300)는 착신측 무선 이동 단말기(20)에게 연결 요청을 시도하는 인바이트(INVITE) 메시지를 생성하여 SIP 서버(100)로 전송한다(단계 S503). 여기서, 인바이트 메시지는 상기 표 2에서 설명한 인바이트 메시지와 마찬가지의 구조를 가지며, 메시지 바디의 세션정보기술부의 'c'필드에 상기 네트워크 서버(300)의 IP주소가 기술되고, 미디어기술부의 'm'필드에 예를 들면 표 2의 'application 49170 TCP chatting'과 같이 어플리케이션의 TCP 포트 번호와 요청 호의 미디어 이름이 기술된다.When describing a process for establishing a TCP / IP session through the out-dialing function, first, the originating wireless mobile terminal 10 establishes a TCP / IP session with the network server 300, and establishes a set TCP / IP session. When the connection request message for the called party wireless mobile terminal 20 is transmitted to the SIP server 100 (step S501), the SIP server 100 forwards it to the network server 300 (step S502). Preferably, the access request message includes the telephone number of the called party's wireless mobile terminal 20. Accordingly, the network server 300 generates an INVITE message that attempts a connection request to the called-party wireless mobile terminal 20 and transmits it to the SIP server 100 (step S503). Here, the invite message has a structure similar to that of the invite message described in Table 2, wherein the IP address of the network server 300 is described in the 'c' field of the session information description part of the message body, and the ' m 'field describes the TCP port number of the application and the media name of the request call, for example' application 49170 TCP chatting 'in Table 2.

상기 인바이트 메시지를 수신한 SIP 서버(100)는 네트워크 서버(300)에게 "100 Trying"메시지를 보내고(단계 S504), 착신측 무선 이동 단말기(20)의 위치를 파악하기 위해 위치등록서버(200)와 접속을 하여 착신측 무선 이동 단말기(20)의 위치를 파악한 후에(단계 S505) 상기 인바이트(INVITE) 메시지를 데이터 버스트(Data Burst) 메시지 형태로 착신측 무선 이동 단말기(20)에게 포워딩한다(단계 S506). 상기 "100 Trying" 메시지는 옵션으로 설정할 수 있다.The SIP server 100 receiving the invite message sends a "100 Trying" message to the network server 300 (step S504), and the location registration server 200 to determine the location of the called-party wireless mobile terminal 20. ) And determine the location of the called-side wireless mobile terminal 20 (step S505) and forward the INVITE message to the called-side wireless mobile terminal 20 in the form of a data burst message. (Step S506). The "100 Trying" message may be set as an option.

상기 착신측 무선 이동 단말기(20)가 상기 인바이트 메시지의 세션정보기술부의 'c'필드와 미디어 기술부의 'm'필드를 해독하여 상기 'c'필드에 기술된 IP 주소를 가진 네트워크 서버(300)로부터 피어투피어 방식의 TCP/IP 세션의 설정요청이 있음을 확인하고 상기 네트워크 서버(300)와의 접속을 수락하는 경우에는, 상기 착신측 무선 이동 단말기(20)는 PDSN과 PPP 연결을 맺은 후에 PDSN으로부터 IP주소를 할당받고 상기 인바이트 메시지에 대한 응답으로 "200 OK" 메시지를 생성하여 SIP 서버(100)로 전송하며(단계 S507), SIP 서버(100)는 이를 네트워크 서버(300)로 포워딩한다(단계 S508). 여기서, 상기 "200 OK" 메시지에는 상기 착신측 무선 이동 단말기(20)의 IP 주소가 포함되어 있다.The called party wireless mobile terminal 20 decodes the 'c' field of the session information description unit and the 'm' field of the media description unit of the invite message, and has a network server 300 having the IP address described in the 'c' field. In the case of confirming that there is a request for establishing a peer-to-peer type TCP / IP session and accepting the connection with the network server 300, the called-party wireless mobile terminal 20 establishes a PPP connection with the PDSN. An IP address is allocated from the PDSN and a "200 OK" message is generated in response to the invite message and transmitted to the SIP server 100 (step S507), and the SIP server 100 forwards it to the network server 300. (Step S508). Here, the "200 OK" message includes the IP address of the called party's wireless mobile terminal 20.

상기 네트워크 서버(300)는 상기 "200 OK" 메시지에 대한 응답으로 "애크(ACK)" 메시지를 생성하여 SIP 서버(100)로 전송하고(단계 S509), SIP 서버(100)는 이를 착신측 무선 이동 단말기(20)로 포워딩한다(단계 S510).The network server 300 generates a "ACK" message in response to the "200 OK" message and transmits it to the SIP server 100 (step S509), and the SIP server 100 transmits the message to the called party wirelessly. Forward to mobile terminal 20 (step S510).

상기 "애크(ACK)" 메시지를 수신한 착신측 무선 이동 단말기(20)는 상기 네트워크 서버(300)가 전송한 인바이트 메시지에 포함된 상기 네트워크 서버(300)의 IP 주소를 이용하여 네트워크 서버(300)로 TCP/IP 연결을 위한 "씬(SYN)" 패킷을 전송하여 TCP/IP 연결과정을 진행한다(단계 S511).The called-party wireless mobile terminal 20 that receives the "ACK" message uses a network server (IP) using the IP address of the network server 300 included in the invite message sent by the network server 300. 300, a "thin" packet for a TCP / IP connection is transmitted to proceed with the TCP / IP connection (step S511).

여기서, 상기 네트워크 서버(300)가 착신측 무선 이동 단말기(20)에게 전송하는 인바이트 메시지는 상기 표 2에서 설명한 인바이트 메시지 구조와 유사하다. 상기 인바이트 메시지 중 미디어 기술부의 'm'필드에는 네트워크 서버(300)의 TCP 포트 번호가 부가되는 것이 바람직하다. 상기 TCP/IP 연결과정에서는 상기 도 1에서 설명한 바와 같이 3-웨이 핸드세이킹 방식이 사용된다.Here, the invite message transmitted by the network server 300 to the called-party wireless mobile terminal 20 is similar to the invite message structure described in Table 2 above. The TCP port number of the network server 300 is preferably added to the 'm' field of the invite message. In the TCP / IP connection process, a three-way handshaking method is used as described with reference to FIG. 1.

따라서, 착신측 무선 이동 단말기(20)와 네트워크 서버(300)간에 상기에서 설명한 과정을 통하여 TCP/IP 세션이 설정된 경우, 발신측 무선 이동 단말기(10)는 네트워크 서버(300)를 통하여 착신측 무선 이동 단말기(20)와 TCP/IP 세션을 기반으로 온라인 채팅, 온라인 게임의 서비스를 제공받을 수 있게 된다. 다시 설명하면, 발신측 무선 이동 단말기(10)는 착신측 무선 이동 단말기(20)가 네트워크 서버(300)와 접속되지 않은 경우에도 네트워크 서버(300)의 아웃 다이얼링 기능을통하여 통신을 할 수 있게 된다.Therefore, when the TCP / IP session is established between the called party wireless mobile terminal 20 and the network server 300 through the above-described process, the calling party wireless terminal 10 transmits the called party wireless through the network server 300. Based on the TCP / IP session with the mobile terminal 20, it is possible to receive services of online chat and online games. In other words, even if the called-party wireless mobile terminal 20 is not connected to the network server 300, the calling-side wireless mobile terminal 10 can communicate through the out dialing function of the network server 300. .

한편, 착신측 무선 이동 단말기(20)는 발신측 무선 이동 단말기(10)와 직접 피어투피어 방식으로 TCP/IP 세션을 설정할 수도 있다. 이를 아래에서 설명한다.Meanwhile, the called party's wireless mobile terminal 20 may establish a TCP / IP session with the calling party's wireless mobile terminal 10 in a direct peer-to-peer manner. This is described below.

도 6은 본 발명에 따라 무선 이동 단말기간 피어투피어 방식의 서비스를 위해 확장 SIP를 이용하여 아웃 다이얼링 기능을 통해 TCP/IP 세션을 설정하기 위한 네트워크 구조도이다.FIG. 6 is a diagram illustrating a network structure for establishing a TCP / IP session through an out-dialing function using an extended SIP for a peer-to-peer service between wireless mobile terminals according to the present invention.

동 도면을 참조하면, 착신측 무선 이동 단말기(20)가 발신측 무선 이동 단말기(10)와 직접 피어투피어방식으로 TCP/IP 세션을 설정하는 단계 S601 내지 S610은 상기 도 5에서 설명한 단계 S501 내지 S510과 동일하다.Referring to the figure, steps S601 to S610 in which the called-party wireless mobile terminal 20 establishes a TCP / IP session with the originating-side wireless mobile terminal 10 in a direct peer-to-peer manner are described in steps S501 to S610 described with reference to FIG. Same as S510.

상기 과정을 통하여 발신측 무선 이동 단말기(10)와 네트워크 서버(300)간 및 네트워크 서버(300)와 착신측 무선 이동 단말기(20)간에 TCP/IP 세션이 설정된다. 따라서, 발신측 무선 이동 단말기(10)는 네트워크 서버(300)를 경유하여 착신측 무선 이동 단말기(20)와 TCP/IP 세션을 기반으로 통신할 수 있다.Through the above process, a TCP / IP session is established between the calling party wireless mobile terminal 10 and the network server 300 and between the network server 300 and the called party wireless mobile terminal 20. Therefore, the calling party wireless mobile terminal 10 may communicate with the called party wireless mobile terminal 20 based on the TCP / IP session via the network server 300.

이때, 발신측 무선 이동 단말기(10)의 사용자가 착신측 무선 이동 단말기(20)의 사용자와 피어투피어 방식으로 통신하고자 하는 경우 무선 이동 단말기(10)에서 구동되고 있는 응용 어플리케이션을 통하여 네트워크 서버(300)로 피어투피어 방식의 통신을 요청한다. 이는, 유선 인터넷상에서 채팅서버를 통하여 채팅 서비스를 제공받는 도중, 사용자의 필요에 의하여 1대1 채팅방식으로 변환하는 과정과 유사하다.In this case, when the user of the calling party wireless mobile terminal 10 wants to communicate with the user of the called party wireless mobile terminal 20 in a peer-to-peer manner, a network server (eg, an application running on the wireless mobile terminal 10) may be used. Request a peer-to-peer communication. This is similar to the process of converting to a one-to-one chat method according to a user's needs while receiving a chat service through a chat server on a wired Internet.

상기 네트워크 서버(300)는 발신측 무선 단말기(10)로 착신측 무선 이동 단말기(20)와 TCP/IP 세션설정과정에서 획득된 착신측 무선 이동 단말기(20)의 IP 주소와 포트번호를 발신측 무선 이동 단말기(10)로 전송한다. 네트워크 서버(300)와 발신측 무선 이동 단말기(10)간에 설정된 TCP/IP 세션을 통하여 전송된 착신측 무선 이동 단말기(20)의 IP 주소 및 포트번호는 발신측 무선 이동 단말기(10)에서 구동되고 있는 응용 어플리케이션이 처리하는 것이 바람직하다.The network server 300 transmits an IP address and a port number of the called party wireless mobile terminal 20 obtained in the process of establishing a TCP / IP session with the called party wireless mobile terminal 10 to the calling wireless terminal 10. Transmit to the wireless mobile terminal (10). The IP address and port number of the called party's wireless mobile terminal 20 transmitted through the TCP / IP session established between the network server 300 and the calling party's wireless mobile terminal 10 are driven by the calling party's wireless mobile terminal 10. It is desirable for the application to be handled.

발신측 무선 이동 단말기(10)는 착신측 무선 이동 단말기(20)의 IP 주소 및 포드번호로 TCP/IP의 "씬(SYN)" 패킷을 전송함으로써 착신 무선 이동단말기(20)와 TCP/IP 세션 연결절차를 진행한다. TCP/IP 세션 연결절차는 상기에서 설명한 3-웨이 핸드세이킹 방식을 사용한다.The originating wireless mobile terminal 10 transmits a "SYN" packet of TCP / IP to the IP address and pod number of the terminating wireless mobile terminal 20 to establish a TCP / IP session with the terminating wireless mobile terminal 20. Proceed with the connection procedure. The TCP / IP session connection procedure uses the three-way handshaking method described above.

상기 절차에 따라서 발/착신측 무선 이동단말기(10,20)간에 TCP/IP 세션이 설정되면, 착신측 무선 이동 단말기(20)는 네트워크 서버(300)와 연결된 TCP/IP 세션을 해제하는 것이 바람직하다.When a TCP / IP session is established between the calling / called party wireless mobile terminals 10 and 20 according to the above procedure, the called party wireless mobile terminal 20 preferably releases the TCP / IP session connected to the network server 300. Do.

따라서, 발신측 무선 이동 단말기(10)는 네트워크 서버(300)가 제공하는 아웃 다이얼링 기능을 이용하여 네트워크 서버(300)에 접속되어 있지 않는 착신측 무선 이동 단말기(20)와 직접 TCP/IP 세션 연결을 설정할 수 있게 되며, 무선 이동 단말기(10,20)간 TCP/IP 세션이 설정된 경우에는 피어투피어 방식의 TCP/IP 세션을 기반으로 채팅 또는 게임을 즐길 수 있게된다.Therefore, the calling party's wireless mobile terminal 10 directly connects to the called party's wireless mobile terminal 20 which is not connected to the network server 300 by using the out dialing function provided by the network server 300. When a TCP / IP session is established between the wireless mobile terminals 10 and 20, the user can enjoy a chat or a game based on a peer-to-peer TCP / IP session.

상기에서 설명한 확장 SIP를 통한 TCP/IP 세션 설정 방법에서는 SIP 메시지를 3-웨이 핸드세이킹(3-Way Handshaking) 방식으로 처리하고, 또한 3-웨이 핸드세이킹(3-Way Handshaking) 방식으로 TCP/IP연결을 시도하여 TCP/IP 세션을 설정한다. 여기에서 SIP 메시지의 "3-웨이 핸드세이킹"이란 TCP/IP 세션설정 정보를 전송하기 위하여 '인바이트(INVITE)'메시지, '200 OK'메시지, '애크(ACK)'메시지의 순서로 SIP 메시지의 전송이 이루어짐을 의미한다. 또한, 단말기간의 TCP/IP 연결을 위한 "3-웨이 핸드세이킹"이란 '씬(SYN)'패킷, '씬애크(SYN ACK)'패킷, '애크(ACK)패킷의 순서로 패킷의 전송이 이루어지는 것을 의미한다. 하지만 무선 자원이 한정되어 있는 것을 감안하면, 이러한 SIP 메시지의 3-웨이 핸드세이킹 처리나 TCP/IP 연결을 위한 3-웨이 핸드세이킹은 과부하의 원인이 될 수 있다.In the method for establishing a TCP / IP session through the extended SIP described above, the SIP message is processed in a 3-way handshaking method, and in addition, the TCP is configured in a 3-way handshaking method. Try a / IP connection to establish a TCP / IP session. Here, "3-way handshaking" of SIP message means 'INVITE' message, '200 OK' message, 'ACK' message in order to transmit TCP / IP session setup information. This means that the message is sent. In addition, "3-way handshaking" for TCP / IP connection between terminals means that the packet transmission in the order of 'SYN' packet, 'SYN ACK' packet, and 'ACK packet'. It means to be done. However, given that radio resources are limited, the three-way handshaking process of SIP messages or three-way handshaking for TCP / IP connection may cause overload.

따라서 본 발명의 또 다른 실시예로서 확장 SIP를 이용해서 SIP 메시지를 1-웨이 방식으로 핸드세이킹하고 TCP/IP 연결과정에서 3-웨이 핸드세이킹을 수행하여 TCP/IP 세션을 설정하는 방법과, SIP 메시지를 2-웨이 방식으로 핸드세이킹하고 TCP/IP 연결과정에서 1-웨이 방식으로 핸드세이킹하여 TCP/IP세션을 설정하는 방법을 제시한다. 여기에서 SIP 메시지의 1-웨이 방식과 SIP 메시지의 2-웨이 방식은 SIP 메시지에 TCP/IP 세션설정 정보를 같이 실어 보내어 SIP 메시지에 대하여 상기의 3-웨이 핸드세이킹 방식을 사용하지 않고 단말기간에 TCP/IP 세션이 설정되는 방법을 의미한다.Accordingly, as another embodiment of the present invention, a method of establishing a TCP / IP session by performing a one-way handshaking of a SIP message using an extended SIP and performing a three-way handshaking in a TCP / IP connection process; In this paper, we propose a method of establishing a TCP / IP session by handshaking a SIP message in a two-way manner and in a TCP / IP connection in a one-way manner. Here, the 1-way method of the SIP message and the 2-way method of the SIP message send TCP / IP session setup information to the SIP message together and do not use the 3-way handshaking method for the SIP message. This is how TCP / IP sessions are established.

도 7은 본 발명에 따라 무선 이동 단말기간 피어투피어 방식의 서비스를 위해 확장 SIP를 이용하여 SIP 메시지에 대하여 1-웨이 방식으로 핸드세이킹하고 TCP/IP 연결 과정에서 3-웨이 핸드세이킹을 수행하여 TCP/IP 세션을 설정하기 위한네트워크 구조도이다.7 is a one-way handshaking for SIP messages using extended SIP for peer-to-peer service between wireless mobile terminals and three-way handshaking in a TCP / IP connection process according to the present invention. This is a network structure diagram for establishing a TCP / IP session.

동 도면을 참조하면, 우선 발신측 무선 이동 단말기(10)는 통신을 위하여 PDSN과 PPP 연결을 맺고 PDSN으로부터 IP 주소를 할당받은 후, 착신측 무선 이동 단말기(20)를 목적지로 하는 인바이트(INVITE) 메시지를 생성하여 SIP 서버(100)로 상기 인바이트 메시지를 전송한다(단계 S701).Referring to the figure, first, the calling-side wireless mobile terminal 10 establishes a PPP connection with the PDSN for communication, receives an IP address from the PDSN, and then receives the destination wireless mobile terminal 20 as an destination. ) Generates a message and transmits the invite message to the SIP server 100 (step S701).

상기 SIP 서버(100)는 인바이트 메시지에 대한 응답으로 "100 Trying"메시지를 발신측 무선 이동 단말기(10)에게 보내고(단계 S703), 착신측 무선 이동 단말기(20)의 위치를 위치등록서버(200)를 통해 확인한 다음(단계 S702), 데이터 버스트(Data Burst)메시지 형태로 인바이트(INVITE)메시지를 착신측 무선 이동 단말기(20)에게 포워딩한다(단계 S704). 상기 "100 Trying" 메시지는 옵션으로 설정 할 수 있다.The SIP server 100 sends a "100 Trying" message to the calling party's wireless mobile terminal 10 in response to the invite message (step S703), and transmits the location of the called party's wireless mobile terminal 20 to the location registration server. 200, and then, the INVITE message is forwarded to the destination wireless mobile terminal 20 in the form of a data burst message (step S704). The "100 Trying" message may be set as an option.

여기에서 상기 인바이트 메시지는 상기 표 2와 동일한 구조를 가지되, 착신측 무선 이동 단말기(20)가 직접 발신측 무선 이동 단말기(10)와 TCP/IP 세션을 설정할 수 있는 정보를 더 포함하는 것이 바람직하다. 본 실시예에 따라 상기 표2에 나타난 인바이트 메시지에 부가되는 TCP/IP 세션 설정정보는 아래 표3과 같이 구성될 수 있다.Here, the invite message has the same structure as in Table 2, but further includes information for the called party's wireless mobile terminal 20 to establish a TCP / IP session with the calling party's wireless mobile terminal 10 directly. desirable. According to the present embodiment, the TCP / IP session establishment information added to the invite message shown in Table 2 may be configured as shown in Table 3 below.

구분division 필드field 내용Contents 메시지 바디Message body 미디어기술부Media Technology Department mm application 49170 TCP chattingapplication 49170 TCP chatting aa tcpinfo: initialize-sequence 123tcpinfo: initialize-sequence 123 aa tcpinfo: urgent-point 0tcpinfo: urgent-point 0 aa tcpinfo: window-size 16tcpinfo: window-size 16

상기 필드'm'의 정보는 상기 표2에서 설명한 것과 같이 발신측 무선 이동 단말기(10)에서 구동되는 어플리케이션의 TCP 포트 번호와 발신측 무선 이동 단말기(10)가 착신측 무선 이동 단말기(20)에게 요구한 호의 미디어 이름(Media name)을 나타낸다.The information in the field 'm' is transmitted to the destination wireless mobile terminal 20 by the TCP port number of the application running in the source wireless mobile terminal 10 and the source wireless mobile terminal 10 as described in Table 2 above. Indicates the media name of the requested call.

상기 필드 'a'는 영(Zero) 또는 하나 이상의 미디어 특성을 기술하는 필드로서, 상기 표3에서는 TCP/IP 세션설정을 위한 정보로 3가지의 미디어 특성(Media Attribute) 즉, 이니셜라이즈 시퀀스(initialize-sequence), 어젼트 포인트(urgent-point) 및 윈도우 사이즈(window-size)를 기술한다.The field 'a' is a field describing zero or one or more media characteristics. In Table 3, information for establishing a TCP / IP session is set as three media attributes, that is, an initialization sequence. -sequence, urgent-point and window-size are described.

상기 표 3에 나타낸 부가 정보는 무선 이동 단말기(10,20)간 직접 TCP/IP 세션을 설정하기 위한 부가정보를 예시한 것으로 상기 예시의 경우에 한정되지 아니하며, TCP/IP 세션을 설정하기 위하여 다양하게 제공될 수 있음은 당업자에게 있어서 자명하다.The additional information shown in Table 3 exemplifies additional information for establishing a direct TCP / IP session between the wireless mobile terminals 10 and 20, and is not limited to the above example, but is various for establishing a TCP / IP session. It will be apparent to those skilled in the art that the present invention can be provided.

이때, 착신측 무선 이동 단말기(20)가 상기 인바이트 메시지의 세션정보기술부의 'c'필드와 미디어 기술부의 'm'필드를 해독하여 상기 'c'필드에 기술된 IP 주소를 가진 발신측 무선 이동 단말기(10)로부터 피어투피어 방식의 TCP/IP 세션의 설정요청이 있음을 확인하고 상기 발신측 무선 이동 단말기(10)와의 접속을 수락하는 경우에는, 상기 착신측 무선 이동 단말기(20)는 PDSN과 PPP 설정을 맺고, PDSN으로부터 IP주소를 할당받은 후에, 발신측 무선 이동 단말기(10)로 TCP/IP연결을 위한 "씬(SYN)" 패킷을 전송함으로써 TCP/IP 세션연결(Connection)과정을 진행한다(단계 S707). 상기 TCP/IP 연결과정(단계 S708)에서는 상기 도 1에서 설명한 바와 같이 3-웨이 핸드세이킹 방식이 사용된다.At this time, the called party wireless mobile terminal 20 decodes the 'c' field of the session information description unit and the 'm' field of the media description unit of the invite message and has an IP address described in the 'c' field. When the mobile terminal 10 confirms that there is a request for establishing a peer-to-peer type TCP / IP session and accepts the connection with the calling-party wireless mobile terminal 10, the called-party wireless mobile terminal 20 After establishing a PPP configuration with the PDSN and receiving an IP address from the PDSN, a TCP / IP session connection process is performed by transmitting a "SYN" packet for a TCP / IP connection to the calling wireless mobile terminal 10. Proceed to step S707. In the TCP / IP connection process (step S708), a three-way handshaking method is used as described with reference to FIG.

따라서, 착신측 무선 이동 단말기(20)는 발신측 무선 이동 단말기(10)가 생성한 상기 인바이트 메시지에 대하여 호를 수락하는 경우, 한번의 SIP 메시지(인바이트 메시지)의 전송(1-way handshaking)에 의하여 TCP/IP 연결과정이 진행되며, 이로써 확장 SIP를 이용하여 기존의 TCP/IP 연결방식의 변경없이 SIP메시지의 전송만을 1-웨이 방식으로 변경하여 무선 이동 단말기(10,20)간의 TCP/IP 세션설정이 가능해지므로 전송되는 SIP 메시지를 줄임으로써 네트워크상에서 발생하는 부하를 감소시킬 수 있게 된다.Therefore, when the called party's wireless mobile terminal 20 accepts a call for the invite message generated by the calling party's wireless mobile terminal 10, it transmits one SIP message (1-byte handshaking). TCP / IP connection process is carried out by this method, and thus, the TCP between the wireless mobile terminals 10 and 20 is changed by changing only the transmission of the SIP message to the 1-way method without changing the existing TCP / IP connection method using the extended SIP. The / IP session can be configured to reduce the load on the network by reducing the number of SIP messages sent.

만일 착신측 무선 이동 단말기(20)가 호 수락을 하지 못 했을 경우에는 "리젝트(Reject)" 메시지 생성하여 SIP 서버(100)로 전송하고(단계 S705), SIP 서버(100)는 이를 발신측 무선 이동 단말기(10)로 포워딩한다(단계 706).If the called party's wireless mobile terminal 20 fails to accept the call, it generates a "Reject" message and transmits it to the SIP server 100 (step S705), and the SIP server 100 sends it to the calling party. Forward to wireless mobile terminal 10 (step 706).

설정된 TCP/IP 세션을 기반으로 동작하는 무선 이동 단말기(10,20)의 어플리케인션은 상기에서 설명한 바와 같이 음성뿐만 아니라 게임, 채팅 등 멀티미디어 데이터를 전송하고 처리하는 프로그램일 수 있다.As described above, the application of the wireless mobile terminal 10 or 20 operating based on the established TCP / IP session may be a program for transmitting and processing not only voice but also multimedia data such as a game and a chat.

도 8은 본 발명에 따라 무선 이동 단말기간 피어투피어 방식의 서비스를 위해 확장 SIP를 이용하여 투웨이(2-Way)방식으로 TCP/IP 세션을 설정하기 위한 네트워크 구조도이다. 동 도면을 참조하면, 발신측 무선 이동 단말기(10)는 통신을 위하여 PDSN과 연결을 맺고 PDSN으로부터 IP주소를 할당받은 후, 착신측 무선 이동 단말기(20)를 목적지로 하는 인바이트 메시지를 생성하여 SIP 서버(100)로 상기 인바이트 메시지를 전송한다(단계 S801).8 is a diagram illustrating a network structure for establishing a TCP / IP session in a 2-way manner using an extended SIP for a peer-to-peer service between wireless mobile terminals according to the present invention. Referring to the figure, the calling party mobile terminal 10 establishes a connection with the PDSN for communication and receives an IP address from the PDSN, and generates an invite message destined for the called party wireless mobile terminal 20. The invite message is transmitted to the SIP server 100 (step S801).

상기 SIP 서버(100)는 착신측 무선 이동 단말기(20)의 위치를 위치등록서버(200)를 통해 확인하고(단계 S802), 인바이트 메시지에 대한 응답으로 "100 Trying"메시지 생성하여 이를 발신측 무선 이동 단말기(10)에게 전송한다(단계 S803). 그리고 SIP 서버(100)는 착신측 무선 이동 단말기(20)의 위치정보를 활용하여 데이터 버스트(Data Burst) 메시지형태로 인바이트(INVITE) 메시지를 착신측 무선 이동 단말기(20)에게 포워딩한다(단계 S804). 상기 "100 Trying" 메시지는 옵션으로 설정할 수 있다. 여기에서, 상기 인바이트 메시지는 상기 도 7과 관련하여 설명한 바와 같이 구성될 수 있다.The SIP server 100 checks the location of the called party's wireless mobile terminal 20 through the location registration server 200 (step S802), and generates a "100 Trying" message in response to the invite message and sends it to the calling party. It transmits to the wireless mobile terminal 10 (step S803). The SIP server 100 forwards the INVITE message to the destination wireless mobile terminal 20 in the form of a data burst message by using the location information of the destination wireless mobile terminal 20 (step). S804). The "100 Trying" message may be set as an option. Here, the invite message may be configured as described with reference to FIG. 7.

이때, 착신측 무선 이동 단말기(20)가 상기 인바이트 메시지의 세션정보 기술부의 'c'필드와 미디어기술부의 'm'필드 및 'a'필드를 해독하여 'c'필드에 기술된 IP 주소를 가진 발신측 무선이동단말기(10)로부터 피어투피어 방식의 TCP/IP세션의 설정 요청이 있음을 확인하고 호 수락을 하는 경우, 착신측 무선 이동 단말기(20)는 PDSN과 PPP 설정을 맺고 PDSN으로부터 IP주소를 할당받은 후에 TCP/IP 정보를 실은 확장 SIP 메시지(즉, "200 OK" 메시지)를 생성하여 이를 SIP 서버(100)로 전송한다(단계 S805). 상기 SIP 서버(100)는 이를 발신측 무선 이동 단말기(10)에게로 포워딩한다(단계 S806). 만일 상기 착신측 무선 이동 단말기(20)가 호 수락을 하지 않는 경우에는 "리젝트(Reject)" 메시지를 생성하여 SIP 서버(100)로 전송하고 SIP/PDSN 서버(100)는 이를 발신측 무선 이동 단말기로 포워딩한다.At this time, the called-party wireless terminal 20 decodes the 'c' field of the session information description section, the 'm' field and the 'a' field of the media description section of the invite message, and uses the IP address described in the 'c' field. When the mobile station 20 confirms that there is a request for setting up a peer-to-peer type TCP / IP session from the calling source mobile terminal 10 and receives the call, the called party wireless mobile terminal 20 establishes a PPP configuration with the PDSN from the PDSN. After receiving an IP address, an extended SIP message (that is, a "200 OK" message) carrying TCP / IP information is generated and transmitted to the SIP server 100 (step S805). The SIP server 100 forwards it to the originating wireless mobile terminal 10 (step S806). If the called party's wireless mobile terminal 20 does not accept the call, it generates a "Reject" message and transmits it to the SIP server 100, and the SIP / PDSN server 100 transmits it to the calling party's wireless mobile station. Forward to the terminal.

상기한 "200 OK" 메시지는 아래 표 4와 같이 구성될 수 있다.The "200 OK" message may be configured as shown in Table 4 below.

구분division 필드field 내용Contents 시작라인Start line SIP/2.0 200 OKSIP / 2.0 200 OK 메시지 헤더Message header ViaVia SIP/2.0/UDP proxy.sktelecom.com:5060SIP / 2.0 / UDP proxy.sktelecom.com:5060 ViaVia SIP/2.0/UDP 100.101.102.103SIP / 2.0 / UDP 100.101.102.103 ToTo sip:82162202100@ktf.co.kr; user=phonesip: 82162202100@ktf.co.kr; user = phone FromFrom sip:82114104500@sktelecom.com; user=phonesip: 82114104500@sktelecom.com; user = phone Call-IDCall-id 10@100.101.102.10310@100.101.102.103 CseqCseq 1 INVITE1 INVITE SubjectSubject This is TCP connection.This is TCP connection. ContactContact sip:82162202100@ktf.co.krsip: 82162202100@ktf.co.kr Content-TypeContent-Type application/sdpapplication / sdp Content-LengthContent-length ...... 메시지 바디Message body vv 00 oo 82162202100 2890844526 2890844526 IN IP4 200.201.202.20382162202100 2890844526 2890844526 IN IP4 200.201.202.203 ss TCP connectionTCP connection cc IN IP4 200.201.202.203IN IP4 200.201.202.203 tt 0 00 0 mm application 32170 TCP chattingapplication 32170 TCP chatting aa tcpinfor:initialize-sequence 164tcpinfor: initialize-sequence 164 aa tcpinfor:urgent-point 0tcpinfor: urgent-point 0 aa tcpinfor:window-size 16tcpinfor: window-size 16

상기 착신측 무선 이동 단말기(20)는 SIP 서버(100)를 통하여 전송받은, 발신측 무선 이동 단말기(10)가 생성한 인바이트 메시지에서 TCP/IP 세션설정을 위한 정보[즉 상기 도 7을 참조하여 설명한 정보]를 활용하고, 발신측 무선 이동 단말기(20)는 착신측 무선 이동 단말기(20)가 생성한 "200 OK" 메시지에서 TCP/IP 세션설정을 위한 정보[즉, 상기 표4에서 메시지 바디의 'c'필드에 기술된 착신측 무선이동 단말기(20)의 IP주소와, 'm'필드의 TCP 포트 번호 '32170', 'a'필드의 이니셜라이즈 시퀀스 번호 '123'와 어젼트 포인트 '0' 및 윈도우 사이즈 '16']를 활용하여, TCP/IP 세션 설정을 하게 된다.The called party's wireless mobile terminal 20 receives information for establishing a TCP / IP session in an invite message generated by the calling party's wireless mobile terminal 10 received through the SIP server 100 (that is, refer to FIG. 7). Information], and the calling party's wireless mobile terminal 20 uses the information for establishing a TCP / IP session in the &quot; 200 OK &quot; message generated by the called party's wireless mobile terminal 20 (that is, the message in Table 4 above). The IP address of the called party's wireless mobile terminal 20 described in the 'c' field of the body, the TCP port number '32170' in the 'm' field, the initialization sequence number '123' in the 'a' field and the agent point. '0' and window size '16'] are used to set up a TCP / IP session.

상기 무선 이동 단말기(10,20)는 TCP/IP 세션설정을 위한 모든 정보를 가지게 되므로 발신측 단말기(10)의 TCP/IP 세션설정을 요청하는 한번의 신호 예를 들면, TCP/IP의 "애크(ACK)" 패킷을 착신측 무선 이동 단말기(20)로 전송함으로써 무선 이동 단말기간(10,20)의 TCP/IP 세션을 설정한다(단계 S807).Since the wireless mobile terminals 10 and 20 have all the information for establishing the TCP / IP session, one signal for requesting the TCP / IP session establishment of the calling terminal 10, for example, the "acknowledgement of TCP / IP" (ACK) &quot; packet is transmitted to the destination wireless mobile terminal 20 to establish a TCP / IP session between the wireless mobile terminals 10 and 20 (step S807).

이로써, 확장 SIP 메시지[즉, 인바이트 메시지와 오케이 메시지]에 무선 이동 단말기(10,20)간 TCP/IP 세션설정 정보를 같이 실어 보내어 TCP/IP 연결을 위한 3-웨이 핸드세이킹을 하지 1-웨이 핸드세이킹만으로 TCP/IP 세션의 설정이 가능하게 된다. 따라서, 본 발명에 따른 확장 SIP메시지의 2-웨이 방식을 사용하는 경우, 확장 SIP 메시지는 2-웨이 방식으로 전송되고, TCP/IP 연결과정은 1-웨이 방식으로 진행되어 기존의 방식에 비하여 링크지연이 줄어들게 되어 TCP/IP 연결설정 시간이 줄어든다.As a result, TCP / IP session establishment information between the wireless mobile terminals 10 and 20 is sent together in the extended SIP message (ie, the invite message and the ok message) to perform 3-way handshaking for the TCP / IP connection. It is possible to establish a TCP / IP session only with -way handshaking. Therefore, in case of using the 2-way method of the extended SIP message according to the present invention, the extended SIP message is transmitted in the 2-way method, and the TCP / IP connection process is performed in the 1-way method, which is a link compared to the conventional method. The delay is reduced, reducing the TCP / IP connection setup time.

한편, 본 발명은 전술한 전형적인 바람직한 실시예들에만 한정되는 것이 아니라 본 발명의 요지를 벗어나지 않는 범위 내에서 여러 가지로 개량, 변경, 대체 또는 부가하여 실시할 수 있는 것임은 당해 기술분야에 통상의 지식을 가진 자라면 용이하게 이해할 수 있을 것이다. 이러한 개량, 변경, 대체 또는 부가에 의한 실시가 이하의 첨부된 특허청구범위의 범주에 속하는 것이라면 그 기술사상 역시 본 발명에 속하는 것으로 보아야 한다.On the other hand, the present invention is not limited to the above-described typical preferred embodiments, but can be carried out in various ways without departing from the gist of the present invention, various modifications, alterations, substitutions or additions are common in the art Those who have knowledge will easily understand. If the implementation by such improvement, change, replacement or addition falls within the scope of the appended claims, the technical idea should also be regarded as belonging to the present invention.

이상 상세히 설명한 바와 같이 본 발명에 따르면, 확장 SIP를 기반으로 TCP/IP 세션을 설정하여 단말기간 피어투피어 응용 어플리케이션 서비스 기반을 제공함으로써, CDMA 2000 시스템, W-CDMA 등 무선 데이터 서비스를 제공하는 이동통신 시스템에서 신뢰성 있는 데이터 전송이 가능한 효과가 있다.As described in detail above, according to the present invention, by establishing a TCP / IP session based on the extended SIP to provide a base for peer-to-peer application service service between terminals, a mobile data service such as a CDMA 2000 system, W-CDMA, etc. In a communication system, it is possible to reliably transmit data.

또한, 네트워크 서버에 접속하여 네트워크 서버의 아웃 다이얼링 기능을 통하여 네트워크 서버와 온라인 상태에 있지 않은 다른 사용자에게 접속을 요청함으로써 자신이 원하는 사용자와 통신이 가능한 효과가 있다.In addition, by connecting to a network server and requesting a connection from the network server and other users who are not online through the out-dialing function of the network server, it is possible to communicate with the desired user.

또한 확장 SIP 메시지에 TCP/IP 세션설정을 위한 정보를 같이 실어보내어 3-웨이 핸드세이킹을 하지 않고 2-웨이 또는 1-웨이 방식으로 TCP/IP 세션을 설정함으로써, 네트워크상의 과부하를 줄이며, 신속하게 TCP/IP 커넥션을 설정하는 효과가 있다.In addition, TCP / IP sessions can be set up in 2-way or 1-way mode without 3-way handshaking by sending information for establishing TCP / IP sessions in the extended SIP message, thereby reducing overload on the network. This has the effect of setting up a TCP / IP connection.

Claims (13)

확장 에스아이피(SIP; Session Initiation Protocol)를 이용하여 발신을 시도하는 발신측 무선 이동 단말기가 아이피(IP) 주소 할당수단으로부터 IP주소를 할당받는 제1단계와;A first step in which an originating wireless mobile terminal attempting to originate using an extended Session Initiation Protocol (SIP) is allocated an IP address from an IP address assigning means; 상기 발신측 무선 이동 단말기가 상기 할당된 IP주소와 착신측 무선 이동 단말기의 식별번호, 발신측 무선 이동 단말기에서 구동되는 어플리케이션의 TCP 포트 번호 및 티씨피/아이피(TCP/IP) 세션설정이 요구됨을 나타내는 정보를 포함하는 인바이트(INVITE) 메시지를 생성하여 SIP 서버로 전송하는 제2단계와;The calling wireless terminal is required to set the assigned IP address, the identification number of the called wireless terminal, the TCP port number of the application running in the calling wireless terminal and the TCP / IP session setup. A second step of generating an INVITE message including information indicating and transmitting the generated message to the SIP server; 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 식별번호에 기초하여 무선 이동 단말기 위치등록부에 조회하여 상기 착신측 무선 이동 단말기의 위치정보를 획득하는 제 3단계와;A third step of the SIP server querying a wireless mobile terminal location register based on the identification number of the called wireless mobile terminal to obtain location information of the called wireless mobile terminal; 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 위치정보를 이용하여 상기 인바이트 메시지를 상기 착신측 무선 이동 단말기로 전송하는 제 4단계와;Transmitting, by the SIP server, the invite message to the called-party wireless mobile terminal using the location information of the called-party wireless mobile terminal; 상기 착신측 무선 이동 단말기가 상기 IP주소 할당수단으로부터 IP주소를 할당받고, 상기 인바이트 메시지에 대한 응답으로 오케이(OK) 메시지를 생성하여 상기 SIP 서버를 통하여 상기 발신측 무선 이동 단말기로 전송하는 제5단계와;Receiving the IP address from the IP address allocating means, generating an OK message in response to the invite message, and transmitting the generated OK message to the calling wireless terminal through the SIP server; Step 5; 상기 오케이 메시지를 수신한 상기 발신측 무선 이동 단말기가 애크(ACK) 메시지를 생성하여 이를 상기 SIP 서버를 통하여 상기 착신측 무선 이동 단말기에게 전송하는 제6단계 및;A sixth step of generating, by the originating wireless mobile terminal receiving the ok message, an ACK message and transmitting it to the called wireless mobile terminal through the SIP server; 상기 착신측 무선 이동 단말기가 상기 인바이트 메시지에 포함된 상기 발신측 무선 이동 단말기의 IP주소와 TCP 포트 번호 및 티씨피/아이피 세션설정이 요구됨을 나타내는 정보를 이용하여, 상기 발신측 무선 이동 단말기와 피어투피어 방식의 티씨피/아이피 세션을 설정하기 위한 연결과정으로 진행하는 제7단계를 포함하여 이루어지는 것을 특징으로 하는 무선 이동 단말기간의 피어투피어 방식의 서비스를 위해 확장 에스아이피를 이용하여 티씨피/아이피 세션을 설정하는 방법.The called-party wireless mobile terminal uses the IP address and TCP port number of the calling-party wireless mobile terminal included in the invite message, and information indicating that a TPC / IP session is required. And a seventh step of proceeding with a connection process for establishing a peer-to-peer TPC / IP session. How to set up an IP session. 확장 에스아이피(SIP; Session Initiation Protocol)를 이용하여 발신을 시도하는 발신측 무선 이동 단말기가 아이피(IP) 주소 할당수단으로부터 IP주소를 할당받는 제1단계와;A first step in which an originating wireless mobile terminal attempting to originate using an extended Session Initiation Protocol (SIP) is allocated an IP address from an IP address assigning means; 상기 발신측 무선 이동 단말기가 상기 할당된 IP주소와, 유선통신망에 접속된 착신측 고정 단말기의 식별번호, 발신측 무선 이동 단말기에서 구동되는 어플리케이션의 TCP 포트 번호 및 티씨피/아이피(TCP/IP) 세션설정이 요구됨을 나타내는 정보를 포함하는 인바이트(INVITE) 메시지를 생성하여 SIP 서버로 전송하는 제2단계와;The calling wireless terminal is assigned the IP address, the identification number of the called station fixed terminal connected to the wired communication network, the TCP port number of the application running in the calling wireless terminal and TCP / IP (TCP / IP). A second step of generating an INVITE message including information indicating that session establishment is required and transmitting it to a SIP server; 상기 SIP 서버가 상기 착신측 고정 단말기의 식별번호를 이용하여 상기 인바이트 메시지를 상기 착신측 고정 단말기로 전송하는 제 3단계와;Transmitting, by the SIP server, the invite message to the called party fixed terminal using the identification number of the called party fixed terminal; 상기 착신측 고정 단말기가 상기 인바이트 메시지에 대한 응답으로 오케이(OK) 메시지를 생성하여 상기 SIP 서버를 통하여 상기 발신측 무선 이동 단말기로 전송하는 제4단계와;A fourth step in which the called party's fixed terminal generates an OK message in response to the invite message and transmits it to the calling party's wireless mobile terminal through the SIP server; 상기 오케이 메시지를 수신한 상기 발신측 무선 이동 단말기가 애크(ACK) 메시지를 생성하여 이를 상기 SIP 서버를 통하여 상기 착신측 고정 단말기에게 전송하는 제5단계 및;A fifth step of generating, by the originating wireless mobile terminal receiving the ok message, an ACK message and transmitting it to the called party's fixed terminal through the SIP server; 상기 착신측 고정 단말기가 상기 인바이트 메시지에 포함된 상기 발신측 무선 이동 단말기의 IP주소와 TCP 포트 번호 및 티씨피/아이피 세션설정이 요구됨을 나타내는 정보를 이용하여, 상기 발신측 무선 이동 단말기와 피어투피어 방식의 티씨피/아이피 세션을 설정하기 위한 연결과정으로 진행하는 제6단계를 포함하여 이루어지는 것을 특징으로 하는 무선 이동 단말기와, 유선통신망에 접속된 고정 단말기간의 피어투피어 방식의 서비스를 위해 확장 에스아이피를 이용하여 티씨피/아이피 세션을 설정하는 방법.The called party's fixed terminal peers with the calling party's wireless mobile terminal by using the IP address and TCP port number of the calling party's wireless mobile terminal included in the invite message, and information indicating that a TCP / IP session is required. For a peer-to-peer service between a wireless mobile terminal and a fixed terminal connected to a wired communication network, comprising a sixth step of proceeding with a connection process for establishing a two-peer type TPC / IP session. How to set up TPC / IP session using Extended SIP. 유선통신망에 접속된 고정 단말기가 자신의 IP주소와, 착신측의 무선 이동 단말기의 식별번호, 상기 발신측 고정 단말기에서 구동되는 어플리케이션의 TCP 포트 번호 및 티씨피/아이피(TCP/IP) 세션설정이 요구됨을 나타내는 정보를 포함하는 인바이트(INVITE) 메시지를 생성하여 SIP 서버로 전송하는 제1단계와;The fixed terminal connected to the wired network has its IP address, the identification number of the wireless mobile terminal of the called party, the TCP port number of the application running on the calling party's fixed terminal, and TCP / IP session settings. A first step of generating an INVITE message including information indicating that it is required and transmitting it to a SIP server; 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 식별번호에 기초하여 무선 이동 단말기 위치등록부에 조회하여 상기 착신측 무선 이동 단말기의 위치정보를 획득하는 제 2단계와;A second step of the SIP server querying a wireless mobile terminal location register based on an identification number of the called wireless terminal to obtain location information of the called wireless terminal; 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 위치정보를 이용하여 상기 인바이트 메시지를 상기 착신측 무선 이동 단말기로 전송하는 제 3단계와;Transmitting, by the SIP server, the invite message to the called-party wireless mobile terminal using location information of the called-party wireless mobile terminal; 상기 착신측 무선 이동 단말기가 IP주소 할당수단으로부터 IP주소를 할당받고, 상기 인바이트 메시지에 대한 응답으로 오케이(OK) 메시지를 생성하여 상기 SIP 서버를 통하여 상기 발신측 고정단말기로 전송하는 제 4단계와;A fourth step in which the called-party wireless mobile terminal is assigned an IP address from an IP address allocating means, generates an OK message in response to the invite message, and transmits an OK message to the calling party fixed terminal through the SIP server; Wow; 상기 오케이 메시지를 수신한 상기 발신측 고정 단말기가 애크(ACK) 메시지를 생성하여 이를 상기 SIP 서버를 통하여 상기 착신측 무선 이동 단말기에게 전송하는 제5단계 및;A fifth step of generating, by the originating stationary terminal receiving the ok message, an ACK message and transmitting it to the called party mobile terminal through the SIP server; 상기 착신측 무선 이동 단말기가 상기 인바이트 메시지에 포함된 상기 발신측 고정 단말기의 IP주소와 TCP 포트 번호 및 티씨피/아이피 세션설정이 요구됨을 나타내는 정보를 이용하여, 상기 발신측 고정 단말기와 피어투피어 방식의 티씨피/아이피 세션을 설정하기 위한 연결과정으로 진행하는 제 6단계를 포함하여 이루어지는 것을 특징으로 하는 유선통신망에 접속된 고정 단말기와 무선 이동 단말기간의 피어투피어 방식의 서비스를 위해 확장 에스아이피를 이용하여 티씨피/아이피 세션을 설정하는 방법.The called party's wireless terminal peers with the calling station's fixed terminal by using the IP address and TCP port number of the calling station's fixed terminal included in the invite message, and information indicating that a TPC / IP session is required. An extension S for peer-to-peer service between a fixed terminal connected to a wired communication network and a wireless mobile terminal, comprising a sixth step of proceeding to a connection process for establishing a peer-to-peer / IP session. How to set up TPC / IP session using IP. 네트워크 서버에 통신 접속된 발신측 무선 이동 단말기가 SIP 서버를 통하여 상기 네트워크 서버에게 접속되지 않은 착신측 무선 이동 단말기의 식별번호를 포함하여 접속요청정보를 전송하는 제1단계와;A first step of sending, by the calling-side wireless mobile terminal connected to the network server, the access request information including the identification number of the called-side wireless mobile terminal not connected to the network server through a SIP server; 상기 네트워크 서버가 상기 SIP 서버를 통하여 상기 착신측 무선 이동 단말기의 식별번호에 기초하여 무선 이동 단말기 위치등록수단에 조회하여 상기 착신측 무선 이동 단말기의 위치정보를 획득하는 제 2단계와;Obtaining, by the network server, location information of the called-party wireless mobile terminal by inquiring to the wireless mobile terminal location registration means based on the identification number of the called-party wireless mobile terminal through the SIP server; 상기 네트워크 서버가 상기 착신측 무선 이동 단말기의 식별번호와 어플리케이션의 TCP 포트 번호 및 티씨피/아이피 세션설정이 요구됨을 나타내는 정보를 포함하는 인바이트 메시지를 생성하고, 상기 인바이트 메시지를 상기 위치정보를 이용하여 에스아이피 서버를 통해서 상기 착신 무선 이동 단말기로 전송하는 제 3단계와;The network server generates an invite message including an identification number of the called-party wireless mobile terminal, a TCP port number of an application, and information indicating that a TPC / IP session is required, and converts the invite message into the location information. Transmitting to the incoming wireless mobile terminal through an SIP server by using a third step; 상기 착신측 무선 이동 단말기가 IP주소 할당수단으로 IP 주소를 할당받고, 상기 인바이트 메시지에 대한 응답으로 오케이 메시지를 생성하여 상기 에스아이피 서버를 통하여 상기 네트워크 서버로 전송하는 제4단계와;A fourth step in which the called party wireless mobile terminal is assigned an IP address by an IP address assignment means, generates an OK message in response to the invite message, and transmits the OK message to the network server through the SIP server; 상기 오케이 메시지를 수신한 네트워크 서버가 애크(ACK) 메시지를 생성하여 이를 상기 에스아이피 서버를 통하여 상기 착신측 무선 이동 단말기에게 전송하는 제5단계 및;A fifth step of the network server receiving the OK message generating an ACK message and transmitting the generated ACK message to the called-party wireless mobile terminal through the SIP server; 상기 착신측 무선 이동 단말기가 상기 TCP 포트 번호 및 티씨피/아이피 세션설정이 요구됨을 나타내는 정보를 이용하여 상기 네트워크 서버 및 상기 발신측 단말기 중 어느 하나와 피어투피어 방식의 티씨피/아이피 세션을 설정하기 위한 연결과정을 진행하는 제6단계를 포함하여 이루어지는 것을 특징으로 하는 무선 이동 단말기간의 피어투피어 방식의 서비스를 위해 확장 에스아이피를 이용하여 티씨피/아이피 세션을 설정하는 방법.The destination wireless mobile terminal establishes a peer-to-peer TPC / IP session with either the network server or the originating terminal by using the TCP port number and information indicating that a TPC / IP session is required. And a sixth step of proceeding with the connection process for establishing a TPC / IP session using the extended SIP for the peer-to-peer service between the wireless mobile terminals. 제 4항에 있어서,The method of claim 4, wherein 상기 네트워크 서버는 채팅 서비스 제공서버 및 게임 서비스 제공서버 중 어느 하나인 것을 특징으로 하는 무선 이동 단말기간의 피어투피어 방식의 서비스를 위해 확장 에스아이피를 이용하여 티씨피/아이피 세션을 설정하는 방법.The network server is a chat service providing server and a game service providing server, characterized in that for establishing a TPC / IP session using extended SIP for peer-to-peer service between wireless mobile terminals. 제 4항에 있어서,The method of claim 4, wherein 상기 TCP 포트 번호는 상기 발신측 무선 이동 단말기와 상기 네트워크 서버 중 어느 하나에서 구동되는 어플리케이션의 TCP 포트 번호인 것을 특징으로 하는 무선 이동 단말기간의 피어투피어 방식의 서비스를 위해 확장 에스아이피를 이용하여 티씨피/아이피 세션을 설정하는 방법.The TCP port number is a TCP port number of an application running on any one of the originating wireless mobile terminal and the network server. How to set up CPI / IP session. 확장 에스아이피를 이용하여 발신을 시도하는 발신측 무선 이동 단말기가 IP주소 할당수단으로부터 IP주소를 할당받는 제1단계와;A first step in which a calling party's wireless mobile terminal attempting to make a call using the extended SIP is allocated an IP address from an IP address assigning means; 상기 발신측 무선 이동 단말기가 상기 할당된 IP주소와 착신측 무선 이동 단말기의 식별번호, 발신측 무선 이동 단말기에서 구동되는 어플리케이션의 TCP 포트 번호 및 티씨피/아이피(TCP/IP) 세션설정 정보를 포함하는 인바이트(INVITE) 메시지를 생성하여 SIP 서버로 전송하는 제2단계와;The calling wireless terminal includes the assigned IP address, the identification number of the called wireless terminal, the TCP port number of the application running in the calling wireless terminal, and TCP / IP session establishment information. A second step of generating an INVITE message to a SIP server; 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 식별번호에 기초하여 무선 이동 단말기 위치등록부에 조회하여 상기 착신측 무선 이동 단말기의 위치정보를 획득하는 제 3단계와;A third step of the SIP server querying a wireless mobile terminal location register based on the identification number of the called wireless mobile terminal to obtain location information of the called wireless mobile terminal; 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 위치정보를 이용하여 상기 인바이트 메시지를 상기 착신측 무선 이동 단말기로 전송하는 제 4단계와;Transmitting, by the SIP server, the invite message to the called-party wireless mobile terminal using the location information of the called-party wireless mobile terminal; 상기 착신측 무선 이동 단말기가 상기 IP주소 할당수단으로부터 IP주소를 할당받는 제 5단계와;A fifth step in which the called-party wireless mobile terminal is assigned an IP address from the IP address assignment means; 상기 착신측 무선 이동 단말기가 상기 인바이트 메시지에 포함된 상기 발신측 무선 이동 단말기의 IP주소와 TCP 포트 번호 및 티씨피/아이피 세션설정 정보를 이용하여, 상기 발신측 무선 이동 단말기와 피어투피어 방식의 티씨피/아이피 세션을 설정하기 위한 연결과정으로 진행하는 제6단계를 포함하여 이루어지는 것을 특징으로 하는 무선 이동 단말기간의 피어투피어 방식의 서비스를 위해 확장 에스아이피를 이용하여 티씨피/아이피 세션을 설정하는 방법.The called-party wireless mobile terminal uses the IP address, TCP port number, and TPC / IP session establishment information of the calling-party wireless mobile terminal included in the invite message to peer-to-peer with the calling wireless terminal. Establishing a TPC / IP session using the extended SIP for the peer-to-peer service between the wireless mobile terminals, comprising a sixth step of proceeding to a connection process for establishing a TPC / IP session of the TPC / IP session. How to set up. 제 7항에 있어서,The method of claim 7, wherein 상기 티씨피/아이피 세션설정 정보는 TCP 포트 번호(Transport Address), 티씨피/아이피 세션설정이 요구됨을 나타내는 정보, 이니셜라이즈 시퀀스(Initialize Sequence), 어젼트 포인트(Urgent Point) 및 윈도우 사이즈(Window Size)를 포함하여 구성되는 것을 특징으로 하는 무선 이동 단말기간의 피어투피어 방식의 서비스를 위해 확장 에스아이피를 이용하여 티씨피/아이피 세션을 설정하는 방법.The TPC / IP session setup information includes a TCP port number (Transport Address), information indicating that a TPC / IP session setup is required, an Initialize Sequence, an Urgent Point, and a window size. Method for establishing a TPC / IP session using the extended SIP for the peer-to-peer service between the wireless mobile terminal, characterized in that comprises a). 확장 에스아이피를 이용하여 발신을 시도하는 발신측 무선 이동 단말기가 IP주소 할당수단으로부터 IP주소를 할당받는 제1단계와;A first step in which a calling party's wireless mobile terminal attempting to make a call using the extended SIP is allocated an IP address from an IP address assigning means; 상기 발신측 무선 이동 단말기가 상기 할당된 IP주소와 착신측 무선 이동 단말기의 식별번호, 발신측 무선 이동 단말기에서 구동되는 어플리케이션의 TCP 포트번호 및 티씨피/아이피(TCP/IP) 세션설정 정보를 포함하는 인바이트(INVITE) 메시지를 생성하여 SIP 서버로 전송하는 제2단계와;The caller's wireless mobile terminal includes the assigned IP address, an identification number of the called party's wireless mobile terminal, a TCP port number of an application running in the caller's wireless mobile terminal, and TCP / IP session setup information. A second step of generating an INVITE message to a SIP server; 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 식별번호에 기초하여 무선 이동 단말기 위치등록부에 조회하여 상기 착신측 무선 이동 단말기의 위치정보를 획득하는 제 3단계와;A third step of the SIP server querying a wireless mobile terminal location register based on the identification number of the called wireless mobile terminal to obtain location information of the called wireless mobile terminal; 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 위치정보를 이용하여 상기 인바이트 메시지를 상기 착신측 무선 이동 단말기로 전송하는 제 4단계와;Transmitting, by the SIP server, the invite message to the called-party wireless mobile terminal using the location information of the called-party wireless mobile terminal; 상기 착신측 무선 이동 단말기가 상기 IP주소 할당수단으로부터 IP주소를 할당받고, 상기 인바이트 메시지에 대한 응답으로, 상기 할당된 자신의 IP주소와 발신측 무선 이동 단말기의 식별번호, 착신측 무선 이동 단말기에서 구동되는 어플리케이션의 TCP 포트 번호 및 티씨피/아이피(TCP/IP) 세션설정 정보를 포함하는 오케이(OK) 메시지를 생성하여 상기 SIP 서버를 통하여 상기 발신측 무선 이동 단말기로 전송하는 제 5단계와;The called party wireless mobile terminal is assigned an IP address from the IP address assignment means, and in response to the invite message, the assigned own IP address, the identification number of the calling party wireless mobile terminal, and the called party wireless mobile terminal. A fifth step of generating an OK message including a TCP port number and a TCP / IP session setup information of an application running in the home server and transmitting the generated OK message to the calling wireless terminal through the SIP server; ; 상기 발신측 무선 이동 단말기가 상기 오케이 메시지에 포함된 상기 착신측 무선 이동 단말기의 IP주소와 TCP 포트 번호 및 티씨피/아이피 세션설정 정보를 이용하여, 상기 착신측 무선 이동 단말기와 피어투피어 방식의 티씨피/아이피 세션을 설정하기 위한 연결과정으로 진행하는 제6단계를 포함하여 이루어지는 것을 특징으로 하는 무선 이동 단말기간의 피어투피어 방식의 서비스를 위해 확장 에스아이피를 이용하여 티씨피/아이피 세션을 설정하는 방법.The caller's wireless mobile terminal uses the IP address, TCP port number, and TPC / IP session establishment information of the called party's wireless mobile terminal included in the OK message, to establish a peer-to-peer type connection with the called-party wireless mobile terminal. Establishing a TPC / IP session using an extended SIP for a peer-to-peer service between the wireless mobile terminals, comprising a sixth step of proceeding to a connection process for establishing a TPC / IP session. How to. 제 9항에 있어서,The method of claim 9, 상기 인바이트 메시지 및 상기 오케이 메시지에 포함된 티씨피/아이피 세션설정 정보는 TCP 포트 번호(Transport Address), 티씨피/아이피 세션설정이 요구됨을 나타내는 정보, 이니셜라이즈 시퀀스(Initialize Sequence), 어젼트 포인트(Urgent Point) 및 윈도우 사이즈(Window Size)를 포함하여 구성되는 것을 특징으로 하는 무선 이동 단말기간의 피어투피어 방식의 서비스를 위해 확장 에스아이피를 이용하여 티씨피/아이피 세션을 설정하는 방법.The TCP / IP session setup information included in the invite message and the OK message includes a TCP port number, information indicating that the TCP / IP session setup is required, an initialize sequence, an agent point. Method for establishing a TPC / IP session using the extended SIP for the peer-to-peer service between the wireless mobile terminal, characterized in that it comprises a (Urgent Point) and a window size (Window Size). 제 9항에 있어서,The method of claim 9, 상기 제6단계는 상기 발신측 무선 이동 단말기에서 상기 착신측 무선 이동 단말기로 티씨피/아이피 접속을 위한 정보를 1회 전달하는 것으로 티씨피/아이피 세션설정이 이루어지는 것을 특징으로 하는 무선 이동 단말기간의 피어투피어 방식의 서비스를 위해 확장 에스아이피를 이용하여 티씨피/아이피 세션을 설정하는 방법.In the sixth step, the peer-to-peer session is established by transferring the information for the TPC / IP connection from the originating wireless mobile terminal to the called-party wireless mobile terminal once. How to set up TPC / IP session using extended SIP for two-peer service. 제 1항 내지 제 11항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 11, 상기 무선 이동 단말기는 확장 에스아이피 프로토콜 기능과 티씨피/아이피 프로토콜 기능을 내장하고 있는 것을 특징으로 하는 피어투피어 방식의 서비스를 위해 확장 에스아이피를 이용하여 티씨피/아이피 세션을 설정하는 방법.The wireless mobile terminal establishes a TPC / IP session using an extended SIP for a peer-to-peer type service, wherein the STP / IP protocol function and an embedded STP protocol function are built in the wireless mobile terminal. 제 1항 내지 제 11항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 11, 상기 확장 에스아이피는 무선 이동 단말기간 티씨피/아이피 세션 설정을 위한 정보를 에스아이피 메시지 중 미디어 기술정보 필드에 기재하는 것을 특징으로 하는 피어투피어 방식의 서비스를 위해 확장 에스아이피를 이용하여 티씨피/아이피 세션을 설정하는 방법.The extended SIP uses the extended SIP for the peer-to-peer type service, wherein the information for establishing the TPC / IP session between the wireless mobile terminals is recorded in the media description information field of the SIP message. How to set up an IP session.
KR10-2002-0071927A 2002-11-19 2002-11-19 Method for establishing tcp/ip session using extended session initiation protocol for peer to peer service between communication terminals KR100508650B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2002-0071927A KR100508650B1 (en) 2002-11-19 2002-11-19 Method for establishing tcp/ip session using extended session initiation protocol for peer to peer service between communication terminals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2002-0071927A KR100508650B1 (en) 2002-11-19 2002-11-19 Method for establishing tcp/ip session using extended session initiation protocol for peer to peer service between communication terminals

Publications (2)

Publication Number Publication Date
KR20040044216A true KR20040044216A (en) 2004-05-28
KR100508650B1 KR100508650B1 (en) 2005-08-18

Family

ID=37340482

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2002-0071927A KR100508650B1 (en) 2002-11-19 2002-11-19 Method for establishing tcp/ip session using extended session initiation protocol for peer to peer service between communication terminals

Country Status (1)

Country Link
KR (1) KR100508650B1 (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100675160B1 (en) * 2004-12-28 2007-01-29 엘지전자 주식회사 Method for network game in mobile communication station
KR100710563B1 (en) * 2005-12-29 2007-04-24 삼성에스디에스 주식회사 A method for achieving interoperability between p2p-sip-based sip user agents and standards-based sip system
KR100735321B1 (en) * 2005-09-09 2007-07-04 삼성전자주식회사 Incoming packet filtering apparatus and method for packet in packet radio network
KR100777112B1 (en) * 2005-12-07 2007-11-19 한국전자통신연구원 A mobile station apparatus for supporting Peer-to-Peer communications and a communicating and billing method based on the same
KR100799572B1 (en) * 2006-06-30 2008-01-30 한국전자통신연구원 Extended proxy-call session control function block in next generation network based on IP Multimedia Subsystem and mobility management method using the same
KR100842589B1 (en) * 2004-01-29 2008-07-01 삼성전자주식회사 Method for providing push service to a mobile terminal in mobile communication network for high speed data transmission and push server apparatus using the same
KR100848289B1 (en) * 2007-01-05 2008-10-10 엠피에스리서치(주) Methods and System for P2P-Based Scalable Real-Time Mobile Group Communication Service Management in Wireless Networks
KR100864479B1 (en) * 2006-10-31 2008-10-22 에스케이 텔레콤주식회사 Method for Pairing between Mobile Communication Terminal and Bluetooth Device, Mobile Communication Terminal and System for the Same
KR100899755B1 (en) * 2003-02-15 2009-05-27 삼성전자주식회사 Instant messaging service method on mobile telecommunication network and therefor system
US7734292B2 (en) 2005-12-07 2010-06-08 Electronics And Telecommunications Research Institute Terminal supporting peer-to-peer communication, and communication and billing methods based on the same
WO2014163691A1 (en) * 2013-04-04 2014-10-09 Intel IP Corporation Internet protocol (ip) multimedia subsystem (ims) based peer-to-peer (p2p) content distribution
US9846457B2 (en) 2014-04-24 2017-12-19 Samsung Electronics Co., Ltd Housing assembly and electronic device thereof

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101309556B1 (en) * 2006-05-18 2013-09-24 에스케이플래닛 주식회사 Method and System for reconnecting of mobile network game and Game Server Therefor

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2271170B1 (en) * 2000-03-03 2012-09-05 Qualcomm Incorporated Method and apparatus for participating in group communication services in an existing communication system

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100899755B1 (en) * 2003-02-15 2009-05-27 삼성전자주식회사 Instant messaging service method on mobile telecommunication network and therefor system
KR100842589B1 (en) * 2004-01-29 2008-07-01 삼성전자주식회사 Method for providing push service to a mobile terminal in mobile communication network for high speed data transmission and push server apparatus using the same
US7979560B2 (en) 2004-01-29 2011-07-12 Samsung Electronics Co., Ltd. Method of providing push service to mobile terminal in a mobile communication system for high-speed data transmission and push server apparatus using the same
KR100675160B1 (en) * 2004-12-28 2007-01-29 엘지전자 주식회사 Method for network game in mobile communication station
KR100735321B1 (en) * 2005-09-09 2007-07-04 삼성전자주식회사 Incoming packet filtering apparatus and method for packet in packet radio network
US7734292B2 (en) 2005-12-07 2010-06-08 Electronics And Telecommunications Research Institute Terminal supporting peer-to-peer communication, and communication and billing methods based on the same
KR100777112B1 (en) * 2005-12-07 2007-11-19 한국전자통신연구원 A mobile station apparatus for supporting Peer-to-Peer communications and a communicating and billing method based on the same
KR100710563B1 (en) * 2005-12-29 2007-04-24 삼성에스디에스 주식회사 A method for achieving interoperability between p2p-sip-based sip user agents and standards-based sip system
KR100799572B1 (en) * 2006-06-30 2008-01-30 한국전자통신연구원 Extended proxy-call session control function block in next generation network based on IP Multimedia Subsystem and mobility management method using the same
KR100864479B1 (en) * 2006-10-31 2008-10-22 에스케이 텔레콤주식회사 Method for Pairing between Mobile Communication Terminal and Bluetooth Device, Mobile Communication Terminal and System for the Same
KR100848289B1 (en) * 2007-01-05 2008-10-10 엠피에스리서치(주) Methods and System for P2P-Based Scalable Real-Time Mobile Group Communication Service Management in Wireless Networks
WO2014163691A1 (en) * 2013-04-04 2014-10-09 Intel IP Corporation Internet protocol (ip) multimedia subsystem (ims) based peer-to-peer (p2p) content distribution
US11388700B2 (en) 2013-04-04 2022-07-12 Apple Inc. Internet protocol (IP) multimedia subsystem (IMS) based peer-to-peer (P2P) content distribution
US9846457B2 (en) 2014-04-24 2017-12-19 Samsung Electronics Co., Ltd Housing assembly and electronic device thereof

Also Published As

Publication number Publication date
KR100508650B1 (en) 2005-08-18

Similar Documents

Publication Publication Date Title
US7058042B2 (en) One-to-one communication
US7110393B1 (en) System and method for providing user mobility handling in a network telephony system
US6992974B1 (en) System and method for providing fault tolerance in a network telephony system
KR100815562B1 (en) Terminal unit for handling session on the basis of session initiaion protocol, method of transmitting and receiving thereof
US20040199649A1 (en) System and method to provide interoperability between session initiation protocol and other messaging services
US20050021616A1 (en) Method for managing sessions between network parties, methods, network element and terminal for managing calls
US7778243B2 (en) Method for DTMF transfer by RTP
KR20080040774A (en) Wireless voip/vip roaming to access point of different network type
WO2002082763A2 (en) System and method for establishing channels for a real time media streaming communication
JP2005086467A (en) Session controller, information communication terminal, server, and terminal
AU2004222784B2 (en) Network, server apparatus, IP corresponding terminal device, and speech-quality control method used in the same
JP4874993B2 (en) Facilitating early media in communication systems
KR100508650B1 (en) Method for establishing tcp/ip session using extended session initiation protocol for peer to peer service between communication terminals
US20030169768A1 (en) Call initiation for legacy mobile circuit switched domain wireless systems
JP4757438B2 (en) Network, private branch exchange, and multiprotocol communication terminal control method used therefor
RU2332804C2 (en) Processing initial multimedia data ii
EP1380182B1 (en) One-to-one communication in a system having different control plane and user plane logical entities
RU2374777C2 (en) Processing of initial multimedia data i
US7436817B2 (en) Call clearing for legacy mobile circuit switched domain wireless systems
KR20050002335A (en) System and method for processing call in SIP network
US7460533B1 (en) System and method for multi-casting announcements
CN101119212B (en) Method for transmitting and applying user-user application message
US20080137647A1 (en) VoIP terminal and method for providing multi-call service
KR100402787B1 (en) Call Setup Method for Video Telephony Service in mobile radio communication network
KR101467388B1 (en) System and Method transmitting call setup message

Legal Events

Date Code Title Description
A201 Request for examination
N231 Notification of change of applicant
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20120806

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20130731

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20150810

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20160729

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee