KR101173628B1 - Ad-hoc wireless instant messenger system and service security method thereof - Google Patents

Ad-hoc wireless instant messenger system and service security method thereof Download PDF

Info

Publication number
KR101173628B1
KR101173628B1 KR1020090112768A KR20090112768A KR101173628B1 KR 101173628 B1 KR101173628 B1 KR 101173628B1 KR 1020090112768 A KR1020090112768 A KR 1020090112768A KR 20090112768 A KR20090112768 A KR 20090112768A KR 101173628 B1 KR101173628 B1 KR 101173628B1
Authority
KR
South Korea
Prior art keywords
server
instant messenger
mobile
friend list
hoc
Prior art date
Application number
KR1020090112768A
Other languages
Korean (ko)
Other versions
KR20110056083A (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 KR1020090112768A priority Critical patent/KR101173628B1/en
Publication of KR20110056083A publication Critical patent/KR20110056083A/en
Application granted granted Critical
Publication of KR101173628B1 publication Critical patent/KR101173628B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/58Message adaptation for wireless communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • H04W12/069Authentication using certificates or pre-shared keys
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/18Service support devices; Network management devices
    • H04W88/184Messaging devices, e.g. message centre

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

애드혹(Ad-hoc) 무선 인스턴트 메신저 시스템 및 보안 방법이 제공 된다. 본 발명의 일 태양에 따른 애드혹 인스턴트 메신저 시스템은 자신과 무선 통신이 가능한 상태에 있는 이동 단말로 구성된 일시적 친구목록에 인스턴트 메시징 서비스를 제공하고, 서버 모듈의 실행 종료 시, 상기 일시적 친구목록에 포함된 이동 단말 중 차기 서버로 선정된 이동 단말에 이동 인스턴트 메신저 서버의 지위를 이관하되, 상기 차기 서버에 의해 생성된 NPSK(New Pre-Shared Key)를 상기 일시적 친구목록에 포함된 모든 이동 단말에 제공 하는 이동 인스턴트 메신저 서버 및 상기 일시적 친구목록에 포함된 다른 단말 간에 인스턴트 메신저 데이터를 송수신하되, 이동 인스턴트 메신저가 상기 차기 서버로 이관 되는 경우, 상기 이동 인스턴트 메신저 서버로부터 제공된 상기 NPSK를 이용하여 상호 인증을 수행함으로써 상기 차기 서버에 접속하는 이동 단말을 포함한다.Ad-hoc wireless instant messenger system and security method are provided. An ad hoc instant messenger system according to an aspect of the present invention provides an instant messaging service to a temporary friend list composed of a mobile terminal in a wireless communication state with the mobile terminal, and upon completion of execution of a server module, is included in the temporary friend list. Transfer the status of the mobile instant messenger server to the mobile terminal selected as the next server among the mobile terminals, and provide NPSK (New Pre-Shared Key) generated by the next server to all mobile terminals included in the temporary friend list. Transmit instant messenger data between a mobile instant messenger server and another terminal included in the temporary friend list, and when the mobile instant messenger is transferred to the next server, perform mutual authentication using the NPSK provided from the mobile instant messenger server. To connect to the next server by It includes a terminal.

애드혹, 메신저, PSK, 보안, 인증 Ad Hoc, Messenger, PSK, Security, Authentication

Description

애드혹 무선 인스턴트 메신저 시스템 및 서비스 보안 방법{Ad-hoc wireless instant messenger system and service security method thereof}Ad-hoc wireless instant messenger system and service security method

본 발명은 애드혹 무선 인스턴트 메신저 시스템 및 서비스 보안 방법에 관한 것이다. 더욱더 자세하게는, 인스턴트 메신저 서버 프로그램이 구비된 이동 단말을 이동 라우터로 운용하여 구성되는 애드혹 무선 인스턴트 메신저 시스템에 있어서, 상기 이동 라우터가 다른 이동 단말로 변경 되는 경우에도 상호 인증을 거쳐 인스턴트 메신저 시스템에 접속할 권한이 있는 이동 단말에만 접속을 허용하는 방식으로 무선 인스턴트 메신저 시스템의 보안을 유지하는 애드혹 무선 인스턴트 메신저 시스템 및 서비스 보안 방법에 관한 것이다.The present invention relates to an ad hoc wireless instant messenger system and a service security method. More specifically, in an ad hoc wireless instant messenger system configured by operating a mobile terminal having an instant messenger server program as a mobile router, even when the mobile router is changed to another mobile terminal, the mobile terminal may be connected to the instant messenger system through mutual authentication. The present invention relates to an ad hoc wireless instant messenger system and a service security method for maintaining the security of the wireless instant messenger system in a manner of allowing access only to an authorized mobile terminal.

최근 2G(Generation)/3G(Generation) 이동통신과 IEEE(Institute of Electrical and Electronics Engineers) 802.11 표준에 기반한 무선랜(Wireless Local Area Network: WLAN)을 모두 지원하는 듀얼 모드 이동 단말(Mobile Terminal)이 많이 사용되고 있다. 무선랜을 사용한 이동 단말은 저렴한 비용으로 수 메가(IEEE 802.11g)에서 수백 메가(IEEE 802.11n)의 대역폭으로 무선 인터넷 접속을 가능하게 하기 때문에 사용이 크게 증가하고 있다. 상기 듀얼 모드 이동 단말 은 근거리 통신이 가능한 무선랜 및 원거리 통신이 가능한 2G/3G 이동 통신 인터페이스 모두를 갖추고 있고, 특히 일부 기종은 내장된 중앙처리장치의 연산 능력이 패킷의 중개 기능을 수행하기에 충분할 정도로 뛰어나기 때문에 이동라우터(Mobile Router)로 사용하는 것이 가능할 것이다. 참고로 이동 라우터란 복수의 무선 통신 인터페이스를 사용하여 이동 단말간에 다자간 인터넷 통신을 지원하는 인터넷 라우터를 말한다.Recently, many dual mode mobile terminals supporting both 2G (Generation) / 3G (Generation) mobile communication and Wireless Local Area Network (WLAN) based on Institute of Electrical and Electronics Engineers (IEEE) 802.11 standard It is used. Mobile terminals using wireless LANs are increasing in use because wireless internet access is possible at a low cost from several megabytes (IEEE 802.11g) to hundreds of megabytes (IEEE 802.11n). The dual mode mobile terminal has both a wireless LAN capable of short-range communication and a 2G / 3G mobile communication interface capable of long-distance communication. In particular, some models may have sufficient computational power of a built-in central processing unit to perform packet intermediation. It is so good that it can be used as a mobile router. For reference, a mobile router refers to an internet router that supports multi-party internet communication between mobile terminals using a plurality of wireless communication interfaces.

도 1은 이동 라우터를 이용한 무선 인스턴트 메신저 시스템의 구성도이다.1 is a block diagram of a wireless instant messenger system using a mobile router.

도 1에 도시된 바와 같이, 이동 단말은 이동 라우터에 무선랜(Wireless Local Area Network; WLAN)으로 접속됨으로써 인스턴트 메신저 서버와 연결되어 인스턴트 메신저 서비스를 이용할 수 있음을 알 수 있다.As shown in FIG. 1, it can be seen that the mobile terminal is connected to an instant messenger server to use an instant messenger service by being connected to a mobile router through a wireless local area network (WLAN).

그런데, 이동 라우터와 이동 단말 간의 통신은 이동 라우터와 이동 단말의 이동으로 인해 간헐적으로 중단될 수 있어, 서비스의 안정성이 문제되는 문제점이 있다.However, the communication between the mobile router and the mobile terminal may be interrupted intermittently due to the movement of the mobile router and the mobile terminal, which causes a problem in that service stability is problematic.

또한, 이동 라우터는 제한된 통신 영역에서만 접속이 가능하고, 이동 라우터 자체가 이동할 수 있어 기존의 인스턴트 메신저 시스템에서 운용되고 있는 친구 목록 형식의 대화 대상 운용 방식이 효율적이지 못한 문제점이 있다.In addition, the mobile router may be connected only in a limited communication area, and the mobile router itself may move, and thus, a friend list type conversation target operating method used in the existing instant messenger system may not be effective.

또한, 이동 라우터의 이동으로 인해 이동 단말들을 지원할 수 없거나 이동라우터가 정상적으로 동작하지 않는 경우, 상기 이동라우터에 연결된 모든 이동호스트간의 인스턴트 메신저 서비스가 중단되는 문제점이 있다.In addition, when the mobile routers cannot support the mobile terminals due to the movement of the mobile router or the mobile router does not operate normally, the instant messenger service between all mobile hosts connected to the mobile router is interrupted.

더구나 무선랜에서 접근 가능한 영역 내에 복수의 이동 라우터가 존재하는 경우 불필요한 자원을 낭비하는 문제가 발생한다. 따라서, 복수의 이동 라우터 후보 기기가 존재하는 경우, 그 중 하나의 이동 라우터를 선정하여 이동 라우터 기능을 수행하도록 하고, 더 이상 이동 라우터의 기능을 수행할 수 없는 경우에는 주변의 이동 라우터 후보 기기 중 하나의 기기를 새로운 이동 라우터로 선정하는 기술을 통해 인스턴트 메신저 서비스를 안정적으로 제공할 필요성이 제기되고 있다.Moreover, when there are a plurality of mobile routers in an area accessible from the WLAN, a problem of wasting unnecessary resources occurs. Accordingly, when there are a plurality of mobile router candidate devices, one of the mobile router candidate devices is selected to perform the mobile router function, and when the mobile router function can no longer perform the function of the mobile router, the neighboring mobile router candidate devices are selected. With the technology of selecting a device as a new mobile router, there is a need to provide a stable instant messenger service.

또한, 무선 신호의 특성 상, 무선 랜을 이용한 네트워크는 보안의 적용이 중요하므로 상기 이동 라우터가 변경 되는 경우, 신규 이동 라우터는 어떤 이동 단말에 대하여 접속을 허용할 것인지에 대한 인증 방법 및 기타 보안 기술이 요구되고 있다.In addition, due to the characteristics of the wireless signal, the security of the network using a wireless LAN is important, so if the mobile router is changed, the new mobile router may have an authentication method and other security technology for which mobile terminal to allow access. It is required.

본 발명이 해결하고자 하는 기술적 과제는 이동 인스턴트 메신저 서버의 기능을 수행하던 이동 단말이 더 이상 서버의 기능을 수행할 수 없게 되는 경우, 친구 목록에 포함된 이동 단말 중 하나의 이동 단말을 차기 인스턴트 메신저 서버로 선정하여 서버의 기능을 수행하게 하되, 상기 차기 인스턴트 메신저 서버는 이전의 인스턴트 메신저 서버에 접속되어 있던 이동 단말에 대하여만 접속을 허용할 수 있도록 하는 애드혹 무선 인스턴트 메신저 시스템 및 서비스 보안 방법을 제공하는 것이다.The technical problem to be solved by the present invention is that when the mobile terminal that performed the function of the mobile instant messenger server can no longer perform the function of the server, the next instant messenger of one of the mobile terminals included in the friend list The next instant messenger server provides an ad hoc wireless instant messenger system and a service security method for allowing access to only mobile terminals connected to a previous instant messenger server. It is.

상기 기술적 과제를 달성하기 위한 본 발명의 일 태양에 따른 애드혹(Ad-hoc) 인스턴트 메신저 시스템은 자신과 무선 통신이 가능한 상태에 있는 이동 단말로 구성된 일시적 친구목록에 인스턴트 메시징 서비스를 제공하고, 서버 모듈의 실행 종료 시, 상기 일시적 친구목록에 포함된 이동 단말 중 차기 서버로 선정된 이동 단말에 이동 인스턴트 메신저 서버의 지위를 이관하되, 상기 차기 서버에 의해 생성된 NPSK(New Pre-Shared Key)를 상기 일시적 친구목록에 포함된 모든 이동 단말에 제공 하는 이동 인스턴트 메신저 서버 및 상기 일시적 친구목록에 포함된 다른 단말 간에 인스턴트 메신저 데이터를 송수신하되, 이동 인스턴트 메신저가 상기 차기 서버로 이관 되는 경우, 상기 이동 인스턴트 메신저 서버로부터 제공된 상기 NPSK를 이용하여 상호 인증을 수행함으로써 상기 차기 서버에 접속하는 이동 단말을 포함한다. 상기 상호인증은 IEEE(Institute of Electrical and Electronics Engineers) 802.11i의 WPA-Personal 절차를 기반으로 수행될 수 있다. 또한, 상기 인스턴트 메신저 데이터는 IEEE 802.11i의 CCMP(Counter mode with Cipher block chaining Message authentication code Protocol) 프로토콜 및 IEEE 802.11의 TKIP(Temporal Key Integrity Protocol) 프로토콜 중 적어도 하나를 기반으로 암호화 된 후 송수신 될 수 있다.Ad-hoc instant messenger system according to an aspect of the present invention for achieving the above technical problem provides an instant messaging service to a temporary friend list consisting of a mobile terminal in a state capable of wireless communication with itself, server module At the end of the execution, transfer the status of the mobile instant messenger server to the mobile terminal selected as the next server among the mobile terminals included in the temporary friend list, wherein the NPSK (New Pre-Shared Key) generated by the next server is recalled. The mobile instant messenger server is provided to all mobile terminals included in the temporary friend list and other instant messenger data are transmitted and received between the mobile terminal and the mobile instant messenger when the mobile instant messenger is transferred to the next server. Perform mutual authentication using the NPSK provided from the server By including the mobile terminal to be connected to the next server. The mutual authentication may be performed based on the WPA-Personal procedure of Institute of Electrical and Electronics Engineers (IEEE) 802.11i. In addition, the instant messenger data may be encrypted and transmitted based on at least one of a Counter mode with Cipher block chaining message authentication code protocol (CCMP) protocol of IEEE 802.11i and a Temporal Key Integrity Protocol (TKIP) protocol of IEEE 802.11. .

상기 이동 인스턴트 메신저 서버는 상기 차기 서버에 선정 통보 신호를 송신하고, 상기 차기 서버로부터 상기 NPSK가 구비된 서버 실행 준비 완료 신호가 수신 된 경우, 상기 일시적 친구목록에 포함된 모든 이동 단말에 상기 NPSK를 송신하고, 상기 차기 서버에 상기 일시적 친구목록 데이터를 송신 한 후, 상기 서버 모듈의 실행을 종료할 수 있다. 이때, 상기 차기 서버는 상기 선정 통보 신호가 수신 된 경우, 상기 서버 모듈을 실행하여 상기 NPSK를 생성한 후, 상기 NPSK를 구비한 상기 서버 실행 준비 완료 신호를 상기 이동 인스턴트 메신저 서버에 송신하며, 상기 일시적 친구목록 데이터가 수신 된 경우, 상기 일시적 친구목록 데이터에 포함된 모든 이동 단말에게 접속 요청 신호를 송신할 수 있다. 상기 접속 요청 신호는 PSK(Pre-Shared Key) 요청 메시지를 포함 시킨 것일 수 있다. 즉, 상기 접속 요청 신호를 수신한 이동 단말은, 그에 대응한 접속 요청이 PSK를 이용하여 상호 인증을 거쳐야 하는 것임을 알 수 있다.The mobile instant messenger server transmits a selection notification signal to the next server, and when the server ready to run server including the NPSK is received from the next server, sends the NPSK to all mobile terminals included in the temporary friend list. After transmitting the temporary friend list data to the next server, execution of the server module may be terminated. In this case, when the selection notification signal is received, the next server executes the server module to generate the NPSK, and then transmits the server execution ready signal including the NPSK to the mobile instant messenger server. When the temporary friend list data is received, the access request signal may be transmitted to all mobile terminals included in the temporary friend list data. The access request signal may include a pre-shared key (PSK) request message. That is, the mobile terminal receiving the access request signal can know that the corresponding access request must undergo mutual authentication using the PSK.

상기 기술적 과제를 달성하기 위한 본 발명의 다른 태양에 따른 애드혹(Ad-hoc) 인스턴트 메신저 시스템의 보안 방법은 상기 일시적 친구목록에 포 함된 이동 단말 중 하나의 이동 단말을 차기 서버로 선정하고, 상기 차기 서버에 선정 통보 신호를 송신하는 단계; 상기 차기 서버의 상기 선정 통보 신호 수신 시 생성된 NPSK(New Pre-Shared Key)를 상기 차기 서버로부터 제공 받아 상기 일시적 친구목록에 포함된 모든 이동 단말에 제공 하는 단계; 및 상기 이동 단말이 상기 차기 서버와 상기 NPSK를 이용하여 상호 인증을 수행하는 단계를 포함한다. 본 태양에 따른 애드혹(Ad-hoc) 인스턴트 메신저 시스템의 보안 방법은 이동 인스턴트 메신저 서버가 수행할 수 있다.According to another aspect of the present invention, there is provided a security method of an ad-hoc instant messenger system, wherein one of the mobile terminals included in the temporary friend list is selected as a next server, and the next Transmitting a selection notification signal to a server; Receiving a new pre-shared key (NPSK) generated when the selection notification signal of the next server is received from the next server and providing the same to all mobile terminals included in the temporary friend list; And performing, by the mobile terminal, mutual authentication using the next server and the NPSK. The mobile instant messenger server may perform the security method of the ad-hoc instant messenger system according to the present aspect.

상기 기술적 과제를 달성하기 위한 본 발명의 또 다른 태양에 따른 이동 인스턴트 메신저 서버로부터 서버 수행 요청 신호를 수신하는 경우, 서버 수행을 위한 지원을 할 것인지 결정하고, 지원을 하기로 결정한 경우 서버 수행 지원 신호를 송신하며, 이동 인스턴트 메신저 서버로부터 선정 통보 신호가 수신 된 경우, 인스턴트 메신저 서버 기능을 활성화한 후, NPSK(New Pre-Shared Key)를 생성하여 상기 이동 인스턴트 메신저 서버에 제공하는 단계; 일시적 친구목록 데이터가 수신 된 경우, 상기 일시적 친구목록 데이터에 포함된 모든 이동 단말에게 PSK(Pre-Shared Key) 요청 메시지를 구비한 접속 요청 신호를 송신하는 단계; 및 상기 일시적 친구목록 데이터에 포함된 이동 단말과 상기 NPSK를 이용하여 상호 인증을 수행하는 단계를 포함한다. 본 태양에 따른 애드혹(Ad-hoc) 인스턴트 메신저 시스템의 보안 방법은 인스턴트 메신저 서비스를 이용하다가, 차기 서버로 동작하게 된 이동 단말이 수행할 수 있다.When receiving the server performance request signal from the mobile instant messenger server according to another aspect of the present invention for achieving the above technical problem, it is determined whether to support the server performance, if it is determined to support the server performance support signal Transmitting a selection notification signal from a mobile instant messenger server, activating an instant messenger server function, and generating and providing a new pre-shared key (NPSK) to the mobile instant messenger server; When the temporary friend list data is received, transmitting a connection request signal including a PSK request message to all mobile terminals included in the temporary friend list data; And performing mutual authentication using the NPSK with the mobile terminal included in the temporary friend list data. The security method of the ad-hoc instant messenger system according to the present aspect may be performed by a mobile terminal operating as a next server while using an instant messenger service.

상기와 같은 본 발명에 따르면, 이동 인스턴트 메신저 서버의 기능을 수행하던 이동 단말이 더 이상 서버의 기능을 수행할 수 없게 되는 경우에도, 친구 목록에 포함된 이동 단말 중 하나의 이동 단말을 차기 인스턴트 메신저 서버로 선정하여 서버의 기능을 수행하게 함으로써 끊김 없는(seamless) 애드혹 무선 인스턴트 메신저 서비스를 제공할 수 있는 효과가 있다.According to the present invention as described above, even if the mobile terminal that performed the function of the mobile instant messenger server is no longer able to perform the function of the server, the next instant messenger of the mobile terminal of one of the mobile terminals included in the friend list By selecting the server to perform the function of the server has the effect that can provide a seamless ad hoc wireless instant messenger service.

또한, 이동 인스턴트 메신저 서버가 상기 차기 서버로 바뀌더라도, 상기 차기 서버에는 이전의 인스턴트 메신저 서버에 접속되어 있던 이동 단말에 대하여만 접속할 수 있도록 함으로써, 인스턴트 메신저 서버의 교체를 이유로 침입자가 쉽게 접속할 수 있는 보안상 취약점을 극복할 수 있는 효과가 있다.In addition, even if the mobile instant messenger server is changed to the next server, the next server can be accessed only by the mobile terminal connected to the previous instant messenger server, so that an intruder can easily access the server for the replacement of the instant messenger server. It is effective to overcome security weaknesses.

본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시 예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 게시되는 실시 예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 본 실시 예들은 본 발명의 게시가 완전하도록 하고, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. 명세서 전체에 걸쳐 동일 참조 부호는 동일 구성 요소를 지칭한다.Advantages and features of the present invention, and methods for achieving them will be apparent with reference to the embodiments described below in detail in conjunction with the accompanying drawings. The present invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. Is provided to fully convey the scope of the invention to those skilled in the art, and the invention is only defined by the scope of the claims. Like reference numerals refer to like elements throughout.

이하, 본 발명의 실시예들에 의하여 애드혹 무선 인스턴트 메신저 시스템 및 서비스 관리 방법을 설명하기 위한 블록도 또는 처리 흐름도에 대한 도면들을 참고하여 본 발명에 대해 설명하도록 한다. 이 때, 처리 흐름도 도면들의 각 블록과 흐름도 도면들의 조합들은 컴퓨터 프로그램 인스트럭션들에 의해 수행될 수 있음을 이해할 수 있을 것이다. 이들 컴퓨터 프로그램 인스트럭션들은 범용 컴퓨터, 특수용 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비의 프로세서에 탑재될 수 있으므로, 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비의 프로세서를 통해 수행되는 그 인스트럭션들이 흐름도 블록(들)에서 설명된 기능들을 수행하는 수단을 생성하게 된다. 이들 컴퓨터 프로그램 인스트럭션들은 특정 방식으로 기능을 구현하기 위해 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비를 지향할 수 있는 컴퓨터 이용 가능 또는 컴퓨터 판독 가능 메모리에 저장되는 것도 가능하므로, 그 컴퓨터 이용가능 또는 컴퓨터 판독 가능 메모리에 저장된 인스트럭션 들은 흐름도 블록(들)에서 설명된 기능을 수행하는 인스트럭션 수단을 내포하는 제조 품목을 생산하는 것도 가능하다. 컴퓨터 프로그램 인스트럭션들은 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비 상에 탑재 되는 것도 가능하므로, 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비 상에서 일련의 동작 단계들이 수행되어 컴퓨터로 실행되는 프로세스를 생성해서 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비를 수행하는 인스트럭션들은 흐름도 블록(들)에서 설명된 기능들을 실행하기 위한 단계들을 제공하는 것도 가능하다.Hereinafter, the present invention will be described with reference to a block diagram or a flowchart illustrating a method for managing an ad hoc wireless instant messenger system and a service management method according to embodiments of the present invention. At this point, it will be understood that each block of the flowchart illustrations and combinations of flowchart illustrations may be performed by computer program instructions. Since these computer program instructions may be mounted on a processor of a general purpose computer, special purpose computer, or other programmable data processing equipment, those instructions executed through the processor of the computer or other programmable data processing equipment may be described in flow chart block (s). It creates a means to perform the functions. These computer program instructions may be stored in a computer usable or computer readable memory that can be directed to a computer or other programmable data processing equipment to implement functionality in a particular manner, and thus the computer usable or computer readable memory. It is also possible for the instructions stored in to produce an article of manufacture containing instruction means for performing the functions described in the flowchart block (s). Computer program instructions may also be mounted on a computer or other programmable data processing equipment, such that a series of operating steps are performed on the computer or other programmable data processing equipment to create a computer-implemented process to generate a computer or other programmable data. Instructions for performing the processing equipment may also provide steps for performing the functions described in the flowchart block (s).

또한, 각 블록은 특정된 논리적 기능(들)을 실행하기 위한 하나 이상의 실행 가능한 인스트럭션들을 포함하는 모듈, 세그먼트 또는 코드의 일부를 나타낼 수 있다. 또, 몇 가지 대체 실행 예들에서는 블록들에서 언급된 기능들이 순서를 벗어나서 발생하는 것도 가능함을 주목해야 한다. 예컨대, 잇달아 도시되어 있는 두 개의 블록들은 사실 실질적으로 동시에 수행되는 것도 가능하고 또는 그 블록들이 때때로 해당하는 기능에 따라 역순으로 수행되는 것도 가능하다.In addition, each block may represent a portion of a module, segment, or code that includes one or more executable instructions for executing a specified logical function (s). It should also be noted that in some alternative implementations, the functions noted in the blocks may occur out of order. For example, the two blocks shown in succession may in fact be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending on the corresponding function.

이하, 본 발명의 일 실시예에 따른 애드혹 인스턴트 메신저 시스템의 구성 및 동작에 대하여 도 2를 참조하여 설명하기로 한다. 도 2는 본 실시예에 따른 애드혹 인스턴트 메신저 시스템의 이동 인스턴트 메신저 서버 변경 전 후의 구성을 나타내는 도면이다. 도 2에 도시된 바와 같이, 본 실시예에 따른 애드혹 인스턴트 메신저 시스템은 이동 인스턴트 메신저 서버 및 하나 이상의 이동 단말을 포함할 수 있다. 또한, 네트워크(400)를 통해 연결된 기존의 범용 인스턴트 메신저 서버(300)를 더 포함할 수도 있다. 즉, 이동 인스턴트 메신저 서버(100)는 범용 인 스턴트 메신저 서버(300)의 프록시 서버로서 동작할 수도 있다.Hereinafter, the configuration and operation of the ad hoc instant messenger system according to an embodiment of the present invention will be described with reference to FIG. 2. 2 is a diagram showing the configuration before and after the mobile instant messenger server change of the ad hoc instant messenger system according to the present embodiment. As shown in FIG. 2, the ad hoc instant messenger system according to the present embodiment may include a mobile instant messenger server and one or more mobile terminals. In addition, it may further include an existing general-purpose instant messenger server 300 connected through the network 400. That is, the mobile instant messenger server 100 may operate as a proxy server of the universal instant messenger server 300.

도 2에 도시된 바와 같이, 본 발명에 따른 애드혹 인스턴트 메신저 시스템은 동일한 무선 통신 인터페이스를 지원하는 최소한 하나의 이동 단말을 포함한다. 상기 이동 단말 중 인스턴트 메신저 서버의 기능을 활성화하여 다른 이동 단말에 인스턴트 메신저 서비스를 제공하는 단말을 이동 인스턴트 메신저 서버라고 지칭하고, 상기 이동 인스턴트 메신저 서버로부터 메신저 서비스를 제공 받는 단말을 이동 단말이라고 지칭하기로 한다. 도 2는 이동 인스턴트 메신저 서버(100)가 종래에는 인스턴트 메신저 서비스를 이용하던 이동 단말(200)을 차기 이동 인스턴트 메신저로 선정하여 이동 인스턴트 메신저 서버의 지위를 이관할 수 있음을 도시하고 있다. 이때, 이동 인스턴트 메신저 서버(100)는 서버의 기능을 비활성화하고, 차기 서버(200)는 서버의 기능을 활성화한다. 이를 위해, 각 이동 단말은 서버 모듈을 포함하고 있어야 함을 이해할 수 있을 것이다. 또한, 서버 모듈을 포함하지 않은 이동 단말은 차기 서버(200)로 선정될 수 없음을 쉽게 이해할 수 있을 것이다.As shown in Fig. 2, the ad hoc instant messenger system according to the present invention includes at least one mobile terminal supporting the same wireless communication interface. Among the mobile terminals, a terminal providing an instant messenger service to another mobile terminal by activating a function of an instant messenger server is referred to as a mobile instant messenger server, and a terminal receiving a messenger service from the mobile instant messenger server is referred to as a mobile terminal. Shall be. FIG. 2 illustrates that the mobile instant messenger server 100 may transfer the status of the mobile instant messenger server by selecting the mobile terminal 200 which is a conventional instant messenger service as the next mobile instant messenger. At this time, the mobile instant messenger server 100 deactivates the function of the server, and the next server 200 activates the function of the server. To this end, it will be understood that each mobile terminal should include a server module. In addition, it will be readily understood that the mobile terminal not including the server module cannot be selected as the next server 200.

이 때, 상기 '서버 모듈' 중 '모듈'이라는 용어는 소프트웨어 또는 FPGA(Field Programmable Gate Array) 또는 ASIC(Application Specific Integrated Circuit)과 같은 하드웨어 구성요소를 의미하며, 모듈은 어떤 역할들을 수행한다. 그렇지만 모듈은 소프트웨어 또는 하드웨어에 한정되는 의미는 아니다. 모듈은 어드레싱 할 수 있는 저장 매체에 있도록 구성될 수도 있고 하나 또는 그 이상의 프로세서들을 재생시키도록 구성될 수도 있다. 따라서, 일 예로서 모듈은 소프트웨어 구성요소들, 객체지향 소프트웨어 구성요소들, 클래스 구성요소들 및 태스크 구성요소들과 같은 구성요소 들과, 프로세스들, 함수들, 속성들, 프로시저들, 서브루틴들, 프로그램 코드의 세그먼트들, 드라이버들, 펌웨어, 마이크로코드, 회로, 데이터, 데이터베이스, 데이터 구조들, 테이블들, 어레이들, 및 변수들을 포함한다. 구성요소들과 모듈들 안에서 제공되는 기능은 더 작은 수의 구성요소들 및 모듈들로 결합되거나 추가적인 구성요소들과 모듈들로 더 분리될 수 있다. 뿐만 아니라, 구성요소들 및 모듈들은 디바이스 또는 보안 멀티미디어카드 내의 하나 또는 그 이상의 CPU들을 재생시키도록 구현될 수도 있다.In this case, the term 'module' of the 'server module' refers to software or a hardware component such as a field programmable gate array (FPGA) or an application specific integrated circuit (ASIC), and the module performs certain roles. However, a module is not limited to software or hardware. The module may be configured to be in an addressable storage medium and may be configured to play one or more processors. Thus, as an example, a module may include components such as software components, object-oriented software components, class components, and task components, and processes, functions, properties, procedures, subroutines, and the like. , Segments of program code, drivers, firmware, microcode, circuits, data, databases, data structures, tables, arrays, and variables. The functionality provided within the components and modules may be combined into a smaller number of components and modules or further separated into additional components and modules. In addition, the components and modules may be implemented to play one or more CPUs in a device or secure multimedia card.

이하, 서버 변경 전, 하나의 이동 인스턴트 메신저 서버(100) 및 이동 단말(200, 202, 204)을 포함하는 애드혹 인스턴트 메신저 시스템의 구성 및 동작에 대하여 먼저 설명한 후, 이동 인스턴트 메신저 서버의 교체에 대한 동작을 설명하기로 한다.Hereinafter, the configuration and operation of the ad hoc instant messenger system including the one mobile instant messenger server 100 and the mobile terminals 200, 202, and 204 before changing the server will be described first. The operation will be described.

(1) 애드혹 인스턴트 메신저 시스템의 인스턴트 메신저 서비스 관련 구성 및 동작(1) Configuration and operation of instant messenger service of ad hoc instant messenger system

이동 인스턴트 메신저 서버(100)는 이동 단말(200, 202, 204)과 무선 통신이 가능한 장치로서, 애드혹 인스턴트 메신저 서버 모듈의 설치가 가능한 장치일 수 있다. 이동 인스턴트 메신저 서버(100)는 이동 단말(200, 202, 204)과 무선랜(Wireless Local Area Network; WLAN), 블루투스(Bluetooth), RFID(Radio-frequency Identification), IrDA(Infrared Data Association) 및 지그비(ZigBee) 중 적어도 하나를 이용하여 통신할 수 있다.The mobile instant messenger server 100 is a device capable of wireless communication with the mobile terminals 200, 202, and 204, and may be a device capable of installing an ad hoc instant messenger server module. The mobile instant messenger server 100 includes a mobile terminal 200, 202, and 204, a wireless local area network (WLAN), Bluetooth, Bluetooth, Radio-frequency Identification (RFID), Infrared Data Association (IrDA), and Zigbee. It can communicate using at least one of (ZigBee).

이동 인스턴트 메신저 서버(100)는 자신과 무선 통신이 가능한 상태에 있는 이동 단말(200, 202, 204)을 포함하는 일시적 친구목록을 상기 친구목록에 포함된 이동 단말(200, 202, 204)에 제공한다.The mobile instant messenger server 100 provides a temporary friend list including the mobile terminals 200, 202, and 204 in a state capable of wireless communication with the mobile terminal 200, 202, and 204 included in the friend list. do.

이동 인스턴트 메신저 서버(100)는 이동 인스턴트 메신저 서버(100)가 지원하는 무선 통신 인터페이스의 통신 반경 내에 위치하면서 무선 통신 인터페이스가 활성화된 이동 단말(200, 202, 204)이 존재한다면, 그러한 이동 단말(200, 202, 204)을 일시적 친구목록으로 포함하는 인스턴트 메신저 서비스를 제공하는 서버 모듈을 포함할 수 있다.The mobile instant messenger server 100 is located within a communication radius of the wireless communication interface supported by the mobile instant messenger server 100, and if there are mobile terminals 200, 202, and 204 activated with the wireless communication interface, It may include a server module for providing an instant messenger service including the 200, 202, 204 as a temporary friend list.

상기 일시적 친구목록은 종래의 인스턴트 메신저 서비스의 친구목록과 달리 현재 이동 인스턴트 메신저 서버(100)에 접속된 이동 단말(200, 202, 204) 만을 친구목록으로 포함한다. 따라서, 이동 인스턴트 메신저 서버(100)는 주기적으로 상기 일시적 친구목록에 포함된 이동 단말(200, 202, 204)과의 접속 여부를 판정하여 현재 접속되지 않은 이동 단말은 친구목록에서 제거할 수 있다.Unlike the friend list of the conventional instant messenger service, the temporary friend list includes only the mobile terminals 200, 202, and 204 currently connected to the mobile instant messenger server 100 as a friend list. Therefore, the mobile instant messenger server 100 periodically determines whether to connect with the mobile terminals 200, 202, and 204 included in the temporary friend list, so that the mobile terminal not currently connected may be removed from the friend list.

이동 인스턴트 메신저 서버(100)가 종래의 인스턴트 메신저 서비스와 같은 사전 등록 여부에 따른 친구 목록 대신 상기 일시적 친구목록을 사용함으로써 접속 가능한 이동 단말 간에 복잡한 메신저 가입 및 탈퇴 절차 없이 신속하게 인스턴트 메신저 서비스를 제공할 수 있는 효과가 있다.The mobile instant messenger server 100 can provide an instant messenger service quickly without complicated messenger subscription and withdrawal procedures between accessible mobile terminals by using the temporary friend list instead of a friend list according to a pre-registration such as a conventional instant messenger service. It can be effective.

이동 단말(200, 202, 204)은 이동 인스턴트 메신저 서버(100)로부터 제공 받은 상기 일시적 친구목록에 포함된 타 이동 단말(200, 202, 204)과 인스턴트 메신저 데이터를 송수신함으로써 인스턴트 메신저 서비스를 이용한다.The mobile terminal 200, 202, 204 uses an instant messenger service by transmitting and receiving instant messenger data with other mobile terminals 200, 202, 204 included in the temporary friend list provided from the mobile instant messenger server 100.

이동 단말(200, 202, 204)은 인스턴트 메신저 데이터를 상대 이동 단말(200, 202, 204)과 직접 송수신할 수도 있고, 이동 인스턴트 메신저 서버(100)를 경유하여 송수신할 수도 있다.The mobile terminal 200, 202, 204 may directly transmit / receive instant messenger data with the counterpart mobile terminal 200, 202, 204 or via the mobile instant messenger server 100.

새로운 이동 단말(200)을 일시적 친구목록에 포함시키는 동작은 해당 이동 단말(200)이 이동 인스턴트 메신저 서버(100)의 무선 통신 가능 영역에 진입하거나, 상기 통신 가능 영역에 이미 진입했던 이동 단말(200)이 무선 통신 기능을 활성화하거나 전원을 켜는 경우 이뤄질 수 있다. 이동 인스턴트 메신저 서버(100)는 상기 일시적 친구목록에 포함되지 않았던 신규의 이동 단말과의 무선 통신이 가능해 진 경우, 상기 이동 단말과 메신저 서비스 사용 여부 확인 절차를 거친 후, 상기 이동 단말을 상기 일시적 친구목록에 새로 포함시키고, 변경된 상기 일시적 친구목록을 상기 일시적 친구목록에 포함된 모든 이동 단말에 송신할 수 있다.The operation of including the new mobile terminal 200 in the temporary friend list may include that the mobile terminal 200 enters the wireless communication enabled area of the mobile instant messenger server 100 or has already entered the communication available area. ) May be activated when the wireless communication function is activated or turned on. When the mobile instant messenger server 100 enables wireless communication with a new mobile terminal that is not included in the temporary friend list, the mobile instant messenger server 100 performs a procedure of checking whether to use a messenger service with the mobile terminal. Newly included in the list, the changed temporary friend list can be transmitted to all mobile terminals included in the temporary friend list.

