KR100938471B1 - Discovery engine for resource sharing using wireless sensor network, the discovery metohd and the registration method thereof - Google Patents

Discovery engine for resource sharing using wireless sensor network, the discovery metohd and the registration method thereof Download PDF

Info

Publication number
KR100938471B1
KR100938471B1 KR1020070110103A KR20070110103A KR100938471B1 KR 100938471 B1 KR100938471 B1 KR 100938471B1 KR 1020070110103 A KR1020070110103 A KR 1020070110103A KR 20070110103 A KR20070110103 A KR 20070110103A KR 100938471 B1 KR100938471 B1 KR 100938471B1
Authority
KR
South Korea
Prior art keywords
service
shared
information
search
peer
Prior art date
Application number
KR1020070110103A
Other languages
Korean (ko)
Other versions
KR20090044152A (en
Inventor
이상신
김재호
안일엽
송민환
김태현
원광호
Original Assignee
전자부품연구원
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 전자부품연구원 filed Critical 전자부품연구원
Priority to KR1020070110103A priority Critical patent/KR100938471B1/en
Publication of KR20090044152A publication Critical patent/KR20090044152A/en
Application granted granted Critical
Publication of KR100938471B1 publication Critical patent/KR100938471B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Abstract

본 발명에 따른 무선 센서네트워크를 이용한 공유 리소스 탐색 시스템은, 공유 리소스 데이터 서비스를 요청하는 서비스 탐색 유저와; 상기 서비스 탐색 유저에서 요청된 공유 리소스 데이터 서비스를 공유된 주변 리소스 디바이스에서 검색하여 해당 결과를 제공하는 서비스 탐색 엔진과; 상기 서비스 탐색 엔진에서 검색된 결과를 공유된 주변 디바이스에 송수신하는 인터렉션 어뎁터를 포함하고,상기 서비스 탐색 엔진은, 상기 서비스 탐색 유저에서 요청된 공유 리소스 서비스를 제공하는 프리미티브와; 상기 요청된 공유 리소스 서비스의 정보에 관한 메시지 수신 및 송신을 수행하는 메시지 프로세서와; 상기 공유된 주변 리소스 디바이스 정보를 관리하는 주변 정보 관리부를 포함하는 점에 그 특징이 있다. The shared resource search system using the wireless sensor network according to the present invention includes a service search user for requesting a shared resource data service; A service search engine searching for a shared resource data service requested by the service search user in a shared peripheral resource device and providing a corresponding result; And an interaction adapter for transmitting and receiving a result searched by the service search engine to a shared peripheral device, wherein the service search engine includes: a primitive for providing a shared resource service requested by the service search user; A message processor that performs message reception and transmission on information of the requested shared resource service; It is characterized in that it comprises a peripheral information management unit for managing the shared peripheral resource device information.

본 발명의 무선 센서네트워크를 이용한 공유 리소스 탐색 시스템, 그 탐색 방법 및 등록 방법은, 무선 센서네트워크를 이용하여 주변의 공유 리소스를 탐색함으로써 정보 및 서비스를 제공받을 수 있다. The shared resource searching system, the searching method, and the registering method using the wireless sensor network of the present invention can be provided with information and services by searching for shared resources around the wireless sensor network.

무선 센서네트워크, 공유 리소스, 서비스 탐색 엔진 Wireless sensor network, shared resources, service discovery engine

Description

무선 센서네트워크를 이용한 공유 리소스 탐색 시스템, 그 탐색 방법 및 등록 방법{DISCOVERY ENGINE FOR RESOURCE SHARING USING WIRELESS SENSOR NETWORK, THE DISCOVERY METOHD AND THE REGISTRATION METHOD THEREOF}DISCOVERY ENGINE FOR RESOURCE SHARING USING WIRELESS SENSOR NETWORK, THE DISCOVERY METOHD AND THE REGISTRATION METHOD THEREOF}

본 발명은 무선 센서네트워크를 이용한 공유 리소스 탐색 시스템, 그 탐색 방법 및 등록 방법에 관한 것으로, 특히 무선 센서네트워크를 이용하여 주변의 공유 리소스를 탐색함으로써 정보 및 서비스를 제공받을 수 무선 센서네트워크를 이용한 공유 리소스 탐색 시스템, 그 탐색 방법 및 등록 방법에 관한 것이다. The present invention relates to a system for searching for a shared resource using a wireless sensor network, a method for searching for the same, and a method for registering the same. In particular, the present invention can provide information and services by searching for a shared resource around the wireless sensor network. A resource search system, a search method thereof, and a registration method thereof.

종래에는 무선 센서네트워크를 기반으로 제공된 서비스 탐색 방법에서는 무선 센서네트워크가 제공하는 센서를 통한 서비스 제공 및 탐색에 관련된 방법들이 제안되었다. Conventionally, in the service discovery method provided based on a wireless sensor network, methods related to service provision and discovery through a sensor provided by the wireless sensor network have been proposed.

유비쿼터스 환경에서는 언제, 어디서나 필요한 정보 및 컴퓨팅 능력을 제공받을 수 있어야 한다. 이러한 정보 및 서비스를 사용하기 위해서는 주변에 산재한 여러 가지 디바이스로부터 자신이 원하는 정보 및 서비스를 적절히 탐색할 수 있는 기능과 탐색된 정보를 취득하는 기능이 필요하다. In a ubiquitous environment, you need to be able to get the information and computing power you need anywhere, anytime. In order to use such information and services, a function for properly searching for desired information and services from various devices scattered around and a function for acquiring discovered information are required.

그러나, 이러한 서비스를 원하는 디바이스들은 대부분 이동형(mobile) 디바 이스로 지속적인 서비스를 위해서는 낮은 소비전력과 작은 크기를 필요로 하는 문제점이 발생된다. However, most of the devices that want such services are mobile devices, which require low power consumption and small size for continuous service.

본 발명은 무선 센서네트워크를 이용하여 주변의 공유 리소스를 탐색함으로써 정보 및 서비스를 제공받을 수 무선 센서네트워크를 이용한 공유 리소스 탐색 시스템, 그 탐색 방법 및 등록 방법을 제공함에 그 목적이 있다. SUMMARY OF THE INVENTION An object of the present invention is to provide a system for searching for shared resources using a wireless sensor network, a search method, and a registration method, which can receive information and services by searching for shared resources in the vicinity using a wireless sensor network.

또한, 본 발명은 주변의 공유정보를 취득하는 과정에서 얻어진 무선 신호 강도 기반의 상대적 거리 측정 방법을 이용하여 취득된 공유정보 사용의 적절성 판단에 필요한 상대적 거리 정보를 제공함에 그 목적이 있다.In addition, an object of the present invention is to provide the relative distance information necessary for determining the appropriateness of the use of the shared information obtained by using the relative distance measurement method based on the wireless signal strength obtained in the process of acquiring the shared information of the surroundings.

상기의 목적을 달성하기 위하여 본 발명에 따른 무선 센서네트워크를 이용한 공유 리소스 탐색 시스템은, 공유 리소스 데이터 서비스를 요청하는 서비스 탐색 유저와; 상기 서비스 탐색 유저에서 요청된 공유 리소스 데이터 서비스를 공유된 주변 리소스 디바이스에서 검색하여 해당 결과를 제공하는 서비스 탐색 엔진과; 상기 서비스 탐색 엔진에서 검색된 결과를 공유된 주변 디바이스에 송수신하는 인터렉션 어뎁터를 포함하는 점에 그 특징이 있다. In order to achieve the above object, a shared resource search system using a wireless sensor network according to the present invention includes a service search user requesting a shared resource data service; A service search engine searching for a shared resource data service requested by the service search user in a shared peripheral resource device and providing a corresponding result; Its feature is that it includes an interaction adapter for transmitting and receiving the results retrieved by the service search engine to the shared peripheral device.

여기서, 상기 서비스 탐색 엔진은, 상기 서비스 탐색 유저에서 요청된 공유 리소스 서비스를 제공하는 프리미티브와; 상기 요청된 공유 리소스 서비스의 정보에 관한 메시지 수신 및 송신을 수행하는 메시지 프로세서와; 상기 공유된 주변 리소스 디바이스 정보를 관리하는 주변 정보 관리부와; 상기 공유 리소스 데이터 서비스를 제공하는 주변 디바이스와의 거리 측정을 파악하여 위치 정보를 제공하는 위치정보 엔진을 포함하는 것이 바람직하다. The service search engine may include a primitive for providing a shared resource service requested by the service search user; A message processor that performs message reception and transmission on information of the requested shared resource service; A peripheral information manager configured to manage the shared peripheral resource device information; It is preferable to include a location information engine for providing the location information by grasping the distance measurement with the peripheral device providing the shared resource data service.

그리고, 상기 프리미티브는, 서비스 탐색 유저의 요청을 받는 요청 프리미티브와, 상기 요청 프리미티브에서 수행한 결과를 서비스 탐색 유저에게 반환하는 확인 프리미티브와, 발생되는 이벤트를 서비스 탐색 유저에 알리는 알림 프리미티브와, 상기 알림 프리미티브의 처리 결과를 공유 디바이스에게 전달하는 응답 프리미트브를 포함하는 것이 바람직하다. The primitive may include a request primitive receiving a request of a service search user, a confirmation primitive returning a result performed by the request primitive to a service search user, a notification primitive informing the service search user of the generated event, and the notification. It is preferred to include a response primitive that conveys the processing result of the primitive to the shared device.

여기서, 상기 위치정보 엔진은 상기 메시지 프로세서가 주변 디바이스들과의 메시지를 송수신하는 과정에서 상기 인터렉션 어뎁터에 의해 제공되는 무선 신호의 강도를 이용하여 디바이스간의 상대적인 거리 정보를 제공하는 것이 바람직하다. Here, the location information engine preferably provides relative distance information between devices by using the strength of a wireless signal provided by the interaction adapter in the process of the message processor transmitting and receiving messages with surrounding devices.

또한, 상기의 목적을 달성하기 위하여 본 발명에 따른 무선 센서네트워크를 이용한 공유 리소스 탐색 방법은, 상위 레이어로부터 주변의 공유 리소스 서비스를 요청받는 단계와; 상기 상위 레이어의 탐색 모드 파라미터값을 확인한 후, 확인된 해당 탐색 모드로 전환하는 단계와; 상기 해당 탐색 모드를 이용하여 주변 디바이스를 탐색하는 단계와; 상기 탐색된 주변 디바이스의 공유 리소스 정보를 검색하는 단계와; 상기 검색된 공유 리소스 정보를 취득하는 단계를 포함하는 점에 그 특징이 있다. In addition, in order to achieve the above object, a method of searching for shared resources using a wireless sensor network according to the present invention includes: receiving a request for a shared resource service from a higher layer; Checking a search mode parameter value of the upper layer and then switching to the identified search mode; Searching for a peripheral device using the corresponding search mode; Retrieving shared resource information of the discovered peripheral device; It is characterized in that it comprises the step of acquiring the retrieved shared resource information.

여기서, 상기 상위 레이어의 탐색 모드 파라미터값에 따라 디렉토리 모드 또는 피어 투 피어(Peer-to-Peer) 모드로 전환하고, 상기 디렉토리 모드는 주변의 공유 디바이스들이 제공하는 공유 리소스 서비스에 대한 메타 정보를 디렉토리 노드에 수집하여 제공하며, 상기 피어-투-피어 모드는 주변의 공유 디바이스들이 제공 하는 공유 리소스 서비스에 대한 메타 정보를 직접 해당 디바이스에게 제공하는 것이 바람직하다. Herein, the mode is switched to a directory mode or a peer-to-peer mode according to the search mode parameter value of the upper layer, and the directory mode stores meta information on shared resource services provided by neighboring shared devices. Collected and provided to the node, the peer-to-peer mode preferably provides the meta-information on the shared resource service provided by neighboring shared devices directly to the corresponding device.

또한, 상기의 목적을 달성하기 위하여 본 발명에 따른 무선 센서네트워크를 이용한 공유 리소스 등록방법은, 상위 레이어가 등록 서비스 프리미티브를 발생시키는 단계와; 서비스 탐색 엔진이 상기 발생된 프리미티브를 수신하여 지정된 파라미터값에 따라 주변 디바이스의 공유 서비스 정보를 등록하는 단계를 포함하고, 상기 공유 서비스 정보를 등록하는 단계에서, 상기 지정된 파라미터값에 따라 디렉토리 모드의 경우 디렉토리에 공유 서비스를 등록하고, 피어-투-피어 모드의 경우 주변의 피어 노드에 공유 서비스 정보를 전송하는 점에 그 특징이 있다. In addition, the shared resource registration method using the wireless sensor network according to the present invention to achieve the above object, the step of generating a registration service primitive by the upper layer; Receiving, by the service search engine, the generated primitive and registering shared service information of a peripheral device according to a designated parameter value; and registering the shared service information in the directory mode according to the designated parameter value. The feature is that a shared service is registered in a directory, and in the peer-to-peer mode, shared service information is transmitted to neighboring peer nodes.

여기서, 상기 공유 서비스 정보를 등록하는 단계 이후, 상기 공유 서비스 정보를 수정하거나 변경된 내용을 갱신하는 단계를 더 포함하는 것이 바람직하다. In this case, after registering the shared service information, the method may further include modifying the shared service information or updating the changed contents.

본 발명의 무선 센서네트워크를 이용한 공유 리소스 탐색 시스템, 그 탐색 방법 및 등록 방법은, 무선 센서네트워크를 이용하여 주변의 공유 리소스를 탐색함으로써 정보 및 서비스를 제공받을 수 있다. The shared resource searching system, the searching method, and the registering method using the wireless sensor network of the present invention can be provided with information and services by searching for shared resources around the wireless sensor network.

또한, 본 발명은 주변의 공유정보를 취득하는 과정에서 얻어진 무선 신호 강도 기반의 상대적 거리 측정 방법을 이용하여 취득된 공유정보 사용의 적절성 판단에 필요한 상대적 거리 정보를 얻을 수 있다. In addition, the present invention can obtain the relative distance information necessary for determining the appropriateness of the use of the shared information obtained by using the relative distance measurement method based on the wireless signal strength obtained in the process of acquiring the surrounding shared information.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 상세히 설명하기로 한다. 이하의 실시예는 이 기술 분야에서 통상적인 지식을 가진 자에게 본 발명이 충분히 이해되도록 제공되는 것으로서, 여러 가지 형태로 변형될 수 있으며, 본 발`명의 범위가 다음에 기술되는 실시예에 한정되는 것은 아니다. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. The following embodiments are provided to those skilled in the art to fully understand the present invention, and may be modified in various forms, and the scope of the present invention is limited to the embodiments described below. It is not.

제1도는 본 발명의 무선 센서네트워크를 이용한 공유 리소스 탐색 시스템의 구조를 개략적으로 도시한 도면이다. 도 1에 도시된 바와 같이, 공유 리소스 탐색 시스템은, 공유 리소스 데이터 서비스를 요청하는 서비스 탐색 유저(110)와; 상기 서비스 탐색 유저(110)에서 요청된 공유 리소스 데이터 서비스를 공유된 주변 리소스 디바이스에서 검색하여 해당 결과를 제공하는 서비스 탐색 엔진(120)과; 상기 서비스 탐색 엔진(120)에서 검색된 결과를 공유된 주변 디바이스에 송수신하는 인터렉션 어뎁터(130)를 포함한다. 1 is a diagram schematically illustrating a structure of a shared resource discovery system using a wireless sensor network of the present invention. As shown in FIG. 1, the shared resource search system includes a service search user 110 requesting a shared resource data service; A service search engine (120) for searching the shared resource data service requested by the service search user (110) in a shared peripheral resource device and providing a corresponding result; The interaction adapter 130 transmits / receives a result searched by the service search engine 120 to a shared peripheral device.

서비스 탐색 유저(110)는 상위 레이어 또는 다른 컴포넌트들로 구성된 것으로 무선 센서네트워크에 공유된 디바이스들에 대해 공유 리소스 서비스를 요청한다. The service discovery user 110 requests a shared resource service for devices shared in a wireless sensor network, which is composed of a higher layer or other components.

서비스 탐색 엔진(Service Discovery Engine Interface)(120)은 서비스 탐색 유저에서 요청된 공유 리소스 서비스를 제공하는 프리미티브(primitive)(121,122,123,124)와, 상기 요청된 공유 리소스 서비스의 정보에 관한 메시지 수신 및 송신을 수행하는 메시지 프로세서(Message processor)(125)와, 상기 공유된 주변 리소스 디바이스 정보를 관리하는 주변 정보 관리부(Neighbor Manager)(126)와, 상기 공유 리소스 데이터 서비스를 제공하는 주변 디바이스와의 거리 측정을 파악하여 위치 정보를 제공하는 위치정보 엔진(Localization Engine)(127)을 포함하여 구성된다. The service discovery engine 120 performs primitives 121, 122, 123, and 124 for providing a shared resource service requested by a service discovery user, and receives and transmits a message regarding information on the requested shared resource service. Determine a distance measurement between a message processor 125, a neighbor manager 126 managing the shared peripheral resource device information, and a peripheral device providing the shared resource data service It is configured to include a location information engine (Localization Engine) 127 for providing location information.

프리미티브(primitive)(121,122,123,124)는 서비스 탐색 유저(110)인 상위 레이어 또는 다른 컴포넌트와 인터페이스를 하기 위한 것으로 서비스 탐색 유저(110)의 요청을 받아 기능을 수행하는 요청 프리미티브(Request primitives)(121)와, 상기 요청 프리미티브(121)에서 수행한 결과를 서비스 탐색 유저에게 반환하는 확인 프리미티브(Confirm primitives)(122)와, 메시지 수신과 같이 발생되는 이벤트를 서비스 탐색 유저에 알리는 알림 프리미티브(Indication primitive)(123)와, 상기 알림 프리미티브(123)의 처리 결과를 상대 공유 디바이스에게 전달하는 응답 프리미티브(Response primitive)(124)를 포함하여 구성된다. The primitives 121, 122, 123, and 124 are for interfacing with a higher layer or another component that is the service discovery user 110, and request primitives 121 for performing functions by receiving the request of the service discovery user 110. Confirm primitives 122 for returning the result performed by the request primitive 121 to the service discovery user, and an indication primitive 123 for notifying the service discovery user of an event generated such as receiving a message. ) And a response primitive 124 for transmitting the processing result of the notification primitive 123 to the counterpart sharing device.

메시지 프로세서(Message processor)(125)는 프리미티브 호출을 통한 서비스 검색 유저의 요청을 서비스 탐색 메시지(Service Discovery Message)로 변환하여 인터렉션 어뎁터(Interaction Adapter)(130)를 통해 주변의 디바이스에게 전달하고 전달받은 서비스 탐색 메시지(Service Discovery Message)를 해석하여 적절한 알림 프리미티브를 호출하는 역할을 수행한다. The message processor 125 converts a request of a service discovery user through a primitive call into a service discovery message, and then delivers the received message to an adjacent device through the interaction adapter 130. It interprets the Service Discovery Message and invokes the appropriate notification primitive.

주변 정보 관리부(Neighbor Manager)(126)는 주변의 디바이스들에 대한 ID, U-MO ID, Operation Mode(Directory mode 또는 Peer-to-peer mode), 상태, 네트워크 주소(Network address)와 같은 정보를 관리한다. The neighbor manager 126 provides information such as ID, U-MO ID, Operation Mode (Directory mode or Peer-to-peer mode), status, and network address of peripheral devices. Manage.

위치정보 엔진(Localization Engine)(127)은 공유 리소스 사용의 상황인지 기능에 기본적인 데이터로 사용되는 디바이스 간의 위치정보를 계산하는 기능을 수행한다. 또한, 상기 메시지 프로세서가 주변 디바이스들과의 메시지를 송수신하는 과정에서 상기 인터렉션 어뎁터(130)에 의해 제공되는 무선 신호의 강도(RSSI)를 이용하여 디바이스간의 상대적인 거리 정보를 서비스 탐색 유저에 제공하는 것이 바람직하다. The location information engine (Localization Engine) 127 calculates location information between devices used as basic data for the situational awareness function of shared resource use. In addition, in the process of the message processor transmitting and receiving messages with the peripheral devices, providing the relative distance information between the devices to the service discovery user by using the strength (RSSI) of the radio signal provided by the interaction adapter 130. desirable.

한편, 위치정보 엔진(127)의 신호강도 기반의 상대적 위치 인식을 통한 상황 인지는 주변의 공유정보를 취득하는 과정에서 얻어진 무선 센서네트워크 통신 신호를 이용하여 계산되는 상대적 거리 측정 방법을 이용하여 취득된 공유정보 사용의 적절성 판단에 필요한 상대적 거리 정보를 제공한다. 이러한 위치 인식을 이용하면 다수의 취득된 공유정보 중 사용자의 요구에 부합하는 최선의 판단을 내릴 수 있다. In the meantime, the situation recognition through the relative position recognition based on the signal strength of the location information engine 127 is obtained by using a relative distance measuring method calculated using a wireless sensor network communication signal obtained in the process of acquiring neighboring shared information. It provides the relative distance information necessary for determining the adequacy of the use of shared information. This location recognition allows the best judgment to meet the needs of the user among a plurality of acquired shared information.

보다 상세하게는, IEEE 802.15.4를 사용하여 구성된 무선 센서네트워크는 PHY 레이어에서 MAC 레이어에 전달되는 PD-DATA.indication에 의해 얻어진 LQI(Link Quality Indication)을 사용한다. 이 값은 0x00에서 0xff 까지의 값을 가지며 취득된 값은 서비스 탐색 엔진의 상위 레이어가 사용하도록 전달된다. 따라서 상위 레이어는 자신과 상대 노드와의 상대적 거리를 얻을 수 있고 이를 이용하면 복수 개의 얻어진 공유리소스와의 거리 정보를 이용하여 적합한 공유 리소스를 선택할 수 있다.More specifically, a wireless sensor network configured using IEEE 802.15.4 uses Link Quality Indication (LQI) obtained by PD-DATA.indication delivered from the PHY layer to the MAC layer. This value has a value from 0x00 to 0xff and the obtained value is delivered for use by higher layers of the service search engine. Therefore, the upper layer can obtain the relative distance between itself and the counterpart node, and can use this to select a suitable shared resource using the distance information between the plurality of obtained shared resources.

또한, 제2도는 본 발명에 따른 무선 센서네트워크를 이용한 공유 리소스 탐색 방법에 관한 순서도이다. 먼저, 상위 레이어에 의해 주변의 공유 리소스 서비스를 요청하는 단계를 수행한다(S201). 보다 상세하게는, 공유 리소스를 사용하기를 원하는 디바이스 또는 자신의 리소스를 다른 디바이스에 공유하고 싶은 디바이스는 DE-START-SERVICE 프리미티브를 이용하여 서비스를 시작한다. 이러한 프리미티브는 디바이스가 서비스 공유를 위한 동작 모드, 역할 등을 지정하기 위해 상위 레이어 가 발생시킨다. 2 is a flowchart illustrating a method for searching for shared resources using a wireless sensor network according to the present invention. First, a step of requesting a shared resource service around by a higher layer is performed (S201). More specifically, a device that wants to use a shared resource or a device that wants to share its resource to another device starts a service using a DE-START-SERVICE primitive. These primitives are generated by higher layers for the device to specify the mode of operation, role, etc. for service sharing.

이어서, 상기 상위 레이어의 탐색 모드 파라미터값을 확인한 후, 확인된 해당 탐색 모드로 전환하는 단계를 수행한다(S202). 보다 상세하게는, 상위 레이어에 의해 DE-START-SERVICE.request 프리미티브가 호출되면 서비스 탐색 엔진(120)은 먼저 모드 파라미터(Mode parameter)를 확인한다. 예를 들어, 모드 파라미터의 값이 0x00인 경우 DEIB(Discovery Engine Information Base)의 deServiceDiscoveryMode값을 0x00으로 설정 후 StartAsDirectory 파라미터의 값에 따라 디바이스가 디렉토리 모드로 결정하며, 모드 파리미터 값이 0x01인 경우 DEIB의 deServiceDiscoveryMode의 값을 0x01로 설정한 후 주변의 피어 노드(Peer node)를 검색하기 위한 피어-투-피어 모드로 결정한다. Subsequently, after checking the search mode parameter value of the upper layer, a step of switching to the identified search mode is performed (S202). More specifically, when the DE-START-SERVICE.request primitive is called by the upper layer, the service search engine 120 first checks a mode parameter. For example, if the value of the mode parameter is 0x00, the deServiceDiscoveryMode value of the Discovery Engine Information Base (DEIB) is set to 0x00, and then the device is determined to be the directory mode according to the value of the StartAsDirectory parameter, and if the mode parameter value is 0x01, After setting the value of deServiceDiscoveryMode to 0x01, it determines the peer-to-peer mode to search for peer nodes around.

제3도는 본 발명에 따른 무선 센서네트워크를 이용한 공유 리소스 탐색 모드를 도시한 도면이다. 도 3에 도시된 바와 같이, 상기 디렉토리 모드(Directory mode)는 주변의 공유 디바이스들이 제공하는 다양한 공유 서비스에 대한 메타 정보(meta information)를 수집하여 공유 서비스 검색 요청에 따른 검색 결과를 반환하는 역할을 수행하는 디렉토리 노드(directory node)를 사용하여 서비스를 제공하는 방법이다. 즉, 주변의 공유 리소스를 사용하려는 디바이스는 다른 디바이스가 제공하는 공유 서비스를 이용하기 위하여 자신의 주변에 존재하는 디렉토리 노드(directory node)를 검색하고, 검색된 디렉토리로부터 이용 가능한 공유 서비스 목록을 검색한다. 사용을 원하는 서비스를 발견한 경우 해당 공유 서비스를 제공하는 디바이스의 정보를 취득하고 그 정보를 이용하여 해당 디바이스와 통신을 통해 서비스를 이용할 수 있다. 3 is a diagram illustrating a shared resource discovery mode using a wireless sensor network according to the present invention. As illustrated in FIG. 3, the directory mode collects meta information of various shared services provided by neighboring shared devices and returns a search result according to a shared service search request. It is a method of providing a service by using a directory node to be executed. That is, a device that wants to use a shared resource around the device searches for a directory node existing in its vicinity to use a shared service provided by another device, and retrieves a list of available shared services from the searched directory. When the service is found to be used, information on a device providing the shared service may be acquired and the service may be used through communication with the device using the information.

이러한 방법은 서비스를 이용하려는 새로운 디바이스가 공유 리소스를 사용하기 위해 접근했을 때 신속하게 주변에 있는 무선센서네트워크를 통해 공유 리소스를 검색할 수 있는 방법을 제공하여 각 공유 리소스를 찾는데 들어가는 시간 및 에너지 소비를 줄일 수 있다. This method provides a way to quickly discover shared resources through a wireless sensor network in the vicinity when a new device that wants to use the service approaches to use the shared resources, thus consuming time and energy to find each shared resource. Can be reduced.

상기 피어-투-피어 모드(Peer-to-peer mode)의 주변에 존재하는 모든 디바이스들은 각각 주위의 디바이스들이 제공할 수 있는 서비스들에 대한 메타 정보(meta-information)를 요청할 수 있으며, 요청을 수신한 디바이스들은 이 요청에 대해 자신이 제공 가능한 모든 공유 서비스들에 대한 메타-정보(meta-information)을 제공한다. 이때, 피어-투-피어 모드(Peer-to-peer mode)는 디렉토리 모드와 달리 디렉토리의 역할을 수행하는 노드가 없다. 이러한 방법은 임시적인 시간 및 공간에서 구성되는 서비스 환경에서 디렉토리에 의한 공유 리소스 네트워크를 구성없이 바로 다른 디바이스가 제공하는 공유 리소스를 검색하고 사용할 수 있게 된다. All devices in the periphery of the peer-to-peer mode may request meta-information about services that each of the devices that the neighboring devices can provide, and request the request. Received devices provide meta-information for all shared services that they can provide for this request. In this case, unlike the directory mode, the peer-to-peer mode does not have a node that serves as a directory. In this way, in a service environment configured in a temporary time and space, it is possible to search and use shared resources provided by other devices directly without configuring a shared resource network by a directory.

그리고, 상기 해당 탐색 모드를 이용하여 주변 디바이스를 탐색하는 단계를 수행한다(S203). 즉, 공유 리소스 탐색 모드의 결정에 따라 디렉토리 모드(Directory Mode) 또는 피어-투-피어 모드(Peer-to-peer Mode)로 탐색하게 된다. In operation S203, a peripheral device is searched using the corresponding discovery mode. That is, the search is performed in the directory mode or the peer-to-peer mode according to the determination of the shared resource search mode.

보다 상세하게는, 디렉토리 모드일 경우, StartAsDirectory 파라미터의 값이아니면(False), 프리미티브를 수신한 경우 해당 디바이스가 디렉토리로 동작하지 못하는 경우 서비스 탐색 엔진(120)은 상태 파라미터의 값을 INVALID_REQUEST로 하는 DE-START-SERVICE.confirm 프리미티브를 발송한 후 처리를 종료한다. More specifically, in the directory mode, if the value of the StartAsDirectory parameter is not (False), the service search engine 120 sets the value of the status parameter to INVALID_REQUEST when the device does not operate as a directory when a primitive is received. -Ends processing after sending a START-SERVICE.confirm primitive.

디바이스가 디렉토리 모드로 동작하도록 하기 위해 서비스 탐색 엔진(120)은 DEIB의 deIsDirectory의 값을 트루(TRUE)로 설정하고 주위의 디바이스들에게 새로운 디렉토리가 존재함을 알리기 위해 자신의 ID를 포함하는 DE-DIRECTORY-ADV 메시지를 전송한다.In order for the device to operate in directory mode, the service discovery engine 120 sets the value of DEIsDirectory of the DEIB to TRUE and includes a DE- containing its ID to inform neighboring devices that a new directory exists. Send a DIRECTORY-ADV message.

또한, 피어-투-피어 모드일 경우, 피어 노드(Peer node)를 검색하는 과정은 UssId 파라미터를 포함하는 DEM-PEER-REQUEST 메시지를 전송하고, ScanDuration 파라미터에 지정된 시간 동안 DEM-PEER-RESPONSE 메시지의 응답을 기다린다. UssId 파라미터의 값이 NULL인 경우 주변의 모든 피어 노드를 검색하며 NULL이 아닌 경우 동일한 UssId를 가지는 피어 노드만을 검색한다. DEM-PEER-RESPONSE 메시지를 수신하면 서비스 검색 엔진은 수신된 메시지 정보를 이용하여 DEIB의 deNeighborList에 해당 피어 노드 정보를 추가하고 검색 시간이 종료되거나 DEIB의 deNeighborList에 추가된 피어 노드 정보의 개수가 DEC_NEIGHBOR_LIST_SIZE와 같으면 검색 과정이 종료된다. Also, in peer-to-peer mode, searching for a peer node sends a DEM-PEER-REQUEST message including the UssId parameter, and sends a DEM-PEER-RESPONSE message for the time specified in the ScanDuration parameter. Wait for a response. If the value of the UssId parameter is NULL, all neighboring peer nodes are searched. If not, only peer nodes with the same UssId are searched. When the DEM-PEER-RESPONSE message is received, the service search engine adds the corresponding peer node information to the DENeighborList of the DEIB using the received message information, and the number of peer node information added to the deNeighborList of the DEB ends with DEC_NEIGHBOR_LIST_SIZE. If so, the search process ends.

상기 피어 노드 검색 과정이 종료되면 서비스 탐색 엔진(120)은 DE-START-SERVICE.comfirm 프리미티브를 발생하며, 이때 상태 파라미터의 값은 deNeighborList에 저장된 피어 노드 정보의 개수가 0인 경우 NO_PEER_NODE로, 하나 이상인 경우 START_AS_PEER_NODE로 설정하며 UssIdList 파라미터의 값은 deNeighborList로부터 검색된 모든 UssId 목록으로 설정한다. When the peer node search process is completed, the service discovery engine 120 issues a DE-START-SERVICE.comfirm primitive. The value of the status parameter is NO_PEER_NODE when the number of peer node information stored in deNeighborList is 0. In this case, set START_AS_PEER_NODE and set the value of the UssIdList parameter to the list of all UssIds retrieved from deNeighborList.

그 다음, 상기 탐색된 주변 디바이스의 공유 리소스 정보를 검색하는 단계를 수행한다(S204). 보다 상세하게는, 디바이스가 주변에 있는 디바이스의 공유 서비 스를 이용하기 위해 디렉토리에 등록된 공유 서비스 정보를 검색하거나 주변의 피어 노드들이 제공하는 공유 서비스 정보를 검색하는 방법은 DE-SEARCH-SERVICE 프리미티브들을 사용한다. 이러한 프리미티브들은 디바이스가 디렉토리 모드에서 주변의 디렉토리들에 등록된 공유 서비스 정보를 검색하거나 피어-투-피어 모드에서 주변의 피어 노드들이 제공하는 공유 서비스 정보를 검색하고자 할 때 상위 레이어가 발생시킨다. Thereafter, searching for shared resource information of the discovered peripheral device is performed (S204). More specifically, a method for retrieving shared service information registered in a directory or retrieving shared service information provided by neighboring peer nodes in order to use a shared service of a nearby device is a DE-SEARCH-SERVICE primitive. Use them. These primitives are generated by higher layers when a device attempts to retrieve shared service information registered in surrounding directories in directory mode or to retrieve shared service information provided by neighboring peer nodes in peer-to-peer mode.

상기 프리미티브를 수신하면 서비스 탐색 엔진(120)은 지정된 UssId 파라미터 값에 따라 주변의 디바이스들이 제공하는 공유 서비스를 검색할 수 있다. 여기서, UssId 파라미터는 공유 서비스를 검색할 USS의 식별자를 지정한다. Upon receiving the primitive, the service search engine 120 may search for a shared service provided by nearby devices according to a designated UssId parameter value. Here, the UssId parameter specifies an identifier of a USS to search for a shared service.

먼저, 상위 레이어에 의해 DE-SEARCH-SERVICE.request 프리미티브가 호출되면 서비스 탐색 엔진은 먼저 DEIB의 deServiceDiscoveryMode를 참조하여 P2P_MODE인 경우 deNeighborTable에 존재하는 모든 Peer node들에 대해 DEM-SERVICE-REQUEST 메시지를 전송하고, deWaitResponseTime동안 서비스 검색 요청에 대한 결과를 기다린다. First, when the DE-SEARCH-SERVICE.request primitive is called by the upper layer, the service discovery engine first sends a DEM-SERVICE-REQUEST message for all peer nodes in the deNeighborTable in the case of P2P_MODE by referring to the deServiceDiscoveryMode of DEIB. , wait for the result of the service search request for deWaitResponseTime.

상기 서비스 검색 결과 메시지를 수신하면 수신된 검색 결과 메시지로부터 대상 디바이스의 공유 서비스에 대한 메타 정보를 추출하여 ServiceMetaInfoList에 추가한다. 그리고, deWaitResponseTime이 만료된 후 수신한 검색 결과 메시지가 존재하지 않는 경우에는 상태 파라미터의 값을 NO_PEER_NODE로 하는 DE-SEARCH-SERVICE.confirm을 발생하고, 그렇지 않은 경우에는 상태 파라미터의 값을 성공으로 하는 DE-SEARCH-SERVICE.confirm을 발생하고 프로세스를 종료한다. When the service search result message is received, the meta information of the shared service of the target device is extracted from the received search result message and added to the ServiceMetaInfoList. If there is no search result message received after deWaitResponseTime expires, DE-SEARCH-SERVICE.confirm with the status parameter NO_PEER_NODE is issued. Otherwise, DE with the status parameter success Generate SEARCH-SERVICE.confirm and terminate the process.

이때, 상기 DEIB의 deServiceDiscoveryMode의 값이 디렉토리 모드인 경우 DEIB의 deNeighborTable에 저장된 디렉토리 정보가 존재하지 않으면 상태 파라미터의 값을 NO_DIRECTORY로 하는 DE-SEARCH-SERVICE.confirm을 발생하고 프로세스를 종료한다. At this time, when the value of the deServiceDiscoveryMode of the DEIB is the directory mode, if there is no directory information stored in the deNeighborTable of the DEIB, a DE-SEARCH-SERVICE.confirm with the status parameter value NO_DIRECTORY is generated and the process ends.

한편, deNeighborTable에 하나 이상의 디렉토리 정보가 저장되어 있으면 서비스 탐색 엔진은 상위 레이터에서 주어진 UssId와 일치하는 각각의 디렉토리들에게 DEM-SEARCH-REQUEST 메시지를 전송하며, 만약 상위 레이터가 특정한 UssId를 정의하지 않으면 저장된 모든 디렉토리에 검색 요청 메시지를 전송한다. On the other hand, if one or more directory information is stored in deNeighborTable, the service search engine sends a DEM-SEARCH-REQUEST message to each directory that matches the UssId given by the host, and if the host does not define a specific UssId, Send search request messages to all directories.

그리고, 메시지 전송 후 deWaitResponseTime동안 서비스 검색에 대한 결과를 기다린다. deWaitResponseTime이 만료되거나 서비스 검색 실패 메시지를 수신하면 해당 디렉토리 정보를 deNeighborTable에서 삭제한다. After sending the message, it waits for the service search result for deWaitResponseTime. When deWaitResponseTime expires or receives a service search failure message, the directory information is deleted from deNeighborTable.

여기서, 서비스 검색 결과 메시지를 수신하면 수신된 내용을 deNeighborList에 추가하고 검색 결과 메시지로부터 대상 디바이스의 공유 서비스에 대한 메타-ㅈ정보를 추출하여 ServiceMetaInfoList에 추가한다. 원하는 모든 디렉토리에 검색 절차를 수행한 후 등록 성공 여부를 판단하여 하나도 성공하지 못한 경우에는 상태 파라미터의 값을 NO_DIRECTORY로 하는 DE-SEARCH-SERVICE.confirm을 발생하고 그렇지 않은 경우에는 상태 파라미터의 값을 성공으로 하는 DE-SEARCH-SERVICE.confirm을 발생한 후 프로세스를 종료한다. Here, when the service search result message is received, the received content is added to the deNeighborList, and the meta- information about the shared service of the target device is extracted from the search result message and added to the ServiceMetaInfoList. After performing the search procedure on all desired directories, it is determined whether the registration is successful and if none is successful, DE-SEARCH-SERVICE.confirm with the status parameter NO_DIRECTORY is issued. Otherwise, the status parameter is successful. After DE-SEARCH-SERVICE.confirm occurs, terminate the process.

그리고, 상기 검색된 공유 리소스 정보를 취득하는 단계를 수행한다(S205). 즉, 해당 디바이스가 주변에 있는 디바이스의 공유 서비스를 이용하기 위해 공유 서비스에 대한 상세 정보를 획득하는 방법은 DE-GET-SERVICE 프리미티브들을 사용한다. 이러한 프리미티브는 디바이스가 DE-SEARCH-SERVICE 프리미티브를 이용하여 수집된 메타 정보를 바탕으로 디바이스가 사용하고자 하는 공유 서비스에 대한 상세 정보를 획득하기 위해 상위 레이어가 발생시킨다. In operation S205, the acquired shared resource information is acquired. That is, the method for obtaining detailed information on the shared service in order for the corresponding device to use the shared service of the neighboring device uses DE-GET-SERVICE primitives. These primitives are generated by higher layers to obtain detailed information about the shared service that the device intends to use based on the meta information collected by the device using the DE-SEARCH-SERVICE primitive.

보다 상세하게는, 상기 프리미티브를 수신하면 서비스 탐색 엔진은 지정된 UmoId 파라미터에 해당하는 디바이스의 공유 서비스에 대한 상세 정보를 조회하기 위해 QueryString 파라미터를 전송한다. 여기서, UmoId 파라미터는 공유 서비스 상세 정보를 조회할 디바이스의 식별자를 지정한다. QueryString 파라미터는 공유 서비스 상세 정보를 조회하기 위한 쿼리(query)를 지정한다. 이때, QueryString이 NULL인 경우 모든 공유 서비스에 대한 상세 정보를 조회한다. More specifically, upon receiving the primitive, the service search engine transmits a QueryString parameter to inquire detailed information about the shared service of the device corresponding to the designated UmoId parameter. Here, the UmoId parameter designates an identifier of a device to search for shared service detailed information. QueryString parameter specifies a query for querying shared service details. At this time, when QueryString is NULL, detailed information about all shared services is retrieved.

그리고, 상위 레이어에 의해 DE-GET-SERVICE.request 프리미티브가 호출되면 서비스 탐색 엔진은 먼저 UmoId 파라미터로부터 조회 대상 디바이스의 주소를 찾아 해당 디바이스에게 get service 메시지를 전송한다. 여기서, Get service 메시지는 자신의 USS ID, 디바이스 ID, QueryString을 포함한다. When the DE-GET-SERVICE.request primitive is called by the upper layer, the service search engine first finds the address of the device to be searched from the UmoId parameter and transmits a get service message to the corresponding device. Here, the Get service message includes its USS ID, device ID, and QueryString.

그 다음, 서비스 탐색 엔진(120)은 메시지를 전송하고 deWaitResponseTime동안 서비스 조회 요청에 대한 결과를 기다린다. 이때, 서비스 조회 결과 메시지를 수신하면 수신된 검색 결과 메시지로부터 대상 디바이스의 공유 서비스에 대한 서비스 ㅈ정보를 추출한다. The service search engine 120 then sends a message and waits for the result of the service inquiry request for deWaitResponseTime. At this time, when the service inquiry result message is received, service information on the shared service of the target device is extracted from the received search result message.

한편, deWaitResponseTime이 만료된 후 수신한 검색결과 메시지가 존재하지 않는 경우에는 상태 파라미터의 값을 실패로 하는 DE-GET-SERVICE.confirm을 발생 하고 그렇지 않은 경우에는 상태 파라미터의 값을 성공으로, ServiceInfo 파라미터의 값을 추출된 서비스 정보로 하는 DE-GET-SERVICE.confirm을 발생하고 프로세스를 종료한다. On the other hand, if there is no search result message received after the expiration of deWaitResponseTime, DE-GET-SERVICE.confirm that fails the value of the status parameter occurs. Otherwise, the status parameter value is successful and the ServiceInfo parameter Generates DE-GET-SERVICE.confirm with the value of extracted service information and terminates the process.

또한, 제4도는 본 발명의 무선 센서네트워크를 이용한 공유 리소스 등록방법에 대한 순서도이다. 도 4에 도시된 바와 같이, 먼저 상위 레이어에 의해 등록 서비스 프리미티브를 발생하는 단계를 수행한다(S401). 4 is a flowchart illustrating a method for registering a shared resource using the wireless sensor network of the present invention. As shown in FIG. 4, first, a registration service primitive is generated by an upper layer (S401).

공유 서비스를 제공하기 위해 자신의 공유 서비스에 대한 정보를 디렉토리에 등록하기 위해서 DE-REGISTER-SERVICE 프리미티브가 사용된다. 이러한 프리미티브는 디바이스가 주변에 있는 디렉토리에 자신의 공유 서비스를 등록하고자 할 때 상위 레이어가 발생시킨다. To provide a shared service, the DE-REGISTER-SERVICE primitive is used to register information about its shared service in the directory. These primitives are generated by higher layers when a device tries to register its shared service in a nearby directory.

그 다음, 상기 발생된 프리미티브를 수신하여 지정된 파라미터값에 따라 주변 디바이스의 공유 서비스 정보를 등록하는 단계를 수행한다(S402). Thereafter, receiving the generated primitive and registering the shared service information of the peripheral device according to the designated parameter value (S402).

상기 프리미티브를 받으면 서비스 탐색 엔진은 지정된 파라미터 값들에 따라 주변에 있는 디바이스에게 공유 서비스를 제공하기 위해 자신의 공유 서비스에 대한 정보를 디렉토리에 등록한다. UssId 파라미터는 서비스 메타 정보를 등록할 ㄷ디렉토리의 USS 식별자를 지정한다. 특정USS ID를 가지는 디렉토리를 검색하기 위해 상위 레이어는 파라미터의 값을 명시할 수 있으며 상기 파라미터의 값이 NULL인 경우 서비스 시작과정에서 검색된 모든 디렉토리에 자신의 서비스 메타 정보를 등록한다. Upon receiving the primitive, the service search engine registers information about its shared service in the directory in order to provide a shared service to nearby devices according to specified parameter values. The UssId parameter specifies a USS identifier of a directory in which service meta information is registered. In order to search a directory having a specific USS ID, an upper layer may specify a value of a parameter. If the value of the parameter is NULL, the upper layer registers its service meta information in all directories searched in the service start process.

그리고, 상기 공유 서비스 정보를 등록하는 단계 이후, 상기 공유 서비스 정 보를 수정하거나 변경된 내용을 갱신하는 단계를 수행한다(S403). After registering the shared service information, the shared service information is corrected or the changed contents are updated (S403).

보다 바람직하게는, 디바이스가 주변에 있는 디바이스에게 공유 서비스를 제공하기 위해 디렉토리에 등록된 자신의 공유 서비스 정보를 수정하거나 변경된 내용을 주변의 피어 노드들에게 통지하는 방법은 DE-UPDATE-SERVICE 프리미티브들을 사용한다. 이러한 프리미티브는 디바이스가 디렉토리 모드에서 주변의 디렉토리들에 등록된 자신의 공유 서비스 정보를 수정하거나 피어-투-피어 모드에서 주변의 피어 노드들에게 자신의 공유 서비스 정보가 수정되었음을 알리고자 할 때 상위 레이어가 발생시킨다. More preferably, the device may modify DE-UPDATE-SERVICE primitives to modify its shared service information registered in the directory or to notify neighboring peer nodes of the change in order to provide a shared service to nearby devices. use. These primitives are higher layers when the device attempts to modify its shared service information registered in neighboring directories in directory mode or to notify neighboring peer nodes that its shared service information has been modified in peer-to-peer mode. Raises.

상기 프리미티브를 받으면 서비스 탐색 엔진은 지정된 파라미터 값들에 따라 자신의 공유 서비스의 변경 내용을 디렉토리에 전송하여 수정하거나 주위의 피어 노드들에게 변경 사실을 통보한다. Upon receiving the primitive, the service discovery engine sends modifications to its directory by modifying its shared service according to the specified parameter values or notifies neighboring peer nodes of the change.

상위 레이어에 의해 DE-UPDATE-SERVICE.request 프리미티브가 호출되면 서비스 탐색 엔진은 먼저 DEIB의 deServiceDiscoveryMode를 참조하여 0x01(피어-투-피어 모드)인 경우 DEM-SERVICE-UPDATED 메시지를 전송하여 자신의 공유 서비스 정보가 수정되었음을 주위의 피어 노드들에게 알리고 상태 파라미터의 값을 성공으로 하는 DE-UPDATE-SERVICE.confirm을 발생한 후 프로세스를 종료한다.When the DE-UPDATE-SERVICE.request primitive is invoked by the higher layer, the service discovery engine first references its deServiceDiscoveryMode and sends a DEM-SERVICE-UPDATED message if it is 0x01 (peer-to-peer mode). It informs the surrounding peer nodes that the information has been modified, and issues a DE-UPDATE-SERVICE.confirm that succeeds in the status parameter, then terminates the process.

한편, deServiceDiscoveryMode의 값이 0x00(디렉토리 모드)인 경우 DEIB의 deNeighborTable에 자신의 공유 서비스를 등록한 디렉토리 정보가 존재하지 않으면 상태 파라미터의 값을 NO_DIRECTORY로 하는 DE-UPDATE-SERVICE.confirm을 발생하고 프로세스를 종료한다.   On the other hand, if the value of deServiceDiscoveryMode is 0x00 (directory mode), if there is no directory information for registering its shared service in the DENeighborTable of DEIB, then DE-UPDATE-SERVICE.confirm with the status parameter value NO_DIRECTORY occurs and terminates the process. do.

그리고, deNeighborTable에 자신의 공유 서비스를 등록한 디렉토리 정보가 하나 이상의 존재하면 서비스 탐색 엔진은 상위 레이어에서 제공된 ServiceUpdateInfo를 해당 디렉토리들에게 전송한다. If there is more than one directory information for registering its shared service in deNeighborTable, the service search engine transmits ServiceUpdateInfo provided from the upper layer to the corresponding directories.

그 다음, 서비스 탐색 엔진은 서비스 업데이트 메시지를 해당 디렉토리에 전송하며 deWaitResponseTime동안 서비스 수정에 대한 결과를 기다린다. deWaitResponseTime이 만료되거나 서비스 수정 실패 메시지를 수신하면 해당 디렉토리 정보를 deNeighborTable에서 삭제한다. 원하는 모든 디렉토리에 수정 절차를 수행한 후 수정 성공 여부를 판단하여 하나도 성공하지 못한 경우에는 상태 파라미터의 값을 NO_DIRECTORY로 하는 DE-UPDATE-SERVICE.confirm을 발생하고 그렇지 않은 경우에는 상태 파라미터의 값을 성공으로 하는 DE-UPDATE-SERVICE.confirm을 발생하고 프로세스를 종료한다. The service discovery engine then sends a service update message to that directory and waits for the result of the service modification during deWaitResponseTime. When deWaitResponseTime expires or receives a service modification failure message, the directory information is deleted from deNeighborTable. After performing the modification procedure on all desired directories, it is determined whether the modification was successful. If none is successful, DE-UPDATE-SERVICE.confirm with the status parameter NO_DIRECTORY is issued. Otherwise, the status parameter is successful. Generates DE-UPDATE-SERVICE.confirm and terminates the process.

이상에서와 같이 상세한 설명과 도면을 통해 본 발명의 실시 예를 개시하였다. 용어들은 단지 본 발명을 설명하기 위한 목적에서 사용된 것이지 의미 한정이나 특허청구범위에 기재된 본 발명의 범위를 제한하기 위하여 사용된 것은 아니다. 그러므로 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시 예가 가능하다는 점을 이해할 것이다. 따라서 본 발명의 진정한 기술적 보호 범위는 첨부된 특허청구범위의 기술적 사상에 의해 정해져야 할 것이다. As described above, an embodiment of the present invention has been disclosed through the detailed description and the drawings. The terms are used only for the purpose of describing the present invention and are not used to limit the scope of the present invention as defined in the meaning or claims. Therefore, those skilled in the art will understand that various modifications and equivalent other embodiments are possible. Therefore, the true technical protection scope of the present invention will be defined by the technical spirit of the appended claims.

제1도는 본 발명의 무선 센서네트워크를 이용한 공유 리소스 탐색 시스템의 구조를 개략적으로 도시한 도면.1 is a diagram schematically illustrating a structure of a shared resource discovery system using a wireless sensor network of the present invention.

제2도는 본 발명에 따른 무선 센서네트워크를 이용한 공유 리소스 탐색 방법에 관한 순서도.2 is a flowchart illustrating a method for searching for shared resources using a wireless sensor network according to the present invention.

제3도는 본 발명에 따른 무선 센서네트워크를 이용한 공유 리소스 탐색 모드를 도시한 도면.3 is a diagram illustrating a shared resource discovery mode using a wireless sensor network according to the present invention.

제4도는 본 발명의 무선 센서네트워크를 이용한 공유 리소스 등록방법에 대한 순서도. 4 is a flowchart illustrating a method for registering a shared resource using the wireless sensor network of the present invention.

<도면의 주요부분에 대한 부호의 설명><Description of the symbols for the main parts of the drawings>

110 --- 서비스 탐색 유저110 --- service navigation user

120 --- 서비스 탐색 엔진120 --- Service Search Engine

125 --- 메시지 프로세서125 --- message processor

126 --- 주변정보 관리부126 --- Peripheral Information Management Department

127 --- 위치정보 엔진127 --- Geolocation Engine

130 --- 인터렉션 어뎁터130 --- interaction adapter

Claims (21)

공유 리소스 데이터 서비스를 요청하는 서비스 탐색 유저와; A service search user for requesting a shared resource data service; 상기 서비스 탐색 유저에서 요청된 공유 리소스 데이터 서비스를 공유된 주변 리소스 디바이스에서 검색하여 해당 결과를 제공하는 서비스 탐색 엔진과; A service search engine searching for a shared resource data service requested by the service search user in a shared peripheral resource device and providing a corresponding result; 상기 서비스 탐색 엔진에서 검색된 결과를 공유된 주변 디바이스에 송수신하는 인터렉션 어뎁터를 포함하고,An interaction adapter for transmitting and receiving the results retrieved from the service search engine to a shared peripheral device, 상기 서비스 탐색 엔진은,The service search engine, 상기 서비스 탐색 유저에서 요청된 공유 리소스 서비스를 제공하는 프리미티브와; A primitive for providing a shared resource service requested by the service search user; 상기 요청된 공유 리소스 서비스의 정보에 관한 메시지 수신 및 송신을 수행하는 메시지 프로세서와; A message processor that performs message reception and transmission on information of the requested shared resource service; 상기 공유된 주변 리소스 디바이스 정보를 관리하는 주변 정보 관리부를 포함하는 것을 특징으로 하는 무선 센서네트워크를 이용한 공유 리소스 탐색 시스템.And a peripheral information manager configured to manage the shared peripheral resource device information. 제 1항에 있어서, 상기 서비스 탐색 엔진은, The method of claim 1, wherein the service search engine, 상기 공유 리소스 데이터 서비스를 제공하는 주변 디바이스와의 거리 측정을 파악하여 위치 정보를 제공하는 위치정보 엔진을 더 포함하는 것을 특징으로 하는 무선 센서네트워크를 이용한 공유 리소스 탐색 시스템. And a location information engine for providing location information by determining a distance measurement with a peripheral device providing the shared resource data service. 제 2항에 있어서, 상기 프리미티브는, 서비스 탐색 유저의 요청을 받는 요청 프리미티브와, 상기 요청 프리미티브에서 수행한 결과를 서비스 탐색 유저에게 반환하는 확인 프리미티브와, 발생되는 이벤트를 서비스 탐색 유저에 알리는 알림 프리미티브와, 상기 알림 프리미티브의 처리 결과를 공유 디바이스에게 전달하는 응답 프리미트브를 포함하는 것을 특징으로 하는 무선 센서네트워크를 이용한 공유 리소스 탐색 시스템. The method of claim 2, wherein the primitive includes: a request primitive receiving a request of a service search user, a confirmation primitive returning a result performed by the request primitive to a service search user, and a notification primitive informing the service search user of the generated event. And a response primitive for transmitting a result of processing of the notification primitive to a shared device. 제 2항에 있어서, The method of claim 2, 상기 주변 정보 관리부는 주변 디바이스들의 ID, U-MO ID, 동작 모드, 상태, 네트워크 어드레스 정보를 관리하는 것을 특징으로 하는 무선 센서네트워크를 이용한 공유 리소스 탐색 시스템. The peripheral information management unit is a shared resource search system using a wireless sensor network, characterized in that for managing the ID, U-MO ID, operation mode, status, network address information of the peripheral devices. 제 2항에 있어서, The method of claim 2, 상기 위치정보 엔진은 상기 메시지 프로세서가 주변 디바이스들과의 메시지를 송수신하는 과정에서 상기 인터렉션 어뎁터에 의해 제공되는 무선 신호의 강도를 이용하여 디바이스간의 상대적인 거리 정보를 제공하는 무선 센서네트워크를 이용한 공유 리소스 탐색 시스템. The location information engine searches for shared resources using a wireless sensor network that provides relative distance information between devices using the strength of a wireless signal provided by the interaction adapter in a process of transmitting and receiving a message with peripheral devices by the message processor. system. 제 1항에 있어서,The method of claim 1, 상기 서비스 탐색 유저는 상위 레이어 또는 다른 컴포넌트를 포함하는 인터페이스인 것을 특징으로 하는 공유 리소스 탐색 시스템.And the service discovery user is an interface including an upper layer or another component. 무선 센서네트워크를 이용한 공유 리소스 탐색 시스템의 서비스 탐색 엔진이 수행하는 방법으로서,A method of performing a service discovery engine of a shared resource discovery system using a wireless sensor network, 상위 레이어로부터 주변의 공유 리소스 서비스를 요청받는 단계와;Receiving a request for surrounding shared resource service from an upper layer; 상기 상위 레이어의 탐색 모드 파라미터값을 확인한 후, 확인된 해당 탐색 모드로 전환하는 단계와;Checking a search mode parameter value of the upper layer and then switching to the identified search mode; 상기 해당 탐색 모드를 이용하여 주변 디바이스를 탐색하는 단계와; Searching for a peripheral device using the corresponding search mode; 상기 탐색된 주변 디바이스의 공유 리소스 정보를 검색하는 단계와; Retrieving shared resource information of the discovered peripheral device; 상기 검색된 공유 리소스 정보를 취득하는 단계를 포함하는 것을 특징으로 하는 무선 센서네트워크를 이용한 공유 리소스 탐색 방법. And obtaining the retrieved shared resource information. 제 7항에 있어서, The method of claim 7, wherein 상기 상위 레이어의 탐색 모드 파라미터값에 따라 디렉토리 모드 또는 피어 투 피어(Peer-to-Peer) 모드로 전환하는 것을 특징으로 하는 무선 센서네트워크를 이용한 공유 리소스 탐색 방법. And searching for a directory mode or a peer-to-peer mode according to a search mode parameter value of the upper layer. 제 8항에 있어서, The method of claim 8, 상기 디렉토리 모드는 주변의 공유 디바이스들이 제공하는 공유 리소스 서비스에 대한 메타 정보를 디렉토리 노드에 수집하여 제공하는 것을 특징으로 하는 무선 센서네트워크를 이용한 공유 리소스 탐색 방법. The directory mode is a method of searching for shared resources using a wireless sensor network, characterized in that to collect and provide to the directory node meta information on shared resource services provided by the surrounding shared devices. 제 8항에 있어서, The method of claim 8, 상기 피어-투-피어 모드는 주변의 공유 디바이스들이 제공하는 공유 리소스 서비스에 대한 메타 정보를 직접 해당 디바이스에게 제공하는 것을 특징으로 하는 무선 센서네트워크를 이용한 공유 리소스 탐색 방법. The peer-to-peer mode is a method of searching for shared resources using a wireless sensor network, characterized in that it provides meta information on shared resource services provided by neighboring shared devices directly to the corresponding device. 제 7항에 있어서, The method of claim 7, wherein 상기 탐색 모드 파라미터값이 0x00 의 디렉토리 모드일 경우, 파라미터 값을 검색 엔진에 설정하고, 주변의 디바이스들에게 디렉토리가 존재함을 알리는 메시지를 전송하는 것을 특징으로 하는 무선 센서네트워크를 이용한 공유 리소스 탐색 방법.When the search mode parameter value is a directory mode of 0x00, a shared resource search method using a wireless sensor network, wherein the parameter value is set in a search engine and a message indicating that a directory exists is transmitted to neighboring devices. . 제 7항에 있어서, The method of claim 7, wherein 상기 탐색 모드 파라미터값이 0x01 의 피어-투-피어 모드일 경우, 파라미터 값을 검색 엔진에 설정하고, 주변의 피어 노드들을 검색하여 요청 메시지를 전송하는 것을 특징으로 하는 무선 센서네트워크를 이용한 공유 리소스 탐색 방법.When the discovery mode parameter value is a peer-to-peer mode of 0x01, the shared resource search using the wireless sensor network comprises setting a parameter value in a search engine, searching for neighboring peer nodes, and transmitting a request message. Way. 제 12항에 있어서, 상기 주변의 피어 노드의 검색은, The method of claim 12, wherein the search for the neighboring peer node, 상위 레이어 ID 파라미터를 포함한 요청 메시지를 전송하는 단계와;Transmitting a request message including a higher layer ID parameter; 상기 전송된 메시지에 대한 응답을 대기하는 단계와;Waiting for a response to the transmitted message; 상기 응답이 수신되면 검색 엔진에 피어 노드 정보를 추가하는 단계와;Adding peer node information to a search engine when the response is received; 상기 피어 노드 정보의 개수가 검색 엔진에 저장된 리스트의 개수를 비교하 여 같으면 검색을 종료하는 단계와;Terminating the search if the number of peer node information is equal by comparing the number of lists stored in a search engine; 상기 검색이 종료되면 검색 엔진은 확인 프리미티브를 발송하는 단계를 포함하는 것을 특징으로 하는 무선 센서네트워크를 이용한 공유 리소스 탐색 방법.And when the search is completed, the search engine sends a confirmation primitive. 제 7항에 있어서, 상기 탐색된 주변 디바이스의 공유 리소스 정보를 검색하는 단계는, 디렉토리 모드인 경우, 검색 엔진에 하나 이상의 디렉토리 정보가 저장되어 있으면, 상위 레이어의 유저 아이디와 일치하는 각각의 디렉토리에게 서비스 검색 요청 메시지를 전송하고, 검색 결과 메시지를 수신하여 해당 디바이스의 공유 리소스 서비스의 메타 정보를 추출하는 것을 특징으로 하는 무선 센서네트워크를 이용한 공유 리소스 탐색 방법.The method of claim 7, wherein the searching of the shared resource information of the searched peripheral device comprises: in the directory mode, if one or more directory information is stored in a search engine, the search engine searches for each directory that matches a user ID of a higher layer. A method of searching for shared resources using a wireless sensor network, comprising: transmitting a service search request message and receiving a search result message to extract meta information of a shared resource service of a corresponding device; 제 7항에 있어서, 상기 탐색된 주변 디바이스의 공유 리소스 정보를 검색하는 단계는, 피어-투-피어 모드인 경우, 검색 엔진의 주변 정보 관리 리스트에 존재하는 모든 피어 노드들에게 서비스 검색 요청 메시지를 전송하고, 검색 결과 메시지를 수신하여 해당 디바이스의 공유 서비스에 대한 메타 정보를 추출하는 것을 특징으로 하는 무선 센서네트워크를 이용한 공유 리소스 탐색 방법. The method of claim 7, wherein the searching of the shared resource information of the discovered peripheral device comprises: in the peer-to-peer mode, a service search request message to all peer nodes existing in the neighbor information management list of the search engine. A method of searching for shared resources using a wireless sensor network, comprising: transmitting and receiving a search result message to extract meta information about a shared service of a corresponding device. 제 7항에 있어서, 상기 검색된 공유 리소스 정보를 취득하는 단계는, The method of claim 7, wherein the obtaining of the retrieved shared resource information comprises: 상기 상위 레이어에 의해 서비스 취득 요청 프리미티브를 수신하면, 검색 엔진은 해당 디바이스에게 공유 상세 정보를 검색하기 위한 획득 서비스 메시지를 전 송하는 것을 특징으로 하는 무선 센서네트워크를 이용한 공유 리소스 탐색 방법. When the service acquisition request primitive is received by the upper layer, the search engine transmits an acquisition service message for searching for sharing detailed information to the corresponding device. 제 16항에 있어서,The method of claim 16, 상기 획득 서비스 메시지는 USS ID, 디바이스 ID, 쿼리스트링을 포함하는 것을 특징으로 하는 무선 센서네트워크를 이용한 공유 리소스 탐색 방법. The acquiring service message includes a USS ID, a device ID, and a query string. 상위 레이어가 등록 서비스 프리미티브를 발생시키는 단계와; The upper layer generating a registration service primitive; 서비스 탐색 엔진이 상기 발생된 프리미티브를 수신하여 지정된 파라미터값에 따라 주변 디바이스의 공유 서비스 정보를 등록하는 단계를 포함하고,Receiving, by the service search engine, the generated primitive and registering shared service information of the peripheral device according to a designated parameter value; 상기 공유 서비스 정보를 등록하는 단계에서, In the step of registering the shared service information, 상기 지정된 파라미터값에 따라 디렉토리 모드의 경우 디렉토리에 공유 서비스를 등록하고, 피어-투-피어 모드의 경우 주변의 피어 노드에 공유 서비스 정보를 전송하는 것을 특징으로 하는 무선 센서네트워크를 이용한 공유 리소스 등록 방법.The method of registering a shared resource using a wireless sensor network, wherein a shared service is registered in a directory according to the designated parameter value, and shared service information is transmitted to neighboring peer nodes in a peer-to-peer mode. . 삭제delete 제 18항에 있어서, The method of claim 18, 상기 공유 서비스 정보를 등록하는 단계 이후, After registering the shared service information, 상기 공유 서비스 정보를 수정하거나 변경된 내용을 갱신하는 단계를 더 포함하는 것을 특징으로 하는 무선 센서네트워크를 이용한 공유 리소스 등록 방법.The method of registering a shared resource using a wireless sensor network further comprising the step of modifying the shared service information or updating the changed contents. 제 20항에 있어서, 상기 갱신하는 단계에서, The method of claim 20, wherein in the updating step: 디렉토리 모드의 경우 디렉토리에 공유 서비스의 등록 여부를 확인하여 갱신 정보를 해당 디렉토리에 전송하여 갱신하고, 피어-투-피어 모드의 경우 주변의 피어 노드에 공유 서비스 정보에 대한 갱신 정보를 통지하는 것을 특징으로 하는 무선 센서네트워크를 이용한 공유 리소스 등록방법. In the case of the directory mode, it checks whether the shared service is registered in the directory, transmits the update information to the directory, and updates it, and in the peer-to-peer mode, notifies the neighboring peer node of the update information about the shared service information. Shared resource registration method using a wireless sensor network.
KR1020070110103A 2007-10-31 2007-10-31 Discovery engine for resource sharing using wireless sensor network, the discovery metohd and the registration method thereof KR100938471B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020070110103A KR100938471B1 (en) 2007-10-31 2007-10-31 Discovery engine for resource sharing using wireless sensor network, the discovery metohd and the registration method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020070110103A KR100938471B1 (en) 2007-10-31 2007-10-31 Discovery engine for resource sharing using wireless sensor network, the discovery metohd and the registration method thereof

Publications (2)

Publication Number Publication Date
KR20090044152A KR20090044152A (en) 2009-05-07
KR100938471B1 true KR100938471B1 (en) 2010-01-25

Family

ID=40854758

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070110103A KR100938471B1 (en) 2007-10-31 2007-10-31 Discovery engine for resource sharing using wireless sensor network, the discovery metohd and the registration method thereof

Country Status (1)

Country Link
KR (1) KR100938471B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190102546A (en) 2018-02-26 2019-09-04 목원대학교 산학협력단 Combined Quorum-based NDP in Heterogeneous Wireless Sensor Networks, Applied wireless sensor and its system
KR20200065419A (en) * 2018-11-30 2020-06-09 네이버랩스 주식회사 Method and system for sptial and temporal data distribution

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101997610B1 (en) * 2013-02-21 2019-07-08 주식회사 케이티 Discovery Method in M2M System using Classification and Priority
KR101659736B1 (en) 2015-07-23 2016-09-26 주식회사 스마티랩 SYSTEM FOR SHARING THE CONTEXTS OF REMOTE IoT DEVICES AND METHOD THEREFOR
KR102422637B1 (en) 2015-10-05 2022-07-18 대우조선해양 주식회사 Active unmaned decoy

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050063405A (en) * 2003-12-22 2005-06-28 한국전자통신연구원 Ontology-based service discovery system and method for ad hoc networks
KR20060133715A (en) * 2005-06-21 2006-12-27 삼성전자주식회사 Server and method for managing share resource of terminals on a network and network using the sames
KR20070019864A (en) * 2005-08-11 2007-02-15 삼성전자주식회사 Method and apparatus for controlling the networking of shared resources

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050063405A (en) * 2003-12-22 2005-06-28 한국전자통신연구원 Ontology-based service discovery system and method for ad hoc networks
KR20060133715A (en) * 2005-06-21 2006-12-27 삼성전자주식회사 Server and method for managing share resource of terminals on a network and network using the sames
KR20070019864A (en) * 2005-08-11 2007-02-15 삼성전자주식회사 Method and apparatus for controlling the networking of shared resources

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190102546A (en) 2018-02-26 2019-09-04 목원대학교 산학협력단 Combined Quorum-based NDP in Heterogeneous Wireless Sensor Networks, Applied wireless sensor and its system
KR20200065419A (en) * 2018-11-30 2020-06-09 네이버랩스 주식회사 Method and system for sptial and temporal data distribution
KR102135205B1 (en) * 2018-11-30 2020-07-17 네이버랩스 주식회사 Method and system for sptial and temporal data distribution

Also Published As

Publication number Publication date
KR20090044152A (en) 2009-05-07

Similar Documents

Publication Publication Date Title
CA2683998C (en) Device detection and service discovery system and method for a mobile ad hoc communications network
JP6751094B2 (en) Method, apparatus and system for supporting wireless communication
KR101727090B1 (en) Method, device, and system for registering and discovering service
US9191861B2 (en) Tethering method and mobile device adapted thereto
EP1517488A2 (en) Mechanism for improving connection control in peer-to-peer ad-hoc networks
JP6019544B2 (en) Wireless communication system and subscriber information management device
US10979879B2 (en) Mechanisms for resource-directory to resource-directory communications
US11711744B2 (en) Method and apparatus for interaction between an edge computing system and a mobile communication network for providing edge computing service
WO2010077194A1 (en) Method and device for installing applications on nfc-enabled devices
KR100938471B1 (en) Discovery engine for resource sharing using wireless sensor network, the discovery metohd and the registration method thereof
EP2625666B1 (en) Methods and apparatus for obtaining a service
JP5353683B2 (en) Wireless communication system, wireless communication device, and information notification method
CN112269842B (en) Information processing method, device, storage medium and computer equipment
WO2011140906A1 (en) Network accessing method and apparatus for device in wireless sensor network
US20170346891A1 (en) Communication method
WO2015067058A1 (en) Method and apparatus for sharing environment context
CN107950005B (en) Service element host selection
US11140533B2 (en) Enable reliable and distributed M2M/IoT services
KR100712047B1 (en) Device detection and service discovery system and method for a mobile ad hoc communications network
US11212741B2 (en) Wireless connectivity information for a mobile device
JP6119555B2 (en) Mobile terminal program and mobile terminal
KR101200254B1 (en) Apparatus of controlling infra network for sensor network
KR20140108521A (en) Method for managing personal network
JP2005311466A (en) Mobile communications terminal and terminal management method

Legal Events

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

Payment date: 20130111

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20131231

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee