KR100508650B1 - 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
KR100508650B1
KR100508650B1 KR10-2002-0071927A KR20020071927A KR100508650B1 KR 100508650 B1 KR100508650 B1 KR 100508650B1 KR 20020071927 A KR20020071927 A KR 20020071927A KR 100508650 B1 KR100508650 B1 KR 100508650B1
Authority
KR
South Korea
Prior art keywords
wireless mobile
mobile terminal
session
sip
tcp
Prior art date
Application number
KR10-2002-0071927A
Other languages
Korean (ko)
Other versions
KR20040044216A (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

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

Abstract

1. 청구범위에 기재된 발명이 속한 기술분야1. TECHNICAL FIELD OF THE INVENTION

본 발명은 통신단말기간의 피어투피어 방식의 서비스를 위한 확장 에스아이피를 이용한 티씨피/아이피 세션 설정 방법에 관한 것임.The present invention relates to a TPC / IP session establishment method using an extended SIP for a peer-to-peer service of a communication terminal period.

2. 발명이 해결하려고 하는 기술적 과제2. The technical problem to be solved by the invention

본 발명은 확장 SIP 메시지를 이용하여 무선 이동 단말기간에 TCP/IP 세션을 설정하여 무선 이동 단말기간 피어투피어 방식의 응용 어플리케이션 서비스 기반을 제공하는데 그 목적이 있음.An object of the present invention is to provide a peer-to-peer 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.

3. 발명의 해결방법의 요지3. Summary of Solution to Invention

본 발명은, 통신 시스템에서 에스아이피(SIP)를 이용하여 티씨피/아이피(TCP/IP) 세션을 설정하는 방법에 있어서, 확장 에스아이피(SIP)를 이용하여 발신을 시도하는 발신측 무선 이동 단말기가 아이피(IP) 주소할당수단으로부터 IP주소를 할당받아, 상기 할당된 IP주소와 착신측 무선 이동 단말기의 식별번호, 상기 발신측 무선 이동 단말기에서 구동되는 어플리케이션의 TCP 포트 번호 및 티씨피/아이피(TCP/IP) 세션설정이 요구됨을 나타내는 정보를 포함하는 인바이트(INVITE) 메시지를 생성하여 SIP 서버로 전송하면, 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 식별번호에 기초하여 단말기 위치등록수단으로 조회하여 상기 착신측 무선 이동 단말기의 위치정보를 획득하는 단계; 및 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 위치정보를 바탕으로 상기 인바이트 메시지를 상기 착신측 무선 이동 단말기로 전송하여, 상기 착신측 무선 이동 단말기가 상기 IP 주소할당수단으로부터 IP주소를 할당받고, 상기 인바이트 메시지에 대한 응답으로 오케이(OK) 메시지를 생성하여 상기 SIP 서버를 통해 상기 발신측 무선 이동 단말기로 전송토록 하며, 상기 오케이(OK) 메시지를 수신한 상기 발신측 무선 이동 단말기가 애크(ACK) 메시지를 생성하여 상기 SIP 서버를 통해 상기 착신측 무선 이동 단말기에게 전송토록 하며, 상기 착신측 무선 이동 단말기가 상기 인바이트 메시지에 포함된 상기 발신측 무선 이동 단말기의 IP주소와 TCP 포트 번호 및 티씨피/아이피 세션설정이 요구됨을 나타내는 정보를 이용하여, 상기 발신측 무선 이동 단말기와 피어투피어 방식의 티씨피/아이피 세션을 설정하기 위한 3-웨이 핸드세이킹 연결 과정으로 진행토록 하는 단계를 포함한다.The present invention relates to a method for establishing a TCP / IP session using an SIP in a communication system, wherein an originating side wireless mobile terminal attempts to originate using an extended SIP. Is assigned an IP address from an IP address assignment means, the assigned IP address, an identification number of a called-party wireless mobile terminal, a TCP port number of an application running in the calling-party wireless mobile terminal, and TPC / IP ( TCP / IP) When an INVITE message including information indicating that session establishment is required is generated and transmitted to the SIP server, the SIP server sends the terminal location registration means to the terminal location registration means based on the identification number of the called party's wireless mobile terminal. Querying to obtain location information of the called-party wireless mobile terminal; And the SIP server transmits the invite message to the called wireless mobile terminal based on the location information of the called wireless mobile terminal, so that the called wireless mobile terminal is assigned an IP address from the IP address assignment means. In response to the invite message, an OK message is generated and transmitted to the calling mobile wireless terminal through the SIP server, and the calling wireless mobile terminal receiving the OK message is acknowledged. Generates an (ACK) message and transmits it to the called wireless mobile terminal through the SIP server, wherein the called wireless terminal is the IP address and TCP port number of the calling wireless mobile terminal included in the invite message. And the originating wireless mobile terminal by using the information indicating that the TPC / IP session is required. For establishing a peer Ti ssipi / IP session, the peer-to-system comprises ever goes to the three-way handshaking process connection.

4. 발명의 중요한 용도4. Important uses of the invention

본 발명은 통신 시스템에서 피어투피어(Peer To Peer) 방식의 서비스 등에 이용됨.The present invention is used in a peer-to-peer service in a communication system.

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(Extended Session Initiation Protocol)이라 함은, 기존의 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. In the present invention, Extended Session Initiation Protocol (SIP) refers to a protocol that contains information for establishing a TCP / IP session and application information in an existing SIP, and means that an existing SIP is extended according to the present invention. do.

과거 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, society has become more specialized and has the urge to free communication between 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, looking at the Internet content, most of them are TCP / IP-based, and as in the case of the client-server model, when the client requests information from the client, the server responds to the server and provides the corresponding information.

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

한편, 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, the Internet, 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. As an example, the Korean Patent Application Publication discloses an Internet phone service system and a method thereof using a public switched network terminal (application number: 10-2000-0012166). have. The prior art 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 call origination request of a user, sends information about the same to a server, and then contacts the other party. After the exchange of information with each other depending on whether the operation of the Internet phone can be communicated with each other. However, it basically mentions wired internet phone services.

따라서, 각 단말기가 클라이언트/서버로 동작하는 SIP 프로토콜을 이용하여 무선통신 시스템에서 피어투피어 방식의 TCP/IP 세션을 설정하는 새로운 방법이 요구된다.Accordingly, 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 세션을 설정하여 무선 이동 단말기간 피어투피어 방식의 응용 어플리케이션 서비스 기반을 제공하는데 그 목적이 있다.The present invention has been proposed to solve the above problems, and provides a peer-to-peer 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. have.

또한, 본 발명은 확장 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 the Internet using an extended SIP message.

또한, 본 발명은 아웃 다이얼링(Out-Dialing) 기능을 제공하는 특정서버가 이 특정서버에 접속하지 않은 무선 이동 단말기와 확장 SIP 메시지를 통하여 TCP/IP 세션을 설정하는 방법을 제공하는데 또 다른 목적이 있다.In addition, 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 providing an out-dialing function. 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. Other objects and advantages of the present invention can be understood by the following description, and will be more clearly understood by the embodiments of the present invention. Also, it will be readily appreciated that the objects and advantages of the present invention may be realized by the means and combinations thereof indicated in the claims.

상기와 같은 목적을 달성하기 위한 본 발명은, 통신 시스템에서 에스아이피(SIP)를 이용하여 티씨피/아이피(TCP/IP) 세션을 설정하는 방법에 있어서, 확장 에스아이피(SIP)를 이용하여 발신을 시도하는 발신측 무선 이동 단말기가 아이피(IP) 주소할당수단으로부터 IP주소를 할당받아, 상기 할당된 IP주소와 착신측 무선 이동 단말기의 식별번호, 상기 발신측 무선 이동 단말기에서 구동되는 어플리케이션의 TCP 포트 번호 및 티씨피/아이피(TCP/IP) 세션설정이 요구됨을 나타내는 정보를 포함하는 인바이트(INVITE) 메시지를 생성하여 SIP 서버로 전송하면, 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 식별번호에 기초하여 단말기 위치등록수단으로 조회하여 상기 착신측 무선 이동 단말기의 위치정보를 획득하는 단계; 및 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 위치정보를 바탕으로 상기 인바이트 메시지를 상기 착신측 무선 이동 단말기로 전송하여, 상기 착신측 무선 이동 단말기가 상기 IP 주소할당수단으로부터 IP주소를 할당받고, 상기 인바이트 메시지에 대한 응답으로 오케이(OK) 메시지를 생성하여 상기 SIP 서버를 통해 상기 발신측 무선 이동 단말기로 전송토록 하며, 상기 오케이(OK) 메시지를 수신한 상기 발신측 무선 이동 단말기가 애크(ACK) 메시지를 생성하여 상기 SIP 서버를 통해 상기 착신측 무선 이동 단말기에게 전송토록 하며, 상기 착신측 무선 이동 단말기가 상기 인바이트 메시지에 포함된 상기 발신측 무선 이동 단말기의 IP주소와 TCP 포트 번호 및 티씨피/아이피 세션설정이 요구됨을 나타내는 정보를 이용하여, 상기 발신측 무선 이동 단말기와 피어투피어 방식의 티씨피/아이피 세션을 설정하기 위한 3-웨이 핸드세이킹 연결 과정으로 진행토록 하는 단계를 포함하여 이루어진 것을 특징으로 한다. In order to achieve the above object, the present invention provides a method for establishing a TCP / IP session using an SIP in a communication system, and using an extended SIP. The originating wireless mobile terminal attempting to obtain the IP address is assigned an IP address from the IP address assignment means, the assigned IP address, the identification number of the called wireless mobile terminal, and the TCP of the application running in the calling wireless mobile terminal. When an INVITE message including a port number and information indicating that a TCP / IP session is required to be generated is transmitted to the SIP server, the SIP server identifies the identification number of the called wireless mobile terminal. Obtaining location information of the called party's wireless mobile terminal by querying the terminal location registration means based on; And the SIP server transmits the invite message to the called wireless mobile terminal based on the location information of the called wireless mobile terminal, so that the called wireless mobile terminal is assigned an IP address from the IP address assignment means. In response to the invite message, an OK message is generated and transmitted to the calling mobile wireless terminal through the SIP server, and the calling wireless mobile terminal receiving the OK message is acknowledged. Generates an (ACK) message and transmits it to the called wireless mobile terminal through the SIP server, wherein the called wireless terminal is the IP address and TCP port number of the calling wireless mobile terminal included in the invite message. And the originating wireless mobile terminal by using the information indicating that the TPC / IP session is required. Characterized by comprising the step of including ever goes to the three-way handshaking connection process for establishing a peer Ti ssipi / IP session of the to-peer manner.

그리고, 본 발명은, 통신 시스템에서 에스아이피(SIP)를 이용하여 티씨피/아이피(TCP/IP) 세션을 설정하는 방법에 있어서, 확장 에스아이피(SIP)를 이용하여 발신을 시도하는 발신측 무선 이동 단말기가 아이피(IP) 주소할당수단으로부터 IP주소를 할당받아, 상기 할당된 IP주소와, 유선통신망에 접속된 착신측 고정 단말기의 식별번호, 상기 발신측 무선 이동 단말기에서 구동되는 어플리케이션의 TCP 포트 번호 및 티씨피/아이피(TCP/IP) 세션설정이 요구됨을 나타내는 정보를 포함하는 인바이트(INVITE) 메시지를 생성하여 SIP 서버로 전송하면, 상기 SIP 서버가 상기 착신측 고정 단말기의 식별번호를 바탕으로 상기 인바이트 메시지를 상기 착신측 고정 단말기로 전송하여, 상기 착신측 고정 단말기가 상기 인바이트 메시지에 대한 응답으로 오케이(OK) 메시지를 생성하여 상기 SIP 서버를 통해 상기 발신측 무선 이동 단말기로 전송토록 하고, 상기 오케이(OK) 메시지를 수신한 상기 발신측 무선 이동 단말기가 애크(ACK) 메시지를 생성하여 상기 SIP 서버를 통해 상기 착신측 고정 단말기에게 전송토록 하며, 상기 착신측 고정 단말기가 상기 인바이트 메시지에 포함된 상기 발신측 무선 이동 단말기의 IP주소와 TCP 포트 번호 및 티씨피/아이피 세션설정이 요구됨을 나타내는 정보를 이용하여, 상기 발신측 무선 이동 단말기와 피어투피어 방식의 티씨피/아이피 세션을 설정하기 위한 3-웨이 핸드세이킹 연결 과정으로 진행토록 하는 것을 특징으로 한다. In addition, the present invention provides a method for establishing a TCP / IP session using an SIP in a communication system, wherein the calling party attempts to make a call using an extended SIP. The mobile terminal receives an IP address from the IP address assignment means, the assigned IP address, the identification number of the called stationary terminal connected to the wired communication network, and the TCP port of the application running on the originating wireless terminal. When generating an INVITE message including a number and information indicating that a TCP / IP session is required to be transmitted to the SIP server, the SIP server is based on the identification number of the called party's fixed terminal. The invite message is transmitted to the called party's fixed terminal, and the called party's fixed terminal generates an OK message in response to the invite message. To send to the calling party wireless mobile terminal through the SIP server, and the calling party wireless mobile terminal receiving the OK message generates an ACK message and fixes the called party through the SIP server. Send to the terminal, and the called party fixed terminal uses the IP address and TCP port number of the originating wireless mobile terminal included in the invite message, and information indicating that a TPC / IP session is required. And a three-way handshaking connection process for establishing a peer-to-peer type TPC / IP session with the wireless terminal.

또한, 본 발명은, 통신 시스템에서 에스아이피(SIP)를 이용하여 티씨피/아이피(TCP/IP) 세션을 설정하는 방법에 있어서, 유선통신망에 접속된 고정 단말기가 자신의 IP주소와, 착신측 무선 이동 단말기의 식별번호, 발신측 고정 단말기에서 구동되는 어플리케이션의 TCP 포트 번호 및 티씨피/아이피(TCP/IP) 세션설정이 요구됨을 나타내는 정보를 포함하는 인바이트(INVITE) 메시지를 생성하여 SIP 서버로 전송하면, 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 식별번호에 기초하여 단말기 위치등록수단으로 조회하여 상기 착신측 무선 이동 단말기의 위치정보를 획득하는 단계; 및 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 위치정보를 바탕으로 상기 인바이트 메시지를 상기 착신측 무선 이동 단말기로 전송하여, 상기 착신측 무선 이동 단말기가 IP 주소할당수단으로부터 IP주소를 할당받고, 상기 인바이트 메시지에 대한 응답으로 오케이(OK) 메시지를 생성하여 상기 SIP 서버를 통해 상기 발신측 고정단말기로 전송토록 하며, 상기 오케이(OK) 메시지를 수신한 상기 발신측 고정 단말기가 애크(ACK) 메시지를 생성하여 상기 SIP 서버를 통해 상기 착신측 무선 이동 단말기에게 전송토록 하며, 상기 착신측 무선 이동 단말기가 상기 인바이트 메시지에 포함된 상기 발신측 고정 단말기의 IP주소와 TCP 포트 번호 및 티씨피/아이피 세션설정이 요구됨을 나타내는 정보를 이용하여, 상기 발신측 고정 단말기와 피어투피어 방식의 티씨피/아이피 세션을 설정하기 위한 3-웨이 핸드세이킹 연결 과정으로 진행토록 하는 단계를 포함하여 이루어진 것을 특징으로 한다. In addition, the present invention is a method for establishing a TCP / IP session using a SIP in a communication system, wherein a fixed terminal connected to a wired communication network has its IP address and a called party The SIP server generates an INVITE message including an identification number of the wireless mobile terminal, a TCP port number of an application running on the calling station fixed terminal, and information indicating that a TCP / IP session is required. Transmitting, by the SIP server, to the terminal location registration unit based on the identification number of the called party wireless mobile terminal to obtain location information of the called party wireless mobile terminal; And the SIP server transmits the invite message to the destination wireless mobile terminal based on the location information of the destination wireless mobile terminal, and the destination wireless mobile terminal is assigned an IP address from an IP address assignment means. In response to the invite message, an OK message is generated and transmitted to the calling station fixed terminal through the SIP server, and the calling station fixed terminal receiving the OK message is acknowledged. A message is generated and transmitted to the called-party wireless mobile terminal through the SIP server, and the called-party wireless mobile terminal transmits the IP address, TCP port number, and TPC / A peer-to-peer type TC with the calling station's fixed terminal using information indicating that an IP session is required / Including the step of ever goes to the three-way handshaking connection process for establishing an IP session is characterized in that is made.

또한, 본 발명은, 통신 시스템에서 에스아이피(SIP)를 이용하여 티씨피/아이피(TCP/IP) 세션을 설정하는 방법에 있어서, 네트워크 서버에 통신 접속된 발신측 무선 이동 단말기가 SIP 서버를 통해 상기 네트워크 서버에게 접속되지 않은 착신측 무선 이동 단말기의 식별번호를 포함하여 접속요청정보를 전송하면, 상기 네트워크 서버가 상기 SIP 서버를 통해 상기 착신측 무선 이동 단말기의 식별번호에 기초하여 단말기 위치등록수단으로 조회하여 상기 착신측 무선 이동 단말기의 위치정보를 획득하는 단계; 상기 네트워크 서버가 상기 착신측 무선 이동 단말기의 식별번호와 어플리케이션의 TCP 포트 번호 및 티씨피/아이피 세션설정이 요구됨을 나타내는 정보를 포함하는 인바이트 메시지를 생성하고, 상기 인바이트 메시지를 상기 위치정보를 이용하여 상기 SIP 서버를 통해 상기 착신 무선 이동 단말기로 전송하는 단계; 및 상기 착신측 무선 이동 단말기가 IP 주소할당수단으로부터 IP 주소를 할당받고, 상기 인바이트 메시지에 대한 응답으로 오케이(OK) 메시지를 생성하여 상기 SIP 서버를 통해 상기 네트워크 서버로 전송하면, 상기 오케이(OK) 메시지를 수신한 네트워크 서버가 애크(ACK) 메시지를 생성하여 상기 SIP 서버를 통해 상기 착신측 무선 이동 단말기에게 전송하여, 상기 착신측 무선 이동 단말기가 상기 TCP 포트 번호 및 티씨피/아이피 세션설정이 요구됨을 나타내는 정보를 이용하여, 상기 네트워크 서버 및 상기 발신측 단말기 중 어느 하나와 피어투피어 방식의 티씨피/아이피 세션을 설정하기 위한 3-웨이 핸드세이킹 연결 과정을 진행토록 하는 단계를 포함하여 이루어진 것을 특징으로 한다. The present invention also provides a method for establishing a TCP / IP session using a SIP in a communication system, wherein the calling wireless terminal connected to a network server communicates through a SIP server. When the access request information is transmitted, including the identification number of the called-party wireless mobile terminal not connected to the network server, the network server registers the terminal location based on the identification number of the called-side wireless mobile terminal through the SIP server. Obtaining location information of the called-party wireless mobile terminal by inquiring; 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 called wireless mobile terminal through the SIP server by using; And when the called-party wireless mobile terminal is assigned an IP address from an IP address assignment means, generates an OK message in response to the invite message, and transmits an OK message to the network server through the SIP server. OK) The network server receiving the message generates an ACK message and transmits it to the called wireless mobile terminal through the SIP server, and the called wireless terminal sets the TCP port number and the TPC / IP session. And a three-way handshaking connection process for establishing a peer-to-peer TPC / IP session with one of the network server and the calling terminal using the information indicating that the request is required. Characterized in that made.