상기 인스턴트 메신저 데이터는 IEEE 802.11i의 CCMP(Counter mode with Cipher block chaining Message authentication code Protocol) 프로토콜 및 IEEE 802.11의 TKIP(Temporal Key Integrity Protocol) 프로토콜 중 적어도 하나를 기반으로 암호화 된 후 송수신 될 수 있다.The instant messenger data may be encrypted and transmitted based on at least one of a Counter Mode with Cipher Block Chaining Message Authentication Code Protocol (CCMP) protocol of IEEE 802.11i and a Temporal Key Integrity Protocol (TKIP) protocol of IEEE 802.11.

이동 인스턴트 메신저 서버(100)는 상기 일시적 친구목록의 데이터를 구비된 저장 수단에 저장할 수 있다. 상기 저장 수단은 캐쉬(Cache), 롬(Read Only Memory; ROM), 피롬(Programable ROM; PROM), 이피롬(Erasable Programmable ROM; EPROM), 이이피롬(Electrically Erasable Programmable ROM; EEPROM) 및 플래쉬 메 모리(Flash memory)와 같은 비휘발성 메모리 소자, 램(Random Access Memory; RAM)과 같은 휘발성 메모리 소자, 및 하드디스크 드라이브(Hard disk drive)와 같은 저장매체로 중 적어도 하나로 구현될 수 있으나 이에 한정되지는 않는다.The mobile instant messenger server 100 may store the temporary friend list data in a storage means. The storage means includes a cache, a read only memory (ROM), a programmable ROM (PROM), an erasable programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), and a flash memory. Nonvolatile memory devices such as flash memory, volatile memory devices such as random access memory (RAM), and storage media such as hard disk drives, but are not limited thereto. Do not.

