KR101493166B1 - Sevice method and system for providing web based user interface for managing instance of virtualization object in internet of things environment - Google Patents

Sevice method and system for providing web based user interface for managing instance of virtualization object in internet of things environment Download PDF

Info

Publication number
KR101493166B1
KR101493166B1 KR20130110310A KR20130110310A KR101493166B1 KR 101493166 B1 KR101493166 B1 KR 101493166B1 KR 20130110310 A KR20130110310 A KR 20130110310A KR 20130110310 A KR20130110310 A KR 20130110310A KR 101493166 B1 KR101493166 B1 KR 101493166B1
Authority
KR
South Korea
Prior art keywords
instance
information
user interface
external service
user
Prior art date
Application number
KR20130110310A
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 한국과학기술원
Application granted granted Critical
Publication of KR101493166B1 publication Critical patent/KR101493166B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs

Abstract

The present invention relates to a service method and to a system for providing a web based user interface for managing the instance of a virtualization object in internet of things (IOT) environment. The service method in the IOT environment includes the steps of: confirming information about the instance of the virtualization object for a thing inputted through setting functions of a web page supplied to a user step by step; performing authentication with an external service by using information about the external service inputted through the external service connection function of the web page; and supplying an open application program interface (API) by using information inputted through the open API setting function of the web page.

Description

IoT 환경에서 가상화된 객체의 인스턴스를 관리하기 위한 웹 기반 사용자 인터페이스를 제공하는 서비스 방법 및 시스템{SEVICE METHOD AND SYSTEM FOR PROVIDING WEB BASED USER INTERFACE FOR MANAGING INSTANCE OF VIRTUALIZATION OBJECT IN INTERNET OF THINGS ENVIRONMENT}TECHNICAL FIELD [0001] The present invention relates to a service method and system for providing a web-based user interface for managing instances of virtualized objects in an IoT environment. [0002]

본 발명의 실시예들은 IoT 환경에서 가상화된 객체의 인스턴스를 관리하기 위한 웹 기반 사용자 인터페이스를 제공하는 서비스 방법 및 시스템에 관한 것이다.Embodiments of the present invention are directed to a service method and system for providing a web-based user interface for managing instances of virtualized objects in an IoT environment.

IoT(Internet of Things)는 기존 USN(Ubiquitous Sensor Network)나 M2M(Machine to Machine)에서 진화된 형태를 띄고 있는데, 기존 M2M이 통신장비(end-device)와 사람과의 통신이 주 목적이었다면, IoT는 사물의 범위를 넓혀 우리가 흔히 볼 수 있는 전화기, 책, 온도계 등의 사물을 사람과 통신이 가능하도록 해준다는 것이다. 즉, IoT는 인간과 사물, 서비스의 세 가지 분산된 환경 요소에 대해, 인간의 명시적인 개입 없이도 상호 협력적으로 센싱, 네트워킹, 정보 처리 등 지능적 관계를 형성하는 사물 공간 연결망을 의미할 수 있다.The Internet of Things (IOT) has evolved from the existing USN (Ubiquitous Sensor Network) or M2M (Machine to Machine). If the existing M2M was intended to communicate with end-devices and people, Is to broaden the scope of things so that we can communicate with people, such as telephones, books, thermometers, etc., that we commonly see. In other words, IoT can refer to a three-dimensional distributed environment element of human being, object, and service, and a spatial space network that forms an intelligent relationship such as sensing, networking, and information processing cooperatively without human intervention.

이러한 IoT 이외에도, WoT(Web of Things)나 WoO(Web of Objects)와 같이 다양한 개념과 기술들이 연구, 개발되고 있다. 이러한 개념과 기술들의 발전 및 확산으로 인해, 사용자들이 손쉽게 인터넷에 연결 가능한 기기들(가젯(gadget) 디바이스, 센서 디바이스, 액츄에이터(actuator) 등)의 사용이 늘어날 것으로 예상된다.In addition to IoT, various concepts and technologies such as Web of Things (WoT) and Web of Objects (WoO) are being researched and developed. Due to the development and spread of these concepts and technologies, it is expected that users will be able to easily use devices that can be connected to the Internet (gadget devices, sensor devices, actuators, etc.).

특히, 최근 들어 다양한 형태의 웹 연동형 가젯 디바이스들이 출시되고 있으며, 대다수의 센서 디바이스들의 경우, 웹을 통한 제어 및 모니터링 기능을 제공하고 있다. 또한, 웹을 통한 제어 기능을 제공하기 위한 단말들은, 단말 자체에 웹 서버 기능이 내장되거나 또는 온라인 상의 웹 서비스를 통해 제어될 수 있는 기능을 포함하고 있다.In particular, various types of web-linked gadget devices have recently been released, and most of the sensor devices provide control and monitoring functions through the web. In addition, terminals for providing a control function via the web include a function that enables the terminal itself to have a built-in web server function or to be controlled through an on-line web service.

그러나, 현재는 상술한 기술들, 기기들 또는 서비스들이 개별적으로 관리되고 있는 실정이라, 사용자의 불편함이 따르는 문제점이 있다. 예를 들어, 사용자는 다수의 기기들이 사용자 주위에 존재하나 개별적인 접근 경로(일례로, URL)를 통해 각각의 디바이스들을 제어해야 하는 불편함이 있다. 기기 자체가 웹 접근 기능(서버 기능)을 제공하는 경우에는 개별적인 기기의 접근을 위한 네트워크 연동 및 URL(IP 주소)가 필요하며, 전용 웹 서비스를 통해 서비스가 제공되는 경우에는 서비스별 접근 권 생성 및 URL이 필요하다.However, at present, the above-described technologies, devices or services are individually managed, and there is a problem that users are inconvenienced. For example, a user has the inconvenience that a plurality of devices are present around a user, but each device must be controlled through an individual access path (e.g., a URL). If the device itself provides a web access function (server function), network interworking and URL (IP address) for accessing individual devices are required. In the case where a service is provided through a dedicated web service, URL is required.

또한, 개별적으로 관리되는 데이터들을 유기적으로 연동하여 활용하기 힘든 문제점이 있다. 예를 들어, 집안의 보일러를 제어하는 센서의 경우 센서 기기가 직접 수집할 수 있는 주변 환경 정보는 사람 거주 유무, 내부 온도, 시간대 정도와 같이 매우 제한적이다. 만약, 이러한 센서 기기가 외부 정보(일례로 외부의 기온, 사용자의 스케쥴 정보 등)를 추가적으로 활용할 수 있다면, 보다 효과적인 제어 기능을 제공할 수 있으나, 각 기술들, 기기들 또는 서비스들마다 데이터들이 개별적으로 관리되고 있기 때문에 이러한 데이터들을 유기적으로 연동하여 활용하기 힘들다.In addition, there is a problem that it is difficult to utilize individually managed data in an interlocked manner. For example, in the case of a sensor that controls the boiler in the house, the environmental information that can be directly collected by the sensor device is very limited, such as the presence or absence of a person, internal temperature, and time zone. If such a sensor device can additionally utilize external information (e.g., outside temperature, user schedule information, etc.), more effective control functions may be provided, but data may be provided for each technology, It is difficult to utilize these data in an organic manner.

도 1은 종래기술에 있어서, 기기에서 임베디드 웹 서버를 내장하고 있는 경우의 서비스 제공 방식을 도시한 도면이다. 사용자는 웹과 같은 온라인(Online (Web))(110)을 통해 실제 세계(Physical World)(120)의 기기(IoT Node)(130)에 내장된 임베디드 웹 서버(Embedded Web Server)(140)에 접근할 수 있다. 이때, 임베디드 웹 서버(140)가 기기(130)에 내장되어 있기 때문에 기기(130)에서 생성되는 데이터, 그리고 특정 기능이나 서비스의 처리를 위한 프로세스 로직 모두가 기기(130)에 탑재되어 있다. 따라서, 기기(130)가 제공하는 서비스 영역을 벗어나, 다른 서비스 영역이나 다른 서비스의 데이터와 연동된 또는 융합된 서비스를 제공하는 것이 불가능하다.1 is a diagram illustrating a service providing method when an embedded web server is embedded in a device in the prior art. A user can access an embedded web server 140 embedded in a device 130 of a physical world 120 through an online (Web) It is accessible. At this time, because the embedded web server 140 is embedded in the device 130, both the data generated in the device 130 and the process logic for processing a specific function or service are loaded in the device 130. Therefore, it is impossible to provide services that are interlocked with or fused with data of other service areas or other services beyond the service area provided by the device 130. [

도 2는 종래기술에 있어서, 제조사가 별도의 웹 서버를 온라인상에서 제공하는 경우의 서비스 제공 방식을 도시한 도면이다. 도 2에서는 상술한 도 1에서와 달리, 제조사(또는 별도의 서비스 제공자)가 온라인(110)상에 웹 서버(Web Server)(210)를 구축하여 서비스를 제공하는 방식을 도시하고 있다. 이때, 사용자는 온라인(110)상의 웹 서버(210)를 통해 기기(IoT Node)(220)에 접근할 수 있다. 이 경우, 기기(210)에는 웹 서버(210)와 통신하기 위한 모듈(도 2의 HTTP 어댑터(HTTP Adaptor)(230))이 탑재될 수 있다. 따라서, 기기(220)에서 생성되는 데이터, 그리고 특정 기능이나 서비스의 처리를 위한 프로세스 로직 모두가 온라인상에서 제공이 가능하다. 필요에 따라, 데이터는 기기(220)에, 프로세스 로직은 웹 서버(210)상에 존재할 수도 있다. 이 경우에는, 제조사(또는 별도의 서비스 제공자)의 웹 서비스 가용 성능과 호스팅의 영속성에 대한 문제점이 발생할 수 있다.2 is a diagram illustrating a service providing method when a manufacturer provides a separate web server on-line in the prior art. In FIG. 2, unlike FIG. 1, a manufacturer (or a separate service provider) constructs a Web server 210 on the online 110 to provide a service. At this time, the user can access the device (IoT node) 220 through the web server 210 on-line 110. In this case, the device 210 may be equipped with a module (HTTP adapter 230 in FIG. 2) for communicating with the web server 210. Accordingly, both the data generated by the device 220 and the process logic for processing a specific function or service can be provided online. If desired, the data may reside on device 220 and the process logic may reside on web server 210. In this case, the manufacturer (or a separate service provider) may experience problems with Web service availability and persistence of hosting.

또한, 도 1 및 도 2를 참조하면, 사용자는 웹 서버(210)를 통해 임베디드 웹 서버(140)가 내장된 기기(130)로 접근할 수 없으며, 반대로 기기(130)의 임베디드 웹 서버(140)를 통해 웹 서버(210)나 기기(220)에 접근할 수 없다. 즉, 객체 인스턴스간에 상호 정보 교류가 불가능하여 연동형 또는 융합형 서비스를 제공할 수 없다.1 and 2, the user can not access the device 130 having the embedded web server 140 through the web server 210, and conversely, the user can not access the embedded web server 140 The web server 210 or the device 220 can not be accessed. That is, mutual information exchange between object instances is impossible, and thus interlocking or convergence type services can not be provided.

또한, 도 2를 참조하면, 기기(220)가 서비스의 제공을 위해, 센서 등과 같은 사물로부터 얻어진 정보나 사용자의 개인 정보(사용자의 위치 등) 등을 웹 서버(210)로 제공해야 하기 때문에 사용자의 프라이버시에 대한 문제가 발생할 소지가 존재한다.2, since the device 220 must provide information obtained from an object such as a sensor or personal information of a user (e.g., location of a user) to the web server 210 in order to provide a service, There is a possibility of causing a problem of the privacy of the user.

IoT(Internet of Things), WoT(Web of Things) 또는 WoO(Web of Objects) 환경에서 이기종의 기기들이나 다양한 서비스들을 연동 또는 융합하여 관리하고, 통합적으로 서비스를 제공하기 위한 서비스 제공 방법 및 시스템을 제공한다.Provides a method and system for providing services to provide heterogeneous devices or various services interlocking or converging in IoT (Internet of Things), WoT (Web of Things) or WoO (Web of Objects) do.

IoT(Internet of Things) 환경에서의 서비스 방법에 있어서, 사용자에게 제공되는 웹페이지의 단계별 설정 기능을 통해 입력된, 사물(Thing)에 대한 가상화 오브젝트(Virtualization Object)의 인스턴스에 대한 정보를 확인하는 단계; 상기 웹페이지의 외부 서비스 연결 기능을 통해 입력된 외부 서비스에 대한 정보를 이용하여 상기 외부 서비스와의 인증을 수행하는 단계; 및 상기 웹페이지의 오픈 API(Application Program Interface) 설정 기능을 통해 입력된 정보를 이용하여 상기 외부 서비스로 상기 오픈 API를 제공하는 단계를 포함하는 서비스 방법이 제공된다.A service method in an Internet of Things (IOT) environment, comprising: confirming information about an instance of a virtualization object for a Thing entered through a step-by-step setting function of a web page provided to a user; ; Performing authentication with the external service using information about the external service input through the external service connection function of the web page; And providing the open API to the external service using information input through an open API (Application Program Interface) setting function of the web page.

일측에 따르면, 상기 서비스 방법은 상기 웹페이지를 통해 인스턴스별 아이콘을 표시하는 단계를 더 포함할 수 있다.According to one aspect, the service method may further include displaying an instance-specific icon through the web page.

다른 측면에 따르면, 상기 아이콘이 표시되는 영역을 통해, 인스턴스에 대한 컨트롤 기능 및 상기 인스턴스의 대표값이 표시되는 것을 특징으로 할 수 있다.According to another aspect, a control function for an instance and a representative value of the instance are displayed through an area in which the icon is displayed.

또 다른 측면에 따르면, 상기 영역을 통해 상기 인스턴스의 상태가 더 표시되는 것을 특징으로 할 수 있다.According to another aspect, the state of the instance is further displayed through the region.

IoT(Internet of Things) 환경에서의 서비스 방법에 있어서, 사용자의 요청을 수신하는 단계; 및 상기 사용자의 요청에 따라 웹페이지를 제공하는 단계를 포함하고, 상기 웹페이지는, 사물(Thing)에 대한 가상화 오브젝트(Virtualization Object)의 인스턴스에 대한 정보를 입력받기 위한 단계별 설정 기능; 외부 서비스와의 인증을 위한 정보를 입력받기 위한 외부 서비스 연결 기능; 및 상기 외부 서비스로 제공하기 위한 오픈 API에 대한 정보를 입력받기 위한 오픈 API 설정 기능을 포함하는 것을 특징으로 하는 서비스 방법이 제공된다.A method of service in an Internet of Things (IoT) environment, comprising: receiving a request from a user; And providing a web page according to a request of the user, wherein the web page comprises: a step-setting function for receiving information on an instance of a virtualization object for a Thing; An external service connection function for receiving information for authentication with an external service; And an open API setting function for receiving information on an open API to be provided to the external service.

또 다른 측면에 따르면, 상기 단계별 설정 기능은, 인스턴스의 이름을 입력받기 위한 사용자 인터페이스, 상기 인스턴스의 태그를 입력받기 위한 사용자 인터페이스, IoT 노드의 프로파일이 저장된 URL을 입력받기 위한 사용자 인터페이스, 인스턴스 아이콘을 선택하기 위한 사용자 인터페이스, 인스턴스의 상태를 선택하기 위한 사용자 인터페이스, 컨트롤러를 선택하기 위한 사용자 인터페이스 및 대표값의 단위를 선택하기 위한 사용자 인터페이스 중 복수의 사용자 인터페이스들을 단계적으로 상기 사용자에게 노출하는 것을 특징으로 할 수 있다.According to another aspect, the step-by-step setting function includes a user interface for receiving a name of an instance, a user interface for receiving a tag of the instance, a user interface for receiving a URL storing a profile of the IoT node, A user interface for selecting a state of an instance, a user interface for selecting a controller, and a user interface for selecting a unit of a representative value, in a stepwise manner, can do.

또 다른 측면에 따르면, 상기 외부 서비스 연결 기능은, 상기 외부 서비스에 대한 상기 사용자의 계정 정보를 입력받기 위한 사용자 인터페이스를 포함하는 것을 특징으로 할 수 있다.According to another aspect of the present invention, the external service connection function includes a user interface for receiving account information of the user with respect to the external service.

또 다른 측면에 따르면, 상기 오픈 API 설정 기능은, 오픈 API의 설명 문서가 포함된 위치 정보를 입력 받기 위한 사용자 인터페이스를 포함하는 것을 특징으로 할 수 있다.According to another aspect of the present invention, the open API setting function includes a user interface for receiving location information including a description document of the open API.

IoT(Internet of Things) 환경에서의 서비스 시스템에 있어서, 적어도 하나의 프로그램이 저장된 적어도 하나의 스토리지 유닛; 및 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 상기 적어도 하나의 프로그램의 제어에 따라, 사용자에게 제공되는 웹페이지의 단계별 설정 기능을 통해 입력된, 사물(Thing)에 대한 가상화 오브젝트(Virtualization Object)의 인스턴스에 대한 정보를 확인하는 과정; 상기 웹페이지의 외부 서비스 연결 기능을 통해 입력된 외부 서비스에 대한 정보를 이용하여 상기 외부 서비스와의 인증을 수행하는 과정; 및 상기 웹페이지의 오픈 API(Application Program Interface) 설정 기능을 통해 입력된 정보를 이용하여 상기 외부 서비스로 상기 오픈 API를 제공하는 과정을 처리하는 것을 특징으로 하는 서비스 시스템이 제공된다.A service system in an Internet of Things (IoT) environment, comprising: at least one storage unit storing at least one program; And at least one processor, wherein the at least one processor is operable, under the control of the at least one program, to generate a virtualization object for a Thing, input via a step-by-step configuration function of a web page, A process of confirming information about an instance of the virtualization object; Performing authentication with the external service using information about the external service inputted through the external service connection function of the web page; And providing the open API to the external service using information input through an open API (Application Program Interface) setting function of the web page.

IoT(Internet of Things) 환경에서의 서비스 시스템에 있어서, 적어도 하나의 프로그램이 저장된 적어도 하나의 스토리지 유닛; 및 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 상기 적어도 하나의 프로그램의 제어에 따라, 사용자의 요청을 수신하는 과정; 및 상기 사용자의 요청에 따라 웹페이지를 제공하는 과정을 처리하고, 상기 웹페이지는, 사물(Thing)에 대한 가상화 오브젝트(Virtualization Object)의 인스턴스에 대한 정보를 입력받기 위한 단계별 설정 기능; 외부 서비스와의 인증을 위한 정보를 입력받기 위한 외부 서비스 연결 기능; 및 상기 외부 서비스로 제공하기 위한 오픈 API에 대한 정보를 입력받기 위한 오픈 API 설정 기능을 포함하는 것을 특징으로 하는 서비스 시스템이 제공된다.A service system in an Internet of Things (IoT) environment, comprising: at least one storage unit storing at least one program; And at least one processor, wherein the at least one processor is configured to: receive a request of a user according to control of the at least one program; And a step of providing a web page according to a request of the user, wherein the web page has a step-setting function for receiving information on an instance of a virtualization object for a Thing; An external service connection function for receiving information for authentication with an external service; And an open API setting function for receiving information on an open API to be provided to the external service.

도 1은 종래기술에 있어서, 기기에서 임베디드 웹 서버를 내장하고 있는 경우의 서비스 제공 방식을 도시한 도면이다.
도 2는 종래기술에 있어서, 제조사가 별도의 웹 서버를 온라인상에서 제공하는 경우의 서비스 제공 방식을 도시한 도면이다.
도 3은 본 발명의 일실시예에 있어서, 인스턴스 호스팅을 위한 전체 시스템 구조를 개괄적으로 도시한 일례이다.
도 4는 본 발명의 일실시예에 있어서, 인스턴스의 인터페이스들에 대한 개념을 설명하기 위한 도면이다.
도 5는 본 발명의 일실시예에 있어서, 인스턴스의 인터페이스들에 대한 기능을 설명하기 위한 도면이다.
도 6은 본 발명의 일실시예에 있어서, 인스턴스 리스트 페이지의 예를 도시한 도면이다.
도 7은 본 발명의 일실시예에 있어서, 인스턴스 매니저를 설명하기 위한 블록도이다.
도 8은 본 발명의 일실시예에 있어서, 인스턴스 상태 질의 기능을 설명하기 위한 흐름도이다.
도 9는 본 발명의 일실시예에 있어서, 인스턴스 상태 제어 기능을 설명하기 위한 흐름도이다.
도 10은 본 발명의 일실시예에 있어서, 인스턴스 설치 제어 기능을 설명하기 위한 흐름도이다.
도 11은 본 발명의 일실시예에 있어서, 사물 피드 제어 기능을 설명하기 위한 블록도이다.
도 12는 본 발명의 일실시예에 있어서, 스케쥴 등록 방법을 설명하기 위한 흐름도이다.
도 13 내지 도 15는 본 발명의 일실시예에 있어서, 인스턴스 위자드를 설명하기 위한 도면들이다.
도 16은 본 발명의 일실시예에 있어서, 매시업 인스턴스를 위한 추가 설정 및 외부 서비스 인증 요청을 설명하기 위한 도면이다.
도 17은 본 발명의 일실시예에 있어서, 오픈 API를 설명하기 위한 도면이다.
도 18은 본 발명의 일실시예에 있어서, 서비스 방법을 도시한 흐름도이다.
1 is a diagram illustrating a service providing method when an embedded web server is embedded in a device in the prior art.
2 is a diagram illustrating a service providing method when a manufacturer provides a separate web server on-line in the prior art.
FIG. 3 is an example of an overall system structure for instance hosting in an embodiment of the present invention.
4 is a diagram for explaining a concept of interfaces of an instance in an embodiment of the present invention.
5 is a diagram for explaining functions of interfaces of an instance in an embodiment of the present invention.
6 is a diagram showing an example of an instance list page in an embodiment of the present invention.
7 is a block diagram illustrating an instance manager in an embodiment of the present invention.
8 is a flowchart for explaining an instance status query function in an embodiment of the present invention.
9 is a flowchart for explaining an instance state control function in an embodiment of the present invention.
10 is a flowchart for explaining an instance installation control function in an embodiment of the present invention.
11 is a block diagram illustrating an object feed control function in an embodiment of the present invention.
12 is a flowchart for explaining a schedule registration method according to an embodiment of the present invention.
13 to 15 are diagrams for explaining an instance wizard in an embodiment of the present invention.
16 is a diagram for explaining an additional setting and an external service authentication request for a mashup instance in an embodiment of the present invention.
17 is a diagram for explaining an open API in an embodiment of the present invention.
18 is a flowchart showing a service method in an embodiment of the present invention.

이하, 본 발명의 실시예를 첨부된 도면을 참조하여 상세하게 설명한다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 3은 본 발명의 일실시예에 있어서, 인스턴스 호스팅을 위한 전체 시스템 구조를 개괄적으로 도시한 일례이다. 도 3은 IoT 프로파일(IoT(Internet of Things) Profile)(310), IoT 노드(IoT Node)(320), 인스턴스 호스팅 게이트웨이(Instance Hosting Gateway)(330) 및 인스턴스 호스팅 플랫폼(Instance Hosting Platform)(340)을 도시하고 있다.FIG. 3 is an example of an overall system structure for instance hosting in an embodiment of the present invention. 3 illustrates an example of an IoT profile (IoT Profile) 310, an IoT node 320, an Instance Hosting Gateway 330, and an Instance Hosting Platform 340 ).