또한, 본 발명은, 통신 시스템에서 에스아이피(SIP)를 이용하여 티씨피/아이피(TCP/IP) 세션을 설정하는 방법에 있어서, 확장 에스아이피(SIP)를 이용하여 발신을 시도하는 발신측 무선 이동 단말기가 IP 주소할당수단으로부터 IP주소를 할당받아, 상기 할당된 IP주소와 착신측 무선 이동 단말기의 식별번호, 상기 발신측 무선 이동 단말기에서 구동되는 어플리케이션의 TCP 포트 번호 및 티씨피/아이피(TCP/IP) 세션설정 정보를 포함하는 인바이트(INVITE) 메시지를 생성하여 SIP 서버로 전송하면, 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 식별번호에 기초하여 단말기 위치등록수단으로 조회하여 상기 착신측 무선 이동 단말기의 위치정보를 획득하는 단계; 및 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 위치정보를 바탕으로 상기 인바이트 메시지를 상기 착신측 무선 이동 단말기로 전송하여, 상기 착신측 무선 이동 단말기가 상기 IP 주소할당수단으로부터 IP주소를 할당받고, 상기 인바이트 메시지에 포함된 상기 발신측 무선 이동 단말기의 IP주소와 TCP 포트 번호 및 티씨피/아이피 세션설정 정보를 이용하여, 상기 발신측 무선 이동 단말기와 피어투피어 방식의 티씨피/아이피 세션을 설정하기 위한 3-웨이 핸드세이킹 연결 과정으로 진행토록 하는 단계를 포함하여 이루어진 것을 특징으로 한다. The present invention also provides a method for establishing a TCP / IP session using a SIP in a communication system, wherein the calling party attempts to make a call using an extended SIP. The mobile terminal is assigned an IP address from the IP address assignment means, the assigned IP address, the identification number of the called wireless mobile terminal, the TCP port number of the application running in the calling wireless mobile terminal, and TCP / IP (TCP). / IP) When an INVITE message including session setup information is generated and transmitted to a SIP server, the SIP server inquires to a terminal location registration means based on an identification number of the called party's wireless mobile terminal. Obtaining location information of the wireless mobile terminal; And the SIP server transmits the invite message to the called wireless mobile terminal based on the location information of the called wireless mobile terminal, so that the called wireless mobile terminal is assigned an IP address from the IP address assignment means. A peer-to-peer type TIP / IP session with the originating wireless terminal using IP address, TCP port number, and TPC / IP session setting information of the originating wireless mobile terminal included in the invite message. It characterized in that it comprises a step to proceed to the 3-way handshaking connection process for setting the.

