KR101590562B1 - Location based self-organized messaging service system and method thereof - Google Patents

Location based self-organized messaging service system and method thereof Download PDF

Info

Publication number
KR101590562B1
KR101590562B1 KR1020140151139A KR20140151139A KR101590562B1 KR 101590562 B1 KR101590562 B1 KR 101590562B1 KR 1020140151139 A KR1020140151139 A KR 1020140151139A KR 20140151139 A KR20140151139 A KR 20140151139A KR 101590562 B1 KR101590562 B1 KR 101590562B1
Authority
KR
South Korea
Prior art keywords
service
data
terminal
receiving
unit space
Prior art date
Application number
KR1020140151139A
Other languages
Korean (ko)
Inventor
강순주
손태용
이성희
정설영
조형곤
Original Assignee
경북대학교 산학협력단
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 경북대학교 산학협력단 filed Critical 경북대학교 산학협력단
Priority to KR1020140151139A priority Critical patent/KR101590562B1/en
Application granted granted Critical
Publication of KR101590562B1 publication Critical patent/KR101590562B1/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/508Network service management, e.g. ensuring proper service fulfilment according to agreements based on type of value added network service under agreement
    • H04L41/5093Network service management, e.g. ensuring proper service fulfilment according to agreements based on type of value added network service under agreement wherein the managed service relates to messaging or chat services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/20Communication route or path selection, e.g. power-based or shortest path routing based on geographic position or location
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to a location based self-organized messaging service system and a method thereof. Provided is the location based self-organized messaging service system comprising: a plurality of service routers which are installed in a different unit space to be a reference point of position recognition for providing a location based service to a mobile terminal, distributes information of the mobile terminal located inside a unit space by the unit, and manages the information; and a first terminal to transmit a post-it message for transmitting data to a terminal located in the unit space of a receiver to the service router installed in the unit space of a transmitter. The service routers transmit the data with an asynchronous messaging method between adjacent service routers by not passing through a separate central server, and transmit the data to the service router of the receiver from the service router of the transmitter. The service router of the receiver transmits the data to a second terminal and temporarily stores the data during time-to-live included in the post-it message if the second terminal is located in the unit space of the receiver when the data is received from the adjacent service router. The service router of the receiver transmits the data to a third terminal which moves the unit space of the receiver if the third terminal moves to the unit space of the receiver within the time-to-live.

Description

위치 기반의 자율군집형 메시징 서비스 시스템 및 방법{LOCATION BASED SELF-ORGANIZED MESSAGING SERVICE SYSTEM AND METHOD THEREOF}[0001] LOCATION BASED SELF-ORGANIZED MESSAGING SERVICE SYSTEM AND METHOD THEREOF [0002]

본 발명은 위치 기반의 자율군집형 메시징 서비스 시스템 및 방법에 관한 것이다.The present invention relates to a location based autonomous clustered messaging service system and method.

본 발명은 산업통상자원부 한국산업기술평가관리원의 SW컴퓨팅산업원천기술개발사업의 일환으로 수행한 연구(과제번호 201323300100, 자율군집을 지원하는 웰빙형 정보기기 내장 소프트웨어 개발)로부터 도출된 것이다.The present invention is derived from a research (project No. 201323300100, development of software for well-being type information device supporting software of autonomous community) conducted as part of the SW computing industry source technology development business of the Korea Industrial Technology Evaluation and Management Service of the Ministry of Industry and Commerce.

스마트폰의 보급이 확대되면서, 많은 사용자가 고성능의 스마트 기기를 소유하게 되었으며, 이 기기들을 이용한 다양한 네트워크 서비스들이 증가하고 있다. 하지만, 대부분의 서비스는 인터넷상의 중앙 서버에 데이터 및 프로그램을 두고, 필요 시 단말 기기로 해당 데이터를 불러와서 사용하는 시스템을 사용하고 있다. 이러한 서비스는 중앙 서버에서 데이터를 수집하기 때문에 개인정보 유출의 위험성이 있으며, 또한, 많은 사용자의 요청이 한꺼번에 몰리면 서버의 부하로 인해 처리속도가 현저히 느려지고, 중앙 서버의 고장 발생 시 서비스가 제공되지 못하는 상황이 발생할 수 있다.With the spread of smart phones, many users have owned high-performance smart devices, and various network services using these devices are increasing. Most services, however, use data and programs on a central server on the Internet and use the system to retrieve and use the data as a terminal device when necessary. This service collects data from the central server, so there is a risk of leakage of personal information. Also, when many users' requests are gathered together, the processing speed becomes slow due to the load of the server and the service is not provided when the central server fails Situations can arise.

본 발명은 중앙 서버 없이 특정 단위 영역의 위치에 존재하는 사용자들에게 데이터를 전달할 수 있도록 하는 위치 기반의 자율군집형 메시징 서비스 시스템 및 방법을 제공하는 것을 목적으로 한다.Disclosure of Invention Technical Problem [8] The present invention provides a location-based autonomous community messaging service system and method that enables data to be delivered to users located in a specific unit area without a central server.

본 발명이 해결하고자 하는 다른 과제는 최초 데이터 전송 시점 이후에 단위 공간 내에 접근한 이동 단말로도 메시지를 전달할 수 있는 위치 기반의 자율군집형 메시징 서비스 시스템 및 방법을 제공하는 것에 있다.Another object of the present invention is to provide a location-based autonomous community messaging service system and method capable of delivering a message to a mobile terminal accessing within a unit space after an initial data transmission time.

본 발명이 해결하고자 하는 과제는 이상에서 언급된 과제로 제한되지 않는다. 언급되지 않은 다른 기술적 과제들은 이하의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The problems to be solved by the present invention are not limited to the above-mentioned problems. Other technical subjects not mentioned will be apparent to those skilled in the art from the description below.

본 발명의 일 측면에 따른 위치 기반의 자율군집형 메시징 서비스 시스템은 이동 단말에 위치 기반의 서비스를 제공하기 위한 위치 인식의 기준점이 되도록 서로 다른 단위 공간에 설치되고, 단위 공간 내에 위치하는 이동 단말의 정보를 단위 공간별로 분산하여 관리하는 다수의 서비스 라우터; 및 수신측의 단위 공간에 위치하는 단말로 데이터를 전송하기 위한 포스트잇 메시지를 송신측의 단위 공간에 설치된 서비스 라우터로 송신하는 제1 단말을 포함하며, 상기 다수의 서비스 라우터는, 별도의 중앙 서버를 경유하지 않고, 인접한 서비스 라우터 간에 비동기 메시징 방식으로 상기 데이터를 전송하여, 송신측의 서비스 라우터로부터 수신측의 서비스 라우터로 상기 데이터를 전송하고, 상기 수신측의 서비스 라우터는, 상기 인접한 서비스 라우터로부터 상기 데이터를 수신 시에 상기 수신측의 단위 공간에 제2 단말이 위치하는 경우, 상기 제2 단말로 상기 데이터를 전송하고, 상기 포스트잇 메시지에 포함된 생존시간 동안 상기 데이터를 임시 저장하여, 상기 생존시간 내에 상기 수신측의 단위 공간으로 제3 단말이 이동하는 경우, 상기 수신측의 단위 공간으로 이동한 상기 제3 단말로 상기 데이터를 전송한다.The location-based autonomous community messaging service system according to one aspect of the present invention is installed in different unit spaces to be a reference point of location recognition for providing location-based services to mobile terminals, A plurality of service routers for distributing and managing information by unit space; And a first terminal for transmitting a Post-it message for transmitting data to a terminal located in a unit space on the reception side to a service router installed in a unit space on the transmission side, wherein the plurality of service routers comprise a separate central server Wherein the data is transmitted from the service router on the transmission side to the service router on the reception side by transmitting the data in an asynchronous messaging manner between adjacent service routers without passing through the service router, And transmits the data to the second terminal when the second terminal is located in the receiving-side unit space upon receiving the data, temporarily stores the data for the lifetime included in the post-it message, When the third terminal moves to the receiving-side unit space, Of and it transmits the data to the third terminal to move to the unit space.

상기 제1 단말은 상기 송신측의 단위 공간에 위치한 제1 이동 단말 또는 제1 서비스 제공 기기를 포함하고, 상기 제2 단말은 상기 수신측의 단위 공간에 위치한 제2 이동 단말 또는 제2 서비스 제공 기기를 포함하며, 상기 제3 단말은 상기 수신측의 단위 공간으로 이동한 제3 이동 단말을 포함할 수 있다.Wherein the first terminal comprises a first mobile terminal or a first service providing device located in the transmitting-side unit space and the second terminal is a second mobile terminal located in the receiving- And the third terminal may include a third mobile terminal that has moved to the receiving-side unit space.

상기 다수의 서비스 라우터 각각은, 담당하는 단위 공간 내에 위치한 이동 단말 또는 서비스 제공 기기의 목록을 저장하는 리소스 저장소; 및 상기 포스트잇 메시지에 포함된 생존시간 동안 상기 데이터를 임시 저장하는 임시 저장소를 포함할 수 있다.Wherein each of the plurality of service routers includes: a resource storage for storing a list of mobile terminals or service providing devices located in a unit space in charge; And a temporary storage for temporarily storing the data for the lifetime included in the Post-it message.

상기 다수의 서비스 라우터 각각은, 담당하는 단위 공간 내에 위치한 이동 단말 또는 서비스 제공 기기와의 사이에서 상기 데이터를 무선으로 전송하는 무선 통신부; 상기 포스트잇 메시지를 수신하여 파싱 및 분석하는 포스트잇 에이전트; 상기 포스트잇 에이전트로부터 분석된 메시지를 전달받아 임시적으로 저장하는 메시징 에이전트; 이동 단말 또는 서비스 제공 기기의 동작 이벤트를 지속적으로 수신받기 위한 채팅 세션을 생성하여, 상기 채팅 세션을 통해 상기 데이터를 송수신하는 채팅 에이전트; 수신측의 단말이 위치한 단위 공간을 찾기 위해, 인접한 서비스 라우터로 수신측의 단말에 대한 검색을 요청하는 이웃검색 에이전트; 및 상기 제2 단말 및 상기 제3 단말로 상기 데이터를 푸시/풀(push/pull) 방식으로 전송하는 푸시서비스 에이전트를 더 포함할 수 있다.Wherein each of the plurality of service routers includes: a wireless communication unit for wirelessly transmitting the data to a mobile terminal or a service providing device located in a unit space; A post-it agent for receiving and parsing and analyzing the post-it message; A messaging agent for receiving and temporarily storing the analyzed message from the post-it agent; A chat agent for generating a chat session for continuously receiving an operation event of a mobile terminal or a service providing device and transmitting and receiving the data through the chat session; A neighboring search agent for requesting a neighboring service router to search for a terminal on the receiving side to search for a unit space in which the terminal on the receiving side is located; And a push service agent for transmitting the data in a push / pull manner to the second terminal and the third terminal.

상기 다수의 서비스 라우터 각각은, 상기 서비스 제공 기기에 따라 데이터 포맷을 조절하고, 비동기 메시지 전달 서비스를 지원하는 AMD(asynchronous message delivery) 서비스 에이전트; 및 상기 AMD 서비스 에이전트로부터 제공받은 데이터를 상기 서비스 제공 기기로 전달하는 RF 프록시 어댑터를 더 포함할 수 있다.Each of the plurality of service routers includes an asynchronous message delivery (AMD) service agent that adjusts a data format according to the service providing device and supports an asynchronous message delivery service; And an RF proxy adapter for transferring data provided from the AMD service agent to the service providing device.

상기 포스트잇 메시지는 송수신 단말의 종류에 관계없이 공통의 메시지 포맷을 가지며, 상기 메시지 포맷은 수신측의 단말이나 서비스 라우터의 주소 및 상기 생존시간을 포함할 수 있다.The post-it message has a common message format regardless of the type of the transmission / reception terminal, and the message format may include the address of the terminal or the service router of the reception side and the lifetime.

본 발명의 다른 일 측면에 따르면, 이동 단말에 위치 기반의 서비스를 제공하기 위한 위치 인식의 기준점이 되도록 서로 다른 단위 공간에 설치되고, 단위 공간 내에 위치하는 이동 단말의 정보를 단위 공간별로 분산하여 관리하는 다수의 서비스 라우터를 포함하며, 송신측의 단위 공간에 설치된 서비스 라우터는 수신측의 단위 공간에 위치하는 단말로 데이터를 전송하기 위한 포스트잇 메시지를 제1 단말로부터 수신하고, 상기 다수의 서비스 라우터는, 별도의 중앙 서버를 경유하지 않고, 인접한 서비스 라우터 간에 비동기 메시징 방식으로 상기 데이터를 전송하여, 송신측의 서비스 라우터로부터 수신측의 서비스 라우터로 상기 데이터를 전송하고, 상기 수신측의 서비스 라우터는, 상기 인접한 서비스 라우터로부터 상기 데이터를 수신 시에 상기 수신측의 단위 공간에 제2 단말이 위치하는 경우, 상기 제2 단말로 상기 데이터를 전송하고, 상기 포스트잇 메시지에 포함된 생존시간 동안 상기 데이터를 임시 저장하여, 상기 생존시간 내에 상기 수신측의 단위 공간으로 제3 단말이 이동하는 경우, 상기 수신측의 단위 공간으로 이동한 상기 제3 단말로 상기 데이터를 전송하는 위치 기반의 자율군집형 메시징 서비스 시스템이 제공된다.According to another aspect of the present invention, there is provided a mobile terminal, which is installed in different unit spaces so as to be a reference point of location recognition for providing location-based services to a mobile terminal, Wherein the service router installed in the unit space of the transmitting side receives from the first terminal a post-it message for transmitting data to a terminal located in the unit space of the receiving side, and the plurality of service routers , The data is transmitted between the adjacent service routers in an asynchronous messaging manner without passing through a separate central server, and the data is transmitted from the transmitting-side service router to the receiving-side service router, Upon receipt of the data from the neighboring service router, The data is transmitted to the second terminal when the second terminal is located in the unit space of the new side, the data is temporarily stored during the life time included in the post-it message, And the data is transmitted to the third terminal moved to the receiving-side unit space when the third terminal moves to the receiving-side unit space.