상기 일시적 친구목록의 데이터는 상기 인스턴트 메신저 서비스 상에서 각 이동 단말(200, 202, 204)을 식별할 수 있는 정보, 접속 상태 데이터 및 상기 이동 단말의 접속 단절 시간 데이터를 포함하고, 특히 상기 이동 단말을 식별할 수 있는 정보는 사용자의 아이디, 이동 단말의 MAC 주소 및 IP 주소를 포함할 수 있다.The temporary friend list data includes information for identifying each mobile terminal 200, 202, 204 on the instant messenger service, connection state data, and connection disconnection time data of the mobile terminal. The information that can be identified may include an ID of a user, a MAC address and an IP address of the mobile terminal.

상기 IP 주소는 이동 인스턴트 메신저 서버(100)가 임시로 생성한 사설 IP (Private Internet Protocol) 주소이거나, 공인 IP(Public Internet Protocol) 주소일 수 있다. 상기 IP 주소가 사설 IP 주소인 경우, 이동 인스턴트 메신저 서버(100)는 외부 네트워크를 통하여 해당 이동 단말과 송수신 되는 트래픽(traffic)의 처리를 위하여 NAT(Network Address Translation) 기능을 지원해야 함을 이해할 수 있을 것이다.The IP address may be a private Internet Protocol (IP) address temporarily generated by the mobile instant messenger server 100 or a public Internet Protocol (IP) address. When the IP address is a private IP address, the mobile instant messenger server 100 may understand that it must support a NAT (Network Address Translation) function for processing of traffic transmitted and received with the corresponding mobile terminal through an external network. There will be.

이동 인스턴트 메신저 서버(100)는 상기 일시적 친구목록의 데이터를 구비된 저장 수단에 저장할 수 있다.The mobile instant messenger server 100 may store the temporary friend list data in a storage means.

상기 저장 수단은 캐쉬(Cache), 롬(Read Only Memory; ROM), 피롬(Programable ROM; PROM), 이피롬(Erasable Programmable ROM; EPROM), 이이피롬(Electrically Erasable Programmable ROM; EEPROM) 및 플래쉬 메모리(Flash memory)와 같은 비휘발성 메모리 소자, 램(Random Access Memory; RAM)과 같은 휘발성 메모리 소자, 및 하드디스크 드라이브(Hard disk drive)와 같은 저장매체로 중 적어도 하나로 구현될 수 있으나 이에 한정되지는 않는다.The storage means may include a cache, a read only memory (ROM), a programmable ROM (PROM), an erasable programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), and a flash memory (ROM). Nonvolatile memory devices such as flash memory, volatile memory devices such as random access memory (RAM), and storage media such as hard disk drives may be implemented as at least one of, but are not limited thereto. .

이동 인스턴트 메신저 서버(100)는 상기 일시적 친구목록에 포함된 이동 단말(200, 202, 204)이 이동 인스턴트 메신저 서버(100)와 접속이 일시적으로 단절되는 경우에는 상기 일시적 친구목록에서 제거하는 것을 미리 정해진 제거 대기 기간 동안 유예할 수 있다. 반대로, 상기 제거 대기 기간을 초과하는 시간 동안 상기 이동 단말과의 접속이 단절되는 경우, 해당 이동 단말은 상기 일시적 친구목록에서 제거되어야 함을 이해할 수 있을 것이다. 상기 제거 대기 기간 동안 친구목록에서 제거하는 것을 유예하는 것은 간헐적 무선 통신 환경에서 일시적인 접속 단절 시, 메신저 서비스에 재 접속해야 하는 불편을 제거하기 위함이다. 상기 제거 대기 기간은 상기 일시적 친구목록 데이터에 포함되어 관리되는 상기 접속 단절 시간 데이터와 비교될 수 있음을 이해할 수 있을 것이다.The mobile instant messenger server 100 previously removes the mobile terminals 200, 202, and 204 included in the temporary friend list from the temporary friend list when the mobile instant messenger server 100 is temporarily disconnected from the mobile instant messenger server 100. A grace period may be suspended for a defined waiting period for removal. On the contrary, when the connection with the mobile terminal is disconnected for a time exceeding the removal waiting period, it will be understood that the mobile terminal should be removed from the temporary friend list. The postpone to remove from the friend list during the removal waiting period is to eliminate the inconvenience of having to reconnect to the messenger service in case of temporary disconnection in the intermittent wireless communication environment. It will be appreciated that the removal waiting period may be compared with the connection disconnection time data included in and managed by the temporary friend list data.