IoT 프로파일(310)은 IoT 노드(320)의 제조사나 개발자가 온라인상에서 제공하는 IoT 노드(320)에 대한 정보를 의미할 수 있다. 예를 들어, 이러한 IoT 프로파일(310)은 IoT 노드(320)에 대한 정보를 사용자가 수동으로 인스턴스 호스팅 게이트웨이(330)에 데이터를 입력해야 하는 불편함을 최소화하기 위해, 제조사나 개발자가 IoT 노드(320)에 대한 정보를 기정의된 XML(eXtensible Markup Language) 스킴(scheme)에 따라 처리하여 생성한 XML 파일을 의미할 수 있다.The IoT profile 310 may refer to information about the IoT node 320 provided by the manufacturer or the developer of the IoT node 320 on-line. For example, the IoT profile 310 may include information about the IoT node 320 such that the manufacturer or developer can use the IoT node 320 to minimize the inconvenience of manually entering data into the instance hosting gateway 330 320 may be an XML file generated by processing information according to a predetermined XML (extensible Markup Language) scheme.

이러한 IoT 프로파일(310)은 IoT 노드(320)에 대한 설명(Description)과 IoT 노드(320)의 동작에 관해 기술된 프로세스(Process)에 대한 식별자(일례로, 프로세스에 대한 정보가 포함된 문서의 URL)를 포함할 수 있다. 예를 들어, 프로세스는 별도의 파일(일례로, 확장자 '.js' 파일)로 온라인상에서 제공될 수 있으며, 프로세스에 대한 식별자는 이러한 파일의 위치를 나타내는 URL일 수 있다. 아래 표 1은 IoT 프로파일(310)이 포함할 수 있는 정보들의 일례를 나타내고 있다.The IoT profile 310 includes an identifier for the IoT node 320 and an identifier for the process described in relation to the operation of the IoT node 320 URL). For example, a process may be provided online with a separate file (e.g., an extension '.js' file), and the identifier for the process may be a URL that points to the location of such a file. Table 1 below shows an example of the information that the IoT profile 310 may include.

NameName DescriptionDescription 비고Remarks IoTProfileIDIoTProfileID IoT Profile이 위치한 고유 URLThe unique URL where the IoT Profile is located URI형식으로 표현Expressed in URI format IoTProfileVerIoTProfileVer IoT Profile의 버전Version of IoT Profile 'V'+'숫자 형식'으로 표현'V' + expressed as 'number format' IoTProfileDescIoTProfileDesc IoT Profile의 설명(Description)Description of IoT Profile IoTInputIoTInput IoT Node의 입력값(Input 기능을 제공하지 않는 인스턴스 노드의 경우에는 필요 없음), RESTful API 생성을 위한 정보Input values for IoT Node (not required for instance nodes that do not provide input functionality), information for creating RESTful APIs 데이터 지원 형식
- JSON
- XML
Data Support Format
- JSON
- XML
IoTOutputIoTOutput IOT Node의 출력값, RESTFUL API 생성을 위한 정보Output value of IOT Node, information for generating RESTFUL API IoTProcessIDIoTProcessID IoT Node의 프로세스 식별자Process identifier of IoT Node URI 형식으로 표현Expressed in URI format

IoT 노드(320)는 센서 기기와 같은 IoT 환경의 사물(Things)에 대응할 수 있으며, 'IoTNodeID'와 같은 자신의 식별자 정보를 제공할 수 있다. 만약, IoT 노드(320)가 스마트 기기와 같은 NC(Non-Constraint) 노드인 경우에는 IoT 노드(320)가 상술한 IoT 프로파일(310)을 직접 제공할 수도 있다.The IoT node 320 can respond to things in an IoT environment such as a sensor device and can provide its own identifier information such as 'IoTNodeID'. If the IoT node 320 is an NC (Non-Constraint) node such as a smart device, the IoT node 320 may directly provide the IoT profile 310 described above.

도 3에서는 설명의 편의를 위해, 하나의 IoT 노드(320)와 IoT 노드(320)에 대한 하나의 IoT 프로파일(310)을 도시하고 있으나, IoT 환경에서는 다수의 IoT 노드들과 IoT 노드들 각각에 대한 IoT 프로파일들이 활용될 수 있음은 너무나 당연하다. 또한, 하나의 IoT 노드에 대한 복수의 IoT 프로파일들이 제공될 수도 있다.In FIG. 3, one IoT node 320 and one IoT profile 310 for the IoT node 320 are shown for convenience of explanation. However, in the IoT environment, a plurality of IoT nodes and IoT nodes It is quite natural that the IoT profiles can be utilized. Also, a plurality of IoT profiles for one IoT node may be provided.

하나의 IoT 노드와 인스턴스(instance)는 1:1, 1:N, N:1, N:M과 같이 다양하게 관계 지어질 수 있다. 또한, 인스턴스는 물리적인 IoT 노드가 없더라도, 프로세스의 형태로 존재 가능하며, 매시업(Mash-up) 프로세스 등과 같이 특정 장치와 연동되는 형태가 아닌 프로세스간 연동을 통해 인스턴스가 생성 및 연동될 수 있다. 예를 들어, 별도의 IoT 노드와 연결하지 않더라도 특정 프로세스가 인스턴스 호스팅 게이트웨이(330)에 설치(deploy)되어 동작함으로써, 인스턴스 호스팅 게이트웨이(330)에서 인스턴스가 생성될 수 있다. 본 명세서에서는 전반적으로 물리적인 장치로서 설명되는 IoT 노드(물리적 노드)와 본 발명의 실시예들에 따른 인스턴스 호스팅 게이트웨이간의 통신을 통해 IoT 노드로부터 수신되는 메시지를 개별 인스턴스와 연결하여 처리하는 실시예를 설명하고 있으나, 상술한 바와 같이, 적어도 하나의 IoT 노드는 물리적인 장치가 아닌 프로세스의 형태(프로세스 노드)로 존재할 수도 있다.One IoT node and instance can be related in various ways such as 1: 1, 1: N, N: 1, N: M. In addition, an instance may exist in the form of a process even if there is no physical IoT node, and an instance may be created and interworked through inter-process interactions, such as a mash-up process, rather than interworking with a specific device. For example, an instance can be created in the instance hosting gateway 330 by connecting a specific process to the instance hosting gateway 330 without deploying it to a separate IoT node. In the present specification, an example of processing a message received from an IoT node through a communication between an IoT node (physical node), which is generally described as a physical device, and an instance hosting gateway according to embodiments of the present invention, As described above, however, at least one IoT node may exist in the form of a process (process node) rather than a physical device.

또한, 센서 디바이스 또는 엑추에이터 등과 같은 물리적인 장치 없이 다수의 센서로부터 정보를 받아 이를 온라인상의 다른 웹 서비스 또는 어플리케이션과 연동 기능만을 제공하는 프로세스가 제공될 수도 있다. 예를 들어, 센서들의 정보와 소셜 서비스 또는 사용자가 이용하는 특정 어플리케이션의 상태 정보를 분석해 특정 결과를 제공하는 서비스의 경우, 해당 서비스를 동작시킬 별도의 프로세싱 환경이 필요하다. 이 경우, 본 발명의 실시예들에 따른 인스턴스 호스팅 게이트웨이에서 상기 프로세싱 환경을 제공해줄 수 있다.Also, a process may be provided that receives information from a plurality of sensors without providing a physical device such as a sensor device or an actuator, and provides only the interworking function with other web services or applications on-line. For example, in the case of a service providing a specific result by analyzing the information of the sensors and the status information of a specific application used by a user or a social service, a separate processing environment for operating the service is required. In this case, the instance hosting gateway according to embodiments of the present invention may provide the processing environment.

인스턴스 호스팅 게이트웨이(330)는 IoT 노드(320)로부터 수신되는 메시지를 개별 인스턴스와 연결해 처리하고, 사용자 또는 서비스의 요청에 따라 외부 서비스와 연동될 수 있다. 이러한 인스턴스 호스팅 게이트웨이(330)는 IoT 노드(320)를 위한 AP(Access Point) 환경에 탑재될 수 있다. 예를 들어, 인스턴스 호스팅 게이트웨이(330)는 AP에 탑재되어 웹 어플리케이션 서버(Web Application Server, WAS) 형태로 동작하는 인스턴스 어플리케이션 서버(Instance Application Server) 부분과 AP상에 소프트웨어 형태, 하드웨어 형태 또는 소프트웨어와 하드웨어의 결합 형태로 탑재(일례로, AP의 운영체제에 소프트웨어의 형태로 탑재되는 모듈과 IoT 노드(320)와의 통신을 위해 하드웨어의 형태로 탑재되는 모듈)되는 부분으로 구성될 수 있다.The instance hosting gateway 330 processes messages received from the IoT node 320 with individual instances and processes them, and can interact with external services upon request of a user or service. This instance hosting gateway 330 may be implemented in an Access Point (AP) environment for the IoT node 320. [ For example, the instance hosting gateway 330 may include an Instance Application Server portion mounted on the AP and operating in the form of a Web Application Server (WAS) (For example, a module mounted in the form of software in the operating system of the AP and a module mounted in the form of hardware for communication with the IoT node 320) in a combined form of hardware.

일례로, 인스턴스 호스팅 게이트웨이(330)는 특정 공간(일례로, 집안)에 설치된 AP에 포함될 수 있으며, 상기 특정 공간에 포함된 사물들(IoT 노드들)과 통신하여 데이터를 수신 및 처리하고, 외부 서비스와의 연동 서비스를 제공하기 위한 기능을 수행할 수 있다.For example, the instance hosting gateway 330 may be included in an AP installed in a specific space (e.g., a house), communicates with objects (IoT nodes) included in the specific space to receive and process data, And perform a function for providing an interworking service with the service.

이때, 인스턴스 호스팅 게이트웨이(330)는 새로운 IoT 노드(320)를 발견하면, IoT 프로파일(310)을 다운로드하여 설치할 수 있다. 예를 들어, 사용자는 IoT 프로파일(310)에 대응하는 XML 파일의 위치를 인스턴스 호스팅 게이트웨이(330)에 입력할 수 있으며, 인스턴스 호스팅 게이트웨이(330)는 입력된 위치에 기초하여 XML 파일을 다운로드하여 설치할 수 있다.At this time, if the instance hosting gateway 330 finds a new IoT node 320, the IoT profile 310 can be downloaded and installed. For example, the user can input the location of the XML file corresponding to the IoT profile 310 to the instance hosting gateway 330, and the instance hosting gateway 330 downloads and installs the XML file based on the input location .

이러한 인스턴스 호스팅 게이트웨이(330)에 대해서는 이후 도 4 내지 도 7을 통해 더욱 자세히 설명한다.This instance hosting gateway 330 will be described in more detail later with reference to FIGS.

인스턴스 호스팅 플랫폼(340)은 인스턴스간 상호 연동 기능과 매시업(Mash-up) 기능을 제공할 수 있다. 예를 들어, 인스턴스 호스팅 게이트웨이(330)는 사용자 또는 서비스의 요청에 따라 제공하기 위한 기능을 API(Application Program Interface) 형태로 외부로 제공하여 외부 서비스와 연동하기 위해, 인스턴스 호스팅 플랫폼(340)과 통신할 수 있다.The instance hosting platform 340 may provide inter-instance interworking and mash-up functionality. For example, the instance hosting gateway 330 may provide a function for providing a function for a user or a service upon request to the outside in the form of an API (Application Program Interface) and communicate with the instance hosting platform 340 can do.

도 4는 본 발명의 일실시예에 있어서, 인스턴스의 인터페이스들에 대한 개념을 설명하기 위한 도면이다. 사물들(Things, 410)의 가상화객체들(VO(Virtualization Objects), 420)에 있어, 가상화객체와 사물간의 연결, 그리고 가상화객체와 다른 가상화객체간의 연결에 필요한 기본적인 인터페이스가 필요하다. 본 실시예에서는 인터페이스의 효과적이고 명시적인 사용을 위해 총 5가지의 인스턴스용 인터페이스 기능을 제공하는 예들을 설명한다.4 is a diagram for explaining a concept of interfaces of an instance in an embodiment of the present invention. In virtualization objects (VO) 420 of things 410, there is a need for a basic interface for the connection between virtual objects and objects, and the connection between virtual objects and other virtual objects. In this embodiment, examples for providing a total of five instance interface functions for effective and explicit use of the interface will be described.

개별 인터페이스의 정보는 각 인스턴스별로 인스턴스 프로파일에 이를 명시적으로 기술하여 사용할 수 있으며, 도 3을 통해 설명한 인스턴스 호스팅 게이트웨이(330)가 포함할 수 있는 인스턴스 매니저에서 해당 인스턴스의 정보에 기반하여 관련 기능을 제공할 수 있다. 이때, 도 4에서는 사물들(410) 각각과 관련된 인스턴스(Associated Thing Instance)들 및 인스턴스간 연동을 위한 매시업 인스턴스(Mashup Instance)를 나타내고 있다. 이때, 매시업 인스턴스는, 인스턴스 어플리케이션 서버(IAS(Instance Application Server), 430) 및 써드 파티 서비스(3rd Party Service, 440)와의 연동을 가능하게 할 수 있다.The information of the individual interfaces can be explicitly described in the instance profile for each instance, and the instance manager, which the instance hosting gateway 330 described with reference to FIG. 3 described above, can use, . At this time, FIG. 4 shows Associated Thing Instances related to each of the objects 410 and a Mashup Instance for inter-instance interworking. At this time, the mashup instance may enable interworking with an instance application server (IAS) 430 and a third party service (440).

인스턴스 어플리케이션 서버(430)는 인스턴스 호스팅 게이트웨이(330)의 웹 어플리케이션 서버 기능을 담당할 수 있다. 이때, 인스턴스 어플리케이션 서버(430)를 통해 제공되는 기능들은 웹 인터페이스로 제공될 수 있다. 또한, 써드 파티 서비스(440)는 사용자와 연관된 소셜 네트워크 서비스(Social Network Service, SNS)와 같이 다양한 외부 서비스들을 의미할 수 있다.The instance application server 430 may be responsible for the web application server function of the instance hosting gateway 330. At this time, functions provided through the instance application server 430 may be provided as a web interface. The third party service 440 may also refer to various external services, such as a Social Network Service (SNS) associated with the user.

도 5는 본 발명의 일실시예에 있어서, 인스턴스의 인터페이스들에 대한 기능을 설명하기 위한 도면이다. 도 4의 가상화객체들(420)인 인스턴스들은 인스턴스 매니저가 제공하는 5가지의 기 제공된 인터페이스를 이용하여, (1) 사물과 인스턴스간, (2) 인스턴스와 인스턴스간, (3) 외부 서비스(써드 파티 서비스(440))와 인스턴스간, 그리고 (4) 인스턴스 호스팅(Instance Hosting, IH) 응용 기능(일례로, 도 4의 인스턴스 아이콘(Instance Icon))과 인스턴스간에 데이터를 주고 받을 수 있다. 5 is a diagram for explaining functions of interfaces of an instance in an embodiment of the present invention. The instances, which are the virtualization objects 420 of FIG. 4, can use the five pre-provided interfaces provided by the instance manager to (1) between objects and instances, (2) between instances and instances, Party service 440) and (4) instance hosting (IH) application functionality (e.g., the Instance Icon of FIG. 4).

