KR102219982B1 - Gateway and method for controlling thereof - Google Patents

Gateway and method for controlling thereof Download PDF

Info

Publication number
KR102219982B1
KR102219982B1 KR1020140071250A KR20140071250A KR102219982B1 KR 102219982 B1 KR102219982 B1 KR 102219982B1 KR 1020140071250 A KR1020140071250 A KR 1020140071250A KR 20140071250 A KR20140071250 A KR 20140071250A KR 102219982 B1 KR102219982 B1 KR 102219982B1
Authority
KR
South Korea
Prior art keywords
gateway
external device
service
user
item
Prior art date
Application number
KR1020140071250A
Other languages
Korean (ko)
Other versions
KR20150026776A (en
Inventor
고경석
최순혁
홍수봉
Original Assignee
엘지전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Publication of KR20150026776A publication Critical patent/KR20150026776A/en
Application granted granted Critical
Publication of KR102219982B1 publication Critical patent/KR102219982B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/283Processing of data at an internetworking point of a home automation network
    • H04L12/2834Switching of information between an external network and a home network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles

Abstract

본 발명은 홈 네트워크에 관한 것으로, 보다 상세히는 게이트웨이를 이용하여 다양한 장치를 연결하고 제어하기 위한 메타정보 관리 구조와, 이를 이용한 게이트 웨이 장치 및 그 제어방법에 관한 것이다. 본 발명의 일 실시예와 관련된 게이트웨이는, 적어도 하나의 외부 장치와 유/무선으로 신호를 교환하기 위한 통신부; 메모리; 및 상기 적어도 하나의 외부 장치와 상기 통신부를 통해 데이터 경로를 설립하고, 상기 데이터 경로를 통하여 상기 적어도 하나의 외부 장치 각각의 정보를 획득하여, 상기 획득된 정보를 상기 메모리에 기 설정된 구조의 트리로 저장하는 제어부를 포함할 수 있다. 이때, 상기 트리는 최상위 항목으로 장치, 장치 기능, 위치, 사용자, 서비스, 장치 어댑터, 및 게이트웨이 중 적어도 하나의 항목을 포함하며, 미들웨어 플랫폼 계층에서 관리되고 서비스 계층에서 참조되며, 상기 제어부는 상기 적어도 하나의 외부 장치의 동작 상황 및 사용자의 위치에 따라 서로 다르게 정의한 복수의 상태 중 어느 하나에 따라 상기 적어도 하나의 외부 장치의 동작을 관리할 수 있다.The present invention relates to a home network, and more particularly, to a meta-information management structure for connecting and controlling various devices using a gateway, a gateway device using the same, and a control method thereof. A gateway according to an embodiment of the present invention includes: a communication unit for exchanging signals with at least one external device by wire/wireless; Memory; And establishing a data path through the at least one external device and the communication unit, obtaining information on each of the at least one external device through the data path, and converting the obtained information into a tree of a structure preset in the memory. It may include a control unit to store. At this time, the tree is a top-level item and includes at least one item of a device, a device function, a location, a user, a service, a device adapter, and a gateway, and is managed in the middleware platform layer and is referenced in the service layer, and the control unit includes the at least one The operation of the at least one external device may be managed according to any one of a plurality of states differently defined according to an operation state of the external device of and a user's location.

Description

게이트웨이 및 그 제어방법{GATEWAY AND METHOD FOR CONTROLLING THEREOF}Gateway and its control method {GATEWAY AND METHOD FOR CONTROLLING THEREOF}

본 발명은 홈 네트워크에 관한 것으로, 보다 상세히는 게이트웨이를 이용하여 다양한 장치를 연결하고 제어하기 위한 정보 관리 구조와, 이를 이용한 게이트 웨이 장치 및 그 제어방법에 관한 것이다.The present invention relates to a home network, and more particularly, to an information management structure for connecting and controlling various devices using a gateway, a gateway device using the same, and a control method thereof.

최근 스마트 관련 기술이 보급되면서 가정에도 가전제품 간의 연계 기능을 지원하는 스마트 홈(Smart Home) 기술 구축이 주목받고 있다. 스마트 홈을 구축하기 위해서는 다른 장치들의 상호동작성(interoperability) 및 관리(management)가 가능하도록 다양한 유무선 연결성(connectivity)을 지원하는 홈 게이트 웨이(Home Gateway)의 도입이 고려될 수 있다. With the recent spread of smart-related technologies, the construction of smart home technology that supports linking functions between home appliances is drawing attention in the home. In order to build a smart home, the introduction of a home gateway that supports various wired/wireless connectivity may be considered to enable interoperability and management of other devices.

그런데, 게이트 웨이를 이용할 경우 다양한 제조사의 다양한 가전제품의 제어와 그를 통한 연계 기능의 수행을 위해 플랫폼의 표준화가 바람직하다. 이는 게이트웨이의 메타정보 관리(Metadata Management) 구조가 표준화되어 있어야 서로 다른 제조사의 다양한 장치들 간의 연계 동작이 보장되고, 서비스 개발 또한 용이해지기 때문이다.However, in the case of using a gateway, it is desirable to standardize the platform in order to control various home appliances from various manufacturers and perform a linkage function through the control. This is because when the gateway's Metadata Management structure is standardized, the linkage operation between various devices of different manufacturers is guaranteed, and service development is also facilitated.

본 발명은 보다 편리한 홈 네트워크 서비스를 제공하기 위한 게이트웨이를 제공하기 위한 것이다.The present invention is to provide a gateway for providing a more convenient home network service.

특히, 본 발명은 다양한 외부 장치를 연결하고 제어하기 위한 게이트웨이의 메타정보 관리 구조를 제공하기 위한 것이다.In particular, the present invention is to provide a meta-information management structure of a gateway for connecting and controlling various external devices.

또한, 본 발명은 메타정보 관리 구조를 이용하여 실행에 복수의 장치의 참여 및 제어가 요구되는 서비스를 수행하는 방법을 제공하기 위한 것이다. In addition, the present invention is to provide a method of performing a service requiring participation and control of a plurality of devices in execution by using a meta information management structure.

본 발명에서 이루고자 하는 기술적 과제들은 이상에서 언급한 기술적 과제들로 제한되지 않으며, 언급하지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The technical problems to be achieved in the present invention are not limited to the technical problems mentioned above, and other technical problems that are not mentioned will be clearly understood by those of ordinary skill in the technical field to which the present invention belongs from the following description. I will be able to.

상기한 과제를 실현하기 위한 본 발명의 일 실시예와 관련된 게이트웨이는, 적어도 하나의 외부 장치와 유/무선으로 신호를 교환하기 위한 통신부; 메모리; 및 상기 적어도 하나의 외부 장치와 상기 통신부를 통해 데이터 경로를 설립하고, 상기 데이터 경로를 통하여 상기 적어도 하나의 외부 장치 각각의 정보를 획득하여, 상기 획득된 정보를 상기 메모리에 기 설정된 구조의 트리로 저장하는 제어부를 포함할 수 있다. 이때, 상기 트리는 최상위 항목으로 장치, 장치 기능, 위치, 사용자, 서비스, 장치 어댑터, 및 게이트웨이 중 적어도 하나의 항목을 포함하며, 미들웨어 플랫폼 계층에서 관리되고 서비스 계층에서 참조되며, 상기 제어부는 상기 적어도 하나의 외부 장치의 동작 상황 및 사용자의 위치에 따라 서로 다르게 정의한 복수의 상태 중 어느 하나에 따라 상기 적어도 하나의 외부 장치의 동작을 관리할 수 있다.A gateway according to an embodiment of the present invention for realizing the above problems includes: a communication unit for exchanging signals with at least one external device by wire/wireless; Memory; And establishing a data path through the at least one external device and the communication unit, obtaining information on each of the at least one external device through the data path, and converting the obtained information into a tree of a structure preset in the memory. It may include a control unit to store. At this time, the tree is a top-level item and includes at least one item of a device, a device function, a location, a user, a service, a device adapter, and a gateway, and is managed in the middleware platform layer and is referenced in the service layer, and the control unit includes the at least one The operation of the at least one external device may be managed according to any one of a plurality of states differently defined according to an operation state of the external device of and a user's location.

상기한 과제를 실현하기 위한 본 발명의 일 실시예와 관련된 게이트웨이의 제어방법은, 통신부를 통해 적어도 하나의 외부 장치와 데이터 경로를 설립하는 단계; 상기 데이터 경로를 통하여 상기 적어도 하나의 외부 장치 각각의 정보를 획득하는 단계; 상기 획득된 정보를 메모리에 기 설정된 구조의 트리로 저장하는 단계; 및 상기 트리를 참조하여 상기 적어도 하나의 외부 장치의 동작을 수반하는 서비스를 제어하는 단계를 포함할 수 있다. 여기서 상기 트리는 최상위 항목으로 장치, 장치 기능, 위치, 사용자, 서비스, 장치 어댑터, 및 게이트웨이 중 적어도 하나의 항목을 포함하며, 미들웨어 플랫폼 계층에서 관리되고 서비스 계층에서 참조되될 수 있으며, 상기 제어하는 단계는 상기 적어도 하나의 외부 장치의 동작 상황 및 사용자의 위치에 따라 서로 다르게 정의한 복수의 상태 중 어느 하나에 따라 상기 적어도 하나의 외부 장치의 동작을 관리하는 단계를 포함할 수 있다.A method for controlling a gateway according to an embodiment of the present invention for realizing the above-described problem includes: establishing a data path with at least one external device through a communication unit; Obtaining information on each of the at least one external device through the data path; Storing the obtained information as a tree of a predetermined structure in a memory; And controlling a service accompanying the operation of the at least one external device by referring to the tree. Here, the tree includes at least one of a device, a device function, a location, a user, a service, a device adapter, and a gateway as a top-level item, and can be managed in the middleware platform layer and referenced in the service layer, and the controlling step May include managing the operation of the at least one external device according to one of a plurality of states differently defined according to an operation state of the at least one external device and a location of a user.

본 발명에 의하면, 홈 네트워크 환경에서 보다 다양하고 신뢰성 있는 서비스가 제공될 수 있다.According to the present invention, more diverse and reliable services can be provided in a home network environment.

특히, 게이트웨이에서 외부 장치에 대한 다양한 메타정보를 트리 형태로 구성하고 관리하기 때문에 효율적이다.In particular, it is efficient because the gateway organizes and manages various meta information about external devices in a tree format.

또한, 복수의 장치가 참여하는 서비스의 제어가 보다 효율적으로 수행될 수 있다. In addition, control of a service in which a plurality of devices participate may be performed more efficiently.

본 발명에서 얻은 수 있는 효과는 이상에서 언급한 효과들로 제한되지 않으며, 언급하지 않은 또 다른 효과들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The effects that can be obtained in the present invention are not limited to the effects mentioned above, and other effects not mentioned can be clearly understood by those of ordinary skill in the art from the following description. will be.

도 1은 본 발명의 일 실시예에 따른 게이트웨이에 적용되는 계층구조의 일례를 나타낸다.
도 2는 본 발명의 일 실시예에 따른 메타정보 관리 트리의 최상위 분류 형태의 일례를 나타낸다.
도 3a 내지 도 3c는 본 발명의 일 실시예에 따른 메타정보 관리 트리의 장치 항목의 하위 구성의 일례를 각각 나타낸다.
도 4는 본 발명의 일 실시예에 따른 게이트웨이에 외부 장치가 연결됨에 따라 수행되는 동작 과정의 일례를 나타낸다.
도 5a 및 도 5b는 본 발명의 일 실시예에 따른 메타정보 관리 트리의 장치 기능 항목의 하위 구성의 일례를 각각 나타낸다.
도 6a 및 도 6b는 본 발명의 일 실시예에 따른 메타정보 관리 트리의 위치 항목의 하위 구성의 일례를 각각 나타낸다.
도 7 내지 도 10은 본 발명의 일 실시예에 따른 메타정보 관리 트리의 사용자 항목, 서비스 항목, 디바이스 어댑터 항목 및 고객 댁내 장치의 하위 구성의 일례를 각각 나타낸다.
도 11은 본 발명의 일 실시예에 따른 메타정보 관리 트리의 항목들이 서로 참조되는 형태의 일례를 나타낸다.
도 12는 본 발명의 일 실시예에 따른 게이트웨이에서 서로 다른 두 사용자의 서비스가 충돌될 경우 수행되는 동작의 일례를 나타낸다.
도 13은 본 발명의 일 실시예에 따른 복수의 게이트웨이를 사용한 원격 도어 제어가 수행되는 형태의 일례를 나타낸다.
도 14는 라우터를 통해 외부 장치들이 연결될 때, 도 15는 피투피 방식으로 외부 장치들이 연결될 때 본 발명의 일 실시예에 따른 서비스 제공에 참여하는 장치 중 하나가 변경되는 과정의 일례를 각각 나타낸다.
도 16은 본 발명의 일 실시예에 따른 미러링 서비스에 참여하는 장치가 변경되는 과정의 일례를 나타낸다.
도 17은 본 발명의 일 실시예에 따른 미러링 서비스에 참여하는 장치가 변경되는 과정의 다른 일례를 나타낸다.
도 18은 본 발명의 일 실시예에 따른 네 가지 상태 간 천이 방법 및 천이 조건의 일례를 나타낸다.
도 19는 가정간 무선 신호에 의한 간섭이 발생되는 형태의 일례를 나타낸다.
도 20은 본 발명의 실시예들에 적용될 수 있는 게이트웨이의 블럭 구성도의 일례를 나타낸다.
1 shows an example of a hierarchical structure applied to a gateway according to an embodiment of the present invention.
2 shows an example of a top-level classification form of a meta information management tree according to an embodiment of the present invention.
3A to 3C each show an example of a sub-configuration of a device item of a meta information management tree according to an embodiment of the present invention.
4 shows an example of an operation process performed when an external device is connected to a gateway according to an embodiment of the present invention.
5A and 5B show examples of sub-structures of a device function item of a meta information management tree according to an embodiment of the present invention.
6A and 6B show an example of a sub-structure of a location item of a meta information management tree according to an embodiment of the present invention.
7 to 10 illustrate examples of sub-configurations of a user item, a service item, a device adapter item, and a customer premises device of a meta information management tree according to an embodiment of the present invention.
11 shows an example of a form in which items of a meta information management tree are referred to each other according to an embodiment of the present invention.
12 shows an example of an operation performed when services of two different users collide in a gateway according to an embodiment of the present invention.
13 shows an example of a remote door control using a plurality of gateways according to an embodiment of the present invention.
14 illustrates an example of a process in which one of the devices participating in service provision is changed when external devices are connected through a router, and FIG. 15 is a P2P method.
16 shows an example of a process in which a device participating in a mirroring service is changed according to an embodiment of the present invention.
17 illustrates another example of a process in which a device participating in a mirroring service is changed according to an embodiment of the present invention.
18 shows an example of a transition method and transition conditions between four states according to an embodiment of the present invention.
19 shows an example of interference caused by wireless signals between homes.
20 shows an example of a block diagram of a gateway applicable to embodiments of the present invention.

이하, 본 발명과 관련된 게이트웨이에 대하여 도면을 참조하여 보다 상세하게 설명한다. 이하의 설명에서 사용되는 구성요소에 대한 접미사 "모듈" 및 "부"는 명세서 작성의 용이함만이 고려되어 부여되거나 혼용되는 것으로서, 그 자체로 서로 구별되는 의미 또는 역할을 갖는 것은 아니다. 또한, 본 발명에서 언급되는 게이트웨이는 스마트 홈 게이트웨이(smart home gateway), 또는 고객 댁내 장치(CPE: customer premises equipment)라 칭할 수도 있다. 물론, 본 발명에서 언급되는 게이트웨이는 실내에 설치되는 것이 바람직하나 이는 예시적인 것으로 그 설치 장소에 제한되지 아니한다. 또한, 본 명세서에 개시된 실시 예를 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 본 명세서에 개시된 실시 예의 요지를 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다. 또한, 첨부된 도면은 본 명세서에 개시된 실시 예를 쉽게 이해할 수 있도록 하기 위한 것일 뿐, 첨부된 도면에 의해 본 명세서에 개시된 기술적 사상이 제한되지 않으며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. Hereinafter, a gateway related to the present invention will be described in more detail with reference to the drawings. The suffixes "module" and "unit" for components used in the following description are given or used interchangeably in consideration of only the ease of preparation of the specification, and do not have meanings or roles that are distinguished from each other by themselves. Further, the gateway referred to in the present invention may be referred to as a smart home gateway or a customer premises equipment (CPE). Of course, the gateway mentioned in the present invention is preferably installed indoors, but this is exemplary and is not limited to the installation location. In addition, in describing the embodiments disclosed in the present specification, when it is determined that a detailed description of related known technologies may obscure the subject matter of the embodiments disclosed in the present specification, the detailed description thereof will be omitted. In addition, the accompanying drawings are for easy understanding of the embodiments disclosed in the present specification, and the technical idea disclosed in the present specification is not limited by the accompanying drawings, and all modifications included in the spirit and scope of the present invention It should be understood to include equivalents or substitutes.

일반적인 홈 네트워크에서는 장치들이 직접 연결되어 신호를 교환하는 방법으로 연계 기능이 수행되도록 하고 있으나, 본 발명에서는 다양한 장치들간의 연결성 및 연계 기능 수행을 보장하기 위하여, 각 장치들이 게이트 웨이를 통해 연결되고 이를 통해 제어되도록 할 것을 제안한다. 또한, 게이트 웨이에서는 트리 형태의 메타정보 관리(즉, 메타정보 관리 트리: Metadata Management Tree)를 통하여 연결된 장치의 메타 정보(실행 가능한 기능, 위치, 상태 등)를 공통 관리하도록 할 것을 제안한다. 여기서 메타정보 관리 트리는 일종의 데이터 베이스를 의미할 수 있으며 서비스와 미들웨어 플랫폼(middleware platform)과의 규격화/일반화된 인터페이스를 제공하기 위한 정보를 정의하는 기능을 한다. 이를 통해 서비스 개발자가 본 발명에 따른 메타정보 관리 트리를 바탕으로 서비스 실행에 필요한 정보의 구조와 내용을 획득하여 서비스의 개발 환경을 개선시킬 수 있다.In a general home network, devices are directly connected to perform a linkage function by exchanging signals, but in the present invention, each device is connected through a gateway to ensure connectivity and linkage function performance between various devices. It is suggested to be controlled through. In addition, the gateway proposes to manage meta information (executable functions, locations, states, etc.) of connected devices in common through tree-type meta information management (ie, meta data management tree). Here, the meta-information management tree may mean a kind of database and functions to define information to provide a standardized/generalized interface between a service and a middleware platform. Through this, a service developer can improve a service development environment by acquiring the structure and contents of information necessary for service execution based on the meta information management tree according to the present invention.

이하에서는 도 1을 참조하여 본 발명에 따른 메타정보 관리 트리를 포함하는 게이트웨이 구성을 설명한다. Hereinafter, a configuration of a gateway including a meta information management tree according to the present invention will be described with reference to FIG. 1.

도 1은 본 발명의 일 실시예에 따른 게이트웨이에 적용되는 계층구조의 일례를 나타낸다.1 shows an example of a hierarchical structure applied to a gateway according to an embodiment of the present invention.

도 1을 참조하면, 최상위 계층(layer)으로 어플리케이션 레이어에 서비스가, 중간에는 미들웨어 플랫폼 계층으로 인터페스 및 프로세스와 메타정보 관리 트리가, 최하위 계층에는 드라이버 레이어로 복수의 디바이스 어댑터가 각각 구비된다. Referring to FIG. 1, a service is provided in an application layer as a top layer, an interface and process and a meta information management tree are provided as a middleware platform layer in the middle, and a plurality of device adapters are provided as a driver layer in a lower layer.

서비스는 응용프로그램들을 제어하는 일반적인 어플리케이션 레이어와 그 기능이 유사하므로 명세서의 간명함을 위하여 중복되는 설명은 생략하기로 한다.Since a service has a function similar to a general application layer that controls application programs, redundant descriptions will be omitted for the sake of brevity of the specification.

미들웨어 플랫폼 계층의 인터페이스 및 프로세스는 외부장치와 연결된 디바이스 어댑터와 서비스 사이의 통신을 원활하게 하기 위한 미들웨어로, 메타정보 관리 트리를 참조하여 동작할 수 있다. The interface and process of the middleware platform layer are middleware for facilitating communication between a service and a device adapter connected to an external device, and may operate with reference to a meta information management tree.

또한 디바이스 어댑터는 기능적으로 드라이버 및 시맨틱 변환부를 포함할 수 있는데, 드라이버는 서로 다른 다양한 장치들과의 연결성을 제공하고, 시맨틱 변환부는 연결된 장치들로부터 오는 이벤트 관련 신호를 게이트웨이 내부 어플리케이션이 판별 가능한 신호로 변환하는 기능을 수행할 수 있다.In addition, the device adapter may functionally include a driver and a semantic conversion unit. The driver provides connectivity with various different devices, and the semantic conversion unit converts event-related signals from connected devices into signals that can be identified by the gateway internal application. You can perform the function to convert.

한편, 드라이버 레이어 하단에 연결될 장치들의 블록(미도시)에서도 미들웨어 플랫폼과 서비스에서 필요로 하는 정보를 제공하기 위해서는 메타 정보의 정의가 필요한데, 이러한 정의는 상술한 메타정보 관리 트리 구조와 동일하거나, 적어도 일부가 변형된 구조의 형태로 리스트/데이터 베이스로 장치에 저장되고 관리되는 것이 바람직하다.On the other hand, in the block of devices to be connected under the driver layer (not shown), the definition of meta information is required to provide information required by the middleware platform and service. This definition is the same as or at least the same as the meta information management tree structure described above. It is desirable that a part is stored and managed in the device as a list/database in the form of a modified structure.

이하에서는 도 2를 참조하여 본 발명에 따른 메타정보 관리 트리의 구체적인 분류를 설명한다.Hereinafter, a detailed classification of the meta information management tree according to the present invention will be described with reference to FIG. 2.

도 2는 본 발명의 일 실시예에 따른 메타정보 관리 트리의 최상위 분류 형태의 일례를 나타낸다.2 shows an example of a top-level classification form of a meta information management tree according to an embodiment of the present invention.

도 2를 참조하면, 메타정보 관리 트리의 최상위 분류에는 장치(device), 장치 기능(device function), 위치(location), 사용자(user), 서비스(service), 디바이스 어댑터(device adapter), 연결성(connectivity), 고객 댁네 장치(CPE, 즉, 게이트웨이)가 포함될 수 있다. 여기서 각 항목은 그 목적에 따라 서비스와 미들웨어 플랫폼간의 상호동작성을 위한 그룹(210)과 각 서비스들 간의 분석/이행을 위한 그룹(220)으로 구분될 수 있다. 여기서, 장치는 장치 세트(Device Set), 장치 기능은 시맨틱(Semantic)이란 표현으로 대체될 수 있다.Referring to FIG. 2, the top classification of the meta-information management tree includes device, device function, location, user, service, device adapter, and connectivity ( connectivity) and customer premises equipment (CPE, that is, gateway). Here, each item may be classified into a group 210 for interoperability between a service and a middleware platform and a group 220 for analysis/implementation between each service according to its purpose. Here, a device may be replaced with a device set, and a device function may be replaced with a semantic.

이하에서는 최상위 트리에 속하는 각 항목을 도 3 내지 도 10을 참조하여 보다 상세히 설명하기로 한다.Hereinafter, each item belonging to the highest tree will be described in more detail with reference to FIGS. 3 to 10.

도 3a 내지 도 3c는 본 발명의 일 실시예에 따른 메타정보 관리 트리의 장치 항목의 하위 구성의 일례를 각각 나타낸다.3A to 3C each show an example of a sub-configuration of a device item of a meta information management tree according to an embodiment of the present invention.

도 3a를 참조하면, 장치(Device)는 실제로 게이트웨이에 연결되는 장치 모델(device model)에 대한 분류체계를 다룬다. 도 3을 참조하면, 장치는 다시 갈색 가전, 백색 가전, 조명, CPE 등으로 구분될 수 있으며, 최하위 속성으로는 소유자(Owner), 우선순위(Priority), 지원 기능 정의(Supported device function 또는 Supported semantic), 클러스터(cluster) 등이 포함될 수 있다.Referring to FIG. 3A, a device deals with a classification system for a device model actually connected to a gateway. Referring to Figure 3, the device can be divided into brown appliances, white appliances, lighting, CPE, etc., and the lowest attribute is Owner, Priority, Supported device function or Supported semantic ), cluster, etc. may be included.