본 실시예에 따른 애드혹 인스턴트 메신저 시스템은 인스턴트 메신저 서버(100) 및 이동 단말(200, 202, 204)의 통신이 일시적을 원활하지 않은 경우에도 잠시 대기한 후, 제거 대기 시간을 초과하여 접속이 단절된 경우에만 친구 목록에서 해당 이동 단말을 제거함으로써, 간헐적 통신환경에서 접속이 일시적으로 단절된 경우에도 메신저에 로그아웃 되는 문제점을 해결 할 수 있다.The ad hoc instant messenger system according to the present embodiment waits for a while even when communication between the instant messenger server 100 and the mobile terminals 200, 202, and 204 is not smooth. Only by removing the corresponding mobile terminal from the friend list, even if the connection is temporarily disconnected in the intermittent communication environment, it is possible to solve the problem of logging out to the messenger.

(2) 이동 인스턴트 메신저 서버의 교체 관련 동작(2) Replacement of Mobile Instant Messenger Server

이하, 이동 인스턴트 메신저 서버(100)의 기능이 차기 서버(200)로 이관되는 동작에 대하여 설명하기로 한다. 이동 인스턴트 메신저 서버(100)가 서버의 기능을 타 이동 단말로 이관하기로 결정하는 경우는 예를 들어, 사용자의 서버 기능 비활 성화 입력이 있는 경우, 이동 인스턴트 메신저 서버의 시스템 자원이 서버의 기능을 수행하기에 불충분하게 된 경우, 이동 인스턴트 메신저 서버(100)의 전원이 오프 되는 경우일 수 있다. 상기 시스템 자원이 서버의 기능을 수행하기에 불충분하게 된 경우는 예를 들어, 저장 수단의 잔여 용량이 부족해진 경우, 잔여 전력량이 서버의 기능을 수행하기에 불충분하게 된 경우일 수 있다.Hereinafter, an operation of transferring the function of the mobile instant messenger server 100 to the next server 200 will be described. When the mobile instant messenger server 100 decides to transfer the function of the server to another mobile terminal, for example, when there is an input of the user's disable of server function, the system resource of the mobile instant messenger server is used to determine the function of the server. If it is insufficient to perform, it may be the case that the power of the mobile instant messenger server 100 is turned off. When the system resources become insufficient to perform the function of the server, for example, when the remaining capacity of the storage means is insufficient, the remaining power amount may be insufficient to perform the function of the server.

이동 인스턴트 메신저 서버(100)가 서버의 기능을 타 이동 단말로 이관하기로 결정한 경우, 이동 인스턴트 메신저 서버(100)는 인스턴트 메신저 서버의 동작을 종료하기 전에 상기 일시적 친구목록에 포함된 이동 단말 중 차기 서버로 선정된 하나의 이동 단말(200)에 이동 인스턴트 메신저 서버의 지위를 이관한다. 이하, 본 실시예에 따른 애드혹 인스턴트 메신저 시스템의 이동 인스턴트 메신저 서버 교체 관련 동작을 도 3을 참조하여 설명하기로 한다. 도 3은 애드혹 인스턴트 메신저 시스템의 이동 인스턴트 메신저 서버 교체 관련 동작의 신호 흐름도이다.If the mobile instant messenger server 100 decides to transfer the function of the server to another mobile terminal, the mobile instant messenger server 100 may be selected from among the mobile terminals included in the temporary friend list before ending the operation of the instant messenger server. The status of the mobile instant messenger server is transferred to one mobile terminal 200 selected as a server. Hereinafter, the operation related to the replacement of the mobile instant messenger server of the ad hoc instant messenger system according to the present embodiment will be described with reference to FIG. 3. 3 is a signal flow diagram of a mobile instant messenger server replacement related operation of an ad hoc instant messenger system.

이동 인스턴트 메신저 서버(100)는 인스턴트 메신저 서버의 동작을 종료하기 전에 상기 일시적 친구목록에 포함된 모든 이동 단말(200, 202, 204)에 서버 수행 요청 신호를 송신한다(S300).The mobile instant messenger server 100 transmits a server execution request signal to all mobile terminals 200, 202, and 204 included in the temporary friend list before ending the operation of the instant messenger server (S300).

이동 단말(200, 202, 204)은 상기 서버 수행 요청 신호를 수신하면, 서버 수행 지원여부를 결정하고, 지원하기로 결정한 경우, 상기 서버 수행 지원 신호를 상기 이동 인스턴트 메신저 서버에 송신한다(S302). 이동 단말(200, 202, 204)은 서버 지원 여부의 확인을 구하는 사용자 인터페이스를 생성하고, 상기 사용자 인터페이스를 통하여 사용자로부터 서버 지원의 입력이 있는 경우에 한하여 상기 지원을 하는 것으로 결정할 수 있다. 또한, 이동 단말(200, 202, 204)은 자동 서버 지원 여부에 대한 옵션의 설정 값을 참조하여 상기 서버 수행을 위한 지원을 할 것인지를 결정할 수 있다. 상기 서버 수행 지원 신호에는 상기 서버 수행 지원 신호를 송신한 이동 단말(200, 202, 204)의 접속 정보가 포함될 수 있다. 상기 접속 정보는 상기 이동 단말에 구비된 무선 통신 인터페이스가 상기 서버 수행 지원 신호에 포함시키는 것일 수 있다. 상기 접속 정보는 예를 들어 상기 이동 단말의 MAC 주소 또는 IP 주소일 수 있다.When the mobile terminal 200, 202, or 204 receives the server performance request signal, the mobile terminal 200, 202, 204 determines whether to support the server performance, and if it is determined to support the mobile terminal 200, 202, 204, transmits the server performance support signal to the mobile instant messenger server (S302). . The mobile terminal 200, 202, or 204 may generate a user interface for requesting confirmation of server support, and determine that support is provided only when there is an input of server support from a user through the user interface. In addition, the mobile terminals 200, 202, and 204 may determine whether to support the performance of the server by referring to a setting value of an option for whether to automatically support the server. The server performance assistance signal may include access information of the mobile terminals 200, 202, and 204 that have transmitted the server performance assistance signal. The access information may be included in the server performance support signal by the wireless communication interface provided in the mobile terminal. The access information may be, for example, a MAC address or an IP address of the mobile terminal.

이동 인스턴트 메신저 서버(100)는 상기 서버 수행 요청 신호에 대응한 서버 수행 지원 신호를 송신한 이동 단말 중에서 하나의 이동 단말을 차기 서버로 선정한다(S304). The mobile instant messenger server 100 selects one mobile terminal as a next server from among mobile terminals which have transmitted a server execution support signal corresponding to the server execution request signal (S304).

이하, 차기 서버 선정(S304)의 방법에 대하여 설명하기로 한다.Hereinafter, the method of selecting the next server (S304) will be described.

먼저, 이동 인스턴트 메신저 서버(100)는 상기 서버 수행 지원 신호를 송신한 서버 후보 단말이 없는 경우, 상기 일시적 친구목록에 포함된 모든 이동 단말에 인스턴트 메신저 서비스 중단 신호를 송신할 수 있다.First, when there is no server candidate terminal that transmits the server performance support signal, the mobile instant messenger server 100 may transmit an instant messenger service stop signal to all mobile terminals included in the temporary friend list.

반면에, 상기 서버 수행 지원 신호를 송신한 서버 후보 단말이 하나 존재하는 경우, 이동 인스턴트 메신저 서버(100)는 상기 서버 후보 단말을 그대로 차기 서버로 선정한다.On the other hand, if there is one server candidate terminal that has transmitted the server performance support signal, the mobile instant messenger server 100 selects the server candidate terminal as a next server.

상기 서버 수행 지원 신호를 송신한 서버 후보 단말이 2 이상인 경우, 이동 인스턴트 메신저 서버(100)는 상기 서버 후보 단말의 기기 성능 비교를 기준으로 하여 차기 서버를 선정하거나, 상기 일시적 친구목록에 포함된 단말 중 상기 서버 후보 단말을 제외한 이동 단말에 의한 투표에 의해 차기 서버를 선정할 수도 있다. 또는, 상기 기기 성능 비교 및 투표를 병합한 방식에 의해 차기 서버를 선정할 수도 있다. 예를 들어, 상기 기기 성능 비교를 거쳐 일정 기준 성능 이상을 보유한 이동 단말(200, 202, 204) 중에서 투표를 진행할 수 있다.When there are two or more server candidate terminals that transmit the server performance support signal, the mobile instant messenger server 100 selects a next server based on a device performance comparison of the server candidate terminals, or the terminal included in the temporary friend list. The next server may be selected by voting by the mobile terminal excluding the server candidate terminal. Alternatively, the next server may be selected by a combination of the device performance comparison and voting. For example, voting may be performed among the mobile terminals 200, 202, and 204 having a predetermined reference performance or more through the device performance comparison.

상기 서버 후보 단말의 기기 성능 비교를 통하여 차기 서버의 선정(S304)이 수행되는 경우, 서버 후보 단말(200, 202, 204)은 자신의 성능 데이터를 포함한 서버 수행 지원 신호를 이동 인스턴트 메신저 서버(100)에 송신(S302)하는 것이 바람직하다.When the next server selection (S304) is performed through the device performance comparison of the server candidate terminal, the server candidate terminals 200, 202, and 204 move the server performance support signal including their performance data to the mobile instant messenger server 100. (S302) is preferable.

상기 성능 데이터는 각 이동 단말(200, 202, 204)의 중앙 처리 장치(Central Processing Unit; CPU)의 성능 데이터, 저장 수단 잔여 공간 데이터, 통신 영역의 넓이 데이터 및 잔여 전력량 데이터를 포함할 수 있다. 상기 중앙 처리 장치의 성능 데이터는 예를 들어 클럭 데이터일 수 있고, 상기 통신 영역의 넓이 데이터는 지원하는 무선 통신 인터페이스의 종류에 따른 통신 반경 데이터일 수 있다.The performance data may include performance data of a central processing unit (CPU) of each mobile terminal 200, 202, 204, storage means remaining space data, area data of a communication area, and residual power amount data. The performance data of the central processing unit may be clock data, for example, and the area data of the communication area may be communication radius data according to the type of a wireless communication interface to support.

즉, 이동 인스턴트 메신저 서버(100)는 각 서버 후보 단말의 중앙 처리 장치의 성능 데이터, 저장 수단 잔여 공간 데이터, 통신 영역의 넓이 데이터 및 잔여 전력량 데이터 중 적어도 하나를 비교할 수 있다.That is, the mobile instant messenger server 100 may compare at least one of performance data of the central processing unit of each server candidate terminal, storage means remaining space data, area data of the communication area, and residual power amount data.

이동 인스턴트 메신저 서버(100)는 상기 서버 수행 지원 신호를 송신한 서버 후보 단말이 2 이상이며, 상기 기준에 의하여도 같은 점수를 기록한 동점 서버 후보 단말이 발생한 경우, 상기 동점 서버 후보 단말 중 이동 인스턴트 메신저 서버(100)에 접속한 순서 및 이동 인스턴트 메신저 서버(100)와의 거리 중 적어도 하나를 기준으로 하나의 차기 서버를 선정할 수 있다. 예를 들어, 상기 동점 서버 후보 단말 중 상기 이동 인스턴트 메신저 서버(100)에 가장 먼저 접속하거나 상기 이동 인스턴트 메신저 서버(100)와 가장 가까운 곳에 위치하는 이동 단말이 차기 서버(200)로 선정될 수 있다.The mobile instant messenger server 100 is a mobile instant messenger among the tied server candidate terminals when the server candidate terminal that transmits the server performance support signal is 2 or more, and a tie server candidate terminal having the same score is generated according to the criterion. One next server may be selected based on at least one of a sequence of accessing the server 100 and a distance from the mobile instant messenger server 100. For example, a mobile terminal that is connected to the mobile instant messenger server 100 first among the tie server candidate terminals or located closest to the mobile instant messenger server 100 may be selected as the next server 200. .

차기 서버가 선정(S304) 된 경우, 이동 인스턴트 메신저 서버(100)는 차기 서버(200)에 선정 통보 신호를 송신한다(S306).When the next server is selected (S304), the mobile instant messenger server 100 transmits a selection notification signal to the next server 200 (S306).

상기 선정 통보 신호를 수신한 차기 서버(200)는 인스턴트 메신저 서버 기능을 활성화한다(S308). 상기 인스턴트 메신저 서버 기능을 활성화(S308)하는 것은 차기 서버(200)의 운영체제(Operating System; OS)가 상기 서버 모듈을 실행하는 것으로 이해될 수 있을 것이다.The next server 200 receiving the selection notification signal activates the instant messenger server function (S308). Activating the instant messenger server function (S308) may be understood as an operating system (OS) of the next server 200 executing the server module.

차기 서버(200)는 서버 기능을 활성화한 후, 자신에 접속할 이동 단말(202, 204)이 알고 있어야 하는 NPSK(New Pre-Shared Key)를 생성한다.After activating the server function, the next server 200 generates a NPSK (New Pre-Shared Key) that the mobile terminals 202 and 204 to access should know.

서버 기능을 활성화(S308)한 차기 서버(200)는 서버 실행 준비 완료 신호(S310)을 이동 인스턴트 메신저 서버(100)에 송신한다. 상기 서버 실행 준비 완료 신호에는 상기 NPSK가 수납되어 있다.The next server 200 that has activated the server function (S308) transmits a server execution ready signal (S310) to the mobile instant messenger server 100. The NPSK is stored in the server execution ready signal.