본 발명의 또 다른 일 측면에 따르면, 이동 단말에 위치 기반의 서비스를 제공하기 위한 위치 인식의 기준점이 되도록 단위 공간에 설치되고, 상기 단위 공간 내에 위치하는 이동 단말의 정보를 관리하는 서비스 라우터로서, 송신측 단말로부터 수신측 단말로 데이터를 전송하기 위한 포스트잇 메시지를 수신 시, 상기 수신측 단말이 위치하는 다른 단위 공간의 서비스 라우터로 상기 데이터를 전달하기 위해 인접한 서비스 라우터로 비동기 메시징 방식으로 상기 데이터를 전송하거나, 상기 단위 공간 내에 상기 수신측 단말이 위치시 상기 데이터를 상기 수신측 단말로 푸시하여 전송하며, 상기 포스트잇 메시지에 포함된 생존시간 동안 상기 데이터를 임시 저장하여, 상기 생존시간 내에 상기 단위 공간 내에 상기 수신측 단말이 이동하는 경우, 상기 수신측 단말로 상기 데이터를 전송하는 기능을 수행하는 위치 기반의 자율군집형 메시징 서비스 제공을 위한 서비스 라우터가 제공된다.According to another aspect of the present invention, there is provided a service router for managing information of a mobile terminal located in a unit space and being located in a unit space so as to become a reference point of location recognition for providing a location- When receiving a post-it message for transmitting data from a transmitting-side terminal to a receiving-side terminal, transmits the data to an adjacent service router in an asynchronous messaging manner to transmit the data to a service router in another unit space in which the receiving- Or pushes the data to the receiving terminal when the receiving terminal is located in the unit space and temporarily stores the data during the lifetime included in the post-it message, When the receiving-side terminal moves within the number Terminal the service routers for location-based community autonomous type messaging service provider, which performs the function of transmitting the data is provided to.

상기 서비스 라우터는, 상기 단위 공간 내에 위치한 이동 단말 또는 서비스 제공 기기의 목록을 저장하는 리소스 저장소; 및 상기 포스트잇 메시지에 포함된 생존시간 동안 상기 데이터를 임시 저장하는 임시 저장소를 포함할 수 있다.The service router includes: a resource storage for storing a list of mobile terminals or service providing devices located in the unit space; And a temporary storage for temporarily storing the data for the lifetime included in the Post-it message.

상기 서비스 라우터는, 상기 단위 공간 내에 위치한 이동 단말 또는 서비스 제공 기기와의 사이에서 상기 데이터를 무선으로 전송하는 무선 통신부; 상기 포스트잇 메시지를 수신하여 파싱 및 분석하는 포스트잇 에이전트; 상기 포스트잇 에이전트로부터 분석된 메시지를 전달받아 임시적으로 저장하는 메시징 에이전트; 상기 이동 단말 또는 상기 서비스 제공 기기의 동작 이벤트를 지속적으로 수신받기 위한 채팅 세션을 생성하여, 상기 채팅 세션을 통해 상기 데이터를 송수신하는 채팅 에이전트; 상기 수신측 단말이 위치한 단위 공간을 찾기 위해, 인접한 서비스 라우터로 상기 수신측 단말에 대한 검색을 요청하는 이웃검색 에이전트; 및 상기 수신측 단말로 상기 데이터를 푸시/풀(push/pull) 방식으로 전송하는 푸시서비스 에이전트를 더 포함할 수 있다.The service router comprising: a wireless communication unit for wirelessly transmitting the data between a mobile terminal or a service providing device located in the unit space; A post-it agent for receiving and parsing and analyzing the post-it message; A messaging agent for receiving and temporarily storing the analyzed message from the post-it agent; A chat agent for generating a chat session for continuously receiving an operation event of the mobile terminal or the service providing device and transmitting and receiving the data through the chat session; A neighboring search agent for requesting a neighboring service router to search the receiving terminal for a unit space in which the receiving terminal is located; And a push service agent for transmitting the data to the receiving terminal in a push / pull manner.

본 발명의 또 다른 일 측면에 따르면, 이동 단말에 위치 기반의 서비스를 제공하기 위한 위치 인식의 기준점이 되도록 서로 다른 단위 공간에 설치된 다수의 서비스 라우터가 각 단위 공간 내에 위치하는 이동 단말의 정보를 단위 공간별로 분산하여 관리하는 단계; 제1 단말이 수신측의 단위 공간에 위치하는 단말로 데이터를 전송하기 위한 포스트잇 메시지를 송신측의 단위 공간에 설치된 서비스 라우터로 송신하는 단계; 인접한 서비스 라우터 간에 비동기 메시징 방식으로 상기 데이터를 전송하여, 별도의 중앙 서버를 경유하지 않고 송신측의 서비스 라우터로부터 수신측의 서비스 라우터로 상기 데이터를 전송하는 단계; 상기 수신측의 서비스 라우터가 상기 인접한 서비스 라우터로부터 상기 데이터를 수신 시에 상기 수신측의 단위 공간에 제2 단말이 위치하는 경우, 상기 제2 단말로 상기 데이터를 전송하는 단계; 및 상기 수신측의 서비스 라우터가 상기 포스트잇 메시지에 포함된 생존시간 동안 상기 데이터를 임시 저장하여, 상기 생존시간 내에 상기 수신측의 단위 공간으로 제3 단말이 이동하는 경우, 상기 수신측의 단위 공간으로 이동한 상기 제3 단말로 상기 데이터를 전송하는 단계를 포함하는 위치 기반의 자율군집형 메시징 서비스 방법이 제공된다.According to another aspect of the present invention, a plurality of service routers installed in different unit spaces serve as a reference point of location recognition for providing a location-based service to a mobile terminal, Distributing and managing each space; The first terminal transmitting a Post-it message for transmitting data to a terminal located in a unit space on the reception side, to a service router installed in a unit space on the transmission side; Transmitting the data through an asynchronous messaging method between adjacent service routers and transmitting the data from a transmitting-side service router to a receiving-side service router without passing through a separate central server; Transmitting the data to the second terminal when the second terminal is located in the receiving-side unit space when the receiving-side service router receives the data from the adjacent service router; And when the third-party terminal moves to the receiving-side unit space within the lifetime, the receiving-side service router temporarily stores the data for the lifetime included in the post-on message, And transmitting the data to the moved third terminal is provided.

상기 위치 기반의 자율군집형 메시징 서비스 방법은 이동 단말 또는 서비스 제공 기기의 동작 이벤트를 지속적으로 수신받기 위한 채팅 세션을 생성하여, 상기 채팅 세션을 통해 상기 데이터를 송수신하는 단계를 더 포함할 수 있다.The location-based autonomous community messaging service method may further include generating a chat session for continuously receiving an operation event of the mobile terminal or the service providing device, and transmitting and receiving the data through the chat session.

상기 이동 단말의 정보를 관리하는 단계는, 상기 다수의 서비스 라우터 각각이 비콘 신호를 송신하는 단계; 상기 비콘 신호를 수신한 이동 단말이 가장 큰 비콘 신호를 송신한 서비스 라우터와 접속하는 단계; 상기 이동 단말과 접속한 서비스 라우터가, 담당하는 단위 공간 내에 위치한 단말의 목록을 저장하는 리소스 저장소에 상기 이동 단말의 정보를 기록하는 단계를 포함할 수 있다.Wherein managing the information of the mobile terminal comprises: transmitting a beacon signal to each of the plurality of service routers; Connecting a service router that has transmitted the beacon signal having the largest beacon signal to the mobile terminal that has received the beacon signal; And recording the information of the mobile terminal in a resource repository storing a list of terminals located in a unit space occupied by the service router connected to the mobile terminal.

본 발명의 실시 예에 의하면, 중앙 서버 없이 특정 단위 영역의 위치에 존재하는 사용자들에게 데이터를 전달할 수 있다.According to an embodiment of the present invention, data can be delivered to users located in a specific unit area without a central server.

또한, 본 발명의 실시 예에 의하면, 최초 데이터 전송 시점 이후에 단위 공간 내에 접근한 이동 단말로도 메시지를 전달할 수 있다.In addition, according to the embodiment of the present invention, a message can be delivered to a mobile terminal accessing the unit space after the initial data transmission time.

본 발명의 효과는 상술한 효과들로 제한되지 않는다. 언급되지 않은 효과들은 본 명세서 및 첨부된 도면으로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확히 이해될 수 있을 것이다.The effects of the present invention are not limited to the effects described above. Unless stated, the effects will be apparent to those skilled in the art from the description and the accompanying drawings.

도 1은 본 발명의 실시 예에 따른 위치 기반의 자율군집형 메시징 서비스 시스템의 구성도이다.
도 2는 본 발명의 실시 예에 따른 위치 기반의 자율군집형 메시징 서비스 시스템을 구성하는 이동 단말의 구성도이다.
도 3은 도 2에 도시된 메시징 서비스 실행부의 구성도이다.
도 4는 포스트잇 메시지의 포맷을 예시적으로 보여주는 도면이다.
도 5는 본 발명의 실시 예에 따른 위치 기반의 자율군집형 메시징 서비스 시스템을 구성하는 서비스 라우터의 구성도이다.
도 6 내지 도 11은 본 발명의 실시 예에 따른 위치 기반의 자율군집형 메시징 서비스 방법을 설명하기 위한 흐름도로서,
도 6은 송신측 이동 단말에서 수신측 이동 단말로 데이터가 전송되는 과정을 보여주는 흐름도이고,
도 7은 이동 단말들 간에 채팅 세션을 개설하는 과정을 설명하기 위한 흐름도이고,
도 8은 이동 단말들 간에 개설된 채팅 세션을 통해 데이터가 전송되는 과정을 보여주는 흐름도이고,
도 9는 이동 단말과 서비스 제공 기기 간에 채팅 세션을 개설하는 과정을 보여주는 흐름도이고,
도 10은 채팅 세션을 통해 이동 단말로부터 서비스 제공 기기로 채팅 메시지를 전달하는 과정을 보여주는 흐름도이고,
도 11은 채팅 세션을 통해 서비스 제공 기기로부터 이동 단말로 채팅 메시지를 전달하는 과정을 보여주는 흐름도이다.
도 12a 내지 도 12b는 채팅 세션을 통해 서비스 제공 기기로부터 메시지가 이동 단말로 전달되는 것을 예시하는 도면이다.
1 is a configuration diagram of a location-based autonomous community messaging service system according to an embodiment of the present invention.
2 is a configuration diagram of a mobile terminal constituting a location-based autonomous community messaging service system according to an embodiment of the present invention.
3 is a configuration diagram of a messaging service execution unit shown in FIG.
4 is an exemplary diagram illustrating the format of a Post-it message.
5 is a configuration diagram of a service router constituting a location-based autonomous community messaging service system according to an embodiment of the present invention.
6 to 11 are flowcharts for explaining a location-based autonomous community messaging service method according to an embodiment of the present invention,
6 is a flowchart showing a process of transmitting data from a transmitting-side mobile terminal to a receiving-side mobile terminal,
7 is a flowchart illustrating a process of establishing a chat session between mobile terminals,
8 is a flowchart illustrating a process of transmitting data through a chat session established between mobile terminals,
9 is a flowchart showing a process of establishing a chat session between a mobile terminal and a service providing device,
10 is a flowchart showing a process of delivering a chat message from a mobile terminal to a service providing device through a chat session,
11 is a flowchart showing a process of delivering a chat message from a service providing device to a mobile terminal through a chat session.
12A and 12B are diagrams illustrating a message delivered from a service providing device to a mobile terminal through a chat session.

본 발명의 다른 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술하는 실시 예를 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 개시되는 실시 예에 한정되지 않으며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. 만일 정의되지 않더라도, 여기서 사용되는 모든 용어들(기술 혹은 과학 용어들을 포함)은 이 발명이 속한 종래 기술에서 보편적 기술에 의해 일반적으로 수용되는 것과 동일한 의미를 갖는다. 공지된 구성에 대한 일반적인 설명은 본 발명의 요지를 흐리지 않기 위해 생략될 수 있다. 본 발명의 도면에서 동일하거나 상응하는 구성에 대하여는 가급적 동일한 도면부호가 사용된다.Other advantages and features of the present invention and methods of achieving them will be apparent by referring to the embodiments described hereinafter in detail with reference to the accompanying drawings. However, the present invention is not limited to the embodiments disclosed below, and the present invention is only defined by the scope of the claims. Although not defined, all terms (including technical or scientific terms) used herein have the same meaning as commonly accepted by the generic art in the prior art to which this invention belongs. A general description of known configurations may be omitted so as not to obscure the gist of the present invention. In the drawings of the present invention, the same reference numerals are used as many as possible for the same or corresponding configurations.

본 명세서 전체에서 사용되는 '~부', '~모듈'의 용어는 적어도 하나의 기능이나 동작을 처리하는 단위, 예를 들어 소프트웨어, FPGA 또는 ASIC과 같은 하드웨어 구성요소를 의미할 수 있다. 그렇지만 '~부', '~모듈'이 소프트웨어 또는 하드웨어에 한정되는 의미는 아니다. '~부', '~모듈'은 어드레싱할 수 있는 저장 매체에 있도록 구성될 수도 있고 하나 또는 그 이상의 프로세서들을 재생시키도록 구성될 수도 있다. 따라서, 일 예로서 '~부', '~모듈'은 소프트웨어 구성요소들, 객체지향 소프트웨어 구성요소들, 클래스 구성요소들 및 태스크 구성요소들과 같은 구성요소들과, 프로세스들, 함수들, 속성들, 프로시저들, 서브루틴들, 프로그램 코드의 세그먼트들, 드라이버들, 펌웨어, 마이크로 코드, 회로, 데이터, 데이터베이스, 데이터 구조들, 테이블들, 어레이들 및 변수들을 포함한다. '~부', '~모듈' 안에서 제공되는 기능은 다수의 구성요소에 의해 분리되어 제공되거나, 추가적인 구성요소와 통합되어 제공될 수도 있다.The terms 'module' and 'module' used throughout this specification may refer to a hardware component, such as a software, FPGA, or ASIC, unit for processing at least one function or operation. However, '~' and '~ module' are not meant to be limited to software or hardware. Modules may be configured to be addressable storage media and configured to play one or more processors. Thus, by way of example, a module may include components such as software components, object-oriented software components, class components, and task components, as well as processes, Microcode, circuitry, data, databases, data structures, tables, arrays, and variables, as will be appreciated by those skilled in the art. The functions provided in the " module ", " module ", and the like may be provided separately by a plurality of components or may be provided integrally with additional components.