소유자는 제품의 소유자(ownership)를 정의하고, 우선순위는 제품군(예를 들어, TV)에 대해 주/부(primary/secondary) 등의 순위를 정의한다. 또한, 지원 기능 정의는 각 제품군이 지원하는 기능에 대한 정의로 필수(mandatory) 항목만을 지원하는지 선택사양(optional)도 지원하는지 여부를 나타낸다. 각 제품군이 지원하는 기능들 중 어느 기능이 필수인지/선택사양인지 여부는 미리 기능 프로파일 형태로 결정되어 있는 것이 바람직하며, 각 장치별 트리 말단의 지원 기능 정의 항목은 이러한 기능 프로파일을 참조할 수 있다.The owner defines the ownership of the product, and the priority defines the ranking of primary/secondary, etc. for a product family (eg, TV). In addition, the support function definition is a definition of the function supported by each product group and indicates whether only the required items or optional specifications are supported. Among the functions supported by each product group, which function is required/optional is preferably determined in the form of a function profile in advance, and the supported function definition item at the end of the tree for each device can refer to this function profile. .

이러한 기능 프로파일의 일례가 아래 표 1에 나타나 있다.An example of such a functional profile is shown in Table 1 below.

FuntionFuntion SetSet GetGet EventEvent SupportSupport startstart OO     MM stopstop OO     MM targettarget temperaturetemperature OO OO   MM windwind speedspeed OO OO   MM windwind swingswing OO OO   MM operationoperation failfail     OO MM filterfilter changechange alertalert     OO MM operationoperation modemode OO OO   OO specialspecial functionfunction OO OO   OO targettarget humidityhumidity OO OO   OO smartsmart energyenergy operationoperation OO OO   OO currentcurrent temperaturetemperature   OO   OO operationoperation statusstatus changedchanged     OO OO smartsmart metermeter OO OO OO OO motionmotion detectordetector OO OO OO OO EtcEtc ..        

표 1을 참조하면 냉장고의 각 기능에 대하여 설정(set) 가능한 파라미터인지, 값 가져오기(get)가 가능한지, 필수 지원인지 여부가 지시될 수 있다. 예를 들어, 도 3에서 지원 기능 정의(supported device function)의 속성이 필수라 함은 표 1의 서포트에서 M 항목을 지원한다는 것이고 선택사양이라 함은 서포트에서 O 항목을 지원하는 것이다. 따라서 각 장치에 대해서 표 1과 같이 지원 여부가 미리 정의되는 것이 바람직하다. 물론, 표 1과 달리 M/O의 항목 구분 대신, S(supported)/N(Not supported)의 항목 구분이 사용될 수도 있다.Referring to Table 1, it may be indicated whether a parameter that can be set for each function of a refrigerator, whether a value can be obtained, or whether it is required support. For example, in FIG. 3, that the attribute of the supported device function is required is that the M item is supported in the support of Table 1, and the optional specification is that the O item is supported in the support. Therefore, it is desirable to define support for each device in advance as shown in Table 1. Of course, unlike Table 1, instead of item division of M/O, item division of S (supported)/N (Not supported) may be used.

이는 서비스 개발자에게도 각 장치의 제조사 별로 기능 지원 항목을 모두 조사하고 개발하기는 쉽지 않으므로 이렇게 필수/선택사양 여부가 정의되는 것이 용이하다. 물론, 미들웨어 플랫폼은 서비스와 장치 어탭터의 드라이버 간의 선택사양 항목을 발견할 수 있는, 즉 기능 발견(function discovery)을 수행할 수 있는 것이 바람직하다. This is because it is not easy for service developers to research and develop all function support items for each device manufacturer, so it is easy to define the required/optional specifications. Of course, the middleware platform is preferably capable of discovering an option item between a service and a driver of the device adapter, that is, performing function discovery.

한편, 클러스터(cluster)는 전등과 같이 여러 device가 함께 동작하는 상황을 위해 장치를 미리 클러스터로 분류할 경우 적용될 수 있다.Meanwhile, a cluster can be applied when a device is classified into a cluster in advance for a situation in which several devices operate together, such as a light fixture.

이와 달리, 도 3b와 같이 장치의 고유 명칭이나 제조사(Vendor), 활용 내부 자원(resource, 예를 들어, TV의 경우 튜너), 위치 등이 추가로 포함될 수 있다. 또한, 사용자별 우선순위(User Priority)와 서비스별 우선순위(Service Priority)가 각각 설정될 수도 있다. Alternatively, as shown in FIG. 3B, a unique name of the device, a vendor, an internal resource used (for example, a tuner in the case of a TV), a location, and the like may be additionally included. In addition, user priority and service priority may be set respectively.

한편, 도 3b의 경우, 스테레오 장치 항목의 하위 항목에 게이트웨이(CPE)가 포함될 수도 있는데, 여기에 대해서는 도 9c를 참조하여 보다 상세히 후술하기로 한다.Meanwhile, in the case of FIG. 3B, a gateway (CPE) may be included in a sub-item of the stereo device item, which will be described in more detail later with reference to FIG. 9C.