인스턴트 메신저 서버(100)는 실행 준비 완료 신호가 수신 된 경우, 상기 실행 준비 완료 신호에 수납된 상기 NPSK를 포함한 서버 변경 알림 신호를 이동 단말(202, 204)에 송신한다(S311). 이로써, 차기 서버(200)는 자신이 생성한 NPSK를 현재 인스턴트 메신저 서버(100)를 통해 이동 단말(202, 204)에 안전하게 전달할 수 있게 되고, 일시적 친구목록 데이터에 포함되지 않은 비정상적 이동 단말은 NPSK를 알 수 없으므로 차기 서버(200) 간에 상호 인증을 통과할 수 없어, 애드혹 인스턴트 메신저 시스템에 접속 제어 방식의 보안을 적용할 수 있는 효과가 있다. 상기 서버 변경 알림 신호에는 차기 서버(200)의 L2 주소 및 L3 주소 중 적어도 하나가 더 수납될 수 있다. 예를 들어, 차기 서버(200)의 MAC(Media Access Control) 주소 및 IP 주소 중 적어도 하나가 더 수납될 수 있다.인스턴트 메신저 서버(100)는 상기 서버 변경 알림 신호를 범용 인스턴트 메신저 서버(300)에도 송신할 수 있다. 도 2에 도시된 바와 같이, 인스턴트 메신저 서버(100)는 상기 서버 변경 알림 신호를 2G/3G 이동 통신망을 통하여 연결 된 네트워크(400)를 경유하여 범용 인스턴트 메신저 서버(300)에 송신할 수 있다. 상기 서버 변경 알림 신호에는 상기 NPSK가 수납되는 것이 바람직하다.When the execution ready signal is received, the instant messenger server 100 transmits a server change notification signal including the NPSK stored in the execution ready signal to the mobile terminals 202 and 204 (S311). As a result, the next server 200 can securely transmit the NPSK generated by the current server to the mobile terminals 202 and 204 through the instant messenger server 100, and the abnormal mobile terminal not included in the temporary friend list data is NPSK. Since it is not possible to pass the mutual authentication between the next server 200, there is an effect that can apply the security of the access control method to the ad hoc instant messenger system. At least one of an L2 address and an L3 address of the next server 200 may be further stored in the server change notification signal. For example, at least one of a media access control (MAC) address and an IP address of the next server 200 may be further stored. The instant messenger server 100 transmits the server change notification signal to the general-purpose instant messenger server 300. Can also be sent. As illustrated in FIG. 2, the instant messenger server 100 may transmit the server change notification signal to the general-purpose instant messenger server 300 via the network 400 connected through the 2G / 3G mobile communication network. The NPSK may be stored in the server change notification signal.

범용 인스턴트 메신저 서버(300)는 상기 서버 변경 알림 신호를 수신하여, 차기 서버(200)의 주소 및 차기 서버(200)에 대한 상기 NPSK 값을 업데이트 할 수 있다. 상기 업데이트는 범용 인스턴트 메신저 서버(300)가 관리하는 이동 인스턴트 메신저 서버 리스트 데이터에 대하여 이루어 질 수 있는데, 상기 이동 인스턴트 메신저 서버 리스트 데이터는, 각각의 이동 인스턴트 메신저 서버 별로 식별 정보 및 NPSK 값을 대응시켜 저장하고 있는 데이터일 수 있다. 상기 이동 인스턴트 메신저 서버의 식별 정보는 예를 들어, L2 주소일 수 있다.The general instant messenger server 300 may update the address of the next server 200 and the NPSK value of the next server 200 by receiving the server change notification signal. The update may be performed on mobile instant messenger server list data managed by the general-purpose instant messenger server 300. The mobile instant messenger server list data corresponds to identification information and NPSK value for each mobile instant messenger server. It may be data being stored. The identification information of the mobile instant messenger server may be, for example, an L2 address.

상기 업데이트 관련 동작을 예를 들어 설명한다. L2 주소가 'A'인 이동 인스턴트 메신저 서버(100)가 차기 서버(200)의 L2 주소는 'B'이며, NPSK 값은 '123'이라는 정보를 상기 서버 변경 알림 신호에 수납시켜 송신한 경우, 범용 인스턴트 메 신저 서버(300)는 상기 이동 인스턴트 메신저 서버 리스트 데이터에 포함된 식별 정보 'A'인 데이터를 식별 정보는 'B'로, NPSK는 '123'으로 각각 업데이트 하게 된다.The update related operation will be described by way of example. When the mobile instant messenger server 100 having the L2 address 'A' receives the information indicating that the L2 address of the next server 200 is 'B' and the NPSK value is '123' in the server change notification signal, The universal instant messenger server 300 updates the data having identification information 'A' included in the mobile instant messenger server list data with identification information 'B' and NPSK with '123', respectively.

차기 서버(200)가 서버로서 동작하는 경우, 차기 서버(200)의 통신 가능 영역에 본 발명에 따른 인스턴트 메신저 서비스의 클라이언트 모듈이 실행 중인 이동 단말이 진입 하는 경우, 상기 이동 단말은 차기 서버(200)에 접속하기 위해, 차기 서버(200)의 L2 주소가 수납된 NPSK 제공 요청 신호를 범용 인스턴트 메신저 서버(300)에 2G/3G 이동통신을 통하여 송신하게 되는데, 범용 인스턴트 메신저 서버(300)는 수신된 상기 NPSK 제공 요청 신호에 수납된 차기 서버(200)의 L2 주소를 식별 정보로 하여 NPSK 값을 상기 이동 인스턴트 메신저 서버 리스트 데이터에서 검색한 후, 검색된 NPSK 값을 상기 이동 단말에 2G/3G 이동통신을 통하여 송신해 줄 수 있다.When the next server 200 operates as a server, when the mobile terminal running the client module of the instant messenger service according to the present invention enters the communication area of the next server 200, the mobile terminal is the next server 200. In order to connect to), the NPSK providing request signal containing the L2 address of the next server 200 is transmitted to the universal instant messenger server 300 through 2G / 3G mobile communication, and the general instant messenger server 300 receives the received message. The NPSK value is retrieved from the mobile instant messenger server list data using the L2 address of the next server 200 stored in the received NPSK request signal as identification information, and then the retrieved NPSK value is transmitted to the mobile terminal for 2G / 3G mobile communication. You can send it through

상기 이동 단말은 상기 범용 인스턴트 메신저 서버(300)로부터 수신 받은 상기 NPSK를 이용하여 차기 서버(200)에 상호 인증을 거쳐 접속함으로써, 애드혹 인스턴트 메시징 서비스를 제공 받을 수 있다.인스턴트 메신저 서버(100)는 상기 서버 실행 준비 완료 신호에 대한 응답으로 상기 일시적 친구목록 데이터를 송신(S312)한 후, 인스턴트 메신저 서버 기능을 비활성화할 수 있다(S320).The mobile terminal can receive an ad hoc instant messaging service by mutually authenticating and accessing the next server 200 using the NPSK received from the general-purpose instant messenger server 300. The instant messenger server 100 After transmitting the temporary friend list data in response to the server execution ready signal (S312), the instant messenger server function may be deactivated (S320).

상기 인스턴트 메신저 서버 기능을 비활성화하는 것은 이동 인스턴트 메신저 서버(100)의 운영체제(Operating System; OS)가 상기 서버 모듈의 실행을 종료하는 것으로 이해될 수 있을 것이다. 보다 자세하게는 상기 운영체제 상의 상기 서버 모 듈과 관련된 프로세스(process) 또는 쓰레드(thread)의 실행을 종료하는 것으로 이해될 수 있을 것이다.Deactivating the instant messenger server function may be understood as an operating system (OS) of the mobile instant messenger server 100 terminating execution of the server module. More specifically, it may be understood to terminate execution of a process or thread associated with the server module on the operating system.

인스턴트 메신저 서버(100)는 자신에 대한 데이터를 포함시킨 상기 일시적 친구목록 데이터를 차기 서버(200)에 송신할 수 있다. 즉, 인스턴트 메신저 서버(100)는 차기 인스턴트 메신저 서버(200)에 서버의 동작을 이관한 후, 인스턴트 메신저 서비스를 사용하는 이동 단말이 될 수 있다. 도 3에서는, 인스턴트 메신저 서버(100)가 서버의 기능을 종료하면서 인스턴트 메신저 서비스를 사용하지도 않는 경우를 도시하고 있음을 유의하여야 한다.The instant messenger server 100 may transmit the temporary friend list data including the data about itself to the next server 200. That is, the instant messenger server 100 may be a mobile terminal using an instant messenger service after transferring the operation of the server to the next instant messenger server 200. In FIG. 3, it should be noted that the instant messenger server 100 does not use the instant messenger service while terminating the function of the server.

차기 서버(200)는 상기 일시적 친구목록 데이터가 수신 된 경우(S312), 상기 일시적 친구목록 데이터에 포함된 모든 이동 단말(202, 204)에게 접속 요청 신호를 송신한다(S314). 상기 접속 요청신호는 PSK 요청 메시지를 포함하는 것이 바람직하다.When the temporary friend list data is received (S312), the next server 200 transmits an access request signal to all mobile terminals 202 and 204 included in the temporary friend list data (S314). The access request signal preferably includes a PSK request message.

이동 단말(202, 204)은 이동 인스턴트 메신저 서버(100)로부터 제공된 상기 NPSK를 이용하여 상호 인증을 수행함으로써 차기 서버(200)에 접속할 수 있다(S316).The mobile terminals 202 and 204 may access the next server 200 by performing mutual authentication using the NPSK provided from the mobile instant messenger server 100 (S316).

차기 서버(200)는 상기 일시적 친구목록 데이터에 포함된 모든 이동 단말이 접속(S316)한 경우 단말 접속 완료 신호를 상기 이동 인스턴트 메신저 서버(100)에 송신한다(S318).The next server 200 transmits a terminal access completion signal to the mobile instant messenger server 100 when all mobile terminals included in the temporary friend list data are connected (S316) (S318).

도 3에 도시된 바와 같이, 이동 인스턴트 메신저 서버(100)는 상기 단말 접속 완료 신호를 수신한 후, 인스턴트 메신저 서버 기능을 비활성화(S320)할 수도 있다. 이 경우, 상기 일시적 친구목록에 포함된 모든 이동 단말이 차기 서버(200)에 접속한 후에야 이동 인스턴트 메신저 서버(100)의 서버 기능이 비활성화되므로 이동 단말에 끊김 없는 메신저 서비스를 제공할 수 있는 효과가 있다.As shown in FIG. 3, the mobile instant messenger server 100 may deactivate the instant messenger server function after receiving the terminal access completion signal (S320). In this case, the server function of the mobile instant messenger server 100 is deactivated only after all mobile terminals included in the temporary friend list are connected to the next server 200, thereby providing a seamless messenger service to the mobile terminal. have.

이하, 본 실시예에 따른 애드혹 인스턴트 메신저 시스템의 동작 중, 이동 인스턴트 메신저 서버(100)가 범용 인스턴트 메신저 서버(300)의 프락시(proxy) 서버로 동작하는 경우를 설명하기로 한다.Hereinafter, a case in which the mobile instant messenger server 100 operates as a proxy server of the general purpose instant messenger server 300 during the operation of the ad hoc instant messenger system according to the present embodiment will be described.

본 실시예에 따른 인스턴트 메신저 시스템을 구성하는 이동 단말은 상기 이동 단말 간에 사용되는 무선 통신 인터페이스와 상이한 제 2 무선 통신 인터페이스를 더 지원할 수 있다. 예를 들어 상기 제 2 무선 통신 인터페이스는 CDMA(Code Division Multiple Access), WCDMA(Wideband Code Divisional Multiple Access), GSM(Global System for Mobile communications) 및 IEEE 802.16 중 적어도 하나일 수 있다.The mobile terminal constituting the instant messenger system according to the present embodiment may further support a second wireless communication interface different from the wireless communication interface used between the mobile terminals. For example, the second wireless communication interface may be at least one of Code Division Multiple Access (CDMA), Wideband Code Divisional Multiple Access (WCDMA), Global System for Mobile communications (GSM), and IEEE 802.16.

이동 인스턴트 메신저 서버(100) 및 차기 서버(200)는 상기 제 2 무선 통신 인터페이스를 통해 기존의 범용 인스턴트 메신저 서버(300)와 연결되어 상기 범용 인스턴트 메신저 서버의 프락시(proxy) 서버로 동작할 수 있다.The mobile instant messenger server 100 and the next server 200 may be connected to the existing universal instant messenger server 300 through the second wireless communication interface to operate as a proxy server of the universal instant messenger server. .

이동 인스턴트 메신저 서버(100) 및 차기 서버(200)가 기존의 범용 인스턴트 메신저 서버(300)의 프락시 서버로 동작하는 경우, 이동 인스턴트 메신저 서버(100)에 접속된 이동 단말(200, 202, 204)은 기존의 인스턴트 메신저 서비스의 친구목록에 포함된 다른 단말과 인스턴트 메신저 데이터를 송수신 할 수 있다. 상기 기존의 인스턴트 메신저 서비스의 친구목록에 포함된 다른 단말이 다른 이동 인 스턴트 메신저 서버에 접속된 이동 단말(200, 202, 204)일 수 도 있다. 이때, 상기 다른 이동 인스턴트 메신저 서버 역시 인스턴트 메신저 서버(300)의 프락시 서버로 동작해야 하는 것을 이해할 수 있을 것이다.When the mobile instant messenger server 100 and the next server 200 operate as a proxy server of the conventional general instant messenger server 300, the mobile terminals 200, 202, and 204 connected to the mobile instant messenger server 100 are provided. May transmit and receive instant messenger data with another terminal included in a friend list of the existing instant messenger service. Another terminal included in the friend list of the existing instant messenger service may be the mobile terminals 200, 202, and 204 connected to another mobile instant messenger server. At this time, it will be understood that the other mobile instant messenger server should also operate as a proxy server of the instant messenger server 300.

한편, 이동 인스턴트 메신저 서버(100)의 사용자 역시 이동 인스턴트 메신저 서버(100)가 제공하는 인스턴트 메신저 서비스를 이용하여 자신의 기기에 접속한 이동 단말(200, 202, 204)과 인스턴트 메신저 서비스 데이터를 송수신할 수 있다. 이를 위해, 이동 인스턴트 메신저 서버(100)에 포함된 서버 모듈은 자체 로그인 기능을 제공하는 것이 바람직하다. 이 경우, 상기 일시적 친구목록은, 이동 인스턴트 메신저 서버(100)를 포함할 것이다.On the other hand, the user of the mobile instant messenger server 100 also transmits and receives instant messenger service data with the mobile terminals 200, 202, and 204 connected to their devices using the instant messenger service provided by the mobile instant messenger server 100. can do. To this end, the server module included in the mobile instant messenger server 100 preferably provides a self-login function. In this case, the temporary friend list may include the mobile instant messenger server 100.

상기와 같이 이동 인스턴트 메신저 서버(100) 및 차기 서버(200)가 상기 이동 단말과의 무선 통신과 상이한 제 2 무선 통신 인터페이스를 더 지원하여 상기 제 2 무선 통신 인터페이스를 통해 범용 인스턴트 메신저 서버와 연결되어 범용 인스턴트 메신저 서버(300)의 프락시(proxy) 서버로 동작하는 경우, 이동 인스턴트 메신저 서버(100)는 범용 인스턴트 메신저 서버(300)에 차기 서버(200)의 접속 정보를 포함하는 프락시 서버 변경 신호를 송신할 수 있다(S322). 이동 인스턴트 메신저 서버(100)가 아닌 차기 서버(200)가 범용 인스턴트 메신저 서버(300)에 차기 서버(200)의 접속 정보를 포함하는 프락시 서버 변경 신호를 송신(S322)할 수도 있음을 유의해야 한다.As described above, the mobile instant messenger server 100 and the next server 200 further support a second wireless communication interface different from the wireless communication with the mobile terminal, and are connected to the general instant messenger server through the second wireless communication interface. When operating as a proxy server of the universal instant messenger server 300, the mobile instant messenger server 100 sends a proxy server change signal to the universal instant messenger server 300 including the connection information of the next server 200. It can transmit (S322). It should be noted that the next server 200 other than the mobile instant messenger server 100 may transmit a proxy server change signal including connection information of the next server 200 to the general-purpose instant messenger server 300 (S322). .

이동 인스턴트 메신저 서버(100) 및 차기 서버(200)는 상기 일시적 친구목록 데이터에 포함된 이동 단말 중 적어도 하나가 상기 타 인스턴트 메신저 서버에서 제공하는 서비스 가입자인 경우에 한하여 상기 타 인스턴트 메신저 서버의 프락시(proxy) 서버로 동작할 수도 있다. 이러한 구성을 통하여, 이동 인스턴트 메신저 서버에 과다한 2G/3G 이동통신 요금이 부과되는 것을 방지할 수 있는 효과가 있다.The mobile instant messenger server 100 and the next server 200 may use the proxy of the other instant messenger server only when at least one of the mobile terminals included in the temporary friend list data is a service subscriber provided by the other instant messenger server. proxy) It can also act as a server. Through such a configuration, an excessive 2G / 3G mobile communication fee can be prevented from being imposed on the mobile instant messenger server.

이동 인스턴트 메신저 서버의 교체가 발생하는 경우, 인스턴트 메신저 서버(100)는 상기 서버 변경 알림 신호를 범용 인스턴트 메신저 서버(300)에도 송신할 수 있다. 도 2에 도시된 바와 같이, 인스턴트 메신저 서버(100)는 상기 서버 변경 알림 신호를 2G/3G 이동 통신망을 통하여 연결 된 네트워크(400)를 경유하여 범용 인스턴트 메신저 서버(300)에 송신할 수 있다. 상기 서버 변경 알림 신호에는 상기 NPSK가 수납되는 것이 바람직하다. 즉, 상기 제 2 무선 인터페이스는 2G/3G 이동 통신망을 의미하는 것으로 이해될 수 있을 것이다.When the replacement of the mobile instant messenger server occurs, the instant messenger server 100 may transmit the server change notification signal to the general instant messenger server 300. As illustrated in FIG. 2, the instant messenger server 100 may transmit the server change notification signal to the general-purpose instant messenger server 300 via the network 400 connected through the 2G / 3G mobile communication network. The NPSK may be stored in the server change notification signal. That is, the second air interface may be understood to mean a 2G / 3G mobile communication network.

범용 인스턴트 메신저 서버(300)는 상기 서버 변경 알림 신호를 수신하여, 차기 서버(200)의 주소 및 차기 서버(200)에 대한 상기 NPSK 값을 업데이트 할 수 있다. 상기 업데이트는 범용 인스턴트 메신저 서버(300)가 관리하는 이동 인스턴트 메신저 서버 리스트 데이터에 대하여 이루어 질 수 있는데, 상기 이동 인스턴트 메신저 서버 리스트 데이터는, 각각의 이동 인스턴트 메신저 서버 별로 식별 정보 및 NPSK 값을 대응시켜 저장하고 있는 데이터일 수 있다. 상기 이동 인스턴트 메신저 서버의 식별 정보는 예를 들어, L2 주소일 수 있다.The general instant messenger server 300 may update the address of the next server 200 and the NPSK value of the next server 200 by receiving the server change notification signal. The update may be performed on mobile instant messenger server list data managed by the general-purpose instant messenger server 300. The mobile instant messenger server list data corresponds to identification information and NPSK value for each mobile instant messenger server. It may be data being stored. The identification information of the mobile instant messenger server may be, for example, an L2 address.

상기 업데이트 관련 동작을 예를 들어 설명한다. L2 주소가 'A'인 이동 인스턴트 메신저 서버(100)가 차기 서버(200)의 L2 주소는 'B'이며, NPSK 값은 '123'이 라는 정보를 상기 서버 변경 알림 신호에 수납시켜 송신한 경우, 범용 인스턴트 메신저 서버(300)는 상기 이동 인스턴트 메신저 서버 리스트 데이터에 포함된 식별 정보 'A'인 데이터를 식별 정보는 'B'로, NPSK는 '123'으로 각각 업데이트 하게 된다.The update related operation will be described by way of example. When the mobile instant messenger server 100 having the L2 address 'A' receives and transmits the information that the L2 address of the next server 200 is 'B' and the NPSK value is '123', the server change notification signal. The universal instant messenger server 300 updates the identification information 'A' included in the mobile instant messenger server list data with identification information 'B' and NPSK with '123', respectively.

차기 서버(200)가 서버로서 동작하는 경우, 차기 서버(200)의 통신 가능 영역에 본 발명에 따른 인스턴트 메신저 서비스의 클라이언트 모듈이 실행 중인 이동 단말이 진입 하는 경우, 상기 이동 단말은 차기 서버(200)에 접속하기 위해, 차기 서버(200)의 L2 주소가 수납된 NPSK 제공 요청 신호를 범용 인스턴트 메신저 서버(300)에 2G/3G 이동통신을 통하여 송신하게 되는데, 범용 인스턴트 메신저 서버(300)는 수신된 상기 NPSK 제공 요청 신호에 수납된 차기 서버(200)의 L2 주소를 식별 정보로 하여 NPSK 값을 상기 이동 인스턴트 메신저 서버 리스트 데이터에서 검색한 후, 검색된 NPSK 값을 상기 이동 단말에 2G/3G 이동통신을 통하여 송신해 줄 수 있다.When the next server 200 operates as a server, when the mobile terminal running the client module of the instant messenger service according to the present invention enters the communication area of the next server 200, the mobile terminal is the next server 200. In order to connect to), the NPSK providing request signal containing the L2 address of the next server 200 is transmitted to the universal instant messenger server 300 through 2G / 3G mobile communication, and the general instant messenger server 300 receives the received message. The NPSK value is retrieved from the mobile instant messenger server list data using the L2 address of the next server 200 stored in the received NPSK request signal as identification information, and then the retrieved NPSK value is transmitted to the mobile terminal for 2G / 3G mobile communication. You can send it through

상기 이동 단말은 상기 범용 인스턴트 메신저 서버(300)로부터 수신 받은 상기 NPSK를 이용하여 차기 서버(200)에 상호 인증을 거쳐 접속함으로써, 애드혹 인스턴트 메시징 서비스를 제공 받을 수 있다.The mobile terminal can receive an ad hoc instant messaging service by accessing the next server 200 through mutual authentication using the NPSK received from the general-purpose instant messenger server 300.

이하, 본 발명의 다른 실시예에 따른 애드혹 인스턴트 메신저 서비스 관리 방법을 도 4를 참조하여 설명하기로 한다. 도 4는 본 발명의 일 실시예에 따른 애드혹 인스턴트 메신저 시스템의 이동 인스턴트 메신저 서버 교체 관련 동작의 순서도이다. 본 실시예에 따른 애드혹 인스턴트 메신저 서비스 관리 방법에는 상기 실 시예에 따른 애드혹 인스턴트 메신저 시스템에 기재된 본 발명의 기술적 특징이 적용될 수 있음을 유의해야 한다.Hereinafter, an ad hoc instant messenger service management method according to another embodiment of the present invention will be described with reference to FIG. 4. 4 is a flowchart illustrating an operation for replacing a mobile instant messenger server of an ad hoc instant messenger system according to an embodiment of the present invention. It should be noted that the technical features of the present invention described in the ad hoc instant messenger system according to the embodiment may be applied to the method for managing the ad hoc instant messenger service according to the present embodiment.

먼저, 현재 애드혹 인스턴트 메신저 서버 기능을 수행하는 이동 단말이 더 이상 애드혹 인스턴트 메신저 서버 기능을 수행할 수 없는 경우(S400), 애드혹 인스턴트 메신저 서버와 무선 통신이 가능한 상태에 있는 이동 단말을 포함하는 일시적 친구목록을 대상으로 하는 애드혹 인스턴트 메신저 서버 기능의 비활성화 절차를 개시한다.First, when a mobile terminal currently performing an ad hoc instant messenger server function can no longer perform an ad hoc instant messenger server function (S400), a temporary friend including the mobile terminal in a wireless communication state with the ad hoc instant messenger server is available. Initiate the deactivation procedure of the ad hoc instant messenger server function for the list.

다음으로, 상기 일시적 친구목록에 포함된 이동 단말 중 하나의 이동 단말을 차기 서버로 선정한다. 상기 선정은 상기 일시적 친구목록에 포함된 모든 이동 단말에 서버 수행 요청 신호를 송신(S402)하고, 상기 서버 수행 요청 신호에 대응한 서버 수행 지원 신호를 송신한 이동 단말 중에서 하나의 이동 단말을 차기 서버로 선정(S406)하며, 상기 차기 서버에 선정 통보 신호를 송신(S408)하는 단계를 포함하는 동작을 통해 수행될 수 있다.Next, one of the mobile terminals included in the temporary friend list is selected as the next server. In the selection, a server execution request signal is transmitted to all mobile terminals included in the temporary friend list (S402), and a server next to one mobile terminal among the mobile terminals that transmits a server execution support signal corresponding to the server execution request signal. In operation S406, the method may include transmitting a selection notification signal to the next server in operation S408.

상기 서버 수행 지원 신호를 송신한 서버 후보 단말이 2 이상인 경우, 상기 서버 후보 단말의 기기 성능 비교 및 상기 일시적 친구목록에 포함된 단말 중 상기 서버 후보 단말을 제외한 이동 단말에 의한 투표 중 적어도 하나의 기준에 의해 차기 서버를 선정(S406)할 수 있다. 다만, 상기 서버 후보 단말의 기기 성능 비교가 상기 기준에 포함되는 경우, 상기 서버 수행 지원 신호는 상기 서버 후보 단말의 성능 데이터를 포함하는 것이 바람직하다.When the number of server candidate terminals transmitting the server performance support signal is 2 or more, at least one criterion of the device performance comparison of the server candidate terminal and voting by the mobile terminal except the server candidate terminal among the terminals included in the temporary friend list Next, the next server can be selected (S406). However, when the device performance comparison of the server candidate terminal is included in the criterion, the server performance support signal preferably includes performance data of the server candidate terminal.

상기 서버 수행 지원 신호를 송신한 서버 후보 단말이 없는 경우(S404)에는, 상기 일시적 친구목록에 포함된 모든 이동 단말에 인스턴트 메신저 서비스 중단 신호를 송신(S420)한 후, 이동 인스턴트 메신저 서비스를 중단하며(S422), 범용 인스턴트 메신저 서버에 서비스 중단을 통보(S424)할 수 있다. 이러한 동작을 통하여, 인스턴트 메신저 서비스를 이용하던 이동 단말에 대한 아무런 통지도 없이 갑작스럽게 메신저 서비스가 중단되는 것을 방지할 수 있는 효과가 있다.If there is no server candidate terminal that has transmitted the server performance support signal (S404), the mobile messenger service is stopped after transmitting an instant messenger service stop signal to all mobile terminals included in the temporary friend list (S420). In operation S422, the service instant message may be notified to the general-purpose instant messenger server. Through this operation, it is possible to prevent the messenger service from being abruptly interrupted without any notification to the mobile terminal using the instant messenger service.

상기 애드혹 인스턴트 메신저 서버 기능을 비활성화함에 있어서, 상기 차기 서버로부터 서버 실행 준비 완료 신호가 수신 된 경우(S410), 그에 대한 응답으로 상기 일시적 친구목록 데이터를 송신한 후(S412), 인스턴트 메신저 서버 기능을 비활성화할 수 있다. 상기 인스턴트 메신저 서버 기능의 비활성화는 상기 차기 서버에 대한 이동 단말의 신규 접속이 완료되어 상기 차기 서버로부터 단말 접속 완료 신호가 수신된 경우 이뤄지는 것이 바람직하다. 상기 일시적 친구목록 데이터는 상기 이동 인스턴트 메신저 서버에 대한 데이터를 포함시킨 것일 수 있다. 즉, 인스턴트 메신저 서버는 차기 인스턴트 메신저 서버에 서버의 동작을 이관한 후, 인스턴트 메신저 서비스를 사용하는 이동 단말이 될 수 있다.In deactivating the ad hoc instant messenger server function, when a server execution completion signal is received from the next server (S410), after transmitting the temporary friend list data in response (S412), the instant messenger server function is activated. Can be disabled. Deactivation of the instant messenger server function is preferably performed when a new connection of the mobile terminal to the next server is completed and a terminal connection completion signal is received from the next server. The temporary friend list data may include data about the mobile instant messenger server. That is, the instant messenger server may be a mobile terminal using an instant messenger service after transferring the operation of the server to the next instant messenger server.

다음으로, 상기 차기 서버의 인스턴트 메신저 서버 기능 활성화 후, 애드혹 인스턴트 메신저 서버 기능을 비활성화한다.Next, after activating the instant messenger server function of the next server, the ad hoc instant messenger server function is deactivated.

이하, 본 발명의 또 다른 실시예에 따른 애드혹 인스턴트 메신저 서비스 관리 방법을 설명하기로 한다. 본 실시예에 따른 애드혹 인스턴트 메신저 서비스 관리 방법 역시 상기 실시예에 따른 애드혹 인스턴트 메신저 시스템에 기재된 본 발명의 기술적 특징이 적용될 수 있음을 유의해야 한다.Hereinafter, an ad hoc instant messenger service management method according to another embodiment of the present invention will be described. It should be noted that the method for managing an ad hoc instant messenger service according to the present embodiment may also apply the technical features of the present invention described in the ad hoc instant messenger system according to the embodiment.

먼저, 이동 단말이 서버 수행 요청 신호를 수신하는 경우(S402), 서버 수행을 위한 지원을 할 것인지 결정을 한다. 상기 결정은 서버 지원 여부의 확인을 구하는 사용자 인터페이스를 생성하고, 상기 사용자 인터페이스를 통하여 사용자로부터 서버 지원의 입력이 있는 경우에 한하여 상기 지원을 하는 것으로 결정하는 동작을 통하여 이뤄질 수 있다. 또한, 상기 결정은 자동 서버 지원 여부에 대한 옵션의 설정 값을 참조하여 상기 서버 수행을 위한 지원을 할 것인지의 결정하는 동작을 통하여 이뤄질 수도 있다.First, when the mobile terminal receives the server performance request signal (S402), it determines whether to support the server performance. The determination may be made by generating a user interface for confirming whether or not the server is supported, and determining that the support is provided only when there is an input of server support from the user through the user interface. In addition, the determination may be made through an operation of determining whether to support the execution of the server with reference to a setting value of an option for whether to automatically support the server.

다음으로, 상기 결정의 결과 서버 수행을 위한 지원을 하기로 결정한 경우 서버 수행 지원 신호를 송신한다.Next, when it is determined that support for server performance is determined as a result of the determination, a server performance support signal is transmitted.

다음으로, 선정 통보 신호가 수신(S408) 된 경우, 인스턴트 메신저 서버 기능을 활성화하여, 이동 단말이 차기 서버에 접속하고자 하는 경우, 상호 인증 과정에서 구비해야 할 NPSK(New Pre-Shared Key)를 생성한 후 상기 NPSK가 수납된 상기 서버 실행 준비 완료 신호를 송신(S410)한다.Next, when the selection notification signal is received (S408), the instant messenger server function is activated to generate a NPSK (New Pre-Shared Key) to be provided in the mutual authentication process when the mobile terminal wants to access the next server. After that, the server executes a ready signal for executing the NPSK and transmits the signal (S410).

현 인스턴트 메신저 서버는 상기 서버 실행 준비 완료 신호를 수신 하여, 일시적 친구목록 데이터에 포함된 모든 이동 단말에 상기 서버 실행 준비 완료 신호에 수납된 상기 NPSK를 송신한다(S411). 상기 NPSK는 서버가 변경 되었음을 알리는 서버 변경 알림 신호에 수납되어 송신 될 수 있다.The current instant messenger server receives the server execution ready signal and transmits the NPSK stored in the server execution ready signal to all mobile terminals included in the temporary friend list data (S411). The NPSK may be received and transmitted in a server change notification signal indicating that the server has been changed.

그 후, 인스턴트 메신저 서버는 상기 서버 실행 준비 완료 신호에 대한 응답으로 일시적 친구목록의 데이터를 상기 차기 서버에 송신한다(S412).Thereafter, the instant messenger server transmits data of the temporary friend list to the next server in response to the server execution ready signal (S412).

다음으로, 일시적 친구목록 데이터가 수신 된 경우(S412), 상기 일시적 친구 목록 데이터에 포함된 모든 이동 단말에게 접속 요청 신호를 송신(S414)한다. 상기 접속 요청 신호에는 PSK를 알려줄 것을 요청하는 메시지가 포함될 수 있으며, 이동 단말은 인스턴트 메신저 서버로부터 제공 받은 상기 NPSK를 이용하여 상기 차기 서버와 상호 인증을 거쳐 상기 차기 서버에 접속할 수 있다(S414).Next, when the temporary friend list data is received (S412), the access request signal is transmitted to all mobile terminals included in the temporary friend list data (S414). The access request signal may include a message requesting to inform the PSK, and the mobile terminal may access the next server through mutual authentication with the next server using the NPSK provided from the instant messenger server (S414).

상기 접속 요청 신호에 응답하여 차기 애드혹 인스턴트 메신저 서버에 접속한 이동 단말 중, 범용 인스턴트 메신저 서비스의 사용자가 하나 이상 존재하는 경우(S416), 즉 애드혹 인스턴트 메신저 서버가 범용 인스턴트 메신저 서버의 프락시 서버로 동작하는 경우에는 차기 애드혹 인스턴트 메신저 서버는 범용 인스턴트 메신저 서버에 프락시 서버의 변경을 통보한다(S418).When there is at least one user of the universal instant messenger service among mobile terminals connected to the next ad hoc instant messenger server in response to the access request signal (S416), that is, the ad hoc instant messenger server operates as a proxy server of the general instant messenger server. In the case of doing so, the next ad hoc instant messenger server notifies the universal instant messenger server of the change of the proxy server (S418).

이하, 본 발명의 또 다른 실시예에 따른 애드혹 인스턴트 메신저 서비스 개시 방법을 설명하기로 한다. 본 실시예에 따른 애드혹 인스턴트 메신저 서비스 개시 방법 역시 상기 실시예에 따른 애드혹 인스턴트 메신저 시스템에 기재된 본 발명의 기술적 특징이 적용될 수 있음을 유의해야 한다. 본 실시예에 따른 애드혹 인스턴트 메신저 서비스 개시 방법은 이동 인스턴트 메신저 서버가 존재하지 않는 경우, 최초의 이동 인스턴트 메신저 서버를 선정하기 위한 방법임을 이해할 수 있을 것이다.Hereinafter, a method for starting an ad hoc instant messenger service according to another embodiment of the present invention will be described. It should be noted that the technical features of the present invention described in the ad hoc instant messenger system according to the embodiment may also be applied to the method of starting the ad hoc instant messenger service according to the present embodiment. It will be appreciated that the method for starting an ad hoc instant messenger service according to the present embodiment is a method for selecting the first mobile instant messenger server when there is no mobile instant messenger server.

먼저, 무선 통신 영역 내에 있는 이동 단말에 인스턴트 메신저 서비스 참여 요청 신호를 송신한다. 상기 참여 요청 신호의 송신은 방송(broadcasting)의 형식으로 이뤄질 수 있다.First, an IM message joining request signal is transmitted to a mobile terminal in a wireless communication area. The participation request signal may be transmitted in the form of broadcasting.

다음으로, 상기 인스턴트 메신저 서비스 참여 요청 신호에 응답하여 참여 신 호를 송신한 이동 단말의 리스트를 생성한다. 상기 인스턴트 메신저 서비스 참여 요청 신호 수신 시, 상기 참여 신호를 송신할 지 여부를 결정하는 동작이 추가로 수행될 수 있다. 상기 결정은 인스턴트 메신저 서비스 참여 여부의 확인을 구하는 사용자 인터페이스를 생성하고, 상기 사용자 인터페이스를 통하여 사용자로부터 인스턴트 메신저 서비스 참여의 입력이 있는 경우에 한하여 상기 지원을 하는 것으로 결정하는 동작을 통하여 이뤄질 수 있다. 또한, 상기 결정은 자동 참여 여부에 대한 옵션의 설정 값을 참조하여 상기 참여 신호를 송신 할 것인지의 결정하는 동작을 통하여 이뤄질 수도 있다.Next, in response to the instant messenger service participation request signal, a list of mobile terminals that transmit a participation signal is generated. Upon receiving the instant messenger service participation request signal, an operation of determining whether to transmit the participation signal may be additionally performed. The determination may be made by generating a user interface for confirming whether or not to participate in the instant messenger service, and determining that the support is provided only when there is an input of the instant messenger service participation from the user through the user interface. In addition, the determination may be made through an operation of determining whether to transmit the participation signal with reference to a setting value of an option for whether to automatically participate.

다음으로, 상기 리스트에 포함된 이동 단말 중 하나의 이동 단말을 이동 인스턴트 메신저 서버로 선정한다. 상기 선정은 상기 리스트에 포함된 이동 단말의 기기 성능 비교 및 상기 리스트에 포함된 이동 단말에 의한 투표 중 적어도 하나의 기준에 의해 상기 이동 인스턴트 메신저 서버를 선정하는 동작을 통하여 수행될 수 있다. 이때, 상기 리스트에 포함된 이동 단말의 기기 성능 비교가 상기 기준에 포함되는 경우, 상기 참여 신호는 이동 단말의 성능 데이터를 포함하는 것이 바람직하다.Next, one of the mobile terminals included in the list is selected as the mobile instant messenger server. The selection may be performed through an operation of selecting the mobile instant messenger server based on at least one of a performance comparison of a mobile terminal included in the list and a voting by the mobile terminal included in the list. In this case, when the device performance comparison of the mobile terminal included in the list is included in the criterion, the participation signal preferably includes performance data of the mobile terminal.

다음으로, 상기 이동 인스턴트 메신저 서버에 상기 이동 단말의 리스트를 포함하는 선정 통보 신호를 송신한다.Next, the selection notification signal including the list of the mobile terminal is transmitted to the mobile instant messenger server.

다음으로, 상기 선정 통보 신호가 수신 된 경우, 인스턴트 메신저 서버 기능을 활성화한 후, 상기 이동 단말의 리스트에 포함된 모든 이동 단말에게 접속 요청 신호를 송신한다.Next, when the selection notification signal is received, after activating the instant messenger server function, the access request signal is transmitted to all mobile terminals included in the list of the mobile terminals.

다음으로, 상기 이동 단말의 리스트에 포함된 모든 이동 단말에게 상기 리스트 데이터를 송신한다.Next, the list data is transmitted to all mobile terminals included in the list of the mobile terminals.

이상 첨부된 도면을 참조하여 본 발명의 실시 예들을 설명하였지만, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 본 발명이 그 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있다는 것을 이해할 수 있을 것이다. 그러므로 이상에서 기술한 실시 예들은 모든 면에서 예시적인 것이며 한정적이 아닌 것으로 이해해야만 한다.While the present invention has been described in connection with what is presently considered to be practical exemplary embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, You will understand. It is therefore to be understood that the above-described embodiments are illustrative in all aspects and not restrictive.

도 1은 이동 라우터를 이용한 무선 인스턴트 메신저 시스템의 구성도이다.1 is a block diagram of a wireless instant messenger system using a mobile router.

도 2는 본 발명의 일 실시예에 따른 애드혹 인스턴트 메신저 시스템의 이동 인스턴트 메신저 서버 변경 전 후의 구성을 나타내는 도면이다.2 is a diagram showing the configuration before and after the mobile instant messenger server change of the ad hoc instant messenger system according to an embodiment of the present invention.

도 3은 본 발명의 일 실시 예에 따른 애드혹 인스턴트 메신저 시스템의 이동 인스턴트 메신저 서버 교체 관련 동작의 신호 흐름도이다.3 is a signal flow diagram of a mobile instant messenger server replacement related operation of an ad hoc instant messenger system according to an exemplary embodiment of the present invention.

도 4는 본 발명의 일 실시 예에 따른 애드혹 인스턴트 메신저 시스템의 이동 인스턴트 메신저 서버 교체 관련 동작의 순서도이다.4 is a flowchart illustrating an operation for replacing a mobile instant messenger server of an ad hoc instant messenger system according to an embodiment of the present invention.

Claims (14)