또한, 본 발명은, 통신 시스템에서 에스아이피(SIP)를 이용하여 티씨피/아이피(TCP/IP) 세션을 설정하는 방법에 있어서, 확장 에스아이피(SIP)를 이용하여 발신을 시도하는 발신측 무선 이동 단말기가 IP 주소할당수단으로부터 IP주소를 할당받아, 상기 할당된 IP주소와 착신측 무선 이동 단말기의 식별번호, 상기 발신측 무선 이동 단말기에서 구동되는 어플리케이션의 TCP 포트 번호 및 티씨피/아이피(TCP/IP) 세션설정 정보를 포함하는 인바이트(INVITE) 메시지를 생성하여 SIP 서버로 전송하면, 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 식별번호에 기초하여 단말기 위치등록수단으로 조회하여 상기 착신측 무선 이동 단말기의 위치정보를 획득하는 단계; 및 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 위치정보를 바탕으로 상기 인바이트 메시지를 상기 착신측 무선 이동 단말기로 전송하여, 상기 착신측 무선 이동 단말기가 상기 IP 주소할당수단으로부터 IP주소를 할당받고, 상기 인바이트 메시지에 대한 응답으로, 상기 할당된 자신의 IP주소와 상기 발신측 무선 이동 단말기의 식별번호, 상기 착신측 무선 이동 단말기에서 구동되는 어플리케이션의 TCP 포트 번호 및 티씨피/아이피(TCP/IP) 세션설정 정보를 포함하는 오케이(OK) 메시지를 생성하여 상기 SIP 서버를 통해 상기 발신측 무선 이동 단말기로 전송토록 하며, 상기 발신측 무선 이동 단말기가 상기 오케이(OK) 메시지에 포함된 상기 착신측 무선 이동 단말기의 IP주소와 TCP 포트 번호 및 티씨피/아이피 세션설정 정보를 이용하여, 상기 착신측 무선 이동 단말기와 피어투피어 방식의 티씨피/아이피 세션을 설정하기 위한 1-웨이 핸드세이킹 연결 과정으로 진행토록 하는 단계를 포함하여 이루어진 것을 특징으로 한다. The present invention also provides a method for establishing a TCP / IP session using a SIP in a communication system, wherein the calling party attempts to make a call using an extended SIP. The mobile terminal is assigned an IP address from the IP address assignment means, the assigned IP address, the identification number of the called wireless mobile terminal, the TCP port number of the application running in the calling wireless mobile terminal, and TCP / IP (TCP). / IP) When an INVITE message including session setup information is generated and transmitted to a SIP server, the SIP server inquires to a terminal location registration means based on an identification number of the called party's wireless mobile terminal. Obtaining location information of the wireless mobile terminal; And the SIP server transmits the invite message to the called wireless mobile terminal based on the location information of the called wireless mobile terminal, so that the called wireless mobile terminal is assigned an IP address from the IP address assignment means. In response to the invite message, the assigned own IP address, the identification number of the originating wireless mobile terminal, the TCP port number of the application running on the called-party wireless mobile terminal, and TCP / IP (TCP / IP) generates an OK message including session setup information and transmits it to the calling party's wireless mobile terminal through the SIP server, and the called party's wireless mobile terminal includes the called message included in the OK message. The called party radio using the IP address, TCP port number, and TPC / IP session setting information of the Including the step of ever goes to 1-way handshaking connection procedure for establishing a tee ssipi / IP session in a peer-to-peer with the same device characterized in that is made.

여기서, 상기 인바이트 메시지 및 상기 오케이 메시지에 포함된 티씨피/아이피 세션설정 정보는, 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 initialization sequence, an initialization sequence, It is configured to include an urgent point and a window size.

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

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

상술한 목적, 특징 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이며, 그에 따라 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명의 기술적 사상을 용이하게 실시할 수 있을 것이다. 또한, 본 발명을 설명함에 있어서 본 발명과 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에 그 상세한 설명을 생략하기로 한다. 이하, 본 발명의 바람직한 실시예들에 따른 통신단말기간의 피어투피어 방식의 서비스를 위해 확장 에스아이피(SIP)를 이용하여 티씨피/아이피(TCP/IP) 세션을 설정하는 방법들에 대하여 첨부된 도면을 참조하여 상세히 설명한다.The above objects, features and advantages will become more apparent from the following detailed description taken in conjunction with the accompanying drawings, whereby those skilled in the art may easily implement the technical idea of the present invention. There will be. In addition, in describing the present invention, when it is determined that the detailed description of the known technology related to the present invention may unnecessarily obscure the gist of the present invention, the detailed description thereof will be omitted. 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 은 본 발명에 따라 무선 이동 단말기간 피어투피어(Peer To Peer) 방식의 서비스를 위해 확장 에스아이피(SIP)를 이용하여 티씨피/아이피(TCP/IP) 세션을 설정하기 위한 네트워크 구조도이다.1 is a network structure diagram for establishing a TCP / IP session using an extended SIP for a peer-to-peer service between wireless mobile terminals according to the present invention. .

도 1을 참조하면, 본 발명의 제1 실시예의 네트워크는 SIP서버/PDSN(100)과 위치등록서버(200) 및 복수개의 무선 이동 단말기(10,20)를 포함하여 구성된다.Referring to FIG. 1, 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,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 TCP / IP session is established between the calling 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. Use it in the process. 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 program embedded in the wireless mobile terminals 10 and 20 and may be a multimedia communication support program that supports voice, games, and chat.

또한, 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. This is a server that allows users to perform 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 that interoperates 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 스택을 나타낸 설명도이다. 도 2를 참조하면, 본 발명에 따른 확장 SIP는 TCP/IP를 기반으로 하고 있으며, 본 발명에 따라 무선 이동 단말기(10,20)간에 피어투피어 방식의 서비스를 위하여 TCP/IP 세션을 설정하기 위한 추가정보를 포함할 수 있다. 일반적인 SIP 메시지와 본 발명에 따른 확장 SIP와의 관계를 좀 더 상세히 설명한다.2 is an explanatory diagram showing an extended SIP stack according to the present invention. Referring to FIG. 2, an extended SIP according to the present invention is based on TCP / IP, and a TCP / IP session is established 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, and REGISTER. And 6 methods of OPTION, and response message is 1xx (Informational), 2xx (Success), 3xx (Redirection), 4xx (Clint Error), 5xx (Sever Error), 6xx (Global Error) )

상기 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.

필드 필드 설명 비고 m 미디어 네임과 TCP 포트 번호 필수 i 미디어 타이틀 옵션 c 커넥션 정보 필수 b 대역폭 정보 옵션 k 암호 키(Encryption Key) 옵션 a 미디어 특성 옵션 본 발명에 따른 확장 SIP에 있어서, 단말기간 TCP/IP 세션 설정을 위한 정보는 상기 [표 1]에 기술된 미디어 기술부에 포함되는 것이 바람직하다. 따라서, 본 발명에 따른 확장 SIP는 기존의 SIP를 변경하지 않고 메시지 바디의 미디어 기술부에 무선 이동 단말기(10,20)의 TCP/IP 세션설정을 위한 정보를 추가한 구조가 된다. 미디어 기술부에 무선 이동 단말기(10,20)간 TCP/IP 세션 설정을 위한 정보가 기술되는 구체적인 예는 하기에서 보다 상세하게 설명하기로 한다. field Field description Remarks m Media Name and TCP Port Number necessary i Media title option c Connection Information necessary b Bandwidth information option k Encryption Key option a Media characteristics option In the extended SIP according to the present invention, 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 more detail below.

삭제delete

본 발명에 따라 확장 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) when establishing a TCP / IP session between a wireless mobile terminal and a wireless mobile terminal, and (2) accessing the wireless mobile terminal and the Internet. When establishing a TCP / IP session between a fixed terminal (for example, a personal computer or a server providing a specific application service), (3) the wireless mobile terminal dials out through a network server to establish a TCP / IP session with another wireless mobile terminal. In case of establishing a session, (4) when establishing a TCP / IP session between wireless mobile terminals by performing SIP handshaking in a 1-way manner using an extended SIP, (5) a wireless mobile terminal. In some periods, two-way SIP handshaking may be used to set TCP / IP sessions to only one-way handshaking instead of three-way handshaking. Can be.

이하, 본 발명에 따라 무선 이동통신 시스템에서 확장 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 separately from the existing SIP.

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

발신자는 착신측 무선 이동 단말기(20)를 특정하기 위하여 SIP ID 대신에 착신측 무선 이동 단말기(20)의 전화번호를 입력하며, 이에 따라 발신측 무선 이동 단말기(10)는 착신측 무선 이동 단말기(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 10 determines the called party's wireless mobile terminal ( 20 generates an INVITE message including the telephone number and transmits it to the SIP server 100 (S101).

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

구분 필드 내용 시작라인 INVITE sip:82162202100@ktf.co.kr; user=phone SIP/2.0 메시지 헤더 Via SIP/2.0 UDP 100.101.102.103:5060 To sip:82162202100@ktf.co.kr; user=phone From sip:82114104500@sktelecom.com; user=phone Call-ID 10@100.101.102.103 Cseq 1 INVITE Subject This is TCP connection. Content-Type application/sdp Content-Length ... 메시지 바디 세션정보기술부 v 0 o 82114104500 2890844526 2890844526 IN IP4 100.101.102.103 s TCP connection c IN IP4 100.101.102.103 시간 기술부 t 0 0 미디어기술부 m application 49170 TCP chatting 상기 [표 2]를 참조하면, 시작라인의 'INVITE' 필드는 메시지가 인바이트 요청 메시지임을 나타내며, 'sip 82162202100@ktf.co.kr; user=phone SIP/2.0'는 발신자가 호 설정을 원하는 착신측 무선 이동 단말기(20)의 전화번호가 '016-220-2100'이고, SIP/2.0을 이용하여 착신측 무선 이동 단말기(20)와 호를 시도함을 표시한다. division field Contents Start line INVITE sip: 82162202100@ktf.co.kr; user = phone SIP / 2.0 Message header Via SIP / 2.0 UDP 100.101.102.103:5060 To sip: 82162202100@ktf.co.kr; user = phone From sip: 82114104500@sktelecom.com; user = phone Call-id 10@100.101.102.103 Cseq 1 INVITE Subject This is TCP connection. Content-Type application / sdp Content-length ... Message body Session Information Technology Department v 0 o 82114104500 2890844526 2890844526 IN IP4 100.101.102.103 s TCP connection c IN IP4 100.101.102.103 Time engineering department t 0 0 Media Technology Department m application 49170 TCP chatting Referring to [Table 2], the 'INVITE' field of the start line indicates that the message is a request message, 'sip 82162202100@ktf.co.kr; user = phone SIP / 2.0 'is a telephone number of the called party's wireless mobile terminal 20 to which the caller wants to set up a call,' 016-220-2100 ', and the called party's wireless mobile terminal 20 using SIP / 2.0. Indicates that a call is attempted.

삭제delete

여기서, '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 mobile terminal 10 is assigned by the calling user to the telephone number of the called party's wireless mobile 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 an invite message.

위치등록서버(200)가 착신측 무선 이동 단말기(20)의 전화번호를 SIP ID로 매핑하는 기능을 제공하는 경우, 발신측 무선 이동 단말기(10)는 별도의 SIP ID 변환 기능을 수행하지 않고 착신측 무선 이동 단말기(20)의 전화번호, 예를 들면 '82162202100'을 포함하는 인바이트 메시지를 생성할 수 있다.When the location registration server 200 provides a function of mapping the telephone 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. An invite message including a telephone number of the side 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. When the 'via' field is one in the message as shown in [Table 2], the 'via' field is associated with its own IP address. If two or more 'via' fields exist, the 'via' field (s) described earlier indicates the IP address and port number of the waypoint, and the last 'via' field indicates Indicate the IP address and port number. In [Table 2], since the 'via' field is one, the IP address and port number of the requester (that is, the originating wireless mobile terminal 10) requesting the invite request message are indicated. 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'는 상기의 시작라인에서 설명한 바와 같은 의미를 갖는다.In addition, the 'To' field indicates the responder of the invite request (ie, the called-party wireless mobile terminal 20), and includes' 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'임을 표시한다.Also, the 'From' field indicates the requestor of the invite message, and thus' 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)임을 나타내며, 동일한 호 아이디에 대하여 새로운 요청 메시지가 있는 경우 하나씩 증가된다.In addition, '10 @ 100.101.102.103 'in the' Call-ID 'field is the only ID generated by the calling party's mobile terminal 10 to distinguish the telephone call, and' 1 INVITE 'in the' Cseq 'field is the same. Call Sequence for Call ID (ie, '10 @ 100.101.102.103 '), which 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 세션설정 호임을 표시한다.In addition, the 'Subject' field is a request header indicating the nature of the call, so 'This is TCP connection' means 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'는 인바이트 메시지 바디의 길이를 나타낸다. In addition, '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)를 각각 나타낸다.Next, referring to the message body, the 'v' field of the session information description unit indicates a protocol version. 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." ". In addition, the 's' field indicates a session name. In addition, the 'c' field indicates connection information, '100.101.102.103' indicates the requestor who requested the message (that is, the IP address of the originating wireless mobile terminal 10), and the ' The t 'field indicates the time at which the session is activated, and the' m 'field of the media description unit indicates a media name and a TCP port number, 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, the session to be established between the wireless mobile terminals 10 and 20 by adding 'application 49170 TCP chatting' to the 'm' field of the message body is a peer-to-peer type TCP / IP session. Indicates. 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 client / server functions of TCP / IP, and the application programs implemented in the wireless mobile terminals 10 and 20 are the above protocols. It can communicate with the application program of the server or other wireless mobile terminal based on the 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. If the telephone number of the called-party wireless mobile terminal 20 is input through the interface provided to the user after the application is run, it is determined that the call is set up using the extended SIP according to the present invention.