아울러, 도 3c에서와 같이 사용자별 우선순위(User Priority)와 서비스별 우선순위(Service Priority)가 활용 내부 자원(Resource) 항목별로 설정될 수도 있으며, 이러한 경우 보다 세분화된 자원 관리(Resource Management)가 가능하다.In addition, as shown in FIG. 3C, user priority and service priority may be set for each utilized internal resource item. In this case, more detailed resource management is performed. It is possible.

다음으로, 상술한 필수/선택사항 여부의 발견을 수행하는 과정의 일례를 도 4를 참조하여 설명한다.Next, an example of a process of performing the above-described discovery of whether the required/optional is required will be described with reference to FIG. 4.

도 4는 본 발명의 일 실시예에 따른 게이트웨이에 외부 장치가 연결됨에 따라 수행되는 동작 과정의 일례를 나타낸다.4 shows an example of an operation process performed when an external device is connected to a gateway according to an embodiment of the present invention.

도 4를 참조하면, 먼저 1) 외부 장치(Device)가 게이트웨이와 연결됨에 따라 메타정보 관리 트리에 해당 장치와 관련된 정보가 저장될 수 있다. 이때 해당 장치에 대한 지원 기능 정의(supported device function)의 필수/선택사양 여부도 함께 설정될 수 있다. 2) 서비스는 메타정보 관리 트리로부터 연결된 장치 정보를 읽어와 선택사양인 기능이 있을 경우 해당 항목에 대한 기능 발견(function discovery)을 수행한다. 3) 이를 위해 따라 서비스는 디바이스 어댑터에 기능 발견 요청(function discovery request) 메시지를 전송하고, 디바이스 어댑터는 수신된 메시지를 토대로 연결된 장치의 선택사양 항목을 기능 발견 응답(function discovery response) 메시지를 통해 서비스로 회신할 수 있다. 이때, 연결된 장치의 선택사양 항목도 표 1과 유사한 형태로 미리 장치에 정의되어 있는 경우, 이를 이용할 수 있다. Referring to FIG. 4, first, as 1) an external device is connected to a gateway, information related to a corresponding device may be stored in a meta information management tree. At this time, whether or not a supported device function is required/optional for the corresponding device may be set together. 2) The service reads connected device information from the meta-information management tree and performs function discovery on the item if there is an optional function. 3) To this end, the service transmits a function discovery request message to the device adapter, and the device adapter provides service through a function discovery response message for optional items of the connected device based on the received message. You can reply with At this time, if the optional item of the connected device is also defined in the device in a form similar to Table 1, it may be used.

도 5a 및 도 5b는 본 발명의 일 실시예에 따른 메타정보 관리 트리의 장치 기능 항목의 하위 구성의 일례를 각각 나타낸다.5A and 5B show examples of sub-structures of device function items of a meta information management tree according to an embodiment of the present invention, respectively.

도 5a를 참조하면, 장치 기능(Device Function)은 장치들의 기능들을 나열하는 형태가 될 수 있다. 이러한 장치 기능들의 조합에 의해 각 장치의 전체 기능이 표현될 수 있으며, 각 장치 기능의 필수/선택사양 여부 또한 표 1과 유사하게 정의될 수 있다. 장치 기능은 그 하위 항목으로 온, 오프, 표시, 입력, 방송, 웹브라우저, TV 프로그램, 에너지 측정 등의 항목을 포함할 수 있다. 여기서 입력(input) 항목은 다시 입력 수단(예를 들어, 기본 키, 마우스, 키보드, 음성인식 등) 별로 그 하위 항목이 구성될 수 있다. 장치 기능은 게이트웨이에서 제공되는 오픈 API(Open Application Programmer Interface)와 연계될 수 있으며, 도 5a에서는 그 예시로 입력(input)의 기본 키 입력의 형태가 추가로 예시된다. 한편, 이러한 구조를 표현하기 위해 XML, oBIX schema, SOAP 등 일반적인 트리 구조를 기술하기 위한 언어/방식이 사용될 수 있다.Referring to FIG. 5A, a device function may be in the form of listing functions of devices. By the combination of these device functions, the entire function of each device can be expressed, and whether the required/optional specifications of each device function can be defined similarly to Table 1. The device function may include items such as on, off, display, input, broadcasting, web browser, TV program, and energy measurement as sub-items. Here, as for the input item, sub-items may be configured for each input means (eg, basic key, mouse, keyboard, voice recognition, etc.). The device function may be linked with an open API (Open Application Programmer Interface) provided by the gateway, and in FIG. 5A, a basic key input type of input is further illustrated as an example. Meanwhile, to express this structure, a language/method for describing a general tree structure such as XML, oBIX schema, SOAP, etc. can be used.

또는, 도 5b와 같이 장치 기능 항목의 하위 항목은, 장치와 기능을 함께 특정하도록 구성될 수도 있다. 예를 들어, TV 켜기/끄기 및 TV 키입력 각각이 하나의 하위 항목으로 구성될 수 있다. 또한, 각 하위 항목은 입력 수단 별로 필수/선택사양 여부까지 특정될 수도 있다.Alternatively, as shown in FIG. 5B, the sub-items of the device function item may be configured to specify the device and the function together. For example, TV on/off and TV key input may each be configured as one sub-item. In addition, each sub-item may be specified as to whether it is required/optional for each input means.

도 6a 및 도 6b는 본 발명의 일 실시예에 따른 메타정보 관리 트리의 위치 항목의 하위 구성의 일례를 각각 나타낸다. 6A and 6B show an example of a sub-structure of a location item of a meta information management tree according to an embodiment of the present invention.

스마트 홈 서비스(smart home service)가 제공되기 위해서는 각 장치의 위치 정보가 제공되는 것이 바람직하며, 이를 위해 도 6a와 같은 형태의 분류가 고려될 수 있다. 구체적으로, 상위에서 하위로 집의 위치, 실내/외, 층, 방별 분류가 있을 수 있으며 각 방은 이름(name), 공용/개인(common/personal) 공간 여부, 소유자(owner, 또는 사용자) 등에 대한 속성을 가질 수 있다. In order to provide a smart home service, it is desirable to provide location information of each device, and for this purpose, a classification as shown in FIG. 6A may be considered. Specifically, there may be classifications by location, indoor/outdoor, floor, and room from top to bottom, and each room has a name, common/personal space, owner (or user), etc. Can have properties for

또는, 도 6b와 같이 각 최하위 위치 항목(예를 들어, 실내의 방이나 실외의 지역)의 속성에 설치된 장치(Installed Devices) 속성이 추가될 수도 있다.Alternatively, as shown in FIG. 6B, an installed device attribute may be added to the attribute of each lowest position item (for example, an indoor room or an outdoor area).

이러한 분류 체계는 특정 위치/공간의 장치를 일괄로 제어하는 경우 특히 유용할 수 있다.Such a classification system can be particularly useful when collectively controlling devices in a specific location/space.

도 7 내지 도 10은 본 발명의 일 실시예에 따른 메타정보 관리 트리의 사용자 항목, 서비스 항목, 디바이스 어댑터 항목 및 고객 댁내 장치의 하위 구성의 일례를 각각 나타낸다. 7 to 10 show examples of sub-configurations of a user item, a service item, a device adapter item, and a customer premises device of a meta information management tree according to an embodiment of the present invention.

도 7 내지 도 10에 도시된 바와 같이, 사용자(user), 서비스(service), 디바이스 어댑터(device adapter) 및 CPE 정보 등이 제공되는 경우, 게이트 웨이 상에서 동작하는 독립된 서비스들이 동시에 실행될 때 자원의 공유에 의해 발생할 수 있는 문제들이 우선순위, 소유자, 알림, 충돌 방지절차 등을 통해 해결될 수 있다.7 to 10, when user, service, device adapter, and CPE information are provided, resources are shared when independent services operating on the gateway are simultaneously executed. Problems that may be caused by can be resolved through priorities, owners, notifications, and collision avoidance procedures.

사용자 항목의 경우, 도 7a에서와 같이 사용자 항목의 하위로 각 속성값이 평행하게 나열될 수도 있고, 도 7b에서와 같이 가족과 게스트를 먼저 구분하고, 각 멤버 별로 이름, 현재 위치, 사용 가능 장치, 사용 가능 서비스, ID 등의 속성이 부여될 수도 있다.In the case of a user item, each attribute value may be arranged in parallel under the user item as shown in FIG. 7A, and as shown in FIG. 7B, the family and guest are first classified, and the name, current location, and available device for each member , Usable service, ID, etc. attributes may be assigned.

서비스 항목의 경우, 도 8a에서와 같이 요구 메타정보, 요구 장치, 카테고리, 서비스 이름, 버전 정보등이 각 서비스의 속성값으로 구성될 수 있다. 또는, 도 8b와 같이 각 서비스별 속성값에 서비스 실행에 필요한 기능이 무엇인지 정의하는 요구 기능(Required function/Required semantic) 항목이나 다른 서비스와의 충돌 발생 확인을 위한 요구 자원(Required Resource) 항목, 서비스 별로 자원 사용의 우선 순위를 정의하는 자원 억세스 우선순위(Resource Access Priority) 항목이 추가로 포함될 수도 있다.In the case of a service item, as shown in FIG. 8A, request meta information, request device, category, service name, version information, etc. may be configured as attribute values of each service. Alternatively, as shown in FIG. 8B, a required function/Required semantic item defining what function is required for service execution in the attribute value of each service or a required resource item for checking the occurrence of a collision with another service, A Resource Access Priority item that defines the priority of resource use for each service may be additionally included.

장치 어댑터(device adapter)의 경우, 도 9a의 (a)에서와 같이 타입, 지원 장치, 펌웨어/플랫폼 버전 등의 속성을 가질 수 있다. In the case of a device adapter, as shown in (a) of FIG. 9A, it may have properties such as a type, a supported device, and a firmware/platform version.

게이트웨이의 경우 도 9a의 (b)와 같이 표준 호환/비호환 여부를 나타내는 타입(Type) 속성 및 그에 연결된 장치를 나타내는 연결 장치(connected devices) 속성으로 구성될 수 있다. In the case of the gateway, as shown in (b) of FIG. 9A, a type attribute indicating whether or not the standard is compatible/non-compliant and a connected devices attribute indicating a device connected thereto may be configured.

한편, 비호환(Non-compliant) CPE에 연결된 기기(예를 들어, 스테레오 헤드폰)가 스마트 홈 네트워크 구성에 참여하는 경우, 비호환(Non-compliant) CPE는 표준 CPE의 하위 장치로 인식되도록 하여 스마트 홈 네트워크가 구성될 수 있다. 즉, 비호환(Non-compliant) CPE 공급자가 CPE에 디바이스 어댑터를 공급함으로써 프록시(proxy)와 같은 역할을 수행할 수 있으며 이때 필요한 메타 정보가 전체 메타정보 관리 트리에 반영 되도록 하여 비호환 CPE 상에 연결된 장치들에 대한 상호 연결성이 제공될 수 있다. 이때 비호환 CPE에 대해 모든 권리(authority)를 부여하게 되면 호환 장치에 대한 차별성이 없어질 수 있으므로 제한된 메타 정보를 받도록 제한하여 비호환 장치(Non-conpliant CPE의 하위 connected devices 항목)에 대한 차별성이 제공될 수 있다.On the other hand, when a device (e.g., stereo headphones) connected to a non-compliant CPE participates in the configuration of a smart home network, the non-compliant CPE is recognized as a sub-device of the standard CPE and A home network can be configured. In other words, a non-compliant CPE provider can perform the same role as a proxy by supplying a device adapter to the CPE. At this time, necessary meta information is reflected in the entire meta information management tree, Interconnectivity for connected devices may be provided. At this time, if all rights are granted to non-compliant CPEs, the discrimination against compatible devices may disappear. Therefore, limited meta-information is limited to the non-compliant devices (lower connected devices of Non-conpliant CPE). Can be provided.

또한, 비호환 CPE 항목은 도 9b에서와 같이 장치 항목의 하위 항목에 위치할 수 있으며, 스테레오 헤드폰은 해당 CPE의 서브 장치 세트(sub device set) 항목으로 트리에 포함될 수 있다. 따라서, 스테레오 헤드폰 항목은 다른 기기들과 같이 사용자, 우선순위, 지원 기능 등의 속성값이 부여되어 관리될 수 있다.In addition, the incompatible CPE item may be located in a lower item of the device item as shown in FIG. 9B, and the stereo headphones may be included in the tree as a sub device set item of the corresponding CPE. Accordingly, the stereo headphone item can be managed by assigning attribute values such as a user, priority, and support function, like other devices.

혹은, 도 9c와 같이 스테레오 헤드폰이 장치 항목의 하위 항목으로 등록되고, 비호환 CPE의 정보가 스테레오 헤드폰 항목의 속성으로 구성될 수도 있다.Alternatively, as shown in FIG. 9C, stereo headphones may be registered as a sub-item of the device item, and information of incompatible CPE may be configured as a property of the stereo headphone item.

도 2 및 10에서 연결성(Connectivity) 항목은 트리의 최상위에 위치하고 있으나, 본 항목은 반드시 최상위 항목에 위치할 필요는 없고, 다른 항목의 하위 트리에 위치할 수도 있다. 2 and 10, the connectivity item is located at the top of the tree, but this item does not necessarily need to be located at the top level, and may be located in a subtree of other items.

도 11은 본 발명의 일 실시예에 따른 메타정보 관리 트리의 항목들이 서로 참조되는 형태의 일례를 나타낸다.11 shows an example of a form in which items of a meta information management tree are referred to each other according to an embodiment of the present invention.

도 11을 참조하면, 트리에서 둘 이상의 최상위 항목들이 서로 참조될 수 있다. 예를 들어, 장치와 기능 항목이 함께 참조될 때 장치별 지원 기능(supported semantics)이란 메타 정보가 구성될 수 있다. 다른 예로, 기능 항목과 서비스 항목이 함께 참조될 때 요구 기능(required semantic)이란 메타 정보가 구성될 수 있다.Referring to FIG. 11, two or more top-level items in a tree may refer to each other. For example, when a device and a function item are referenced together, meta information called supported semantics for each device may be configured. As another example, when a function item and a service item are referred to together, meta information called a requested semantic may be configured.

이하에서는 도 12 및 도 13을 참조하여, 게이트웨이에서 상술한 메타정보 관리 트리를 이용하여 수행될 수 있는 구체적인 기능들을 설명한다. Hereinafter, with reference to FIGS. 12 and 13, specific functions that can be performed by the gateway using the meta information management tree described above will be described.

도 12는 본 발명의 일 실시예에 따른 게이트웨이에서 서로 다른 두 사용자의 서비스가 충돌될 경우 수행되는 동작의 일례를 나타낸다.12 shows an example of an operation performed when services of two different users collide in a gateway according to an embodiment of the present invention.