피더(Feeder)를 의미하는 F(510)는 인스턴스가 인스턴스 또는 외부 서비스로 제공하고자 하는 정보를 노출하는 인터페이스를 포함할 수 있다. 이때, F(510)는, 직접 메시지를 전달하는 것이 아닌 인스턴스의 메시지 큐(message queue)상에 피딩(feeding)할 정보를 저장하는 형태로 동작할 수 있으며, 다음 (1) 내지 (3)과 같은 경우에 활용될 수 있다.F 510, which means a feeder, may include an interface that exposes information that an instance intends to provide as an instance or an external service. At this time, the F 510 may operate in a form of storing information to be fed on a message queue of an instance rather than directly transmitting a message. The following (1) to (3) and Can be utilized in the same case.

(1) 장치(사물)로부터 받은 메시지를 판독 후 타 서비스 또는 다른 인스턴스로 전달하고자 하는 경우.(1) You want to read a message received from a device (object) and forward it to another service or another instance.

(2) 인스턴스내에서 특정 상태 값을 노출하거나 또는 외부 서비스(일례로, 써드 파티 서비스(440))에게 전달하고자 하는 값을 노출하고자 하는 경우.(2) exposing a particular state value within an instance or exposing a value to be passed to an external service (e.g., a third party service 440).

(3) 인스턴스의 상태 값 중 인스턴스 리스트 상의 인스턴스 아이콘(일례로, 인스턴스 어플리케이션 서버(430)의 인스턴스 아이콘)을 통해 사용자에게 대표로 노출시킬 값(대표 속성(representative attribute) 값)을 설정하고자 하는 경우.(3) a value (representative attribute value) to be exposed as a representative to the user through the instance icon (for example, the instance icon of the instance application server 430) on the instance list among the status values of the instance .

서브스크라이버(Subscriber)를 의미하는 S(520)는 사물 또는 타 인터페이스의 피더로부터 정보를 수신하는 인터페이스를 포함할 수 있으며, 다음 (4) 및 (5)의 경우에 활용될 수 있다.The S 520, which means a subscriber, may include an interface for receiving information from an object or a feeder of another interface, and may be utilized in the following cases (4) and (5).

(4) 장치(사물)로부터 수신되는 정보를 전달 받기 위해 사용되는 경우(이 경우, 인스턴스 호스팅 게이트웨이(330)가 포함하는 네트워크 어댑터가 리스닝(listening)할 사물의 물리적 인터페이스에 대한 정보가 관련 사물 정보 엘리먼트(associatedThingInformation element)에 기술될 수 있음).(4) In the case where it is used to receive information received from a device (object) (in this case, information about the physical interface of the object to be listened to by the network adapter included in the instance hosting gateway 330) Element may be described in an associatedThingInformation element).

(5) 다른 인스턴스의 피더에 대한 정보를 구독하는 경우(타 인스턴스의 피더 인터페이스로 노출되는 값을 활용하고자 하는 경우) - 타 인스턴스의 피더에 대한 정보를 구독하는 경우, 필터에 정의된 조건에 맞는 인터페이스를 통해 정보의 구독이 가능.(5) When subscribing to feeder information of another instance (if you want to use the value exposed by the feeder interface of other instance) - If you subscribe to information about feeder of other instance, You can subscribe to information through the interface.

리시버(Receiver)를 의미하는 R(530)은 인스턴스가 타 인스턴스의 컨트롤러로부터 메시지를 전달받는 인터페이스를 포함할 수 있으며, 다음 (6) 내지 (8)과 같은 경우에 활용될 수 있다.R 530, which means a receiver, may include an interface through which an instance receives a message from a controller of another instance, and may be utilized in the following cases (6) to (8).

(6) 타 인스턴스로부터 정보를 받는 경우(타 인스턴스의 컨트롤러 인터페이스로부터 정보를 수신).(6) Receiving information from another instance (receiving information from the controller interface of another instance).

(7) 인스턴스 아이콘상의 대표 제어값(피더상에서 대표 속성 값을 설정한 경우)을 수신하는 경우(사용자의 직접 제어를 처리하는 경우).(7) When the representative control value (when the representative attribute value is set on the feeder) on the instance icon is received (when the direct control of the user is processed).

(8) 외부 서비스(일례로, 써드 파티 서비스(440))로부터 메시지를 받는 경우(일례로, 캘린더 서비스의 사용자 상태 정보를 수신하는 경우).(8) receiving a message from an external service (e.g., third party service 440) (e.g., when receiving user status information of a calendar service).

컨트롤러(Controller)를 의미하는 C(540)는 인스턴스가 외부로부터 정보를 전달하기 위한 인터페이스를 포함할 수 있으며, 다음 (9) 및 (10)의 경우에 활용될 수 있다.C 540, which means a controller, may include an interface for transmitting information from the outside of the instance, and may be utilized in the following cases (9) and (10).

(9) 장치(사물)에게 (제어) 메시지를 전달하는 경우(관련 사물 정보 엘리먼트가 설정되어 있는 장치(사물)로 메시지를 전달하는 경우).(9) When delivering (controlling) messages to devices (objects) (when delivering messages to devices (objects) with related object information elements).

(10) 타 인스턴스에게 메시지를 전달하는 경우(타 인스턴스의 리시버 인터페이스 메시지 큐에 들어가는 형태가 아닌, 트리거링 방식을 통해 데이터 전달).(10) When delivering a message to another instance (passing data through a triggering method, not in the form of entering the receiver interface message queue of another instance).

인증(OAuth)을 의미하는 O(550)는 인스턴스가 써드 파티 서비스로 연동하기 위한 인터페이스를 포함할 수 있으며, 다음 (11) 및 (12)의 경우에 활용될 수 있다.O (550), which means OAuth, may include an interface for an instance to interwork with a third party service and may be utilized in the following cases (11) and (12).

(11) 써드 파티 서비스로 메시지를 전달하는 경우(OAuth 인증이 이루어진 후).(11) When forwarding a message to a third party service (after OAuth authentication is done).

(12) 써드 파티 서비스로 메시지를 수신(질의)하는 경우.(12) When receiving (querying) a message with a third party service.

이때, 상술한 (8)과 (12)는 모두 외부 서비스로부터 메시지를 수신하는 경우를 나타내고 있다. 외부 서비스로부터의 메시지는 실시예에 따라 리시버를 통해 수신될 수도 있고, O(550)를 통해 수신될 수도 있다.
At this time, both (8) and (12) described above show a case of receiving a message from an external service. Messages from the external service may be received via the receiver or via O 550, depending on the embodiment.

본 발명의 실시예들에 따른 인스턴스는 개별적인 인터페이스 정보에 대해 각각의 메시지 큐를 생성할 수 있으며, 인터페이스별 메시지 큐에는 기설정된 수(일례로, 100건)의 메시지가 저장될 수 있다. 해당 인스턴스가 비정상적으로 종료되어도(일례로, 에러 상태(error)로 변경 시) 저장된 메시지는 남아 있으며, 다시 정상 동작 상태(run)로 변경 시, 저장된 메시지를 이용할 수 있다. 이때, 인스턴스가 에러 상태일 때 수신되는 메시지들은 인스턴스의 상태와 관계 없이 개별 인터페이스의 메시지 큐상에 저장될 수 있다.(서브스크라이버 인터페이스나 리시버 인터페이스의 경우)The instance according to the embodiments of the present invention can generate each message queue for individual interface information, and a predetermined number (for example, 100) of messages can be stored in the message queue per interface. Even if the instance is terminated abnormally (for example, when changing to an error state), the stored message remains, and the stored message can be used again when changing to a normal operating state (run). At this time, messages received when the instance is in an error state can be stored on the message queue of the individual interface, regardless of the state of the instance (for subscriber or receiver interfaces).

이후에서는, 인스턴스가 포함하는 인터페이스들에 대해 더욱 자세히 설명한다.In the following, the interfaces that the instance contains will be described in more detail.

1. 서브스크라이버는 이미 설명한 바와 같이 인스턴스가 사물장치(Thing) 또는 타 인스턴스의 피더 인터페이스로부터 메시지를 수신 및 구독하기 위한 인터페이스일 수 있다. 사물로부터 메시지를 수신하는 경우, 해당 서브스크라이버는 메시지의 수신에 필요한 물리적 인터페이스의 정보를 해당 사물 정보 'associatedThingInformation' 엘리먼트상에 기재하여야 하며, 이때 필요한 정보는 기본적인 장치의 물리 인터페이스를 어댑테이션(adaptation)하기 위한 정보들을 포함할 수 있다. 또한, 타 인스턴스로부터 메시지를 수신하는 경우, 해당 서브스크라이버는 구독(Subscribe)할 타 인스턴스의 피더 인터페이스에 대한 정보를 필터(Filter) 엘리먼트상에 기재하여야 하며, 피더 인터페이스에 대한 정보는, 해당 인스턴스를 등록하는 과정(Instance Wizard를 이용하여 등록)에서 구독할 인스턴스의 정보를 입력하는 것으로 필터 엘리먼트상에 기재될 수 있다. 이때, 트리거 속성(Trigger attribute)을 'true'로 설정할 경우 해당 피더의 값이 생성되면, 인스턴스 매니저는 그 즉시 이를 구독하는 서브스크라이버 인스턴스를 호출할 수 있다. 해당 동작은 인스턴스 동작 주기 'InstanceRunningPeriod' 값과 상관없이 수행될 수 있다.1. The subscriber may be an interface for receiving and subscribing messages from a feeder interface of a Thing or other instance as described above. When receiving a message from an object, the subscriber must write the information of the physical interface necessary for the reception of the message on the 'associatedThingInformation' element of the object information. The necessary information is used to adapt the physical interface of the basic device, And the like. In addition, when a message is received from another instance, the subscriber must write information on a filter element of a feeder interface of another instance to be subscribed on the filter element, May be described on the filter element by entering the information of the instance to be subscribed in the registration process (registration using the Instance Wizard). At this time, when the trigger attribute is set to 'true', if the corresponding feeder value is generated, the instance manager can immediately call the subscriber instance that subscribes to it. The operation can be performed irrespective of the value of the instance operation cycle 'InstanceRunningPeriod'.

서브스크라이버가 가질 수 있는 속성은 다음 표 2의 일례와 같이 표현될 수 있다.The attributes that a subscriber can have can be expressed as an example of the following Table 2.

<xs:element name="subscriber"> <xs:complexType>
<!-인스턴스(Instance) 별로 인터페이스(I/F)를 식별하기 위한 식별자로 사용. 자릿수는 최대 3자리까지 이용 가능.-->
<xs:attribute name="id" type="xs:unsignedShort" />
<!-- NAME은 인스턴스를 손쉽게 구분하기 위한 정보로 활용 가능하며, 향후 인스턴스간 연결 시 해당 인스턴스의 I/F 구분을 위해 사용자에게 제공되는 정보로 활용 가능.-->
<xs:attribute name="name" type="xs:string" />
<!-- 타 인스턴스를 구독시 해당 값이 생성되는 경우 즉시 반응의 여부에 따라 설정, 인스턴스 매니저가 피더 리스트의 트리거링(triggering) 설정 여부에 대해 모니터링 후 즉시 데이터 전달 -->
<xs:attribute name="trigger" type="xs:boolean" />
</xs:complexType> </xs:element>
<xs: element name = "subscriber"><xs:complexType>
<! - Used as an identifier to identify the interface (I / F) by instance (Instance). Up to 3 digits are available .-->
<xs: attribute name = "id" type = "xs: unsignedShort"/>
<! - NAME can be used as information to easily identify the instance, and it can be used as information provided to the user in order to distinguish the I / F of the instance in future connection between the instances .-->
<xs: attribute name = "name" type = "xs: string"/>
<! - If the value is generated when subscribing to another instance, it will be set according to whether or not it reacts immediately. Instance Manager monitors whether feeder list is triggered or not.
<xs: attribute name = "trigger" type = "xs: boolean"/>
</ xs: complexType></ xs: element>

또한, 서브스크라이버내의 필터가 가질 수 있는 속성은 다음 표 3의 일례와 같이 표현될 수 있다.In addition, the attributes that the filter in the subscriber can have can be expressed as an example of Table 3 below.

<xs:element name="filter"><xs:complexType>
<!-- 다른 인스턴스의 피더를 구독하는 경우 필터에 정의된 조건에 맞는 인터페이스만 구독이 가능 -->
<xs:attribute name="instanceId" type="xs:string"/>
<!-- 구독할 인스턴스의 식별자(ID) 값을 입력(고유값) -->
<xs:attribute name="feederId" type="xs:unsignedShort"/>
<!-- 구독할 인스턴스 내 Feeder의 고유 식별자를 입력 -->
<xs:attribute name="minVersion" type="xs:string"/>
<!-- 구독할 인스턴스 지원 버전의 최소 값을 입력 -->
<xs:attribute name="maxVersion" type="xs:string"/>
<!-- 구독할 인스턴스 지원 버전의 최대 값을 입력 -->
</xs:complexType></xs:element>
</xs:sequence>
<xs: element name = "filter"><xs:complexType>
<! - If you subscribe to a feeder from another instance, you can subscribe only interfaces that meet the conditions defined in the filter. ->
<xs: attribute name = "instanceId" type = "xs: string"/>
<! - Enter the identifier (ID) value of the instance to subscribe to (unique value) ->
<xs: attribute name = "feederId" type = "xs: unsignedShort"/>
<! - Enter the unique identifier of the Feeder in the instance to subscribe to ->
<xs: attribute name = "minVersion" type = "xs: string"/>
<! - Enter the minimum value of the supported version of the instance to subscribe to ->
<xs: attribute name = "maxVersion" type = "xs: string"/>
<! - Enter the maximum value of the supported version of the instance to subscribe to ->
</ xs: complexType></ xs: element>
</ xs: sequence>

2. 피더는 인스턴스가 타 인스턴스로 정보를 노출하기 위한 인터페이스로, 구독하는 인터페이스의 설정에 따라, 즉시 값이 전달되거나 또는 타 인스턴스의 동작시, 값이 타 인스턴스의 입력값으로 전달될 수 있다. 이때, 개별 피더 식별자(ID) 별로 인스턴스 매니저상에서 메시지 큐를 생성하고, 데이터(메시지)를 메시지 큐에 저장한 후 서브스크라이버 인터페이스를 통해 읽어가게 된다.2. A feeder is an interface for an instance to expose information to other instances. Depending on the configuration of the interface to which it is subscribed, a value can be passed immediately, or a value can be passed to the input value of another instance at the time of operation of another instance. At this time, a message queue is created on the instance manager for each individual feeder identifier (ID), the data (message) is stored in the message queue, and the message queue is read through the subscriber interface.

피더의 메시지 전달 방식과 관련하여, 피더로부터 메시지를 읽어가는 방식은 서브스크라이버 인터페이스 상에서 트리거 설정여부에 따른 방식과 구독하는 인스턴스의 실행에 따라 입력 값으로 전달되는 방식으로 나뉘게 된다.Regarding the message delivery method of the feeder, a method of reading a message from the feeder is divided into a method according to whether a trigger is set on a subscriber interface or a method in which an input value is transmitted according to the execution of a subscription instance.