본 발명의 실시 예에 따른 위치 기반의 자율군집형 메시징 서비스 시스템은 실내의 미리 설정된 일정 영역(단위 공간)마다 설치된 다수의 서비스 라우터를 통해 이동 단말의 위치를 인식하고, 위치 기반으로 특정 단위 공간에 존재하는 단말(이동 단말 또는 서비스 제공 기기)에 데이터를 전송한다. 본 발명의 실시 예에 따른 메시징 서비스 시스템은 다수의 서비스 라우터에 의해 자율군집형의 네트워크를 구축하여, 별도의 중앙 서버를 경유하지 않고, 인접한 서비스 라우터 간에 비동기 메시징 방식으로 데이터를 전송한다. 따라서, 메시지 전송 시 경로 상의 한 서비스 라우터가 고장 및 회선장애 등의 이유로 연결이 끊어지더라도, 새로운 경로를 탐색하여 목적지까지 메시지를 전송할 수 있다.The location-based autonomous community messaging service system according to the embodiment of the present invention recognizes the location of the mobile terminal through a plurality of service routers installed in predetermined predetermined areas (unit spaces) in the room, And transmits data to an existing terminal (mobile terminal or service providing device). The messaging service system according to the embodiment of the present invention constructs an autonomous cluster type network by a plurality of service routers and transmits data in an asynchronous messaging manner between adjacent service routers without passing through a separate central server. Therefore, even if a service router on the route is disconnected due to a failure or a line failure, a new path can be searched and a message can be transmitted to a destination when a message is transmitted.

수신측의 서비스 라우터는 인접한 서비스 라우터로부터 데이터를 수신 시에 수신측의 단위 공간에 이동 단말이 위치하는 경우, 이동 단말로 데이터를 전송한다. 수신측의 서비스 라우터는 송신측의 이동 단말에서 전송한 포스트잇 메시지(post-it message)에 포함된 생존시간 동안 데이터를 임시 저장하여, 생존시간 내에 수신측의 단위 공간으로 이동 단말의 접근 시에, 해당 단위 공간으로 접근한 이동 단말로 데이터를 전송하는 푸시/풀(push/pull) 메시징 서비스를 제공한다.When receiving the data from the neighboring service router, the service router on the receiving side transmits data to the mobile terminal when the mobile terminal is located in the unit space of the receiving side. The service router on the receiving side temporarily stores the data during the lifetime included in the post-it message transmitted from the transmitting-side mobile terminal, and when the mobile terminal approaches the receiving-side unit space within the lifetime, And a push / pull messaging service for transmitting data to a mobile terminal accessing the unit space.

본 발명의 실시 예에 의하면, 특정 단위 영역의 위치에 존재하는 사용자들(이동 단말들)에게 메시지와 같은 데이터를 전달할 수 있다. 또한, 본 발명의 실시 예에 의하면, 다수의 서비스 라우터의 분산 협업에 의하여 무선 센서 네트워크 프로토콜 방식으로 데이터 전송이 가능하므로, 이동 단말 또는 서비스 제공 기기 간에 중앙 서버 없이 데이터 송수신이 가능하며, 중앙 서버의 부하로 인한 처리 속도의 저하, 개인정보 유출의 위험을 방지할 수 있다. 또한, 본 발명의 실시 예에 의하면, 비동기 푸시/풀 메시징 서비스를 통해, 최초 데이터 전송 시점 이후에 단위 공간 내에 접근한 이동 단말로도 메시지를 전달할 수 있는 이점이 제공된다.According to an embodiment of the present invention, data such as a message can be delivered to users (mobile terminals) located in a specific unit area. In addition, according to the embodiment of the present invention, data can be transmitted in a wireless sensor network protocol manner by distributed collaborations of a plurality of service routers, so that data can be transmitted and received between a mobile terminal or a service providing device without a central server, It is possible to prevent a decrease in the processing speed due to the load and the risk of leakage of personal information. In addition, according to the embodiment of the present invention, an advantage is provided that a message can be delivered to a mobile terminal accessing within a unit space after an initial data transmission time through an asynchronous push / full messaging service.

도 1은 본 발명의 실시 예에 따른 위치 기반의 자율군집형 메시징 서비스 시스템의 구성도이다. 도 1을 참조하면, 본 발명의 실시 예에 따른 위치 기반의 자율군집형 메시징 서비스 시스템(10)은 다수의 서비스 라우터(100)와 다수의 이동 단말(200a,200b), 다수의 서비스 제공 기기(200c)를 포함한다.1 is a configuration diagram of a location-based autonomous community messaging service system according to an embodiment of the present invention. 1, a location-based autonomous community messaging service system 10 according to an embodiment of the present invention includes a plurality of service routers 100, a plurality of mobile terminals 200a and 200b, 200c.

이동 단말(200a,200b)은 데이터 전송 서비스를 제공받는 사용자가 소지한 휴대형 단말일 수 있다. 이동 단말(200a,200b)은 무선 통신 가능한 단말(terminal), 이를테면, 스마트폰(smart phone), 스마트패드(smart pad), 스마트태그(smart tag), 태블릿(tablet), 아이팟(iPod), PDA(Personal Digital Assistants) 등의 모바일 단말기, 혹은 스마트시계나 스마트안경과 같은 착용형 단말 등을 그 예로 들 수 있다. 서비스 라우터(100)와 이동 단말(200a,200b) 간은 와이파이(WiFi) 등의 무선 통신에 의해 데이터를 송수신한다.The mobile terminals 200a and 200b may be portable terminals carried by a user who is provided with a data transmission service. The mobile terminals 200a and 200b may be a terminal capable of wireless communication such as a smart phone, a smart pad, a smart tag, a tablet, an iPod, a PDA (Personal Digital Assistants), and wearable terminals such as smart clocks and smart glasses. The service router 100 and the mobile terminals 200a and 200b transmit and receive data by wireless communication such as WiFi.

서비스 제공 기기(200c)는 예를 들어, 가스레인지와 같은 가전 기기, 도어락, 프린터, 복약기, 런닝머신과 같은 헬스 기기를 비롯하여, 사용자의 일상 생활 등의 편의를 위한 서비스를 제공하는 다양한 기기를 포함할 수 있다. 서비스 라우터(100)와 서비스 제공 기기(200c) 간은 유선 통신 또는 무선 통신에 의해 데이터를 송수신할 수 있다.The service providing device 200c may be a variety of devices that provide services for the convenience of users, such as daily life, including a home appliance such as a gas range, a door lock, a printer, a medical device, . The service router 100 and the service providing device 200c can exchange data by wire communication or wireless communication.

다수의 서비스 라우터(100)는 이동 단말(200)의 위치에 기반한 데이터 전송을 위하여, 이동 단말(200)의 위치를 인식하는 기준점이 되도록, 미리 설정된 서로 다른 단위 공간(20)에 설치된다. 단위 공간(20)은 건물의 실내를 구획한 공간, 예를 들어, 가정의 방, 주방, 화장실이나, 병원의 병실, 진료실, 학교의 교실, 교무실, 회사의 사무실, 회의실, 그 밖의 일정 지역 단위로 미리 구획된 영역일 수 있다.The plurality of service routers 100 are installed in different unit spaces 20 that are set in advance so as to be a reference point for recognizing the location of the mobile terminal 200 for data transmission based on the location of the mobile terminal 200. The unit space 20 is a space in which a room of a building is divided, for example, a room, a kitchen, a toilet, a hospital room, a medical office, a school room, As shown in FIG.

서비스 라우터(100)는 실내의 천장이나 벽에 부착되는 고정형 단말 형태로 제공될 수 있다. 다수의 서비스 라우터(100) 간은 이더넷(Ethernet)과 같은 유선 통신 또는 무선 통신에 의해 연결되어 데이터를 송수신할 수 있다. 서비스 라우터(100)들은 단위 공간(20) 내에 위치하는 이동 단말(200a,200b)과 서비스 제공 기기(200c)의 위치 정보를 단위 공간(20)별로 분산하여 관리한다. 또한, 서비스 라우터(100)는 주위 서비스 라우터의 위치 정보를 저장, 조회, 갱신하는 기능을 수행할 수 있다.The service router 100 may be provided in the form of a fixed terminal attached to a ceiling or a wall of a room. A plurality of service routers 100 may be connected to each other by wired communication or wireless communication such as Ethernet to transmit / receive data. The service routers 100 distribute and manage the location information of the mobile terminals 200a and 200b and the service providing device 200c located in the unit space 20 for each unit space 20. [ In addition, the service router 100 may perform a function of storing, inquiring, and updating the location information of the neighboring service router.

각 단위 공간(20) 내의 서비스 라우터(100)는 자신의 단위 공간(20)에 속하는 이동 단말(200a,200b) 및 서비스 제공 기기(200c)의 정보를 파악하고, 이들과 통신하여 서비스 라우터(100) 중심으로 공간을 형성한다. 이에 따라, 단위 공간(20)은 서비스 제공의 기본 단위가 된다.The service router 100 in each unit space 20 grasps the information of the mobile terminals 200a and 200b and the service providing device 200c belonging to the unit space 20 of the unit space 20 and communicates with the service routers 100 ) To form a space. Accordingly, the unit space 20 becomes a basic unit of service provision.

각각의 서비스 라우터(100)를 중심으로 실내 공간을 각각의 단위 공간(20)으로 나누어 위치 기반 인프라를 구축할 수 있다. 서비스 라우터(100)들은 별도의 중앙 서버를 경유하지 않고 단말(200)들 간에 데이터를 전송할 수 있도록, 자율적으로 단위 공간(20)별로 구축한 단말(200)들의 목록을 이용하여 분산 협업에 의해 인접한 서비스 라우터 간에 비동기 메시징 방식으로 데이터를 전송할 수 있다.The location-based infrastructure can be constructed by dividing the indoor space into the respective unit spaces 20 with the respective service routers 100 as the center. The service routers 100 can autonomously transmit the data to the adjacent terminals 200 by using the list of the terminals 200 constructed for each unit space 20 so that data can be transmitted between the terminals 200 without passing through a separate central server. Service routers can transfer data asynchronously messaging.

도 1에 도시된 예에서, 송신측의 제1 이동 단말(200a)이 수신측의 단위 공간(20)에 위치하는 이동 단말(200b)로 데이터 전송을 요청하는 포스트잇 메시지(post-it message)를 제1 이동 단말(200a)이 위치한 단위 공간(20)을 담당하는 송신측의 서비스 라우터(100)로 무선 송신하면, 포스트잇 메시지를 수신한 송신측의 서비스 라우터(100)는 포스트잇 메시지를 파싱 및 분석하여, 인접하는 서비스 라우터(100)를 경유하여 데이터 전송의 목적지인 제2 이동 단말(200b)이 위치한 단위 공간(20)을 담당하는 수신측의 서비스 라우터(100)로 데이터를 전송한다.In the example shown in FIG. 1, the first mobile terminal 200a on the transmitting side transmits a post-it message requesting data transmission to the mobile terminal 200b located in the receiving-side unit space 20 The service router 100 on the transmitting side that has received the Post-it message parses and analyzes the post-it message. And transmits the data to the service router 100 on the receiving side that is responsible for the unit space 20 in which the second mobile terminal 200b, which is the destination of data transmission, is located via the adjacent service router 100. [

수신측의 서비스 라우터(100)는 인접한 서비스 라우터(100)로부터 데이터를 수신 시에 수신측의 단위 공간(20)에 제2 이동 단말(200b)이 위치하는 경우, 제2 이동 단말(200b)로 데이터를 무선 전송한다. 수신측의 서비스 라우터(100)는 포스트잇 메시지에 포함된 생존시간 동안 데이터를 임시 저장하여, 생존시간 내에 수신측의 단위 공간(20)으로 이동하는 제3 이동 단말(미도시)이 존재하는 경우, 수신측의 단위 공간(20)으로 이동한 제3 이동 단말로 데이터를 푸시하여 전송한다.The service router 100 on the receiving side receives the data from the adjacent service router 100 and transmits the data to the second mobile terminal 200b when the second mobile terminal 200b is located in the unit space 20 on the receiving side Wirelessly transmits data. The service router 100 on the receiving side temporarily stores the data during the lifetime included in the Post-it message, and if there is a third mobile terminal (not shown) moving to the receiving unit space 20 within the lifetime, The data is pushed and transmitted to the third mobile terminal that has moved to the unit space 20 on the receiving side.

따라서, 송신자는 특정 단위 공간에 출입한 수신자들에게 데이터를 전송할 수 있으며, 이때 수신자가 최초의 데이터 전송 시점에 특정 단위 공간에 없었더라도, 송신자가 설정한 생존시간 내에 특정 단위 공간에 출입한 경우에는 데이터 전송 시점 이후에 특정 단위 공간에 출입한 수신자들에게도 데이터를 전송할 수 있다.Therefore, the sender can transmit data to the receivers who enter and leave the specific unit space. In this case, even if the receiver is not in the specific unit space at the time of the first data transmission, if the receiver enters or exits the specific unit space within the life time set by the sender The data can be transmitted to the receivers who have entered the specific unit space after the data transmission time.

도 2는 본 발명의 실시 예에 따른 위치 기반의 자율군집형 메시징 서비스 시스템을 구성하는 이동 단말의 구성도이다. 도 1 내지 도 2를 참조하면, 이동 단말(200)은 사용자 인터페이스부(210), 무선통신모듈(220), 메시징서비스 실행부(230), 메모리(240), 디스플레이부(250), 전원부(260) 및 이들의 기능 및 동작을 제어하는 제어부(270)를 포함한다. 제어부(270)는 적어도 하나의 프로세서(processor)를 포함할 수 있다.2 is a configuration diagram of a mobile terminal constituting a location-based autonomous community messaging service system according to an embodiment of the present invention. 1 and 2, a mobile terminal 200 includes a user interface unit 210, a wireless communication module 220, a messaging service execution unit 230, a memory 240, a display unit 250, 260, and a control unit 270 for controlling the functions and operations of these units. The control unit 270 may include at least one processor.

사용자 인터페이스부(210)는 사용자가 데이터를 전송하려는 수신 단말 혹은 데이터를 전송할 단위 공간이나 서비스 라우터 정보, 전송할 문자 메시지나 음성, 이미지, 스트리밍 등의 다양한 데이터, 포스트잇 메시지에 포함될 생존시간 등의 다양한 정보를 입력, 선택하도록 제공될 수 있다. 사용자 인터페이스부(210)는 예시적으로, 터치 패드(touch-pad)나 입력 버튼 등의 형태로 제공될 수 있다.The user interface unit 210 may include various information such as a receiving terminal to which the user transmits data or a unit space or service router information to transmit data, various data such as a text message to be transmitted, voice, image, streaming, To select and input a desired value. The user interface unit 210 may be provided in the form of, for example, a touch pad or an input button.

무선통신모듈(220)은 서비스 라우터(100)와의 사이에서 데이터나 비콘 신호 등을 무선 송수신하도록 제공될 수 있다. 무선통신모듈(220)은 와이파이(WiFi), 블루투스(Bluetooth Low Energy, Bluetooth Classic), IEEE802.15.4 MAC 등의 통신망을 사용하여 서비스 라우터(100)와 통신할 수 있다.The wireless communication module 220 may be provided to wirelessly transmit and receive data, a beacon signal, and the like to / from the service router 100. The wireless communication module 220 can communicate with the service router 100 using a communication network such as WiFi, Bluetooth Low Energy, Bluetooth Classic, and IEEE 802.15.4 MAC.

메시징서비스 실행부(230)는 본 발명의 실시 예에 따른 메시징 서비스를 실행하기 위한 프로그램으로 구성된 앱(App)의 형태로 제공될 수 있다. 도 3은 도 2에 도시된 메시징 서비스 실행부의 구성도이다. 도 3을 참조하면, 메시징서비스 실행부(230)는 위치 인식부(232), 포스트잇 메시지 생성부(234) 및 인증부(236)를 포함한다.The messaging service execution unit 230 may be provided in the form of an application configured as a program for executing a messaging service according to an embodiment of the present invention. 3 is a configuration diagram of a messaging service execution unit shown in FIG. 3, the messaging service execution unit 230 includes a location recognition unit 232, a post-it message generation unit 234, and an authentication unit 236.

위치 인식부(232)는 이동 단말(200)이 어느 단위 공간(20)에 속하는지를 서비스 라우터(100)에서 인식할 수 있도록, 서비스 라우터(100)로부터 주기적으로 발생된 비콘 신호를 수신하여, 비콘 신호의 수신 전계 강도(received signal strength intensity, RSSI) 값을 측정한다. 위치 인식부(232)는 여러 서비스 라우터(100)로부터 비콘 신호를 수신 시, 가장 큰 RSSI 값의 비콘 신호를 송신한 서비스 라우터(100)를 결정하여, 결정된 서비스 라우터(100)로 이동 단말(200)의 정보(예를 들어, ID 정보)를 포함하는 메시지를 전송할 수 있다.The location recognition unit 232 receives the beacon signal generated periodically from the service router 100 so that the service router 100 can recognize which unit space 20 the mobile terminal 200 belongs to, The received signal strength intensity (RSSI) value is measured. When receiving the beacon signal from the plurality of service routers 100, the location recognizing unit 232 determines the service router 100 that has transmitted the beacon signal having the largest RSSI value and transmits the beacon signal to the mobile terminal 200 (E. G., ID information) of the message < / RTI >

이동 단말(200)의 정보를 전송받은 서비스 라우터(100)는 담당하는 단위 공간(20)에 위치한 단말의 목록을 기록하는 리소스 저장소에 이동 단말(200)의 정보를 추가하여, 단위 공간(20)에 위치한 단말의 목록을 관리한다. 이동 단말(200)이 다른 단위 공간(20)으로 이동시, 이동 전의 단위 공간(20)을 담당하는 서비스 라우터(100)는 다른 단위 공간(20)으로 이동한 이동 단말(200)로부터 메시지가 전송되지 않거나, 이동 후의 단위 공간(20)을 담당하는 신규 서비스 라우터(100)로부터 해당 이동 단말(200)이 이동하였음을 알리는 메시지가 전송되는 것으로부터, 다른 단위 공간(20)으로 이동한 이동 단말(200)의 정보를 리소스 저장소에서 삭제할 수 있다. 따라서, 사용자가 이동 단말(200)을 소지한 채로 건물 내를 이동할 경우, 서비스 라우터(100)들을 통해 사용자의 현재 위치를 실시간으로 파악할 수 있다.The service router 100 that has received the information of the mobile terminal 200 adds the information of the mobile terminal 200 to the resource repository that records the list of terminals located in the unit space 20 in charge, And manages the list of terminals located in the network. When the mobile terminal 200 moves to another unit space 20, the service router 100 that is in charge of the unit space 20 before the movement moves the message from the mobile terminal 200 that has moved to another unit space 20 Or a message indicating that the mobile terminal 200 has moved from the new service router 100 in charge of the unit space 20 after the mobile terminal 200 moves to another unit space 20, Can be deleted from the resource repository. Accordingly, when the user moves within the building with the mobile terminal 200, the user can grasp the current location of the user through the service routers 100 in real time.

포스트잇 메시지 생성부(234)는 사용자가 데이터 전송을 요청하는 명령을 사용자 인터페이스부(210)를 통해 입력 시 포스트잇 메시지를 생성하여 전송한다. 포스트잇 메시지는 송수신 단말의 종류에 관계없이 공통의 메시지 포맷을 갖는다. 도 4는 포스트잇 메시지의 포맷을 예시적으로 보여주는 도면이다. 도 4를 참조하면, 포스트잇 메시지는 포스트잇 포맷 버전(version), 포스트잇 식별자(id), 응답하는 포스트잇일 경우 요청 포스트잇의 식별자(callback_id), 포스트잇이름 혹은 앱이름(name), 송신 일시(datetime), 이벤트 유형(kind), 이벤트 타입(type), 우선순위(priority), 콜백 유무(callback), 스트림 유무(stream), 데이터 시퀀스(sequence), 생존시간(ttl, hour), 재전송유무(retry), 포스트잇 메시지 제목(subjet), 송신자(sources) 측과 수신자(destinations) 측의 물리/논리/그룹주소 구분(type) 및 타입(device), 기타 포스트잇 내용(content) 등의 요소/속성 정보를 포함하는 데이터 패킷을 포함할 수 있다. 그 밖에 출근부 XML 포맷에 따른 필요한 추가 정보(attendance)가 기재될 수 있다. 경우에 따라 추가적인 서비스가 필요로 할 경우(ECG 스트리밍, 프린팅 서비스 등) 포스트잇 내용 부분에 해당되는 정보가 기록될 수 있다.The post-it message generation unit 234 generates a post-it message when the user inputs a command for requesting data transmission through the user interface unit 210 and transmits the message. A Post-it message has a common message format regardless of the type of the transmission / reception terminal. 4 is an exemplary diagram illustrating the format of a Post-it message. 4, a Post-it message includes a Post-it format version, a post-it identifier (id), a request post-it's identifier (callback_id), a post-it name or an app name, An event type, an event type, a priority, a callback, a stream, a data sequence, a lifetime (ttl, hour), retry, And includes element / attribute information such as a Post-it message title (subjet), a physical / logical / group address type and a device of a source side and a destination side, and other post- And may include data packets. In addition, additional necessary attendance according to the worksite XML format can be described. In some cases, additional information (ECG streaming, printing services, etc.) may be recorded in the post-it content.

다시 도 3을 참조하면, 인증부(236)는 수신측의 이동 단말(200)에서 데이터를 수신, 확인할 수 있는 권한이 있는지를 인증하는 기능을 수행한다. 인증부(236)는 예를 들어, 이동 단말(200)의 ID 정보를 확인하여 인증을 수행하거나, 혹은 사용자로부터 입력받은 비밀번호나 패턴 등을 미리 설정된 인증 정보와 비교하여 인증을 수행할 수 있다.Referring again to FIG. 3, the authentication unit 236 performs a function of authenticating whether or not the mobile terminal 200 on the receiving side has an authority to receive and confirm data. The authentication unit 236 can perform authentication by checking the ID information of the mobile terminal 200, for example, or by comparing the password or pattern input from the user with preset authentication information.

다시 도 2를 참조하면, 메모리(240)는 본 발명의 실시 예에 따른 메시징 서비스를 실행하기 위한 프로그램 등의 제반 정보를 저장할 수 있다. 디스플레이부(250)는 수신된 데이터를 LCD(Liquid Crystal Display) 화면 등을 통해 표시할 수 있다. 전원부(260)는 이동 단말(200)에 전원을 공급하는 배터리 등으로 제공될 수 있다. 그 밖에도, 이동 단말(200)은 음향 데이터를 출력하기 위한 스피커(미도시)와, 전송할 음성을 입력하기 위한 마이크로폰(미도시)을 더 포함할 수 있다.Referring again to FIG. 2, the memory 240 may store various information such as a program for executing a messaging service according to an embodiment of the present invention. The display unit 250 may display the received data on a liquid crystal display (LCD) screen or the like. The power supply unit 260 may be provided as a battery or the like that supplies power to the mobile terminal 200. In addition, the mobile terminal 200 may further include a speaker (not shown) for outputting sound data and a microphone (not shown) for inputting a voice to be transmitted.

도 5는 본 발명의 실시 예에 따른 위치 기반의 자율군집형 메시징 서비스 시스템을 구성하는 서비스 라우터의 구성도이다. 도 1 및 도 5를 참조하면, 서비스 라우터(100)는 무선 통신부(110), 리소스 저장소(120), 임시 저장소(130), XML 파서(140), RF 프록시(150), 에이전트들(151~162), RF 프록시 어댑터(170) 및 메모리(180)를 포함한다. 서비스 라우터를 구성하는 각종 구성들의 기능 및 동작은 적어도 하나의 프로세서를 포함하는 마이크로제어부(미도시)에 의해 제어될 수 있다.5 is a configuration diagram of a service router constituting a location-based autonomous community messaging service system according to an embodiment of the present invention. 1 and 5, a service router 100 includes a wireless communication unit 110, a resource storage 120, a temporary storage 130, an XML parser 140, an RF proxy 150, 162, an RF proxy adapter 170, and a memory 180. The functions and operations of various configurations of the service router may be controlled by a microcontroller (not shown) including at least one processor.

무선 통신부(110)는 서비스 라우터(100)가 담당하는 단위 공간(20) 내에 위치한 이동 단말(200a,200b) 및 서비스 제공 기기(200c)와의 사이에서 데이터와, 비콘 신호 등을 무선 송수신하도록 제공될 수 있다. 무선 통신부(110)는 와이파이(WiFi), 블루투스(Bluetooth Low Energy, Bluetooth Classic), IEEE802.15.4 MAC 등의 통신망을 사용하여 단말(200)과 통신할 수 있다.The wireless communication unit 110 is provided to wirelessly transmit and receive data and a beacon signal to and from the mobile terminals 200a and 200b and the service providing apparatus 200c located in the unit space 20 served by the service router 100 . The wireless communication unit 110 can communicate with the terminal 200 using a communication network such as WiFi, Bluetooth Low Energy, Bluetooth Classic, and IEEE 802.15.4 MAC.

서비스 라우터(100)는 두 개의 이더넷(ethernet) 포트를 가질 수 있다. 유선 포트는 공인 IP를 사용하여 이웃하는 서비스 라우터를 검색할 때 사용되고, WIFI 포트는 사설 IP를 사용하여 이동 단말 및 서비스 제공 기기와의 응답에 사용될 수 있다. WIFI는 자신의 액세스 포인트(Access Point) 범위 내에서만 반응할 수 있다. 이웃 검색은 공인 IP를 이용하여 수행되기 때문에, 사용자는 장소의 제약 없이 원하는 서비스를 제공받을 수 있다.The service router 100 may have two Ethernet ports. The wired port is used to search for a neighboring service router using public IP, and the WIFI port can be used for a response to a mobile terminal and a service providing device using a private IP. WIFI can only react within its own access point. Since the neighbor search is performed using the public IP, the user can receive the desired service without restriction of the place.

리소스 저장소(120)는 서비스 라우터(100)가 담당하는 단위 공간(20) 내에 위치한 이동 단말(200a,200b)과, 서비스 제공 기기(200c)의 목록에 관한 정보를 저장한다. 임시 저장소(130)는 단말(200)로부터 전송된 포스트잇 메시지에 포함된 생존시간 동안 데이터를 임시 저장하도록 제공된다.The resource storage 120 stores information on the list of the mobile terminals 200a and 200b and the service providing device 200c located in the unit space 20 served by the service router 100. [ The temporary storage 130 is provided to temporarily store data during the lifetime included in the post-it message transmitted from the terminal 200. [

서비스에서 사용되는 메시지는 XML 형태로 전송될 수 있으며, XML 파서(140)는 단말(200)로부터 서비스 라우터(100)로 포스트잇 메시지를 수신시 포스트잇 메시지를 파싱(parsing)하여 분석할 수 있다. RF 프록시(150)는 단말(200)로부터 전송된 데이터 포맷을 서비스 라우터(100)에서 분석 가능한 포맷으로 변환하기 위해 제공된다.The message used in the service can be transmitted in XML format. The XML parser 140 can analyze the post-it message by parsing the Post-it message upon receiving the Post-it message from the terminal 200 to the service router 100. The RF proxy 150 is provided for converting the data format transmitted from the terminal 200 into a format that can be analyzed in the service router 100.

포스트잇 에이전트(151)는 포스트잇 메시지를 수신하여 XML 파서(140)를 이용해 파싱, 분석 및 보정한 후, 메시징 에이전트(152)로 전달한다. 즉, 포스트잇 에이전트(151)는 접수된 메시지를 분석하여 사용자가 이용하고자 하는 서비스를 판별하고, 그에 따른 서비스를 사용자에게 제공한다. 만약 사용자가 현재 접속하고 있는 서비스 라우터에 원하는 서비스가 없을 경우, 이웃 서비스 라우터의 검색을 통하여 자신과 가장 가까운 곳에 존재하는 서비스를 제공할 수 있다.The Post-it agent 151 receives the post-it message, parses it, parses and corrects it using the XML parser 140, and passes it to the messaging agent 152. That is, the Post-it agent 151 analyzes the received message to determine a service to be used by the user, and provides the service to the user. If there is no desired service on the service router that the user is currently accessing, the neighboring service router can provide the service that is closest to itself through the search.

메시징 에이전트(152)는 포스트잇 에이전트로부터 분석된 메시지를 전달받아 기회 기반 통신을 위하여 메시지를 임시적으로 큐(queue)에 저장한다. 메시징 에이전트(152)는 수신 단말의 형태에 따라 해당하는 에이전트를 통하여 해당 단말로 메시지를 전달하게 된다.The messaging agent 152 receives the analyzed message from the Post-it agent and temporarily stores the message in a queue for opportunistic communication. The messaging agent 152 delivers the message to the corresponding terminal through the corresponding agent according to the type of the receiving terminal.

메시지의 도착지가 해당 서비스 라우터의 단위 공간이 아닐 경우, 이웃검색 에이전트(153)는 수신측의 단말이 위치한 단위 공간을 찾기 위해, 인접한 서비스 라우터(100)로 수신측의 단말에 대한 검색을 요청하는 기능을 수행하며, 메시지의 도착지에 대한 경로를 검색한다. 분산협업 에이전트(154)는 서비스 라우터(100)를 구성하는 에이전트들의 분산협업을 위해 제공된다.If the destination of the message is not the unit space of the corresponding service router, the neighboring search agent 153 requests the neighboring service router 100 to search for the terminal of the receiving side in order to find the unit space in which the receiving terminal is located Function, and retrieves the route to the destination of the message. Distributed collaboration agent 154 is provided for distributed collaboration of agents that make up service router 100.

목적지의 서비스 라우터는 수신 단말의 형태에 따라 각각의 에이전트를 통하여 메시지를 전송한다. 푸시서비스 에이전트(155)는 수신측의 단말(200)로 데이터를 푸시/풀(push/pull) 방식으로 전송하는 기능을 수행한다. 3G통신 에이전트(156)는 3G통신을 통해 데이터를 수신측의 단말(200)로 전송하는 기능을 수행한다. AMD서비스 에이전트(157)는 서비스 제공 기기(200c)에 따라 데이터 포맷을 조절하고, 비동기 메시지 전달(asynchronous message delivery) 서비스를 지원한다. ECG 에이전트(158)는 서비스 제공 기기(200c)로부터 수신한 심전도(electrocardiogram) 데이터를 전송하기 위해 제공된다.The destination service router transmits a message through each agent according to the type of the receiving terminal. The push service agent 155 performs a function of pushing / pulling data to the terminal 200 on the receiving side. The 3G communication agent 156 performs a function of transmitting data to the terminal 200 on the receiving side through 3G communication. The AMD service agent 157 adjusts the data format according to the service providing device 200c and supports an asynchronous message delivery service. The ECG agent 158 is provided for transmitting electrocardiogram data received from the service providing device 200c.

스마트폰이나 스마트 패드와 같은 이동 단말의 경우 어플리케이션 내에서 제공되는 데몬 서비스가 이동 단말의 백그라운드에서 상주하게 되고, 푸시서비스 에이전트(155)를 통하여 이동 단말 측의 데몬에서 해당 메시지를 수신하여 메시지를 표시할 수 있다. 가스레인지, 도어락, 시계, 복약기 등과 같은 서비스 제공 기기의 경우, RF 통신을 지원하는 RF 프록시(150)를 통하여 서비스 라우터와 연결되고, AMD 서비스 에이전트를 통하여 비동기 메시지 푸시 서비스를 지원할 수 있다.In the case of a mobile terminal such as a smart phone or a smart pad, a daemon service provided in the application resides in the background of the mobile terminal, receives the corresponding message from the daemon on the mobile terminal side through the push service agent 155, can do. In case of a service providing device such as a gas range, a door lock, a clock, a medicament, etc., it is connected to a service router through an RF proxy 150 supporting RF communication, and can support an asynchronous message push service through an AMD service agent.

스트리밍 에이전트(159)는 단말(200)로부터 수신한 스트리밍 데이터를 전송하기 위해 제공된다. 프린트 에이전트(161) 및 파일공유 에이전트(161)는 인쇄, 파일공유 기능을 제공한다. 따라서, 메시지의 형태에 따라 추가적인 응용이 필요할 경우(ECG 스트리밍, 프린트, 파일 공유 등) 해당 에이전트를 호출하여 서비스를 제공할 수 있다.The streaming agent 159 is provided for transmitting the streaming data received from the terminal 200. The print agent 161 and the file sharing agent 161 provide print and file sharing functions. Accordingly, when an additional application is required according to the message type (ECG streaming, printing, file sharing, etc.), the agent can be called to provide the service.

채팅 에이전트(162)는 이동 단말(200a,200b) 또는 서비스 제공 기기(200c)의 동작 이벤트를 지속적으로 수신받기 위한 채팅 세션을 생성하여, 채팅 세션을 통해 데이터를 송수신하도록 제공된다. 본 발명의 실시 예에 의하면, 다수의 에이전트를 통해 메시징 서비스를 구현할 수 있으며, 에이전트들 사이의 재조합이 유연하고, 재사용성이 향상되며, 병렬 프로세싱이 가능해진다.The chat agent 162 is provided to generate a chat session for continuously receiving operation events of the mobile terminals 200a and 200b or the service providing device 200c and transmit and receive data through the chat session. According to the embodiment of the present invention, a messaging service can be implemented through a plurality of agents, the recombination between the agents is flexible, the reusability is improved, and the parallel processing becomes possible.

RF 프록시 어댑터(170)는 AMD 서비스 에이전트(157)로부터 제공받은 데이터를 서비스 제공 기기(200c)로 전달하기 위해 제공된다. 메모리(180)는 본 발명의 실시 예에 따른 메시징 서비스를 제공하기 위한 프로그램 등의 각종 정보를 저장한다.The RF proxy adapter 170 is provided to deliver the data provided from the AMD service agent 157 to the service providing device 200c. The memory 180 stores various information such as a program for providing a messaging service according to an embodiment of the present invention.

도 6 내지 도 11은 본 발명의 실시 예에 따른 위치 기반의 자율군집형 메시징 서비스 방법을 설명하기 위한 흐름도이다. 도 6은 송신측 이동 단말에서 수신측 이동 단말로 데이터가 전송되는 과정을 보여주는 흐름도이다. 사용자가 특정 단위 공간으로 메시지를 보내고자 할 경우, 메시지는 일차적으로 사용자가 위치한 서비스 라우터로 전송된다.6 to 11 are flowcharts illustrating a location-based autonomous community messaging service method according to an embodiment of the present invention. 6 is a flowchart illustrating a process of transmitting data from a transmitting mobile terminal to a receiving mobile terminal. When a user wants to send a message in a specific unit space, the message is first sent to the service router where the user is located.

도 6을 참조하면, 송신측 스마트폰(200a)이 수신측 스마트폰(200b) 혹은 수신측의 단위 공간(20)에 위치한 단말로 데이터를 전송하기 위해 포스트잇 메시지를 송신측 서비스 라우터(100)로 전송하면(S11), 메시지 전송을 요청받은 송신측 서비스 라우터(100)의 포스트잇 에이전트는 포스트잇 메시지를 파싱, 분석하여, 송신자, 메시지의 유형, 메시지 수신자(수신측 스마트폰의 주소) 등의 정보를 파악한다.6, the transmitting smart phone 200a transmits a Post-it message to the transmitting-side service router 100 in order to transmit data to the receiving smart phone 200b or a terminal located in the receiving- When the message is transmitted (S11), the Post-it agent of the sending service router 100 that has requested the message transmission parses and analyzes the Post-it message and transmits information such as the sender, the type of the message, the message recipient I understand.

송신측 서비스 라우터(100)는 자신의 리소스 저장소에 수신측 스마트폰(200b)의 정보가 포함되어 있지 않은 경우, 이웃검색 에이전트를 통해 인접한 서비스 라우터에 수신측 스마트폰(200b)의 위치를 문의한다. 다수의 서비스 라우터의 이웃검색 에이전트를 통해, 수신측 스마트폰(200b)이 위치한 단위 공간(20)을 담당하는 서비스 라우터(100)가 검색되면, 송신측의 서비스 라우터(100)는 수신측 단위 공간의 서비스 라우터(100)까지의 경로를 검색하여 메시징 에이전트를 통해 목적지인 수신측의 서비스 라우터(100)로 데이터를 전송한다(S12,S13).When the information on the receiving-side smartphone 200b is not included in the resource storage of the transmitting-side service router 100, the transmitting-side service router 100 queries the neighboring service router through the neighboring searching agent for the location of the receiving-side smartphone 200b . If the service router 100 serving as the unit space 20 in which the receiving smart phone 200b is located is searched through the neighboring search agents of the plurality of service routers, And transmits the data to the destination service router 100 through the messaging agent (S12, S13).

수신측의 서비스 라우터(100)의 메시징 에이전트는 전송받은 데이터를 푸시서비스 에이전트로 전달하고, 푸시서비스 에이전트는 데이터를 수신측 스마트폰(200b)으로 푸시하여 전송한다(S14,S15). 이에 따라, 수신 측의 단말(이동 단말 또는 서비스 제공 기기)은 해당 단위 공간의 서비스 라우터로부터 메시지를 수신받을 수 있으며, 필요에 따라 추가적인 서비스를 요청하고, 해당 서비스를 제공받을 수도 있다.The messaging agent of the receiving service router 100 delivers the received data to the push service agent, and the push service agent pushes the data to the receiving smart phone 200b and transmits the data to the receiving smart phone 200b (S14, S15). Accordingly, the terminal (mobile terminal or service providing device) on the receiving side can receive the message from the service router in the unit space, request additional service as needed, and receive the service.

송신측 스마트폰(200a)에서 전송한 포스트잇 메시지에는 생존시간이 포함되어 있다. 송신자가 수신측의 단위 공간(20)에 존재하는 단말에 데이터를 전송하도록 포스트잇 메시지를 작성한 경우, 푸시서비스 에이전트는 생존시간 내에 수신측 스마트폰(200b)이 위치한 단위 공간(20) 내에 출입한 다른 단말이 발생 시, 임시 저장한 데이터를 생존시간 동안 새로 출입한 단말에 푸시/풀(push/pull) 방식으로 전송한다.The post-it message transmitted from the sending-side smartphone 200a includes the lifetime. When the sender creates a Post-it message so as to transmit data to the terminal existing in the unit space 20 on the receiving side, the push service agent transmits the message to the other unit (20) within the unit space (20) When the terminal is generated, it transmits the temporarily stored data to the terminal that has entered and exited during the lifetime, in a push / pull manner.

즉, 생존시간 동안 수신측의 단위 공간(20)에 새로운 단말이 진입하면, 수신측의 단위 공간(20)을 담당하는 서비스 라우터(100)의 리소스 저장소에 새로 진입한 단말의 정보가 추가되고, 그에 따라 목록에 추가된 새로운 단말로 임시 저장한 데이터를 해당 단말에 전송함으로써, 최초 메시지 전송시 수신측의 단위 공간(20)에 위치하지 않았지만, 생존시간 내에 수신측의 단위 공간(20)으로 이동한 단말로도 데이터를 전송할 수 있다.That is, when a new terminal enters the receiving-side unit space 20 during the lifetime, the information of the newly entering terminal is added to the resource storage of the service router 100 responsible for the receiving-side unit space 20, The data temporarily stored in the new terminal added to the list is transmitted to the corresponding terminal so that it is not located in the unit space 20 on the reception side during the initial message transmission but is moved to the unit space 20 on the reception side within the lifetime Data can also be transmitted to one terminal.

본 발명의 실시 예에 의하면, 예를 들어, 강의실이나 회의실이 갑작스럽게 변경된 경우에 있어, 강의실이나 회의실에 정해진 시간보다 늦게 참석한 사용자에게도 변경된 강의실이나 회의실의 위치를 즉시 통지할 수 있는 사용상의 편의성이 제공된다. 본 발명의 실시 예에 의하면, 생존시간이 경과하지 않아 단위 공간(20)마다 임시 저장되어 있는 데이터를 사용자가 단위 공간(20)을 이동시마다 수신할 수 있어, 단위 공간(20)별로 필요한 정보를 효과적으로 얻을 수 있는 이점이 제공된다.According to the embodiment of the present invention, for example, in a case where a classroom or a conference room is suddenly changed, a user who attends later than a predetermined time in a classroom or a conference room can easily notify the changed classroom or the position of the conference room / RTI > According to the embodiment of the present invention, since the lifetime does not elapse, data temporarily stored in each unit space 20 can be received by the user every time the unit space 20 is moved, An advantage that can be obtained effectively is provided.

본 발명의 실시 예에 의하면, 특정 사용자 및 논리적 그룹에 국한된 메시징 서비스뿐만이 아니라, 네트워크상의 특정 위치에 속하여 있는 사용자들에게만 특정 메시지를 보내거나 현재 사용자의 위치에서 가장 인접한 서비스 제공 기기에게 특정 서비스 이용에 대한 요청을 보낼 수도 있다. 본 발명의 실시 예에 의하면, 다수의 서비스 라우터를 기반으로 구축된 네트워크 인프라를 통하여, 사용자는 개인의 스마트 기기를 이용하여 언제 어디서든 자신이 원하는 다양한 위치 기반의 메시징 서비스를 제공받을 수 있다. 또한, 비동기 메시징 서비스를 통하여, 현재 특정 사용자가 해당 단위 공간의 서비스 라우터에 접속해 있지 않더라도 이후에 해당 단위 공간으로 이동하여 서비스 라우터에 연결되면, 이전에 보냈던 메시지를 확인할 수 있다.According to the embodiment of the present invention, not only a messaging service limited to a specific user and a logical group but also a specific message can be sent only to users belonging to a specific location on the network, or to a nearest service- You can also send a request for. According to an embodiment of the present invention, a user can receive various location-based messaging services desired at any time by using a personal smart device through a network infrastructure built on a plurality of service routers. Further, even if the specific user is not currently connected to the service router of the unit space through the asynchronous messaging service, the user can check the previously sent message after moving to the unit space and connecting to the service router.

또한, 본 발명의 실시 예에 의하면, 사용자 개개인이 네트워크상에 존재하는 서비스 제공 기기들에 대하여 설정을 수행할 필요 없이, 서비스 라우터를 통해 서비스를 요청함으로써 추가적 설정과정 없이 편리하게 서비스를 제공받을 수 있으며, 인접한 서비스 라우터 간의 연결을 통한 네트워크상에서 메시지가 교환되므로 클라우드 컴퓨팅 환경에서 발생할 수 있는 중앙 서버로의 부하 집중 및 사용자 정보의 유출 가능성을 줄여준다. 또한, 단말 기기에 대한 제약이 없으므로, 기기의 종류에 구애받지 않고 메시지를 송수신하거나 해당 기기를 통해 특정된 응용 서비스를 제공받을 수 있다.In addition, according to the embodiment of the present invention, each user can request a service through a service router without having to perform setting for the service providing devices existing on the network, And messages are exchanged over a network through a connection between adjacent service routers, thereby reducing the possibility of centralized server load and leakage of user information that may occur in a cloud computing environment. In addition, since there is no restriction on the terminal device, messages can be transmitted or received regardless of the type of the device, or application services specified through the device can be provided.

일 실시 예로, 메시지 수신자가 속해 있는 단위 공간을 먼저 확인한 후, 해당 단위 공간의 서비스 라우터로 메시지를 전송하여 해당 사용자가 메시지를 확인하도록 할 수 있다. 다른 일 실시 예로, 사용자가 지정한 특정 단위 공간의 서비스 라우터에 메시지를 임시 저장하여 놓고, 해당 메시지를 볼 수 있는 권한을 가진 단위 공간 내의 특정 사용자가 이 메시지를 확인하여 메시지를 떼어갈 수 있다.In one embodiment, a unit space to which a message recipient belongs may be checked first, and a message may be transmitted to the service router of the unit space so that the corresponding user can confirm the message. In another embodiment, a message may be stored temporarily in a service router of a specific unit space designated by a user, and a specific user in a unit space having an authority to view the message may check the message and detach the message.

또 다른 일 실시 예로, 사용자가 지정한 특정 단위 공간의 서비스 라우터에 메시지를 임시 저장해두어, 단위 공간 내의 여러 사람이 함께 열람하도록 할 수 있다. 서비스 라우터는 메시지의 유형에 따라, 단순 메시지일 경우는 메시지의 내용을 표시하며, 서비스 요청에 대한 메시지일 경우 해당하는 기기 및 어플리케이션을 통해 서비스를 제공할 수 있다.In another embodiment, a message may be temporarily stored in a service router of a specific unit space designated by the user, so that several persons in the unit space can browse the service router together. The service router displays the contents of the message in the case of a simple message according to the type of the message, and can provide the service through the corresponding device and application when the message is a service request.

도 7은 이동 단말들 간에 채팅 세션을 개설하는 과정을 설명하기 위한 흐름도이다. 도 7을 참조하면, 채팅 세션을 개설하고자 하는 사용자는 제1 스마트폰을 통해 채팅 세션을 개설하기 위한 요청 메시지를 제1 서비스 라우터로 전송하면(S21), 제1 서비스 라우터의 포스트잇 에이전트는 채팅 에이전트로 채팅 세션을 개설을 요청한다(S22). 채팅 에이전트는 응답 메시지를 통해 세션 아이디를 제1 스마트폰으로 반환하고, 채팅 세션이 개설되었음을 알리는 생성 완료 메시지를 제1 서비스 라우터의 포스트잇 에이전트로 전송하고(S23,S24), 다른 단말들의 세션 참여를 기다린다.7 is a flowchart illustrating a process of establishing a chat session between mobile terminals. Referring to FIG. 7, when a user who wishes to establish a chat session transmits a request message for establishing a chat session through a first smart phone to a first service router (S21), the first service router's post- (S22). ≪ / RTI > The chat agent returns the session ID to the first smartphone through the response message and transmits a creation completion message to the Post-it agent of the first service router (S23, S24) indicating that the chat session has been opened waiting.

제1 서비스 라우터의 포스트잇 에이전트는 메시징 에이전트로 세션 아이디와 단말 정보 등을 전달하여 해당 단말들의 채팅 세션으로의 참여를 요청하는 메시지를 보내며(S25), 제1 서비스 라우터의 메시징 에이전트는 제2 서비스 라우터의 메시징 에이전트로 채팅 세션에 참여를 요청하는 메시지를 전송한다(S26). 제2 서비스 라우터의 메시징 에이전트는 실제로 채팅에 참여할 이동 단말들(제2 스마트폰)로 채팅 세션에 참여를 요청하는 메시지를 전송하며(S26), 이에 따라 제1 스마트폰과 제2 스마트폰 간에 채팅 세션을 통해 데이터가 전송된다.The post-it agent of the first service router transmits a session ID and terminal information to the messaging agent, and sends a message requesting participation of the terminals to the chat session (S25). The messaging agent of the first service router transmits a message A message requesting participation in a chat session is transmitted to the messaging agent of the mobile terminal (S26). The messaging agent of the second service router transmits a message requesting participation of the chat session to the mobile terminals (second smart phone) to actually participate in the chat (S26), and accordingly, the chat between the first smart phone and the second smart phone Data is transmitted over the session.

도 7의 실시 예에서, 제2 서비스 라우터는 채팅 세션의 참여 요청 메시지를 임시 저장하고 있다가, 제2 스마트폰이 위치한 단위 공간으로 생존시간 내에 새로운 이동 단말이 접근하면, 임시 저장된 참여 요청 메시지를 새로 접근한 이동 단말에도 전송한다(S26). 이에 따라 채팅 세션 개설 이후에 특정 단위 공간으로 접근한 이동 단말과도 실시간으로 채팅 세션을 개설할 수 있다.In the embodiment of FIG. 7, the second service router temporarily stores the participation request message of the chat session, and when a new mobile terminal approaches the unit space in which the second smart phone is located within the lifetime, To the newly arrived mobile terminal (S26). Accordingly, a chat session can be established in real time with a mobile terminal accessing a specific unit space after a chat session is opened.

도 8은 이동 단말들 간에 개설된 채팅 세션을 통해 데이터가 전송되는 과정을 보여주는 흐름도이다. 도 8을 참조하면, 송신측 스마트폰이 송신측 서비스 라우터로 채팅 메시지를 송신하면(S31), 송신측 서비스 라우터의 채팅 에이전트는 채팅 메시지를 메시징 에이전트로 전달한다(S32). 송신측 서비스 라우터의 메시징 에이전트는 송신측 스마트폰과 수신측 서비스 라우터로 메시지를 푸시한다(S33). 수신측 서비스 라우터의 메시징 에이전트는 수신측 단위 공간에 위치한 스마트폰과 스마트패드로 메시지를 푸시한다(S34,S35).8 is a flowchart illustrating a process of transmitting data through a chat session established between mobile terminals. Referring to FIG. 8, when the transmitting smart phone sends a chat message to the transmitting service router (S31), the chat agent of the transmitting service router forwards the chat message to the messaging agent (S32). The messaging agent of the sending service router pushes the message to the sending smart phone and the receiving service router (S33). The messaging agent of the receiving-side service router pushes the message to the smartphone and the smart pad located in the receiving-side unit space (S34, S35).

도 8의 실시 예에서, 수신측 서비스 라우터는 송신측 스마트폰에서 전송한 채팅 메시지를 임시 저장하고 있다가, 수신측 단위 공간으로 생존시간 내에 새로운 이동 단말이 접근하면, 임시 저장한 채팅 참여 요청 메시지를 전송하여 새로 접근한 이동 단말을 채팅 세션에 참여시킨 후, 채팅 세션을 통해 임시 저장하였던 채팅 메시지를 새로 접근한 이동 단말에 전송한다. 이에 따라 최초의 채팅 메시지 전달 이후에 특정 단위 공간으로 새로 접근한 이동 단말로도 채팅 세션을 통해 채팅 메시지를 전달할 수 있다.In the embodiment of FIG. 8, the receiving-side service router temporarily stores the chat message transmitted from the transmitting-side smartphone, and when a new mobile terminal accesses the receiving-side unit space within the lifetime, To join the newly accessed mobile terminal to the chat session, and then transmits the chat message temporarily stored through the chat session to the newly accessed mobile terminal. Accordingly, a chat message can be transmitted through a chat session even to a mobile terminal newly accessing a specific unit space after the first chat message is delivered.

단순히 서비스 제공 기기의 서비스를 이용하기 위한 경우에는 포스트잇 메시지를 통하여 서비스를 요청하고, 그에 따른 정보를 전송하는 것이 유리하지만, 도어락의 개폐 유무나 가스 레인지의 점화/연소 여부 등 서비스 제공 기기의 상태를 지속적으로 관리하여야 하는 것과 같이, 기기의 작동정보 모니터링이나 스트리밍 등의 지속적인 연결을 유지하고 있어야 하는 경우, 매번 포스트잇 메시지 포맷의 형태로 메시지를 전달하는 것은 비효율적일 수 있다.In the case of simply using the service of the service providing device, it is advantageous to request the service through the Post-it message and to transmit the information accordingly, but the status of the service providing device such as whether the door lock is opened or closed or whether the gas range is ignited / It may be inefficient to deliver a message in the form of a Post-it message every time, as it should be maintained, such as continuous monitoring of operational information or streaming of the device.

따라서, 일반적인 메시지 전달의 경우 포스트잇 포맷을 통한 메시지 교환을 이용하고, 지속적인 연결이 필요할 경우에는 최초 포스트잇 메시지를 통하여 이동 단말과 서비스 제공 기기 사이의 지속적인 연결을 위한 채팅 세션을 개설한 다음, 채팅 세션이 개설된 이후부터는 포스트잇 메시지 첨부를 거치지 않고 채팅 에이전트를 이용하여 채팅 세션을 통해 직접 메시지를 교환하는 메시징 서비스를 구현할 수 있다. 즉, 가스레인지의 점화/연소, 도어락의 개방/폐쇄 여부 등 특정 서비스 제공 기기의 동작 이벤트를 지속적으로 수신받고자 할 경우, 사용자는 기기로부터 메시지를 수신받기 위한 세션을 등록한 후, 이벤트 발생 시 해당 세션을 통하여 메시지를 수신받을 수 있다.Accordingly, in the case of general message delivery, a message exchange using the Post-it format is used, and when a continuous connection is required, a chat session is established for continuous connection between the mobile terminal and the service providing device through the first post-it message, Once opened, a messaging service can be implemented to exchange messages directly through a chat session using a chat agent without going through a post-it message attachment. That is, when it is desired to continuously receive an operation event of a specific service providing device such as ignition / combustion of a gas range, opening / closing of a door lock, a user registers a session for receiving a message from the device, Lt; RTI ID = 0.0 > a < / RTI >

도 9는 이동 단말과 서비스 제공 기기 간에 채팅 세션을 개설하는 과정을 보여주는 흐름도이다. 도 9를 참조하면, 사용자가 특정 단말과 다른 단말들의 지속적 연결을 유지하고자 하는 경우, 우선 스마트폰을 통해 채팅 세션의 개설을 요청하는 메시지를 포스트잇 메시지 포맷으로 스마트폰측 서비스 라우터로 전송할 수 있다(S41).9 is a flowchart illustrating a process of establishing a chat session between a mobile terminal and a service providing device. Referring to FIG. 9, when a user wishes to maintain a persistent connection between a specific terminal and other terminals, a message requesting opening of a chat session through a smart phone may first be transmitted to the smartphone side service router in a post-on message format (S41 ).

스마트폰측 서비스 라우터의 포스트잇 에이전트는 포스트잇 메시지를 분석하여, 채팅 에이전트로 채팅 세션의 생성을 요청하며(S42), 채팅 에이전트는 서비스 제공 기기측 서비스 라우터의 채팅 에이전트로 채팅 세션의 참여를 요청하고, 세션의 ID를 스마트폰으로 전달한다(S43). 서비스 제공 기기측 서비스 라우터는 RF 프록시로 해당 서비스에 대한 아이디를 요청하고(S44), RF 프록시에서는 이를 수신하여 해당 서비스에 대한 ID를 서비스 제공 기기측 서비스 라우터로 반환한다(S45). 서비스 제공 기기측 서비스 라우터의 채팅 에이전트는 스마트폰측 서비스 라우터의 채팅 에이전트를 통해 서비스를 요청한 스마트폰으로 세션 ID를 반환하며(S46,S47), 이에 따라 스마트폰과 서비스 제공 기기 간에 채팅 세션이 개설된다.The post-it agent of the smartphone side service router analyzes the post-it message and requests the chat agent to create a chat session (S42). The chat agent requests participation of the chat session with the chat agent of the service providing device side service router, To the smartphone (S43). The service providing apparatus side service router requests an ID for the service as an RF proxy (S44), receives the ID from the RF proxy, and returns the ID for the service to the service providing apparatus side service router (S45). The chat agent of the service providing device side service router returns the session ID to the smart phone requesting the service through the chat agent of the smartphone side service router (S46, S47), thereby establishing a chat session between the smartphone and the service providing device .

도 9의 실시 예에서, 서비스 제공 기기 측의 단위 공간에 생존시간 내에 새로운 단말이 접근하면, 임시 저장한 채팅 참여 요청 메시지를 새로 접근한 단말에도 전송하여 채팅 세션을 추가적으로 개설하거나, 이미 개설한 채팅 세션에 새로 접근한 단말을 추가할 수 있다. 이에 따라 최초의 채팅 개설 이후에 특정 단위 공간으로 새로 접근한 이동 단말과도 채팅 세션을 통해 채팅 메시지를 전달할 수 있다.In the embodiment of FIG. 9, when a new terminal accesses a unit space on the service providing device side within a lifetime, the chat participation request message temporarily stored is transmitted to a newly accessed terminal to additionally open a chat session, You can add a new terminal to the session. Accordingly, a chat message can be transmitted through a chat session with a mobile terminal newly accessed in a specific unit space after the first chat is established.

도 10은 채팅 세션을 통해 이동 단말로부터 서비스 제공 기기로 채팅 메시지를 전달하는 과정을 보여주는 흐름도이다. 본 발명의 실시 예에서, 최초의 채팅 세션 개설을 위한 요청 및 채팅 참여를 위한 요청 시에만 포스트잇 에이전트를 통하여 포스트잇 포맷의 메시지를 사용하고, 채팅 세션이 생성되어 단말들이 세션에 참가한 이후부터는 포스트잇 에이전트를 통하지 않고 채팅 에이전트 및 메시징 에이전트에 의해 채팅 세션을 통하여 메시지를 교환하게 된다.10 is a flowchart illustrating a process of delivering a chat message from a mobile terminal to a service providing device through a chat session. In the embodiment of the present invention, a post-it-format message is used only through a request for opening a chat session and a chat participation request through a Post-it agent, and after a chat session is created and terminals participate in a session, The message is exchanged through the chat session by the chat agent and the messaging agent without going through.

도 10을 참조하면, 스마트폰과 서비스 제공 기기 간에 개설된 채팅 세션을 통해 스마트폰에서 스마트폰측 서비스 라우터로 채팅 메시지가 전송되면(S51), 스마트폰측 서비스 라우터의 채팅 에이전트는 메시징 에이전트로 채팅 메시지를 전달하고(S52), 스마트폰측 서비스 라우터의 메시징 에이전트는 서비스 제공 기기측 서비스 라우터로 채팅 메시지를 푸시하여 전송한다(S53).Referring to FIG. 10, when a chat message is transmitted from a smartphone to a smartphone side service router through a chat session established between a smartphone and a service providing device (S51), the chat agent of the smartphone side service router transmits a chat message to the messaging agent (S52). The messaging agent of the smartphone side service router pushes the chat message to the service providing device side service router (S53).

서비스 제공 기기측의 서비스 라우터의 메시징 에이전트는 RF 프록시를 통해 서비스 제공 기기(예를 들어, 가스레인지)로 채팅 메시지를 전달한다(S54,S55). 가스레인지에 구비된 단말 기기는 채팅 메시지에 따라 가스레인지의 점화를 제어하거나, 가스레인지를 통해 요리를 하고 있는 사용자에게 필요한 데이터를 전송할 수 있다.The messaging agent of the service router on the service provider side transmits the chat message to the service provider device (for example, the gas range) through the RF proxy (S54, S55). The terminal device provided in the gas range can control the ignition of the gas range according to a chat message, or can transmit necessary data to the user who is cooking through the gas range.

도 10의 실시 예에서, 서비스 제공 기기 측의 단위 공간에 생존시간 내에 새로운 단말이 접근하면, 임시 저장한 채팅 참여 요청 메시지를 전달하여 새로운 단말을 채팅 세션에 참여시킨 후, 임시 저장한 채팅 메시지를 새로 접근한 단말에도 전송함으로써, 최초의 채팅 메시지 전송 이후에 특정 단위 공간으로 새로 접근한 이동 단말과도 채팅 세션을 통해 채팅 메시지를 전달할 수 있다.In the embodiment of FIG. 10, when a new terminal accesses a unit space on the service providing device side within a lifetime, a chat participation request message temporarily stored is transmitted to join a new terminal into a chat session, It is also possible to transmit the chat message to the newly accessed mobile terminal through the chat session even after the first chat message is transmitted to the mobile terminal newly accessed in a specific unit space.

도 11은 채팅 세션을 통해 서비스 제공 기기로부터 이동 단말로 채팅 메시지를 전달하는 과정을 보여주는 흐름도이다. 도 11을 참조하면, 스마트폰과 서비스 제공 기기 간에 개설된 채팅 세션을 통해 서비스 제공 기기(가스레인지)에서 서비스 제공 기기측 서비스 라우터로 채팅 메시지가 전송되면(S61), 서비스 제공 기기측 서비스 라우터의 RF 프록시는 채팅 메시지를 전달받아 채팅 메시지를 확인하고, 이를 서비스 제공 기기측 서비스 라우터의 채팅 에이전트로 전달하며(S62), 채팅 에이전트는 이 기기에 대한 메시지를 수신받고자 하는 단말들의 세션을 확인하고, 메시징 에이전트를 통하여 채팅 메시지를 메시징 에이전트로 전달한다(S62,S63). 스마트폰측 서비스 라우터의 메시징 에이전트는 서비스 제공 기기측 서비스 라우터의 메시징 에이전트로부터 채팅 메시지를 전달받아, 스마트폰으로 전달한다(S64,S65). 이에 따라 이동 단말의 사용자는 서비스 제공 기기로부터 전달되는 서비스 제공에 관한 정보를 이동 단말을 통해 실시간으로 확인할 수 있다.11 is a flowchart showing a process of delivering a chat message from a service providing device to a mobile terminal through a chat session. 11, when a chat message is transmitted from the service providing device (gas range) to the service providing device side service router through the chat session established between the smartphone and the service providing device (S61), the service providing device side service router The RF proxy receives the chat message, confirms the chat message, and transmits it to the chat agent of the service providing apparatus side service router (S62). The chat agent confirms the session of the terminals to receive the message for the device, And delivers the chat message to the messaging agent via the messaging agent (S62, S63). The messaging agent of the smartphone side service router receives the chat message from the messaging agent of the service providing device side service router and delivers the chat message to the smart phone (S64, S65). Accordingly, the user of the mobile terminal can confirm the information on the service provision transmitted from the service providing device through the mobile terminal in real time.

도 12a 내지 도 12b는 채팅 세션을 통해 서비스 제공 기기로부터 메시지가 이동 단말로 전달되는 것을 예시하는 도면이다. 도 12a 내지 도 12b를 참조하면, 원격지에 위치한 사용자는 현관 측의 단위 공간 및 주방 측의 단위 공간에 각각 구비된 서비스 라우터와 채팅 세션을 통해 귀가, 가스레인지 점화 등의 정보를 원격으로 제공받아, 이동 단말(200)을 통해 확인할 수 있다. 즉, 사용자가 현관의 도어락을 개방하고, 주방으로 가서 가스레인지를 점화시킬 경우, 도어락과 가스 레인지는 각각 자신의 단위 공간(20)에 위치한 서비스 라우터(100)로 자신의 상태를 전송하고, 서비스 라우터(100)는 수신받은 서비스 제공 기기(200)의 상태를 사전에 개설되어 있는 채팅 세션을 통하여 이동 단말(200)로 전송하게 된다.12A and 12B are diagrams illustrating a message delivered from a service providing device to a mobile terminal through a chat session. 12A to 12B, a user located at a remote site remotely receives information such as returning home, gas range lighting, and the like through a chat session with a service router provided in the unit space on the entrance side and the unit space on the kitchen side, Can be confirmed through the mobile terminal 200. That is, when the user opens the door lock of the front door and goes to the kitchen to ignite the gas range, the door lock and the gas range transmit their state to the service router 100 located in the unit space 20 of the door, The router 100 transmits the status of the received service providing device 200 to the mobile terminal 200 through the chat session.

이상의 실시 예들은 본 발명의 이해를 돕기 위하여 제시된 것으로, 본 발명의 범위를 제한하지 않으며, 이로부터 다양한 변형 가능한 실시 예들도 본 발명의 범위에 속하는 것임을 이해하여야 한다. 본 발명의 기술적 보호범위는 특허청구범위의 기술적 사상에 의해 정해져야 할 것이며, 본 발명의 기술적 보호범위는 특허청구범위의 문언적 기재 그 자체로 한정되는 것이 아니라 실질적으로는 기술적 가치가 균등한 범주의 발명에 대하여까지 미치는 것임을 이해하여야 한다.It is to be understood that the above-described embodiments are provided to facilitate understanding of the present invention, and do not limit the scope of the present invention, and it is to be understood that various modifications are possible within the scope of the present invention. It is to be understood that the technical scope of the present invention should be determined by the technical idea of the claims and the technical scope of protection of the present invention is not limited to the literary description of the claims, To the invention of the invention.

10: 위치 기반의 자율군집형 메시징 서비스 시스템
20: 단위 공간
100: 서비스 라우터
200: 단말
200a,200b: 이동 단말
200c: 서비스 제공 기기
10: Location-based Autonomous Clustering Messaging Service System
20: Unit space
100: Service router
200: terminal
200a, 200b:
200c: Service providing device

Claims (14)

이동 단말에 위치 기반의 서비스를 제공하기 위한 위치 인식의 기준점이 되도록 서로 다른 단위 공간에 설치되고, 단위 공간 내에 위치하는 이동 단말의 정보를 단위 공간별로 분산하여 관리하는 다수의 서비스 라우터; 및
수신측의 단위 공간에 위치하는 단말로 데이터를 전송하기 위한 포스트잇 메시지를 송신측의 단위 공간에 설치된 서비스 라우터로 송신하는 제1 단말을 포함하며,
상기 다수의 서비스 라우터는, 별도의 중앙 서버를 경유하지 않고, 인접한 서비스 라우터 간에 비동기 메시징 방식으로 상기 데이터를 전송하여, 송신측의 서비스 라우터로부터 수신측의 서비스 라우터로 상기 데이터를 전송하고,
상기 수신측의 서비스 라우터는, 상기 인접한 서비스 라우터로부터 상기 데이터를 수신 시에 상기 수신측의 단위 공간에 제2 단말이 위치하는 경우, 상기 제2 단말로 상기 데이터를 전송하고, 상기 포스트잇 메시지에 포함된 생존시간 동안 상기 데이터를 임시 저장하여, 상기 생존시간 내에 상기 수신측의 단위 공간으로 제3 단말이 이동하는 경우, 상기 수신측의 단위 공간으로 이동한 상기 제3 단말로 상기 데이터를 전송하는 위치 기반의 자율군집형 메시징 서비스 시스템.
A plurality of service routers installed in different unit spaces so as to serve as a reference point of location recognition for providing a location based service to the mobile terminal and distributing and managing information of mobile terminals located in the unit space by unit spaces; And
And a first terminal for transmitting a post-it message for transmitting data to a terminal located in a unit space on the reception side to a service router installed in a unit space on the transmission side,
Wherein the plurality of service routers transmit the data through an asynchronous messaging method between adjacent service routers without passing through a separate central server and transmit the data from the transmitting service router to the receiving service router,
Wherein the receiving service router transmits the data to the second terminal when the second terminal is located in the unit space of the receiving side upon receiving the data from the adjacent service router, Wherein the data is temporarily stored during the lifetime of the third terminal when the third terminal moves to the receiving unit space within the lifetime, Based autonomous clustered messaging service system.
제1 항에 있어서,
상기 제1 단말은 상기 송신측의 단위 공간에 위치한 제1 이동 단말 또는 제1 서비스 제공 기기를 포함하고,
상기 제2 단말은 상기 수신측의 단위 공간에 위치한 제2 이동 단말 또는 제2 서비스 제공 기기를 포함하며,
상기 제3 단말은 상기 수신측의 단위 공간으로 이동한 제3 이동 단말을 포함하는 위치 기반의 자율군집형 메시징 서비스 시스템.
The method according to claim 1,
Wherein the first terminal comprises a first mobile terminal or a first service providing device located in the transmitting-side unit space,
Wherein the second terminal comprises a second mobile terminal or a second service providing device located in the receiving-side unit space,
And the third terminal comprises a third mobile terminal moved to the receiving unit space.
제1 항에 있어서,
상기 다수의 서비스 라우터 각각은,
담당하는 단위 공간 내에 위치한 이동 단말 또는 서비스 제공 기기의 목록을 저장하는 리소스 저장소; 및
상기 포스트잇 메시지에 포함된 생존시간 동안 상기 데이터를 임시 저장하는 임시 저장소를 포함하는 위치 기반의 자율군집형 메시징 서비스 시스템.
The method according to claim 1,
Each of the plurality of service routers comprising:
A resource storage for storing a list of mobile terminals or service providing devices located in a unit space in charge; And
And a temporary store for temporarily storing the data for a lifetime included in the post-it message.
제3 항에 있어서,
상기 다수의 서비스 라우터 각각은,
담당하는 단위 공간 내에 위치한 이동 단말 또는 서비스 제공 기기와의 사이에서 상기 데이터를 무선으로 전송하는 무선 통신부;
상기 포스트잇 메시지를 수신하여 파싱 및 분석하는 포스트잇 에이전트;
상기 포스트잇 에이전트로부터 분석된 메시지를 전달받아 임시적으로 저장하는 메시징 에이전트;
이동 단말 또는 서비스 제공 기기의 동작 이벤트를 지속적으로 수신받기 위한 채팅 세션을 생성하여, 상기 채팅 세션을 통해 상기 데이터를 송수신하는 채팅 에이전트;
수신측의 단말이 위치한 단위 공간을 찾기 위해, 인접한 서비스 라우터로 수신측의 단말에 대한 검색을 요청하는 이웃검색 에이전트; 및
상기 제2 단말 및 상기 제3 단말로 상기 데이터를 푸시/풀(push/pull) 방식으로 전송하는 푸시서비스 에이전트를 더 포함하는 위치 기반의 자율군집형 메시징 서비스 시스템.
The method of claim 3,
Each of the plurality of service routers comprising:
A wireless communication unit for wirelessly transmitting the data between a mobile terminal or a service providing device located in a unit space in charge;
A post-it agent for receiving and parsing and analyzing the post-it message;
A messaging agent for receiving and temporarily storing the analyzed message from the post-it agent;
A chat agent for generating a chat session for continuously receiving an operation event of a mobile terminal or a service providing device and transmitting and receiving the data through the chat session;
A neighboring search agent for requesting a neighboring service router to search for a terminal on the receiving side to search for a unit space in which the terminal on the receiving side is located; And
Further comprising a push service agent for pushing / pulling the data to the second terminal and the third terminal.
제4 항에 있어서,
상기 다수의 서비스 라우터 각각은,
상기 서비스 제공 기기에 따라 데이터 포맷을 조절하고, 비동기 메시지 전달 서비스를 지원하는 AMD(asynchronous message delivery) 서비스 에이전트; 및
상기 AMD 서비스 에이전트로부터 제공받은 데이터를 상기 서비스 제공 기기로 전달하는 RF 프록시 어댑터를 더 포함하는 위치 기반의 자율군집형 메시징 서비스 시스템.
5. The method of claim 4,
Each of the plurality of service routers comprising:
An asynchronous message delivery (AMD) service agent that adjusts a data format according to the service providing device and supports an asynchronous message delivery service; And
And an RF proxy adapter for delivering data provided from the AMD service agent to the service providing device.
제1 항에 있어서,
상기 포스트잇 메시지는 송수신 단말의 종류에 관계없이 공통의 메시지 포맷을 가지며,
상기 메시지 포맷은 수신측의 단말이나 서비스 라우터의 주소 및 상기 생존시간을 포함하는 위치 기반의 자율군집형 메시징 서비스 시스템.
The method according to claim 1,
The post-it message has a common message format regardless of the type of the transmission / reception terminal,
Wherein the message format includes an address of a terminal or a service router of the recipient and the lifetime of the autonomous clustered messaging service system.
이동 단말에 위치 기반의 서비스를 제공하기 위한 위치 인식의 기준점이 되도록 서로 다른 단위 공간에 설치되고, 단위 공간 내에 위치하는 이동 단말의 정보를 단위 공간별로 분산하여 관리하는 다수의 서비스 라우터를 포함하며,
송신측의 단위 공간에 설치된 서비스 라우터는 수신측의 단위 공간에 위치하는 단말로 데이터를 전송하기 위한 포스트잇 메시지를 제1 단말로부터 수신하고,
상기 다수의 서비스 라우터는, 별도의 중앙 서버를 경유하지 않고, 인접한 서비스 라우터 간에 비동기 메시징 방식으로 상기 데이터를 전송하여, 송신측의 서비스 라우터로부터 수신측의 서비스 라우터로 상기 데이터를 전송하고,
상기 수신측의 서비스 라우터는, 상기 인접한 서비스 라우터로부터 상기 데이터를 수신 시에 상기 수신측의 단위 공간에 제2 단말이 위치하는 경우, 상기 제2 단말로 상기 데이터를 전송하고, 상기 포스트잇 메시지에 포함된 생존시간 동안 상기 데이터를 임시 저장하여, 상기 생존시간 내에 상기 수신측의 단위 공간으로 제3 단말이 이동하는 경우, 상기 수신측의 단위 공간으로 이동한 상기 제3 단말로 상기 데이터를 전송하는 위치 기반의 자율군집형 메시징 서비스 시스템.
And a plurality of service routers installed in different unit spaces so as to serve as a reference point of location recognition for providing a location based service to the mobile terminal and distributing and managing information of mobile terminals located in the unit space,
The service router installed in the unit space of the transmitting side receives a Post-it message for transmitting data from the first terminal to the terminal located in the unit space of the receiving side,
Wherein the plurality of service routers transmit the data through an asynchronous messaging method between adjacent service routers without passing through a separate central server and transmit the data from the transmitting service router to the receiving service router,
Wherein the receiving service router transmits the data to the second terminal when the second terminal is located in the unit space of the receiving side upon receiving the data from the adjacent service router, Wherein the data is temporarily stored during the lifetime of the third terminal when the third terminal moves to the receiving unit space within the lifetime, Based autonomous clustered messaging service system.
제7 항에 있어서,
상기 다수의 서비스 라우터 각각은,
담당하는 단위 공간 내에 위치한 이동 단말 또는 서비스 제공 기기의 목록을 저장하는 리소스 저장소; 및
상기 포스트잇 메시지에 포함된 생존시간 동안 상기 데이터를 임시 저장하는 임시 저장소를 포함하는 위치 기반의 자율군집형 메시징 서비스 시스템.
8. The method of claim 7,
Each of the plurality of service routers comprising:
A resource storage for storing a list of mobile terminals or service providing devices located in a unit space in charge; And
And a temporary store for temporarily storing the data for a lifetime included in the post-it message.
이동 단말에 위치 기반의 서비스를 제공하기 위한 위치 인식의 기준점이 되도록 단위 공간에 설치되고, 상기 단위 공간 내에 위치하는 이동 단말의 정보를 관리하는 서비스 라우터로서,
송신측 단말로부터 수신측 단말로 데이터를 전송하기 위한 포스트잇 메시지를 수신 시, 상기 수신측 단말이 위치하는 다른 단위 공간의 서비스 라우터로 상기 데이터를 전달하기 위해 인접한 서비스 라우터로 비동기 메시징 방식으로 상기 데이터를 전송하거나, 상기 단위 공간 내에 상기 수신측 단말이 위치시 상기 데이터를 상기 수신측 단말로 푸시하여 전송하며,
상기 포스트잇 메시지에 포함된 생존시간 동안 상기 데이터를 임시 저장하여, 상기 생존시간 내에 상기 단위 공간 내에 상기 수신측 단말이 이동하는 경우, 상기 수신측 단말로 상기 데이터를 전송하는 기능을 수행하는 위치 기반의 자율군집형 메시징 서비스 제공을 위한 서비스 라우터.
1. A service router for managing information of a mobile terminal located in a unit space and being located in a unit space so as to be a reference point of location recognition for providing a location based service to a mobile terminal,
When receiving a post-it message for transmitting data from a transmitting-side terminal to a receiving-side terminal, transmits the data to an adjacent service router in an asynchronous messaging manner to transmit the data to a service router in another unit space in which the receiving- Or transmits the data to the receiving terminal when the receiving terminal is located within the unit space,
A location-based mobile terminal for temporarily storing the data during a lifetime included in the post-on message and for transmitting the data to the recipient terminal when the recipient terminal moves within the lifetime; Service Router for Autonomous Clustered Messaging Service.
제9 항에 있어서,
상기 서비스 라우터는,
상기 단위 공간 내에 위치한 이동 단말 또는 서비스 제공 기기의 목록을 저장하는 리소스 저장소; 및
상기 포스트잇 메시지에 포함된 생존시간 동안 상기 데이터를 임시 저장하는 임시 저장소를 포함하는 위치 기반의 자율군집형 메시징 서비스 제공을 위한 서비스 라우터.
10. The method of claim 9,
The service router,
A resource storage for storing a list of mobile terminals or service providing devices located in the unit space; And
And a temporary storage for temporarily storing the data for a lifetime included in the post-it message.
제10 항에 있어서,
상기 서비스 라우터는,
상기 단위 공간 내에 위치한 이동 단말 또는 서비스 제공 기기와의 사이에서 상기 데이터를 무선으로 전송하는 무선 통신부;
상기 포스트잇 메시지를 수신하여 파싱 및 분석하는 포스트잇 에이전트;
상기 포스트잇 에이전트로부터 분석된 메시지를 전달받아 임시적으로 저장하는 메시징 에이전트;
상기 이동 단말 또는 상기 서비스 제공 기기의 동작 이벤트를 지속적으로 수신받기 위한 채팅 세션을 생성하여, 상기 채팅 세션을 통해 상기 데이터를 송수신하는 채팅 에이전트;
상기 수신측 단말이 위치한 단위 공간을 찾기 위해, 인접한 서비스 라우터로 상기 수신측 단말에 대한 검색을 요청하는 이웃검색 에이전트; 및
상기 수신측 단말로 상기 데이터를 푸시/풀(push/pull) 방식으로 전송하는 푸시서비스 에이전트를 더 포함하는 위치 기반의 자율군집형 메시징 서비스 제공을 위한 서비스 라우터.
11. The method of claim 10,
The service router,
A wireless communication unit for transmitting the data wirelessly with a mobile terminal or a service providing device located in the unit space;
A post-it agent for receiving and parsing and analyzing the post-it message;
A messaging agent for receiving and temporarily storing the analyzed message from the post-it agent;
A chat agent for generating a chat session for continuously receiving an operation event of the mobile terminal or the service providing device and transmitting and receiving the data through the chat session;
A neighboring search agent for requesting a neighboring service router to search the receiving terminal for a unit space in which the receiving terminal is located; And
And a push service agent for transmitting the data to the receiving terminal in a push / pull manner.
이동 단말에 위치 기반의 서비스를 제공하기 위한 위치 인식의 기준점이 되도록 서로 다른 단위 공간에 설치된 다수의 서비스 라우터가 각 단위 공간 내에 위치하는 이동 단말의 정보를 단위 공간별로 분산하여 관리하는 단계;
제1 단말이 수신측의 단위 공간에 위치하는 단말로 데이터를 전송하기 위한 포스트잇 메시지를 송신측의 단위 공간에 설치된 서비스 라우터로 송신하는 단계;
인접한 서비스 라우터 간에 비동기 메시징 방식으로 상기 데이터를 전송하여, 별도의 중앙 서버를 경유하지 않고 송신측의 서비스 라우터로부터 수신측의 서비스 라우터로 상기 데이터를 전송하는 단계;
상기 수신측의 서비스 라우터가 상기 인접한 서비스 라우터로부터 상기 데이터를 수신 시에 상기 수신측의 단위 공간에 제2 단말이 위치하는 경우, 상기 제2 단말로 상기 데이터를 전송하는 단계; 및
상기 수신측의 서비스 라우터가 상기 포스트잇 메시지에 포함된 생존시간 동안 상기 데이터를 임시 저장하여, 상기 생존시간 내에 상기 수신측의 단위 공간으로 제3 단말이 이동하는 경우, 상기 수신측의 단위 공간으로 이동한 상기 제3 단말로 상기 데이터를 전송하는 단계를 포함하는 위치 기반의 자율군집형 메시징 서비스 방법.
A plurality of service routers installed in different unit spaces distribute and manage information of mobile terminals located in each unit space by unit spaces so as to be a reference point of location recognition for providing location based services to the mobile terminal;
The first terminal transmitting a Post-it message for transmitting data to a terminal located in a unit space on the reception side, to a service router installed in a unit space on the transmission side;
Transmitting the data through an asynchronous messaging method between adjacent service routers and transmitting the data from a transmitting-side service router to a receiving-side service router without passing through a separate central server;
Transmitting the data to the second terminal when the second terminal is located in the receiving-side unit space when the receiving-side service router receives the data from the adjacent service router; And
The service router of the receiving side temporarily stores the data for the lifetime included in the post-on message, and when the third terminal moves to the receiving-side unit space within the lifetime, And transmitting the data to one of the third terminals.
제12 항에 있어서,
이동 단말 또는 서비스 제공 기기의 동작 이벤트를 지속적으로 수신받기 위한 채팅 세션을 생성하여, 상기 채팅 세션을 통해 상기 데이터를 송수신하는 단계를 더 포함하는 위치 기반의 자율군집형 메시징 서비스 방법.
13. The method of claim 12,
Generating a chat session for continuously receiving an operation event of a mobile terminal or a service providing device and transmitting and receiving the data through the chat session.
제12 항에 있어서,
상기 이동 단말의 정보를 관리하는 단계는,
상기 다수의 서비스 라우터 각각이 비콘 신호를 송신하는 단계;
상기 비콘 신호를 수신한 이동 단말이 가장 큰 비콘 신호를 송신한 서비스 라우터와 접속하는 단계;
상기 이동 단말과 접속한 서비스 라우터가, 담당하는 단위 공간 내에 위치한 단말의 목록을 저장하는 리소스 저장소에 상기 이동 단말의 정보를 기록하는 단계를 포함하는 위치 기반의 자율군집형 메시징 서비스 방법.
13. The method of claim 12,
The step of managing information of the mobile terminal comprises:
Each of the plurality of service routers transmitting a beacon signal;
Connecting a service router that has transmitted the beacon signal having the largest beacon signal to the mobile terminal that has received the beacon signal;
And recording the information of the mobile terminal in a resource repository storing a list of terminals located in a unit space occupied by the service router connected to the mobile terminal.
KR1020140151139A 2014-11-03 2014-11-03 Location based self-organized messaging service system and method thereof KR101590562B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140151139A KR101590562B1 (en) 2014-11-03 2014-11-03 Location based self-organized messaging service system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140151139A KR101590562B1 (en) 2014-11-03 2014-11-03 Location based self-organized messaging service system and method thereof

Publications (1)

Publication Number Publication Date
KR101590562B1 true KR101590562B1 (en) 2016-02-02

Family

ID=55354663

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140151139A KR101590562B1 (en) 2014-11-03 2014-11-03 Location based self-organized messaging service system and method thereof

Country Status (1)

Country Link
KR (1) KR101590562B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102491779B1 (en) * 2021-08-12 2023-01-27 (주)자스텍엠 Seamless positioning calculation device and method based on data fusion and common message format in multimodal transportation

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100740986B1 (en) 2006-08-08 2007-07-19 경북대학교 산학협력단 Fixed routing method based on wireless network and wireless control and monitoring system using the method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100740986B1 (en) 2006-08-08 2007-07-19 경북대학교 산학협력단 Fixed routing method based on wireless network and wireless control and monitoring system using the method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102491779B1 (en) * 2021-08-12 2023-01-27 (주)자스텍엠 Seamless positioning calculation device and method based on data fusion and common message format in multimodal transportation

Similar Documents

Publication Publication Date Title
US11265189B2 (en) Modular device and data management system and gateway for a communications network
US9319109B2 (en) Docking station connectivity monitor/controller
US8825767B2 (en) Scalable secure wireless interaction enabling methods, system and framework
US8819566B2 (en) Integrated multi-modal chat
US8982762B2 (en) Methods and apparatus for use in communicating in a peer-to-peer (P2P) network
CN104158883A (en) Method, device, equipment and system for carrying out user login through cross-terminal equipment
CN101478578A (en) System and method for associating communication devices
CN104205998A (en) Method and apparatus for relaying data communications in a bluetooth network
CN107682857B (en) Data sharing method of Zigbee network, gateway equipment and Zigbee network system
WO2010131860A2 (en) Method and system for optimizing cpns enabler
KR20100028500A (en) Aggregated user presence management method within a home network and device for user presence management within a home network
CN102215216A (en) Transitioning between circuit switched calls and video calls
KR101590562B1 (en) Location based self-organized messaging service system and method thereof
KR101629169B1 (en) HOME NETWORK SYSTEM AND METHOD BASED ON WebRTC AND SERVICE WORKER
CN110224924A (en) State updating method and device, storage medium and electronic device
JP5000745B2 (en) Content distribution system and content distribution method
CN105208533A (en) Message interaction method and device
EP2713670B1 (en) Methods and apparatus for use in communicating in a peer-to-peer (p2p) network
Doke et al. Improving Emergency Preparedness and Response in Rural Areas
WO2016127514A1 (en) Method and apparatus for controlling electronic lock
KR20090042555A (en) Method, device control server and system registering a terminal device
JP5804952B2 (en) Wireless LAN connection system
US11937201B2 (en) Methods to improve and optimize de-registration procedures with access and mobility management function (AMF)
Goel et al. Voice transmission through WiFi
Hukkeri et al. The Impact of Protocol Conversions in the Wireless Communication of IOT Network.

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20200102

Year of fee payment: 5