도 12에서는 A 사용자의 단말기(1110)와 B 사용자의 단말기(1140) 및 TV(1130)가 본 발명에 따른 게이트웨이(1120)에 등록을 마치고 연결되어 있는 상황을 가정한다. 즉, 상술한 기능 발견 등의 절차를 통하여 각 장치의 정보가 이미 게이트웨이(1120)의 메타정보 관리 트리에 등록된 상황을 가정한다. 장치간 연결 및 메시지 교환에 대하여, TV(1130)는 게이트웨이(1120)와 직접 유/무선을 통해 수행할 수 있다. 단말기들(1110, 1140)의 경우 로컬(Local)에서는 직접 게이트웨이와 연결될 수도 있고, 리모트(remote) 상황에서는 인터넷을 통해 게이트웨와 연결될 수도 있다. 또한, A 사용자의 우선 순위가 B 사용자의 우선순위보다 높은 것으로 가정한다.In FIG. 12, it is assumed that the terminal 1110 of user A, the terminal 1140 of user B, and the TV 1130 are connected to the gateway 1120 according to the present invention after registration. That is, it is assumed that information of each device has already been registered in the meta information management tree of the gateway 1120 through the above-described procedure such as function discovery. For connection and message exchange between devices, the TV 1130 may directly communicate with the gateway 1120 through wired/wireless. In the case of the terminals 1110 and 1140, they may be directly connected to a gateway in a local, or may be connected to a gateway through the Internet in a remote situation. In addition, it is assumed that the priority of user A is higher than that of user B.

도 12를 참조하면, 먼저 1) A 사용자가 단말기(1110)를 통해 TV(1130)에 대한 예약 녹화(예를 들어, 2013.5.28 11시 채널 200번, 1시간 프로그램)를 게이트웨이(1120)에 요청할 수 있다. 2) 그에 따라 게이트웨이(1120)는 메타정보 관리 트리에서 장치, 장치 기능, 위치, 사용자, 서비스 항목 등을 참조하여 TV(1130)에 예약 녹화 기능을 설정할 수 있다. 예를 들어, 게이트웨이(1120)는 사용자 항목에서 A 사용자의 우선 순위를 조회하고, 위치 항목에서 TV의 위치를 확인할 수 있다. 또한, 게이트웨이는 장치 기능 항목에서 TV(1130)가 예약 녹화 기능을 지원하는지 여부에서 녹화를 지원하는지 여부를 확인할 수 있으며, 서비스에서 예약 녹화에 관련된 정보를 획득할 수 있다.Referring to FIG. 12, first 1) User A sends a reservation recording for the TV 1130 (for example, channel 200 at 11 o'clock on May 28, 2013, 1 hour program) to the gateway 1120 through the terminal 1110. Can be requested. 2) Accordingly, the gateway 1120 may set a reservation recording function on the TV 1130 by referring to a device, a device function, a location, a user, and a service item in the meta information management tree. For example, the gateway 1120 may inquire the priority of user A in the user item and check the location of the TV in the location item. In addition, the gateway may check whether the TV 1130 supports the reservation recording function in the device function item and whether the TV 1130 supports recording, and obtains information related to the reservation recording from the service.

3) 한편, B 사용자도 단말기(1140)를 통해 TV(1130)에 대한 예약 녹화(예를 들어, 2013.5.28 10시 채널 210번, 2시간 프로그램)를 게이트웨이(1120)에 요청할 수 있다. 4) 게이트웨이는 B 사용자가 요청한 예약 녹화가 A 사용자가 요청한 예약 녹화와 시간대가 겹치고 채널이 상이한 경우, 메타정보 관리 트리에 등록된 정보를 참조하여 해당 내용을 B 사용자의 단말(1140)에 전송할 수 있다. 5) A 사용자의 우선순위가 높게 설정된 바, B 사용자는 A 사용자에게 예약 녹화의 변경이 가능한지 여부를 요청하고, 6) A 사용자는 메타정보 관리 트리의 정보를 바탕으로 한 B 사용자의 요청 사항을 게이트웨이(1120)를 통해 수신할 수 있다. 7) 그에 따라 A 사용자는 수락/거절 등의 결정 사항을 B 사용자에게 전달할 수 있으며, 8) B 사용자는 A사용자로부터 수락/거절 등의 결정 사항을 수신할 수 있다. 9) 만일, A 사용자가 수락한 경우 다시 B 사용자가 희망하는 예약 녹화 요청이 게이트웨이(1120)에 전송되고, 10) 게이트웨이(1120)는 TV(1130)로 B 사용자의 예약 녹화 요청 정보를 전달할 수 있다.3) On the other hand, user B may also request a reservation recording for the TV 1130 through the terminal 1140 (eg, channel 210 at 10 o'clock on May 28, 2013, a 2-hour program) from the gateway 1120. 4) When the reservation recording requested by User B overlaps the reservation recording requested by User A and the channel is different, the gateway can transmit the corresponding contents to the terminal 1140 of user B by referring to the information registered in the meta information management tree. have. 5) As user A's priority is set high, user B requests user A whether or not it is possible to change the scheduled recording, and 6) user A requests user B's request based on the information in the meta information management tree. It may be received through the gateway 1120. 7) Accordingly, User A can deliver decisions such as acceptance/rejection to User B, and 8) User B can receive decisions such as acceptance/rejection from User A. 9) If user A accepts, the reservation recording request desired by user B is transmitted to the gateway 1120 again, and 10) gateway 1120 can transmit information on the reservation recording request of user B to the TV 1130. have.

물론, 설정에 따라 9) 및 10) 단계가 없이도 A 사용자의 수락만으로 B 사용자가 3) 단계에서 요청한 정보에 따라 예약 녹화가 설정될 수도 있다.Of course, even without steps 9) and 10), depending on settings, reservation recording may be set according to the information requested in step 3) by user B only with user A's acceptance.

다음으로, 도 13을 참조하여 복수의 게이트웨이를 이용한 서비스가 수행되는 경우를 설명한다.Next, a case in which a service using a plurality of gateways is performed will be described with reference to FIG. 13.

도 13은 본 발명의 일 실시예에 따른 복수의 게이트웨이를 사용한 원격 도어 제어가 수행되는 형태의 일례를 나타낸다. 13 shows an example of a remote door control using a plurality of gateways according to an embodiment of the present invention.

도 13에서는 두 개의 게이트웨이가 사용되는데, 그 중 하나(1221)는 사용자의 가정에 구비되고, 나머지 하나(1223)는 사용자의 사무실에 구비되며, 서로 인터넷을 통해 연결된 것으로 가정한다. 또한, 현관 도어락 시스템(1210)은 가정 게이트웨이(1221)와 연결되며, 도어벨, 도어 잠금 장치 및 카메라를 포함하는 것으로 가정한다. 아울러, 사용자의 단말기(1230)은 사무실 게이트웨이(1223)와 로컬로 직접 유/무선을 통해 연결된 경우를 가정한다.In FIG. 13, two gateways are used, one of which 1221 is provided in the user's home and the other 1223 is provided in the user's office, and is assumed to be connected to each other through the Internet. In addition, it is assumed that the entrance door lock system 1210 is connected to the home gateway 1221 and includes a doorbell, a door locking device, and a camera. In addition, it is assumed that the user's terminal 1230 is directly connected to the office gateway 1223 through wired/wireless.

도 13을 참조하면, 먼저 1) 방문자가 집 현관의 도어벨을 누름에 따라 게이트웨이(1221)에서는 서비스 계층(어플리케이션)으로 메타정보 관리 트리에 저장된 도어락 시스템(1210)에 대한 장치, 위치 및 서비스 정보가 전달된다. 2) 그에 따라 게이트웨이(1221)는 장치 및 위치 정보를 이용하여 카메라를 동작시킬 수 있다. 3) 또한, 게이트웨이(1221)는 사용자 및 위치 정보를 이용하여 사용자의 위치 정보를 조회한다. 4) 그 결과, 게이트웨이(1221)는 사용자의 위치가 사무실로 확인되면 고객 댁네 장치(CPE) 항목 및 서비스 정보를 이용하여 사무실에 구비된 게이트웨이(1223)와 서비스 연동을 수행할 수 있다. 5) 사무실에 구비된 게이트웨이(1223)는 장치 항목의 정보를 이용하여 사용자의 단말기(1230)를 호출하고, 6) 디바이스 어댑터 항목의 정보를 이용하여 카메라(1210)와 단말기(1230)의 데이터 송수신 속도를 확인하여 최적의 동영상 코덱을 결정할 수 있다. 7) 이후 장치 기능 정보를 이용하여 가정 게이트웨이(1221)는 현관 카메라의 화면과 음성을 사무실 게이트웨이(1223)로 전달하여 사용자와 방문자가 영상통화를 수행하도록 할 수 있다. 8) 여기서 사용자가 단말기를 통해 문열림 명령을 입력하는 경우, 가정 게이트웨이(1221)는 장치 및 장치 기능 정보를 이용하여 도어락을 해제하고 카메라를 정지시킬 수 있다. Referring to FIG. 13, first 1) As a visitor presses the doorbell at the entrance of the house, the gateway 1221 provides device, location, and service information for the door lock system 1210 stored in the meta information management tree as a service layer (application). Is delivered. 2) Accordingly, the gateway 1221 can operate the camera using the device and location information. 3) In addition, the gateway 1221 inquires the user's location information using the user and location information. 4) As a result, if the location of the user is confirmed as the office, the gateway 1221 may perform service interworking with the gateway 1223 provided in the office using the customer's CPE item and service information. 5) The gateway 1223 provided in the office calls the user's terminal 1230 using the information of the device item, and 6) transmits and receives data between the camera 1210 and the terminal 1230 using the information of the device adapter item. You can determine the best video codec by checking the speed. 7) Thereafter, using the device function information, the home gateway 1221 may transmit the screen and audio of the entrance camera to the office gateway 1223 so that the user and the visitor can make a video call. 8) Here, when the user inputs a door open command through the terminal, the home gateway 1221 may release the door lock and stop the camera using the device and device function information.

이하에서는, 상술한 게이트웨이를 기반으로 복수의 장치가 하나의 서비스 실행에 관여하는 경우 본 발명에 따른 서비스 제어방법을 설명한다. Hereinafter, a service control method according to the present invention will be described when a plurality of devices are involved in executing one service based on the above-described gateway.

특히, 본 실시예에서는 하나의 서비스를 제공하기 위하여 복수의 기기가 연동되어 동작하는 상황에서 일부 장치가 다른 장치로 대체가 요구될 때의 서비스 제어방법이 제공된다.In particular, in the present embodiment, a service control method is provided when a replacement of some devices is required in a situation in which a plurality of devices are interlocked to operate to provide one service.

여기서, 서비스의 제어는 게이트웨이를 통해 수행되나, 서비스 제공에 참여하는 장치들간의 직접적인 데이터 교환은 라우터(Router)를 통해 수행될 수도 있고 피투피(P2P: Peer-to-Peer) 방식으로 라우터를 거치지 않고 수행될 수도 있다. 여기서 라우터는 그 명칭과 관계없이, 둘 이상의 장치 사이에서 유/무선으로 데이터 교환을 위한 경로를 제공할 수 있다면 어떠한 방식과 종류에도 제한되지 아니한다.Here, service control is performed through a gateway, but direct data exchange between devices participating in the service provision may be performed through a router, or through a peer-to-peer (P2P) method without passing through a router. It can also be done. Regardless of the name, the router is not limited to any method or type as long as it can provide a path for data exchange between two or more devices in a wired or wireless manner.

도 14는 라우터를 통해 외부 장치들이 연결될 때, 도 15는 피투피 방식으로 외부 장치들이 연결될 때 본 발명의 일 실시예에 따른 서비스 제공에 참여하는 장치 중 하나가 변경되는 과정의 일례를 각각 나타낸다.14 illustrates an example of a process in which one of the devices participating in service provision is changed when external devices are connected through a router, and FIG. 15 is a P2P method.

도 14 및 도 15에서는 장치 1(Device 1) 및 장치 2(Device 2)를 통해 하나의 서비스가 실행되던 중, 장치 2가 장치 3(Device 3)으로 대체되는 경우를 가정한다. 여기서 서비스의 주체(즉, 서비스의 컨텐츠를 제공하거나 실행 중 제어를 수행하는 마스터 장치)는 장치 1인 것으로 가정한다. In FIGS. 14 and 15, it is assumed that the device 2 is replaced by the device 3 while one service is being executed through the device 1 and the device 2. Here, it is assumed that the subject of the service (ie, a master device that provides content of a service or performs control during execution) is device 1.

먼저 도 14를 참조하면, 장치 1 및 장치 2는 각각 라우터(Router)와 게이트웨이(Gateway) 모두에 연결된 상황이며, 기 설정된 절차에 따라 서비스가 개시(standard service session start)되면 장치 1과 장치 2는 라우터를 통해 서비스 관련 데이터를 교환한다. First, referring to FIG. 14, device 1 and device 2 are each connected to both a router and a gateway, and when a service is started according to a preset procedure (standard service session start), device 1 and device 2 Service-related data is exchanged through a router.

특정 서비스가 실행됨에 따라, 장치 1과 장치 2는 이에 대한 사항(즉, 메타 정보)을 게이트웨이로 보고한다(①, ②). 이때 ② 과정은 선택적으로 수행될 수 있다. 즉, 서비스와 연계된 모든 장치가 게이트웨이로 보고를 수행할 수도 있고, 마스터 장치(즉, 장치 1)가 다른 장치(즉, 장치 2)의 정보까지 함께 게이트웨이로 보고를 수행할 수도 있다. As a specific service is executed, Device 1 and Device 2 report the information (ie meta information) to the gateway (①, ②). At this time, the ② process can be performed selectively. That is, all devices associated with the service may report to the gateway, or the master device (ie, device 1) may report to the gateway together with information of other devices (ie, device 2).

여기서 보고되는 메타 정보(meta data)는 세션 상태(Session state), 연결명(Connectivity name), 연결 서비스 카테고리(Connectivity service category), 채널(Channel), 서비스 컨텐츠(Service contents), 장치 타입(Device type), 장치 주소(Device address), 장치 역할(Device role) 등이 포함될 수 있다. 이들 중 장치 타입, 장치 주소, 장치 역할은 게이트웨이에서 이미 보유된 정보일 수 있다. 이러한 경우 해당 정보들은 상술한 메타정보 관리 트리의 형태로 게이트웨이에서 관리될 수 있다.The meta data reported here are Session state, Connectivity name, Connectivity service category, Channel, Service contents, and Device type. ), device address, device role, etc. Among these, the device type, device address, and device role may be information already held in the gateway. In this case, the corresponding information may be managed by the gateway in the form of the meta information management tree described above.