해당 피더에 대해 트리거를 설정한 서브스크라이버 인터페이스의 경우 해당 서브스크라이버 인터페이스가 구독하는 피더에 대한 값이 등록될 시 호출되게 된다. 그렇지 않은 경우 인스턴스 매니저가 해당 피더를 구독(Subscribe) 하는 타 인스턴스의 실행 시 데이터를 읽어 입력 값으로 전달하게 된다. 이때, 인스턴스 매니저가 해당 피더의 값을 읽어 갔다고 하더라도 곧 바로 메시지 큐 에 데이터를 지우지는 않는다. 해당 메시지의 큐의 크기는 인터페이스별로 기설정된 수(일례로, 100건)를 가질 수 있으며, 해당 인스턴스가 비정상 종료되어도 해당 값은 남아 있게 된다.In the case of a subscriber interface that has triggered a feeder for that feeder, it will be called when the value for the feeder to which that subscriber interface subscribes is registered. Otherwise, the instance manager will read the runtime data of the other instance that subscribes to the feeder and pass it as the input value. At this time, even if the instance manager reads the feeder value, it does not immediately erase the data in the message queue. The size of the queue of the message may have a predetermined number (for example, 100) for each interface, and the value remains even if the corresponding instance is abnormally terminated.

피더는 다음 표 4와 같이 표현되는 속성을 사용할 수 있으며 대표값을 나타내는 'representative'를 사용(true)하는 경우, 단위(unit)를 지정해야 인스턴스 매니저의 리스트 페이지상에서 해당 데이터와 연동되는 온도, Kcal 등의 단위가 표시될 수 있다.The feeder can use an attribute expressed as shown in Table 4 below. When 'representative' representing a representative value is used (true), it is necessary to designate a unit so that the temperature, Kcal Etc. may be displayed.

<xs:attribute name="id" type="xs:unsignedShort" />
<!-- 인스턴스별로 인터페이스를 식별하기 위한 식별자로 사용가능. 자릿수는 최대 3자리까지 이용 가능.-->
<xs:attribute name="name" type="xs:string" />
<!-- NAME은 인스턴스를 손쉽게 구분하기 위한 정보로 활용되며, 향후 인스턴스간 연결 시, 해당 인스턴스의 인터페이스(I/F) 구분을 위해 사용자에게 제공되는 정보로 활용.-->
<xs:attribute name="unit" type="xs:string" />
<!-- 해당 인터페이스를 통해 주고 받는 데이터 값을 정의하는데 사용-->
<xs:attribute name="representative" type="xs:boolean" />
<!-- 대표값을 설정하는 부분으로 해당 값을 설정할 경우 인스턴스 리스트 페이지상의 인스턴스 아이콘에 해당 값이 출력되게 됨 -->
<xs: attribute name = "id" type = "xs: unsignedShort"/>
<! - Can be used as an identifier to identify an interface by instance. Up to 3 digits are available .-->
<xs: attribute name = "name" type = "xs: string"/>
<! - NAME is used as information to easily distinguish between instances, and it will be used as information provided to users in order to distinguish interface (I / F)
<xs: attribute name = "unit" type = "xs: string"/>
<! - Used to define the data values sent and received through the interface ->
<xs: attribute name = "representative" type = "xs: boolean"/>
<! - Set the representative value. If you set the value, the corresponding value will be displayed on the instance icon on the instance list page. ->

도 6은 본 발명의 일실시예에 있어서, 인스턴스 리스트 페이지의 예를 도시한 도면이다. 도 6은 복수의 인스턴스 아이콘들을 포함하는 페이지의 일부가 표시된 화면(600)을 나타내고 있다. 이때, 화면(600)에서 인스턴스 아이콘에 피더 인스턴스의 대표값 속성이 설정된 예들이 점선타원들(610)을 통해 나타나 있다.6 is a diagram showing an example of an instance list page in an embodiment of the present invention. 6 shows a screen 600 on which a part of a page including a plurality of instance icons is displayed. At this time, examples of setting the representative value attribute of the feeder instance on the instance icon in the screen 600 are shown through the dotted ellipses 610. [

3. 리시버는 타 인스턴스로부터 메시지를 호출 받기 위한 인터페이스로서, 타 인스턴스의 컨트롤러 인터페이스를 통해 정보를 전달 받을 수 있다. 타 인스턴스로 부터 전달받은 메시지는 수신한 인스턴스에게 직접 전달되게 되고, 해당 인스턴스의 트리거링(실행)이 일어나게 된다. 이러한 트리거링은 메시지를 수신한 인스턴스의 동작 주기를 나타내는 'runningPeroid' 설정과 상관없이 수행될 수 있다.3. Receiver is an interface for receiving messages from other instances, and can receive information through the controller interface of another instance. Messages received from other instances are delivered directly to the receiving instance, and triggering (execution) of the instance occurs. This triggering can be performed regardless of the 'runningPeroid' setting, which indicates the period of operation of the instance that received the message.

리시버는 다음 표 5와 같이 나타나는 속성을 사용할 수 있으며, 대표값을 나타내는 'representative'를 사용(true)하는 경우, 단위(unit)를 지정해야 인스턴스 매니저의 리스트 페이지상에서 해당 인스턴스를 제어하는 버튼이 생성될 수 있다.The receiver can use the attributes shown in the following table 5. If 'representative' is used (representative), it is necessary to specify a unit so that a button for controlling the corresponding instance on the list page of the instance manager is created .

<xs:attribute name="id" type="xs:unsignedShort" />
<!-- 인스턴스별로 인터페이스를 식별하기 위한 식별자로 사용. 자릿수는 최대 3자리까지 이용 가능-->
<xs:attribute name="name" type="xs:string" />
<!-- NAME은 인터페이스를 손쉽게 구분하기 위한 정보로 활용되며, 향후 인스턴스간 연결 시 해당 인스턴스의 인터페이스(I/F) 구분을 위해 사용자에게 제공되는 정보로 활용-->
<xs:attribute name="unit" type="xs:string" />
<!-- 해당 인터페이스를 통해 주고 받는 데이터 값을 정의하는데 사용된다 -->
<xs:attribute name="representative" type="xs:boolean" />
<!-- 대표값을 설정하는 부분으로 해당 값을 설정할 경우 인스턴스 리스트 페이지상의 인스턴스 아이콘에 해당 값이 출력되게 됨 -->
<xs: attribute name = "id" type = "xs: unsignedShort"/>
<! - Use as an identifier to identify the interface by instance. Digits can be used up to 3 digits ->
<xs: attribute name = "name" type = "xs: string"/>
<! - NAME is used as information to easily distinguish the interface, and is used as information provided to the user to distinguish the interface (I / F)
<xs: attribute name = "unit" type = "xs: string"/>
<! - Used to define the data values sent and received through the interface ->
<xs: attribute name = "representative" type = "xs: boolean"/>
<! - Set the representative value. If you set the value, the corresponding value will be displayed on the instance icon on the instance list page. ->

다시 도 6을 살펴보면, 도 6의 화면(600)에 표시된 아이콘들 중 활성화된 아이콘들에 "ON", "OFF", "Locked"와 같이 인스턴스 아이콘에 대응하는 인스턴스를 제어하기 위한 버튼이 생성된 모습을 나타내고 있다.6, a button for controlling an instance corresponding to the instance icon such as "ON", "OFF", "Locked" is created in the activated icons among the icons displayed on the screen 600 .

4. 컨트롤러는 인스턴스가 타 인스턴스 또는 장치(사물)로 메시지를 전달하기 위한 인터페이스를 포함할 수 있다. 컨트롤러는, 타 인스턴스로 메시지를 전달하기 위해 직접 전달 방식을 통해 해당 인스턴스를 호출할 수 있으며, 메시지는 리시버 인터페이스를 통해 해당 인스턴스로 전달될 수 있다. 예를 들어, 메시지를 수신한 인스턴스의 동작 주기 'runningPeroid'의 설정과 상관없이 메시지의 전달이 트리거링 될 수 있다. 메시지를 장치(사물)로 전달하는 경우, 컨트롤러는 네트워크 어댑터를 통해 메시지를 즉시 전달할 수 있다.4. A controller may contain an interface for an instance to deliver a message to another instance or device (something). The controller can invoke the instance through a direct delivery method to deliver the message to other instances, and the message can be delivered to the instance via the receiver interface. For example, the delivery of a message can be triggered regardless of the setting of the running period 'runningPeroid' of the instance that received the message. When forwarding a message to a device (object), the controller can immediately forward the message via the network adapter.

타 인스턴스로 메시지를 전달하는 경우, 타 인스턴스의 리시버 인터페이스의 정보가 필터 엘리먼트내에 기술되어야 한다. 이때, 필터 엘리먼트내에 기술되는 정보는 다음 표 6과 같이 표현될 수 있다.When forwarding a message to another instance, the information of the receiver interface of the other instance should be described in the filter element. At this time, the information described in the filter element can be expressed as shown in Table 6 below.

<xs:element name="filter"><xs:complexType>
<!-- 다른 인스턴스의 리시버로 메시지를 전달하는 경우 필터에 정의된 조건에 맞는 인터페이스에 대해서만 메시지 전달이 가능 -->
<xs:attribute name="instanceId" type="xs:string"/>
<!-- 메시지를 전달할 인스턴스의 ID 값(고유값) -->
<xs:attribute name="receiverId" type="xs:unsignedShort"/>
<!-- 메시지를 전달할 인스턴스 내의 리시버 인터페이스의 ID 값(고유값) -->
<xs:attribute name="minVersion" type="xs:string"/>
<!-- 전달할 인스턴스 지원 버전의 최소 값을 입력 -->
<xs:attribute name="maxVersion" type="xs:string"/>
<!-- 전달할 인스턴스 지원 버전의 최대 값을 입력 -->
</xs:complexType></xs:element>
<xs: element name = "filter"><xs:complexType>
<! - When forwarding a message to a receiver of another instance, it is possible to forward the message only to interfaces that meet the conditions defined in the filter. ->
<xs: attribute name = "instanceId" type = "xs: string"/>
<! - ID value (unique value) of the instance to which to forward the message ->
<xs: attribute name = "receiverId" type = "xs: unsignedShort"/>
<! - ID value (unique value) of the receiver interface in the instance to which to deliver the message ->
<xs: attribute name = "minVersion" type = "xs: string"/>
<! - Enter the minimum value of the instance-supported version to pass ->
<xs: attribute name = "maxVersion" type = "xs: string"/>
<! - Enter the maximum value for the instance-supported version to pass ->
</ xs: complexType></ xs: element>

또한, 컨트롤러는 다음 표 7과 같은 속성을 가질 수 있다.In addition, the controller can have the attributes shown in Table 7 below.

<xs:attribute name="id" type="xs:unsignedShort" />
<!-- 인스턴스별로 인터페이스를 식별하기 위한 식별자로 사용. 자릿수는 최대 3자리까지 이용 가능-->
<xs:attribute name="name" type="xs:string" />
<!-- NAME은 인터페이스를 손쉽게 구분하기 위한 정보로 활용되며, 향후 인스턴스간 연결 시 해당 인스턴스의 인터페이스(I/F) 구분을 위해 사용자에게 제공되는 정보로 활용-->
</xs:complexType> </xs:element>
<xs: attribute name = "id" type = "xs: unsignedShort"/>
<! - Use as an identifier to identify the interface by instance. Digits can be used up to 3 digits ->
<xs: attribute name = "name" type = "xs: string"/>
<! - NAME is used as information to easily distinguish the interface, and is used as information provided to the user to distinguish the interface (I / F)
</ xs: complexType></ xs: element>

5. 인증 인터페이스(이하 'OAuth')는 인스턴스가 외부 써드 파티 서비스와 OAuth 기반 인증을 통한 연동 시 이용하는 인터페이스를 포함할 수 있다. 이를 위해, 사용자는 자신이 연결하고자 하는 대상 서비스의 OAuth 계정 인증을 선 진행하여야 하며, 이러한 OAuth 계정 인증은 인스턴스 위자드(Instance Wizard) 또는 OAuth 메뉴를 통해 별도로 진행될 수 있다.5. The authentication interface ('OAuth') may include an interface that an instance uses when interacting with external third party services and OAuth-based authentication. To do this, the user must first authenticate the OAuth account of the target service to which the user wants to connect. Such OAuth account authentication can be performed separately through the Instance Wizard or the OAuth menu.

개별 인스턴스 별로, 연동하기 위한 OAuth의 인증 정보가 설정 또는 설정 취소 될 수 있다. 예를 들어, 다수의 소셜 네트워크 서비스 계정을 각각의 인스턴스별로 다르게 설정/취소할 수 있다. For each instance, the authentication information of OAuth for interlocking can be set or unset. For example, you can configure / revoke multiple social network service accounts differently for each instance.

인스턴스는 OAuth 의 필요에 따라 해당 OAuth 연동이 필수인지 여부를 결정할 수 있다. 해당 정보는 'required' 속성을 통해 나타내며, 'required' 속성이 'true'로 설정된 경우, OAuth 연동이 정상적으로 이루어지지 않으면 해당 인스턴스는 동작(running) 상태가 될 수 없으며, 등록 후 인스턴스는 에러(error) 상태로 남게 된다.An instance can determine if the OAuth interworking is required, depending on the needs of OAuth. If the 'required' attribute is set to 'true', then the instance can not be in the running state if the OAuth linking is not successful, ) State.

OAuth 인터페이스는 다음 표 8과 같은 속성을 가질 수 있다.The OAuth interface can have the attributes shown in Table 8 below.

<xs:element name="oAuth"> <xs:complexType>
<!-- 인스턴스별로 인터페이스(I/F)를 식별하기 위한 식별자로 사용. 자릿수는 최대 3자리까지 이용 가능-->
<xs:attribute name="id" type="xs:unsignedShort" />
<!-- OAuth를 연동할 서비스 명을 기입. 일례로, 트위터(Twitter)는 'twitter', 페이스북(Facebook)은 'facebook', 구글(Google)은 'Google'과 같이 입력-->
<xs:attribute name="serviceName" type="xs:string" />
<!-- 연동할 Oauth 계정에서 이용할 정보에 대해 사용자에게 알려주는 설명을 기재. 예를 들어 어떠한 용도로 어느 정보에 접근하는지에 관한 정보 기술-->
<xs:attribute name="description" type="xs:string" />
</xs:complexType> </xs:element>
<xs: element name = "oAuth"><xs:complexType>
<! - Use as an identifier to identify the interface (I / F) by instance. Digits can be used up to 3 digits ->
<xs: attribute name = "id" type = "xs: unsignedShort"/>
<! - Enter the name of the service that will link OAuth. For example, Twitter is 'twitter', Facebook is 'facebook', Google is 'Google'->
<xs: attribute name = "serviceName" type = "xs: string"/>
<! - Provide a description that tells the user what information to use in the Oauth account to work with. For example, information technology for accessing information for what purpose ->
<xs: attribute name = "description" type = "xs: string"/>
</ xs: complexType></ xs: element>

이후에서는 인스턴스 호스팅을 위한 시스템이 지원하는 인스턴스의 데이터 타입에 대해 설명한다. 인스턴스의 데이터 타입의 경우, 인스턴스간의 메시지 전달 시 데이터 타입에 따른 처리의 명확성 이외에도 인스턴스 아이콘상에 디스플레이되는 단위 표시 부호를 나타내는 위해 더 이용될 수 있다.The following sections describe the data types of the instances that the system supports for instance hosting. In the case of the data type of the instance, in addition to the clarity of the processing according to the data type at the time of message transfer between the instances, further use may be made to indicate the unit display code displayed on the instance icon.

인스턴스의 데이터 타입은 인스턴스의 인터페이스별로 제공하는 단위 정보의 데이터 형을 의미할 수 있다. 인스턴스 호스팅을 위한 시스템에서는 보다 개발의 용이성과 사용자 직관적인 정보의 활용을 위해 기본적인 데이터 타입(일례로, W3C(World Wide Web Consortium) WebIDL(Web Interface Definition Language) 기준)을 제공하고, 일반적인 IoT 장치들의 사용 시 자주 사용하게 되는 데이터 셋을 별도로 제공할 수 있다. 일례로, 데이터 타입은 아래 표 9와 같이 제공될 수 있다.The data type of the instance may mean the data type of the unit information provided for each interface of the instance. The system for instance hosting provides basic data types (for example, the World Wide Web Consortium (W3C) Web Interface Definition Language (WebIDL) standard) for ease of development and user's intuitive use of information, Data sets that are frequently used can be provided separately. For example, the data type may be provided as shown in Table 9 below.

데이터 타입(Data Type)Data Type 설명(Description)Description 아이콘 표시(Icon Display)Icon Display percentpercent 비율ratio %% onoffonoff 온/오프On / off Control IconControl Icon celsiuscelsius 섭씨Celsius °C° C lockunlocklockunlock 락/언락Rock / unlock Control IconControl Icon luxlux 조명도의 실용단위Practical unit of lighting LuxLux kcalkcal 칼로리 단위Calorie unit KcalKcal CalCal 칼로리 단위Calorie unit CalCal stepssteps 스텝step StepsSteps floorfloor layer FF kilogramkilogram 질량의 단위Unit of mass KGKG gramgram 질량의 단위Unit of mass GG hourhour 시간의 단위Unit of time HH minuteminute 시간의 단위Unit of time minmin

표 9의 예 외에도, 강수량 등을 나타내기 위한 밀리미터(mm) 등과 같이 다양한 데이터 타입이 이용될 수 있다.In addition to the examples in Table 9, various data types may be used, such as millimeters (mm) to represent precipitation and the like.