따라서, 발신측 무선 이동 단말기(10)는 어플리케이션 프로그램이 구동 후에 사용자에게 제공되는 인터페이스를 통하여 착신측 무선 이동 단말기(20)의 전화번호가 입력되면 상기 [표 2]와 같이 구성되는 SIP 메시지(인바이트 메시지)를 생성하여 SIP 서버(100)와 설정된 경로를 통하여 전송하게 된다. Therefore, the calling party wireless mobile terminal 10 receives a SIP message configured as shown in [Table 2] when the telephone number of the called party wireless mobile terminal 20 is input through the interface provided to the user after the application program is driven. Byte 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). Subsequently, the SIP server 100 receiving the invite message extracts the telephone number (016-220-2100 in the example of Table 2) from the destination wireless mobile terminal 20 from the invite message. Requests location information of the called-party wireless mobile terminal 20 at 200. Then, the location registration server 200 obtains the location information of the terminal having the telephone number of 016-220-2100 with reference to the database managed by itself and transmits it to the SIP server 100 (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)는 옵션으로 설정될 수도 있다.Next, 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 ( S104). At this time, the SIP server / PDSN (100) generates a "100 Trying" message, which is a kind of 1xx (Informational) in response to the invite message, and sends it to the calling party's wireless mobile terminal (10) (S103). . In addition, the "100 Trying" message may be transmitted to the originating wireless mobile 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(100)와 PPP 연결 설정을 하고 PDSN(100)으로부터 IP주소를 할당받은 다음, 인바이트 메시지에 대한 응답으로 2xx(Success)의 일종인 "200 OK" 메시지를 생성하여 SIP서버(100)로 전송한다(S105). 이후에, SIP서버(100)는 발신측 무선 이동 단말기(10)로 "200 OK" 메시지를 포워딩한다(S106). 여기서, 상기 "200 OK" 메시지에는 해당 메시지를 생성한 착신측 무선 이동 단말기(20)의 IP주소가 포함되어 있다.Subsequently, the destination wireless mobile terminal 20 having received the INVITE message 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 'confirms that it is a request for establishing a peer-to-peer TCP / IP session from the calling-end wireless mobile terminal 10, 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 party's wireless mobile terminal 10, it establishes a PPP connection with the PDSN 100 and receives an IP address from the PDSN 100, In response to the message, it generates a "200 OK" message, which is a kind of 2xx (Success), and transmits the message to the SIP server 100 (S105). Thereafter, the SIP server 100 forwards the "200 OK" message to the calling-party wireless mobile terminal 10 (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).Thereafter, 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 the message to the SIP server 100 (S107). Then, the SIP server 100 receives the forwarding to the destination wireless mobile terminal 20 (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 receiving the SIP " ACK " message, the called party's wireless mobile terminal 20 receives 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 above). Using the IP address (ie, 100.101.102.103 in the example of Table 2) extracted from the caller's wireless mobile terminal 10 extracted from the " scene " for TCP / IP connection to the caller's wireless mobile terminal 10. SYN) " " packet to transmit the TCP / IP connection procedure (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 originating wireless mobile terminal 10 transmits a "SYN ACK" packet to the called wireless mobile terminal 20 in response to the "thin (SYN)" packet (S110). The mobile terminal 20 transmits the " ACK " packet to the calling wireless mobile terminal 10 in response to the " thin ACK " packet (S111). 20) TCP / IP session 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 exemplary embodiment of the present invention, the called-party wireless mobile terminal 20 receives information from the calling-party wireless mobile terminal 10 based on the information included in the 'm' field of the media description information in the invite message. Recognizing that a peer-to-peer type TCP / IP session is requested, and using the IP address of the originating radio mobile terminal 10 described in the 'c' field of the session information description portion of the invite message, the originating radio mobile terminal 10 and TCP / IP session connection process, and the TCP / IP session established through this process provides the user with a foundation for peer-to-peer chat service.

한편, 본 발명은 무선 이동 단말기(10)가 확장 SIP를 이용하여 무선 이동 단말기(20)간 TCP/IP 세션설정에 한정되지 않으며, 인터넷에 접속된 고정 단말기와도 상기에서 설명한 무선 이동 단말기(10,20)간 TCP/IP 설정과정과 유사한 과정을 통하여 TCP/IP 세션을 설정할 수 있다.In the present invention, the wireless mobile terminal 10 is not limited to the TCP / IP session establishment between the wireless mobile terminals 20 using the extended SIP, and the wireless mobile terminal 10 described above with the fixed terminal connected to the Internet. The TCP / IP session can be established through a process similar to the TCP / IP setup process.

이하, 무선 이동 단말기와 인터넷에 접속된 고정 단말기(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 the Internet 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 the Internet according to the present invention. A process of requesting a call for a TCP / IP session establishment from a fixed terminal 30 on the Internet is shown.

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

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

여기에서 발신측 무선 이동 단말기(10)가 생성하는 인바이트 메시지는 상기 [표 2]에서 설명한 인바이트 메시지와 마찬가지의 구조를 갖는다. 다만, 인터넷에 접속되는 고정 단말기(30)의 식별번호는 SIP가 지원하는 SIP 유알엘(URL : Uniform Resource Locator) 또는 E.164 방식의 번호체계를 따를 수 있다. Here, the invite message generated by the calling party's wireless mobile 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 may follow a SIP Uniform Resource Locator (URL) or an E.164 type numbering system supported by SIP.

다만, 도 3의 실시예에 있어서는, 상기 도 1에서 설명한 무선 이동 단말기(10,20)간에 TCP/IP 세션설정의 경우와 동일하게 E.164방식의 번호체계를 따르는 경우에 한하여 설명한다. E.164 방식의 번호체계에 따라서 착신측 고정 단말기(30)를 호출하는 경우에는 무선 이동 단말기(10,20)간의 TCP/IP 세션설정 과정에서의 착신 무선 이동 단말기(20)의 위치 정보를 획득하는 단계가 생략될 수 있다.However, the embodiment of FIG. 3 will be described only in 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 a message from the calling party's mobile terminal 10 having the IP address described in the field 'c' 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. At this time, 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 (S304). In step S305, the SIP server 100 forwards the message "200 OK" to the originating wireless mobile terminal 10. Here, the '200 OK' message includes the IP of the called party's fixed terminal 30.

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

다음으로, 착신측 고정 단말기(30)는 발신측 무선 이동 단말기(10)가 생성하여 SIP서버/PDSN(100)을 통하여 전송한 인바이트 메시지에 포함된 착신측 무선 이동 단말기(10)의 IP주소를 이용하여 발신측 무선 이동 단말기(10)로 TCP/IP 연결을 위한 "SYN" 패킷을 전송함으로써 TCP/IP 연결과정을 진행한다(S308). 이때, TCP/IP 연결과정에서는 상기 도 1에서 설명한 바와 같이 3-웨이 핸드세이킹 방식이 사용된다.Next, the called party fixed terminal 30 is 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 server / PDSN 100. 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 by using S308. At this time, 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 peer-to-peer service between a fixed terminal and a wireless mobile terminal of the Internet according to the present invention, wherein the fixed terminal 30 is a wireless mobile communication network. The process of requesting a call for establishing a TCP / IP session to the called-party wireless mobile terminal 10 in FIG.

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

여기에서 발신측 고정 단말기(30)가 생성하는 인바이트 메시지는 상기 [표 2]에서 설명한 인바이트 메시지와 마찬가지의 구조를 가지며, 메시지 바디의 세션정보기술부의 'c'필드에 발신측 고정 단말기(30)의 IP주소가 기술되고, 미디어기술부의 'm'필드에 예를 들면 상기 [표 2]의 'application 49170 TCP chatting'과 같이 어플리케이션의 TCP 포트 번호와 요청 호의 미디어 이름이 기술된다. 그리고, 인터넷에 접속되는 고정 단말기(30)의 식별번호는 SIP가 지원하는 SIP 유알엘(URL) 또는 E.164방식의 번호 체계를 따를 수 있으며, 다만 도 4의 실시예에 있어서는 상기 도 1에서 설명한 무선 이동 단말기(10,20)간 TCP/IP 세션설정의 경우와 동일하게 E.164 번호체계를 따르는 경우에 한하여 설명한다.Here, 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 (" c " 30) 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 may follow a SIP URL or an E.164 type number system supported by the SIP. However, in the embodiment of FIG. The following description will be given only in the case of following the E.164 numbering system as in the case of establishing a TCP / IP session between the wireless mobile terminals 10 and 20.

상기 인바이트(INVITE) 메시지를 수신한 착신측 무선 이동 단말기(10)는 인바이트 메시지의 세션 정보 기술부의 'c'필드에 기술된 IP주소를 가진 발신측 고정 단말기(30)로부터 미디어기술부의 'm'필드에 기술된 바와 같이 피어투피어 방식의 TCP/IP 세션의 설정 요청임을 확인하고, 호 수락 여부를 결정한다. 이때, 착신측 무선 이동 단말기(10)는 발신측 고정 단말기(30)의 호 설정 요청을 수락하는 경우에, PDSN(100)과 PPP 연결 설정을 한 다음에 PDSN(100)으로부터 IP주소를 할당받고, 인바이트 메시지에 대한 응답으로 "200 OK" 메시지를 생성하여 SIP서버(100)로 전송하면(S405), SIP서버(100)는 "200 OK" 메시지를 발신측 고정 단말기(30)로 포워딩한다(S406). 여기서, '200 OK'메시지에는 착신측 무선 이동 단말기(10)의 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. At this time, 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 100 and receives an IP address from the PDSN 100. When a "200 OK" message is generated and transmitted to the SIP server 100 in response to the invite message (S405), the SIP server 100 forwards the "200 OK" message to the calling station's fixed terminal 30. (S406). Here, the '200 OK' message includes the IP address of the called party's wireless mobile terminal 10.

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

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

도 5 는 본 발명에 따라 확장 SIP를 이용하여 무선 이동 단말기간 아웃 다이얼링 기능을 통하여 TCP/IP 세션을 설정하기 위한 네트워크 구조도이다. 도 5를 참조하면, 무선 이동 단말기(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 FIG. 5, 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. 1. .

상기 네트워크 서버(300)는 자신과 접속(로그-온; Log-On)된 발신측 무선 이동 단말기(10)가 자신과 접속되지 않은(로그-오프; Log-Off) 착신측 무선 이동 단말기(20)와 TCP/IP 세션설정을 위한 통신을 원할 때 아웃 다이얼링(Out-Dialing) 기능을 통해서 착신측 무선 이동 단말기(20)에게 접속 여부를 확인하는 서버이다. 네트워크 서버(300)는 무선 이동 단말기(10,20)와 접속하여 온라인 게임 또는 채팅 서비스를 제공하는 서버인 것이 보다 바람직하지만, 이에 한정되는 것은 아니다. The network server 300 is a called-side wireless mobile terminal 20 to which the calling-party wireless mobile terminal 10 connected (log-on) is not connected (log-off). And a server for checking the connection to the destination wireless mobile terminal 20 through an out-dialing function when communication for establishing a TCP / IP session is desired. The network server 300 is more 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에서 설명한 것과 유사한 기능을 수행한다.Here, the out-dialing function refers to a call with the called party wireless mobile terminal 20 using the extended SIP instead of the calling party wireless mobile terminal 10 in response to a call setup request from the calling wireless mobile terminal 10. It means to perform the setting process. 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 based on the established TCP / IP session. In step S501, the SIP server 100 forwards the access request message to the called-side wireless mobile terminal 20 to the network server 300 (S502). In this case, it is preferable that the connection 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 (S503). Here, the invite message has the same structure as the invite message described in [Table 2] above, the IP address of the network server 300 is described in the 'c' field of the session information description portion of the message body, and the media description portion In the 'm' field, for example, the TCP port number of the application and the media name of the request call are described, such as 'application 49170 TCP chatting' in [Table 2].

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

착신측 무선 이동 단말기(20)가 인바이트 메시지의 세션정보기술부의 'c'필드와 미디어 기술부의 'm'필드를 해독하여 'c'필드에 기술된 IP 주소를 가진 네트워크 서버(300)로부터 피어투피어 방식의 TCP/IP 세션의 설정요청이 있음을 확인하고 네트워크 서버(300)와의 접속을 수락하는 경우에는, 착신측 무선 이동 단말기(20)는 PDSN(100)과 PPP 연결을 맺은 후에 PDSN(100)으로부터 IP주소를 할당받고 인바이트 메시지에 대한 응답으로 "200 OK" 메시지를 생성하여 SIP서버(100)로 전송하며(S507), SIP서버(100)는 이를 네트워크 서버(300)로 포워딩한다(S508). 여기서, "200 OK" 메시지에는 착신측 무선 이동 단말기(20)의 IP 주소가 포함되어 있다.The destination wireless mobile terminal 20 decodes the 'c' field of the session information technology section and the 'm' field of the media description section of the invite message and peers from the network server 300 having the IP address described in the 'c' field. When confirming that there is a request for setting up a two-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 100 and then establishes a PDSN ( IP address from 100) generates a "200 OK" message in response to the invite message and transmits it to the SIP server 100 (S507), the SIP server 100 forwards it to the network server 300. (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).Next, the network server 300 generates an "ACK" message in response to the "200 OK" message and transmits it to the SIP server 100 (S509), and the SIP server 100 transmits the message to the called party wirelessly. Forward to the mobile terminal 20 (S510).

이어서, "애크(ACK)" 메시지를 수신한 착신측 무선 이동 단말기(20)는 네트워크 서버(300)가 전송한 인바이트 메시지에 포함된 네트워크 서버(300)의 IP 주소를 이용하여 네트워크 서버(300)로 TCP/IP 연결을 위한 "씬(SYN)" 패킷을 전송하여 TCP/IP 연결과정을 진행한다(S511). Subsequently, the called-party wireless mobile terminal 20 that receives the "ACK" message uses the IP address of the network server 300 included in the invite message transmitted by the network server 300 to display the network server 300. ) Transmits a "SYN" packet for the TCP / IP connection and proceeds with the TCP / IP connection (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 will be described in more detail as follows.

도 6 은 본 발명에 따라 무선 이동 단말기간 피어투피어 방식의 서비스를 위해 확장 SIP를 이용하여 아웃 다이얼링 기능을 통해 TCP/IP 세션을 설정하기 위한 네트워크 구조도이다.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.

도 6을 참조하면, 착신측 무선 이동 단말기(20)가 발신측 무선 이동 단말기(10)와 직접 피어투피어방식으로 TCP/IP 세션을 설정하는 단계 S601 내지 S610은 상기 도 5에서 설명한 단계 S501 내지 S510과 동일하다. Referring to FIG. 6, steps S601 to S610 in which the called-party wireless mobile terminal 20 establishes a TCP / IP session with the calling-party wireless mobile terminal 10 in a direct peer-to-peer manner are described in steps S501 to S610 described above with reference to FIG. 5. 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 채팅방식으로 변환하는 과정과 유사하다.At this time, 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, the network server through an application running on the wireless mobile terminal 10. The peer 300 requests 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 TCP / IP session establishment process with the called-party wireless mobile terminal 10 to the calling-party wireless mobile terminal 10. And transmits to the side 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, the "3-way handshaking" of the SIP message means 'INVITE' message, '200 OK' message, and 'ACK' message in order to transmit TCP / IP session setup information. This means that the SIP message is transmitted. In addition, "3-way handshaking" for a TCP / IP connection between terminals is a packet transmission in the order of 'SYN' packet, 'SYN ACK' packet, and 'ACK packet'. This means that it is done. However, given that radio resources are limited, the three-way handshaking process of the SIP message or the 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 extended SIP and performing a three-way handshaking in a TCP / IP connection process And 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 according to the present invention, and three-way handshaking in a TCP / IP connection process. This is a network structure diagram for establishing a TCP / IP session.

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

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

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

구분 필드 내용 메시지 바디 미디어기술부 m application 49170 TCP chatting a tcpinfo: initialize-sequence 123 a tcpinfo: urgent-point 0 a tcpinfo: window-size 16 상기 [표 3]에서, 필드'm'의 정보는 상기 [표 2]에서 설명한 것과 같이 발신측 무선 이동 단말기(10)에서 구동되는 어플리케이션의 TCP 포트 번호와 발신측 무선 이동 단말기(10)가 착신측 무선 이동 단말기(20)에게 요구한 호의 미디어 이름(Media name)을 나타낸다. division field Contents Message body Media Technology Department m application 49170 TCP chatting a tcpinfo: initialize-sequence 123 a tcpinfo: urgent-point 0 a tcpinfo: window-size 16 In the above [Table 3], the information of the field 'm' is received by the TCP port number of the application running in the originating wireless mobile terminal 10 and the originating wireless mobile terminal 10 as described in [Table 2]. Media name of the call requested to the side wireless mobile terminal 20 is shown.

삭제delete

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

상기 [표 3]에 나타낸 부가 정보는 무선 이동 단말기(10,20)간 직접 TCP/IP 세션을 설정하기 위한 부가정보를 예시한 것으로, 상기 예시의 경우에 한정되지 아니하며, TCP/IP 세션을 설정하기 위하여 다양하게 제공될 수 있음은 당업자에게 있어서 자명하다.The additional information shown in [Table 3] illustrates 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. It will be apparent to those skilled in the art that the present invention may be provided in various ways.

이때, 착신측 무선 이동 단말기(20)가 상기 인바이트 메시지의 세션정보기술부의 'c'필드와 미디어 기술부의 'm'필드를 해독하여 'c'필드에 기술된 IP 주소를 가진 발신측 무선 이동 단말기(10)로부터 피어투피어 방식의 TCP/IP 세션의 설정요청이 있음을 확인하고 발신측 무선 이동 단말기(10)와의 접속을 수락하는 경우에는, 착신측 무선 이동 단말기(20)는 PDSN(100)과 PPP 설정을 맺고, PDSN(100)으로부터 IP주소를 할당받은 후에, 발신측 무선 이동 단말기(10)로 TCP/IP 연결을 위한 "씬(SYN)" 패킷을 전송함으로써 TCP/IP 세션연결(Connection) 과정을 진행한다(S707). 이때, 상기 TCP/IP 연결 과정(S708)에서는 상기 도 1에서 설명한 바와 같이 3-웨이 핸드세이킹 방식이 사용된다.At this time, the called party's 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 terminal 10 confirms that there is a request for establishing a peer-to-peer TCP / IP session, and accepts the connection with the originating wireless mobile terminal 10, the called-party wireless mobile terminal 20 receives the PDSN (100). PPP configuration, and after receiving an IP address from PDSN 100, transmits a "thin (SYN)" packet for TCP / IP connection to originating wireless mobile terminal (10). Connection) process (S707). At this time, in the TCP / IP connection process (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 performed by this, and by using the extended SIP, TCP / IP between wireless mobile terminals 10 and 20 is changed by only changing the transmission of SIP messages to 1-way without changing the existing TCP / IP connection scheme. By enabling IP session setup, you can reduce the load on the network by reducing the number of SIP messages sent.

만일, 착신측 무선 이동 단말기(20)가 호 수락을 하지 못했을 경우에는, "리젝트(Reject)" 메시지 생성하여 SIP서버(100)로 전송하고(S705), SIP서버(100)는 이를 발신측 무선 이동 단말기(10)로 포워딩한다(S706).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 (S705), and the SIP server 100 sends it to the calling party. Forward to the wireless mobile terminal 10 (S706).

설정된 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 세션을 설정하기 위한 네트워크 구조도이다. 도 8을 참조하면, 발신측 무선 이동 단말기(10)는 통신을 위하여 PDSN(100)과 연결을 맺고 PDSN(100)으로부터 IP주소를 할당받은 후, 착신측 무선 이동 단말기(20)를 목적지로 하는 인바이트 메시지를 생성하여 SIP서버(100)로 인바이트 메시지를 전송한다(S801). 8 is a diagram illustrating a network structure for establishing a TCP / IP session in a 2-way manner by using an extended SIP for a peer-to-peer service between wireless mobile terminals according to the present invention. Referring to FIG. 8, the calling party's wireless mobile terminal 10 establishes a connection with the PDSN 100 and receives an IP address from the PDSN 100 for communication, and then uses the called party's wireless mobile terminal 20 as a destination. The invite message is generated and the invite message is transmitted to the SIP server 100 (S801).

이후, SIP서버(100)는 착신측 무선 이동 단말기(20)의 위치를 위치등록서버(200)를 통해 확인하고(S802), 인바이트 메시지에 대한 응답으로 "100 Trying"메시지 생성하여 이를 발신측 무선 이동 단말기(10)에게 전송한다(S803). 그리고, SIP서버(100)는 착신측 무선 이동 단말기(20)의 위치정보를 활용하여 데이터 버스트(Data Burst) 메시지 형태로 인바이트(INVITE) 메시지를 착신측 무선 이동 단말기(20)에게 포워딩한다(S804). 이때의 "100 Trying" 메시지는 옵션으로 설정할 수 있다. 여기에서, 인바이트 메시지는 상기 도 7과 관련하여 설명한 바와 같이 구성될 수 있다. Subsequently, the SIP server 100 checks the location of the called party's wireless mobile terminal 20 through the location registration server 200 (S802), and generates a "100 Trying" message in response to the invite message and sends the message to the calling party. It transmits to the wireless mobile terminal 10 (S803). In addition, 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 ( S804). At this time, the "100 Trying" message can 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(100)과 PPP 설정을 맺고 PDSN(100)으로부터 IP주소를 할당받은 후에 TCP/IP 정보를 실은 확장 SIP 메시지(즉, "200 OK" 메시지)를 생성하여 이를 SIP서버(100)로 전송한다(S805). 이후에, SIP서버(100)는 이를 발신측 무선 이동 단말기(10)에게로 포워딩한다(S806). 만일, 착신측 무선 이동 단말기(20)가 호 수락을 하지 않는 경우에는, "리젝트(Reject)" 메시지를 생성하여 SIP서버(100)로 전송하고 SIP서버/PDSN(100)은 이를 발신측 무선 이동 단말기(10)로 포워딩한다. 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 has an IP address described in the 'c' field. When confirming that there is a request for establishing a peer-to-peer type TCP / IP session from the calling party's mobile terminal 10 and accepting a call, the called party's mobile terminal 20 establishes a PPP configuration with the PDSN 100. After receiving the IP address from the PDSN 100, an extended SIP message (ie, a "200 OK" message) carrying TCP / IP information is generated and transmitted to the SIP server 100 (S805). Thereafter, the SIP server 100 forwards it to the calling party's wireless mobile terminal 10 (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 server / PDSN 100 transmits it to the calling party radio. Forward to mobile terminal 10.

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

구분 필드 내용 시작라인 SIP/2.0 200 OK 메시지 헤더 Via SIP/2.0/UDP proxy.sktelecom.com:5060 Via SIP/2.0/UDP 100.101.102.103 To sip:82162202100@ktf.co.kr; user=phone From sip:82114104500@sktelecom.com; user=phone Call-ID 10@100.101.102.103 Cseq 1 INVITE Subject This is TCP connection. Contact sip:82162202100@ktf.co.kr Content-Type application/sdp Content-Length ... 메시지 바디 v 0 o 82162202100 2890844526 2890844526 IN IP4 200.201.202.203 s TCP connection c IN IP4 200.201.202.203 t 0 0 m application 32170 TCP chatting a tcpinfor:initialize-sequence 164 a tcpinfor:urgent-point 0 a tcpinfor: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 세션 설정을 하게 된다. division field Contents Start line SIP / 2.0 200 OK Message header Via SIP / 2.0 / UDP proxy.sktelecom.com:5060 Via SIP / 2.0 / UDP 100.101.102.103 To sip: 82162202100@ktf.co.kr; user = phone From sip: 82114104500@sktelecom.com; user = phone Call-id 10@100.101.102.103 Cseq 1 INVITE Subject This is TCP connection. Contact sip: 82162202100@ktf.co.kr Content-Type application / sdp Content-length ... Message body v 0 o 82162202100 2890844526 2890844526 IN IP4 200.201.202.203 s TCP connection c IN IP4 200.201.202.203 t 0 0 m application 32170 TCP chatting a tcpinfor: initialize-sequence 164 a tcpinfor: urgent-point 0 a tcpinfor: window-size 16 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 (ie, FIG. 7). Information using the above-described information), and the calling-party wireless mobile terminal 20 uses the information for establishing a TCP / IP session in the "200 OK" message generated by the called-party wireless mobile terminal 20 (that is, [Table 4]. ], The IP address of the called party's wireless mobile terminal 20 described in the 'c' field of the message body, the TCP port number '32170' in the 'm' field, and the initialization sequence number '123' in the 'a' field. The agent point '0' and window size '16') are used to establish a TCP / IP session.

삭제delete

상기 무선 이동 단말기(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) " packet is transmitted to the destination wireless mobile terminal 20 to establish a TCP / IP session between the wireless mobile terminals 10 and 20 (S807).

이로써, 확장 SIP 메시지(즉, 인바이트 메시지와 오케이 메시지)에 무선 이동 단말기(10,20)간 TCP/IP 세션설정 정보를 같이 실어 보내어 TCP/IP 연결을 위한 3-웨이 핸드세이킹을 하지 않고 1-웨이 핸드세이킹만으로 TCP/IP 세션의 설정이 가능하게 된다. 따라서, 본 발명에 따른 확장 SIP메시지의 2-웨이 방식을 사용하는 경우, 확장 SIP 메시지는 2-웨이 방식으로 전송되고, TCP/IP 연결 과정은 1-웨이 방식으로 진행되어 기존의 방식에 비하여 링크지연이 줄어들게 되어 TCP/IP 연결설정 시간이 줄어든다.상술한 바와 같은 본 발명의 방법은 프로그램으로 구현되어 컴퓨터로 읽을 수 있는 형태로 기록매체(씨디롬, 램, 롬, 플로피 디스크, 하드 디스크, 광자기 디스크 등)에 저장될 수 있다. 이러한 과정은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있으므로 더 이상 상세히 설명하지 않기로 한다.In this way, TCP / IP session establishment information between the wireless mobile terminals 10 and 20 can be sent together in an extended SIP message (ie, an invite message and an ok message), without performing 3-way handshaking for the TCP / IP connection. Only one-way handshaking is available to establish a TCP / IP session. 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, so that the link is compared with the conventional method. The delay is reduced and the TCP / IP connection setup time is reduced. The method of the present invention as described above is implemented as a program, and can be recorded in a computer-readable form on a recording medium (CD-ROM, RAM, ROM, floppy disk, hard disk, magneto-optical). Disk, etc.). Since this process can be easily implemented by those skilled in the art will not be described in more detail.

이상에서 설명한 본 발명은, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하므로 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니다.The present invention described above is capable of various substitutions, modifications, and changes without departing from the technical spirit of the present invention for those skilled in the art to which the present invention pertains. It is not limited by the drawings.

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

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

또한, 본 발명은 확장 SIP 메시지에 TCP/IP 세션설정을 위한 정보를 같이 실어보내어 3-웨이 핸드세이킹을 하지 않고 2-웨이 또는 1-웨이 방식으로 TCP/IP 세션을 설정함으로써, 네트워크상의 과부하를 줄이며, 신속하게 TCP/IP 커넥션을 설정할 수 있는 효과가 있다. In addition, the present invention loads the information for TCP / IP session establishment in the extended SIP message together to establish a TCP / IP session in a two-way or one-way manner without 3-way handshaking, thereby overloading the network This can reduce the number of packets and quickly establish a TCP / IP connection.

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

도 2 는 본 발명에 따른 확장 SIP 스택을 나타낸 설명도,2 is an explanatory diagram showing an extended SIP stack according to the present invention;

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

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

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

도 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 세션을 설정하기 위한 네트워크 구조도,7 is a diagram illustrating a network structure for establishing a TCP / IP session in a one-way manner using an 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

Claims (13)

통신 시스템에서 에스아이피(SIP)를 이용하여 티씨피/아이피(TCP/IP) 세션을 설정하는 방법에 있어서, In the method for establishing a TCP / IP session using a SIP in a communication system, 확장 에스아이피(SIP)를 이용하여 발신을 시도하는 발신측 무선 이동 단말기가 아이피(IP) 주소할당수단으로부터 IP주소를 할당받아, 상기 할당된 IP주소와 착신측 무선 이동 단말기의 식별번호, 상기 발신측 무선 이동 단말기에서 구동되는 어플리케이션의 TCP 포트 번호 및 티씨피/아이피(TCP/IP) 세션설정이 요구됨을 나타내는 정보를 포함하는 인바이트(INVITE) 메시지를 생성하여 SIP 서버로 전송하면, 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 식별번호에 기초하여 단말기 위치등록수단으로 조회하여 상기 착신측 무선 이동 단말기의 위치정보를 획득하는 단계; 및 An originating wireless mobile terminal attempting to originate using an extended SIP receives an IP address from an IP address assignment means, the assigned IP address, an identification number of the called wireless terminal, and the originating call. When generating an INVITE message including a TCP port number of an application running in the wireless mobile terminal and information indicating that a TCP / IP session is required, the SIP server is transmitted to the SIP server. Acquiring, by the terminal location registration means, the location information of the called party wireless mobile terminal based on the identification number of the called party wireless mobile terminal; And 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 위치정보를 바탕으로 상기 인바이트 메시지를 상기 착신측 무선 이동 단말기로 전송하여, The SIP server transmits the invite message to the called party's wireless mobile terminal based on the location information of the called party's wireless mobile terminal. 상기 착신측 무선 이동 단말기가 상기 IP 주소할당수단으로부터 IP주소를 할당받고, 상기 인바이트 메시지에 대한 응답으로 오케이(OK) 메시지를 생성하여 상기 SIP 서버를 통해 상기 발신측 무선 이동 단말기로 전송토록 하며, The destination wireless mobile terminal is assigned an IP address from the IP address assignment means, generates an OK message in response to the invite message, and transmits the message to the calling party wireless mobile terminal through the SIP server. , 상기 오케이(OK) 메시지를 수신한 상기 발신측 무선 이동 단말기가 애크(ACK) 메시지를 생성하여 상기 SIP 서버를 통해 상기 착신측 무선 이동 단말기에게 전송토록 하며, The originating wireless mobile terminal receiving the OK message generates an ACK message and transmits it to the called wireless mobile terminal through the SIP server. 상기 착신측 무선 이동 단말기가 상기 인바이트 메시지에 포함된 상기 발신측 무선 이동 단말기의 IP주소와 TCP 포트 번호 및 티씨피/아이피 세션설정이 요구됨을 나타내는 정보를 이용하여, 상기 발신측 무선 이동 단말기와 피어투피어 방식의 티씨피/아이피 세션을 설정하기 위한 3-웨이 핸드세이킹 연결 과정으로 진행토록 하는 단계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. Steps to proceed to 3-way handshaking process for establishing peer-to-peer TPC / IP session 를 포함하는 통신단말기간의 피어투피어 방식의 서비스를 위한 확장 에스아이피를 이용한 티씨피/아이피 세션 설정 방법.Method of establishing a TCP / IP session using an extended SIP for a peer-to-peer service of a communication terminal period comprising a. 통신 시스템에서 에스아이피(SIP)를 이용하여 티씨피/아이피(TCP/IP) 세션을 설정하는 방법에 있어서, In the method for establishing a TCP / IP session using a SIP in a communication system, 확장 에스아이피(SIP)를 이용하여 발신을 시도하는 발신측 무선 이동 단말기가 아이피(IP) 주소할당수단으로부터 IP주소를 할당받아, 상기 할당된 IP주소와, 유선통신망에 접속된 착신측 고정 단말기의 식별번호, 상기 발신측 무선 이동 단말기에서 구동되는 어플리케이션의 TCP 포트 번호 및 티씨피/아이피(TCP/IP) 세션설정이 요구됨을 나타내는 정보를 포함하는 인바이트(INVITE) 메시지를 생성하여 SIP 서버로 전송하면, 상기 SIP 서버가 상기 착신측 고정 단말기의 식별번호를 바탕으로 상기 인바이트 메시지를 상기 착신측 고정 단말기로 전송하여, An originating wireless mobile terminal attempting to make a call using an extended SIP receives an IP address from an IP address assignment means, and assigns the allocated IP address to the called stationary terminal connected to the wired communication network. Generate and transmit an INVITE message including an identification number, a TCP port number of an application running in the calling wireless mobile terminal, and information indicating that a TCP / IP session is required to be sent to the SIP server. The SIP server transmits the invite message to the called stationary terminal based on the identification number of the called stationary terminal. 상기 착신측 고정 단말기가 상기 인바이트 메시지에 대한 응답으로 오케이(OK) 메시지를 생성하여 상기 SIP 서버를 통해 상기 발신측 무선 이동 단말기로 전송토록 하고, The called party fixed terminal generates an OK message in response to the invite message, and transmits it to the calling party wireless mobile terminal through the SIP server. 상기 오케이(OK) 메시지를 수신한 상기 발신측 무선 이동 단말기가 애크(ACK) 메시지를 생성하여 상기 SIP 서버를 통해 상기 착신측 고정 단말기에게 전송토록 하며, The originating wireless mobile terminal receiving the OK message generates an ACK message and transmits it to the called party's fixed terminal through the SIP server. 상기 착신측 고정 단말기가 상기 인바이트 메시지에 포함된 상기 발신측 무선 이동 단말기의 IP주소와 TCP 포트 번호 및 티씨피/아이피 세션설정이 요구됨을 나타내는 정보를 이용하여, 상기 발신측 무선 이동 단말기와 피어투피어 방식의 티씨피/아이피 세션을 설정하기 위한 3-웨이 핸드세이킹 연결 과정으로 진행토록 하는 것을 특징으로 하는 통신단말기간의 피어투피어 방식의 서비스를 위한 확장 에스아이피를 이용한 티씨피/아이피 세션 설정 방법.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. TPC / IP session using extended SIP for peer-to-peer service of communication terminal period, characterized by proceeding to 3-way handshaking connection process for establishing two-peer TPC / IP session How to set up. 통신 시스템에서 에스아이피(SIP)를 이용하여 티씨피/아이피(TCP/IP) 세션을 설정하는 방법에 있어서, In the method for establishing a TCP / IP session using a SIP in a communication system, 유선통신망에 접속된 고정 단말기가 자신의 IP주소와, 착신측 무선 이동 단말기의 식별번호, 발신측 고정 단말기에서 구동되는 어플리케이션의 TCP 포트 번호 및 티씨피/아이피(TCP/IP) 세션설정이 요구됨을 나타내는 정보를 포함하는 인바이트(INVITE) 메시지를 생성하여 SIP 서버로 전송하면, 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 식별번호에 기초하여 단말기 위치등록수단으로 조회하여 상기 착신측 무선 이동 단말기의 위치정보를 획득하는 단계; 및The fixed terminal connected to the wired network is required to set its own IP address, the identification number of the called wireless mobile terminal, the TCP port number of the application running on the calling terminal, and the TCP / IP session setup. When an INVITE message including information indicating the information is generated and transmitted to the SIP server, the SIP server inquires to the terminal location registration means based on the identification number of the called-party wireless mobile terminal, Obtaining location information; And 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 위치정보를 바탕으로 상기 인바이트 메시지를 상기 착신측 무선 이동 단말기로 전송하여, The SIP server transmits the invite message to the called party's wireless mobile terminal based on the location information of the called party's wireless mobile terminal. 상기 착신측 무선 이동 단말기가 IP 주소할당수단으로부터 IP주소를 할당받고, 상기 인바이트 메시지에 대한 응답으로 오케이(OK) 메시지를 생성하여 상기 SIP 서버를 통해 상기 발신측 고정단말기로 전송토록 하며, The destination wireless mobile terminal is assigned an IP address from an IP address assignment means, generates an OK message in response to the invite message, and transmits the message to the calling party's fixed terminal through the SIP server. 상기 오케이(OK) 메시지를 수신한 상기 발신측 고정 단말기가 애크(ACK) 메시지를 생성하여 상기 SIP 서버를 통해 상기 착신측 무선 이동 단말기에게 전송토록 하며, The originating stationary terminal receiving the OK message generates an ACK message and transmits it to the called party's wireless mobile terminal through the SIP server. 상기 착신측 무선 이동 단말기가 상기 인바이트 메시지에 포함된 상기 발신측 고정 단말기의 IP주소와 TCP 포트 번호 및 티씨피/아이피 세션설정이 요구됨을 나타내는 정보를 이용하여, 상기 발신측 고정 단말기와 피어투피어 방식의 티씨피/아이피 세션을 설정하기 위한 3-웨이 핸드세이킹 연결 과정으로 진행토록 하는 단계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. Steps to proceed to 3-way handshaking connection for establishing peer-to-peer IP / IP session 를 포함하는 통신단말기간의 피어투피어 방식의 서비스를 위한 확장 에스아이피를 이용한 티씨피/아이피 세션 설정 방법.Method of establishing a TCP / IP session using an extended SIP for a peer-to-peer service of a communication terminal period comprising a. 통신 시스템에서 에스아이피(SIP)를 이용하여 티씨피/아이피(TCP/IP) 세션을 설정하는 방법에 있어서, In the method for establishing a TCP / IP session using a SIP in a communication system, 네트워크 서버에 통신 접속된 발신측 무선 이동 단말기가 SIP 서버를 통해 상기 네트워크 서버에게 접속되지 않은 착신측 무선 이동 단말기의 식별번호를 포함하여 접속요청정보를 전송하면, 상기 네트워크 서버가 상기 SIP 서버를 통해 상기 착신측 무선 이동 단말기의 식별번호에 기초하여 단말기 위치등록수단으로 조회하여 상기 착신측 무선 이동 단말기의 위치정보를 획득하는 단계;When the calling wireless mobile terminal communicating with the network server transmits the access request information including the identification number of the called wireless mobile terminal which is not connected to the network server through the SIP server, the network server transmits the request through the SIP server. Obtaining location information of the called party's wireless mobile terminal by querying the terminal location registration unit based on the identification number of the called party's wireless mobile terminal; 상기 네트워크 서버가 상기 착신측 무선 이동 단말기의 식별번호와 어플리케이션의 TCP 포트 번호 및 티씨피/아이피 세션설정이 요구됨을 나타내는 정보를 포함하는 인바이트 메시지를 생성하고, 상기 인바이트 메시지를 상기 위치정보를 이용하여 상기 SIP 서버를 통해 상기 착신 무선 이동 단말기로 전송하는 단계; 및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 called wireless mobile terminal through the SIP server by using; And 상기 착신측 무선 이동 단말기가 IP 주소할당수단으로부터 IP 주소를 할당받고, 상기 인바이트 메시지에 대한 응답으로 오케이(OK) 메시지를 생성하여 상기 SIP 서버를 통해 상기 네트워크 서버로 전송하면, 상기 오케이(OK) 메시지를 수신한 네트워크 서버가 애크(ACK) 메시지를 생성하여 상기 SIP 서버를 통해 상기 착신측 무선 이동 단말기에게 전송하여, When the called-party wireless mobile terminal is assigned an IP address from an IP address assignment means, generates an OK message in response to the invite message, and transmits the message to the network server through the SIP server, the OK message is transmitted. The network server receiving the message generates an ACK message and transmits the ACK message to the called wireless mobile terminal through the SIP server. 상기 착신측 무선 이동 단말기가 상기 TCP 포트 번호 및 티씨피/아이피 세션설정이 요구됨을 나타내는 정보를 이용하여, 상기 네트워크 서버 및 상기 발신측 단말기 중 어느 하나와 피어투피어 방식의 티씨피/아이피 세션을 설정하기 위한 3-웨이 핸드세이킹 연결 과정을 진행토록 하는 단계The called-party wireless mobile terminal establishes a peer-to-peer type TPC / IP session with one of the network server and the originating terminal by using the TCP port number and information indicating that a TPC / IP session is required. Steps to proceed with 3-way handshaking connection to set up 를 포함하는 통신단말기간의 피어투피어 방식의 서비스를 위한 확장 에스아이피를 이용한 티씨피/아이피 세션 설정 방법.Method of establishing a TCP / IP session using an extended SIP for a peer-to-peer service of a communication terminal period comprising a. 제 4 항에 있어서,The method of claim 4, wherein 상기 네트워크 서버는,The network server, 채팅 서비스 제공서버 및 게임 서비스 제공서버 중 어느 하나인 것을 특징으로 하는 통신단말기간의 피어투피어 방식의 서비스를 위한 확장 에스아이피를 이용한 티씨피/아이피 세션 설정 방법.Method for establishing a TCP / IP session using an extended SIP for a peer-to-peer service of a communication terminal period, characterized in that any one of a chat service providing server and a game service providing server. 제 4 항에 있어서,The method of claim 4, wherein 상기 TCP 포트 번호는,The TCP port number is, 상기 발신측 무선 이동 단말기와 상기 네트워크 서버 중 어느 하나에서 구동되는 어플리케이션의 TCP 포트 번호인 것을 특징으로 하는 통신단말기간의 피어투피어 방식의 서비스를 위한 확장 에스아이피를 이용한 티씨피/아이피 세션 설정 방법.Method of establishing a TCP / IP session using extended SIP for peer-to-peer service of a communication terminal period, characterized in that the TCP port number of the application running on any one of the source mobile terminal and the network server. 통신 시스템에서 에스아이피(SIP)를 이용하여 티씨피/아이피(TCP/IP) 세션을 설정하는 방법에 있어서, In the method for establishing a TCP / IP session using a SIP in a communication system, 확장 에스아이피(SIP)를 이용하여 발신을 시도하는 발신측 무선 이동 단말기가 IP 주소할당수단으로부터 IP주소를 할당받아, 상기 할당된 IP주소와 착신측 무선 이동 단말기의 식별번호, 상기 발신측 무선 이동 단말기에서 구동되는 어플리케이션의 TCP 포트 번호 및 티씨피/아이피(TCP/IP) 세션설정 정보를 포함하는 인바이트(INVITE) 메시지를 생성하여 SIP 서버로 전송하면, 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 식별번호에 기초하여 단말기 위치등록수단으로 조회하여 상기 착신측 무선 이동 단말기의 위치정보를 획득하는 단계; 및 An originating wireless mobile terminal attempting to originate using an extended SIP receives an IP address from an IP address assignment means, the assigned IP address, an identification number of the called wireless mobile terminal, and the originating wireless movement. When an INVITE message including a TCP port number and TCP / IP session setup information of an application running on the terminal is generated and transmitted to the SIP server, the SIP server transmits to the called party's wireless mobile terminal. Obtaining location information of the called-party wireless mobile terminal by querying the terminal location registration means based on the identification number of the receiver; And 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 위치정보를 바탕으로 상기 인바이트 메시지를 상기 착신측 무선 이동 단말기로 전송하여, The SIP server transmits the invite message to the called party's wireless mobile terminal based on the location information of the called party's wireless mobile terminal. 상기 착신측 무선 이동 단말기가 상기 IP 주소할당수단으로부터 IP주소를 할당받고, 상기 인바이트 메시지에 포함된 상기 발신측 무선 이동 단말기의 IP주소와 TCP 포트 번호 및 티씨피/아이피 세션설정 정보를 이용하여, 상기 발신측 무선 이동 단말기와 피어투피어 방식의 티씨피/아이피 세션을 설정하기 위한 3-웨이 핸드세이킹 연결 과정으로 진행토록 하는 단계The called party's wireless mobile terminal is assigned an IP address from the IP address assignment means and uses the IP address, TCP port number, and TCP / IP session setup information of the calling wireless mobile terminal included in the invite message. And proceeding to a three-way handshaking connection process for establishing a peer-to-peer TPC / IP session with the calling-party wireless mobile terminal. 를 포함하는 통신단말기간의 피어투피어 방식의 서비스를 위한 확장 에스아이피를 이용한 티씨피/아이피 세션 설정 방법.Method of establishing a TCP / IP session using an extended SIP for a peer-to-peer service of a communication terminal period comprising a. 제 7 항에 있어서,The method of claim 7, wherein 상기 티씨피/아이피 세션설정 정보는,The TPC / IP session setting information, TCP 포트 번호(Transport Address), 티씨피/아이피 세션설정이 요구됨을 나타내는 정보, 이니셜라이즈 시퀀스(Initialize Sequence), 어젼트 포인트(Urgent Point) 및 윈도우 사이즈(Window Size)를 포함하여 구성되는 것을 특징으로 하는 통신단말기간의 피어투피어 방식의 서비스를 위한 확장 에스아이피를 이용한 티씨피/아이피 세션 설정 방법.And a TCP port number (Transport Address), information indicating that a TPC / IP session is required, an Initialize Sequence, an Urgent Point, and a Window Size. A method of establishing a TPC / IP session using an extended SIP for a peer-to-peer service of a communication terminal. 통신 시스템에서 에스아이피(SIP)를 이용하여 티씨피/아이피(TCP/IP) 세션을 설정하는 방법에 있어서, In the method for establishing a TCP / IP session using a SIP in a communication system, 확장 에스아이피(SIP)를 이용하여 발신을 시도하는 발신측 무선 이동 단말기가 IP 주소할당수단으로부터 IP주소를 할당받아, 상기 할당된 IP주소와 착신측 무선 이동 단말기의 식별번호, 상기 발신측 무선 이동 단말기에서 구동되는 어플리케이션의 TCP 포트 번호 및 티씨피/아이피(TCP/IP) 세션설정 정보를 포함하는 인바이트(INVITE) 메시지를 생성하여 SIP 서버로 전송하면, 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 식별번호에 기초하여 단말기 위치등록수단으로 조회하여 상기 착신측 무선 이동 단말기의 위치정보를 획득하는 단계; 및 An originating wireless mobile terminal attempting to originate using an extended SIP receives an IP address from an IP address assignment means, the assigned IP address, an identification number of the called wireless mobile terminal, and the originating wireless movement. When an INVITE message including a TCP port number and TCP / IP session setup information of an application running on the terminal is generated and transmitted to the SIP server, the SIP server transmits to the called party's wireless mobile terminal. Obtaining location information of the called-party wireless mobile terminal by querying the terminal location registration means based on the identification number of the receiver; And 상기 SIP 서버가 상기 착신측 무선 이동 단말기의 위치정보를 바탕으로 상기 인바이트 메시지를 상기 착신측 무선 이동 단말기로 전송하여, The SIP server transmits the invite message to the called party's wireless mobile terminal based on the location information of the called party's wireless mobile terminal. 상기 착신측 무선 이동 단말기가 상기 IP 주소할당수단으로부터 IP주소를 할당받고, 상기 인바이트 메시지에 대한 응답으로, 상기 할당된 자신의 IP주소와 상기 발신측 무선 이동 단말기의 식별번호, 상기 착신측 무선 이동 단말기에서 구동되는 어플리케이션의 TCP 포트 번호 및 티씨피/아이피(TCP/IP) 세션설정 정보를 포함하는 오케이(OK) 메시지를 생성하여 상기 SIP 서버를 통해 상기 발신측 무선 이동 단말기로 전송토록 하며, 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. Generate an OK message including a TCP port number and TCP / IP session setup information of an application running in the mobile terminal and transmit the message to the calling wireless terminal through the SIP server; 상기 발신측 무선 이동 단말기가 상기 오케이(OK) 메시지에 포함된 상기 착신측 무선 이동 단말기의 IP주소와 TCP 포트 번호 및 티씨피/아이피 세션설정 정보를 이용하여, 상기 착신측 무선 이동 단말기와 피어투피어 방식의 티씨피/아이피 세션을 설정하기 위한 1-웨이 핸드세이킹 연결 과정으로 진행토록 하는 단계The calling party's wireless terminal peers with the called party's wireless mobile terminal by using the IP address, TCP port number, and TPC / IP session setting information of the called party's wireless mobile terminal included in the OK message. Steps to proceed to 1-way handshaking connection process for establishing peer-type TPC / IP session 를 포함하는 통신단말기간의 피어투피어 방식의 서비스를 위한 확장 에스아이피를 이용한 티씨피/아이피 세션 설정 방법.Method of establishing a TCP / IP session using an extended SIP for a peer-to-peer service of a communication terminal period comprising a. 제 9 항에 있어서,The method of claim 9, 상기 인바이트 메시지 및 상기 오케이(OK) 메시지에 포함된 티씨피/아이피 세션설정 정보는,TPC / IP session setting information included in the invite message and the OK message, TCP 포트 번호(Transport Address), 티씨피/아이피 세션설정이 요구됨을 나타내는 정보, 이니셜라이즈 시퀀스(Initialize Sequence), 어젼트 포인트(Urgent Point) 및 윈도우 사이즈(Window Size)를 포함하여 구성되는 것을 특징으로 하는 통신단말기간의 피어투피어 방식의 서비스를 위한 확장 에스아이피를 이용한 티씨피/아이피 세션 설정 방법.And a TCP port number (Transport Address), information indicating that a TPC / IP session is required, an Initialize Sequence, an Urgent Point, and a Window Size. A method of establishing a TPC / IP session using an extended SIP for a peer-to-peer service of a communication terminal. 제 9 항에 있어서,The method of claim 9, 상기 연결 과정에서, In the connection process, 상기 발신측 무선 이동 단말기에서 상기 착신측 무선 이동 단말기로 티씨피/아이피 접속을 위한 정보를 1회 전달하는 것으로 티씨피/아이피 세션설정이 이루어지는 것을 특징으로 하는 통신단말기간의 피어투피어 방식의 서비스를 위한 확장 에스아이피를 이용한 티씨피/아이피 세션 설정 방법.The peer-to-peer service of the communication terminal period is characterized in that a TPC / IP session is established by transferring information for TPC / IP connection from the calling wireless terminal to the called-party wireless terminal once. How to set up TPC / IP session using extended SIP for PC. 제 1 항 내지 제 11 항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 11, 상기 무선 이동 단말기는,The wireless mobile terminal, 확장 에스아이피 프로토콜 기능과 티씨피/아이피 프로토콜 기능을 내장하고 있는 것을 특징으로 하는 통신단말기간의 피어투피어 방식의 서비스를 위한 확장 에스아이피를 이용한 티씨피/아이피 세션 설정 방법.A method of establishing a TPC / IP session using an extended SIP for a peer-to-peer service of a communication terminal, wherein the extended SIP protocol function and a TCP / IP protocol function are embedded. 제 1 항 내지 제 11 항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 11, 상기 확장 에스아이피(SIP)는,The extended SIP (SIP), 무선 이동 단말기간 티씨피/아이피 세션 설정을 위한 정보를 에스아이피 메시지 중 미디어 기술정보 필드에 기재하는 것을 특징으로 하는 통신단말기간의 피어투피어 방식의 서비스를 위한 확장 에스아이피를 이용한 티씨피/아이피 세션 설정 방법.A TPC / IP session using an extended SIP for a peer-to-peer service of a communication terminal period, wherein information for establishing a TPC / IP session between wireless mobile terminals is recorded in a media description information field of an SIP message. How to set up.
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 KR20040044216A (en) 2004-05-28
KR100508650B1 true 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 (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

Families Citing this family (12)

* 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
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
US9160515B2 (en) * 2013-04-04 2015-10-13 Intel IP Corporation User equipment and methods for handover enhancement using scaled time-to-trigger and time-of-stay
KR102197008B1 (en) 2014-04-24 2020-12-30 삼성전자주식회사 Structure for assembling frames and electronic device therof

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020081389A (en) * 2000-03-03 2002-10-26 퀄컴 인코포레이티드 Method and apparatus for participating in group communication services in an existing communication system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020081389A (en) * 2000-03-03 2002-10-26 퀄컴 인코포레이티드 Method and apparatus for participating in group communication services in an existing communication system

Cited By (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

Also Published As

Publication number Publication date
KR20040044216A (en) 2004-05-28

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
US20050021616A1 (en) Method for managing sessions between network parties, methods, network element and terminal for managing calls
KR100508650B1 (en) Method for establishing tcp/ip session using extended session initiation protocol for peer to peer service between communication terminals
US7778243B2 (en) Method for DTMF transfer by RTP
JP2004201316A (en) Method and apparatus for calling sip base
AU2004222784B2 (en) Network, server apparatus, IP corresponding terminal device, and speech-quality control method used in the same
JP4047855B2 (en) Conversion of voice over IP media control messaging to mobile control channel signaling using a voice over IP gateway
JP2005184817A (en) Voice multi-network roaming from mobile to 802.11 utilizing sip signaling with sip proxy server or redirect server
US8605648B2 (en) Video traffic in a communications system
WO2006064347A1 (en) Method and system to the instant transfer of multimedia files between mobile radio users within the scope of combinational services
US7315742B2 (en) Voice-over IP mobile roaming using SIP refer
US20030169768A1 (en) Call initiation for legacy mobile circuit switched domain wireless systems
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
JP2005129980A (en) Network, private branch exchange, radio lan terminal, and multi-protocol communication terminal control method used therefor
GB2408410A (en) IP PBX SIP process using B2BUA mechanism as a proxy agent
US7436817B2 (en) Call clearing for legacy mobile circuit switched domain wireless systems
US8199727B1 (en) Call delivery in a CDMA legacy MS domain for SIP call origination
KR20050002335A (en) System and method for processing call in SIP network
KR20060086662A (en) Method for transmitting ring-tone when session of sip is connected
KR100402787B1 (en) Call Setup Method for Video Telephony Service in mobile radio communication network
KR101467388B1 (en) System and Method transmitting call setup message
KR100666945B1 (en) Method for Exchanging Media Description Information Between User Agents Using Session Initiation Protocol
KR100785792B1 (en) Method and system for providing service on SIP-based Internet telephony system

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