이후, 장치 3이 켜지커나 특정 서비스에 대한 요청을 게이트웨이로 보고할 ㅅ수 있다(③). 여기서 보고되는 메타 정보에는 연결 능력(Connectivity capability), 연결 서비스 능력(Connectivity service capability), 장치 타입(Device type), 장치 주소(Device address), 장치 역할(Device role) 등이 포함될 수 있으며, 이러한 정보 역시 메타정보 관리 트리의 형태로 게이트웨이에서 관리될 수 있다.After that, device 3 is turned on, but it can report a request for a specific service to the gateway (③). The meta information reported here may include connectivity capability, connectivity service capability, device type, device address, device role, etc., and such information It can also be managed in the gateway in the form of a meta information management tree.

게이트웨이는 ③ 과정에서 보고된 메타 정보를 바탕으로 현재 실행중인 서비스 중 장치 3으로 전환가능한 서비스의 항목을 선정할 수 있다(④). The gateway can select a service item that can be converted to device 3 among the currently running services based on the meta information reported in the process ③ (④).

선정된 서비스에 대한 메타 정보는 장치 3으로 보고될 수 있다(⑤). 여기서 보고되는 메타 정보에는 연결 이름, 연결 서비스 카테고리, 채널, 장치 타입, 장치 주소, 장치 역할 등이 포함될 수 있다.Meta information on the selected service can be reported to device 3 (⑤). Meta information reported here may include a connection name, a connection service category, a channel, a device type, a device address, a device role, and the like.

수신된 메타 데이터를 이용하여 장치 3에서 서비스에 참여할지 여부가 결정될 수 있다(⑥). 예를 들어, 장치 3에 구비된 디스플레이 수단을 통하여 메타 데이터를 시각적으로 출력하고, 이를 통해 사용자의 결정을 도울 수 있다. Using the received metadata, device 3 can determine whether to participate in the service (⑥). For example, it is possible to visually output metadata through a display means provided in the device 3, and thereby help a user to make a decision.

사용자가 장치 3의 서비스 참여(즉, 장치 2 대신 장치 3이 참여)를 결정함에 따라, 게이트웨이로 서비스 변경 요청 메시지가 장치 3에서 전달될 수 있다(⑦). 이때, 서비스 변경 요청 메시지에는 연결 이름, 연결 서비스 카테고리, 채널, 장치 타입, 장치 주소, 장치 역할 등의 메타 정보가 포함될 수 있다.As the user determines the service participation of the device 3 (ie, the device 3 instead of the device 2), a service change request message may be transmitted from the device 3 to the gateway (⑦). In this case, the service change request message may include meta information such as a connection name, a connection service category, a channel, a device type, a device address, and a device role.

변경 요청 메시지를 수신한 게이트웨이는 해당 서비스 항목에 연결된 장치 1 및 장치 2에 서비스 설정(configuration)을 변경할 수 있도록 제어 명령(control command)을 전달할 수 있다(⑧, ⑨). 이때, 제어 명령에는 연결 이름, 연결 서비스 카테고리, 대상 장치 주소(Target device address) 등이 포함될 수 있다. Upon receiving the change request message, the gateway may transmit a control command to device 1 and device 2 connected to the corresponding service item to change the service configuration (⑧, ⑨). In this case, the control command may include a connection name, a connection service category, and a target device address.

이후 장치 1 및 장치 2 사이의 서비스 세션이 중단되고, 장치 3이 장치 2 대신 서비스 실행에 참여할 수 있다.Thereafter, the service session between the device 1 and the device 2 is stopped, and the device 3 may participate in the service execution on behalf of the device 2.

한편, 도 15의 경우 라우터를 거치지 않고 각 장치들간에 서비스 관련 데이터가 직접 교환되는 점 외에는 도 14의 과정과 유사하므로 명세서의 간명함을 위하여 중복되는 설명은 생략하기로 한다.Meanwhile, in the case of FIG. 15, since the process of FIG. 14 is similar to the process of FIG. 14, except that service-related data is directly exchanged between devices without going through a router, a redundant description will be omitted for simplicity of the specification.

상술한 과정들에서 각 메타 정보의 구체적인 예는 다음과 같다.Specific examples of each meta-information in the above-described processes are as follows.

- 연결 이름(Connectivity name) : WiFi, WiFi Direct, TDLS(Tunneled Direct Link Setup), Bluetooth, Bluetooth LE(Low Energy), 등 -Connectivity name: WiFi, WiFi Direct, TDLS (Tunneled Direct Link Setup), Bluetooth, Bluetooth Low Energy (LE), etc.

- 연결 서비스 카테고리(Connectivity service category) : Miracast, DLNA, A2DP(Advance Audio Distribution Profile) 등-Connectivity service category: Miracast, DLNA, A2DP (Advance Audio Distribution Profile), etc.

- 서비스 컨텐츠(Service contents) : 비디오, 오디오, 이미지, 스크린 등-Service contents: video, audio, image, screen, etc.

- 장치 타입(Device type) : TV, 이동 단말기, 네트워크 접속 저장소(NAS: Network Attached Storage) 등 -Device type: TV, mobile terminal, network attached storage (NAS), etc.

- 장치 역할(Device role) : 소스/싱크(source/sink), 마스터/슬레이브(master/slave), 디지털 미디어 서버(DMS: digital media server), 디지털 미디어 플레이어(DMP: digital media player), 디지털 미디어 렌더러(DMR: digital media renderer), 디지털 미디어 제어기(DMC: digital media controller) 등-Device role: source/sink, master/slave, digital media server (DMS), digital media player (DMP), digital media DMR (digital media renderer), digital media controller (DMC), etc.

- 세션 상태(Session state) : 실행중(ongoing), 만료(expire) 등 -Session state: Ongoing, expiration, etc.

이하에서는 도 16 및 도 17을 참조하여 상술한 장치 변경 절차를 보다 구체적인 예를 들어 설명한다.Hereinafter, a more specific example will be described of the above-described device change procedure with reference to FIGS. 16 and 17.

도 16은 본 발명의 일 실시예에 따른 미러링 서비스에 참여하는 장치가 변경되는 과정의 일례를 나타낸다.16 shows an example of a process in which a device participating in a mirroring service is changed according to an embodiment of the present invention.

도 16에서는 단말기(예를 들어, 스마트폰)를 통해 표시되는 영상이 거실 TV를 통해 미러링(mirroring)되던 중, 사용자가 단말기와 함께 침실로 이동함에 따라 침실 TV를 통해 미러링이 속행되는 상황을 가정한다. 여기서 미러링이란 단말기에 표시되는 화면을 그대로 외부 디스플레이를 통해 출력하는 서비스를 의미하며, 다양한 프로토콜(예를 들어, 미라캐스트, DLNA 등)을 통해 수행될 수 있음은 물론이다. 또한, 거실 TV, 침실 TV 및 단말기는 이미 게이트웨이에 등록되어 연결 중이거나 언제든지 연결이 가능한 상황인 것으로 가정한다.In FIG. 16, it is assumed that an image displayed through a terminal (e.g., a smartphone) is mirrored through a living room TV, and mirroring continues through the bedroom TV as the user moves to the bedroom with the terminal. do. Here, mirroring refers to a service that outputs a screen displayed on a terminal as it is through an external display, and of course, it can be performed through various protocols (eg, Miracast, DLNA, etc.). In addition, it is assumed that the living room TV, the bedroom TV, and the terminal are already registered in the gateway and are being connected or can be connected at any time.

도 16을 참조하면, 먼저 미러링 서비스가 시작되어 단말기의 화면이 거실 TV로 미러링될 수 있다(①). Referring to FIG. 16, first, a mirroring service is started so that the screen of the terminal may be mirrored to the living room TV (①).

그에 따라 단말기는 미러링 서비스에 관련된 메타 정보(예를 들어, 세션 상태, 연결명, 연결 서비스 카테고리, 서비스 컨텐츠, 채널, 장치 타입, 장치 주소, 장치 역할 등)을 게이트웨이로 보고할 수 있다(②).Accordingly, the terminal may report meta information related to the mirroring service (eg, session state, connection name, connection service category, service content, channel, device type, device address, device role, etc.) to the gateway (②). .

미러링 진행 중, 사용자가 단말기와 함께 침실로 이동할 수 있다(③). While mirroring is in progress, the user can move to the bedroom with the terminal (③).

침실로 이동한 사용자가 침실 TV를 켬에 따라(④), 침실 TV는 게이트웨이로 전원이 켜진 상태를 보고할 수 있다(⑤).As the user who has moved to the bedroom turns on the bedroom TV (④), the bedroom TV can report the power-on status to the gateway (⑤).

게이트웨이는 자신에 연결 중인 다른 사용자의 단말이 없는 경우 집에는 해당 사용자만이 존재하는 것으로 판단할 수 있으며, 침실 TV가 켜진것은 사용자가 침실로 이동한 것으로 판단할 수 있다. 한편, 게이트웨이는 침실 TV의 기능(device function)을 초기 연결시 획득하여 메타정보 관리 트리의 형태로 관리하고 있다. 따라서, 게이트웨이는 거실 TV에서 침실 TV로 전환이 가능한 서비스를 추출하여 그에 관련된 메타 정보를 침실 TV로 전송할 수 있다(⑥).When there is no terminal of another user connected to the gateway, it can be determined that only the user exists in the house, and when the bedroom TV is turned on, it can be determined that the user has moved to the bedroom. Meanwhile, the gateway acquires the device function of the bedroom TV at the initial connection and manages it in the form of a meta information management tree. Accordingly, the gateway can extract a service that can be switched from a living room TV to a bedroom TV and transmit meta information related thereto to the bedroom TV (⑥).

침실 TV는 수신된 메타 정보를 이용하여 사용자에게 실행중인 미러링 서비스의 출력 장치를 거실 TV에서 침실 TV로 변경할지 여부를 사용자로부터 확인받기 위한 사용자 인터페이스를 출력할 수 있다(⑦). The bedroom TV may output a user interface for receiving confirmation from the user whether to change the output device of the mirroring service being executed from the living room TV to the bedroom TV to the user by using the received meta information (⑦).

여기서 사용자가 침실 TV로의 변경을 선택하는 경우, 침실 TV는 게이트웨이로 미러링 변경 요청(mirroring scene change request) 메지시를 전송할 수 있다(⑧). Here, when the user selects to change to the bedroom TV, the bedroom TV may transmit a mirroring scene change request message to the gateway (⑧).

게이트웨이는 요청 메시지에 따라 단말기에 미러링 변경 명령(mirroring scene change command) 메시지를 전송할 수 있다(⑨). 이때, 미러링 변경 명령 메시지에는 거실 TV의 역할이 침실 TV로 대체됨을 지시하기 위하여 침실 TV의 주소, 타입, 능력 등의 메타 정보가 포함될 수 있다.The gateway may transmit a mirroring scene change command message to the terminal according to the request message (⑨). In this case, the mirroring change command message may include meta information such as the address, type, and capability of the bedroom TV to indicate that the role of the living room TV is replaced by the bedroom TV.

미러링 변경 명령 메시지를 수신한 단말기는 침실 TV로 미러링 서비스의 출력 장치를 변경할 수 있다(⑩). 물론, 이러한 과정에서 사용자의 확인을 받기 위한 사용자 인터페이스가 단말기의 디스플레이를 통해 제공될 수 있음은 물론이다.The terminal receiving the mirroring change command message can change the output device of the mirroring service to the bedroom TV (⑩). Of course, in this process, a user interface for receiving user confirmation may be provided through the display of the terminal.

거실 TV에서 침실 TV로의 전환이 완료되면, 단말기는 게이트웨이로 미러링 전환 완료 상태를 보고할 수 있다(⑪).When the conversion from the living room TV to the bedroom TV is completed, the terminal can report the completion status of the mirroring conversion to the gateway (⑪).

전환 완료가 보고됨에 따라, 게이트웨이는 거실 TV로 전원을 끌 것을 지시할 수 있다(⑫). 이때, 거실 TV는 바로 꺼질 수도 있고, 꺼짐 예고에 대한 정보를 소정의 사용자 인터페이스를 통해 화면에 출력할 수도 있다. 이러한 경우 일정 시간동안 사용자의 입력이 없는 경우 거실 TV가 꺼질 수 있다.As the conversion completion is reported, the gateway can instruct the living room TV to power off (⑫). In this case, the living room TV may be immediately turned off, or information on a turn-off notice may be output on the screen through a predetermined user interface. In this case, if there is no user input for a certain period of time, the living room TV may be turned off.

도 17은 본 발명의 일 실시예에 따른 미러링 서비스에 참여하는 장치가 변경되는 과정의 다른 일례를 나타낸다.17 illustrates another example of a process in which a device participating in a mirroring service is changed according to an embodiment of the present invention.

도 17에서는 네트워크 연결 저장소(NAS: Network Attached Storage)에 저장된 컨텐츠가 무선 공유기(AP)를 통해 거실 TV로 전송되어 재생(즉, 공유: share scene)되던 중, 사용자가 침실로 이동함에 따라 침실 TV를 해당 컨텐츠의 재생이 속행되는 상황을 가정한다. 또한, 사용자는 블루투스 헤드폰을 착용하고 있으며, 거실 TV 및 침실 TV 모두와 페어링이 가능한 것으로 가정한다.In FIG. 17, while content stored in a network attached storage (NAS) is transmitted to a living room TV through a wireless router (AP) and played (i.e., a share scene), the bedroom TV as a user moves to the bedroom. Assume a situation in which playback of the corresponding content continues. In addition, it is assumed that the user is wearing Bluetooth headphones and can be paired with both a living room TV and a bedroom TV.

도 17을 참조하면, 블루투스 이어폰이 거실 TV와 연결되어 거실 TV의 음향이 블루투스 이어폰으로 출력되고 있으며, NAS에 저장된 특정 컨텐츠가 AP를 통해 거실 TV로 전송됨에 따라 해당 컨텐츠가 거실 TV를 통해 출력될 수 있다(①). Referring to FIG. 17, a Bluetooth earphone is connected to a living room TV and sound from the living room TV is output through the Bluetooth earphone, and as specific content stored in the NAS is transmitted to the living room TV through the AP, the corresponding content is output through the living room TV. Can be (①).

거실 TV는 그에 따라 컨텐츠 재생에 관련된 메타 정보(예를 들어, 세션 상태, 연결명, 연결 서비스 카테고리, 서비스 컨텐츠, 채널, 장치 타입, 장치 주소, 장치 역할 등)와 장치 연결 상태 정보(즉, 블루투스 헤드폰에 대한 장치 타입, 연결명, 연결 서비스 카테고리, 장치 주소, 장치 역할 등)을 게이트웨이로 보고할 수 있다(②).The living room TV accordingly includes meta information related to content playback (e.g., session state, connection name, connection service category, service content, channel, device type, device address, device role, etc.) and device connection state information (i.e., Bluetooth The device type, connection name, connection service category, device address, device role, etc. for headphones can be reported to the gateway (②).

컨텐츠 재생 중, 사용자가 블루투스 헤드폰을 착용한 상태로 침실로 이동할 수 있다(③). During content playback, the user can move to the bedroom while wearing the Bluetooth headphones (③).

침실로 이동한 사용자가 침실 TV를 켬에 따라(④), 침실 TV는 게이트웨이로 전원이 켜짐을 보고할 수 있다(⑤).As the user who has moved to the bedroom turns on the bedroom TV (④), the bedroom TV can report the power-on to the gateway (⑤).

그에 따라 게이트웨이는 사용자가 침실로 이동한 것으로 판단할 수 있다. 한편, 게이트웨이는 침실 TV의 기능(device function)을 초기 연결시 획득하여 메타정보 관리 트리의 형태로 관리하고 있다. 따라서, 게이트웨이는 거실 TV에서 침실 TV로 전환이 가능한 서비스를 추출하여 그에 관련된 메타 정보를 침실 TV로 전송할 수 있다(⑥).Accordingly, the gateway may determine that the user has moved to the bedroom. Meanwhile, the gateway acquires the device function of the bedroom TV at the initial connection and manages it in the form of a meta information management tree. Accordingly, the gateway can extract a service that can be switched from a living room TV to a bedroom TV and transmit meta information related thereto to the bedroom TV (⑥).

침실 TV는 수신된 메타 정보를 이용하여 사용자에게 실행중인 컨텐츠 공유 서비스의 출력 장치를 거실 TV에서 침실 TV로 변경할지 여부를 사용자로부터 확인받기 위한 사용자 인터페이스를 출력할 수 있다(⑦). The bedroom TV may output a user interface for receiving confirmation from the user whether to change the output device of the content sharing service being executed from the living room TV to the bedroom TV to the user by using the received meta information (⑦).

여기서 사용자가 침실 TV로의 변경을 선택하는 경우, 침실 TV는 게이트웨이로 공유 변경 요청(share scene change request) 메지시를 전송할 수 있다(⑧). Here, when the user selects to change to the bedroom TV, the bedroom TV may transmit a share scene change request message to the gateway (⑧).

게이트웨이는 요청 메시지에 따라 NAS와 침실 TV에 공유 변경 명령(share scene change command) 메시지를 전송할 수 있다(⑨). 이때, NAS로 전송되는 공유 변경 명령 메시지에는 침실 TV의 주소, 타입, 능력 등의 메타 정보가 포함될 수 있다. 또한, 침실 TV로 전송되는 공유 변경 명령 메시지에는 블루투스 헤드폰에 대한 연결 정보가 포함될 수 있다.The gateway may transmit a share scene change command message to the NAS and the bedroom TV according to the request message (⑨). In this case, the share change command message transmitted to the NAS may include meta information such as the address, type, and capability of the bedroom TV. In addition, the sharing change command message transmitted to the bedroom TV may include connection information for Bluetooth headphones.

미러링 변경 명령 메시지를 수신한 NAS는 침실 TV로 공유 서비스의 출력 장치를 변경할 수 있다(⑩). 또한, 침실 TV는 블루투스 헤드폰과 페어링되어 음향이 블루투스 헤드폰을 통해 출력되도록 할 수 있다(⑪). 이때, 블루투스 헤드폰은 거실 TV와 페어링이 해제될 수 있다.Upon receiving the mirroring change command message, the NAS can change the output device of the shared service to the bedroom TV (⑩). In addition, the bedroom TV can be paired with Bluetooth headphones so that sound is output through the Bluetooth headphones (⑪). At this time, the Bluetooth headphones may be disconnected from the living room TV.

거실 TV에서 침실 TV로의 전환이 완료되면, 침실 TV는 게이트웨이로 공유 전환 완료 상태를 보고할 수 있다(⑫).When the conversion from the living room TV to the bedroom TV is completed, the bedroom TV can report the completion status of sharing conversion to the gateway (⑫).

전환 완료가 보고됨에 따라, 게이트웨이는 거실 TV로 전원을 끌 것을 지시할 수 있다(⑬). 전술한 바와 같이, 거실 TV는 바로 꺼질 수도 있고, 꺼짐 예고에 대한 정보를 소정의 사용자 인터페이스를 통해 화면에 출력할 수도 있다. 이러한 경우 일정 시간동안 사용자의 입력이 없는 경우 거실 TV가 꺼질 수 있다.As the conversion completion is reported, the gateway can instruct the living room TV to power off (⑬). As described above, the living room TV may be immediately turned off, or information on a turn-off notice may be output on the screen through a predetermined user interface. In this case, if there is no user input for a certain period of time, the living room TV may be turned off.

상술한 도 16에 의하면, 게이트웨이가 직접 블루투스를 지원하지 않는 경우라 하더라도 다른 장치를 통해 페어링의 제어가 가능하므로, 해다 서비스에 참여하는 복수의 장치에 대한 일괄적 서비스 변경이 가능한 장점이 있다.According to the above-described FIG. 16, even if the gateway does not directly support Bluetooth, since the pairing can be controlled through another device, there is an advantage in that it is possible to collectively change a service for a plurality of devices participating in the Haeda service.

또한, 상술한 실시예들에서 사용자의 이동은 기존에 동작중인 장치의 위치와 상이한 위치에서 새로이 전원이 들어온 장치가 있는지 여부로 판단하였으나, 이는 예시적인 것으로 모션 센서나 카메라 등 사용자의 위치를 감지할 수 있다면 어떠한 장치를 통한 방법에도 제한되지 아니한다.In addition, in the above-described embodiments, the movement of the user was determined by whether or not there was a device that was newly powered on at a location different from the location of the existing device, but this is an example and the location of the user such as a motion sensor or a camera If possible, the method through any device is not limited.

동작 상태 정의Operation state definition

한편, 본 발명의 일 실시예에서는 게이트웨이에 연결된 기기들의 동작 상황 및 사용자의 로컬/원격 여부에 따라 상태(State)를 정의해서 게이트웨이나 서버가 이러한 상태에 따른 관리를 수행하도록 할 것을 제안한다. 이를 통해 위급 상황에 대한 대응과 에너지 절감, 신호 간섭 저하, 편리성 등이 제공될 수 있다.Meanwhile, according to an embodiment of the present invention, it is proposed to define a state according to the operation status of devices connected to the gateway and whether the user is local/remote, so that the gateway or the server performs management according to the status. Through this, response to an emergency situation, energy saving, signal interference reduction, and convenience can be provided.

본 실시예에 따른 상태는, 액티브 상태, 파크 상태, 슬립 상태 및 긴급 상태를 포함할 수 있다. 이하 각 상태에 대하여 상세히 설명한다.The states according to the present embodiment may include an active state, a park state, a sleep state, and an emergency state. Hereinafter, each state will be described in detail.

먼저 액티브 상태를 설명한다.First, the active state will be described.

액티브 상태란, 장치가 동작 중인 상태를 의미하며, 액티브 상태(Active state)는 로컬 액티브와 원격 액티브로 구분될 수 있다.The active state means a state in which the device is operating, and the active state may be divided into a local active and a remote active.

게이트웨이 또는 서버가 장치로 명령을 보내거나, 장치로부터 동작에 대한 이벤트를 수신하는 상황 및 명령/이벤트 발새에 의해 기대되는 장치의 동작 시간으로 액티브 상태를 알 수 있다.It is possible to know the active state by a situation in which the gateway or the server sends a command to the device or receives an event for an operation from the device and the operation time of the device expected by the command/event issuance.

로컬 및 원격의 구분 기준은 명령 및 이벤트의 전달 경로가 로컬 영역에서인지 원격 영역에서인지에 따라 구분될 수 있다. 보조적으로 사용자의 마스터 사용자 기기가 로컬에서 발견되었는지 여부 및 상황 인식(context aware)/ 모션 센싱( motion sensing) 등으로 사용자가 집안에 있는지 여부가 추가로 판단될 수도 있다The local and remote classification criteria may be classified according to whether a delivery path of commands and events is in a local area or a remote area. Additionally, whether the user's master user device has been found locally and whether the user is in the house may be additionally determined by context aware/motion sensing.

동작 측면에서, 로컬 액티브 상태에서는 사용자가 기기에서 지원되는 모든 기능의 사용이 가능한다. 리모트 액티브 상태의 경우 장치의 기능이 제한적으로 사용될 수 있다. 제한된 기능은 장치 제조사에 의해 미리 선정될 수 있다. 예를 들어 오븐의 조리 개시와 같이 원격에서 지원 시 위험할 수 있는 기능에 대해서는 로컬에서만 가능하도록 미리 설정 가능하다. In terms of operation, the local active state allows the user to use all functions supported by the device. In the case of the remote active state, the functions of the device may be limited. Limited functions can be pre-selected by the device manufacturer. For example, functions that may be dangerous when applying remotely, such as starting cooking of an oven, can be set in advance so that they are only available locally.

다음으로 파크 상태(Parked State)를 설명한다.Next, the parked state will be described.

파크 상태는 보안, 안전과 관계된 장치나 항상 켜져있는 장치를 제외한 장치에 동작 변화가 없고, 동작하기 위한 스케쥴도 없는 상태가 지속될 것이 확실한 상태를 의미할 수 있다.The park state may mean a state in which there is no change in operation of devices other than devices related to security and safety or devices that are always turned on, and a state in which there is no schedule for operation is certain to continue.

이러한 상태를 결정하는 방법은 사용자가 집안에 없다고 판단된 상황 또는 장치의 동작 상태에 상관 없이 사용자에 의해서 해당 상태로 진입하라는 명령이 내려진 경우 등이 될 수 있다. 사용자의 위치 판단은 액티브 상태에서 상술한 바와 같다.The method of determining such a state may be a situation in which it is determined that the user is not in the house, or when a command to enter the state is given by the user regardless of the operating state of the device. The determination of the user's location is as described above in the active state.

동작 측면에서, 파크 상태에서는 게이트웨이나 서버의 명령에 의해 보안/안전에 관계된 장치 및 서비스가 활성화되고, 항상 켜져있는 장치를 제외한 장치들의 전원이 꺼지게 된다. 이때, 항상 켜져있는 장치도 에너지 절약기능이 활성화될 수 있다. 본 상태에서 다른 상태로 천이하는 경우, 리텐션(retention)을 위해 본 상태로 진입 전의 동작 상황에 대한 메타데이터가 미리 저장되는 것이 바람직하다.In terms of operation, in the park state, devices and services related to security/safety are activated by a command of a gateway or a server, and power of devices other than those that are always on are turned off. In this case, the energy saving function may be activated even in a device that is always turned on. In the case of transitioning from this state to another state, it is preferable that metadata on the operation state before entering the present state is stored in advance for retention.

다음으로 슬립 상태를 설명한다.Next, the sleep state will be described.

슬립 상태는 보안, 안전과 관계된 장치나 항상 켜져있는 장치를 제외한 장치가 일정 시간 이상 계속하여 동작하지 않는 상황에서 집안에 유저가 있는지 불확실한 경우의 상태를 의미할 수 있다. The sleep state may mean a state in which it is uncertain whether there is a user in the house when a device other than a device related to security and safety or a device that is always turned on does not operate continuously for a predetermined time or longer.

동작 측면에서, 슬립 상태에서는 게이트웨이나 서버의 명령에 의해 보안/안전에 관계된 장치를 제외한 장치들에 슬립 알림이 전달된다. 슬립 알림이 전달되는 경우, 주기적 동작을 수행하는 기기는 해당 주기를 보다 길게 변경할 수 있다. 또한, 슬립 알림을 수신한 항상 켜져있는 장치는, 에너지 절약 기능이 있을 경우 활성화될 수도 있다.In terms of operation, in the sleep state, sleep notifications are transmitted to devices other than devices related to security/safety by a command of a gateway or a server. When the sleep notification is delivered, the device performing the periodic operation may change the period to be longer. In addition, a device that is always turned on upon receiving a sleep notification may be activated if there is an energy saving function.

다음으로 비상 상태를 설명한다.Next, the emergency state will be described.

비상 상태는 보안, 안전과 관계된 장치나 서비스에 의해 이벤트 발생이 감지된 상태를 의미할 수 있다.The emergency state may mean a state in which an event is detected by a device or service related to security or safety.

동작 측면에서, 게이트웨이나 서버의 명령에 따라 비상 알림을 수신한 각 장치는 수행 중인 동작을 정지하고 미리 설정된 비상 동작을 수행할 수 있다. 이를 통해 사용자에게는 즉각적인 상황에 대한 보고를 보내고 침입자 또는 주변인에게는 경고의 메시지를 보낼 수 있다. In terms of operation, each device receiving an emergency notification according to a command from a gateway or a server may stop an operation being performed and perform a preset emergency operation. Through this, users can be informed of an immediate situation and a warning message can be sent to intruders or neighbors.

상술한 네 상태의 관계가 도 18에 도시된다.The relationship between the above four states is shown in FIG. 18.

도 18에서는, 각 상태 간 천이 방법 및 조건이 화살표 방향에 표시되어 있다. 상태도(State diagram) 안에 작원 원형 영역은 집안에서 실행되는 서비스들을 카테고리화하여 각 서비스 카테고리가 어느 상태에서 동작하는지를 나타낸다. 물론, 이러한 서비스들은 집안에 설치된 장치에 따라 변경될 수 있다. 또한, 보안/안전 및 항상 동작하는 장치/서비스들은 모든 상태에서 항시 동작하는 것으로 나타나 있다. 한편, 슬립과 파크 상태는 에너지 절약과 간섭 저감(interference reduction)에 기여하고 있으며, 비상 모드 서비스는 비상 상태에서 동작하며 다른 모든 동작보다 높은 우선권을 갖고 정해진 서비스를 수행할 수 있다.In Fig. 18, the transition method and condition between the states are indicated in the direction of the arrow. The circular area in the state diagram categorizes services running in the house and indicates in which state each service category operates. Of course, these services can change depending on the devices installed in the house. In addition, security/safety and always-on devices/services are shown to always operate in all states. On the other hand, the sleep and park states contribute to energy saving and interference reduction, and the emergency mode service operates in an emergency state and can perform a predetermined service with a higher priority than all other operations.

상술한 상태 관리 방법은 가정간 무선 신호에 의해 발생되는 간섭 문제를 제어하는데 적용될 수 있다.The above-described state management method can be applied to control interference problems caused by wireless signals between homes.

도 19는 가정간 무선 신호에 의한 간섭이 발생되는 형태의 일례를 나타낸다.19 shows an example of interference caused by wireless signals between homes.

도 19와 같이, 스마트 홈 서비스를 위해 WiFi, Zigbee, KNX, eQ3 등의 다양한 프로토콜을 따르는 기기들이 가정 내 설치될 경우, 가정 내 뿐만 아니라 가정 간에도 무선 신호에 의한 간섭이 가중될 수 있다. 따라서, 슬립 상태나 파크 상태를 통해 불필요한 상황에서 무선 신호가 전송되지 않도록 할 수 있다. 물론, 이러한 상태에서 액티브 상태로 깨어나기 위한(Alive) 심박(heartbeat) 감지나, 장치 발견(device discovery)을 위한 SSDP(Simple Service Discovery Protocol) advertisement 등의 주기(Period)를 조절할 수 있다. 물론, 도 19는 예시적인 것으로, 무선 신호 전달 범위(wireless signal propagation coverage)는 연결성 표준에 따라 변동될 수 있음은 물론이다.As shown in FIG. 19, when devices complying with various protocols such as WiFi, Zigbee, KNX, and eQ3 are installed in a home for smart home service, interference by wireless signals may be increased not only within homes but also between homes. Accordingly, it is possible to prevent wireless signals from being transmitted in unnecessary situations through a sleep state or a park state. Of course, it is possible to adjust the period of a heartbeat detection for awakening from this state to an active state, or a Simple Service Discovery Protocol (SSDP) advertisement for device discovery. Of course, FIG. 19 is an example, and it goes without saying that the wireless signal propagation coverage may vary according to the connectivity standard.

한편, 전술한 홈 상태 관리(Home State Management) 기능은 게이트웨이의 시스템 서비스에 구현될 수 있다. 홈 상태 관리 서비스는 메타정보 관리 기능을 통해 댁내의 장치들에 대한 상태를 체크할 수 있고, 시스템 서비스 계층의 다른 서비스들과 어플리케이션 계층의 서비스들을 통제하거나 피드백을 줄 수 있다.Meanwhile, the aforementioned Home State Management function may be implemented in a system service of a gateway. The home state management service can check the status of in-house devices through a meta-information management function, control other services in the system service layer and services in the application layer, or provide feedback.

이하에서는 상술한 기능을 수행할 수 있는 게이트웨이의 기구적 구성을 도 20을 참조하여 설명한다.Hereinafter, a mechanical configuration of a gateway capable of performing the above-described functions will be described with reference to FIG. 20.

도 20은 본 발명의 실시예들에 적용될 수 있는 게이트웨이의 블럭 구성도의 일례를 나타낸다.20 shows an example of a block diagram of a gateway applicable to embodiments of the present invention.

상기 게이트웨이(100)는 무선 통신부(110), 사용자 입력부(120), 출력부(150), 인터페이스부(160), 메모리(170), 제어부(180) 및 전원 공급부(190) 등을 포함할 수 있다. 도 17에 도시된 구성요소들은 게이트웨이를 구현하는데 있어서 필수적인 것은 아니어서, 본 명세서 상에서 설명되는 게이트웨이는 위에서 열거된 구성요소들 보다 많거나, 또는 적은 구성요소들을 가질 수 있다. The gateway 100 may include a wireless communication unit 110, a user input unit 120, an output unit 150, an interface unit 160, a memory 170, a control unit 180, a power supply unit 190, and the like. have. The components shown in FIG. 17 are not essential in implementing the gateway, and thus the gateway described in the present specification may have more or fewer components than the components listed above.

보다 구체적으로, 상기 구성요소들 중 무선 통신부(110)는, 게이트웨이(100)와 외부장치, 게이트웨이(100)와 다른 게이트웨이(100) 사이, 또는 게이트웨이(100)와 다른 게이트웨이(100, 또는 외부서버)가 위치한 네트워크 사이의 무선 통신을 가능하게 하는 하나 이상의 모듈을 포함할 수 있다.More specifically, among the components, the wireless communication unit 110 may include a gateway 100 and an external device, a gateway 100 and another gateway 100, or a gateway 100 and another gateway 100, or an external server. ) May include one or more modules to enable wireless communication between the located networks.

이러한 무선 통신부(110)는, 방송 수신 모듈(111), 이동통신 모듈(112), 무선 인터넷 모듈(113), 근거리 통신 모듈(114), 위치정보 모듈(115) 중 적어도 하나를 포함할 수 있다.The wireless communication unit 110 may include at least one of a broadcast reception module 111, a mobile communication module 112, a wireless Internet module 113, a short-range communication module 114, and a location information module 115. .

사용자 입력부(120)는 사용자로부터 제어 명령을 입력받기 위한 터치키(touch key), 푸시키(mechanical key) 등을 포함할 수 있다. The user input unit 120 may include a touch key, a mechanical key, or the like for receiving a control command from a user.

출력부(150)는 시각, 청각 또는 촉각 등과 관련된 출력을 발생시키기 위한 것으로, 디스플레이부(151), 음향 출력부(152), 광 출력부(153) 중 적어도 하나를 포함할 수 있다. 디스플레이부(151)는 터치 센서와 상호 레이어 구조를 이루거나 일체형으로 형성됨으로써, 터치 스크린을 구현할 수 있다. 이러한 터치 스크린은, 게이트웨이(100)와 사용자 사이의 입력 인터페이스를 제공하는 사용자 입력부(123)로써 기능함과 동시에, 게이트웨이(100)와 사용자 사이의 출력 인터페이스를 제공할 수 있다.The output unit 150 is for generating an output related to visual, auditory or tactile sense, and may include at least one of a display unit 151, an audio output unit 152, and a light output unit 153. The display unit 151 may implement a touch screen by forming a layer structure or integrally with the touch sensor. Such a touch screen may function as a user input unit 123 that provides an input interface between the gateway 100 and a user, and may provide an output interface between the gateway 100 and a user.

인터페이스부(160)는 게이트웨이(100)에 연결되는 다양한 종류의 외부 장치와의 통로 역할을 수행한다. 이러한 인터페이스부(160)는, 유/무선 헤드셋 포트(port), 외부 충전기 포트(port), 유/무선 데이터 포트(port), 메모리 카드(memory card) 포트, 식별 모듈이 구비된 장치를 연결하는 포트(port), 오디오 I/O(Input/Output) 포트(port), 비디오 I/O(Input/Output) 포트(port), 이어폰 포트(port) 중 적어도 하나를 포함할 수 있다. 게이트웨이(100)에서는, 상기 인터페이스부(160)에 외부 장치가 연결되는 것에 대응하여, 연결된 외부 장치와 관련된 적절할 제어를 수행할 수 있다.The interface unit 160 serves as a path to various types of external devices connected to the gateway 100. The interface unit 160 connects a wired/wireless headset port, an external charger port, a wired/wireless data port, a memory card port, and a device equipped with an identification module. It may include at least one of a port, an audio input/output (I/O) port, an input/output (video I/O) port, and an earphone port. In response to the connection of the external device to the interface unit 160, the gateway 100 may perform appropriate control related to the connected external device.

메모리(170)는 게이트웨이(100)에서 구동되는 다수의 응용 프로그램(application program 또는 애플리케이션(application)), 게이트웨이(100)의 동작을 위한 데이터들, 명령어들 및 상술한 메타정보 관리 트리를 저장할 수 있다. 이러한 응용 프로그램 중 적어도 일부는, 무선 통신을 통해 외부 서버로부터 다운로드 될 수 있다. 또한 이러한 응용 프로그램 중 다른 적어도 일부는, 게이트웨이(100)의 기본적인 기능(예를 들어, 외부 장치와의 유/무선 연결성 제공, 주변의 연결 가능한 장치 탐지 및 등록)을 위하여 출고 당시부터 게이트웨이(100)상에 존재할 수 있다. 한편, 응용 프로그램은, 메모리(170)에 저장되고, 게이트웨이(100) 상에 설치되어, 제어부(180)에 의하여 상기 게이트웨이의 동작(또는 기능)을 수행하도록 구동될 수 있다.The memory 170 may store a plurality of application programs (application programs or applications) driven by the gateway 100, data for operation of the gateway 100, commands, and the above-described meta information management tree. . At least some of these application programs may be downloaded from an external server through wireless communication. In addition, at least some other of these application programs, the gateway 100 from the time of shipment for basic functions of the gateway 100 (for example, providing wired/wireless connectivity with external devices, detection and registration of nearby connectable devices). May exist in the phase. Meanwhile, the application program may be stored in the memory 170, installed on the gateway 100, and driven by the controller 180 to perform an operation (or function) of the gateway.

제어부(180)는 상기 응용 프로그램과 관련된 동작 외에도, 통상적으로 게이트웨이(100)의 전반적인 동작을 제어한다. 제어부(180)는 위에서 살펴본 구성요소들을 통해 입력 또는 출력되는 신호, 데이터, 메타정보 관리 트리의 항목 등을 처리하거나 메모리(170)에 저장된 응용 프로그램을 구동함으로써, 사용자에게 적절한 정보 또는 기능을 제공 또는 처리할 수 있다.In addition to the operation related to the application program, the control unit 180 generally controls the overall operation of the gateway 100. The controller 180 processes signals input or output through the above-described elements, data, and items of the meta information management tree, or drives an application program stored in the memory 170 to provide appropriate information or functions to the user or You can handle it.

또한, 제어부(180)는 메모리(170)에 저장된 응용 프로그램을 구동하기 위하여, 도 20과 함께 살펴본 구성요소들 중 적어도 일부를 제어할 수 있다. 나아가, 제어부(180)는 상기 응용 프로그램의 구동을 위하여, 게이트웨이(100)에 포함된 구성요소들 중 적어도 둘 이상을 서로 조합하여 동작시킬 수 있다.In addition, in order to drive the application program stored in the memory 170, the controller 180 may control at least some of the components described with reference to FIG. 20. Furthermore, in order to drive the application program, the controller 180 may operate by combining at least two or more of the components included in the gateway 100 with each other.

구체적으로, 제어부(180)는 외부장치와 무선통신부(110) 또는 인터페이스부(160)를 통해 데이터 경로를 설립하고, 이를 통하여 외부장치가 연결된 경우 소정의 등록절차에 따라 외부 장치의 정보를 읽어와 메모리(170)의 메타정보 관리 트리에 등록할 수 있다. 이후 외부 장치로부터 서비스 요청 메시지가 전달되면 해당 서비스의 수행에 필요한 정보를 메타정보 관리 트리로부터 획득하고, 필요한 절차(예를 들어, 상술한 충돌 해결 절차, 사용자 위치 탐지에 따른 다른 게이트웨이와의 연동 동작 등)가 수행되도록 할 수 있다.Specifically, the control unit 180 establishes a data path with the external device through the wireless communication unit 110 or the interface unit 160, and when the external device is connected through this, reads information of the external device according to a predetermined registration procedure. It can be registered in the meta information management tree of the memory 170. Thereafter, when a service request message is transmitted from an external device, information necessary for the execution of the service is obtained from the meta information management tree, and necessary procedures (e.g., the above-described conflict resolution procedure, interworking with other gateways according to user location detection) Etc.) can be performed.

또한, 제어부(180)는 외부 장치들로부터 실행중인 서비스에 대한 메타 정보를 보고 받고, 다른 외부 장치가 켜지면 켜진 외부 장치로 실행중인 서비스를 전환할 수 있는지 여부를 판단하고, 전환 가능한 서비스에 대한 정보를 켜진 외부 장치로 전달할 수 있다. 이후 사용자의 명령 입력에 따라 특정 서비스가 실행되는 장치가 변경되도록 제어할 수 있다. 여기서 장치가 새로이 켜졌는지 여부는 사용자의 위치 이동 여부를 판단할 수 있는 다른 정보에 의해 대체될 수 있음은 상술한 바와 같다. In addition, the controller 180 receives meta information on the running service from external devices, determines whether or not the running service can be switched to the turned on external device when another external device is turned on, and Information can be transferred to an external device that is turned on. Thereafter, according to a user's command input, a device running a specific service can be controlled to be changed. As described above, whether or not the device is newly turned on may be replaced by other information capable of determining whether or not the user moves the location.

전원공급부(190)는 제어부(180)의 제어 하에서, 외부의 전원, 내부의 전원을 인가 받아 게이트웨이(100)에 포함된 각 구성요소들에 전원을 공급한다. 이러한 전원공급부(190)는 배터리를 포함할 수도 있다.The power supply unit 190 receives external power and internal power under the control of the controller 180 and supplies power to each of the components included in the gateway 100. The power supply unit 190 may also include a battery.

한편, 무선통신부(110)와 인터페이스부(160)는 외부 장치와의 데이터 경로를 제공하는 공통의 목적으로 사용될 때 "통신부"라 통칭할 수 있다.Meanwhile, when the wireless communication unit 110 and the interface unit 160 are used for a common purpose of providing a data path with an external device, they may be collectively referred to as a “communication unit”.

상기 각 구성요소들 중 적어도 일부는, 이하에서 설명되는 다양한 실시 예들에 따른 게이트웨이의 동작, 제어, 또는 제어방법을 구현하기 위하여 서로 협력하여 동작할 수 있다. 또한, 상기 게이트웨이의 동작, 제어, 또는 제어방법은 상기 메모리(170)에 저장된 적어도 하나의 응용 프로그램의 구동에 의하여 게이트웨이 상에서 구현될 수 있다. At least some of the respective components may operate in cooperation with each other to implement the operation, control, or control method of the gateway according to various embodiments described below. In addition, the operation, control, or control method of the gateway may be implemented on the gateway by driving at least one application program stored in the memory 170.

본 발명은 본 발명의 정신 및 필수적 특징을 벗어나지 않는 범위에서 다른 특정한 형태로 구체화될 수 있음은 당업자에게 자명하다. It is obvious to those skilled in the art that the present invention can be embodied in other specific forms without departing from the spirit and essential features of the present invention.

또한, 전술한 본 발명은, 프로그램이 기록된 매체에 컴퓨터가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 매체는, 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록장치를 포함한다. 컴퓨터가 읽을 수 있는 매체의 예로는, ROM, RAM, CD-ROM, 자기 테이프, 플로피 디스크, 광 데이터 저장 장치 등이 있으며, 또한 캐리어 웨이브(예를 들어, 인터넷을 통한 전송)의 형태로 구현되는 것도 포함한다. 또한, 상기 컴퓨터는 단말기의 제어부(180)를 포함할 수도 있다.Further, the present invention described above can be implemented as a computer-readable code on a medium on which a program is recorded. The computer-readable medium includes all types of recording devices that store data that can be read by a computer system. Examples of computer-readable media include ROM, RAM, CD-ROM, magnetic tapes, floppy disks, optical data storage devices, and the like, and are implemented in the form of carrier waves (for example, transmission over the Internet). Also includes. In addition, the computer may include the control unit 180 of the terminal.

따라서, 상기의 상세한 설명은 모든 면에서 제한적으로 해석되어서는 아니되고 예시적인 것으로 고려되어야 한다. 본 발명의 범위는 첨부된 청구항의 합리적 해석에 의해 결정되어야 하고, 본 발명의 등가적 범위 내에서의 모든 변경은 본 발명의 범위에 포함된다.Therefore, the detailed description above should not be construed as restrictive in all respects and should be considered as illustrative. The scope of the present invention should be determined by reasonable interpretation of the appended claims, and all changes within the equivalent scope of the present invention are included in the scope of the present invention.

Claims (15)

적어도 하나의 외부 장치와 유/무선으로 신호를 교환하기 위한 통신부;
메모리; 및
상기 적어도 하나의 외부 장치와 상기 통신부를 통해 데이터 경로를 설립하고, 상기 데이터 경로를 통하여 상기 적어도 하나의 외부 장치 각각의 정보를 획득하여, 상기 획득된 정보를 상기 메모리에 기 설정된 구조의 트리로 저장하는 제어부를 포함하되,
상기 트리는, 최상위 항목으로 장치, 장치 기능, 위치, 사용자, 서비스, 장치 어댑터, 및 게이트웨이 중 적어도 하나의 항목을 포함하며, 미들웨어 플랫폼 계층에서 관리되고 서비스 계층에서 참조되고,
상기 제어부는, 상기 적어도 하나의 외부 장치의 동작 상황 및 사용자의 위치에 따라 서로 다르게 정의한 복수의 상태 중 어느 하나에 따라 상기 적어도 하나의 외부 장치의 동작을 관리하며,
상기 제어부는,
상기 게이트웨이를 통한 사용자의 명령, 상기 적어도 하나의 외부 장치의 동작 스캐쥴 유무, 상기 적어도 하나의 외부 장치의 동작 변동 가능성, 특정 이벤트의 발생 여부 중 적어도 하나에 따라 상기 복수의 상태 중 어느 하나로 천이하고,
상기 제어부는,
안전과 관계된 장치나 항상 켜져있는 장치를 제외한 장치에 동작 변화가 없고, 동작하기 위한 스케쥴도 없는 상태가 지속될 것이 확실하고, 사용자가 집안에 없다고 판단된 상황인 경우 또는 사용자의 명령이 있는 경우, 상기 복수의 상태 중 파크 상태로 진입하고,
상기 제어부는,
상기 파크 상태에서 보안 또는 안전에 관계된 장치 및 서비스를 활성화하고, 항상 켜져 있는 장치를 제외한 장치들의 전원을 오프하고,
상기 파크 상태에 진입 전의 동작 상황에 대한 메타데이터를 상기 메모리에 저장하는 것을 특징으로 하는, 게이트웨이.
A communication unit for exchanging signals with at least one external device by wire/wireless;
Memory; And
Establishing a data path through the at least one external device and the communication unit, obtaining information on each of the at least one external device through the data path, and storing the obtained information as a tree of a preset structure in the memory Including a control unit,
The tree includes at least one of a device, a device function, a location, a user, a service, a device adapter, and a gateway as a top-level item, and is managed at the middleware platform layer and referenced at the service layer,
The control unit manages the operation of the at least one external device according to any one of a plurality of states differently defined according to an operation state of the at least one external device and a location of a user,
The control unit,
Transition to one of the plurality of states according to at least one of a user's command through the gateway, the presence or absence of an operation schedule of the at least one external device, a possibility of a change in operation of the at least one external device, and occurrence of a specific event,
The control unit,
When it is certain that there is no change in operation of devices other than safety-related devices or devices that are always turned on, and there is no schedule for operation, and when it is determined that the user is not in the house, or when there is a user's command, the above Entering the park state among multiple states,
The control unit,
Activate devices and services related to security or safety in the park state, and turn off power to devices other than those that are always on,
The gateway, characterized in that storing metadata on an operation state before entering the park state in the memory.
삭제delete 제 1항에 있어서,
상기 장치 항목은,
최하위 항목으로 장치 소유자, 우선순위, 지원 기능 정의, 클러스터 분류 중 적어도 하나를 포함하고,
상기 지원 기능 정의는,
상기 적어도 하나의 외부 장치 각각에 미리 소정 형태로 정의된, 게이트웨이.
The method of claim 1,
The device item,
Includes at least one of device owner, priority, support function definition, and cluster classification as the lowest level item,
The above support function definition,
A gateway defined in a predetermined form in each of the at least one external device.
제 3항에 있어서,
상기 제어부는,
상기 적어도 하나의 외부 장치가 연결될 때 장치별로 기 설정된 프로파일에 따른 지원 기능들 중 선택사양 기능이 존재하는지 여부에 대한 기능 발견을 수행하는, 게이트웨이.
The method of claim 3,
The control unit,
When the at least one external device is connected, the gateway performs function discovery as to whether an optional function exists among supported functions according to a preset profile for each device.
제 3항에 있어서,
상기 제어부는,
상기 적어도 하나의 외부 장치로부터 수신된 둘 이상의 서비스 요청이 서로 충돌되는 경우, 상기 트리에서 상기 우선순위 항목을 참조하여 충돌 해결 절차를 수행하는, 게이트웨이.
The method of claim 3,
The control unit,
When two or more service requests received from the at least one external device collide with each other, the gateway performs a conflict resolution procedure by referring to the priority item in the tree.
제 1항에 있어서,
상기 트리는,
서비스 계층과 미들웨어 플랫폼 사이의 상호 동작성을 제공하기 위한 제 1 항목 그룹 및 서비스들 간의 분석과 이행을 위한 제 2 항목 그룹을 포함하는, 게이트웨이.
The method of claim 1,
The tree is,
A gateway comprising a first group of items for providing interoperability between a service layer and a middleware platform and a second group of items for analysis and implementation between services.
제 6항에 있어서,
상기 제 1 항목 그룹은 상기 장치, 상기 장치 기능 및 상기 위치 중 적어도 하나를 포함하고,
상기 제 2 항목 그룹은 상기 사용자, 상기 서비스, 상기 장치 어댑터, 및 상기 게이트웨이 중 적어도 하나를 포함하는, 게이트웨이.
The method of claim 6,
The first group of items includes at least one of the device, the device function, and the location,
The second group of items includes at least one of the user, the service, the device adapter, and the gateway.
제 1항에 있어서,
상기 제어부는,
상기 적어도 하나의 외부 장치의 동작을 수반하는 서비스를 제어함에 있어 상기 트리를 참조하는, 게이트웨이.
The method of claim 1,
The control unit,
A gateway that refers to the tree in controlling a service accompanying an operation of the at least one external device.
게이트웨이의 제어방법에 있어서,
통신부를 통해 적어도 하나의 외부 장치와 데이터 경로를 설립하는 단계;
상기 데이터 경로를 통하여 상기 적어도 하나의 외부 장치 각각의 정보를 획득하는 단계;
상기 획득된 정보를 메모리에 기 설정된 구조의 트리로 저장하는 단계; 및
상기 트리를 참조하여 상기 적어도 하나의 외부 장치의 동작을 수반하는 서비스를 제어하는 단계를 포함하되,
상기 트리는,
최상위 항목으로 장치, 장치 기능, 위치, 사용자, 서비스, 장치 어댑터, 및 게이트웨이 중 적어도 하나의 항목을 포함하며, 미들웨어 플랫폼 계층에서 관리되고 서비스 계층에서 참조되고,
상기 제어하는 단계는,
상기 적어도 하나의 외부 장치의 동작 상황 및 사용자의 위치에 따라 서로 다르게 정의한 복수의 상태 중 어느 하나에 따라 상기 적어도 하나의 외부 장치의 동작을 관리하는 단계를 포함하고,
상기 제어하는 단계는,
상기 외부 장치가 비호환 CPE에 해당하는 경우, 상기 비호환 CPE를 표준 CPE의 하위 장치로 인식하고, 상기 비호환 CPE를 통해 상기 비호환 CPE에 연결된 디바이스의 제한된 메타 정보를 획득하고, 상기 비호환 CPE에 연결된 디바이스에 제한된 권리를 획득하는 것을 특징으로 하는 게이트웨이의 제어방법.
In the gateway control method,
Establishing a data path with at least one external device through a communication unit;
Obtaining information on each of the at least one external device through the data path;
Storing the obtained information as a tree of a predetermined structure in a memory; And
Including the step of controlling a service accompanying the operation of the at least one external device with reference to the tree,
The tree is,
The top-level item includes at least one of device, device function, location, user, service, device adapter, and gateway, and is managed at the middleware platform layer and referenced at the service layer,
The controlling step,
And managing the operation of the at least one external device according to any one of a plurality of states differently defined according to an operation state of the at least one external device and a location of a user,
The controlling step,
When the external device corresponds to a non-compliant CPE, the non-compliant CPE is recognized as a subordinate device of the standard CPE, and limited meta information of a device connected to the non-compliant CPE is obtained through the non-compliant CPE, and the incompatible CPE Control method of a gateway, characterized in that obtaining limited rights to the device connected to the CPE.
제 9항에 있어서,
상기 관리하는 단계는,
상기 게이트웨이를 통한 사용자의 명령, 상기 적어도 하나의 외부 장치의 동작 스케쥴 유무, 상기 적어도 하나의 외부 장치의 동작변동 가능성, 특정 이벤트의 발생 여부 중 적어도 하나에 따라 상기 복수의 상태 중 어느 하나로 천이하는 단계를 포함하는, 게이트웨이의 제어방법.
The method of claim 9,
The managing step,
Transitioning to one of the plurality of states according to at least one of a user's command through the gateway, the presence or absence of an operation schedule of the at least one external device, a possibility of a change in operation of the at least one external device, and occurrence of a specific event Including, the control method of the gateway.
제 10항에 있어서,
상기 장치 항목은,
최하위 항목으로 장치 소유자, 우선순위, 지원 기능 정의, 클러스터 분류 중 적어도 하나를 포함하고,
상기 지원 기능 정의는,
상기 적어도 하나의 외부 장치 각각에 미리 소정 형태로 정의된, 게이트웨이의 제어방법.
The method of claim 10,
The device item,
Includes at least one of device owner, priority, support function definition, and cluster classification as the lowest level item,
The above support function definition,
A method of controlling a gateway defined in advance in a predetermined form in each of the at least one external device.
제 11항에 있어서,
상기 획득하는 단계는,
외부 장치별로 기 설정된 프로파일에 따른 지원 기능들 중 상기 적어도 하나의 외부 장치 각각에 선택사양 기능이 존재하는지 여부에 대한 기능 발견을 수행하는 단계를 포함하는, 게이트웨이의 제어방법.
The method of claim 11,
The obtaining step,
And performing function discovery as to whether an optional function exists in each of the at least one external device among support functions according to a preset profile for each external device.
제 11항에 있어서,
상기 제어하는 단계는,
상기 적어도 하나의 외부 장치로부터 수신된 둘 이상의 서비스 요청이 서로 충돌되는 경우, 상기 트리에서 상기 우선순위 항목을 참조하여 충돌 해결 절차를 수행하는 단계를 포함하는, 게이트웨이의 제어방법.
The method of claim 11,
The controlling step,
When two or more service requests received from the at least one external device collide with each other, performing a conflict resolution procedure by referring to the priority item in the tree.
제 11항에 있어서,
상기 트리는,
서비스 계층과 미들웨어 플랫폼 사이의 상호 동작성을 제공하기 위한 제 1 항목 그룹 및 서비스들 간의 분석과 이행을 위한 제 2 항목 그룹을 포함하는, 게이트웨이의 제어방법.
The method of claim 11,
The tree is,
A method of controlling a gateway comprising a first item group for providing interoperability between a service layer and a middleware platform, and a second item group for analysis and implementation between services.
제 14항에 있어서,
상기 제 1 항목 그룹은 상기 장치, 상기 장치 기능 및 상기 위치 중 적어도 하나를 포함하고,
상기 제 2 항목 그룹은 상기 사용자, 상기 서비스, 상기 장치 어댑터, 및 상기 게이트웨이 중 적어도 하나를 포함하는, 게이트웨이의 제어방법.
The method of claim 14,
The first group of items includes at least one of the device, the device function, and the location,
The second item group includes at least one of the user, the service, the device adapter, and the gateway.
KR1020140071250A 2013-08-30 2014-06-12 Gateway and method for controlling thereof KR102219982B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201361871877P 2013-08-30 2013-08-30
US61/871,877 2013-08-30

Publications (2)

Publication Number Publication Date
KR20150026776A KR20150026776A (en) 2015-03-11
KR102219982B1 true KR102219982B1 (en) 2021-02-25

Family

ID=53022620

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140071250A KR102219982B1 (en) 2013-08-30 2014-06-12 Gateway and method for controlling thereof

Country Status (1)

Country Link
KR (1) KR102219982B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101878364B1 (en) * 2016-09-20 2018-07-16 충남대학교산학협력단 Bluetooth adaptor based on data distribution service

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100830940B1 (en) * 2002-07-10 2008-05-20 엘지전자 주식회사 Remote control system for home network using universal plug and play
KR101189433B1 (en) * 2010-11-04 2012-10-11 중앙대학교 산학협력단 Object-based Middleware System for Home network system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Gateway Management Object Technical Specification, Candidate Version 1.0, Open Mobile Alliance (2012.12.04.)*

Also Published As

Publication number Publication date
KR20150026776A (en) 2015-03-11

Similar Documents

Publication Publication Date Title
US10386088B2 (en) Efficient distribution of heating, ventilation and air conditioning functionality
EP3455747B1 (en) Voice-controlled closed caption display
KR102252258B1 (en) Method and apparatus for controlling a group of home devices in a home network system
JP6502330B2 (en) Method and apparatus for inter-profile commissioning in a network
JP6560253B2 (en) Triggering commands on target devices in response to broadcast event notifications
TWI488463B (en) Gateway, smart home system and smart control method of home appliance thereof
JP6382852B2 (en) Control many different devices from a smart controller
CN204440045U (en) A kind of multifunctional intellectual house system
TWI501087B (en) Appar . atus , system and method for facilitating proxy user intereace 一based remote management and control of computing and non 一computing devices
KR20160004291A (en) Coordinated resource sharing in machine-to-machine communication using a network-based group management and floor control mechanism
JP2004320747A (en) Home network system and method for cooperation service
TW201448523A (en) Adaptive and extensible universal schema for heterogeneous internet of things (IoT) devices
WO2016169231A1 (en) Method and system for building steady piconet based on bluetooth
US9755694B2 (en) Wall-embedded power line communication device
US10440551B2 (en) Technique for determining the presence of a peripheral device in a service area of a local network
KR102219982B1 (en) Gateway and method for controlling thereof
US20200154261A1 (en) Method and device for controlling target device of host and client
US20230119043A1 (en) Operating-system-level permission management for multi-ecosystem smart-home devices
US11475761B2 (en) System and method for smart device management
KR20150002471A (en) Gateway and method for controlling thereof
KR20140139986A (en) Gateway and method for controlling thereof
KR20140139987A (en) Gateway and method for controlling thereof
CN108141396A (en) Domestic automation system plant capacity optimizes
KR101038317B1 (en) The home-network system
Tso et al. An intelligent networking and automation system for home and SOHO environments

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right