인스턴스 호스팅에서는 사물 및 비즈니스 로직의 가상객체 생성 시 필수 정보 수집을 위한 스키마 구조가 제시될 수 있다. 주요한 구조로는 인스턴스 정보 기록부, 사물의 가상 객체화 시 이를 연동하기 위한 네트워크 어댑터 정보의 기술부, 인스턴스 별로 정의된 인터페이스 정보의 기술부 그리고 JS(JavaScript) 코드 기술부를 포함할 수 있으며, 그 내용은 일례로, 아래 표 10과 같이 제공될 수 있다.In instance hosting, a schema structure for collecting essential information when creating virtual objects of objects and business logic can be presented. The main structure may include an instance information recording unit, a description unit of network adapter information for linking the objects in virtualization of objects, a description unit of interface information defined for each instance, and a JS (JavaScript) code description unit. Can be provided as shown in Table 10 below.

<!-- 최상위 element로 instance 태그 사용 -->
<xs:element name="instance">
<xs:complexType><xs:sequence>

<!-- 최대 32자의 길이를 가지는 숫자, 영문, ‘_’ 조합의 unique ID로 기설정된 웹페이지를 통해 발급 받으며, 발급 시 Instance 관련 기본 정보를 등록하게 됨, Instance ID 값은 해당 Instance Profile의 대표 이름 값을 나타냄 -->
<xs:element name="instanceId">
<xs:simpleType> <xs:restriction base="xs:string">
<xs:pattern value="[a-zA-Z0-9_]+"/>
<xs:maxLength value="32"/>
</xs:restriction> </xs:simpleType>
</xs:element>

<!-- 최대 16자의 길이를 가지는 version -->
<xs:element name="instanceVersion">
<xs:simpleType> <xs:restriction base="xs:string">
<xs:pattern value="[0-9](.[0-9])+"/>
<xs:maxLength value="16"/>
</xs:restriction> </xs:simpleType>
</xs:element>

<!-- Instance의 정보를 가지고 있는 대표 url -->
<xs:element name="instanceDetailURL" type="xs:string"/>
<xs:element name="instanceDescription" type="xs:string" />
<!-- 인스턴스의 등록 및 등록 후 사용할 대표 Icon의 물리적 위치 (Icon은 Png, Jpg 형식이어야 하며 사이즈는 최대 96by96을 지원한다)-->
<xs:element name="instanceIconURL" type="xs:string" minOccurs="0" />
<!-- 인스턴스의 동작주기는 -1, 1이상의 정수로 최대 decimal 값의 크기를 따른다 -->
<xs:element name="instanceRunningPeriod" type="xs:decimal" />

<!-- 사물을 가상객체화 한 경우 사물과의 연동 인터페이스를 기술하기 위해 associatedThingInformation 엘리먼트상에 네트워크 어댑터 관련 정보를 기술하여야 한다 -->
<xs:element name="associatedThingInformation"> <xs:complexType> <xs:all minOccurs="1">

<!-- 사물의 명칭 정보를 입력 -->
<xs:element name="thingName" type="xs:string" />
<!-- 사물의 대표 이미지 정보 입력 -->
<xs:element name="thingImageURL" type="xs:string" />
<!-- 사물의 부가 정보 입력 -->
<xs:element name="thingDescription" type="xs:date" />

<!-- 사물의 정보 제공(송신) 물리 인터페이스 가상화-->
<xs:element name="feederInformation"> <xs:complexType>
<!-- 사물로부터 전달 받은 메시지를 인스턴스의 Subscriber Interface와 연결하기 위한 정보로 해당 어트리뷰트의 값은 연결하고자 하는 Subscriber Interface의 ID 값 기술한다. -->
<xs:attribute name="connectedInterfaceId" type="xs:unsignedShort"/>
<!-- 사물과의 연동시 사용할 실질적인 물리 인터페이스 (zigbee, wifi)의 정보를 입력 -->
<xs:attribute name="interface" type="xs:string"/>
<!-- 사물과의 연동시 사물의 정보를 송신할 MAC 주소값 -->
<xs:attribute name="src_mac_addr" type="xs:string"/>
<!-- 사물과의 연동시 사물의 IP 주소값 -->
<xs:attribute name="src_ip_addr" type="xs:string"/>
<!-- 사물과의 연동시 사물이 전달하는 메시지의 destination IP 주소값 (메시지를 Network Adaptor를 통해 후킹하는 경우 이용하게 되는 정보) -->
<xs:attribute name="dst_ip_addr" type="xs:string"/>
<!-- 사물과의 연동시 사물의 TCP Port 값 -->
<xs:attribute name="src_tcp_port" type="xs:string"/>
<!-- 사물과의 연동시 사물이 전달하는 메시지의 destination TCP Port값 (메시지를 Network Adaptor를 통해 후킹하는 경우 이용하게 되는 정보) -->
<xs:attribute name="dst_tcp_port" type="xs:string"/>
<!-- 사물과의 연동시 사물의 UDP Port 값 -->
<xs:attribute name="src_udp_port" type="xs:string"/>
<!-- 사물과의 연동시 사물이 전달하는 메시지의 destination UDP Port값 (메시지를 Network Adaptor를 통해 후킹하는 경우 이용하게 되는 정보) -->
<xs:attribute name="dst_udp_port" type="xs:string"/>
<!-- 사물과의 연동시 HTTP 메시지 통신 방식을 사용하는 경우 HTTP 요청을 위한 주소값-->
<xs:attribute name="http_request_uri" type="xs:string"/>
</xs:complexType> </xs:element>

<!-- 사물의 정보 수신 물리 인터페이스 가상화-->
<xs:element name="receiverInformation"> <xs:complexType>
<!-- 사물이 수신할 메시지에 대한 인스턴스의 Controller Interface와 연결하기 위한 정보로 해당 어트리뷰트의 값은 연결하고자 하는 Controller Interface의 ID 값 기술한다. -->
<xs:attribute name="connectedInterfaceId" type="xs:unsignedShort"/>
<!-- 사물과의 연동시 사용할 실질적인 물리 인터페이스 (zigbee, wifi)의 정보를 입력 -->
<xs:attribute name="interface" type="xs:string"/>
<!-- 사물과의 연동시 사물이 수신할 인터페이스의 MAC 주소값 -->
<xs:attribute name="dst_mac_addr" type="xs:string"/>
<!-- 사물과의 연동시 사물의 IP 주소값 -->
<xs:attribute name="src_ip_addr" type="xs:string"/>
<!-- 사물과의 연동시 사물이 전달하는 메시지의 destination IP 주소값 (메시지를 Network Adaptor를 통해 후킹하는 경우 이용하게 되는 정보) -->
<xs:attribute name="dst_ip_addr" type="xs:string"/>
<!-- 사물과의 연동시 사물의 TCP Port 값 -->
<xs:attribute name="src_tcp_port" type="xs:string"/>
<!-- 사물과의 연동시 사물이 전달하는 메시지의 destination TCP Port값 (메시지를 Network Adaptor를 통해 후킹하는 경우 이용하게 되는 정보) -->
<xs:attribute name="dst_tcp_port" type="xs:string"/>
<!-- 사물과의 연동시 사물의 UDP Port 값 -->
<xs:attribute name="src_udp_port" type="xs:string"/>
<!-- 사물과의 연동시 사물이 전달하는 메시지의 destination UDP Port값 (메시지를 Network Adaptor를 통해 후킹하는 경우 이용하게 되는 정보) -->
<xs:attribute name="dst_udp_port" type="xs:string"/>
<!-- 사물과의 연동시 HTTP 메시지 통신 방식을 사용하는 경우 HTTP 요청을 위한 주소값-->
<xs:attribute name="http_request_uri" type="xs:string"/>
</xs:complexType> </xs:element>

</xs:all> </xs:complexType> </xs:element>
<! - Use the instance tag as the top element ->
<xs: element name = "instance">
<xs: complexType><xs:sequence>

<! - It is issued through a web page set up with a unique ID of number, alphabet, and '_' combination of up to 32 characters in length, and basic information related to the Instance is registered at the time of issuance. Represents representative name value ->
<xs: element name = "instanceId">
<xs: simpleType><xs: restriction base = "xs: string">
<xs: pattern value = "[a-zA-Z0-9 _] +"/>
<xs: maxLength value = "32"/>
</ xs: restriction></ xs: simpleType>
</ xs: element>

<! - version with a length of up to 16 characters ->
<xs: element name = "instanceVersion">
<xs: simpleType><xs: restriction base = "xs: string">
<xs: pattern value = "[0-9] (. [0-9]) +"/>
<xs: maxLength value = "16"/>
</ xs: restriction></ xs: simpleType>
</ xs: element>

<! - The main url with information of the Instance ->
<xs: element name = "instanceDetailURL" type = "xs: string"/>
<xs: element name = "instanceDescription" type = "xs: string"/>
<! - Physical location of the icon to use after registering and registering the instance (Icon should be in Png, Jpg format and size is up to 96by96) ->
<xs: element name = "instanceIconURL" type = "xs: string" minOccurs = "0"/>
<! - The duration of the instance is -1, an integer greater than or equal to 1, followed by the size of the maximum decimal value ->
<xs: element name = "instanceRunningPeriod" type = "xs: decimal"/>

<! - If the object is a virtual object, the network adapter related information should be described on the associatedThingInformation element to describe the interworking interface with the object. ->
<xs: element name = "associatedThingInformation"><xs:complexType><xs: all minOccurs = "1">

<! - Enter the name information of the object ->
<xs: element name = "thingName" type = "xs: string"/>
<! - Enter representative image information of object ->
<xs: element name = "thingImageURL" type = "xs: string"/>
<! - Enter additional information of the object ->
<xs: element name = "thingDescription" type = "xs: date"/>

<! - Providing information of objects (sending) Physical interface virtualization ->
<xs: element name = "feederInformation"><xs:complexType>
<! - Information to connect the message received from the object to the subscriber interface of the instance. The value of the attribute describes the ID value of the Subscriber Interface to be connected. ->
<xs: attribute name = "connectedInterfaceId" type = "xs: unsignedShort"/>
<! - Enter the information of the physical interface (zigbee, wifi) to be used when linking with objects ->
<xs: attribute name = "interface" type = "xs: string"/>
<! - MAC address value to send information of object when linking with object ->
<xs: attribute name = "src_mac_addr" type = "xs: string"/>
<! - IP address value of object when linking with object ->
<xs: attribute name = "src_ip_addr" type = "xs: string"/>
<! - Destination IP address value of message delivered by object when linking with object (Information to use when hooking message through network adapter) ->
<xs: attribute name = "dst_ip_addr" type = "xs: string"/>
<! - TCP port value of object when connected with object ->
<xs: attribute name = "src_tcp_port" type = "xs: string"/>
<! - Destination TCP Port value of the message delivered by the object when connected with the object (information to use when hooking message through Network Adapter) ->
<xs: attribute name = "dst_tcp_port" type = "xs: string"/>
<! - UDP Port value of object when linking with object ->
<xs: attribute name = "src_udp_port" type = "xs: string"/>
<! - destination UDP Port value of the message delivered by the object when connected with the object (information to use when hooking message through Network Adapter) ->
<xs: attribute name = "dst_udp_port" type = "xs: string"/>
<! - Address value for HTTP request when using HTTP message communication method in conjunction with object ->
<xs: attribute name = "http_request_uri" type = "xs: string"/>
</ xs: complexType></ xs: element>

<! - Virtualization of the physical interface of receiving information of objects ->
<xs: element name = "receiverInformation"><xs:complexType>
<! - This is the information to connect with the controller interface of the instance for the message to be received. The value of the attribute describes the ID value of the Controller Interface to be connected. ->
<xs: attribute name = "connectedInterfaceId" type = "xs: unsignedShort"/>
<! - Enter the information of the physical interface (zigbee, wifi) to be used when linking with objects ->
<xs: attribute name = "interface" type = "xs: string"/>
<! - MAC address value of the interface to be received when the object is linked with the object ->
<xs: attribute name = "dst_mac_addr" type = "xs: string"/>
<! - IP address value of object when linking with object ->
<xs: attribute name = "src_ip_addr" type = "xs: string"/>
<! - Destination IP address value of message delivered by object when linking with object (Information to use when hooking message through network adapter) ->
<xs: attribute name = "dst_ip_addr" type = "xs: string"/>
<! - TCP port value of object when connected with object ->
<xs: attribute name = "src_tcp_port" type = "xs: string"/>
<! - Destination TCP Port value of the message delivered by the object when connected with the object (information to use when hooking message through Network Adapter) ->
<xs: attribute name = "dst_tcp_port" type = "xs: string"/>
<! - UDP Port value of object when linking with object ->
<xs: attribute name = "src_udp_port" type = "xs: string"/>
<! - destination UDP Port value of the message delivered by the object when connected with the object (information to use when hooking message through Network Adapter) ->
<xs: attribute name = "dst_udp_port" type = "xs: string"/>
<! - Address value for HTTP request when using HTTP message communication method in conjunction with object ->
<xs: attribute name = "http_request_uri" type = "xs: string"/>
</ xs: complexType></ xs: element>

</ xs: all></ xs: complexType></ xs: element>

위에서 설명한 인스턴스 매니저는 가상객체화의 동작 환경을 제공하는 동작 환경으로서, 일례로, V8 기반의 자바스크립트 엔진을 이용할 수 있으며, 인스턴스 호스팅을 위한 인스턴스 풀 및 메시지 라우터를 포함할 수 있다.The above-described instance manager is an operating environment for providing a virtual objectization operating environment. For example, the instance manager may use a V8-based JavaScript engine, and may include an instance pool for instance hosting and a message router.

도 7은 본 발명의 일실시예에 있어서, 인스턴스 매니저를 설명하기 위한 블록도이다. 인스턴스 매니저(700)는 인스턴스의 생성 및 동작과 관련과 관련된 주요 모듈들로서, 입출력 메시지를 라우팅하는 메시지 라우터(Message Router, 710), 인스턴스의 생애주기를 관리하고 스케쥴링하는 인스턴스 라이프사이클 매니저(Instance Lifecycle Manager, 720), 인스턴스 풀링(Pooling)을 위한 인스턴스 풀(Instance Pool, 730) 및 인스턴스 동작 환경을 제공하기 위한 엔진(V8, 740)을 포함할 수 있다.7 is a block diagram illustrating an instance manager in an embodiment of the present invention. The instance manager 700 includes a message router 710 for routing input / output messages, an instance lifecycle manager 710 for managing and scheduling the life cycle of the instance, 720, an instance pool 730 for instance pooling, and an engine V8 740 for providing an instance operating environment.

인터페이스 서버(750)는 인스턴스 매니저(700)와 타 모듈 및 외부 서비스간의 인터페이스 기능을 제공하며, 구조적으로는 요청을 받아 처리하기 위한 서버 부분(Server Module) 및 타 모듈 및 외부로 메시지 전달을 위한 클라이언트 부분(Client Module)으로 구성될 수 있다.The interface server 750 provides an interface function between the instance manager 700 and other modules and an external service. The interface server 750 structurally includes a server module and other modules for receiving and processing requests, and a client (Client Module).

인터페이스 서버(750)의 서버 모듈을 통한 서버 인터페이스의 기능은 다음과 같다.The function of the server interface through the server module of the interface server 750 is as follows.