일시적 친구목록에 포함 된 이동 단말에 인스턴트 메시징 서비스를 제공하는 서버 모듈이 설치 된 이동 인스턴트 메신저 서버; 및A mobile instant messenger server having a server module for providing an instant messaging service to a mobile terminal included in a temporary friend list; And 상기 일시적 친구목록에 포함된 다른 단말 간에 인스턴트 메신저 데이터를 송수신하되, 이동 인스턴트 메신저가 차기 서버로 이관 되는 경우, 상기 이동 인스턴트 메신저 서버로부터 제공된 NPSK를 이용하여 상호 인증을 수행함으로써 상기 차기 서버에 접속하는 이동 단말을 포함하되,Transmitting instant messenger data between other terminals included in the temporary friend list, and when the mobile instant messenger is transferred to the next server, accessing the next server by performing mutual authentication using NPSK provided from the mobile instant messenger server. Including mobile terminals, 상기 일시적 친구목록은 상기 이동 인스턴트 메신저 서버와 무선 통신이 가능한 상태에 있는 이동 단말로 구성 된 것이고,The temporary friend list is composed of a mobile terminal in a wireless communication state with the mobile instant messenger server, 상기 이동 인스턴트 메신저 서버에 설치 된 상기 서버 모듈은,The server module installed in the mobile instant messenger server, 상기 서버 모듈의 실행 종료 시, 상기 일시적 친구목록에 포함된 이동 단말 중 차기 서버로 선정된 이동 단말에 이동 인스턴트 메신저 서버의 지위를 이관하되, 상기 차기 서버에 의해 생성된 NPSK(New Pre-Shared Key)를 상기 일시적 친구목록에 포함된 모든 이동 단말에 제공 하는 애드혹(Ad-hoc) 인스턴트 메신저 시스템.At the end of execution of the server module, transfer the status of the mobile instant messenger server to the mobile terminal selected as the next server among the mobile terminals included in the temporary friend list, and generate the NPSK (New Pre-Shared Key) generated by the next server. Ad-hoc instant messenger system for providing all mobile terminals included in the temporary friend list. 제 1항에 있어서,The method of claim 1, 상기 이동 인스턴트 메신저 서버는,The mobile instant messenger server, 상기 서버 모듈의 실행 종료 전에, 상기 일시적 친구 목록에 포함된 모든 이동 단말에 서버 수행 요청 신호를 송신하고, 상기 서버 수행 요청 신호에 대응한 서버 수행 지원 신호를 송신한 이동 단말 중에서 하나의 이동 단말을 상기 차기 서버로 선정하며,Before the execution of the server module, one of the mobile terminals that has transmitted a server performance request signal to all mobile terminals included in the temporary friend list and has transmitted a server performance support signal corresponding to the server performance request signal Selected as the next server, 상기 이동 단말은,The mobile terminal, 상기 서버 수행 요청 신호를 수신하면, 서버 수행 지원여부를 결정하고, 지원하기로 결정한 경우, 상기 서버 수행 지원 신호를 상기 이동 인스턴트 메신저 서버에 송신하는 애드혹(Ad-hoc) 인스턴트 메신저 시스템.Ad-hoc instant messenger system, upon receiving the server execution request signal, determines whether or not to support server performance and, if determined to support, transmits the server performance support signal to the mobile instant messenger server. 제 1항에 있어서,The method of claim 1, 상기 이동 인스턴트 메신저 서버는,The mobile instant messenger server, 상기 차기 서버에 선정 통보 신호를 송신하고, 상기 차기 서버로부터 상기 NPSK가 구비된 서버 실행 준비 완료 신호가 수신 된 경우, 상기 일시적 친구목록에 포함된 모든 이동 단말에 상기 NPSK를 송신하고, 상기 차기 서버에 상기 일시적 친구목록 데이터를 송신 한 후, 상기 서버 모듈의 실행을 종료하는 애드혹(Ad-hoc) 인스턴트 메신저 시스템.Sending a selection notification signal to the next server, when the server ready to run server with the NPSK is received from the next server, the NPSK is transmitted to all mobile terminals included in the temporary friend list, the next server Ad-hoc instant messenger system to terminate execution of the server module after transmitting the temporary friend list data to the. 제 3항에 있어서,The method of claim 3, 상기 차기 서버는,The next server, 상기 선정 통보 신호가 수신 된 경우, 상기 서버 모듈을 실행하여 상기 NPSK를 생성한 후, 상기 NPSK를 구비한 상기 서버 실행 준비 완료 신호를 상기 이동 인스턴트 메신저 서버에 송신하며, 상기 일시적 친구목록 데이터가 수신 된 경우, 상기 일시적 친구목록 데이터에 포함된 모든 이동 단말에게 접속 요청 신호를 송신하는 애드혹(Ad-hoc) 인스턴트 메신저 시스템.When the selection notification signal is received, the server module is executed to generate the NPSK, and then the server execution ready signal including the NPSK is transmitted to the mobile instant messenger server, and the temporary friend list data is received. If so, Ad-hoc instant messenger system for transmitting a connection request signal to all mobile terminals included in the temporary friend list data. 제 4항에 있어서,5. The method of claim 4, 상기 접속 요청 신호는 PSK(Pre-Shared Key) 요청 메시지를 포함 시킨 것인 애드혹(Ad-hoc) 인스턴트 메신저 시스템.The access request signal is an Ad-hoc instant messenger system including a Pre-Shared Key (PSK) request message. 제 1항에 있어서,The method of claim 1, 상기 상호인증은,The mutual authentication is, IEEE(Institute of Electrical and Electronics Engineers) 802.11i의 WPA-Personal 절차를 기반으로 수행되는 애드혹(Ad-hoc) 인스턴트 메신저 시스템.Ad-hoc instant messenger system based on WPA-Personal procedure of Institute of Electrical and Electronics Engineers (IEEE) 802.11i. 제 1항에 있어서,The method of claim 1, 상기 인스턴트 메신저 데이터는,The instant messenger data, IEEE 802.11i의 CCMP(Counter mode with Cipher block chaining Message authentication code Protocol) 프로토콜 및 IEEE 802.11의 TKIP(Temporal Key Integrity Protocol) 프로토콜 중 적어도 하나를 기반으로 암호화 된 후 송수신 되는 애드혹(Ad-hoc) 인스턴트 메신저 시스템.Ad-hoc instant messenger system encrypted and transmitted based on at least one of the CCMP (Counter mode with Cipher block chaining Message authentication code Protocol) protocol of IEEE 802.11i and the Temporal Key Integrity Protocol (TKIP) protocol of IEEE 802.11 . 제 1항에 있어서,The method of claim 1, 상기 이동 인스턴트 메신저 서버는,The mobile instant messenger server, 상기 일시적 친구목록 데이터를 송신하고, 상기 차기 서버로부터 단말 접속 완료 신호를 수신한 후, 인스턴트 메신저 서버 기능을 비활성화하고,After transmitting the temporary friend list data and receiving a terminal access completion signal from the next server, deactivating the instant messenger server function, 상기 차기 서버는,The next server, 상기 일시적 친구목록 데이터에 포함된 모든 이동 단말이 접속한 경우 상기 단말 접속 완료 신호를 상기 이동 인스턴트 메신저 서버에 송신하는 애드혹 인스턴트 메신저 시스템.An ad hoc instant messenger system for transmitting the terminal access completion signal to the mobile instant messenger server when all mobile terminals included in the temporary friend list data are connected. 제 1항에 있어서,The method of claim 1, 상기 이동 인스턴트 메신저 서버 및 차기 서버는,The mobile instant messenger server and the next server, 상기 이동 단말과의 무선 통신과 상이한 제 2 무선 통신 인터페이스를 더 지원하고, 상기 제 2 무선 통신 인터페이스를 통해 범용 인스턴트 메신저 서버와 연결되어 상기 범용 인스턴트 메신저 서버의 프락시(proxy) 서버로 동작하며,Further supports a second wireless communication interface different from the wireless communication with the mobile terminal, is connected to a universal instant messenger server via the second wireless communication interface to operate as a proxy server of the universal instant messenger server, 상기 이동 인스턴트 메신저 서버 및 차기 서버 중 하나는,One of the mobile instant messenger server and the next server, 상기 범용 인스턴트 메신저 서버에 상기 차기 서버의 접속 정보를 포함하는 프락시 서버 변경 신호를 송신하는 애드혹 인스턴트 메신저 시스템.Ad-hoc instant messenger system for transmitting a proxy server change signal including connection information of the next server to the general-purpose instant messenger server. 제 9항에 있어서,10. The method of claim 9, 상기 이동 인스턴트 메신저 서버 및 차기 서버는,The mobile instant messenger server and the next server, 상기 일시적 친구목록 데이터에 포함된 이동 단말 중 적어도 하나가 상기 범용 인스턴트 메신저 서버에서 제공하는 서비스 가입자인 경우에 한하여 상기 범용 인스턴트 메신저 서버의 프락시(proxy) 서버로 동작하는 애드혹 인스턴트 메신저 시스템.An ad hoc instant messenger system operating as a proxy server of the universal instant messenger server only when at least one of the mobile terminals included in the temporary friend list data is a service subscriber provided by the universal instant messenger server. 제 1항에 있어서,The method of claim 1, 상기 이동 인스턴트 메신저 서버는 상기 이동 단말과의 무선 통신과 상이한 제 2 무선 통신 인터페이스를 더 지원하고, 상기 차기 서버의 식별 정보 및 상기 NPSK가 수납 된 서버 변경 알림 신호를 범용 인스턴트 메신저 서버에 송신하는 애드혹 인스턴트 메신저 시스템.The mobile instant messenger server further supports a second wireless communication interface different from the wireless communication with the mobile terminal, and sends an identification information of the next server and a server change notification signal containing the NPSK to a universal instant messenger server. Instant messenger system. 제 11항에 있어서,12. The method of claim 11, 상기 이동 단말은,The mobile terminal, 상기 차기 서버를 발견한 경우, 상기 차기 서버의 식별 정보가 수납된 NPSK 요청 신호를 상기 범용 인스턴트 메신저 서버에 송신하여 그 응답으로 상기 NPSK가 수신 되면, 상기 수신된 NPSK를 이용하여 상기 차기 서버와 상호 인증을 수행하는 애드혹 인스턴트 메신저 시스템.When the next server is found, the NPSK request signal containing the identification information of the next server is transmitted to the general-purpose instant messenger server. When the NPSK is received in response, the next server is mutually communicated with the next server using the received NPSK. An ad hoc instant messenger system that performs authentication. 이동 인스턴트 메신저 서버가 일시적 친구목록에 포함된 이동 단말 중 하나의 이동 단말을 차기 서버로 선정하고, 상기 차기 서버에 선정 통보 신호를 송신하는 단계;Selecting, by the mobile instant messenger server, one of the mobile terminals included in the temporary friend list as a next server, and transmitting a selection notification signal to the next server; 상기 차기 서버가 상기 차기 서버의 상기 선정 통보 신호 수신 시 생성된 NPSK(New Pre-Shared Key)를 상기 차기 서버로부터 제공 받아 상기 일시적 친구목록에 포함된 모든 이동 단말에 제공 하는 단계; 및Receiving, by the next server, a New Pre-Shared Key (NPSK) generated when the selection notification signal of the next server is received from the next server and providing it to all mobile terminals included in the temporary friend list; And 상기 이동 단말이 상기 차기 서버와 상기 NPSK를 이용하여 상호 인증을 수행하는 단계를 포함하되,Performing the mutual authentication by the mobile terminal using the next server and the NPSK, 상기 일시적 친구목록은 상기 이동 인스턴트 메신저 서버와 무선 통신이 가능한 상태에 있는 이동 단말로 구성 된 것인 애드혹 인스턴트 메신저 시스템의 보안 방법.The temporary friend list is a security method of the ad hoc instant messenger system comprises a mobile terminal in a state capable of wireless communication with the mobile instant messenger server. 애드혹 인스턴트 메신저 시스템의 이동 단말이, 이동 인스턴트 메신저 서버로부터 서버 수행 요청 신호를 수신하는 경우, 서버 수행을 위한 지원을 할 것인지 결정하고, 지원을 하기로 결정한 경우 서버 수행 지원 신호를 송신하며, 이동 인스턴트 메신저 서버로부터 선정 통보 신호가 수신 된 경우, 인스턴트 메신저 서버 기능을 활성화한 후, NPSK(New Pre-Shared Key)를 생성하여 상기 이동 인스턴트 메신저 서버에 제공하는 단계;When the mobile terminal of the ad hoc instant messenger system receives a server performance request signal from the mobile instant messenger server, it determines whether to support the server performance. When the selection notification signal is received from the messenger server, activating an instant messenger server function, and generating a NPSK (New Pre-Shared Key) and providing it to the mobile instant messenger server; 상기 이동 인스턴트 메신저 서버로부터 일시적 친구목록 데이터가 수신 된 경우, 상기 애드혹 인스턴트 메신저 시스템의 이동 단말이, 상기 일시적 친구목록 데이터에 포함된 모든 이동 단말에게 PSK(Pre-Shared Key) 요청 메시지를 구비한 접속 요청 신호를 송신하는 단계; 및When the temporary friend list data is received from the mobile instant messenger server, the mobile terminal of the ad hoc instant messenger system accesses all mobile terminals included in the temporary friend list data with a PSK request message. Transmitting a request signal; And 상기 애드혹 인스턴트 메신저 시스템의 이동 단말이, 상기 일시적 친구목록 데이터에 포함된 이동 단말과 상기 NPSK를 이용하여 상호 인증을 수행하는 단계를 포함하는 애드혹 인스턴트 메신저 시스템의 보안 방법.And the mobile terminal of the ad hoc instant messenger system performing mutual authentication with the mobile terminal included in the temporary friend list data using the NPSK.
KR1020090112768A 2009-11-20 2009-11-20 Ad-hoc wireless instant messenger system and service security method thereof KR101173628B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020090112768A KR101173628B1 (en) 2009-11-20 2009-11-20 Ad-hoc wireless instant messenger system and service security method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090112768A KR101173628B1 (en) 2009-11-20 2009-11-20 Ad-hoc wireless instant messenger system and service security method thereof

Publications (2)

Publication Number Publication Date
KR20110056083A KR20110056083A (en) 2011-05-26
KR101173628B1 true KR101173628B1 (en) 2012-08-13

Family

ID=44364715

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090112768A KR101173628B1 (en) 2009-11-20 2009-11-20 Ad-hoc wireless instant messenger system and service security method thereof

Country Status (1)

Country Link
KR (1) KR101173628B1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10009813B2 (en) 2013-01-03 2018-06-26 Intel Corporation Apparatus, system and method of lawful interception (LI) in a cellular network
US9226211B2 (en) 2013-01-17 2015-12-29 Intel IP Corporation Centralized partitioning of user devices in a heterogeneous wireless network
KR102457809B1 (en) 2014-09-24 2022-10-24 삼성전자주식회사 Method, Apparatus and System of Security of Data Communication

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100692370B1 (en) 2005-02-25 2007-03-09 에스케이 텔레콤주식회사 Method and System for Providing Instant Messenger Service by Using Telephone book list of Mobile Communication Terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100692370B1 (en) 2005-02-25 2007-03-09 에스케이 텔레콤주식회사 Method and System for Providing Instant Messenger Service by Using Telephone book list of Mobile Communication Terminal

Also Published As

Publication number Publication date
KR20110056083A (en) 2011-05-26

Similar Documents

Publication Publication Date Title
US10425846B2 (en) Network assistance for device-to-device discovery
US8589687B2 (en) Architecture for supporting secure communication network setup in a wireless local area network (WLAN)
WO2017181627A1 (en) Network connection method and device, terminal, and system
US11546755B2 (en) Centralized configurator server for DPP provisioning of enrollees in a network
CN112261708B (en) System and method for automatically configuring WiFi equipment in batches
CN112737902B (en) Network configuration method and device, storage medium and electronic equipment
US8886833B1 (en) Method and apparatus for peer-to-peer networking
EP2993933B1 (en) Wireless terminal configuration method, apparatus and wireless terminal
TWI508609B (en) Network configuration method and wireless networking system
JP5551805B2 (en) Method and apparatus for accessing the Internet
CN113950010B (en) Mesh-based automatic networking opening method and related equipment
US20170346891A1 (en) Communication method
KR101173628B1 (en) Ad-hoc wireless instant messenger system and service security method thereof
JP6979740B2 (en) Wireless communication system, communication method, information processing device, and information processing program
CN105981416B (en) The method for managing several profiles in safety element
JP2010034945A (en) Communication system, authentication server, and communication method
JP6895273B2 (en) Information processing equipment, information processing programs, wireless communication systems, and communication methods
KR101060688B1 (en) Wireless instant messenger system and service security methods
JP6327021B2 (en) Access point, information distribution method, and access point control program
WO2012139463A1 (en) Terminal device initialization method and device
EP3318077B1 (en) Circumventing wireless device spatial tracking based on wireless device identifiers
JP2004282321A (en) Network system
KR101043765B1 (en) Ad-hoc wireless instant messenger system and service management method thereof
JP2008244945A (en) Wireless connection environment setting system, wireless connection environment setting server, information terminal, and program
US20220191954A1 (en) Multiple pairing

Legal Events

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

Payment date: 20150723

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20170725

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20180724

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20190725

Year of fee payment: 8