인스턴스 상태 질의(Instance State Query) 기능 - 인스턴스 어플리케이션 서버(Instance Application Server, IAS) 및 네트워크 어댑터(Network Adaptor, NA)에서 인스턴스 매니저(700)상에서 실행중인 인스턴스의 상태를 알고 싶을 때, HTTP(Hyper Text Transfer Protocol) 요청(Request)을 통해 특정 인스턴스의 상태 정보를 알 수 있는 기능.Instance State Query Function When an Instance Application Server (IAS) and a Network Adapter (NA) want to know the status of an instance running on the Instance Manager 700, HTTP (Hyper Text Transfer Protocol A function that allows the status information of a specific instance to be known through a request.

인스턴스 상태 제어(Instance State Control) 기능 - 인스턴스 어플리케이션 서버에서 특정 인스턴스의 상태를 변경할 경우, HTTP 요청 통해 해당 인스턴스의 상태를 동작(Run)/정지(Stop)/보류(Suspend)상태로 변경할 수 있는 기능.Instance State Control (Instance State Control) - The ability to change the state of an instance to Run / Stop / Suspend through HTTP request when changing the state of a specific instance in the instance application server. .

인스턴스 설치 제어(Instance Deploy Control) 기능 - 인스턴스 어플리케이션 서버를 통해 새로운 인스턴스가 설치되거나, 기존의 인스턴스를 삭제하는 경우 HTTP 요청을 통해 인스턴스 매니저(700)에 해당 인스턴스에 대한 정보를 전달할 수 있는 기능.Instance Deploy Control - The ability to pass information about an instance to the instance manager 700 via an HTTP request when a new instance is installed or an existing instance is deleted through the instance application server.

사물 피드 제어(Thing Feed Control) 기능 - 네트워크 어댑터에서 수신한 물리적 사물(Physical Thing)의 메시지를 해당 인스턴스에게 HTTP 요청의 형태로 보낼(dispatch) 수 있는 기능.Thing Feed Control - The ability to send a physical Thing message received from a network adapter to the instance in the form of an HTTP request.

대표값 제어를 위한 인스턴스 상태 제어(Instance State Control for Representative Controller) 기능 - 인스턴스 어플리케이션 서버로부터 특정 인스턴스의 대표값 제어를 통해 인스턴스 상태를 변경한 경우 HTTP 요청의 형태로 메시지를 전달할 수 있는 기능.Instance State Control for Representative Control (Instance State Control for Representative Controller) - The ability to deliver a message in the form of an HTTP request when the instance state is changed through the control of the representative value of a particular instance from the instance application server.

인터페이스 서버(750)의 클라이언트 모듈을 통한 클라이언트 인터페이스의 기능은 특정 인스턴스가 외부 서비스로의 연결 요청을 하는 경우, 클라이언트 인터페이스를 이용하여 메시지를 전달할 수 있는 기능(특정 인스턴스가 OAuth 인증 서비스를 이용하는 경우)을 포함할 수 있다.The function of the client interface through the client module of the interface server 750 is a function of transmitting a message using a client interface when a specific instance makes a connection request to an external service (when a specific instance uses an OAuth authentication service) . &Lt; / RTI &gt;

또한, 도 7에서 인스턴스 API(Application Program Interface) 핸들러(Instance API Handler)는 인스턴스와 관련하여 외부로 제공될 오픈 API를 관리할 수 있으며, 데이터베이스 커낵터(DB Connector)는 RDBMS(Relational DataBase Management System)과의 연결을 위해 이용될 수 있다.7, the Instance API Handler can manage an open API to be provided externally with respect to an instance, and the DB Connector is a Relational Data Base Management System (RDBMS) Lt; / RTI &gt;

도 8은 본 발명의 일실시예에 있어서, 인스턴스 상태 질의 기능을 설명하기 위한 흐름도이다. 인스턴스 어플리케이션 서버(Instance Application Server, IAS)는 개별 인스턴스에 대한 상태 정보 제공을 위해, 인스턴스 상태 질의 기능을 통해 인스턴스 매니저(700)로 질의할 수 있다. 실행중인 인스턴스 매니저(700)상에서의 개별 인스턴스의 상태 관리는 인스턴스 라이프사이클 매니저(720)에서 담당할 수 있으며, 인스턴스 라이프사이클 매니저(720)는 인스턴스 식별자(ID) 값을 이용하여 해당 인스턴스의 상태 정보를 반환할 수 있다. 인스턴스의 상태정보는 동작(Run), 보류(Suspend), 정지(Stop) 및 에러(Error)와 같은 상태 값을 가질 수 있다.8 is a flowchart for explaining an instance status query function in an embodiment of the present invention. The instance application server (IAS) can query the instance manager 700 through the instance status query function to provide status information for individual instances. The state management of the individual instances on the running instance manager 700 can be handled by the instance life cycle manager 720 and the instance life cycle manager 720 can use the instance identifier (ID) . &Lt; / RTI &gt; The state information of the instance may have status values such as Run, Suspend, Stop and Error.

단계(810)에서 인터페이스 서버(750)는 서버 모듈을 통해 HTTP 요청 메시지를 수신할 수 있다. 일례로, 인터페이스 서버(750)는 인스턴스 어플리케이션 서버(Instance Application Server, IAS)나 네트워크 어댑터(Network Adaptor, NA) 또는 외부 웹 서비스(External Web Services, EWS)로부터 HTTP 요청 메시지를 수신할 수 있다.In step 810, the interface server 750 may receive the HTTP request message through the server module. In one example, the interface server 750 may receive an HTTP request message from an instance application server (IAS), a network adapter (NA), or an external web service (EWS).

단계(820)에서 인터페이스 서버(750)는 인스턴스 상태를 얻기 위한 메시지를 생성하여 메시지 라우터(710)로 전달할 수 있다.In step 820, the interface server 750 may generate a message to obtain the instance status and forward it to the message router 710.

단계(830)에서 메시지 라우터(710)는 인스턴스 상태를 얻기 위한 메시지를 파싱하여 인스턴스 라이프사이클 매니저(720)로 전달할 수 있다.In step 830, the message router 710 may parse the message to obtain the instance status and forward it to the instance lifecycle manager 720. [

단계(840)에서 인스턴스 라이프사이클 매니저(720)는 등록된 인스턴스 상태 정보를 조회하여, 인스턴스 식별자의 조회가 성공한 경우 해당 인스턴스에 대한 상태 메시지를 생성할 수 있고, 인스턴스 식별자의 조회가 실패한 경우 인스턴스 정보 없음 메시지를 생성할 수 있다. 일례로, 상태 메시지는, 동작(Run), 보류(Suspend), 정지(Stop) 및 에러(Error)와 같은 상태 값을 포함할 수 있다.In step 840, the instance lifecycle manager 720 may query the registered instance state information to generate a status message for the instance if the instance identifier is successfully queried. If the instance identifier search fails, No message can be generated. For example, the status message may include status values such as Run, Suspend, Stop, and Error.

단계(850)에서 인터페이스 서버(750)는 서버 모듈을 통해 HTTP요청 메시지에 대한 응답을 제공할 수 있다. 일례로, 인터페이스 서버(750)는 단계(840)에서 생성되는 상태 메시지 또는 정보 없음 메시지를 서버 모듈을 통해 HTTP요청 메시지에 대한 응답으로 제공할 수 있다.In step 850, the interface server 750 may provide a response to the HTTP request message through the server module. In one example, the interface server 750 may provide a status message or no information message, which is generated in step 840, in response to the HTTP request message through the server module.

도 9는 본 발명의 일실시예에 있어서, 인스턴스 상태 제어 기능을 설명하기 위한 흐름도이다. 인스턴스 어플리케이션 서버는 개별 인스턴스에 대한 상태를 변경하고자 하는 경우, 인스턴스 상태 제어 기능을 이용할 수 있다. 상태를 변경하고자 하는 인스턴스의 식별자 정보를 이용하여 메시지가 전달되면, 인스턴스 라이프사이클 매니저(720)는 해당 인스턴스의 상태를 변경할 수 있다. 이때 변경 가능한 상태는 동작(Run), 보류(Suspend) 및 정지(Stop) 상태를 포함할 수 있다.9 is a flowchart for explaining an instance state control function in an embodiment of the present invention. The instance application server can use the instance state control function if it wants to change the state for an individual instance. When a message is delivered using the identifier information of the instance whose state is to be changed, the instance lifecycle manager 720 can change the state of the instance. At this time, the changeable state may include a state of Run, a state of Suspend, and a state of Stop.

단계(910)에서 인터페이스 서버(750)는 서버 모듈을 통해 HTTP 요청 메시지를 수신할 수 있다. 일례로, 인터페이스 서버(750)는 인스턴스 어플리케이션 서버나 네트워크 어댑터 또는 외부 웹 서비스로부터 HTTP 요청 메시지를 수신할 수 있다.In step 910, the interface server 750 may receive the HTTP request message through the server module. In one example, the interface server 750 may receive an HTTP request message from an instance application server, a network adapter, or an external web service.

단계(920)에서 인터페이스 서버(750)는 인스턴스 상태 설정을 위한 메시지를 생성하여 메시지 라우터(710)로 전달할 수 있다.In step 920, the interface server 750 may generate a message for instance state setup and forward it to the message router 710.

단계(930)에서 메시지 라우터(710)는 인스턴스 상태 설정을 위한 메시지를 파싱하여 인스턴스 라이프사이클 매니저(720)로 전달할 수 있다.At step 930, the message router 710 may parse the message for instance status establishment and forward it to the instance lifecycle manager 720. [

단계(940)에서 인스턴스 라이프사이클 매니저(720)는 등록된 인스턴스 상태 정보를 조회하여, 인스턴스 식별자의 조회가 성공한 경우 해당 인스턴스에 대한 상태 정보를 변경할 수 있고, 인스턴스 식별자의 조회가 실패한 경우 인스턴스 정보 없음 메시지를 생성할 수 있다. 예를 들어, 인스턴스 라이프사이클 매니저(720)는 인스턴스 식별자의 조회가 성공한 경우, 해당 인스턴스의 상태를 HTTP 요청 메시지에 따라 동작(Run), 보류(Suspend) 및 정지(Stop) 중 하나의 상태로 변경할 수 있다.In step 940, the instance lifecycle manager 720 may query the registered instance state information to change the state information for the instance if the instance identifier is successfully queried. If the instance identifier search fails, Message can be generated. For example, when the instance identifier is successfully retrieved, the instance lifecycle manager 720 changes the state of the instance to a state of one of Run, Suspend, and Stop according to the HTTP request message. .

단계(950)에서 인터페이스 서버(750)는 서버 모듈을 통해 HTTP요청 메시지에 대한 응답을 제공할 수 있다. 일례로, 인터페이스 서버(750)는 단계(940)에서 상태 정보의 변경에 따라 생성되는 응답 메시지 또는 정보 없음 메시지를 서버 모듈을 통해 HTTP요청 메시지에 대한 응답으로 제공할 수 있다.In step 950, the interface server 750 may provide a response to the HTTP request message through the server module. In step 940, the interface server 750 may provide a response message or a no information message, which is generated according to the change of the status information, in response to the HTTP request message through the server module.

도 10은 본 발명의 일실시예에 있어서, 인스턴스 설치 제어 기능을 설명하기 위한 흐름도이다. 인스턴스 어플리케이션 서버는 새로운 인스턴스를 설치(Deploy)하거나 기존의 인스턴스를 삭제(Undeploy) 하고자 하는 경우, 인스턴스 설치 제어 기능을 이용할 수 있다. 상태를 변경하고자 하는 인스턴스 식별자 정보를 이용하여 메시지가 전달되면, 인스턴스 라이프사이클 매니저(720)는 해당 인스턴스의 상태를 변경할 수 있다. 이때, 삭제된 인스턴스는 인스턴스 풀(730)에서 제외될 수 있다.10 is a flowchart for explaining an instance installation control function in an embodiment of the present invention. Instance The application server can take advantage of instance installation control if you want to deploy a new instance or to undeploy an existing instance. When a message is delivered using the instance identifier information for which the state is to be changed, the instance lifecycle manager 720 can change the state of the instance. At this time, the deleted instance may be excluded from the instance pool 730.

단계(1010)에서 인터페이스 서버(750)는 서버 모듈을 통해 HTTP 요청 메시지를 수신할 수 있다. 일례로, 인터페이스 서버(750)는 인스턴스 어플리케이션 서버나 네트워크 어댑터 또는 외부 웹 서비스로부터 HTTP 요청 메시지를 수신할 수 있다.In step 1010, the interface server 750 may receive the HTTP request message through the server module. In one example, the interface server 750 may receive an HTTP request message from an instance application server, a network adapter, or an external web service.

단계(1020)에서 인터페이스 서버(750)는 인스턴스 설치 메시지 또는 인스턴스 삭제 메시지를 생성하여 메시지 라우터(710)로 전달할 수 있다.In step 1020, the interface server 750 may generate an instance install message or an instance delete message and forward it to the message router 710.

단계(1030)에서 메시지 라우터(710)는 인스턴스 설치 메시지 또는 인스턴스 삭제 메시지를 파싱하여 인스턴스 라이프사이클 매니저(720)로 전달할 수 있다.In step 1030, the message router 710 may parse and forward the instance setup message or instance deletion message to the instance lifecycle manager 720.

단계(1040)에서 인스턴스 라이프사이클 매니저(720)는 전달된 메시지가 인스턴스 설치 메시지인 경우 신규 인스턴스의 등록 및 신규 인스턴스의 식별자의 생성을 요청할 수 있고, 전달된 메시지가 인스턴스 삭제 메시지인 경우 등록된 인스턴스를 삭제할 수 있다. 이때, 신규 인스턴스의 등록 및 식별자의 생성에 대한 요청은 인스턴스 풀(730)로 전달될 수 있고, 인스턴스 풀(730)에 신규 인스턴스가 생성되는 경우, 생성된 인스턴스의 식별자가 인스턴스 라이프사이클 매니저(720)로 반환될 수 있다. 또한, 인스턴스 라이프사이클 매니저(720)는 해당 인스턴스의 삭제를 위해, 등록된 인스턴스 상태 정보를 조회하여 인스턴스 식별자의 조회가 성공한 경우, 해당 인스턴스의 상태를 종료(Stop) 상태로 변경한 후, 등록되어 있는 인스턴스에 대한 정보를 삭제할 수 있다.In step 1040, the instance lifecycle manager 720 may request registration of a new instance and generation of an identifier of a new instance if the forwarded message is an instance installation message, and if the forwarded message is an instance deletion message, Can be deleted. At this time, the registration of the new instance and the request for the generation of the identifier can be forwarded to the instance pool 730, and when a new instance is created in the instance pool 730, the identifier of the created instance is stored in the instance lifecycle manager 720 ). &Lt; / RTI &gt; In addition, the instance lifecycle manager 720 inquires the registered instance state information for deletion of the corresponding instance, and if the instance identifier is successfully retrieved, the instance lifecycle manager 720 changes the state of the instance to a stop state, You can delete information about an instance.

단계(1050)에서 인터페이스 서버(750)는 서버 모듈을 통해 HTTP요청 메시지에 대한 응답을 제공할 수 있다. 예를 들어, 인스턴스 설치 메시지에 따라 신규 인스턴스가 생성된 경우, 인터페이스 서버(750)는 생성된 신규 인스턴스의 식별자를 포함하는 메시지를 제공할 수 있다. 다른 예로, 인스턴스 삭제 메시지에 따라 인스턴스가 삭제된 경우, 인터페이스 서버(750)는 해당 인스턴스가 삭제되었음을 알리기 위한 메시지를 제공할 수 있다. 또 다른 예로, 삭제하고자 하는 인스턴스가 인스턴스 라이프사이클 매니저(720)에 등록되어 있지 않은 경우, 인터페이스 서버(750)는 인스턴스 정보 없음 메시지를 제공할 수 있다.In step 1050, the interface server 750 may provide a response to the HTTP request message through the server module. For example, if a new instance is created according to the instance installation message, the interface server 750 may provide a message including the identifier of the created new instance. As another example, if the instance is deleted according to the delete instance message, the interface server 750 may provide a message to notify that the instance has been deleted. As another example, if the instance to be deleted is not registered in the instance lifecycle manager 720, the interface server 750 may provide an instance information message.

도 11은 본 발명의 일실시예에 있어서, 사물 피드 제어 기능을 설명하기 위한 블록도이다. 사물 피드 제어 기능은 네트워크 어댑터로부터 수신한 사물의 메시지를 특정 인스턴스에게 보내기(Dispatch) 위한 기능을 제공할 수 있다. 인터페이스 서버(750)는 서버 모듈을 이용하여 네트워크 어댑터로부터 메시지 수신하는 경우, 메시지 라우터(710)에게 메시지를 HTTP 요청 방식을 이용하여 전달할 수 있고, 네트워크 어댑터에게는 응답 메시지를 전달할 수 있다. 메시지 라우터(710)는 별개의 스레드(Thread)를 이용하여 인터페이스 서버(750)의 서버 모듈로부터 수신한 메시지를 해당 인스턴스 피드상에 추가할 수 있고, 트리거(Trigger)를 이용하여 구독(Subscribe) 중인 인스턴스들이 호출될 수 있도록 인스턴스 라이프사이클 매니저(720)상의 인스턴스 스케쥴러에 스케쥴을 등록할 수 있다.11 is a block diagram illustrating an object feed control function in an embodiment of the present invention. The object feed control function can provide a function to dispatch a message of a received object from a network adapter to a specific instance. When the interface server 750 receives a message from the network adapter using the server module, the interface server 750 can deliver the message to the message router 710 using the HTTP request method, and can transmit the response message to the network adapter. The message router 710 may add a message received from the server module of the interface server 750 to the corresponding instance feed using a separate thread and may use a trigger The instances can be registered in the instance scheduler on the instance lifecycle manager 720 so that they can be invoked.

단계(1110)에서 네트워크 어댑터는 메시지 리스닝 테이블(Message Listening Table) 정보를 이용하여 해당 메시지의 송신 장치(사물) 정보를 인식할 수 있다. 예를 들어, 네트워크 어댑터는 메시지를 전송하는 사물에 대한 정보를 메시지 리스닝 테이블을 통해 인식함으로써, 필요한 인스턴스 식별자를 획득할 수 있다.In step 1110, the network adapter can recognize information on a transmitting apparatus (object) of the message using message listening table information. For example, the network adapter can acquire the necessary instance identifier by recognizing information about the object that transmits the message through the message listening table.

단계(1120)에서 네트워크 어댑터는 인터페이스 서버(750)의 서버 모듈로 HTTP 요청 메시지를 전송할 수 있다.In step 1120, the network adapter may send an HTTP request message to the server module of the interface server 750.

단계(1130)에서 인터페이스 서버(750)는 서버 모듈을 통해 HTTP 요청 메시지를 수신하여 메시지 라우터(710)로 전달할 수 있다.In step 1130, the interface server 750 may receive the HTTP request message through the server module and forward it to the message router 710.

단계(1140)에서 메시지 라우터(710)는 인스턴스 풀(730)에 해당 인스턴스가 존재하는지 여부를 확인하고, 해당 인스턴스의 서브스크라이버 인터페이스의 메시지 큐에 HTTP 요청 메시지와 연관된 데이터를 저장할 수 있다.In step 1140, the message router 710 may determine whether the instance exists in the instance pool 730 and store the data associated with the HTTP request message in the message queue of the subscriber interface of the instance.

단계(1150)에서 메시지 라우터(710)는 인터페이스 서버(750)의 서버 모듈을 통해 HTTP 요청 메시지에 대한 응답을 제공할 수 있다.In step 1150, the message router 710 may provide a response to the HTTP request message through the server module of the interface server 750.

도 12는 본 발명의 일실시예에 있어서, 스케쥴 등록 방법을 설명하기 위한 흐름도이다. 본 실시예에 따른 스케쥴 등록 방법에 포함된 단계들은 도 11에서 설명한 단계(1140) 및 단계(1150) 사이에 포함될 수 있다.12 is a flowchart for explaining a schedule registration method according to an embodiment of the present invention. The steps included in the schedule registration method according to the present embodiment may be included between steps 1140 and 1150 described in FIG.

단계(1210)에서 메시지 라우터(710)는 인스턴스 라이프사이클 매니저(720)로 특정 인스턴스에 대한 메시지 피드 정보 업데이트를 알릴 수 있다.In step 1210, the message router 710 may notify the instance lifecycle manager 720 of the message feed information update for the particular instance.

단계(1220)에서 인스턴스 라이프사이클 매니저(720)는 해당 인스턴스의 피드에 대해 구독 중인 인스턴스들의 트리거 여부를 판단하여, 트리거가 존재하는 인스턴스를 위한 스케쥴을 등록할 수 있다. 일례로, 등록되는 스케쥴은 인스턴스의 즉시 동작을 위한 스케쥴을 포함할 수 있다.In step 1220, the instance lifecycle manager 720 may determine whether to trigger the subscription instances for the feed of the instance, and register the schedule for the instance in which the trigger exists. In one example, the registered schedule may include a schedule for immediate operation of the instance.

도 11의 단계(1150)에서 메시지 라우터(710)는 도 12에서 설명한 트리거가 존재하는 인스턴스를 위한 스케쥴이 등록된 경우, 네트워크 어댑터로부터의 HTTP 요청 메시지에 따라 장치(사물)로부터의 메시지가 인스턴스에 반영되었음을 알리는 메시지를 응답으로 제공할 수 있다. 반대로, 트리거가 존재하는 인스턴스를 위한 스케쥴이 등록되지 않은 경우, 메시지 라우터(710)는 해당 인스턴스가 존재하지 하지 않음을 나타내는 메시지를 응답으로 제공할 수 있다.In step 1150 of FIG. 11, if the schedule for the instance in which the trigger described in FIG. 12 exists is registered, the message router 710 sends a message from the device (object) to the instance in accordance with the HTTP request message from the network adapter It is possible to provide a response in response to the notification. Conversely, if a schedule for an instance in which a trigger exists is not registered, the message router 710 may respond in a message indicating that the instance does not exist.

도 13 내지 도 15는 본 발명의 일실시예에 있어서, 인스턴스 위자드를 설명하기 위한 도면들이다.13 to 15 are diagrams for explaining an instance wizard in an embodiment of the present invention.

제1 화면(1300)은 웹을 통해 제공되는 인스턴스 위자드를 이용하여 인스턴스 정보를 입력하는 제1 단계를 나타내고 있다. 제1 단계에서는 인스턴스의 이름, 태그, IoT 노드의 프로파일이 저장된 URL 등에 대한 정보들이 입력될 수 있다.The first screen 1300 shows a first step of inputting instance information using the instance wizard provided through the web. In the first step, information on the name of the instance, the tag, the URL where the profile of the IoT node is stored, and the like can be inputted.

제2 화면(1400)은 웹을 통해 제공되는 인스턴스 위자드를 이용하여 인스턴스 정보를 입력하는 제2 단계를 나타내고 있다. 제2 단계에서는 인스턴스 아이콘을 선택하기 위한 사용자 인터페이스, 인스턴스의 상태를 선택하기 위한 사용자 인터페이스, 컨트롤러를 선택하기 위한 사용자 인터페이스, 대표값의 단위를 선택하기 위한 사용자 인터페이스 등이 제공될 수 있고, 사용자는 제공된 사용자 인터페이스들을 이용하여 인스턴스에 대한 다양한 정보들을 입력할 수 있다.The second screen 1400 shows a second step of inputting the instance information using the instance wizard provided through the web. In the second step, a user interface for selecting the instance icon, a user interface for selecting the state of the instance, a user interface for selecting the controller, a user interface for selecting the unit of the representative value, Various information about the instance can be input using the provided user interfaces.

제3 화면(1500)은 웹을 통해 제공되는 인스턴스 위자드를 이용하여 인스턴스 정보를 입력하는 제3 단계를 나타내고 있다. 제3 단계에서는 사용자와 관련된 외부 서비스를 통해 조건에 따른 정보를 제공받기 위한 정보가 설정될 수 있다.The third screen 1500 shows a third step of inputting the instance information using the instance wizard provided through the web. In the third step, information for receiving the conditional information through the external service related to the user can be set.

예를 들어, 제1 화면(1300)을 통해 설정(프로파일의 URL에 기초하여)한 IoT 노드에서 물의 양에 대한 정보가 감지될 수 있고, IoT 노드에서 네트워크 어댑터를 통해 인스턴스 매니저로 물의 양에 대한 정보가 포함된 메시지를 전송할 수 있다. 이때, 도 11 및 도 12를 통해 설명한 바와 같이, 메시지가 처리되어 인스턴스의 동작이 스케쥴링될 수 있다. 이때, 제3 화면(1500)에 나타난 바와 같이, 물의 양이 10% 미만이 되면, 외부 서비스 A를 통해 알림이 제공될 수 있다. 이 경우, 제2 화면(1400)에서는 10% 미만이라는 조건을 위해 비율에 대한 데이터 타입이 설정될 수 있다.For example, information about the amount of water at one IoT node (based on the URL of the profile) can be sensed through the first screen 1300, and the amount of water from the IoT node to the instance manager via the network adapter A message containing information can be transmitted. At this time, as described with reference to FIGS. 11 and 12, the message may be processed and the operation of the instance may be scheduled. At this time, as shown in the third screen 1500, when the amount of water becomes less than 10%, a notification can be provided through the external service A. In this case, the data type for the ratio may be set for the condition that the second screen 1400 is less than 10%.

도 16은 본 발명의 일실시예에 있어서, 매시업 인스턴스를 위한 추가 설정 및 외부 서비스 인증 요청을 설명하기 위한 도면이다. 매시업 인스턴스는, 인스턴스간 연동을 처리한다. 따라서, 화면(1600)에서는 매시업 인스턴스를 위해 서브스크라이버 인터페이스를 위한 피더 인터페이스를 대표값(센서측)에 따라 선택하는 인터페이스와 컨트롤러 인터페이스를 위한 리시버 인터페이스를 대표값(제어 기기측)에 따라 선택하는 인터페이스를 각각 나타내고 있다. 또한, 매시업 인스턴스는 인스턴스와 외부 서비스간 연동을 처리한다. 따라서, 화면(1600)에서는 외부 서비스로의 인증 요청(OAuth request)을 위한 인터페이스를 나타내고 있다.16 is a diagram for explaining an additional setting and an external service authentication request for a mashup instance in an embodiment of the present invention. The mashup instance handles inter-instance interactions. Accordingly, in the screen 1600, an interface for selecting a feeder interface for a subscriber interface for a mashup instance according to a representative value (sensor side) and a receiver interface for a controller interface are selected according to a representative value (control device side) Respectively. In addition, the mashup instance handles interworking between instances and external services. Accordingly, the screen 1600 shows an interface for an authentication request (OAuth request) to an external service.

도 17은 본 발명의 일실시예에 있어서, 오픈 API를 설명하기 위한 도면이다. 화면(1700)은 인스턴스의 피더 인터페이스를 통해 노출되는 값들에 대한 오픈 API를 설정하기 위한 인터페이스를 나타내고 있다. 예를 들어, 화면(1700)에서는 'Livingroom'과 'Hee's room' 각각의 인스턴스에 대해, 오픈 API를 설정하기 위한 인터페이스를 나타내고 있다. 이미 설명한 바와 같이 피더 인터페이스는, 장치(사물)로부터 받은 메시지를 판독 후 타 서비스(외부 서비스)로 전달할 수 있다. 이때, 인스턴스의 처리와 관련된 기능을 API의 형태로 외부 서비스에 제공할 수 있다. 이때, 외부 서비스로 제공될 오픈 API를 위한 설명 문서가 제공될 수 있으며, 설명 문서에 대한 URL이 다음 표 11의 일례와 같이 제공될 수 있다.17 is a diagram for explaining an open API in an embodiment of the present invention. Screen 1700 represents an interface for setting an open API for values exposed through an instance feeder interface. For example, in the screen 1700, an interface for setting an open API for each instance of 'Livingroom' and 'Hee's room' is shown. As already described, the feeder interface can read a message received from a device (object) and then forward it to another service (external service). At this time, the function related to the processing of the instance can be provided to the external service in the form of API. At this time, a description document for an open API to be provided as an external service may be provided, and a URL for the description document may be provided as shown in an example of Table 11 below.

http://$userID$.instancehosting.com/instanceId/$instanceID$/description.html
* 변수값들의 경우 ‘$’로 표기해 구분
http: //$userID$.instancehosting.com/instanceId/$instanceID$/description.html
* Variable values are indicated by '$'.

화면(1700)에서 'Key/URL'은 상술한 설명 문서에 대한 URL을 입력하기 위한 인터페이스를 제공할 수 있다.In the screen 1700, 'Key / URL' may provide an interface for inputting the URL for the above described description document.

도 18은 본 발명의 일실시예에 있어서, 서비스 방법을 도시한 흐름도이다. 본 실시예에 따른 서비스 방법은 적어도 하나의 프로그램이 저장된 적어도 하나의 스토리지 유닛 및 적어도 하나의 프로세서를 포함하는 서비스 시스템에 의해 수행될 수 있다. 이때, 서비스 방법이 포함하는 단계들은 적어도 하나의 프로그램의 제어에 따라 적어도 하나의 프로세서에 의해 처리될 수 있다.18 is a flowchart showing a service method in an embodiment of the present invention. A service method according to the present embodiment can be performed by a service system including at least one storage unit and at least one processor in which at least one program is stored. At this time, the steps included in the service method may be processed by at least one processor in accordance with control of at least one program.

단계(1810)에서 서비스 시스템은 사용자에게 제공되는 웹페이지의 단계별 설정 기능을 통해 입력된, 사물(Thing)에 대한 가상화 오브젝트(Virtualization Object)의 인스턴스에 대한 정보를 확인할 수 있다. 일례로, 단계별 설정 기능은, 인스턴스의 이름을 입력받기 위한 사용자 인터페이스, 상기 인스턴스의 태그를 입력받기 위한 사용자 인터페이스, IoT 노드의 프로파일이 저장된 URL을 입력받기 위한 사용자 인터페이스, 인스턴스 아이콘을 선택하기 위한 사용자 인터페이스, 인스턴스의 상태를 선택하기 위한 사용자 인터페이스, 컨트롤러를 선택하기 위한 사용자 인터페이스 및 대표값의 단위를 선택하기 위한 사용자 인터페이스 중 복수의 사용자 인터페이스들을 단계적으로 상기 사용자에게 노출할 수 있다.In step 1810, the service system can check information about an instance of a virtualization object for a Thing, which is input through a step-by-step setting function of a web page provided to the user. For example, the step-by-step setting function includes a user interface for inputting a name of an instance, a user interface for inputting a tag of the instance, a user interface for inputting a URL storing a profile of the IoT node, A user interface for selecting a state of an instance, a user interface for selecting a state of an instance, a user interface for selecting a controller, and a user interface for selecting a unit of a representative value.

단계(1820)에서 서비스 시스템은 웹페이지의 외부 서비스 연결 기능을 통해 입력된 외부 서비스에 대한 정보를 이용하여 외부 서비스와의 인증을 수행할 수 있다. 일례로, 외부 서비스 연결 기능은, 외부 서비스에 대한 사용자의 계정 정보를 입력받기 위한 사용자 인터페이스를 포함할 수 있다.In step 1820, the service system may perform authentication with the external service using the information on the external service input through the external service connection function of the web page. For example, the external service connection function may include a user interface for receiving the user's account information for the external service.

단계(1830)에서 서비스 시스템은 웹페이지의 오픈 API(Application Program Interface) 설정 기능을 통해 입력된 정보를 이용하여 외부 서비스로 오픈 API를 제공할 수 있다. 일례로, 오픈 API 설정 기능은, 오픈 API의 설명 문서가 포함된 위치 정보를 입력 받기 위한 사용자 인터페이스를 포함할 수 있다.In step 1830, the service system may provide an open API to an external service using the information input through the open API (application program interface) setting function of the web page. For example, the open API setting function may include a user interface for receiving location information including a description document of the open API.

다른 실시예에 따른 서비스 방법은 도 18을 통해 설명한 단계들(1810 내지 1830) 이외에 웹페이지를 통해 인스턴스별 아이콘을 표시하는 단계(미도시)를 더 포함할 수 있다. 이때, 아이콘이 표시되는 영역을 통해, 인스턴스에 대한 컨트롤 기능 및 인스턴스의 대표값이 표시될 수 있다. 예를 들어, 온도를 출력하는 인스턴스의 경우 대표값으로 '23°C'와 같은 정보가 표시될 수 있다. 인스턴스에 대한 컨트롤 기능은 온/오프 설정 기능 또는 락/언락(lock/unlock) 설정 기능 등을 포함할 수 있다. 또한, 필요에 따라 선택적으로 상기 영역을 통해 인스턴스의 상태가 더 표시될 수 있다. 예를 들어, 상태바의 색에 따라 인스턴스의 상태가 표시될 수 있다.The service method according to another embodiment may further include a step (not shown) of displaying an instance-specific icon via a web page in addition to the steps 1810 to 1830 described with reference to FIG. At this time, the control function for the instance and the representative value of the instance can be displayed through the area where the icon is displayed. For example, for instances that output temperatures, information such as '23 ° C' may be displayed as a representative value. The control function for the instance may include an on / off setting function or a lock / unlock setting function. Further, the state of the instance can be further displayed through the region, optionally as required. For example, the status of an instance can be displayed according to the color of the status bar.

다른 실시예에 따른 서비스 방법은, 사용자의 요청을 수신하는 단계(미도시) 및 사용자의 요청에 따라 웹페이지를 제공하는 단계(미도시)를 포함할 수 있다. 이때, 웹페이지는 사물(Thing)에 대한 가상화 오브젝트(Virtualization Object)의 인스턴스에 대한 정보를 입력받기 위한 단계별 설정 기능, 외부 서비스와의 인증을 위한 정보를 입력받기 위한 외부 서비스 연결 기능 및 상기 외부 서비스로 제공하기 위한 오픈 API에 대한 정보를 입력받기 위한 오픈 API 설정 기능을 포함할 수 있다. 이러한 다른 실시예에 따른 서비스 방법은 적어도 하나의 프로그램이 저장된 적어도 하나의 스토리지 유닛 및 적어도 하나의 프로세서를 포함하는 서비스 시스템에 의해 수행될 수 있다. 이때, 서비스 방법이 포함하는 단계들은 적어도 하나의 프로그램의 제어에 따라 적어도 하나의 프로세서에 의해 처리될 수 있다.The service method according to another embodiment may include a step (not shown) of receiving a user's request and a step (not shown) of providing a web page according to a request of the user. At this time, the web page includes a step-setting function for receiving information on an instance of a virtualization object for a Thing, an external service connection function for receiving information for authentication with an external service, And an open API setting function for inputting information about the open API for providing the open API. A service method according to this alternative embodiment may be performed by a service system comprising at least one storage unit and at least one processor in which at least one program is stored. At this time, the steps included in the service method may be processed by at least one processor in accordance with control of at least one program.

이와 같이, 본 발명의 실시예들에 따르면, IoT(Internet of Things), WoT(Web of Things) 또는 WoO(Web of Objects) 환경에서 이기종의 기기들이나 다양한 서비스들을 연동 또는 융합하여 관리하고, 통합적으로 서비스를 제공할 수 있다.As described above, according to the embodiments of the present invention, heterogeneous devices and various services can be interlinked or fused in IoT (Internet of Things), WoT (Web of Things) or WoO (Web of Objects) Service can be provided.

이상에서 설명된 장치는 하드웨어 구성요소, 소프트웨어 구성요소, 및/또는 하드웨어 구성요소 및 소프트웨어 구성요소의 조합으로 구현될 수 있다. 예를 들어, 실시예들에서 설명된 장치 및 구성요소는, 예를 들어, 프로세서, 콘트롤러, ALU(arithmetic logic unit), 디지털 신호 프로세서(digital signal processor), 마이크로컴퓨터, FPA(field programmable array), PLU(programmable logic unit), 마이크로프로세서, 또는 명령(instruction)을 실행하고 응답할 수 있는 다른 어떠한 장치와 같이, 하나 이상의 범용 컴퓨터 또는 특수 목적 컴퓨터를 이용하여 구현될 수 있다. 처리 장치는 운영 체제(OS) 및 상기 운영 체제 상에서 수행되는 하나 이상의 소프트웨어 애플리케이션을 수행할 수 있다. 또한, 처리 장치는 소프트웨어의 실행에 응답하여, 데이터를 접근, 저장, 조작, 처리 및 생성할 수도 있다. 이해의 편의를 위하여, 처리 장치는 하나가 사용되는 것으로 설명된 경우도 있지만, 해당 기술분야에서 통상의 지식을 가진 자는, 처리 장치가 복수 개의 처리 요소(processing element) 및/또는 복수 유형의 처리 요소를 포함할 수 있음을 알 수 있다. 예를 들어, 처리 장치는 복수 개의 프로세서 또는 하나의 프로세서 및 하나의 콘트롤러를 포함할 수 있다. 또한, 병렬 프로세서(parallel processor)와 같은, 다른 처리 구성(processing configuration)도 가능하다.The apparatus described above may be implemented as a hardware component, a software component, and / or a combination of hardware components and software components. For example, the apparatus and components described in the embodiments may be implemented within a computer system, such as, for example, a processor, a controller, an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable array (FPA) A programmable logic unit (PLU), a microprocessor, or any other device capable of executing and responding to instructions. The processing device may execute an operating system (OS) and one or more software applications running on the operating system. The processing device may also access, store, manipulate, process, and generate data in response to execution of the software. For ease of understanding, the processing apparatus may be described as being used singly, but those skilled in the art will recognize that the processing apparatus may have a plurality of processing elements and / As shown in FIG. For example, the processing unit may comprise a plurality of processors or one processor and one controller. Other processing configurations are also possible, such as a parallel processor.

소프트웨어는 컴퓨터 프로그램(computer program), 코드(code), 명령(instruction), 또는 이들 중 하나 이상의 조합을 포함할 수 있으며, 원하는 대로 동작하도록 처리 장치를 구성하거나 독립적으로 또는 결합적으로(collectively) 처리 장치를 명령할 수 있다. 소프트웨어 및/또는 데이터는, 처리 장치에 의하여 해석되거나 처리 장치에 명령 또는 데이터를 제공하기 위하여, 어떤 유형의 기계, 구성요소(component), 물리적 장치, 가상 장치(virtual equipment), 컴퓨터 저장 매체 또는 장치, 또는 전송되는 신호 파(signal wave)에 영구적으로, 또는 일시적으로 구체화(embody)될 수 있다. 소프트웨어는 네트워크로 연결된 컴퓨터 시스템 상에 분산되어서, 분산된 방법으로 저장되거나 실행될 수도 있다. 소프트웨어 및 데이터는 하나 이상의 컴퓨터 판독 가능 기록 매체에 저장될 수 있다.The software may include a computer program, code, instructions, or a combination of one or more of the foregoing, and may be configured to configure the processing device to operate as desired or to process it collectively or collectively Device can be commanded. The software and / or data may be in the form of any type of machine, component, physical device, virtual equipment, computer storage media, or device , Or may be permanently or temporarily embodied in a transmitted signal wave. The software may be distributed over a networked computer system and stored or executed in a distributed manner. The software and data may be stored on one or more computer readable recording media.

실시예에 따른 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 실시예를 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기된 하드웨어 장치는 실시예의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.The method according to an embodiment may be implemented in the form of a program command that can be executed through various computer means and recorded in a computer-readable medium. The computer-readable medium may include program instructions, data files, data structures, and the like, alone or in combination. The program instructions to be recorded on the medium may be those specially designed and configured for the embodiments or may be available to those skilled in the art of computer software. Examples of computer-readable media include magnetic media such as hard disks, floppy disks and magnetic tape; optical media such as CD-ROMs and DVDs; magnetic media such as floppy disks; Magneto-optical media, and hardware devices specifically configured to store and execute program instructions such as ROM, RAM, flash memory, and the like. Examples of program instructions include machine language code such as those produced by a compiler, as well as high-level language code that can be executed by a computer using an interpreter or the like. The hardware devices described above may be configured to operate as one or more software modules to perform the operations of the embodiments, and vice versa.

이상과 같이 실시예들이 비록 한정된 실시예와 도면에 의해 설명되었으나, 해당 기술분야에서 통상의 지식을 가진 자라면 상기의 기재로부터 다양한 수정 및 변형이 가능하다. 예를 들어, 설명된 기술들이 설명된 방법과 다른 순서로 수행되거나, 및/또는 설명된 시스템, 구조, 장치, 회로 등의 구성요소들이 설명된 방법과 다른 형태로 결합 또는 조합되거나, 다른 구성요소 또는 균등물에 의하여 대치되거나 치환되더라도 적절한 결과가 달성될 수 있다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. For example, it is to be understood that the techniques described may be performed in a different order than the described methods, and / or that components of the described systems, structures, devices, circuits, Lt; / RTI &gt; or equivalents, even if it is replaced or replaced.

그러므로, 다른 구현들, 다른 실시예들 및 특허청구범위와 균등한 것들도 후술하는 특허청구범위의 범위에 속한다.Therefore, other implementations, other embodiments, and equivalents to the claims are also within the scope of the following claims.

Claims (15)

IoT(Internet of Things) 환경에서의 서비스 방법에 있어서,
사용자에게 제공되는 웹페이지의 단계별 설정 기능을 통해 입력된, 사물(Thing)에 대한 가상화 오브젝트(Virtualization Object)의 인스턴스에 대한 정보를 확인하는 단계;
상기 웹페이지의 외부 서비스 연결 기능을 통해 입력된 외부 서비스에 대한 정보를 이용하여 상기 외부 서비스와의 인증을 수행하는 단계; 및
상기 웹페이지의 오픈 API(Application Program Interface) 설정 기능을 통해 입력된 정보를 이용하여 상기 외부 서비스로 상기 오픈 API를 제공하는 단계
를 포함하는 서비스 방법.
In a service method in an Internet of Things (IoT) environment,
Confirming information about an instance of a virtualization object for a Thing inputted through a step-by-step setting function of a web page provided to a user;
Performing authentication with the external service using information about the external service input through the external service connection function of the web page; And
Providing the open API to the external service using the information input through the open API (Application Program Interface) setting function of the web page
/ RTI &gt;
제1항에 있어서,
상기 웹페이지를 통해 인스턴스별 아이콘을 표시하는 단계
를 더 포함하는 서비스 방법.
The method according to claim 1,
Displaying an instance-specific icon via the web page
Lt; / RTI &gt;
제2항에 있어서,
상기 아이콘이 표시되는 영역을 통해, 인스턴스에 대한 컨트롤 기능 및 상기 인스턴스의 대표값이 표시되는 것을 특징으로 하는 서비스 방법.
3. The method of claim 2,
Wherein a control function for an instance and a representative value of the instance are displayed through an area in which the icon is displayed.
제3항에 있어서,
상기 영역을 통해 상기 인스턴스의 상태가 더 표시되는 것을 특징으로 하는 서비스 방법.
The method of claim 3,
And the status of the instance is further displayed through the region.
IoT(Internet of Things) 환경에서의 서비스 방법에 있어서,
사용자의 요청을 수신하는 단계; 및
상기 사용자의 요청에 따라 웹페이지를 제공하는 단계
를 포함하고,
상기 웹페이지는,
사물(Thing)에 대한 가상화 오브젝트(Virtualization Object)의 인스턴스에 대한 정보를 입력받기 위한 단계별 설정 기능;
외부 서비스와의 인증을 위한 정보를 입력받기 위한 외부 서비스 연결 기능; 및
상기 외부 서비스로 제공하기 위한 오픈 API에 대한 정보를 입력받기 위한 오픈 API 설정 기능
을 포함하는 것을 특징으로 하는 서비스 방법.
In a service method in an Internet of Things (IoT) environment,
Receiving a request from a user; And
Providing a web page at the request of the user
Lt; / RTI &gt;
The web page includes:
A step-setting function for receiving information on an instance of a virtualization object for a Thing;
An external service connection function for receiving information for authentication with an external service; And
An open API setting function for inputting information on an open API to be provided to the external service
Lt; RTI ID = 0.0 &gt; 1, &lt; / RTI &gt;
제1항 또는 제5항에 있어서,
상기 단계별 설정 기능은, 인스턴스의 이름을 입력받기 위한 사용자 인터페이스, 상기 인스턴스의 태그를 입력받기 위한 사용자 인터페이스, IoT 노드의 프로파일이 저장된 URL을 입력받기 위한 사용자 인터페이스, 인스턴스 아이콘을 선택하기 위한 사용자 인터페이스, 인스턴스의 상태를 선택하기 위한 사용자 인터페이스, 컨트롤러를 선택하기 위한 사용자 인터페이스 및 대표값의 단위를 선택하기 위한 사용자 인터페이스 중 복수의 사용자 인터페이스들을 단계적으로 상기 사용자에게 노출하는 것을 특징으로 하는 서비스 방법.
6. The method according to claim 1 or 5,
The step-by-step setting function includes a user interface for receiving a name of an instance, a user interface for receiving a tag of the instance, a user interface for receiving a URL storing a profile of the IoT node, a user interface for selecting an instance icon, A step of exposing a plurality of user interfaces among a user interface for selecting a state of an instance, a user interface for selecting a controller, and a user interface for selecting a unit of representative value to the user step by step.
제1항 또는 제5항에 있어서,
상기 외부 서비스 연결 기능은, 상기 외부 서비스에 대한 상기 사용자의 계정 정보를 입력받기 위한 사용자 인터페이스를 포함하는 것을 특징으로 하는 서비스 방법.
6. The method according to claim 1 or 5,
Wherein the external service connection function includes a user interface for receiving account information of the user with respect to the external service.
제1항 또는 제5항에 있어서,
상기 오픈 API 설정 기능은, 오픈 API의 설명 문서가 포함된 위치 정보를 입력 받기 위한 사용자 인터페이스를 포함하는 것을 특징으로 하는 서비스 방법.
6. The method according to claim 1 or 5,
Wherein the open API setting function includes a user interface for receiving location information including a description document of an open API.
제5항에 있어서,
상기 웹페이지는,
인스턴스별 아이콘을 표시하기 위한 아이콘 표시 기능
을 더 포함하는 것을 특징으로 하는 서비스 방법.
6. The method of claim 5,
The web page includes:
Icon display function for displaying icon by instance
Lt; / RTI &gt;
IoT(Internet of Things) 환경에서의 서비스 시스템에 있어서,
적어도 하나의 프로그램이 저장된 적어도 하나의 스토리지 유닛; 및
적어도 하나의 프로세서
를 포함하고,
상기 적어도 하나의 프로세서는, 상기 적어도 하나의 프로그램의 제어에 따라,
사용자에게 제공되는 웹페이지의 단계별 설정 기능을 통해 입력된, 사물(Thing)에 대한 가상화 오브젝트(Virtualization Object)의 인스턴스에 대한 정보를 확인하는 과정;
상기 웹페이지의 외부 서비스 연결 기능을 통해 입력된 외부 서비스에 대한 정보를 이용하여 상기 외부 서비스와의 인증을 수행하는 과정; 및
상기 웹페이지의 오픈 API(Application Program Interface) 설정 기능을 통해 입력된 정보를 이용하여 상기 외부 서비스로 상기 오픈 API를 제공하는 과정
을 처리하는 것을 특징으로 하는 서비스 시스템.
In a service system in an Internet of Things (IoT) environment,
At least one storage unit in which at least one program is stored; And
At least one processor
Lt; / RTI &gt;
Wherein the at least one processor is operable, under control of the at least one program,
A step of confirming information about an instance of a virtualization object for a Thing inputted through a step-by-step setting function of a web page provided to a user;
Performing authentication with the external service using information about the external service inputted through the external service connection function of the web page; And
A process of providing the open API to the external service using information input through an open API (Application Program Interface) setting function of the web page
Of the service system.
제10항에 있어서,
상기 적어도 하나의 프로세서는,
상기 웹페이지를 통해 인스턴스별 아이콘을 표시하는 과정
을 더 처리하는 것을 특징으로 하는 서비스 시스템.
11. The method of claim 10,
Wherein the at least one processor comprises:
Displaying the icon for each instance through the web page
Is further processed.
IoT(Internet of Things) 환경에서의 서비스 시스템에 있어서,
적어도 하나의 프로그램이 저장된 적어도 하나의 스토리지 유닛; 및
적어도 하나의 프로세서
를 포함하고,
상기 적어도 하나의 프로세서는, 상기 적어도 하나의 프로그램의 제어에 따라,
사용자의 요청을 수신하는 과정; 및
상기 사용자의 요청에 따라 웹페이지를 제공하는 과정
을 처리하고,
상기 웹페이지는,
사물(Thing)에 대한 가상화 오브젝트(Virtualization Object)의 인스턴스에 대한 정보를 입력받기 위한 단계별 설정 기능;
외부 서비스와의 인증을 위한 정보를 입력받기 위한 외부 서비스 연결 기능; 및
상기 외부 서비스로 제공하기 위한 오픈 API에 대한 정보를 입력받기 위한 오픈 API 설정 기능
을 포함하는 것을 특징으로 하는 서비스 시스템.
In a service system in an Internet of Things (IoT) environment,
At least one storage unit in which at least one program is stored; And
At least one processor
Lt; / RTI &gt;
Wherein the at least one processor is operable, under control of the at least one program,
Receiving a request from a user; And
A process of providing a web page at the request of the user
Lt; / RTI &gt;
The web page includes:
A step-setting function for receiving information on an instance of a virtualization object for a Thing;
An external service connection function for receiving information for authentication with an external service; And
An open API setting function for inputting information about an open API to be provided to the external service
And the service system.
제10항 또는 제12항에 있어서,
상기 단계별 설정 기능은, 인스턴스의 이름을 입력받기 위한 사용자 인터페이스, 상기 인스턴스의 태그를 입력받기 위한 사용자 인터페이스, IoT 노드의 프로파일이 저장된 URL을 입력받기 위한 사용자 인터페이스, 인스턴스 아이콘을 선택하기 위한 사용자 인터페이스, 인스턴스의 상태를 선택하기 위한 사용자 인터페이스, 컨트롤러를 선택하기 위한 사용자 인터페이스 및 대표값의 단위를 선택하기 위한 사용자 인터페이스 중 복수의 사용자 인터페이스들을 단계적으로 상기 사용자에게 노출하는 것을 특징으로 하는 서비스 시스템.
13. The method according to claim 10 or 12,
The step-by-step setting function includes a user interface for receiving a name of an instance, a user interface for receiving a tag of the instance, a user interface for receiving a URL storing a profile of the IoT node, a user interface for selecting an instance icon, A step of exposing a plurality of user interfaces among a user interface for selecting a state of an instance, a user interface for selecting a controller, and a unit for selecting a representative value unit to the user step by step.
제10항 또는 제12항에 있어서,
상기 외부 서비스 연결 기능은, 상기 외부 서비스에 대한 상기 사용자의 계정 정보를 입력받기 위한 사용자 인터페이스를 포함하는 것을 특징으로 하는 서비스 시스템.
13. The method according to claim 10 or 12,
Wherein the external service connection function includes a user interface for receiving account information of the user with respect to the external service.
제10항 또는 제12항에 있어서,
상기 오픈 API 설정 기능은, 오픈 API의 설명 문서가 포함된 위치 정보를 입력 받기 위한 사용자 인터페이스를 포함하는 것을 특징으로 하는 서비스 시스템.
13. The method according to claim 10 or 12,
Wherein the open API setting function includes a user interface for receiving location information including a description document of an open API.
KR20130110310A 2013-08-22 2013-09-13 Sevice method and system for providing web based user interface for managing instance of virtualization object in internet of things environment KR101493166B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20130099843 2013-08-22
KR1020130099843 2013-08-22

Publications (1)

Publication Number Publication Date
KR101493166B1 true KR101493166B1 (en) 2015-02-16

Family

ID=52593650

Family Applications (1)

Application Number Title Priority Date Filing Date
KR20130110310A KR101493166B1 (en) 2013-08-22 2013-09-13 Sevice method and system for providing web based user interface for managing instance of virtualization object in internet of things environment

Country Status (1)

Country Link
KR (1) KR101493166B1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160130034A (en) * 2015-04-30 2016-11-10 농협은행(주) Apparatus for providing financial service based on financial open flatform
KR101748548B1 (en) 2017-01-11 2017-06-27 (주)예원이엔씨 IoT network system
KR20170074732A (en) * 2015-12-22 2017-06-30 삼성전자주식회사 An electric device and a server for providing service related to an IoT(Internet of things) device
WO2018105804A1 (en) * 2016-12-08 2018-06-14 제주대학교 산학협력단 Bpm-based iot diy system and method for implementing same
CN113615126A (en) * 2019-04-10 2021-11-05 德里姆西瑟公司 Equipment modeling device and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120085436A (en) * 2011-01-24 2012-08-01 주식회사 엘지씨엔에스 Heterogeneous Virtual Server Consolidation System and Method
KR20130017264A (en) * 2011-08-10 2013-02-20 한국전자통신연구원 System and method for providing web service for smart objects
KR20130090493A (en) * 2012-02-06 2013-08-14 한국전자통신연구원 Method and apparatus for sharing contents use information using machine to machine communication

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120085436A (en) * 2011-01-24 2012-08-01 주식회사 엘지씨엔에스 Heterogeneous Virtual Server Consolidation System and Method
KR20130017264A (en) * 2011-08-10 2013-02-20 한국전자통신연구원 System and method for providing web service for smart objects
KR20130090493A (en) * 2012-02-06 2013-08-14 한국전자통신연구원 Method and apparatus for sharing contents use information using machine to machine communication

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160130034A (en) * 2015-04-30 2016-11-10 농협은행(주) Apparatus for providing financial service based on financial open flatform
KR101693421B1 (en) * 2015-04-30 2017-01-09 농협은행(주) Apparatus for providing financial service based on financial open flatform
KR20170074732A (en) * 2015-12-22 2017-06-30 삼성전자주식회사 An electric device and a server for providing service related to an IoT(Internet of things) device
KR102514435B1 (en) * 2015-12-22 2023-03-28 삼성전자주식회사 An electric device and a server for providing service related to an IoT(Internet of things) device
WO2018105804A1 (en) * 2016-12-08 2018-06-14 제주대학교 산학협력단 Bpm-based iot diy system and method for implementing same
KR101748548B1 (en) 2017-01-11 2017-06-27 (주)예원이엔씨 IoT network system
CN113615126A (en) * 2019-04-10 2021-11-05 德里姆西瑟公司 Equipment modeling device and method

Similar Documents

Publication Publication Date Title
EP2840813B1 (en) Service method and system using instance interface of virtualization object in internet of things environment
KR101605967B1 (en) Sevice method and system for managing transaction using application property
KR101605968B1 (en) Method and system for supportin dynamic instance hosting service of virtual object
US10341468B2 (en) System and method for managing communications between a portable data terminal and a server
US20170063611A1 (en) User Configuration Mechanism for Internet-of-Things (IOT)
JP5981662B2 (en) Method and apparatus for access authorization authentication in a wireless communication system
US20140289366A1 (en) Service providing method and system for instance hosting
US8117297B2 (en) System and method of device-to-server registration
KR101493166B1 (en) Sevice method and system for providing web based user interface for managing instance of virtualization object in internet of things environment
US20210168209A1 (en) Platform for Controlling and Operating Network Connected Devices
KR101552768B1 (en) Sevice method and system using instance profile for creating virtualization object of things information
KR102036420B1 (en) Managing application relationships in machine-to-machine systems
KR101494096B1 (en) Sevice method and system for providing running environment of virtualization object
KR101478902B1 (en) Method and system for providing service based on profile according to node property in instance hosting environment
KR101478903B1 (en) Service providing method and system for processing information of node based on profile of node in instance hosting environment
KR101570619B1 (en) Method and service system for improving performance in instance hosting environment
JP2020534605A (en) Service layer message template in communication network
US20200220919A1 (en) Overlay resource trees in a communication network
KR101494097B1 (en) Sevice method and system using instance interface of virtualization object in internet of things environment
KR101573594B1 (en) Service system and method for providing dynamic mashup service based on service intent
KR101399800B1 (en) Service providing method and system for instance hosting
KR102582398B1 (en) Method and apparatus for controlling applications
KR101478909B1 (en) Service providing method and system for connecting to external interface in instance hosting environment

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: 20180129

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee