KR20160016541A - System and method for controlling data transmission of external apparatus connected with gateway - Google Patents

System and method for controlling data transmission of external apparatus connected with gateway Download PDF

Info

Publication number
KR20160016541A
KR20160016541A KR1020150043304A KR20150043304A KR20160016541A KR 20160016541 A KR20160016541 A KR 20160016541A KR 1020150043304 A KR1020150043304 A KR 1020150043304A KR 20150043304 A KR20150043304 A KR 20150043304A KR 20160016541 A KR20160016541 A KR 20160016541A
Authority
KR
South Korea
Prior art keywords
gateway
external device
sensing data
data
sensing
Prior art date
Application number
KR1020150043304A
Other languages
Korean (ko)
Other versions
KR102307352B1 (en
Inventor
이재근
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to PCT/KR2015/007675 priority Critical patent/WO2016017995A1/en
Priority to TW104124619A priority patent/TWI692223B/en
Priority to US14/813,193 priority patent/US9888082B2/en
Priority to EP15179241.3A priority patent/EP2981045B1/en
Priority to CN201510463463.6A priority patent/CN105323158B/en
Publication of KR20160016541A publication Critical patent/KR20160016541A/en
Priority to US15/882,509 priority patent/US10630778B2/en
Application granted granted Critical
Publication of KR102307352B1 publication Critical patent/KR102307352B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/30Flow control; Congestion control in combination with information about buffer occupancy at either end or at transit nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • H04L29/02
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • H04L41/0836Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability to enhance reliability, e.g. reduce downtime

Abstract

Provided are a system and a method for controlling data transmission of an external device connected to a gateway. A gateway which controls at least one external device (Internet of Things device), comprises: a controller identifying the at least one external device transmitting sensing data to the gateway, determining a resource utilization rate of the gateway, and determining a data processing method of the sensing data which will be provided from the identified external device when the determined resource utilization rate exceeds a critical value; and a communicator transmitting a control message requiring the processed sensing data to the identified external device in accordance with the determined data processing method.

Description

게이트웨이에 연결된 외부 장치의 데이터 전송을 제어하는 시스템 및 방법{SYSTEM AND METHOD FOR CONTROLLING DATA TRANSMISSION OF EXTERNAL APPARATUS CONNECTED WITH GATEWAY}[0001] SYSTEM AND METHOD FOR CONTROLLING DATA TRANSMISSION OF AN EXTERNAL APPARATUS CONNECTED WITH GATEWAY [

본 개시는 게이트웨이에 연결된 외부 장치의 데이터 전송을 제어하는 시스템 및 방법에 관한 것으로서, 보다 상세하게는, 게이트웨이의 리소스 점유율에 따라 외부 장치의 센싱 데이터 전송을 제어하는 시스템 및 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention [0002] The present disclosure relates to a system and method for controlling data transmission of an external device connected to a gateway, and more particularly, to a system and method for controlling sensing data transmission of an external device according to a resource occupancy rate of a gateway.

네트워크 기술 및 데이터 처리 기술이 발전함에 따라, 다양한 외부 기기 들이 게이트웨이에 연결되어, 특정 메시징 프레임 워크를 이용해 게이트 웨이와 데이터를 주고 받는다. 특히, IOT(Internet of Things) 장치들은 특정 메세징 프레임워크를 이용해 게이트웨이와 데이터를 주고 받는다. 특히, IOT 서비스에 있어서, 외부 장치와 게이트웨이 간의 연결(connectivity)는 IP기반의 연결과, Non-IP 기반의 연결로 나뉘어지며, IP 기반의 연결이 주로 이용되고 있다. 예를 들어, TCP/IP를 이용하는 메세징 프레임워크들은 Flow Control에 대한 기능을 제공하지 않고, TCP에서 제공하는 기능에 의존한다. 그러나, TCP에서 제공하는 Flow Control은 다양한 상황에 반응하는 것이 아니라 Network 버퍼 만을 고려한다.As network technologies and data processing technologies evolve, various external devices are connected to gateways to exchange data with gateways using a specific messaging framework. In particular, Internet of Things (IOT) devices exchange data with gateways using a specific messaging framework. Particularly, in the IOT service, connectivity between an external device and a gateway is divided into an IP-based connection and a non-IP-based connection, and an IP-based connection is mainly used. For example, messaging frameworks that use TCP / IP do not provide functionality for Flow Control, but rather depend on the functionality provided by TCP. However, the flow control provided by TCP considers only the network buffer, not response to various situations.

한편, 외부 장치로부터 수집되는 데이터는, 데이터의 종류와 데이터가 이용되는 서비스의 종류에 따라, 중요도 및 실시간성이 상이하지만, 종래의 메세징 프레임 워크들은 이러한 사항을 고려하지 못하는 문제가 있었다. 이에 따라, 다양한 외부 장치로부터 데이터를 수신하는 게이트웨이는 과부하에 대한 위험에 노출되는 문제가 있었다. 또한, 실시간성이 높은 서비스의 경우, 게이트웨이의 과부하로 인하여 효율적인 서비스 제공이 힘든 문제가 있었다.On the other hand, the data collected from the external device is different in importance and real time depending on the type of data and the type of service in which the data is used, but conventional messaging frameworks can not consider such matters. As a result, the gateway that receives data from various external devices has been exposed to the risk of overload. Also, in the case of a service with high real-time property, there is a problem that it is difficult to provide an efficient service due to an overload of the gateway.

일부 실시예는 외부 장치의 데이터를 중계하는 게이트웨이의 과부하를 방지함으로써, 데이터가 유실되거나 게이트웨이를 통한 서비스가 중단되는 상황을 방지할 수 있는 시스템 및 방법을 제공할 수 있다.Some embodiments can provide a system and method that can prevent an overload of a gateway relaying data of an external device, thereby preventing a situation in which data is lost or service through the gateway is interrupted.

또한, 일부 실시예는 게이트웨이의 리소스 점유율에 따라, 외부 장치의 데이터 전송을 효과적으로 제어할 수 있는 시스템 및 방법을 제공할 수 있다.In addition, some embodiments can provide a system and method that can effectively control data transmission of an external device in accordance with a resource occupancy rate of a gateway.

상술한 기술적 과제를 달성하기 위한 기술적 수단으로서, 본 개시의 제 1 측면은, 적어도 하나의 외부 장치로부터 수신된 센싱 데이터를 처리하는데 사용되는 상기 게이트웨이의 리소스의 점유율을 판단하며, 상기 판단된 리소스 점유율에 따라, 상기 외부 장치로부터 상기 게이트웨이로 제공될 센싱 데이터의 데이터 제공 방식을 결정하는 제어부; 및 상기 결정된 데이터 제공 방식에 따라 처리된 센싱 데이터를 요청하는 메시지를 상기 외부 장치에게 전송하는 통신부;를 포함하는, 게이트웨이를 제공할 수 있다.As a technical means for achieving the above-mentioned technical object, a first aspect of the present disclosure is a method for determining the occupancy rate of a resource of the gateway used to process sensing data received from at least one external device, A control unit for determining a method of providing data of sensing data to be provided to the gateway from the external device; And a communication unit for transmitting a message requesting the sensed data processed according to the determined data providing method to the external device.

또한, 상기 데이터 제공 방식은, 센싱 데이터를 취합하여 제공하는 방식, 센싱 데이터를 분리하여 제공하는 방식, 및 센싱 데이터들의 평균 값을 산출하여 제공하는 방식 중 적어도 하나를 포함할 수 있다.In addition, the data providing method may include at least one of a method of collecting and providing sensing data, a method of separately providing sensing data, and a method of calculating and providing an average value of sensing data.

또한, 상기 제어부는, 상기 외부 장치의 센싱 데이터의 종류 및 상기 센싱 데이터의 용량 중 적어도 하나에 기초하여, 상기 데이터 제공 방식을 결정할 수 있다.The control unit may determine the data providing method based on at least one of a type of the sensing data of the external device and a capacity of the sensing data.

또한, 상기 제어부는, 상기 판단된 리소스 점유율이 기 설정된 임계치를 초과하는 경우, 상기 외부 장치들 중 일부를 선택하며, 상기 선택된 외부 장치로부터 제공될 센싱 데이터의 데이터 제공 방식을 결정할 수 있다.The controller may select some of the external devices when the determined resource occupation rate exceeds a preset threshold value and determine a data providing method of the sensing data to be provided from the selected external device.

또한, 상기 통신부는, 상기 선택된 외부 장치에게 상기 처리된 센싱 데이터를 요청하는 상기 메시지를 전송하며, 상기 선택되지 않은 외부 장치에게 센싱 데이터의 전송을 일시 정지할 것을 요청하는 메시지를 전송할 수 있다.In addition, the communication unit may transmit the message requesting the processed sensing data to the selected external device, and may transmit a message requesting the unselected external device to suspend the transmission of the sensing data.

또한, 상기 제어부는, 상기 외부 장치로부터의 상기 처리된 센싱 데이터의 전송 주기를 결정하며, 상기 통신부는, 상기 결정된 전송 주기에 따라 상기 처리된 센싱 데이터를 제공할 것을 요청하는 상기 메시지를 상기 외부 장치에게 전송할 수 있다.The control unit may determine a transmission period of the processed sensing data from the external device, and the communication unit may transmit the message requesting to provide the processed sensing data according to the determined transmission period to the external device Lt; / RTI >

또한, 상기 외부 장치의 장치 정보를 저장하는 메모리;를 더 포함하며, 상기 장치 정보는, 상기 외부 장치의 종류, 상기 외부 장치의 센싱 데이터의 종류 및 상기 외부 장치의 센싱 주기에 관한 정보를 포함할 수 있다.The apparatus further includes a memory for storing the device information of the external device, wherein the device information includes information on the type of the external device, the type of the sensing data of the external device, and the sensing period of the external device .

또한, 상기 메모리는, 상기 장치 정보를 상기 게이트웨이에 연결된 디바이스 또는 서버에 의해 제공되는 서비스와 연관하여 저장하며, 상기 제어부는, 상기 서비스의 제공에 이용되는 센싱 데이터를 제공하는 외부 장치 중에서 기 설정된 필요 외부 장치를 선택할 수 있다.Also, the memory stores the device information in association with a service or a service provided by a device connected to the gateway, and the control unit is configured to transmit the sensing information to the external device that provides sensing data used for providing the service, An external device can be selected.

또한, 상기 리소스 점유율은, 상기 게이트웨이의 CPU 사용량, 상기 게이트웨이의 메모리 사용량, 및 상기 게이트웨이의 통신 상태 중 적어도 하나에 기초하여 결정될 수 있다.Further, the resource occupancy rate may be determined based on at least one of a CPU usage amount of the gateway, a memory usage amount of the gateway, and a communication state of the gateway.

또한, 상기 통신부는, 상기 판단된 리소스 점유율이 기 설정된 임계치 이하로 복귀되는 경우, 기 설정된 디폴트 규칙에 따라 상기 센싱 데이터를 제공할 것을 요청하는 메시지를 상기 외부 장치에게 전송할 수 있다.The communication unit may transmit a message to the external device requesting to provide the sensing data according to a predetermined default rule when the determined resource occupancy rate is returned to a predetermined threshold value or less.

또한, 본 개시의 제 2 측면은, 상기 적어도 하나의 외부 장치로부터 수신된 센싱 데이터를 처리하는데 사용되는 상기 게이트웨이의 리소스 점유율을 판단하는 단계; 상기 판단된 리소스 점유율에 따라, 상기 외부 장치로부터 상기 게이트웨이로 제공될 센싱 데이터의 데이터 제공 방식을 결정하는 단계; 및 상기 결정된 데이터 제공 방식에 따라 처리된 센싱 데이터를 요청하는 메시지를 상기 식별된 외부 장치에게 전송하는 단계;를 포함하는, 게이트웨이가 적어도 하나의 외부 장치를 제어하는 방법을 제공할 수 있다.Also, a second aspect of the present disclosure provides a method comprising: determining a resource occupancy rate of the gateway used to process sensing data received from the at least one external device; Determining a data providing method of the sensing data to be provided from the external device to the gateway according to the determined resource occupancy rate; And transmitting a message requesting the sensed data processed according to the determined data providing method to the identified external device. The gateway may provide a method of controlling at least one external device.

또한, 상기 데이터 제공 방식은, 센싱 데이터를 취합하여 제공하는 방식, 센싱 데이터를 분리하여 제공하는 방식, 및 센싱 데이터들의 평균 값을 산출하여 제공하는 방식 중 적어도 하나를 포함할 수 있다.In addition, the data providing method may include at least one of a method of collecting and providing sensing data, a method of separately providing sensing data, and a method of calculating and providing an average value of sensing data.

또한, 상기 데이터 가공 방식을 결정하는 단계는, 상기 외부 장치의 센싱 데이터의 종류 및 상기 센싱 데이터의 용량 중 적어도 하나에 기초하여, 상기 데이터 제공 방식을 결정할 수 있다.The step of determining the data processing method may determine the data providing method based on at least one of the type of the sensing data of the external device and the capacity of the sensing data.

또한, 상기 방법은, 상기 판단된 리소스 점유율이 기 설정된 임계치를 초과하는 경우, 상기 외부 장치들 중 일부를 선택하는 단계;를 더 포함하며, 상기 데이터 제공 방식을 결정하는 단계는 상기 선택된 외부 장치로부터 제공될 센싱 데이터의 데이터 제공 방식을 결정할 수 있다.The method may further include selecting some of the external devices when the determined resource occupancy rate exceeds a preset threshold value, wherein the step of determining the data providing method comprises: The data providing method of the sensing data to be provided can be determined.

또한, 상기 제어 메시지를 전송하는 단계는, 상기 선택된 외부 장치에게 상기 처리된 센싱 데이터를 요청하는 메시지를 전송하며, 상기 선택되지 않은 외부 장치에게 센싱 데이터의 전송을 일시 정지할 것을 요청하는 메시지를 전송할 수 있다.In addition, the step of transmitting the control message may include transmitting a message requesting the processed sensing data to the selected external device, and transmitting a message requesting the unselected external device to suspend transmission of the sensing data .

또한, 상기 방법은, 상기 식별된 외부 장치로부터의 상기 처리된 센싱 데이터의 전송 주기를 결정하는 단계;를 더 포함하며, 상기 메시지를 전송하는 단계는, 상기 결정된 전송 주기에 따라 상기 처리된 센싱 데이터를 제공할 것을 요청하는 메시지를 상기 식별된 외부 장치에게 전송할 수 있다.The method may further include determining a transmission period of the processed sensing data from the identified external device, wherein the step of transmitting the message further comprises transmitting the processed sensing data To the identified external device. ≪ RTI ID = 0.0 >

또한, 상기 방법은, 상기 식별된 외부 장치의 장치 정보를 저장하는 단계;를 더 포함하며, 상기 장치 정보는, 상기 외부 장치의 종류, 상기 외부 장치의 센싱 데이터의 종류 및 상기 외부 장치의 센싱 주기에 관한 정보를 포함할 수 있다.The method further includes storing device information of the identified external device, wherein the device information includes at least one of a type of the external device, a type of sensing data of the external device, and a sensing period of the external device As shown in FIG.

또한, 상기 장치 정보를 저장하는 단계는, 상기 장치 정보를 상기 게이트웨이에 연결된 디바이스 또는 서버에 의해 제공되는 서비스와 연관하여 저장하며, 상기 외부 장치들 중 일부를 선택하는 단계는, 상기 서비스의 제공에 이용되는 센싱 데이터를 제공하는 외부 장치 중에서 기 설정된 필요 외부 장치를 선택할 수 있다.In addition, the step of storing the device information stores the device information in association with a service provided by a device or a server connected to the gateway, and the step of selecting a part of the external devices comprises: It is possible to select a necessary external device that is preset among the external devices that provide the used sensing data.

또한, 본 개시의 제 3 측면은, 센싱 데이터를 획득하는 센싱부; 상기 게이트웨이의 리소스 점유율에 대응되는 센싱 데이터의 데이터 제공 방식에 따라, 상기 센싱 데이터를 처리하는 제어부; 및 상기 처리된 센싱 데이터를 상기 게이트웨이에게 전송하는 통신부;를 포함하는, 상기 게이트웨이에 연결되어 상기 게이트웨이에게 센싱 데이터를 제공하는 장치를 제공할 수 있다.According to a third aspect of the present disclosure, there is provided a data processing apparatus including: a sensing unit for acquiring sensing data; A controller for processing the sensing data according to a data providing method of sensing data corresponding to a resource occupancy rate of the gateway; And a communication unit for transmitting the processed sensing data to the gateway, wherein the sensing unit is connected to the gateway and provides sensing data to the gateway.

또한, 본 개시의 제 4 측면은, 제 2 측면의 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공할 수 있다.Further, the fourth aspect of the present disclosure can provide a computer-readable recording medium on which a program for causing a computer to execute the method of the second aspect is recorded.

또한 본 개시의 제 5 측면은, 외부 장치로부터 센싱 데이터를 수신하는 통신부 및 수신된 상기 센싱 데이터를 처리하는데 사용되는 상기 게이트웨이의 리소스 점유율, 상기 외부 장치의 상태 정보 및 상기 외부 장치의 개수 중 적어도 하나에 기초하여 상기 센싱 데이터의 처리 주기를 결정하는 제어부;를 포함하는 장치를 제공할 수 있다.A fifth aspect of the present disclosure is a communication system including a communication unit for receiving sensing data from an external device and at least one of a resource occupancy rate of the gateway used for processing the received sensing data, status information of the external device, And a controller for determining a processing period of the sensing data based on the sensing data.

도 1 은 일부 실시예에 따른 서비스 제공 시스템의 개요도이다.
도 2는 일부 실시예에 따른 게이트웨이(2000)가 데이터 전송 규칙을 설정하고, 게이트웨이(2000)의 리소스 점유율에 따라 외부 장치(1000)를 제어하는 방법의 흐름도이다.
도 3은 일부 실시예에 따른 게이트웨이(2000)가 외부 장치(1000)의 장치 정보, 및 디바이스(3000) 또는 서버(4000)의 서비스에 관한 서비스 정보를 저장하는 방법의 흐름도이다.
도 4는 일부 실시예에 따른 외부 장치(1000)의 장치 정보를 나타내는 장치 정보 테이블의 일례를 나타내는 도면이다.
도 5는 일부 실시예에 따른 디바이스(3000) 또는 서버(4000)에 의해 제공되는 서비스에 관한 서비스 정보를 나타내는 서비스 정보 테이블의 일례를 나타내는 도면이다.
도 6은 일부 실시예에 따른 서비스와 연관되어 저장된 장치 정보를 나타내는 장치 정보 테이블의 일례를 나타내는 도면이다.
도 7은 일부 실시예에 따른 게이트웨이(2000)가 센싱 데이터의 데이터 전송 규칙을 설정하는 방법의 흐름도이다.
도 8은 일부 실시예에 따른 센싱 데이터의 데이터 전송 규칙을 나타내는 테이블의 일례를 도시한 도면이다.
도 9는 일부 실시예에 따른 게이트웨이(2000)가 리소스 점유율이 기 설정된 임계치보다 큰지를 판단하는 방법의 흐름도이다.
도 10은 일부 실시예에 따른 복수의 외부 장치(1000)로부터 센싱 데이터를 수신 중인 게이트웨이(2000)가 리소스 점유율이 변경됨에 따라, 복수의 외부 장치(1000)의 센싱 데이터 전송을 제어하는 방법의 흐름도이다.
도 11은 일부 실시예에 따른 게이트웨이(2000)가 외부 장치(1000)로부터의 센싱 데이터 전송을 제어하기 위하여 외부 장치(1000)에게 전송하는 제어 메시지의 일례를 나타내는 도면이다.
도 12는 일부 실시예에 따른 리소스 점유율이 기 설정된 임계치보다 작게되는 경우에, 게이트웨이(2000)가 외부 장치(1000)를 제어하는 방법의 흐름도이다.
도 13은 일부 실시예에 따른 화재 경보 서비스 제공 시스템에서, 게이트웨이(2000)가 외부 장치(1000)를 제어하는 일례를 나타내는 도면이다.
도 14는 일부 실시예에 따른 화재 경보 서비스 제공 시스템에서, 게이트웨이(2000)가 게이트웨이(2000)의 리소스 점유율이 높아짐에 따라 외부 장치(1000)를 제어하는 방법의 흐름도이다.
도 15는 일부 실시예에 따른 게이트웨이(2000)가, 가스가 감지되거나 화재가 발생되었다고 판단되는 경우에, 외부 장치(1000)를 제어하는 방법의 흐름도이다.
도 16은 일부 실시예에 따른 시큐리티 서비스 제공 시스템에서, 게이트웨이(2000)가 외부 장치(1000)를 제어하는 일례를 나타내는 도면이다.
도 17은 일부 실시예에 따른 시큐리티 서비스 제공 시스템에서, 게이트웨이(2000)가 게이트웨이(2000)의 리소스 점유율이 높아짐에 따라 외부 장치(1000)를 제어하는 방법의 흐름도이다.
도 18은 일부 실시예에 따른 홈 네트워크 서비스 제공 시스템에서, 게이트웨이(2000)가 외부 장치(1000)를 제어하는 일례를 나타내는 도면이다.
도 19는 일부 실시예에 따른 홈 네트워크 서비스 제공 시스템에서, 게이트웨이(2000)가 게이트웨이(2000)의 리소스 점유율이 높아짐에 따라 외부 장치(1000)를 제어하는 방법의 흐름도이다.
도 20은 일부 실시예에 따른 게이트웨이(2000)의 블록도이다.
도 21은 일부 실시 예에 따른 외부 장치(1000)의 블록도이다.
도 22는 일부 실시예에 따른 복수의 외부 장치(1000)로부터 센싱 데이터를 수신한 게이트웨이(2000)가 리소스 점유율이 변경됨에 따라, 복수의 외부 장치(1000)로부터 수신된 센싱 데이터 처리 주기를 변경하는 방법의 흐름도이다.
도 23은 일부 실시예에 따른 복수의 외부 장치(1000)로부터 센싱 데이터를 수신한 게이트웨이(2000)가 소프트웨어 업데이트중인 경우, 복수의 외부 장치(1000)로부터 수신된 센싱 데이터 처리 주기를 변경하는 방법의 흐름도이다.
도 24는 일부 실시예에 따른 복수의 외부 장치(1000)로부터 센싱 데이터를 수신한 게이트웨이(2000)가 외부 장치(1000)의 개수에 따라 복수의 외부 장치(1000)로부터 수신된 센싱 데이터 처리 주기를 변경하는 방법의 흐름도이다.
도 25는 일부 실시예에 따른 복수의 외부 장치(1000)로부터 센싱 데이터를 수신한 게이트웨이(2000)가 외부 장치(1000)의 상태 예컨대, 배터리 잔량에 따라 복수의 외부 장치(1000)로부터 수신된 센싱 데이터 처리 주기를 변경하는 방법의 흐름도이다.
1 is a schematic diagram of a service providing system according to some embodiments.
2 is a flowchart of a method for a gateway 2000 according to some embodiments to set a data transmission rule and to control an external device 1000 according to a resource occupancy rate of the gateway 2000. [
3 is a flowchart of a method in which a gateway 2000 according to some embodiments stores device information of an external device 1000 and service information related to a service of the device 3000 or the server 4000. [
4 is a diagram showing an example of a device information table showing device information of the external device 1000 according to some embodiments.
5 is a diagram showing an example of a service information table showing service information related to a service provided by the device 3000 or the server 4000 according to some embodiments.
6 is a diagram showing an example of a device information table showing device information stored in association with a service according to some embodiments.
7 is a flowchart of a method by which a gateway 2000 according to some embodiments establishes a data transmission rule of sensing data.
8 is a diagram showing an example of a table showing data transmission rules of sensing data according to some embodiments.
FIG. 9 is a flow diagram of a method for a gateway 2000 according to some embodiments to determine whether resource occupancy is greater than a predetermined threshold.
10 is a flowchart of a method of controlling sensing data transmission of a plurality of external apparatuses 1000 as the gateway 2000 receiving sensing data from a plurality of external apparatuses 1000 according to some embodiments changes the resource occupancy rate to be.
11 is a diagram showing an example of a control message that the gateway 2000 according to some embodiments transmits to the external device 1000 to control transmission of sensing data from the external device 1000. [
12 is a flowchart of a method by which the gateway 2000 controls the external device 1000 when the resource occupancy rate according to some embodiments becomes smaller than a preset threshold value.
13 is a diagram showing an example in which the gateway 2000 controls the external apparatus 1000 in the fire alarm service providing system according to some embodiments.
14 is a flowchart of a method for controlling the external device 1000 as the gateway 2000 increases the resource occupancy rate of the gateway 2000 in the fire alarm service providing system according to some embodiments.
15 is a flowchart of a method of controlling an external device 1000 when a gateway 2000 according to some embodiments determines that a gas is detected or a fire has occurred.
16 is a diagram showing an example in which the gateway 2000 controls the external apparatus 1000 in the security service providing system according to some embodiments.
17 is a flowchart of a method of controlling the external device 1000 as the gateway 2000 increases the resource occupancy rate of the gateway 2000 in the security service providing system according to some embodiments.
18 is a diagram showing an example in which the gateway 2000 controls the external device 1000 in the home network service providing system according to some embodiments.
19 is a flowchart of a method of controlling the external device 1000 as the gateway 2000 increases the resource occupancy rate of the gateway 2000 in the home network service providing system according to some embodiments.
20 is a block diagram of a gateway 2000 in accordance with some embodiments.
21 is a block diagram of an external apparatus 1000 according to some embodiments.
22 is a block diagram illustrating a configuration of a gateway 2000 that receives sensing data from a plurality of external devices 1000 according to some embodiments and changes a sensing data processing cycle received from a plurality of external devices 1000 Fig.
23 is a flowchart illustrating a method of changing the sensing data processing cycle received from a plurality of external devices 1000 when the gateway 2000 receiving the sensing data from the plurality of external devices 1000 according to some embodiments is in software update FIG.
FIG. 24 is a diagram illustrating a sensing data processing cycle received from a plurality of external apparatuses 1000 according to the number of external apparatuses 1000 by a gateway 2000 receiving sensing data from a plurality of external apparatuses 1000 according to some embodiments Fig.
25 is a flow chart illustrating an example of a process of receiving sensing data from a plurality of external apparatuses 1000 according to some embodiments of the present invention in accordance with the state of the external apparatus 1000, And a method of changing the data processing cycle.

아래에서는 첨부한 도면을 참조하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 본 발명의 실시예를 상세히 설명한다. 그러나 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시예에 한정되지 않는다. 그리고 도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다. Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings, which will be readily apparent to those skilled in the art. The present invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. In order to clearly illustrate the present invention, parts not related to the description are omitted, and similar parts are denoted by like reference characters throughout the specification.

명세서 전체에서, 어떤 부분이 다른 부분과 "연결"되어 있다고 할 때, 이는 "직접적으로 연결"되어 있는 경우뿐 아니라, 그 중간에 다른 소자를 사이에 두고 "전기적으로 연결"되어 있는 경우도 포함한다. 또한 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있는 것을 의미한다.Throughout the specification, when a part is referred to as being "connected" to another part, it includes not only "directly connected" but also "electrically connected" with another part in between . Also, when an element is referred to as "comprising ", it means that it can include other elements as well, without departing from the other elements unless specifically stated otherwise.

또한, 본 명세서에서, 외부 장치는 게이트웨이에 연결되어 게이트웨이를 통하여 제공되는 특정 서비스를 위한 센싱 데이터를 게이트웨이에게 제공할 수 있는 장치일 수 있다. 예를 들어, 외부 장치는, 게이트웨이에 연결되어 IOT(Internet of Things)에 적용되는 일반적인 장치(또는 사물)일 수 있으며, 홈 네트워킹 서비스(ex: 스마트 홈), 스마트 그리드와 같은 서비스 환경에서 이용될 수 있다. 예를 들어, 외부 장치는, 온도 센서, 습도 센서, 음향 센서, 모션 센서, 근접 센서, 가스 감지 센서, 열 감지 센서, 냉장고, CCTV, TV, 세탁기, 제습기, 전등, 화재 경보기 등을 포함할 수 있다. 그러나, 이에 제한되지 않는다.Also, in this specification, the external device may be a device connected to the gateway and capable of providing the gateway with sensing data for a specific service provided through the gateway. For example, the external device may be a general device (or object) connected to the gateway and applied to the Internet of Things (IOT), and may be used in a service environment such as a home networking service (ex: smart home) . For example, the external device may include a temperature sensor, a humidity sensor, an acoustic sensor, a motion sensor, a proximity sensor, a gas sensor, a heat sensor, a refrigerator, a CCTV, a TV, a washing machine, a dehumidifier, have. However, it is not limited thereto.

또한, 본 명세서에서, 게이트웨이는 외부 장치들을 제어하는 장치 또는 서버일 수 있다. 예를 들어, 게이트웨이는, 스마트폰, 태블릿 PC, PC, 스마트 TV, 휴대폰, PDA(personal digital assistant), 랩톱, 미디어 플레이어, 마이크로 서버, GPS(global positioning system) 장치, 디지털방송용 단말기, 네비게이션, 키오스크, 및 기타 모바일 또는 비모바일 컴퓨팅 장치일 수 있으나, 이에 제한되지 않는다. 또한, 예를 들어, 게이트웨이는 댁 내에서 사용자들이 사용하는 게임기일 수 있으며, 이 경우, 게임기가 댁 내의 게이트웨이와 네트워크를 통하여 연결될 수 있다.Further, in this specification, the gateway may be a device or a server that controls external devices. For example, the gateway may be a smartphone, tablet PC, PC, smart TV, mobile phone, personal digital assistant (PDA), laptop, media player, microserver, global positioning system , And other mobile or non-mobile computing devices. Also, for example, the gateway may be a game machine used by users at home, and in this case, the game machine may be connected to the gateway through a home network.

또한, 본 명세서에서, 외부 장치의 장치 정보는 외부 장치 및 외부 장치의 속성을 나타내는 정보로서, 예를 들어, 외부 장치의 식별 값, 외부 장치의 종류, 외부 장치에 의해 감지되는 센싱 데이터의 종류 및 속성, 및 외부 장치의 센싱 주기에 관한 정보를 포함할 수 있다.In the present specification, the device information of the external device is information indicating the attributes of the external device and the external device. For example, the identification information of the external device, the type of the external device, the type of the sensing data sensed by the external device, Attributes, and information about the sensing period of the external device.

또한, 본 명세서에서, 서비스는 게이트웨이에 의해 수집된 정보를 이용하여 제공될 수 있는 모든 종류의 서비스를 포함할 수다. 서비스는, 게이트웨이와 통신 가능한 디바이스 및/또는 서버에 의해 제공될 수 있으며, 예를 들어, 홈 네트워크 서비스, 방범 서비스, 화재 경보 서비스, 전력 관리 서비스 및 콘텐트 공유 서비스를 포함할 수 있으나, 이에 제한되지 않는다. 또한, 서비스는, 게이트웨이에 의해 제공될 수도 있다.Also, in this specification, a service may include all kinds of services that can be provided using the information collected by the gateway. The service may be provided by a device and / or server capable of communicating with the gateway and may include, for example, a home network service, a security service, a fire alarm service, a power management service, and a content sharing service Do not. The service may also be provided by a gateway.

또한, 본 명세서에서, 서비스 정보는, 예를 들어, 서비스의 식별 값, 서비스를 위한 외부 장치의 종류 및 개수, 및 서비스를 위한 외부 장치의 우선 순위, 서비스를 위한 센싱 데이터의 종류 및 개수, 및 서비스를 위한 센싱 데이터의 우선 순위 등을 포함할 수 있으나, 이에 제한되지 않는다.Also, in this specification, the service information includes, for example, an identification value of a service, the type and number of external devices for a service, the priority of an external device for a service, the type and number of sensing data for a service, The priority of the sensing data for the service, and the like.

또한, 본 명세서에서, 데이터 전송 규칙은, 게이트웨이의 리소스 점유율에 따라 게이트웨이가 어떤 외부 장치로부터 센싱 데이터를 어떻게 전송받을 지에 관한 규칙일 수 있다. 데이터 전송 규칙은, 예를 들어, 서비스를 위해 이용될 외부 장치, 일시 정지될 외부 장치, 센싱 데이터의 데이터 제공 방식, 센싱 데이터의 데이터 전송 주기, 데이터 전송량, 및 센싱 데이터의 예약 전송 여부에 관한 규칙을 포함할 수 있다.
Also, in this specification, the data transmission rule may be a rule as to how the gateway receives the sensing data from an external device according to the resource occupancy rate of the gateway. The data transfer rule is, for example, an external device to be used for a service, an external device to be paused, a data providing method of the sensing data, a data transfer cycle of the sensing data, a data transfer amount, . ≪ / RTI >

이하 첨부된 도면을 참고하여 본 발명을 상세히 설명하기로 한다.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

도 1 은 일부 실시예에 따른 서비스 제공 시스템의 개요도이다.1 is a schematic diagram of a service providing system according to some embodiments.

도 1을 참조하면, 일부 실시예에 따른 서비스 제공 시스템은, 적어도 하나의 외부(Internet Of Thing) 장치(1000), 게이트웨이(2000), 디바이스(3000) 및 서버(4000)를 포함할 수 있다.Referring to FIG. 1, a service providing system according to some embodiments may include at least one external (Internet Of Thing) device 1000, a gateway 2000, a device 3000, and a server 4000.

외부 장치(1000)는 센싱 데이터를 생성하고, 생성된 센싱 데이터를 게이트웨이(2000)에게 제공할 수 있다. 외부 장치(1000)는 외부에 적용되는 일반적인 장치(또는 사물)일 수 있다. 예를 들어, 외부 장치(1000)는, 온도 센서, 습도 센서, 음향 센서, 모션 센서, 근접 센서, 가스 감지 센서, 열 감지 센서, 냉장고, CCTV, TV, 세탁기, 제습기, 전등, 화재 경보기 등을 포함할 수 있다. 그러나, 이에 제한되지 않는다.The external device 1000 can generate sensing data and provide the generated sensing data to the gateway 2000. [ The external device 1000 may be a general device (or object) applied to the outside. For example, the external device 1000 may include a temperature sensor, a humidity sensor, an acoustic sensor, a motion sensor, a proximity sensor, a gas sensor, a heat sensor, a refrigerator, a CCTV, a TV, a washing machine, a dehumidifier, . However, it is not limited thereto.

또한, 외부 장치(1000)는 후술할 게이트웨이(2000)에 의해 제어됨으로써, 외부 장치(1000)의 동작을 일시 정지할 수 있다. 또한, 외부 장치(1000)는 게이트웨이(2000)에 의해 제어됨으로써, 외부 장치(1000)에서 생성된 센싱 데이터를 가공하여 게이트웨이(2000)에게 제공할 수 있다. 또한, 외부 장치(1000)는 게이트웨이(2000)에 의해 제어됨으로써 다양한 동작을 수행할 수 있다.Also, the external device 1000 can be temporarily stopped by controlling the gateway 2000, which will be described later. The external device 1000 is controlled by the gateway 2000 so that the sensing data generated by the external device 1000 can be processed and provided to the gateway 2000. Also, the external device 1000 can perform various operations by being controlled by the gateway 2000.

게이트웨이(2000)는 외부 장치(1000)로부터 센싱 데이터를 수신하고, 수신된 센싱 데이터를 디바이스(3000) 및/또는 서버(4000)에게 제공할 수 있다. 또한, 게이트웨이(2000)는 게이트웨이(2000)의 리소스 점유율을 모니터링하고, 리소스 점유율이 기 설정된 임계치보다 큰 경우에, 외부 장치(1000)와 게이트웨이(2000) 간의 원활한 통신을 위하여, 외부 장치(1000)를 제어할 수 있다. 게이트웨이(2000)는 외부 장치(1000) 중 일부의 동작을 일시 정지 시킬 수 있으며, 나머지 일부에게 센싱 데이터의 제공 방법을 변경할 것을 요청할 수 있다.The gateway 2000 may receive the sensing data from the external device 1000 and provide the sensing data to the device 3000 and / or the server 4000. The gateway 2000 monitors the resource occupancy of the gateway 2000 and controls the external device 1000 to smoothly communicate between the external device 1000 and the gateway 2000 when the resource occupancy rate is greater than a predetermined threshold, Can be controlled. The gateway 2000 can temporarily suspend the operation of some of the external devices 1000 and request the remaining part to change the method of providing the sensing data.

디바이스(3000) 및 서버(4000)는 게이트웨이(2000)로부터 센싱 데이터를 수신하고, 수신된 센싱 데이터를 이용하여 사용자에게 서비스를 제공할 수 있다. 디바이스(3000) 및 서버(4000)는, 예를 들어, 화재 경보 서비스, 방범 서비스 및 홈 네트워크 서비스를 제공하기 위하여, 게이트웨이(2000)로부터 수신된 센싱 데이터를 이용할 수 있다.The device 3000 and the server 4000 may receive the sensing data from the gateway 2000 and provide the service to the user using the received sensing data. The device 3000 and the server 4000 may use the sensing data received from the gateway 2000 to provide, for example, a fire alarm service, a security service, and a home network service.

디바이스(3000)는, 스마트폰, 태블릿 PC, PC, 스마트 TV, 휴대폰, PDA(personal digital assistant), 랩톱, 미디어 플레이어, 마이크로 서버, GPS(global positioning system) 장치, 전자책 단말기, 디지털방송용 단말기, 네비게이션, 키오스크, MP3 플레이어, 디지털 카메라 및 기타 모바일 또는 비모바일 컴퓨팅 장치일 수 있으나, 이에 제한되지 않는다. 또한, 디바이스(3000)는 통신 기능 및 데이터 프로세싱 기능을 구비한 시계, 안경, 헤어 밴드 및 반지 등의 웨어러블 디바이스일 수 있다. 그러나, 이에 제한되지 않으며, 디바이스(3000)는 게이트웨이(2000)로부터 네트워크를 통하여 서비스를 위한 센싱 데이터를 제공받을 수 있는 모든 종류의 기기를 포함할 수 있다.The device 3000 may be a smart phone, a tablet PC, a PC, a smart TV, a mobile phone, a personal digital assistant (PDA), a laptop, a media player, a micro server, a global positioning system Navigation, kiosks, MP3 players, digital cameras, and other mobile or non-mobile computing devices. In addition, the device 3000 may be a wearable device such as a watch, a pair of glasses, a hair band, and a ring having a communication function and a data processing function. However, the present invention is not limited thereto, and the device 3000 may include all kinds of devices that can receive the sensing data for the service from the gateway 2000 through the network.

네트워크는 근거리 통신망(Local Area Network; LAN), 광역 통신망(Wide Area Network; WAN), 부가가치 통신망(Value Added Network; VAN), 이동 통신망(mobile radio communication network), 위성 통신망 및 이들의 상호 조합을 포함하며, 도 1에 도시된 각 네트워크 구성 주체가 서로 원활하게 통신을 할 수 있도록 하는 포괄적인 의미의 데이터 통신망이며, 유선 인터넷, 무선 인터넷 및 모바일 무선 통신망을 포함할 수 있다.
The network includes a local area network (LAN), a wide area network (WAN), a value added network (VAN), a mobile radio communication network, a satellite communication network, And is a data communication network having a comprehensive meaning for allowing each network constituent shown in FIG. 1 to communicate smoothly with each other, and may include a wired Internet, a wireless Internet, and a mobile wireless communication network.

도 2는 일부 실시예에 따른 게이트웨이(2000)가 데이터 전송 규칙을 설정하고, 게이트웨이(2000)의 리소스 점유율에 따라 외부 장치(1000)를 제어하는 방법의 흐름도이다.2 is a flowchart of a method for a gateway 2000 according to some embodiments to set a data transmission rule and to control an external device 1000 according to a resource occupancy rate of the gateway 2000. [

단계 S200에서 게이트웨이(2000)는 게이트웨이(2000)에 연결된 외부 장치(1000)를 식별할 수 있다. 외부 장치(1000)가 게이트웨이(2000)에 연결됨에 따라, 게이트웨이(2000)는 외부 장치(1000)로부터 외부 장치(1000)의 장치 정보를 수신할 수 있다. 또한, 게이트웨이(2000)는 외부 장치(1000)로부터 수신된 장치 정보에 기초하여 외부 장치(1000)를 식별할 수 있다. 외부 장치(1000)의 장치 정보는 외부 장치(1000) 및 외부 장치(1000)의 속성을 나타내는 정보로서, 예를 들어, 외부 장치(1000)의 식별 값, 외부 장치(1000)의 종류, 외부 장치(1000)에 의해 생성되는 센싱 데이터의 종류 및 속성, 및 외부 장치(1000)의 센싱 주기에 관한 정보를 포함할 수 있다. The gateway 2000 can identify the external device 1000 connected to the gateway 2000 in step S200. As the external device 1000 is connected to the gateway 2000, the gateway 2000 can receive the device information of the external device 1000 from the external device 1000. [ In addition, the gateway 2000 can identify the external device 1000 based on the device information received from the external device 1000. [ The device information of the external device 1000 is information indicating the attributes of the external device 1000 and the external device 1000. The device information includes information such as an identification value of the external device 1000, The type and the attribute of the sensing data generated by the sensing device 1000, and the sensing period of the external device 1000.

또한, 게이트웨이(2000)는 외부 장치(1000)의 장치 정보를 저장할 수 있다. 게이트웨이(2000)는 디바이스(3000) 또는 서버(4000)에 의해 제공될 서비스와 연관하여 외부 장치(1000)의 장치 정보를 저장할 수 있다. 이 경우, 게이트웨이(2000)는 디바이스(3000) 또는 서버(4000)로부터 서비스 정보를 수신하고, 수신된 서비스 정보에 기초하여 외부 장치(1000)가 어떤 서비스와 연관되었는지를 식별할 수 있다. 서비스 정보는, 예를 들어, 서비스의 식별 값, 서비스를 위한 외부 장치의 종류 및 개수, 및 서비스를 위한 외부 장치의 우선 순위, 서비스를 위한 센싱 데이터의 종류 및 개수, 및 서비스를 위한 센싱 데이터의 우선 순위 등을 포함할 수 있으나, 이에 제한되지 않는다.In addition, the gateway 2000 can store device information of the external device 1000. The gateway 2000 may store the device information of the external device 1000 in association with the service to be provided by the device 3000 or the server 4000. [ In this case, the gateway 2000 can receive the service information from the device 3000 or the server 4000, and can identify, based on the received service information, which service the external device 1000 is associated with. The service information includes, for example, the identification value of the service, the type and number of external devices for the service, the priority of the external device for the service, the type and number of the sensing data for the service, Priority, and the like.

단계 S210에서 게이트웨이(2000)는 센싱 데이터의 데이터 전송 규칙을 설정할 수 있다. 데이터 전송 규칙은, 게이트웨이(2000)의 리소스 점유율에 따라 어떤 외부 장치(1000)로부터 센싱 데이터를 어떻게 전송받을 지에 관한 규칙일 수 있다. 게이트웨이(2000)는 외부 장치(1000)의 장치 정보, 및 디바이스(3000) 또는 서버(4000)에 의해 제공되는 서비스의 서비스 정보에 기초하여, 미리 설정된 기준에 따라 데이터 전송 규칙을 설정할 수 있다. 또는, 게이트웨이(2000)는 사용자 입력에 기초하여 데이터 전송 규칙을 설정할 수 있다.In step S210, the gateway 2000 can set a data transmission rule of the sensing data. The data transmission rule may be a rule as to how the sensing data is received from an external device 1000 according to the resource occupancy rate of the gateway 2000. [ The gateway 2000 can set the data transmission rule according to the preset reference based on the device information of the external device 1000 and the service information of the service provided by the device 3000 or the server 4000. [ Alternatively, the gateway 2000 may set data transmission rules based on user input.

데이터 전송 규칙은, 게이트웨이(2000)의 리소스 점유율에 따라 구별되게 설정될 수 있으며, 예를 들어, 서비스를 위해 이용될 외부 장치, 일시 정지될 외부 장치, 센싱 데이터의 데이터 가공 방식, 센싱 데이터의 데이터 전송 주기, 데이터 전송량 및 센싱 데이터의 예약 전송 여부에 관한 규칙을 포함할 수 있다. 예를 들어, 게이트웨이트(2000)는 계절, 날씨 및 시간 중 적어도 하나에 따라, 센싱 데이터의 데이터 전송 주기, 데이터 전송량 및 센싱 데이터의 예약 전송 여부에 대한 규칙을 설정할 수 있다. 예를 들어, 건조한 날에는 게이트웨이(2000)는 화재 경보 서비스에 관련된 센싱 데이터의 전송 주기를 짧게 설정할 수 있다. 또한, 예를 들어, 게이트웨이(2000)는 낮 시간 보다 밤 시간에 센싱 데이터의 전송 주기를 길게 설정할 수 있다.The data transmission rules can be set to be distinguishable according to the resource occupancy of the gateway 2000. For example, an external device to be used for a service, an external device to be paused, a data processing method of sensing data, A transmission period, a data transmission amount, and a rule regarding whether to transmit reservation data of the sensing data. For example, the gate weight 2000 may set a rule for determining a data transmission period of the sensing data, a data transmission amount, and whether to transmit the sensing data in accordance with at least one of season, weather, and time. For example, on a dry day, the gateway 2000 can shorten the transmission period of the sensing data related to the fire alarm service. In addition, for example, the gateway 2000 can set the transmission period of the sensing data to be longer at night than the daytime.

단계 S220에서 게이트웨이(2000)는 게이트웨이(2000)의 리소스 점유율을 모니터링할 수 있다. 게이트웨이(2000)의 리소스 점유율은, 예를 들어, 게이트웨이(2000)의 CPU 사용량, 메모리 사용량, 버퍼 메모리 사용량 및 통신 상태 중 적어도 하나에 기초하여 결정될 수 있다. 예를 들어, 리소스 점유율은, 게이트웨이(2000)의 CPU가 현재 얼마나 사용되고 있는지(예컨대, CPU의 최대 성능의 몇 %가 현재 사용되고 있는지)에 따라 결정될 수 있다. 또한, 예를 들어, 리소스 점유율은, 게이트웨이(2000)의 메모리의 전체 용량의 몇 %가 현재 사용되고 있는지에 따라 결정될 수 있다. 또한, 예를 들어, 리소스 점유율은, 게이트웨이(2000)의 버퍼 메모리에 현재 얼마나 많은 데이터가 저장되어 있는지에 따라 결정될 수 있다. 그러나, 이에 제한되지 않으며, CPU, 메모리, 및 버퍼 외의 다양한 리소스의 사용 상태에 따라, 게이트웨이(2000)의 리소스 점유율이 결정될 수 있다.
In step S220, the gateway 2000 may monitor the resource occupancy of the gateway 2000. [ The resource occupancy rate of the gateway 2000 can be determined based on at least one of the CPU usage, the memory usage, the buffer memory usage, and the communication state of the gateway 2000, for example. For example, the resource occupancy rate can be determined according to how much the CPU of the gateway 2000 is currently used (e.g., how many percent of the maximum performance of the CPU is currently being used). Also, for example, the resource occupancy rate can be determined depending on how many percent of the total capacity of the memory of the gateway 2000 is currently used. Also, for example, the resource occupancy rate can be determined depending on how much data is currently stored in the buffer memory of the gateway 2000. [ However, the present invention is not limited thereto, and the resource occupation rate of the gateway 2000 can be determined according to the usage state of various resources other than the CPU, the memory, and the buffer.

또한, 게이트웨이(2000)는 리소스 점유율이 기 설정된 임계치를 초과하는지를 판단할 수 있다. In addition, the gateway 2000 can determine whether the resource occupancy rate exceeds a preset threshold value.

단계 S230에서 게이트웨이(2000)는 데이터 전송 규칙에 따라, 센싱 데이터의 전송에 관련된 제어 메시지를 외부 장치(1000)에게 전송할 수 있다. 게이트웨이(2000)는 게이트웨이(2000)의 현재 리소스 점유율에 대응되는 데이터 전송 규칙을 식별하고, 식별된 데이터 전송 규칙에 따라 외부 장치(1000)를 제어하기 위하여, 센싱 데이터의 전송에 관련된 제어 메시지를 외부 장치(1000)에게 전송할 수 있다. 외부 장치(1000)에게 전송되는 제어 메시지는, 예를 들어, 외부 장치의 일시 정지 여부, 센싱 데이터의 데이터 가공 방식, 데이터 전송 주기 등의 정보를 포함할 수 있다.
In step S230, the gateway 2000 may transmit the control message related to the transmission of the sensing data to the external device 1000 according to the data transmission rule. The gateway 2000 identifies a data transmission rule corresponding to the current resource occupancy rate of the gateway 2000 and transmits a control message related to the transmission of sensing data to the external device 1000 in order to control the external device 1000 according to the identified data transmission rule. To the device (1000). The control message transmitted to the external device 1000 may include information such as, for example, whether the external device is temporarily stopped, the data processing method of the sensing data, and the data transmission period.

도 3은 일부 실시예에 따른 게이트웨이(2000)가 외부 장치(1000)의 장치 정보, 및 디바이스(3000) 또는 서버(4000)의 서비스에 관한 서비스 정보를 저장하는 방법의 흐름도이다.3 is a flowchart of a method in which a gateway 2000 according to some embodiments stores device information of an external device 1000 and service information related to a service of the device 3000 or the server 4000. [

단계 S300에서 외부 장치(1000)는 게이트웨이(2000)에게 외부 장치(1000)의 장치 정보를 제공할 수 있다. 외부 장치(1000)는 게이트웨이(2000)에 통신 연결됨에 따라, 외부 장치(1000)를 게이트웨이(2000)에 등록하기 위하여 외부 장치(1000)의 장치 정보를 게이트웨이(2000)에게 전송할 수 있다. 장치 정보는, 예를 들어, 외부 장치(1000)의 식별 값, 외부 장치(1000)의 종류, 센싱 데이터의 종류, 센싱 데이터의 속성 및 센싱 주기에 관한 정보를 포함할 수 있다. 또한, 게이트웨이(2000)는 수신된 장치 정보에 기초하여, 외부 장치(1000) 별로 장치의 종류 및 외부 장치(1000)에 의해 생성되는 센싱 데이터의 종류 등을 식별할 수 있다.In step S300, the external device 1000 can provide the gateway 2000 with the device information of the external device 1000. [ The external device 1000 may communicate with the gateway 2000 and may transmit the device information of the external device 1000 to the gateway 2000 in order to register the external device 1000 with the gateway 2000. [ The device information may include, for example, an identification value of the external device 1000, a type of the external device 1000, a kind of sensing data, an attribute of the sensing data, and information about a sensing period. The gateway 2000 can identify the type of the device and the type of the sensing data generated by the external device 1000 for each external device 1000 based on the received device information.

단계 S310에서 디바이스(3000) 또는 서버(4000)는 게이트웨이(2000)에게 서비스 정보를 제공할 수 있다. 서비스 정보는, 디바이스(3000) 또는 서버(4000)에 의해 제공되는 서비스에 관련된 정보로서, 예를 들어, 서비스의 식별 값, 서비스를 위한 외부 장치의 종류 및 개수, 및 서비스를 위한 외부 장치의 우선 순위, 서비스를 위한 센싱 데이터의 종류 및 개수, 및 서비스를 위한 센싱 데이터의 우선 순위 등을 포함할 수 있으나, 이에 제한되지 않는다. 서비스는, 예를 들어, 홈 네트워크 서비스, 방범 서비스, 화재 경보 서비스, 전력 관리 서비스 및 콘텐트 공유 서비스를 포함할 수 있으나, 이에 제한되지 않는다.The device 3000 or the server 4000 may provide the service information to the gateway 2000 in step S310. The service information is information related to the service provided by the device 3000 or the server 4000, for example, the identification value of the service, the type and number of the external device for the service, and the priority of the external device for the service The type and number of sensing data for the service, and the priority of the sensing data for the service, and the like, but the present invention is not limited thereto. The services may include, but are not limited to, home network services, security services, fire alarm services, power management services, and content sharing services, for example.

단계 S320에서 게이트웨이(2000)는 서비스에 연관된 외부 장치를 결정할 수 있다. 게이트웨이(2000)는 서비스 정보에 기초하여, 서비스의 제공을 위하여 어떤 외부 장치가 필요한 지를 판단할 수 있으며, 게이트웨이(2000)에 연결된 외부 장치 중 일부 또는 전부를 서비스에 연관된 장치로 결정할 수 있다.In step S320, the gateway 2000 may determine an external device associated with the service. Based on the service information, the gateway 2000 can determine which external device is needed for providing the service, and can determine some or all of the external devices connected to the gateway 2000 as devices related to the service.

단계 S330에서 게이트웨이(2000)는 결정된 외부 장치(1000)의 장치 정보를 서비스에 연관하여 저장할 수 있다. 예를 들어, 게이트웨이(2000)는 외부 장치(1000)의 장치 정보 테이블에, 서비스의 식별 값을 나타내는 필드를 추가하고, 추가된 필드에 외부 장치(1000)에 연관된 서비스의 식별 값을 기록할 수 있다. 그러나, 이에 제한되지 않는다.
In step S330, the gateway 2000 can store the device information of the determined external device 1000 in association with the service. For example, the gateway 2000 can add a field indicating the identification value of the service to the device information table of the external device 1000, and record the identification value of the service associated with the external device 1000 in the added field have. However, it is not limited thereto.

도 4는 일부 실시예에 따른 외부 장치(1000)의 장치 정보를 나타내는 장치 정보 테이블의 일례를 나타내는 도면이다.4 is a diagram showing an example of a device information table showing device information of the external device 1000 according to some embodiments.

도 4를 참조하면, 일부 실시예에 따른 장치 정보 테이블은, 장치 ID 필드(40), 장치 종류 필드(42), 데이터 타입 필드(44), 데이터 속성 필드(46), 및 센싱 주기 필드(48)를 포함할 수 있다.4, the device information table according to some embodiments includes a device ID field 40, a device type field 42, a data type field 44, a data attribute field 46, and a sensing period field 48 ).

장치 ID 필드(40)에는 외부 장치(1000)의 식별 값이 기록될 수 있으며, 장치 종류 필드(42)에는 장치의 종류가 기록될 수 있다. 예를 들어, 장치 종류 필드(42)에는 온도 센서, 음향 센서, 가스 감지 센서, 시계, 냉장고, 세탁기 및 화재 경보기 등이 기록될 수 있다.The identification value of the external device 1000 may be recorded in the device ID field 40 and the type of the device may be recorded in the device type field 42. [ For example, a temperature sensor, an acoustic sensor, a gas sensor, a clock, a refrigerator, a washing machine, and a fire alarm may be recorded in the device type field 42.

또한, 데이터 타입 필드(44)에는 외부 장치(1000)에 의해 센싱되는 센싱 데이터의 데이터 종류가 기록될 수 있다. 예를 들어, 데이터 타입 필드(44)에는 숫자, 소리, 문자, 이미지, 및 동영상 등이 기록될 수 있다.In the data type field 44, the data type of the sensing data sensed by the external device 1000 may be recorded. For example, numbers, sounds, characters, images, moving pictures, and the like may be recorded in the data type field 44.

또한, 데이터 속성 필드(46)에는 외부 장치(1000)에 의해 센싱되는 센싱 데이터의 속성이 기록될 수 있다. 예를 들어, 데이터 속성 필드(46)에는 number value, data value, byte value 및 string value 등이 기록될 수 있다.The attribute of the sensing data sensed by the external device 1000 may be recorded in the data attribute field 46. [ For example, the data attribute field 46 may store a number value, a data value, a byte value, and a string value.

또한, 센싱 주기 필드(48)에는 외부 장치(1000)가 센싱 데이터를 센싱하는 주기가 기록될 수 있다. 센싱 주기 필드(48)에 기록되는 센싱 주기는, 외부 장치(1000)에 디폴트로 설정된 값일 수 있다.
In the sensing period field 48, a period during which the external device 1000 senses the sensing data may be recorded. The sensing period recorded in the sensing period field 48 may be a default value set in the external device 1000.

도 5는 일부 실시예에 따른 디바이스(3000) 또는 서버(4000)에 의해 제공되는 서비스에 관한 서비스 정보를 나타내는 서비스 정보 테이블의 일례를 나타내는 도면이다.5 is a diagram showing an example of a service information table showing service information related to a service provided by the device 3000 or the server 4000 according to some embodiments.

도 5를 참조하면, 서비스 정보 테이블은, 서비스 ID 필드(50), 필요 장치 필드(52), 우선 순위 1 필드(54), 우선 순위 2 필드(56) 및 우선 순위 3 필드(58)를 포함할 수 있다.5, the service information table includes a service ID field 50, a required device field 52, a priority 1 field 54, a priority 2 field 56, and a priority 3 field 58 can do.

서비스 ID 필드(50)에는 서비스를 나타내는 식별 값이 기록될 수 있으며, 필요 장치 필드(52)에는 서비스의 제공을 위하여 필요한 외부 장치(1000)의 종류 및 개수에 관한 정보가 기록될 수 있다. 예를 들어, 필요 장치 필드(52)에는, “온도 센서 2개”, “가스 감지 센서 3개” 및 “화재 경보기 1개” 가 기록될 수 있다.In the service ID field 50, an identification value indicating a service can be recorded. In the required device field 52, information on the type and number of external devices 1000 required for providing a service can be recorded. For example, in the required device field 52, " two temperature sensors ", " three gas detection sensors " and " one fire alarm "

우선 순위 1 필드(54), 우선 순위 2 필드(56) 및 우선 순위 3 필드(58)에는 서비스의 제공을 위하여 필요한 외부 장치(1000) 중에서, 각각의 우선 순위에 대응되는 외부 장치(1000)의 종류 및 개수가 기록될 수 있다. 예를 들어, 우선 순위 1 필드(54)에는 “온도 센서 1개”, “가스 감지 센서 1개” 및 “화재 경보기 1개” 가 기록될 수 있으며, 우선 순위 2 필드(56)에는 “온도 센서 1개” 및 “가스 감지 센서 1개”가 기록될 수 있으며, 우선 순위 3 필드(58)에는 “가스 감지 센서 1개”가 기록될 수 있다.In the priority 1 field 54, the priority 2 field 56 and the priority 3 field 58, among the external devices 1000 necessary for providing the service, the priority of the external device 1000 corresponding to each priority The type and number may be recorded. For example, in the priority 1 field 54, "one temperature sensor", "one gas sensing sensor" and "one fire alarm" may be recorded, and in the priority two field 56, 1 " and " 1 gas sensing sensor " may be recorded, and in the priority 3 field 58, " 1 gas sensing sensor "

필요 장치 필드(52), 우선 순위 1 필드(54), 우선 순위 2 필드(56) 및 우선 순위 3 필드(58)에 기록된 정보는, 게이트웨이(2000)가 리소스 점유율에 따른 원활한 서비스의 제공을 위하여, 최소한의 외부 장치(1000)를 선택하기 위하여 이용될 수 있다.
The information recorded in the necessary device field 52, the priority 1 field 54, the priority 2 field 56 and the priority 3 field 58 indicates that the gateway 2000 provides smooth service according to the resource occupancy rate And may be used to select a minimum of external devices 1000, for example.

도 6은 일부 실시예에 따른 서비스와 연관되어 저장된 장치 정보를 나타내는 장치 정보 테이블의 일례를 나타내는 도면이다.6 is a diagram showing an example of a device information table showing device information stored in association with a service according to some embodiments.

도 6을 참조하면, 서비스와 연관된 장치 정보 테이블은 도 4의 장치 정보 테이블에 연관 서비스 필드(60)를 더 포함할 수 있다.Referring to FIG. 6, the device information table associated with the service may further include an associated service field 60 in the device information table of FIG.

연관 서비스 필드(60)에는 외부 장치(1000)와 연관된 서비스의 식별 값이 기록될 수 있다. 게이트웨이(2000)는 도 4의 장치 정보 테이블 및 도 5의 서비스 정보 테이블을 비교함으로써, 도 6의 연관 서비스 필드(60)에 기록될 서비스의 식별 값을 판단할 수 있다. 예를 들어, 온도 센서인 장치 A와 관련하여, 연관 서비스 필드(60)에는 “홈 제어 서비스 B”, 및 “화재 경보 서비스A”가 기록될 수 있다.
In the associated service field 60, an identification value of a service associated with the external device 1000 may be recorded. The gateway 2000 can determine the identification value of the service to be recorded in the association service field 60 of FIG. 6 by comparing the device information table of FIG. 4 and the service information table of FIG. For example, with respect to device A, which is a temperature sensor, " home control service B " and " fire alarm service A "

도 7은 일부 실시예에 따른 게이트웨이(2000)가 센싱 데이터의 데이터 전송 규칙을 설정하는 방법의 흐름도이다.7 is a flowchart of a method by which a gateway 2000 according to some embodiments establishes a data transmission rule of sensing data.

단계 S700에서 게이트웨이(2000)는 리소스 점유율에 대응되는 외부 장치(1000)를 결정할 수 있다. 게이트웨이(2000)는 게이트웨이(2000)의 리소스 점유율의 구간 별로, 서비스의 제공을 위하여 필요한 외부 장치(1000)를 결정할 수 있다. 게이트웨이(2000)는 외부 장치의 장치 정보, 및 디바이스(3000) 또는 서버(4000)의 서비스 정보에 기초하여, 게이트웨이(2000)의 리소스 점유율에 대응되는 외부 장치(1000)를 결정할 수 있다. 게이트웨이(2000)는 서비스에 관련없는 외부 장치(1000)를 선택하지 않을 수 있다. 또한, 게이트웨이(2000)는 서비스에 필요한 외부 장치(1000) 중에서 필수적으로 필요한 외부 장치(1000)를 선택하고 필수적이지 않은 외부 장치(1000)를 선택하지 않을 수 있다. In step S700, the gateway 2000 can determine the external device 1000 corresponding to the resource occupancy rate. The gateway 2000 can determine an external device 1000 required for providing a service according to the interval of the resource occupation rate of the gateway 2000. The gateway 2000 can determine the external device 1000 corresponding to the resource occupancy rate of the gateway 2000 based on the device information of the external device and the service information of the device 3000 or the server 4000. [ The gateway 2000 may not select the external device 1000 not related to the service. In addition, the gateway 2000 may select an external device 1000 that is indispensable among the external devices 1000 required for the service, and may not select an external device 1000 that is not essential.

예를 들어, 화재 경보 서비스에 필요한 외부 장치(1000)가 온도 센서 2개, 가스 감지 센서 3개 및 화재 경보기 1개인 경우에, 게이트웨이(2000)는 게이트웨이의 리소스 점유율 0~70%에 대응되는 외부 장치(1000)로서 온도 센서 A, 온도 센서 B, 가스 감지 센서 A, 가스 감지 센서 B, 가스 감지 센서 C 및 화재 경보기 A를 선택할 수 있다. 또한, 게이트웨이(2000)는 게이트웨이의 리소스 점유율 70~100%에 대응되는 외부 장치(1000)로서 온도 센서 A, 가스 감지 센서 A, 가스 감지 센서 B 및 화재 경보기 A를 선택할 수 있다.For example, in the case where the external device 1000 required for the fire alarm service includes two temperature sensors, three gas sensors, and one fire alarm, the gateway 2000 receives external resources corresponding to the resource occupation rate of 0 to 70% As the device 1000, a temperature sensor A, a temperature sensor B, a gas sensor A, a gas sensor B, a gas sensor C and a fire alarm A can be selected. Also, the gateway 2000 can select the temperature sensor A, the gas detection sensor A, the gas detection sensor B, and the fire alarm A as the external device 1000 corresponding to the resource occupancy rate of 70% to 100% of the gateway.

단계 S710에서 게이트웨이(2000)는 결정된 외부 장치(1000)로부터 수신될 센싱 데이터의 데이터 제공 방식을 결정할 수 있다. 데이터 제공 방식은, 예를 들어, 센싱 데이터를 취합하여 제공하는 방식, 센싱 데이터를 분리하여 제공하는 방식, 및 센싱 데이터들의 평균 값을 산출하여 제공하는 방식을 포함할 수 있다. 또한, 데이터 제공 방식은, 외부 장치(1000)에서 새로이 생성된 센싱 데이터 중에서 이전에 게이트웨이(2000)에게 전송되었던 센싱 데이터와 비교하여 변경된 데이터만을 전송하는 방식을 포함할 수 있다. 게이트웨이(2000)는 센싱 데이터의 실시간성 및 센싱 데이터의 크기를 고려하여, 센싱 데이터의 데이터 제공 방식을 결정할 수 있다. 게이트웨이(2000)는 외부 장치(1000)가 대용량의 센싱 데이터를 분리할 것을 결정하고, 외부 장치(1000)가 소용량의 센싱 데이터를 취합할 것을 결정할 수 있다. 또한, 게이트웨이(2000)는 센싱 데이터의 속성이 number value인 경우에, 외부 장치(1000)가 센싱 데이터의 평균 값을 전송할 것을 결정할 수 있다.In step S710, the gateway 2000 can determine the data providing method of the sensing data to be received from the determined external device 1000. [ The data providing method may include, for example, a method of collecting and providing sensing data, a method of separately providing sensing data, and a method of calculating and providing an average value of sensing data. The data providing method may include a method of transmitting only the changed data compared with the sensing data previously transmitted to the gateway 2000 among the newly generated sensing data in the external device 1000. The gateway 2000 can determine the data providing method of the sensing data in consideration of the real-time performance of the sensing data and the size of the sensing data. The gateway 2000 may determine that the external device 1000 separates a large amount of sensing data and decide that the external device 1000 should collect a small amount of sensing data. In addition, the gateway 2000 may determine that the external device 1000 transmits the average value of the sensing data when the attribute of the sensing data is a number value.

예를 들어, 화재 경보 서비스에서, 게이트웨이(2000)는 게이트웨이의 리소스 점유율이 0~70%인 경우에 온도 센서 A, 온도 센서 B, 가스 감지 센서 A, 가스 감지 센서 B, 가스 감지 센서 C 및 화재 경보기 A가 게이트웨이(2000)에게 센싱 데이터를 별도의 가공없이 전송할 것을 결정할 수 있다. 또한, 게이트웨이(2000)는 게이트웨이의 리소스 점유율 70~100%인 경우에, 온도 센서 A는 센싱 데이터의 평균값을 전송할 것을 결정하고, 가스 감지 센서 A는 센싱 데이터를 분리하여 전송할 것을 결정하고, 가스 감지 센서 B는 센싱 데이터를 취합하여 전송할 것을 결정할 수 있다.For example, in the fire alarm service, the gateway 2000 can detect a temperature sensor A, a temperature sensor B, a gas sensor A, a gas sensor B, a gas sensor C, The alarm A can decide to send the sensing data to the gateway 2000 without any additional processing. In the case where the gateway 2000 has a resource occupancy rate of 70% to 100% of the gateway, the temperature sensor A decides to transmit the average value of the sensing data, the gas sensing sensor A decides to separately transmit the sensing data, The sensor B can decide to collect and transmit the sensing data.

단계 S720에서 게이트웨이(2000)는 결정된 외부 장치(1000)로부터 수신될 센싱 데이터의 데이터 전송 주기를 결정할 수 있다. 게이트웨이(2000)는 센싱 데이터의 실시간성, 데이터 크기 및 센싱 데이터의 데이터 제공 방식 등을 고려하여 데이터의 전송 주기를 결정할 수 있다.In step S720, the gateway 2000 may determine the data transmission period of the sensing data to be received from the determined external device 1000. [ The gateway 2000 can determine the data transmission period in consideration of the real time characteristics of the sensing data, the data size, and the data providing method of the sensing data.

예를 들어, 화재 경보 서비스에서, 게이트웨이(2000)는 게이트웨이의 리소스 점유율이 0~70%인 경우에 온도 센서 A, 온도 센서 B, 가스 감지 센서 A, 가스 감지 센서 B, 가스 감지 센서 C 및 화재 경보기 A가 게이트웨이(2000)에게 센싱 데이터를 디폴트 주기 값에 따라 전송할 것을 결정할 수 있다. 또한, 게이트웨이(2000)는 게이트웨이의 리소스 점유율 70~100%인 경우에, 온도 센서 A는 센싱 데이터의 평균 값을 30분마다 전송할 것을 결정하고, 가스 감지 센서 A는 분리된 센싱 데이터를 2분마다 전송할 것을 결정할 수 있다.For example, in the fire alarm service, the gateway 2000 can detect a temperature sensor A, a temperature sensor B, a gas sensor A, a gas sensor B, a gas sensor C, The alarm A can decide to send the gateway 2000 the sensing data according to the default period value. Further, when the gateway 2000 has a resource occupancy rate of 70% to 100% of the gateway, the temperature sensor A decides to transmit the average value of the sensing data every 30 minutes, and the gas sensing sensor A sends the separated sensing data every 2 minutes It can decide to transmit.

단계 S730에서 게이트웨이(2000)는 결정된 외부 장치(1000)로부터 수신될 센싱 데이터의 예약 전송 여부를 결정할 수 있다. 게이트웨이(2000)는 센싱 데이터의 실시간성, 데이터 크기 및 센싱 데이터의 데이터 제공 방식 등을 고려하여, 센싱 데이터의 예약 전송 여부를 결정할 수 있다.In step S730, the gateway 2000 may determine whether or not to transmit the sensing data to be received from the determined external device 1000. The gateway 2000 can determine whether or not to transmit the sensing data in consideration of the real time characteristics of the sensing data, the data size, and the data providing method of the sensing data.

예를 들어, 화재 경보 서비스에서, 게이트웨이(2000)는 게이트웨이의 리소스 점유율 70~100%인 경우에, 가스 감지 센서 B가 취합된 센싱 데이터를 기 설정된 시각에 예약 전송할 것을 결정할 수 있다.
For example, in a fire alarm service, the gateway 2000 can determine that the gas sensing sensor B is to reserve the collected sensing data at a predetermined time, when the gateway has a resource occupation rate of 70 to 100%.

도 8은 일부 실시예에 따른 센싱 데이터의 데이터 전송 규칙을 나타내는 테이블의 일례를 도시한 도면이다.8 is a diagram showing an example of a table showing data transmission rules of sensing data according to some embodiments.

도 8을 참조하면, 데이터 전송 규칙 테이블은 서비스 ID 필드(80), 리소스 점유율 필드(82), 외부 장치 필드(84), 일시 정지 필드(86), 데이터 제공 방식 필드(87), 전송 주기 필드(88) 및 예약 전송 필드(89)를 포함할 수 있다.8, the data transmission rule table includes a service ID field 80, a resource occupation rate field 82, an external device field 84, a pause field 86, a data providing method field 87, (88) and a reserved transmission field (89).

서비스 ID 필드(80)에는 센싱 데이터가 이용되는 서비스의 식별 값이 기록될 수 있으며, 리소스 점유율 필드(82)에는 게이트웨이의 리소스 점유율이 기록될 수 있다. 리소스 점유율 필드(82)에는 리소스 점유율의 구간 값이 기록될 수 있다.In the service ID field 80, the identification value of the service in which the sensing data is used may be recorded, and the resource occupancy rate of the gateway may be recorded in the resource occupancy rate field 82. The resource occupation rate field 82 may record the interval value of the resource occupancy rate.

또한, 외부 장치 필드(84)에는 리소스 점유율에 대응되는 외부 장치(1000)의 식별 값이 기록될 수 있다. 또한, 일시 정지 필드(86)에는 리소스 점유율에 대응되는 외부 장치(1000)의 센싱 데이터 전송이 일시 정지되는 지를 나타내는 값이 기록될 수 있다.Also, in the external device field 84, the identification value of the external device 1000 corresponding to the resource occupancy rate may be recorded. In the pause field 86, a value indicating whether the transmission of the sensing data of the external device 1000 corresponding to the resource occupancy rate is suspended may be recorded.

또한, 데이터 제공 방식 필드(87)에는 외부 장치(1000)의 센싱 데이터의 데이터 제공 방식을 나타내는 값이 기록될 수 있다. 데이터 제공 방식 필드(87)에는, 예를 들어, “평균”, “분리”, “취합” 및 “변경” 등이 기록될 수 있다.A value indicating a data providing method of the sensing data of the external device 1000 may be recorded in the data providing method field 87. For example, " average ", " separation ", " collection ", and " change " may be recorded in the data providing method field 87.

또한, 전송 주기 필드(88)에는 센싱 데이터의 전송 주기가 기록될 수 있으며, 예약 전송 필드(89)에는 센싱 데이터를 예약 전송해야 하는지를 나타내는 값이 기록될 수 있다.In addition, a transmission period of the sensing data may be recorded in the transmission period field 88, and a value indicating whether the sensing data should be transmitted in the reserved transmission field 89 may be recorded.

도 8에서는 하나의 서비스에 대한 데이터 전송 규칙을 나타내는 테이블을 도시하였지만, 이에 제한되지 않는다. 게이트웨이(2000)는, 게이트웨이(2000)에 의해 수집된 센싱 데이터가 복수의 서비스에 이용되는 경우에 대한 데이터 전송 규칙을 설정할 수도 있다. 이 경우, 복수의 서비스에서 각각 이용되는 센싱 데이터의 실시간성, 우선 순위 및 데이터 크기 등을 고려하여, 게이트웨이(2000)는 데이터 전송 규칙을 설정할 수 있다.Although FIG. 8 shows a table showing data transmission rules for one service, it is not limited thereto. The gateway 2000 may set a data transmission rule for the case where the sensing data collected by the gateway 2000 is used for a plurality of services. In this case, the gateway 2000 can set a data transmission rule in consideration of the real-time property, the priority, and the data size of the sensing data used in each of the plurality of services.

또한, 도 8에서는 리소스 점유율의 구간이 2개인 경우를 예로 들어 설명되었지만, 이에 제한되지 않으며, 리소스 점유율의 구간은 3개 이상일 수도 있다.
In FIG. 8, the case where the interval of the resource occupancy rate is two is described as an example. However, the present invention is not limited to this, and the interval of the resource occupancy rate may be three or more.

도 9는 일부 실시예에 따른 게이트웨이(2000)가 리소스 점유율이 기 설정된 임계치보다 큰지를 판단하는 방법의 흐름도이다.FIG. 9 is a flow diagram of a method for a gateway 2000 according to some embodiments to determine whether resource occupancy is greater than a predetermined threshold.

단계 S900에서 게이트웨이(2000)는 게이트웨이(2000)의 CPU 점유율을 모니터링할 수 있으며, 단계 S910에서 게이트웨이(2000)는 게이트웨이(2000)의 메모리 점유율을 모니터링할 수 있다.In step S900, the gateway 2000 may monitor the CPU occupation rate of the gateway 2000, and in step S910, the gateway 2000 may monitor the memory occupancy of the gateway 2000. [

단계 S920에서 게이트웨이(2000)는 CPU 점유율 및/또는 메모리 점유율이 기 설정된 임계치를 초과하는지를 판단할 수 있다. 게이트웨이(2000)는 CPU 점유율이 기 설정된 임계치를 초과하는지, 메모리 점유율이 기 설정된 임계치를 초과하는지, CPU 점유율 및 메모리 점유율이 모두 기 설정된 임계치를 초과하는지를 판단할 수 있다. 또한, 게이트웨이(2000)는 CPU 점유율 및 메모리 점유율의 평균 값이 기 설정된 임계치를 초과하는지를 판단할 수 있다. 또한, 게이트웨이(2000)는 리소스 점유율이 기 설정된 임계치를 초과한 상태로, 기 설정된 시간 이상 동안 유지되는지를 판단할 수 있다.In step S920, the gateway 2000 may determine whether the CPU occupation rate and / or the memory occupancy rate exceeds a preset threshold value. The gateway 2000 can determine whether the CPU occupation rate exceeds a predetermined threshold, the memory occupation rate exceeds a predetermined threshold value, and both the CPU occupation rate and the memory occupancy rate exceed a preset threshold value. Further, the gateway 2000 can determine whether the average value of the CPU occupancy rate and the memory occupancy rate exceeds a predetermined threshold value. In addition, the gateway 2000 can determine whether the resource occupation rate is maintained for a predetermined time or longer with exceeding a preset threshold value.

도 9에서는, 게이트웨이(2000)가 CPU 사용량 및/또는 메모리 사용량에 기초하여, 리소스 점유율을 판단하는 것으로 설명되었지만, 이에 제한되지 않는다. 예를 들어, 게이트웨이(2000)는, 게이트웨이(2000)의 CPU 사용량 및 메모리 사용량뿐만 아니라 버퍼 메모리 사용량, 통신 상태 등의 다양한 리소스의 사용 상태에 따라 리소스 점유율을 결정할 수 있다. 또한, 리소스 점유율을 결정하기 위한 기준도 다양하게 설정될 수 있다.
In Fig. 9, although the gateway 2000 has been described as determining resource occupancy based on CPU usage and / or memory usage, it is not limited thereto. For example, the gateway 2000 can determine the resource occupancy rate according to various resource usage states such as buffer memory usage, communication status, and the like, as well as the CPU usage and memory usage of the gateway 2000. [ In addition, the criteria for determining the resource occupancy rate can be set variously.

도 10은 일부 실시예에 따른 복수의 외부 장치(1000)로부터 센싱 데이터를 수신 중인 게이트웨이(2000)가 리소스 점유율이 변경됨에 따라, 복수의 외부 장치(1000)의 센싱 데이터 전송을 제어하는 방법의 흐름도이다.10 is a flowchart of a method of controlling sensing data transmission of a plurality of external apparatuses 1000 as the gateway 2000 receiving sensing data from a plurality of external apparatuses 1000 according to some embodiments changes the resource occupancy rate to be.

단계 S1000 내지 단계 S1030에서 제 1 외부 장치(1100), 제 2 외부 장치(1200), 제 3 외부 장치(1300) 및 제 4 외부 장치(1400)는 디폴트 규칙에 따라 게이트웨이(2000)에게 센싱 데이터를 제공할 수 있다. 예를 들어, 제 1 외부 장치(1100), 제 2 외부 장치(1200), 제 3 외부 장치(1300) 및 제 4 외부 장치(1400)는 센싱 데이터를 별도의 가공없이 게이트웨이(2000)에게 전송할 수 있다. 또한, 제 1 외부 장치(1100), 제 2 외부 장치(1200), 제 3 외부 장치(1300) 및 제 4 외부 장치(1400)로부터 제공되는 센싱 데이터의 전송 주기는 디폴트 값을 가질 수 있다.The first external device 1100, the second external device 1200, the third external device 1300 and the fourth external device 1400 send sensing data to the gateway 2000 according to the default rule in steps S1000 to S1030 . For example, the first external device 1100, the second external device 1200, the third external device 1300, and the fourth external device 1400 can transmit the sensing data to the gateway 2000 without any additional processing have. The transmission period of the sensing data provided from the first external device 1100, the second external device 1200, the third external device 1300, and the fourth external device 1400 may have a default value.

단계 S1040에서 게이트웨이(2000)는 게이트웨이(2000)의 리소스 점유율이 기 설정된 임계치를 초과하는지를 판단할 수 있다. 게이트웨이(2000)는 게이트웨이의 CPU 점유율 및 메모리 점유율을 모니터링 할 수 있다. 또한, 게이트웨이(2000)는 게이트웨이의 CPU 점유율 및/또는 메모리 점유율이 기 설정된 임계치를 초과하는지를 판단할 수 있다.In step S1040, the gateway 2000 may determine whether the resource occupation rate of the gateway 2000 exceeds a predetermined threshold value. The gateway 2000 can monitor the gateway's CPU occupancy and memory occupancy. Further, the gateway 2000 can determine whether the CPU occupation rate and / or memory occupancy rate of the gateway exceeds a predetermined threshold value.

단계 S1040에서의 판단 결과, 게이트웨이(2000)의 리소스 점유율이 기 설정된 임계치를 초과하지 않으면, 게이트웨이(2000)는 단계 S1040을 반복하여 수행할 수 있다.As a result of the determination in step S1040, if the resource occupation rate of the gateway 2000 does not exceed the predetermined threshold value, the gateway 2000 can repeat step S1040.

또한, 단계 S1040에서의 판단 결과, 게이트웨이(2000)의 리소스 점유율이 기 설정된 임계치를 초과하면, 게이트웨이(2000)는 단계 S1050을 수행할 수 있다.As a result of the determination in step S1040, if the resource occupancy rate of the gateway 2000 exceeds a predetermined threshold value, the gateway 2000 can perform step S1050.

단계 S1050에서 게이트웨이(2000)는 리소스 점유율에 대응되는 데이터 전송 규칙을 식별할 수 있다. 게이트웨이(2000)는 미리 생성된 데이터 전송 규칙 테이블을 이용하여, 게이트웨이(2000)의 리소스 점유율에 대응되는 데이터 전송 규칙을 식별할 수 있다.In step S1050, the gateway 2000 may identify a data transmission rule corresponding to a resource occupancy rate. The gateway 2000 can identify a data transmission rule corresponding to a resource occupancy rate of the gateway 2000 using a pre-generated data transmission rule table.

단계 S1060 내지 단계 S1090에서 게이트웨이(2000)는 식별된 데이터 전송 규칙에 따라, 제 1 외부 장치(1100), 제 2 외부 장치(1200), 제 3 외부 장치(1300) 및 제 4 외부 장치(1400)로부터의 센싱 데이터 전송을 제어할 수 있다.In steps S1060 to S1090, the gateway 2000 transmits the first external device 1100, the second external device 1200, the third external device 1300, and the fourth external device 1400 according to the identified data transmission rule. It is possible to control the transmission of the sensing data.

단계 S1060에서 게이트웨이(2000)는 제 1 외부 장치(1100)에게 센싱 데이터의 평균 값을 기 설정된 시각에 예약 전송하라는 제어 메시지를 전송할 수 있다.In step S1060, the gateway 2000 may transmit a control message to the first external device 1100 to transmit the average value of the sensing data at a preset time.

단계 S1070에서 게이트웨이(2000)는 제 2 외부 장치(1200)에게 센싱 데이터를 분리 전송하고 전송 주기를 변경하라는 제어 메시지를 전송할 수 있다.In step S1070, the gateway 2000 may send a control message to the second external device 1200 to separately transmit sensing data and change the transmission period.

단계 S1080에서 게이트웨이(2000)는 제 3 외부 장치(1300)에게 센싱 데이터를 취합하여 전송하라는 제어 메시지를 전송할 수 있다.In step S1080, the gateway 2000 may send a control message to the third external device 1300 to collect the sensing data and transmit it.

또한, 단계 S1090에서 게이트웨이(2000)는 제 4 외부 장치(1400)에게 센싱 데이터의 전송을 일시 정지하라는 제어 메시지를 전송할 수 있다.Further, in step S1090, the gateway 2000 may transmit a control message to the fourth external device 1400 to suspend the transmission of the sensing data.

이후, 제 1 외부 장치(1100), 제 2 외부 장치(1200) 는 제 3 외부 장치(1300)는 게이트웨이(2000)로부터 수신된 제어 메시지에 기초하여, 게이트웨이(2000)에게 센싱 데이터를 전송할 수 있다.The first external device 1100 and the second external device 1200 can then transmit the sensing data to the gateway 2000 based on the control message received from the gateway 2000 .

또한, 게이트웨이(2000)는 제 1 외부 장치(1100), 제 2 외부 장치(1200) 및 제 3 외부 장치(1300)로부터 수신된 센싱 데이터를 디바이스(3000) 또는 서버(4000)에게 제공함으로써, 디바이스(3000) 또는 서버(4000)가 소정의 서비스를 사용자에게 제공할 수 있도록 할 수 있다.
The gateway 2000 also provides sensing data received from the first external device 1100, the second external device 1200 and the third external device 1300 to the device 3000 or the server 4000, The server 3000 or the server 4000 can provide a predetermined service to the user.

도 11은 일부 실시예에 따른 게이트웨이(2000)가 외부 장치(1000)로부터의 센싱 데이터 전송을 제어하기 위하여 외부 장치(1000)에게 전송하는 제어 메시지의 일례를 나타내는 도면이다.11 is a diagram showing an example of a control message that the gateway 2000 according to some embodiments transmits to the external device 1000 to control transmission of sensing data from the external device 1000. [

도 11을 참조하면, 제어 메시지는 예를 들어 2byte의 값을 가질 수 있다. 이 경우, 제어 메시지는, 제어 메시지의 타입을 나타내는 1bit의 값(110), 데이터 제공 방식을 나타내는 3bits의 값(112), 데이터 제공 방식의 서브 규칙을 나타내는 4 bits의 값(114), 및 센싱 데이터의 전송 주기를 변경하기 위한 8 bits의 값(116)을 포함할 수 있다.Referring to FIG. 11, the control message may have a value of, for example, 2 bytes. In this case, the control message includes a 1-bit value 110 indicating the type of the control message, a 3-bit value 112 indicating the data providing method, a 4-bit value 114 indicating the sub- And a value 116 of 8 bits for changing the transmission period of the data.

제어 메시지의 타입을 나타내는 1bit의 값(110)은, 제어 메시지가 외부 장치(1000)의 센싱 데이터 전송을 일시 정지 시키기 위한 메시지인지 아닌지를 나타내는 값일 수 있다. 예를 들어, 제어 메시지의 타입을 나타내는 1bit의 값(110)이 “1”인 경우에, 제어 메시지는 외부 장치(1000)의 센싱 데이터 전송을 허여하고 제어하기 위한 메시지일 수 있다. 또한, 예를 들어, 제어 메시지의 타입을 나타내는 1bit의 값(110)이 “0”인 경우에, 제어 메시지는 외부 장치(1000)의 센싱 데이터 전송을 일시 정지하기 위한 메시지일 수 있다. 한편, 제어 메시지의 타입을 나타내는 1bit의 값(110)이 “0”이고, 제어 메시지 내의 나머지 bits 값이 모두 1인 경우에, 제어 메시지는 외부 장치(1000)가 센싱 데이터 전송을 일시 정지하되 센싱된 센싱 데이터를 누적하여 저장하도록 하기 위한 메시지일 수 있다.The 1-bit value 110 indicating the type of the control message may be a value indicating whether the control message is a message for suspending transmission of the sensing data of the external device 1000. For example, when the 1-bit value 110 indicating the type of the control message is " 1 ", the control message may be a message for granting and controlling transmission of the sensing data of the external device 1000. [ Also, for example, when the 1-bit value 110 indicating the type of the control message is " 0 ", the control message may be a message for suspending transmission of the sensing data of the external device 1000. [ On the other hand, when the 1-bit value 110 indicating the type of the control message is " 0 ", and the remaining bits in the control message are all 1, the control message indicates that the external device 1000 pauses the sensing data transmission, And accumulate and store the sensing data.

데이터 제공 방식을 나타내는 3bits의 값(112)은 외부 장치(1000)가 센싱 데이터를 어떻게 가공하여 제공해야 하는지를 나타내는 값일 수 있다. 예를 들어, 데이터 제공 방식을 나타내는 3bits의 값(112)이 “0”인 경우에, 제어 메시지는 외부 장치(1000)가 센싱 데이터를 별도로 가공하지 않도록 제어하기 위한 메시지일 수 있다. 또한, 예를 들어, 데이터 제공 방식을 나타내는 3bits의 값(112)이 “1”인 경우에, 제어 메시지는 외부 장치(1000)가 센싱 데이터의 평균 값을 전송하도록 하기 위한 메시지일 수 있다. 또한, 예를 들어, 데이터 제공 방식을 나타내는 3bits의 값(112)이 “2”인 경우에, 제어 메시지는 외부 장치(1000)가 센싱 데이터를 취합하여 전송하도록 하기 위한 메시지일 수 있다. 또한, 예를 들어, 데이터 제공 방식을 나타내는 3bits의 값(112)이 “3”인 경우에, 제어 메시지는 외부 장치(1000)가 센싱 데이터를 분할하여 전송하도록 하기 위한 메시지일 수 있다. 또한, 예를 들어, 데이터 제공 방식을 나타내는 3bits의 값(112)이 “4”인 경우에, 제어 메시지는 외부 장치(1000)가 새로이 수집된 센싱 데이터 중에서 이전의 센싱 데이터와 비교하여 변경된 데이터만을 전송하도록 하기 위한 메시지일 수 있다. 또한, 예를 들어, 데이터 제공 방식을 나타내는 3bits의 값(112)이 “5”인 경우에, 제어 메시지는 외부 장치(1000)가 센싱 데이터의 평균 값을 취합하여 전송하도록 하기 위한 메시지일 수 있다.The value of 3 bits (112) indicating the data providing method may be a value indicating how the external device 1000 should process and provide the sensing data. For example, when the value 112 of 3 bits indicating the data providing method is " 0 ", the control message may be a message for controlling the external device 1000 not to process the sensing data separately. Also, for example, when the value 112 of 3 bits indicating the data providing mode is "1", the control message may be a message for allowing the external device 1000 to transmit the average value of the sensing data. Also, for example, when the value 112 of 3 bits indicating the data providing mode is "2", the control message may be a message for allowing the external device 1000 to collect and transmit the sensing data. Further, for example, when the value 112 of 3 bits indicating the data providing method is " 3 ", the control message may be a message for allowing the external device 1000 to divide and transmit the sensing data. For example, when the 3 bits value 112 indicating the data providing mode is " 4 ", the control message indicates that the external device 1000 has compared only the changed sensing data with the previous sensing data Message to be transmitted. Further, for example, when the value 112 of 3 bits indicating the data providing method is " 5 ", the control message may be a message for allowing the external device 1000 to collect and transmit the average value of the sensing data .

데이터 제공 방식의 서브 규칙을 나타내는 4 bits의 값(114)은 데이터 가공에 관련된 횟수를 나타낼 수 있다. 예를 들어, 데이터 제공 방식의 서브 규칙을 나타내는 4 bits의 값(114)은 센싱 데이터를 분할하는 횟수, 센싱 데이터를 취합하는 횟수, 또는 몇 개의 센싱 데이터를 평균해야 하는지를 나타낼 수 있다.A value 114 of 4 bits indicating sub-rules of the data providing scheme may indicate the number of times related to data processing. For example, a 4-bit value 114 indicating a sub rule of a data providing scheme may indicate the number of times the sensing data is divided, the number of times the sensing data is collected, or how many sensing data should be averaged.

센싱 데이터의 전송 주기를 변경하기 위한 8 bits의 값(116)은 센싱 데이터의 전송 주기를 나타낼 수 있다.
A value 116 of 8 bits for changing the transmission period of the sensing data may indicate the transmission period of the sensing data.

도 12는 일부 실시예에 따른 리소스 점유율이 기 설정된 임계치보다 작게되는 경우에, 게이트웨이(2000)가 외부 장치(1000)를 제어하는 방법의 흐름도이다.12 is a flowchart of a method by which the gateway 2000 controls the external device 1000 when the resource occupancy rate according to some embodiments becomes smaller than a preset threshold value.

단계 S1200에서 게이트웨이(2000)는 게이트웨이(2000)의 리소스 점유율이 기 설정된 임계치보다 작은지를 판단할 수 있다. 게이트웨이(2000)의 리소스 점유율이 기 설정된 임계치보다 낮아짐에 따라, 게이트웨이(2000)는 별도의 제약 없이 외부 장치(1000)와 원활한 통신을 할 수 있는 상태가 될 수 있다. 게이트웨이(2000)는 CPU 점유율이 기 설정된 임계치보다 작은지, 메모리 점유율이 기 설정된 임계치보다 작은지, CPU 점유율 및 메모리 점유율이 모두 기 설정된 임계치보다 작은지를 판단할 수 있다. 또한, 게이트웨이(2000)는 CPU 점유율 및 메모리 점유율의 평균 값이 기 설정된 임계치보다 작은지를 판단할 수 있다. 또한, 게이트웨이(2000)는 리소스 점유율이 기 설정된 임계치보다 작은 상태로, 기 설정된 시간 이상 동안 유지되는지를 판단할 수 있다.In step S1200, the gateway 2000 can determine whether the resource occupation rate of the gateway 2000 is smaller than a preset threshold value. As the resource occupancy rate of the gateway 2000 is lower than a predetermined threshold value, the gateway 2000 can be in a state of being able to communicate smoothly with the external device 1000 without any restriction. The gateway 2000 can determine whether the CPU occupancy rate is smaller than a predetermined threshold value, whether the memory occupancy rate is smaller than a predetermined threshold value, whether the CPU occupancy rate and the memory occupancy rate are both smaller than a preset threshold value. Also, the gateway 2000 can determine whether the average value of the CPU occupancy rate and the memory occupancy rate is smaller than a preset threshold value. Further, the gateway 2000 can determine whether the resource occupancy rate is maintained for a predetermined time or longer, while being smaller than a predetermined threshold value.

단계 S1200에서의 판단 결과, 리소스 점유율이 기 설정된 임계치보다 작지 않으면, 단계 S1210에서 게이트웨이(2000)는 현재의 데이터 전송 규칙을 변경하지 않고 유지할 수 있다. 예를 들어, 게이트웨이(2000)는 단계 S1040에서 식별된 데이터 전송 규칙을 변경하지 않고 유지할 수 있다.As a result of the determination in step S1200, if the resource occupation rate is not smaller than the predetermined threshold value, the gateway 2000 can maintain the current data transmission rule without changing in step S1210. For example, the gateway 2000 can maintain the data transfer rules identified in step S1040 without changing.

단계 S1200에서의 판단 결과, 리소스 점유율이 기 설정된 임계치보다 작으면, 단계 S1220에서 게이트웨이(2000)는 디폴트 규칙에 따라 센싱 데이터를 전송할 것을 외부 장치(1000)에게 요청할 수 있다. 게이트웨이(2000)는 외부 장치(1000)가 디폴트 규칙에 따라 센싱 데이터를 전송하도록 하기 위한 제어 메시지를 외부 장치(1000)에게 전송할 수 있다. 디폴트 규칙은, 게이트웨이(2000)가 리소스를 원활하게 사용할 수 있는 경우의 데이터 전송 규칙으로서, 디폴트 값을 갖는 데이터 전송 규칙일 수 있다.
If it is determined in step S1200 that the resource occupancy rate is smaller than the predetermined threshold value, the gateway 2000 may request the external device 1000 to transmit the sensing data according to the default rule in step S1220. The gateway 2000 may transmit a control message to the external device 1000 to allow the external device 1000 to transmit the sensing data according to the default rule. The default rule is a data transmission rule in the case where the gateway 2000 can smoothly use the resource, and may be a data transmission rule having a default value.

도 13은 일부 실시예에 따른 화재 경보 서비스 제공 시스템에서, 게이트웨이(2000)가 외부 장치(1000)를 제어하는 일례를 나타내는 도면이다.13 is a diagram showing an example in which the gateway 2000 controls the external apparatus 1000 in the fire alarm service providing system according to some embodiments.

도 13을 참조하면, 화재 경보 서비스를 위하여 게이트웨이(2000)는 온도 센서 A(1002), 온도 센서 B(1004), 가스 감지 센서 A(1006), 가스 감지 센서 B(1008), CCTV(1010) 및 적어도 하나의 다른 서비스의 센서(1060)와 연결될 수 있다. 또한, 게이트웨이(2000)는 화재 경보기(1070~1074), 디바이스(3000) 및 서버(4000)와 연결될 수 있다.13, the gateway 2000 includes a temperature sensor A 1002, a temperature sensor B 1004, a gas sensor A 1006, a gas sensor B 1008, a CCTV 1010, And a sensor 1060 of at least one other service. In addition, the gateway 2000 may be connected to the fire alarms 1070 to 1074, the device 3000 and the server 4000.

게이트웨이(2000)의 리소스 점유율이 낮고 외부 장치(1000)와 원활하게 통신할 수 있는 경우에, 게이트웨이(2000)는 온도 센서 A(1002), 온도 센서 B(1004), 가스 감지 센서 A(1006), 가스 감지 센서 B(1008), CCTV(1010) 및 다른 서비스의 센서(1060) 모두로부터, 디폴트 규칙에 따라 센싱 데이터를 수신할 수 있다. The gateway 2000 includes a temperature sensor A 1002, a temperature sensor B 1004, a gas sensing sensor A 1006, and the like, when the resource occupation rate of the gateway 2000 is low and can smoothly communicate with the external device 1000. [ , The gas sensing sensor B (1008), the CCTV (1010), and the sensor (1060) of the other service according to the default rule.

이후, 게이트웨이(2000)의 리소스 점유율이 높아지고 외부 장치(1000)와 원활하게 통신하기 힘든 경우에, 게이트웨이(2000)는 온도 센서 B(1004), 가스 감지 센서 B(1008), 및 다른 서비스의 센서(1060)의 센싱 데이터 전송을 일시 정지 시킬 수 있다. 또한, 온도 센서 A(1002), 가스 감지 센서 A(1006), 및 CCTV(1010)의 센싱 데이터 전송 주기 및 센싱 데이터 제공 방식을 변경할 수 있다.Thereafter, when the resource consumption of the gateway 2000 is high and it is difficult for the gateway 2000 to communicate smoothly with the external device 1000, the gateway 2000 can be connected to the temperature sensor B 1004, the gas sensor B 1008, It is possible to temporarily suspend the sensing data transmission of the sensor 1060. In addition, the sensing data transmission period and the sensing data providing method of the temperature sensor A 1002, the gas sensing sensor A 1006, and the CCTV 1010 can be changed.

이후, 게이트웨이(2000)가 가스 감지 센서 A(1006)로부터의 센싱 데이터에 기초하여 가스가 감지되었다고 판단되면, 게이트웨이(2000)는 가스 감지 센서 A(1006) 및 가스 감지 센서 B(1008) 모두를 활성화시키고, 가스 감지 센서 A(1006) 및 가스 감지 센서 B(1008)로부터 더욱 짧은 주기로 센싱 데이터를 수신할 수 있도록 가스 감지 센서 A(1006) 및 가스 감지 센서 B(1008)를 제어할 수 있다.Thereafter, if the gateway 2000 determines that a gas has been detected based on the sensing data from the gas sensing sensor A 1006, the gateway 2000 determines that both the gas sensing sensor A 1006 and the gas sensing sensor B 1008 And can control the gas sensing sensor A 1006 and the gas sensing sensor B 1008 so as to receive sensed data from the gas sensing sensor A 1006 and the gas sensing sensor B 1008 in a shorter period.

이후, 게이트웨이(2000)는 화재가 발생되었다고 판단되면, 모든 화재 경보기(1070~1074)가 동작하여 화재를 알릴 수 있도록 화재 경보기(1070~1074)를 제어할 수 있다. 또한, 게이트웨이(2000)는 화재가 발생되었다고 판단되면, 화재 사실을 알리기 위한 외부 장치(1000) 이외의 외부 장치(1000)의 동작을 정지시킬 수 있다. 화재 발생 여부는, 게이트웨이(2000)에 의해 판단될 수 있으나, 이에 제한되지 않으며, 디바이스(3000) 및/또는 서버(4000)에 의해 판단될 수도 있다. 또한, 게이트웨이(2000)는 화재 발생을 다른 게이트웨이(미도시)에게 알릴 수 있다. 또한, 게이트웨이(2000)는 화재 발생을 디바이스(3000) 및/또는 서버(4000)에게 알림으로써, 화재에 대한 신속한 대응을 유도할 수 있다.
Thereafter, when it is determined that a fire has occurred, the gateway 2000 can control the fire alarms 1070 to 1074 so that all the fire alarms 1070 to 1074 operate to inform the fire. In addition, if it is determined that a fire has occurred, the gateway 2000 can stop the operation of the external device 1000 other than the external device 1000 for notifying of the fire. Whether or not the fire has occurred may be determined by the gateway 2000, but not limited thereto, and may be determined by the device 3000 and / or the server 4000. Also, the gateway 2000 can notify another gateway (not shown) of the occurrence of a fire. In addition, the gateway 2000 can inform the device 3000 and / or the server 4000 of the occurrence of a fire, thereby prompting a quick response to the fire.

도 14는 일부 실시예에 따른 화재 경보 서비스 제공 시스템에서, 게이트웨이(2000)가 게이트웨이(2000)의 리소스 점유율이 높아짐에 따라 외부 장치(1000)를 제어하는 방법의 흐름도이다.14 is a flowchart of a method for controlling the external device 1000 as the gateway 2000 increases the resource occupancy rate of the gateway 2000 in the fire alarm service providing system according to some embodiments.

단계 S1400 내지 S1420에서 온도 센서 A(1002), 온도 센서 B(1004), 가스 감지 센서 A(1006), 가스 감지 센서 B(1008) 및 CCTV(1010)는 디폴트 규칙에 따라 센싱 데이터를 게이트웨이(2000)에게 전송할 수 있다.In steps S1400 to S1420, the temperature sensor A 1002, the temperature sensor B 1004, the gas sensor A 1006, the gas sensor B 1008, and the CCTV 1010 send sensing data to the gateway 2000 ).

단계 S1400에서 온도 센서 A(1002)는 센싱된 온도 데이터를 1/sec의 주기로 게이트웨이(2000)에게 전송할 수 있으며, 단계 S1405에서 온도 센서 B(1004)는 센싱된 온도 데이터를 1/sec의 주기로 게이트웨이(2000)에게 전송할 수 있다. 또한, 단계 S1410에서 가스 감지 센서 A(1006)는 가스 감지 여부를 나타내는 가스 감지 데이터를 1/sec의 주기로 게이트웨이(2000)에게 전송할 수 있으며, 단계 S1415에서 가스 감지 센서 A(1006)는 가스 감지 여부를 나타내는 가스 감지 데이터를 1/sec의 주기로 게이트웨이(2000)에게 전송할 수 있다. 또한, 단계 S1420에서 CCTV(1010)는 촬영 영상 데이터를 게이트웨이(2000)에게 전송할 수 있으며, 단계 S1425에서 다른 서비스의 센서(1060)는 센싱 데이터를 게이트웨이(2000)에게 전송할 수 있다.In step S1400, the temperature sensor A 1002 may transmit the sensed temperature data to the gateway 2000 at a period of 1 / sec. In step S1405, the temperature sensor B 1004 senses the sensed temperature data at a rate of 1 / (2000). In step S1410, the gas sensing sensor A 1006 may transmit the gas sensing data indicating the gas sensing period to the gateway 2000 at a cycle of 1 / sec. In step S1415, To the gateway 2000 at a cycle of 1 / sec. In step S1420, the CCTV 1010 may transmit the photographed image data to the gateway 2000. In step S1425, the sensor 1060 of the other service may transmit the sensing data to the gateway 2000. [

단계 S1430에서 게이트웨이(2000)는 게이트웨이(2000)의 리소스 점유율이 기 설정된 임계치를 초과하는지를 판단할 수 있다. 게이트웨이(2000)는 게이트웨이의 CPU 점유율 및 메모리 점유율을 모니터링 할 수 있다. 또한, 게이트웨이(2000)는 게이트웨이의 CPU 점유율 및/또는 메모리 점유율이 기 설정된 임계치를 초과하는지를 판단할 수 있다.In step S1430, the gateway 2000 can determine whether the resource occupation rate of the gateway 2000 exceeds a preset threshold value. The gateway 2000 can monitor the gateway's CPU occupancy and memory occupancy. Further, the gateway 2000 can determine whether the CPU occupation rate and / or memory occupancy rate of the gateway exceeds a predetermined threshold value.

단계 S1430에서의 판단 결과, 게이트웨이(2000)의 리소스 점유율이 기 설정된 임계치를 초과하지 않으면, 게이트웨이(2000)는 단계 S1430을 반복하여 수행할 수 있다.As a result of the determination in step S1430, if the resource occupation rate of the gateway 2000 does not exceed the predetermined threshold value, the gateway 2000 can repeat step S1430.

또한, 단계 S1430에서의 판단 결과, 게이트웨이(2000)의 리소스 점유율이 기 설정된 임계치를 초과하면, 게이트웨이(2000)는 단계 S1435를 수행할 수 있다.As a result of the determination in step S1430, if the resource occupancy rate of the gateway 2000 exceeds a predetermined threshold, the gateway 2000 can perform step S1435.

단계 S1435에서 게이트웨이(2000)는 리소스 점유율에 대응되는 데이터 전송 규칙을 식별할 수 있다. 게이트웨이(2000)는 미리 생성된 데이터 전송 규칙 테이블을 이용하여, 게이트웨이(2000)의 리소스 점유율에 대응되는 데이터 전송 규칙을 식별할 수 있다.In step S1435, the gateway 2000 can identify the data transmission rule corresponding to the resource occupancy rate. The gateway 2000 can identify a data transmission rule corresponding to a resource occupancy rate of the gateway 2000 using a pre-generated data transmission rule table.

단계 S1440 내지 단계 S1460에서 게이트웨이(2000)는 식별된 데이터 전송 규칙에 따라, 온도 센서 A(1002), 온도 센서 B(1004), 가스 감지 센서 A(1006), 가스 감지 센서 B(1008), CCTV(1010) 및 다른 서비스의 센서(1060)를 제어할 수 있다.In steps S1440 to S1460, the gateway 2000 determines whether the temperature sensor A 1002, the temperature sensor B 1004, the gas sensor A 1006, the gas sensor B 1008, the CCTV Lt; RTI ID = 0.0 > 1010 < / RTI >

단계 S1440에서 게이트웨이(2000)는 온도 데이터의 전송 주기를 0.2/sec로 변경하고 온도 데이터의 평균 값을 전송할 것을 온도 센서 A(1002)에게 요청할 수 있다. 게이트웨이(2000)는, 온도 데이터의 전송 주기를 0.2/sec로 변경하고 온도 데이터의 평균 값을 전송하라는 정보를 포함하는 제어 메시지를 온도 센서 A(1002)에게 전송할 수 있다.In step S1440, the gateway 2000 may request the temperature sensor A 1002 to change the transmission period of the temperature data to 0.2 / sec and to transmit the average value of the temperature data. The gateway 2000 may transmit a control message to the temperature sensor A 1002 that changes the transmission period of the temperature data to 0.2 / sec and includes information to transmit an average value of the temperature data.

단계 S1445에서 게이트웨이(2000)는 온도 데이터의 전송을 일시 정지할 것을 온도 센서 B(1004)에게 요청할 수 있다. 게이트웨이(2000)는 온도 데이터의 전송을 일시 정지하라는 정보를 포함하는 제어 메시지를 온도 센서 B(1004)에게 전송할 수 있다.In step S1445, the gateway 2000 may request the temperature sensor B 1004 to suspend the transmission of the temperature data. Gateway 2000 may send a control message to temperature sensor B 1004 that includes information to suspend the transmission of temperature data.

단계 S1450에서 게이트웨이(2000)는 가스 감지 데이터의 전송 주기를 0.5/sec로 변경할 것을 가스 감지 센서 A(1006)에게 요청할 수 있다. 게이트웨이(2000)는, 가스 감지 데이터의 전송 주기를 0.5/sec로 변경하라는 정보를 포함하는 제어 메시지를 가스 감지 센서 A(1006)에게 전송할 수 있다.In step S1450, the gateway 2000 may request the gas sensing sensor A 1006 to change the transmission period of the gas sensing data to 0.5 / sec. The gateway 2000 may send a control message to the gas sensing sensor A 1006, which includes information to change the transmission period of the gas sensing data to 0.5 / sec.

단계 S1455에서 게이트웨이(2000)는 가스 감지 데이터의 전송을 일시 정지할 것을 가스 감지 센서 B(1008)에게 요청할 수 있다. 게이트웨이(2000)는 가스 감지 데이터의 전송을 일시 정지하라는 정보를 포함하는 제어 메시지를 가스 감지 센서 B(1008)에게 전송할 수 있다.In step S1455, the gateway 2000 may request the gas sensing sensor B 1008 to pause the transmission of the gas sensing data. The gateway 2000 may send a control message to the gas sensing sensor B 1008 that includes information to suspend the transmission of the gas sensing data.

단계 S1460에서 게이트웨이(2000)는 CCTV(1010)의 데이터 전송 규칙을 유지시킬 수 있다. 게이트웨이(2000)는 CCTV(1010)에게 제어 메시지를 전송하지 않음으로써, CCTV(1010)의 데이터 전송 규칙을 유지시킬 수 있다.In step S1460, the gateway 2000 may maintain the data transmission rules of the CCTV 1010. [ The gateway 2000 can maintain the data transmission rules of the CCTV 1010 by not transmitting the control message to the CCTV 1010. [

단계 S1465에서 게이트웨이(2000)는 다른 서비스의 센서(1060) 중 적어도 일부에게, 센싱 데이터의 전송을 일시 정지할 것을 요청할 수 있다.
In step S1465, the gateway 2000 may request to suspend transmission of sensing data to at least some of the sensors 1060 of the other service.

도 15는 일부 실시예에 따른 게이트웨이(2000)가, 가스가 감지되거나 화재가 발생되었다고 판단되는 경우에, 외부 장치(1000)를 제어하는 방법의 흐름도이다. 도 15의 단계들은 도 14의 단계들 이후에 이어서 수행될 수 있으나, 이에 제한되지 않는다.15 is a flowchart of a method of controlling an external device 1000 when a gateway 2000 according to some embodiments determines that a gas is detected or a fire has occurred. The steps of FIG. 15 may be performed subsequent to the steps of FIG. 14, but are not limited thereto.

단계 S1500에서 게이트웨이(2000)는 가스가 감지되었는지를 판단할 수 있다. 게이트웨이(2000)는 가스 감지 센서 A(1006)로부터 수신된 가스 감지 데이터에 기초하여, 가스가 감지되었는지를 판단할 수 있다.In step S1500, the gateway 2000 may determine whether gas is detected. Based on the gas sensing data received from the gas sensing sensor A 1006, the gateway 2000 can determine whether gas has been sensed.

단계 S1500에서의 판단 결과, 가스가 감지되지 않았다고 판단되면, 게이트웨이(2000)는 단계 S1500을 반복하여 수행할 수 있다.If it is determined in step S1500 that no gas is detected, the gateway 2000 can repeat step S1500.

또한, 단계 S1500에서의 판단 결과, 가스가 감지되었다고 판단되면, 게이트웨이(2000)는 단계 S1505 및 단계 S1510을 수행하여, 가스 감지 데이터를 더욱 자주 수신할 수 있도록 할 수 있다.Further, if it is determined in step S1500 that the gas is detected, the gateway 2000 may perform step S1505 and step S1510 to allow the gas sensing data to be received more frequently.

단계 S1505에서 게이트웨이(2000)는 가스 감지 데이터의 전송 주기를 2/sec로 변경할 것을 가스 감지 센서 A(1006)에게 요청할 수 있다. 게이트웨이(2000)는 가스 감지 데이터의 전송 주기를 2/sec로 변경하라는 정보를 포함하는 제어 메시지를 가스 감지 센서 A(1006)에게 전송할 수 있다.In step S1505, the gateway 2000 may request the gas sensing sensor A 1006 to change the transmission period of the gas sensing data to 2 / sec. The gateway 2000 may send a control message to the gas sensing sensor A 1006 including information to change the transmission period of the gas sensing data to 2 / sec.

단계 S1510에서 게이트웨이(2000)는 가스 감지 데이터 전송의 일시 정지를 해제하고 가스 감지 데이터의 전송 주기를 2/sec로 변경할 것을 가스 감지 센서 B(1008)에게 요청할 수 있다. 게이트웨이(2000)는 가스 감지 데이터 전송의 일시 정지를 해제하고 가스 감지 데이터의 전송 주기를 2/sec로 변경하라는 정보를 포함하는 제어 메시지를 가스 감지 센서 B(1008)에게 전송할 수 있다.In step S1510, the gateway 2000 may request the gas sensing sensor B 1008 to release the pause of the gas sensing data transmission and change the transmission period of the gas sensing data to 2 / sec. The gateway 2000 may send a control message to the gas sensing sensor B 1008, which includes information to release the pause of the gas sensing data transmission and change the transmission period of the gas sensing data to 2 / sec.

단계 S1515에서 게이트웨이(2000)는 화재가 발생되었는지를 판단할 수 있다. 게이트웨이(2000)는 온도 센서 A(1002), 가스 감지 센서 A(1006), 가스 감지 센서 B(1008) 및 CCTV(1010)로부터 수신된 센싱 데이터에 기초하여, 화재가 발생되었는지를 판단할 수 있다. 게이트웨이(2000)가 화재 발생 여부를 직접 판단할 수 있으나, 이에 제한되지 않는다. 게이트웨이(2000)는 수신된 센싱 데이터를 디바이스(3000) 및/또는 서버(4000)에게 전송하고, 디바이스(3000) 및/또는 서버(4000)에 의해 판단된 화재 발생 여부에 대한 정보를 디바이스(3000) 및/또는 서버(4000)로부터 수신할 수도 있다.In step S1515, the gateway 2000 can determine whether a fire has occurred. The gateway 2000 can determine whether a fire has occurred based on the sensing data received from the temperature sensor A 1002, the gas sensor A 1006, the gas sensor B 1008 and the CCTV 1010 . The gateway 2000 can directly determine whether a fire has occurred, but is not limited thereto. The gateway 2000 transmits the received sensing data to the device 3000 and / or the server 4000 and transmits information about whether or not the fire has been detected by the device 3000 and / or the server 4000 to the device 3000 ) And / or the server 4000. [

단계 S1515에서의 판단 결과, 화재가 발생되지 않았다고 판단되면, 게이트웨이는 단계 S1515를 반복하여 수행할 수 있다.If it is determined in step S1515 that a fire has not occurred, the gateway can repeat step S1515 to perform it.

또한, S1515에서의 판단 결과, 화재가 발생되었다고 판단되면, 게이트웨이는 화재 발생을 알리는데 이용되는 외부 장치(1000)를 제외한 나머지 외부 장치(1000)의 센싱 데이터 전송을 일시정지 시킬 수 있다.If it is determined in step S1515 that a fire has occurred, the gateway may temporarily suspend the transmission of the sensing data of the external device 1000 other than the external device 1000 used to inform the occurrence of the fire.

단계 S1520 내지 단계 S1535에서 게이트웨이(2000)는 온도 센서 A(1002), 가스 감지 센서 A(1006), 가스 감지 센서 B(1008) 및 CCTV(1010)의 센싱 데이터 전송을 일시 정지시킬 수 있다. 또한, 단계 S1040에서 게이트웨이(2000)는 다른 서비스의 센서(1060) 전부의 일시 정지를 다른 서비스의 센서(1060)에게 요청할 수 있다.The gateway 2000 can suspend the sensing data transmission of the temperature sensor A 1002, the gas sensor A 1006, the gas sensor B 1008 and the CCTV 1010 in steps S1520 through S1535. In addition, in step S1040, the gateway 2000 can request the pause of all of the sensors 1060 of other services to the sensor 1060 of the other service.

단계 S1550에서 게이트웨이(2000)는 화재 경보기(1070~1074)에게 화재 발생을 알림으로써, 화재 경보기(1070~1074)가 동작하도록 할 수 있다. 또한, 단계 S1055에서 게이트웨이(2000)는 화재 발생을 다른 게이트웨이(미도시)에게 알릴 수 있다. 화재 발생 알림을 수신한 다른 게이트웨이(미도시)는 다른 게이트웨이(미도시)에 연결된 화재 경보기를 동작시킬 수 있다.
In step S1550, the gateway 2000 may cause the fire alarms 1070 to 1074 to operate by notifying the fire alarms 1070 to 1074 of the occurrence of a fire. In addition, in step S1055, the gateway 2000 can notify another gateway (not shown) of the occurrence of a fire. Other gateways (not shown) that have received a fire alert can operate a fire alarm connected to another gateway (not shown).

도 16은 일부 실시예에 따른 시큐리티 서비스 제공 시스템에서, 게이트웨이(2000)가 외부 장치(1000)를 제어하는 일례를 나타내는 도면이다.16 is a diagram showing an example in which the gateway 2000 controls the external apparatus 1000 in the security service providing system according to some embodiments.

도 16을 참조하면, 시큐리티 서비스를 위하여 게이트웨이(2000)는 움직임 감지 센서 A(1012), 온도 센서 A(1002), 근접 센서 A(1014), 사용자 출입 감지 센서(1016), CCTV(1010) 및 적어도 하나의 다른 서비스의 센서(1062)와 연결될 수 있다. 또한, 게이트웨이(2000)는 경보기(1080, 1082), 디바이스(3000) 및 서버(4000)와 연결될 수 있다. 움직임 감지 센서 A(1012)는 외부의 움직임을 감지하기 위한 센서일 수 있다.16, the gateway 2000 includes a motion detection sensor A 1012, a temperature sensor A 1002, a proximity sensor A 1014, a user access detection sensor 1016, a CCTV 1010, And may be coupled to the sensor 1062 of at least one other service. Further, the gateway 2000 may be connected to the alarms 1080 and 1082, the device 3000 and the server 4000. [ The motion detection sensor A 1012 may be a sensor for detecting an external motion.

게이트웨이(2000)의 리소스 점유율이 낮고 외부 장치(1000)와 원활하게 통신할 수 있는 경우에, 게이트웨이(2000)는 움직임 감지 센서 A(1012), 온도 센서 A(1002), 근접 센서 A(1014), 사용자 출입 감지 센서(1016), CCTV(1010) 및 다른 서비스의 센서(1062) 모두로부터, 디폴트 규칙에 따라 센싱 데이터를 수신할 수 있다. The gateway 2000 includes a motion detection sensor A 1012, a temperature sensor A 1002, a proximity sensor A 1014, and the like, when the resource occupancy of the gateway 2000 is low and can communicate smoothly with the external device 1000. [ The user access detection sensor 1016, the CCTV 1010, and the sensor 1062 of the other service according to a default rule.

이후, 게이트웨이(2000)의 리소스 점유율이 높아지고 외부 장치(1000)와 원활하게 통신하기 힘든 경우에, 게이트웨이(2000)는 근접 센서 A(1014), CCTV(1010), 및 다른 서비스의 센서(1062)의 센싱 데이터 전송을 일시 정지 시킬 수 있다. 또한, 움직임 감지 센서 A(1012), 온도 센서 A(1002) 및 사용자 출입 감지 센서(1016)의 센싱 데이터 전송 주기 및 센싱 데이터 제공 방식을 변경할 수 있다.Thereafter, when the resource consumption of the gateway 2000 is high and it is difficult for the gateway 2000 to smoothly communicate with the external device 1000, the gateway 2000 transmits the proximity sensor A 1014, the CCTV 1010, It is possible to temporarily suspend the transmission of the sensing data. In addition, the sensing data transmission period and the sensing data providing mode of the motion sensor A 1012, the temperature sensor A 1002, and the user access sensor 1016 can be changed.

이후, 게이트웨이(2000)가 도둑이 침입했다고 판단되면, 모든 경보기(1080, 1082)가 동작하여 도둑의 침입을 알릴 수 있도록 경보기(1080, 1082)를 제어할 수 있다. 또한, 게이트웨이(2000)는 도둑이 침입하였다고 판단되면, 도둑 침입을 알리기 위한 외부 장치(1000) 이외의 외부 장치(1000)의 동작을 정지시킬 수 있다. 도둑의 침입 여부는, 게이트웨이(2000)에 의해 판단될 수 있으나, 이에 제한되지 않으며, 디바이스(3000) 및/또는 서버(4000)에 의해 판단될 수도 있다. 또한, 게이트웨이(2000)는 도둑의 침입을 다른 게이트웨이(미도시)에게 알릴 수 있다. 또한, 게이트웨이(2000)는 도둑의 침입을 디바이스(3000) 및/또는 서버(4000)에게 알림으로써, 도난에 대한 신속한 대응을 유도할 수 있다.
Thereafter, when the gateway 2000 determines that the intruder has entered the intruder, all the intruders 1080 and 1082 may operate to control the intruders 1080 and 1082 so that the intruder can be informed of intrusion. In addition, if the gateway 2000 determines that the intruder has entered the intruder, the gateway 2000 can stop the operation of the external device 1000 other than the external device 1000 for informing the intrusion of the intruder. The intrusion of the thief may be judged by the gateway 2000, but not limited thereto, and may be judged by the device 3000 and / or the server 4000. Also, the gateway 2000 can inform the other gateway (not shown) of the intrusion of the thief. In addition, the gateway 2000 can inform the device 3000 and / or the server 4000 of the intrusion of a thief, thereby inducing a quick response to the theft.

도 17은 일부 실시예에 따른 시큐리티 서비스 제공 시스템에서, 게이트웨이(2000)가 게이트웨이(2000)의 리소스 점유율이 높아짐에 따라 외부 장치(1000)를 제어하는 방법의 흐름도이다.17 is a flowchart of a method of controlling the external device 1000 as the gateway 2000 increases the resource occupancy rate of the gateway 2000 in the security service providing system according to some embodiments.

단계 S1700 내지 S1720에서 움직임 감지 센서 A(1012), 온도 센서 A(1002), 근접 센서 A(1014), 사용자 출입 감지 센서(1016) 및 CCTV(1010)는 디폴트 규칙에 따라 센싱 데이터를 게이트웨이(2000)에게 전송할 수 있다.In steps S1700 to S1720, the motion detection sensor A 1012, the temperature sensor A 1002, the proximity sensor A 1014, the user access detection sensor 1016, and the CCTV 1010 transmit sensing data to the gateway 2000 ).

단계 S1700에서 움직임 감지 센서 A(1012)는 움직임이 감지되었는지를 나타내는 움직임 감지 데이터를 1/sec의 주기로 게이트웨이(2000)에게 전송할 수 있으며, 단계 S1705에서 온도 센서 A(1002)는 센싱된 온도 데이터를 1/sec의 주기로 게이트웨이(2000)에게 전송할 수 있다. 또한, 단계 S1710에서 근접 센서 A(1014)는 특정 물체가 근접 센서 A에 근접하였는지를 나타내는 근접 감지 데이터를 1/sec의 주기로 게이트웨이(2000)에게 전송할 수 있다. In step S1700, the motion sensor A 1012 may transmit the motion detection data indicating whether motion has been detected to the gateway 2000 at a period of 1 / sec. In step S1705, the temperature sensor A 1002 transmits the sensed temperature data To the gateway 2000 at a cycle of 1 / sec. In addition, in step S1710, the proximity sensor A 1014 may transmit the proximity sensing data indicating whether the specific object is close to the proximity sensor A to the gateway 2000 at a cycle of 1 / sec.

단계 S1715에서 사용자 출입 감지 센서(1016)는, 특정 공간(예를 들어, 건물, 집 등)에 출입한 사용자들에 관한 데이터를 게이트웨이(2000)에게 전송할 수 있다. 사용자 출입 감지 센서(1016)는 건물 또는 집 등의 출입구에 설치될 수 있으며, 출입구를 통과하는 사용자 정보를 수집할 수 있다. 사용자 출입 감지 센서(1016)는 10분마다 5MB 의 데이터를 게이트웨이(2000)에게 전송할 수 있다.In step S1715, the user entrance / exit detection sensor 1016 can transmit data on the users entering / leaving the specific space (for example, building, house, etc.) to the gateway 2000. [ The user access detection sensor 1016 can be installed at an entrance of a building or a house, and can collect user information passing through an entrance. The user access detection sensor 1016 can transmit 5 MB of data to the gateway 2000 every 10 minutes.

단계 S1720에서 CCTV(1010)는 촬영 영상 데이터를 게이트웨이(2000)에게 전송할 수 있으며, 단계 S1725에서 다른 서비스의 센서(1062)는 센싱 데이터를 게이트웨이(2000)에게 전송할 수 있다.In step S1720, the CCTV 1010 may transmit the photographed image data to the gateway 2000. In step S1725, the sensor 1062 of the other service may transmit the sensing data to the gateway 2000. [

단계 S1730에서 게이트웨이(2000)는 게이트웨이(2000)의 리소스 점유율이 기 설정된 임계치를 초과하는지를 판단할 수 있다. 게이트웨이(2000)는 게이트웨이의 CPU 점유율 및 메모리 점유율을 모니터링 할 수 있다. 또한, 게이트웨이(2000)는 게이트웨이의 CPU 점유율 및/또는 메모리 점유율이 기 설정된 임계치를 초과하는지를 판단할 수 있다.In step S1730, the gateway 2000 may determine whether the resource occupation rate of the gateway 2000 exceeds a preset threshold value. The gateway 2000 can monitor the gateway's CPU occupancy and memory occupancy. Further, the gateway 2000 can determine whether the CPU occupation rate and / or memory occupancy rate of the gateway exceeds a predetermined threshold value.

단계 S1730에서의 판단 결과, 게이트웨이(2000)의 리소스 점유율이 기 설정된 임계치를 초과하지 않으면, 게이트웨이(2000)는 단계 S1730을 반복하여 수행할 수 있다.As a result of the determination in step S1730, if the resource occupation rate of the gateway 2000 does not exceed the preset threshold value, the gateway 2000 can repeat step S1730.

또한, 단계 S1730에서의 판단 결과, 게이트웨이(2000)의 리소스 점유율이 기 설정된 임계치를 초과하면, 게이트웨이(2000)는 단계 S1735를 수행할 수 있다.As a result of the determination in step S1730, if the resource occupancy rate of the gateway 2000 exceeds a preset threshold value, the gateway 2000 can perform step S1735.

단계 S1735에서 게이트웨이(2000)는 리소스 점유율에 대응되는 데이터 전송 규칙을 식별할 수 있다. 게이트웨이(2000)는 미리 생성된 데이터 전송 규칙 테이블을 이용하여, 게이트웨이(2000)의 리소스 점유율에 대응되는 데이터 전송 규칙을 식별할 수 있다.In step S1735, the gateway 2000 may identify a data transmission rule corresponding to the resource occupancy rate. The gateway 2000 can identify a data transmission rule corresponding to a resource occupancy rate of the gateway 2000 using a pre-generated data transmission rule table.

단계 S1740 내지 단계 S1760에서 게이트웨이(2000)는 식별된 데이터 전송 규칙에 따라, 움직임 감지 센서 A(1012), 온도 센서 A(1002), 근접 센서 A(1014), 사용자 출입 감지 센서(1016), CCTV(1010) 및 다른 서비스의 센서(1062)를 제어할 수 있다.In step S1740 to step S1760, the gateway 2000 determines whether or not the movement detection sensor A 1012, the temperature sensor A 1002, the proximity sensor A 1014, the user access detection sensor 1016, the CCTV Lt; RTI ID = 0.0 > 1010 < / RTI >

단계 S1740에서 게이트웨이(2000)는 움직임이 감지될 때만 움직임 감지 데이터를 전송할 것을 움직임 감지 센서 A(1012)에게 요청할 수 있다. 게이트웨이(2000)는, 움직임이 감지될 때만 움직임 감지 데이터를 전송하라는 정보를 포함하는 제어 메시지를 움직임 감지 센서 A(1012)에게 전송할 수 있다.In step S1740, the gateway 2000 may request the motion sensor A 1012 to transmit motion detection data only when motion is detected. The gateway 2000 may send a control message to the motion sensor A 1012, including information to transmit motion detection data only when motion is detected.

단계 S1745에서, 게이트웨이(2000)는 온도 데이터의 전송 주기를 0.2/sec로 변경할 것을 온도 센서 A(1002)에게 요청할 수 있다. 게이트웨이(2000)는, 온도 데이터의 전송 주기를 0.2/sec로 변경하라는 정보를 포함하는 제어 메시지를 온도 센서 A(1002)에게 전송할 수 있다.In step S1745, the gateway 2000 can request the temperature sensor A 1002 to change the transmission period of the temperature data to 0.2 / sec. The gateway 2000 may transmit a control message to the temperature sensor A 1002 including information to change the transmission period of the temperature data to 0.2 / sec.

단계 S1750에서 게이트웨이(2000)는 근접 감지 데이터의 전송을 일시 정지할 것을 근접 센서 A(1014)에게 요청할 수 있다. 게이트웨이(2000)는 근접 감지 데이터의 전송을 일시정지하라는 정보를 포함하는 제어 메시지를 근접 센서 A(1014)에게 전송할 수 있다.In step S1750, the gateway 2000 may request proximity sensor A 1014 to pause transmission of the proximity sensing data. The gateway 2000 may send a control message to the proximity sensor A 1014 that includes information to suspend the transmission of the proximity sensing data.

단계 S1755에서 게이트웨이(2000)는 사용자 출입에 관한 5MB의 데이터를 10개로 나누어 전송할 것을 사용자 출입 감지 센서(1016)에게 요청할 수 있다. 게이트웨이(2000)는, 사용자 출입에 관한 5MB의 데이터를 10개로 나누어 전송하라는 정보를 포함하는 제어 메시지를 사용자 출입 감지 센서(1016)에게 전송할 수 있다.In step S1755, the gateway 2000 may request the user access detection sensor 1016 to divide the 5-MB data related to the user access into 10 pieces. The gateway 2000 may transmit a control message including information for dividing 5 MB of data on user access into 10 pieces and transmitting the control message to the user access detection sensor 1016.

단계 S1760에서 게이트웨이(2000)는 촬영 영상의 전송을 일시 정지할 것을 CCTV(1010)에게 요청할 수 있다. 게이트웨이(2000)는 촬영 영상의 전송을 일시 정지하라는 정보를 포함하는 제어 메시지를 CCTV(1010)에게 전송할 수 있다.In step S1760, the gateway 2000 may request the CCTV 1010 to pause the transmission of the photographed image. The gateway 2000 may send a control message to the CCTV 1010 that includes information to suspend the transmission of the photographed image.

단계 S1765에서 게이트웨이(2000)는 다른 서비스의 센서(1062) 중 적어도 일부에게, 센싱 데이터의 전송을 일시 정지할 것을 요청할 수 있다.In step S1765, the gateway 2000 may request to suspend transmission of the sensing data to at least some of the sensors 1062 of the other service.

이후, 게이트웨이(2000)는 도둑이 침입했다고 판단되는 경우에, 게이트웨이(2000)는 경보기(1080, 1082)에게 도둑 침입을 알림으로써, 경보기(1080, 1082)가 동작하도록 할 수 있다. 또한, 게이트웨이(2000)는 도둑 침입을 다른 게이트웨이(미도시)에게 알릴 수 있다. 또한, 게이트웨이(2000)는 도둑 침입을 디바이스(3000) 및/또는 서버(4000)에게 알릴 수 있다.
Thereafter, when the gateway 2000 determines that the intruder has entered the intruder, the gateway 2000 may notify the intruder 1080 or 1082 of intruder intrusion, thereby causing the intruder 1080 or 1082 to operate. In addition, the gateway 2000 can notify another gateway (not shown) of a thief intrusion. In addition, the gateway 2000 may notify the device 3000 and / or the server 4000 of a thief intrusion.

도 18은 일부 실시예에 따른 홈 네트워크 서비스 제공 시스템에서, 게이트웨이(2000)가 외부 장치(1000)를 제어하는 일례를 나타내는 도면이다.18 is a diagram showing an example in which the gateway 2000 controls the external device 1000 in the home network service providing system according to some embodiments.

도 18을 참조하면, 홈 네트워크 서비스를 위하여 게이트웨이(2000)는 온도 센서 A(1002), 온도 센서 B(1004), 습도 센서 A(1018), 냉장고(1020), 에어컨(1090) 및 TV(1095)와 연결될 수 있다. 또한, 게이트웨이(2000)는 디바이스(3000) 및 서버(4000)와 연결될 수 있다.18, the gateway 2000 includes a temperature sensor A 1002, a temperature sensor B 1004, a humidity sensor A 1018, a refrigerator 1020, an air conditioner 1090, and a TV 1095 ). In addition, the gateway 2000 may be connected to the device 3000 and the server 4000.

게이트웨이(2000)의 리소스 점유율이 낮고 외부 장치(1000)와 원활하게 통신할 수 있는 경우에, 게이트웨이(2000)는 온도 센서 A(1002), 온도 센서 B(1004), 습도 센서 A(1018), 냉장고(1020), 에어컨(1090) 및 TV(1095) 모두로부터, 디폴트 규칙에 따라 센싱 데이터를 수신할 수 있다. The gateway 2000 is connected to the temperature sensor A 1002, the temperature sensor B 1004, the humidity sensor A 1018, and the external device 1000 in a case where the resource occupation rate of the gateway 2000 is low and can smoothly communicate with the external device 1000. [ From the refrigerator 1020, the air conditioner 1090, and the TV 1095, it is possible to receive the sensing data according to the default rule.

디바이스(3000)가 게이트웨이(2000)를 통하여 TV(1095)에게 스트리밍 동영상을 제공하면, 게이트웨이(2000)의 리소스 점유율이 높아질 수 있으며, 이에 따라, 게이트웨이(2000)가 외부 장치(1000)와 원활하게 통신하기 힘든 경우에, 게이트웨이(2000)는 에어컨(1090)과 가까운 곳에 설치된 온도 센서 B(1004)의 센싱 데이터 전송을 일시 정지 시킬 수 있다. 또한, 게이트웨이(2000)는 온도 센서 A(1002), 습도 센서 A(1018), 냉장고(1020), 에어컨(1090) 및 TV(1095)의 센싱 데이터 전송 주기 및 센싱 데이터 제공 방식을 변경할 수 있다.When the device 3000 provides the streaming moving picture to the TV 1095 through the gateway 2000, the resource occupation rate of the gateway 2000 can be increased and the gateway 2000 can smoothly communicate with the external device 1000 In the case where it is difficult to communicate, the gateway 2000 can suspend the transmission of the sensing data of the temperature sensor B 1004 installed close to the air conditioner 1090. The gateway 2000 can change the sensing data transmission period and the sensing data providing method of the temperature sensor A 1002, the humidity sensor A 1018, the refrigerator 1020, the air conditioner 1090 and the TV 1095.

또한, 댁 내의 온도가 기 설정된 임계치보다 높다고 판단되면, 게이트웨이(2000)는 에어컨(1090)이 동작하도록 에어컨(1090)을 제어할 수 있다.
Also, if it is determined that the temperature in the house is higher than the predetermined threshold value, the gateway 2000 may control the air conditioner 1090 so that the air conditioner 1090 operates.

도 19는 일부 실시예에 따른 홈 네트워크 서비스 제공 시스템에서, 게이트웨이(2000)가 게이트웨이(2000)의 리소스 점유율이 높아짐에 따라 외부 장치(1000)를 제어하는 방법의 흐름도이다.19 is a flowchart of a method of controlling the external device 1000 as the gateway 2000 increases the resource occupancy rate of the gateway 2000 in the home network service providing system according to some embodiments.

단계 S1900 내지 S1925에서 온도 센서 A(1002), 온도 센서 B(1004), 습도 센서 A(1018), 냉장고(1020), 에어컨(1090) 및 TV(1095)는 디폴트 규칙에 따라 센싱 데이터를 게이트웨이(2000)에게 전송할 수 있다.In steps S1900 to S1925, the temperature sensor A 1002, the temperature sensor B 1004, the humidity sensor A 1018, the refrigerator 1020, the air conditioner 1090, and the TV 1095 send sensing data to the gateway 2000).

단계 S1900에서 온도 센서 A(1002)는 온도 데이터를 1/sec의 주기로 게이트웨이(2000)에게 전송할 수 있으며, 단계 S1905에서 온도 센서 B(1004)는 온도 데이터를 1/sec의 주기로 게이트웨이(2000)에게 전송할 수 있다. 또한, 단계 S1910에서 습도 센서 A(1018)는 습도 데이터를 1/sec의 주기로 게이트웨이(2000)에게 전송할 수 있으며, 단계 S1920에서 냉장고(1020)는 10분마다 냉장고 상태 정보를 게이트웨이(2000)에게 전송할 수 있다. 또한, 단계 S1920에서 TV(1095)는 TV(1095)의 상태 정보를 게이트웨이(2000)에게 전송할 수 있으며, 단계 S1925에서 에어컨(1090)은 에어컨(1090)의 상태 정보를 게이트웨이(2000)에게 전송할 수 있다. 또한, 게이트웨이(2000)는 수신된 정보를 디바이스(3000) 또는 서버(4000)에게 전송할 수 있으며, 사용자는 디바이스(3000) 또는 서버(4000)를 통하여 댁 내의 상황을 모니터링할 수 있게 된다.In step S1900, the temperature sensor A 1002 can transmit the temperature data to the gateway 2000 at a cycle of 1 / sec. In step S1905, the temperature sensor B 1004 transmits the temperature data to the gateway 2000 Lt; / RTI > In step S1910, the humidity sensor A 1018 may transmit the humidity data to the gateway 2000 at a cycle of 1 / sec. In step S1920, the refrigerator 1020 transmits the refrigerator status information to the gateway 2000 every 10 minutes . In step S1920, the TV 1095 may transmit the status information of the TV 1095 to the gateway 2000. In step S1925, the air conditioner 1090 may transmit the status information of the air conditioner 1090 to the gateway 2000 have. In addition, the gateway 2000 can transmit the received information to the device 3000 or the server 4000, and the user can monitor the home situation through the device 3000 or the server 4000. [

이후, 단계 S1930 및 단계 S1935에서 디바이스(3000)는 게이트웨이(2000)를 통하여 TV(1095)에게 스트리밍 동영상을 전송할 수 있다. 이에 따라, 게이트웨이(2000)의 리소스 점유율이 높아질 수 있다.Then, in steps S1930 and S1935, the device 3000 can transmit the streaming video to the TV 1095 through the gateway 2000. [ Accordingly, the resource occupation rate of the gateway 2000 can be increased.

단계 S1940에서 게이트웨이(2000)는 게이트웨이(2000)의 리소스 점유율이 기 설정된 임계치를 초과하는지를 판단할 수 있다. 게이트웨이(2000)는 게이트웨이의 CPU 점유율 및 메모리 점유율을 모니터링 할 수 있다. 또한, 게이트웨이(2000)는 게이트웨이의 CPU 점유율 및/또는 메모리 점유율이 기 설정된 임계치를 초과하는지를 판단할 수 있다.In step S1940, the gateway 2000 may determine whether the resource occupation rate of the gateway 2000 exceeds a preset threshold value. The gateway 2000 can monitor the gateway's CPU occupancy and memory occupancy. Further, the gateway 2000 can determine whether the CPU occupation rate and / or memory occupancy rate of the gateway exceeds a predetermined threshold value.

단계 S1940에서의 판단 결과, 게이트웨이(2000)의 리소스 점유율이 기 설정된 임계치를 초과하지 않으면, 게이트웨이(2000)는 단계 S1730을 반복하여 수행할 수 있다.As a result of the determination in step S1940, if the resource occupation rate of the gateway 2000 does not exceed the predetermined threshold value, the gateway 2000 can repeat step S1730.

또한, 단계 S1940에서의 판단 결과, 게이트웨이(2000)의 리소스 점유율이 기 설정된 임계치를 초과하면, 게이트웨이(2000)는 단계 S1745를 수행할 수 있다.As a result of the determination in step S1940, if the resource occupancy rate of the gateway 2000 exceeds a predetermined threshold value, the gateway 2000 can perform step S1745.

단계 S1945에서 게이트웨이(2000)는 리소스 점유율에 대응되는 데이터 전송 규칙을 식별할 수 있다. 게이트웨이(2000)는 미리 생성된 데이터 전송 규칙 테이블을 이용하여, 게이트웨이(2000)의 리소스 점유율에 대응되는 데이터 전송 규칙을 식별할 수 있다. 예를 들어, 게이트웨이(2000)는 에어컨(1090)과 가까운 곳에 설치된 온도 센서 B(1004)의 센싱 데이터 전송을 일시 정지 시킬 수 있다. 또한, 게이트웨이(2000)는 온도 센서 A(1002), 습도 센서 A(1018), 냉장고(1020), 에어컨(1090) 및 TV(1095)의 전송 데이터의 전송 데이터 제공 방식을 변경하거나, 전송 데이터의 전송 주기를 변경할 수 있다.In step S1945, the gateway 2000 may identify a data transmission rule corresponding to the resource occupancy rate. The gateway 2000 can identify a data transmission rule corresponding to a resource occupancy rate of the gateway 2000 using a pre-generated data transmission rule table. For example, the gateway 2000 can suspend the sensing data transmission of the temperature sensor B 1004 installed close to the air conditioner 1090. The gateway 2000 changes the transmission data providing method of the transmission data of the temperature sensor A 1002, the humidity sensor A 1018, the refrigerator 1020, the air conditioner 1090 and the TV 1095, The transmission period can be changed.

단계 S1950에서 게이트웨이(2000)는 온도 데이터의 전송 주기를 0.2/sec로 변경할 것을 온도 센서 A(1002)에게 요청하고, 단계 S1955에서 게이트웨이(2000)는 온도 센서 B(1004)의 온도 데이터 전송을 일시 정지할 것을 온도 센서 B(1004)에게 요청할 수 있다. 또한, 단계 S1960에서 게이트웨이(2000)는 습도 데이터의 전송 주기를 0.2/sec로 변경할 것을 습도 센서 A(1018)에게 요청하고, 단계 S1965에서 게이트웨이(2000)는 냉장고(1020)의 문이 5번 열릴 때마다 냉장고(1020)의 상태 정보를 전송할 것을 냉장고(1020)에게 요청할 수 있다.In step S1950, the gateway 2000 requests the temperature sensor A 1002 to change the transmission period of the temperature data to 0.2 / sec. In step S1955, the gateway 2000 transmits the temperature data transmission of the temperature sensor B 1004 to the It is possible to request the temperature sensor B 1004 to stop. In step S1960, the gateway 2000 requests the humidity sensor A 1018 to change the transmission period of the humidity data to 0.2 / sec. In step S1965, the gateway 2000 determines whether the door of the refrigerator 1020 is opened five times The refrigerator 1020 can be requested to transmit the status information of the refrigerator 1020 every time.

또한, 댁 내의 온도가 기 설정된 임계치보다 높으면, 단계 S1970에서 게이트웨이(2000)는 에어컨(1090)의 실행을 에어컨(1090)에게 요청할 수 있다. 게이트웨이(2000)는 에어컨(1090)의 동작을 실행하기 위한 제어 메시지를 에어컨(1090)에게 전송할 수 있다.
Further, if the temperature in the house is higher than the preset threshold value, the gateway 2000 may request the air conditioner 1090 to execute the air conditioner 1090 in step S1970. The gateway 2000 may transmit a control message to the air conditioner 1090 to execute the operation of the air conditioner 1090.

도 20은 일부 실시예에 따른 게이트웨이(2000)의 블록도이다.20 is a block diagram of a gateway 2000 in accordance with some embodiments.

도 20에 도시된 바와 같이, 일부 실시예에 따른 게이트웨이(2000)는 메모리(2100), 통신부(2200) 및 제어부(2300)를 포함할 수 있다. 통신부(2200)는 무선 통신부(2210) 및 유선 통신부(2220)를 포함할 수 있다.As shown in FIG. 20, the gateway 2000 according to some embodiments may include a memory 2100, a communication unit 2200, and a control unit 2300. The communication unit 2200 may include a wireless communication unit 2210 and a wired communication unit 2220.

메모리(2100)는 외부 장치(1000)로부터 수신되는 외부 장치(1000)의 장치 정보, 디바이스(3000) 및/또는 서버(4000)로부터 수신되는 서비스 정보를 저장할 수 있다. 또한, 메모리(2100)는 외부 장치(1000)로부터 수신되는 센싱 데이터를 저장할 수 있다.The memory 2100 may store device information of the external device 1000 received from the external device 1000, and service information received from the device 3000 and / or the server 4000. In addition, the memory 2100 may store sensing data received from the external device 1000.

통신부(2200)는 외부 장치(1000), 디바이스(3000) 및 서버(4000)와 데이터를 송수신할 수 있다. 통신부(2200)는 외부 장치(1000)로부터 장치 정보 및 센싱 데이터를 수신할 수 있다. 통신부(2200)는 디바이스(3000) 및 서버(4000)로부터 서비스 정보를 수신할 수 있다. 통신부(2200)는 외부 장치(1000)에게 센싱 데이터의 전송에 관련된 제어 메시지를 전송할 수 있다. 또한, 통신부(2200)는 디바이스(3000) 및 서버(4000)에게 외부 장치(1000)로부터 수신된 센싱 데이터를 전송할 수 있다. The communication unit 2200 can transmit and receive data to and from the external device 1000, the device 3000, and the server 4000. The communication unit 2200 can receive the device information and the sensing data from the external device 1000. The communication unit 2200 can receive the service information from the device 3000 and the server 4000. [ The communication unit 2200 can transmit a control message related to transmission of sensing data to the external device 1000. [ The communication unit 2200 can transmit the sensing data received from the external device 1000 to the device 3000 and the server 4000. [

제어부(2300)는 게이트웨이(2000)의 전반적인 동작을 제어할 수 있다. 제어부(2300)는, 게이트웨이(2000)가 게이트웨이(2000)의 리소스 점유율에 따라 외부 장치(1000)를 제어할 수 있도록, 메모리(2100) 및 통신부(2200)를 제어할 수 있다.The control unit 2300 can control the overall operation of the gateway 2000. [ The control unit 2300 can control the memory 2100 and the communication unit 2200 so that the gateway 2000 can control the external device 1000 according to the resource occupancy rate of the gateway 2000. [

제어부(2300)는 게이트웨이(2000)에 연결된 외부 장치(1000)를 식별할 수 있다. 외부 장치(1000)가 게이트웨이(2000)에 연결됨에 따라, 제어부(2300)는 외부 장치(1000)로부터 외부 장치(1000)의 장치 정보를 수신할 수 있다. 또한, 제어부(2300)는 외부 장치(1000)로부터 수신된 장치 정보에 기초하여 외부 장치(1000)를 식별할 수 있다. 외부 장치(1000)의 장치 정보는 외부 장치(1000) 및 외부 장치(1000)의 속성을 나타내는 정보로서, 예를 들어, 외부 장치(1000)의 식별 값, 외부 장치(1000)의 종류, 외부 장치(1000)에 의해 생성되는 센싱 데이터의 종류 및 속성, 및 외부 장치(1000)의 센싱 주기에 관한 정보를 포함할 수 있다. The control unit 2300 can identify the external device 1000 connected to the gateway 2000. As the external device 1000 is connected to the gateway 2000, the control unit 2300 can receive the device information of the external device 1000 from the external device 1000. [ In addition, the control unit 2300 can identify the external device 1000 based on the device information received from the external device 1000. [ The device information of the external device 1000 is information indicating the attributes of the external device 1000 and the external device 1000. The device information includes information such as an identification value of the external device 1000, The type and the attribute of the sensing data generated by the sensing device 1000, and the sensing period of the external device 1000.

또한, 제어부(2300)는 외부 장치(1000)의 장치 정보를 메모리(2100)에 저장할 수 있다. 제어부(2300)는 디바이스(3000) 또는 서버(4000)에 의해 제공될 서비스와 연관하여 외부 장치(1000)의 장치 정보를 메모리(2100)에 저장할 수 있다. 이 경우, 제어부(2300)는 디바이스(3000) 또는 서버(4000)로부터 서비스 정보를 수신하고, 수신된 서비스 정보에 기초하여 외부 장치(1000)가 어떤 서비스와 연관되었는지를 식별할 수 있다. 서비스 정보는, 예를 들어, 서비스의 식별 값, 서비스를 위한 외부 장치의 종류 및 개수, 및 서비스를 위한 외부 장치의 우선 순위, 서비스를 위한 센싱 데이터의 종류 및 개수, 및 서비스를 위한 센싱 데이터의 우선 순위 등을 포함할 수 있으나, 이에 제한되지 않는다. Also, the control unit 2300 can store the device information of the external device 1000 in the memory 2100. [ The control unit 2300 may store the device information of the external device 1000 in the memory 2100 in association with the service to be provided by the device 3000 or the server 4000. [ In this case, the control unit 2300 can receive service information from the device 3000 or the server 4000, and can identify which service is associated with the external device 1000 based on the received service information. The service information includes, for example, the identification value of the service, the type and number of external devices for the service, the priority of the external device for the service, the type and number of the sensing data for the service, Priority, and the like.

예를 들어, 제어부(2300)는 외부 장치(1000)의 장치 정보 테이블에, 서비스의 식별 값을 나타내는 필드를 추가하고, 추가된 필드에 외부 장치(1000)에 연관된 서비스의 식별 값을 기록할 수 있다. 그러나, 이에 제한되지 않는다.For example, the control unit 2300 may add a field indicating the identification value of the service to the device information table of the external device 1000, and record the identification value of the service associated with the external device 1000 in the added field have. However, it is not limited thereto.

제어부(2300)는 센싱 데이터의 데이터 전송 규칙을 설정할 수 있다. 데이터 전송 규칙은, 게이트웨이(2000)의 리소스 점유율에 따라 어떤 외부 장치(1000)로부터 센싱 데이터를 어떻게 전송받을 지에 관한 규칙을 나타낼 수 있다. 제어부(2300)는 외부 장치(1000)의 장치 정보, 및 디바이스(3000) 또는 서버(4000)에 의해 제공되는 서비스의 서비스 정보에 기초하여, 미리 설정된 기준에 따라 데이터 전송 규칙을 설정할 수 있다. 또는, 제어부(2300)는 사용자 입력에 기초하여 데이터 전송 규칙을 설정할 수 있다.The control unit 2300 can set the data transmission rule of the sensing data. The data transmission rule may indicate a rule as to how the sensing data is received from an external device 1000 according to the resource occupancy rate of the gateway 2000. The control unit 2300 can set the data transmission rule according to the preset reference based on the device information of the external device 1000 and the service information of the service provided by the device 3000 or the server 4000. [ Alternatively, the control unit 2300 may set a data transmission rule based on a user input.

데이터 전송 규칙은, 게이트웨이(2000)의 리소스 점유율에 따라 구별되게 설정될 수 있으며, 예를 들어, 서비스를 위해 이용될 외부 장치, 일시 정지될 외부 장치, 센싱 데이터의 데이터 가공 방식, 센싱 데이터의 데이터 전송 주기, 및 센싱 데이터의 예약 전송 여부에 관한 규칙을 포함할 수 있다.The data transmission rules can be set to be distinguishable according to the resource occupancy of the gateway 2000. For example, an external device to be used for a service, an external device to be paused, a data processing method of sensing data, A transmission period, and a rule regarding whether to transmit reservation data of the sensing data.

구체적으로, 제어부(2300)는 리소스 점유율에 대응되는 외부 장치(1000)를 결정할 수 있다. 제어부(2300)는 게이트웨이(2000)의 리소스 점유율의 구간 별로, 서비스의 제공을 위하여 필요한 외부 장치(1000)를 결정할 수 있다. 제어부(2300)는 외부 장치의 장치 정보, 및 디바이스(3000) 또는 서버(4000)의 서비스 정보에 기초하여, 게이트웨이(2000)의 리소스 점유율에 대응되는 외부 장치(1000)를 결정할 수 있다. 제어부(2300)는 서비스에 관련없는 외부 장치(1000)를 선택하지 않을 수 있다. 또한, 게이트웨이(2000)는 서비스에 필요한 외부 장치(1000) 중에서 필수적으로 필요한 외부 장치(1000)를 선택하고 필수적이지 않은 외부 장치(1000)를 선택하지 않을 수 있다. Specifically, the control unit 2300 can determine the external device 1000 corresponding to the resource occupancy rate. The control unit 2300 can determine the external device 1000 required for providing the service according to the interval of the resource occupation rate of the gateway 2000. [ The control unit 2300 can determine the external device 1000 corresponding to the resource occupation rate of the gateway 2000 based on the device information of the external device and the service information of the device 3000 or the server 4000. [ The control unit 2300 may not select the external device 1000 not related to the service. In addition, the gateway 2000 may select an external device 1000 that is indispensable among the external devices 1000 required for the service, and may not select an external device 1000 that is not essential.

예를 들어, 화재 경보 서비스에 필요한 외부 장치(1000)가 온도 센서 2개, 가스 감지 센서 3개 및 화재 경보기 1개인 경우에, 제어부(2300)는 게이트웨이의 리소스 점유율 0~70%에 대응되는 외부 장치(1000)로서 온도 센서 A, 온도 센서 B, 가스 감지 센서 A, 가스 감지 센서 B, 가스 감지 센서 C 및 화재 경보기 A를 선택할 수 있다. 또한, 제어부(2300)는 게이트웨이의 리소스 점유율 70~100%에 대응되는 외부 장치(1000)로서 온도 센서 A, 가스 감지 센서 A, 가스 감지 센서 B 및 화재 경보기 A를 선택할 수 있다.For example, when the external device 1000 required for the fire alarm service includes two temperature sensors, three gas sensors, and one fire alarm, the control unit 2300 controls the external As the device 1000, a temperature sensor A, a temperature sensor B, a gas sensor A, a gas sensor B, a gas sensor C and a fire alarm A can be selected. Also, the controller 2300 can select the temperature sensor A, the gas sensor A, the gas sensor B, and the fire alarm A as the external device 1000 corresponding to 70% to 100% of the resource occupancy rate of the gateway.

제어부(2300)는 결정된 외부 장치(1000)로부터 수신될 센싱 데이터의 데이터 제공 방식을 결정할 수 있다. 데이터 제공 방식은, 예를 들어, 센싱 데이터를 취합하여 제공하는 방식, 센싱 데이터를 분리하여 제공하는 방식, 및 센싱 데이터들의 평균 값을 산출하여 제공하는 방식을 포함할 수 있다. 또한, 데이터 제공 방식은, 외부 장치(1000)에서 새로이 생성된 센싱 데이터 중에서 이전에 게이트웨이(2000)에게 전송되었던 센싱 데이터와 비교하여 변경된 데이터만을 전송하는 방식을 포함할 수 있다. 제어부(2300)는 센싱 데이터의 실시간성 및 센싱 데이터의 크기를 고려하여, 센싱 데이터의 데이터 제공 방식을 결정할 수 있다. 제어부(2300)는 외부 장치(1000)가 대용량의 센싱 데이터를 분리할 것을 결정하고, 외부 장치(1000)가 소용량의 센싱 데이터를 취합할 것을 결정할 수 있다. 또한, 제어부(2300)는 센싱 데이터의 속성이 number value인 경우에, 외부 장치(1000)가 센싱 데이터의 평균 값을 전송할 것을 결정할 수 있다.The control unit 2300 can determine the data providing method of the sensing data to be received from the determined external device 1000. [ The data providing method may include, for example, a method of collecting and providing sensing data, a method of separately providing sensing data, and a method of calculating and providing an average value of sensing data. The data providing method may include a method of transmitting only the changed data compared with the sensing data previously transmitted to the gateway 2000 among the newly generated sensing data in the external device 1000. The controller 2300 can determine the data providing method of the sensing data in consideration of the real time characteristics of the sensing data and the size of the sensing data. The control unit 2300 may determine that the external device 1000 should separate the large amount of sensing data and decide that the external device 1000 should collect a small amount of sensing data. Also, when the attribute of the sensing data is a number value, the controller 2300 can determine that the external device 1000 transmits the average value of the sensing data.

예를 들어, 화재 경보 서비스에서, 제어부(2300)는 게이트웨이의 리소스 점유율이 0~70%인 경우에 온도 센서 A, 온도 센서 B, 가스 감지 센서 A, 가스 감지 센서 B, 가스 감지 센서 C 및 화재 경보기 A가 게이트웨이(2000)에게 센싱 데이터를 별도의 가공없이 전송할 것을 결정할 수 있다. 또한, 제어부(2300)는 게이트웨이의 리소스 점유율 70~100%인 경우에, 온도 센서 A는 센싱 데이터의 평균값을 전송할 것을 결정하고, 가스 감지 센서 A는 센싱 데이터를 분리하여 전송할 것을 결정하고, 가스 감지 센서 B는 센싱 데이터를 취합하여 전송할 것을 결정할 수 있다.For example, in the fire alarm service, the control unit 2300 controls the temperature sensor A, the temperature sensor B, the gas sensing sensor A, the gas sensing sensor B, the gas sensing sensor C, and the fire sensor A, when the resource occupancy rate of the gateway is 0 to 70% The alarm A can decide to send the sensing data to the gateway 2000 without any additional processing. The control unit 2300 determines that the temperature sensor A transmits the average value of the sensing data when the resource occupancy rate of the gateway is 70 to 100%, the gas sensing sensor A decides to transmit the sensing data separately, The sensor B can decide to collect and transmit the sensing data.

제어부(2300)는 결정된 외부 장치(1000)로부터 수신될 센싱 데이터의 데이터 전송 주기를 결정할 수 있다. 제어부(2300)는 센싱 데이터의 실시간성, 데이터 크기 및 센싱 데이터의 데이터 제공 방식 등을 고려하여 데이터의 전송 주기를 결정할 수 있다.The control unit 2300 can determine the data transmission period of the sensing data to be received from the determined external device 1000. [ The control unit 2300 can determine the data transmission period in consideration of the real time characteristics of the sensing data, the data size, and the data providing method of the sensing data.

예를 들어, 화재 경보 서비스에서, 제어부(2300)는 게이트웨이의 리소스 점유율이 0~70%인 경우에 온도 센서 A, 온도 센서 B, 가스 감지 센서 A, 가스 감지 센서 B, 가스 감지 센서 C 및 화재 경보기 A가 게이트웨이(2000)에게 센싱 데이터를 디폴트 주기 값에 따라 전송할 것을 결정할 수 있다. 또한, 제어부(2300)는 게이트웨이의 리소스 점유율 70~100%인 경우에, 온도 센서 A는 센싱 데이터의 평균 값을 30분마다 전송할 것을 결정하고, 가스 감지 센서 A는 분리된 센싱 데이터를 2분마다 전송할 것을 결정할 수 있다.For example, in the fire alarm service, the control unit 2300 controls the temperature sensor A, the temperature sensor B, the gas sensing sensor A, the gas sensing sensor B, the gas sensing sensor C, and the fire sensor A, when the resource occupancy rate of the gateway is 0 to 70% The alarm A can decide to send the gateway 2000 the sensing data according to the default period value. In the case where the resource occupancy rate of the gateway is 70 to 100%, the control unit 2300 determines that the temperature sensor A transmits an average value of the sensing data every 30 minutes, and the gas sensing sensor A sends the separated sensing data every 2 minutes It can decide to transmit.

제어부(2300)는 결정된 외부 장치(1000)로부터 수신될 센싱 데이터의 예약 전송 여부를 결정할 수 있다. 제어부(2300)는 센싱 데이터의 실시간성, 데이터 크기 및 센싱 데이터의 데이터 제공 방식 등을 고려하여, 센싱 데이터의 예약 전송 여부를 결정할 수 있다.The control unit 2300 can determine whether or not to transmit the sensing data to be received from the determined external device 1000. The control unit 2300 can determine whether or not to transmit the sensing data in consideration of the real time characteristics of the sensing data, the data size, and the data providing method of the sensing data.

예를 들어, 화재 경보 서비스에서, 제어부(2300)는 게이트웨이의 리소스 점유율 70~100%인 경우에, 가스 감지 센서 B가 취합된 센싱 데이터를 기 설정된 시각에 예약 전송할 것을 결정할 수 있다.For example, in the fire alarm service, the control unit 2300 can determine that the gas sensing sensor B should reserve the collected sensing data at a preset time, when the resource occupancy rate of the gateway is 70 to 100%.

제어부(2300)는 게이트웨이(2000)의 리소스 점유율을 모니터링할 수 있다. 제어부(2300)는 게이트웨이(2000)의 CPU 점유율 및 게이트웨이(2000)의 메모리 점유율을 모니터링할 수 있다. 또한, 제어부(2300)는 리소스 점유율이 기 설정된 임계치를 초과하는지를 판단할 수 있다. 제어부(2300)는 CPU 점유율이 기 설정된 임계치를 초과하는지, 메모리 점유율이 기 설정된 임계치를 초과하는지, CPU 점유율 및 메모리 점유율이 모두 기 설정된 임계치를 초과하는지를 판단할 수 있다. 제어부(2300)는 CPU 점유율 및 메모리 점유율의 평균 값이 기 설정된 임계치를 초과하는지를 판단할 수 있다. 제어부(2300)는 리소스 점유율이 기 설정된 임계치를 초과한 상태로, 기 설정된 시간 이상 동안 유지되는지를 판단할 수 있다.The control unit 2300 may monitor the resource occupancy of the gateway 2000. [ The control unit 2300 can monitor the CPU occupancy rate of the gateway 2000 and the memory occupancy rate of the gateway 2000. [ Also, the control unit 2300 can determine whether the resource occupancy rate exceeds a preset threshold value. The control unit 2300 can determine whether the CPU occupation rate exceeds a predetermined threshold value, whether the memory occupancy rate exceeds a predetermined threshold value, and whether both the CPU occupancy rate and the memory occupancy rate exceed a preset threshold value. The control unit 2300 can determine whether the average value of the CPU occupancy rate and the memory occupancy rate exceeds a predetermined threshold value. The control unit 2300 can determine whether the resource occupancy rate is maintained for a predetermined time or longer in a state where the resource occupancy rate exceeds a predetermined threshold value.

제어부(2300)는 데이터 전송 규칙에 따라, 센싱 데이터의 전송에 관련된 제어 메시지를 외부 장치(1000)에게 전송할 수 있다. 제어부(2300)는 게이트웨이(2000)의 현재 리소스 점유율에 대응되는 데이터 전송 규칙을 식별하고, 식별된 데이터 전송 규칙에 따라 외부 장치(1000)를 제어하기 위하여, 센싱 데이터의 전송에 관련된 제어 메시지를 외부 장치(1000)에게 전송할 수 있다. 외부 장치(1000)에게 전송되는 제어 메시지는, 예를 들어, 외부 장치의 일시 정지 여부, 센싱 데이터의 데이터 제공 방식, 데이터 전송 주기 등의 정보를 포함할 수 있다.The control unit 2300 may transmit the control message related to the transmission of the sensing data to the external device 1000 according to the data transmission rule. The control unit 2300 identifies a data transmission rule corresponding to the current resource occupation rate of the gateway 2000 and transmits a control message related to the transmission of sensing data to the external device 1000 in order to control the external device 1000 according to the identified data transmission rule To the device (1000). The control message transmitted to the external device 1000 may include information such as, for example, whether to suspend the external device, data providing method of sensing data, data transmission period, and the like.

한편, 제어부(2300)는 게이트웨이(2000)의 리소스 점유율이 기 설정된 임계치보다 작은지를 판단할 수 있다. 만약, 리소스 점유율이 기 설정된 임계치보다 작지 않으면, 제어부(2300)는 현재의 데이터 전송 규칙을 변경하지 않고 유지할 수 있다. 만약, 리소스 점유율이 기 설정된 임계치보다 작으면, 제어부(2300)는 디폴트 규칙에 따라 센싱 데이터를 전송할 것을 외부 장치(1000)에게 요청할 수 있다. 제어부(2300)는 외부 장치(1000)가 디폴트 규칙에 따라 센싱 데이터를 전송하도록 하기 위한 제어 메시지를 외부 장치(1000)에게 전송할 수 있다. 디폴트 규칙은, 게이트웨이(2000)가 리소스를 원활하게 사용할 수 있는 경우의 데이터 전송 규칙으로서, 디폴트 값을 갖는 데이터 전송 규칙일 수 있다.
On the other hand, the control unit 2300 can determine whether the resource occupation rate of the gateway 2000 is smaller than a preset threshold value. If the resource occupancy rate is not smaller than the preset threshold value, the control unit 2300 can maintain the current data transmission rule without changing. If the resource occupancy rate is smaller than the preset threshold value, the control unit 2300 can request the external device 1000 to transmit the sensing data according to the default rule. The control unit 2300 may transmit a control message to the external device 1000 to allow the external device 1000 to transmit the sensing data according to the default rule. The default rule is a data transmission rule in the case where the gateway 2000 can smoothly use the resource, and may be a data transmission rule having a default value.

도 21은 일부 실시예에 따른 외부 장치(1000)의 블록도이다.21 is a block diagram of an external apparatus 1000 according to some embodiments.

도 21을 참조하면, 외부 장치(1000)는 센싱부(1100), 통신부(1200) 및 제어부(1300)를 포함할 수 있다. 한편, 본 개시의 일부 실시예에 따르면, 게이트웨이(2000)는 다양한 외부 장치(1000)와 연결될 수 있으며, 외부 장치(1000)는 센싱부(1100), 통신부(1200) 및 제어부(1300) 외에 추가적인 구성을 포함할 수 있다.Referring to FIG. 21, the external device 1000 may include a sensing unit 1100, a communication unit 1200, and a control unit 1300. The gateway 2000 may be connected to various external devices 1000 and the external device 1000 may be connected to the sensing unit 1100, the communication unit 1200 and the control unit 1300 in addition to the sensing unit 1100, Configuration.

센싱부(1100)는 센싱 데이터를 생성할 수 있다. 센싱부(1100)는, 예를 들어, 온도 센서, 습도 센서, 음향 센서, 모션 센서, 근접 센서, 가스 감지 센서, 열 감지 센서를 이용하여, 소정의 센싱 데이터를 생성할 수 있다. 또한, 센싱부(1100)는 후술할 제어부(1300)에 의해 제어됨으로써, 기설정된 주기로 센싱 데이터를 생성할 수 있다.The sensing unit 1100 can generate sensing data. The sensing unit 1100 can generate predetermined sensing data by using a temperature sensor, a humidity sensor, an acoustic sensor, a motion sensor, a proximity sensor, a gas sensing sensor, and a heat sensing sensor, for example. In addition, the sensing unit 1100 can generate sensing data at a predetermined cycle by being controlled by a control unit 1300, which will be described later.

통신부(1200)는 센싱 데이터의 전송에 관련된 정보를 게이트웨이(2000)로부터 수신하며, 게이트웨이(2000)에게 센싱 데이터를 전송할 수 있다.The communication unit 1200 receives information related to the transmission of the sensing data from the gateway 2000 and can transmit the sensing data to the gateway 2000. [

제어부(1300)는 게이트웨이(2000)에게 외부 장치(1000)의 장치 정보를 제공할 수 있다. 제어부(1300)는 통신부(1200)를 이용하여 게이트웨이(2000)와의 통신을 형성하며, 외부 장치(1000)를 게이트웨이(2000)에 등록하기 위하여 외부 장치(1000)의 장치 정보를 게이트웨이(2000)에게 전송할 수 있다. 장치 정보는, 예를 들어, 외부 장치(1000)의 식별 값, 외부 장치(1000)의 종류, 센싱 데이터의 종류, 센싱 데이터의 속성 및 센싱 주기에 관한 정보를 포함할 수 있다.The control unit 1300 can provide the gateway 2000 with the device information of the external device 1000. [ The control unit 1300 establishes communication with the gateway 2000 using the communication unit 1200 and transmits the device information of the external device 1000 to the gateway 2000 in order to register the external device 1000 in the gateway 2000 Lt; / RTI > The device information may include, for example, an identification value of the external device 1000, a type of the external device 1000, a kind of sensing data, an attribute of the sensing data, and information about a sensing period.

먼저, 제어부(1300)는 디폴트 규칙에 따라 게이트웨이(2000)에게 센싱 데이터를 제공할 수 있다. 예를 들어, 제어부(1300)는 센싱 데이터를 별도의 가공없이 게이트웨이(2000)에게 전송할 수 있다. 이 경우, 제어부(1300)로부터 제공되는 센싱 데이터의 전송 주기는 디폴트 값을 가질 수 있다.First, the control unit 1300 may provide sensing data to the gateway 2000 according to a default rule. For example, the control unit 1300 may transmit the sensing data to the gateway 2000 without any additional processing. In this case, the transmission period of the sensing data provided from the control unit 1300 may have a default value.

이후, 게이트웨이(2000)의 리소스 점유율이 기설정된 임계치를 초과하면, 제어부(1300)는 리소스 점유율에 대응되는 데이터 전송 규칙에 관한 정보를 게이트웨이(2000)로부터 수신할 수 있다. 데이터 전송 규칙은, 게이트웨이의 리소스 점유율에 따라 게이트웨이가 어떤 외부 장치로부터 센싱 데이터를 어떻게 전송받을 지에 관한 규칙일 수 있다. 데이터 전송 규칙은, 예를 들어, 서비스를 위해 이용될 외부 장치, 일시 정지될 외부 장치, 센싱 데이터의 데이터 제공 방식, 센싱 데이터의 데이터 전송 주기, 데이터 전송량, 및 센싱 데이터의 예약 전송 여부에 관한 규칙을 포함할 수 있다.Thereafter, when the resource occupancy rate of the gateway 2000 exceeds a predetermined threshold, the controller 1300 can receive information on the data transmission rule corresponding to the resource occupancy rate from the gateway 2000. [ The data transmission rule may be a rule as to how the gateway receives the sensing data from an external device according to the resource occupancy rate of the gateway. The data transfer rule is, for example, an external device to be used for a service, an external device to be paused, a data providing method of the sensing data, a data transfer cycle of the sensing data, a data transfer amount, . ≪ / RTI >

또한, 제어부(1300)는, 수신된 데이터 전송 규칙에 따라, 게이트웨이(2000)에게 센싱 데이터를 제공할 수 있다. 예를 들어, 제어부(1300)는 센싱 데이터의 평균 값을 기 설정된 시각에 게이트웨이(2000)에게 예약 전송할 수 있다. 또한, 예를 들어, 제어부(1300)는, 센싱 데이터를 게이트웨이(2000)에게 분리 전송하고 전송 주기를 변경할 수 있다. 또한, 예를 들어, 제어부(1300)는 센싱 데이터를 취합하여 게이트웨이(2000)에게 전송할 수 있다. 또한, 예를 들어, 제어부(1300)는 센싱 데이터의 전송을 일시 정지할 수 있다.In addition, the control unit 1300 may provide sensing data to the gateway 2000 according to the received data transmission rule. For example, the control unit 1300 can transmit the average value of the sensing data to the gateway 2000 at a preset time. Also, for example, the control unit 1300 can separately transmit the sensing data to the gateway 2000 and change the transmission period. Further, for example, the control unit 1300 may collect the sensing data and transmit it to the gateway 2000. Also, for example, the control unit 1300 can suspend the transmission of the sensing data.

이후, 게이트웨이(2000)의 리소스 점유율이 기설정된 임계치 이후로 떨어지면, 제어부(1300)는 디폴트 규칙에 따라 센싱 데이터를 게이트웨이(2000)에게 제공할 수 있다.
Thereafter, when the resource occupation rate of the gateway 2000 falls below a preset threshold value, the controller 1300 can provide the sensing data to the gateway 2000 according to the default rule.

게이트웨이(2000)는 적어도 하나의 외부 장치(1000)를 제어할 수 있으며, 상기 외부 장치(1000)로부터 센싱 데이터를 수신하는 통신부 및 수신된 상기 센싱 데이터를 처리하는데 사용되는 상기 게이트웨이의 리소스 점유율, 상기 외부 장치의 상태 정보 및 상기 외부 장치의 개수 중 적어도 하나에 기초하여 상기 센싱 데이터의 처리 주기를 결정하는 제어부;를 포함할 수 있다.
The gateway 2000 can control at least one external device 1000 and includes a communication unit for receiving sensing data from the external device 1000 and a resource occupancy rate of the gateway used for processing the received sensing data, And a controller for determining a processing period of the sensing data based on at least one of status information of the external apparatus and the number of the external apparatuses.

도 22는 일부 실시예에 따른 복수의 외부 장치(1000)로부터 센싱 데이터를 수신한 게이트웨이(2000)가 리소스 점유율이 변경됨에 따라, 복수의 외부 장치(1000)로부터 수신된 센싱 데이터의 처리 주기를 변경하는 방법의 흐름도이다.22 is a flowchart illustrating a process of changing the processing cycle of sensing data received from a plurality of external devices 1000 as the gateway 2000 receiving the sensing data from a plurality of external devices 1000 according to some embodiments changes the resource occupancy rate And the like.

도 22를 참조하면, 외부 장치(1000)는 게이트웨이(2000)에게 센싱한 데이터를 전송할 수 있다. 게이트웨이(2000)는 외부 장치(1000)로부터 센싱 데이터를 수신 할 수 있다(단계 S2201). 게이트웨이(2000)는 게이트웨이(2000)의 리소스 점유율이 임계치 보다 작은지를 판단하고(단계 S2203), 게이트웨이(2000)의 리소스 점유율이 임계치 보다 작은 경우에는 수신된 센싱 데이터를 제 1 주기로 처리하고(단계 S2205), 리소스 점유율이 임계치 보다 큰 경우에는 수신된 센싱 데이터를 제 2 주기로 처리할 수 있다(단계 S2207). 즉, 게이트웨이(2000)는 게이트웨이(2000)의 리소스 점유율에 기초하여 수신된 센싱 데이터의 처리 주기를 변경할 수 있다.Referring to FIG. 22, the external device 1000 can transmit data sensed to the gateway 2000. The gateway 2000 can receive the sensing data from the external device 1000 (step S2201). The gateway 2000 determines whether the resource occupancy rate of the gateway 2000 is smaller than the threshold value (step S2203). If the resource occupancy rate of the gateway 2000 is smaller than the threshold value, the gateway 2000 processes the received sensing data as the first period (step S2205 ), And if the resource occupancy rate is larger than the threshold value, the received sensing data may be processed in the second period (step S2207). That is, the gateway 2000 can change the processing period of the received sensing data based on the resource occupancy rate of the gateway 2000. [

예를 들면 게이트웨이(2000)에 외부 장치(1000)인 온도 센서가 연결되고 온도 센서는 게이트웨이(2000)에게 1초 주기로 센싱한 온도 데이터를 전송한다. 게이트웨이(2000)는 게이트웨이(2000)의 리소스 점유율이 임계치인 70% 이하에서는 수신한 온도 데이터를 정상적으로 1초 주기로 처리할 수 있다. 리소스 점유율이 임계치 보다 높은 90% 인 경우, 게이트웨이(2000)는 수신한 온도 데이터의 처리 주기를 변경하여 2초 주기로 처리할 수 있다. For example, a temperature sensor, which is an external device 1000, is connected to the gateway 2000, and a temperature sensor transmits temperature data sensed by the gateway 2000 every one second. The gateway 2000 can normally process the received temperature data at a cycle of 1 second when the resource occupancy rate of the gateway 2000 is equal to or lower than the threshold value of 70%. If the resource occupancy rate is higher than the threshold value by 90%, the gateway 2000 can process the received temperature data in a cycle of 2 seconds by changing the processing cycle of the received temperature data.

게이트웨이(2000)는 게이트웨이(2000)의 리소스 점유율이 임계치 보다 높은 경우, 온도 센서에게 데이터 전송 주기를 변경할 것을 요청 할 수 있다. 예를 들면 게이트웨이(2000)의 리소스 점유율이 임계치인 70% 이하인 경우에, 게이트웨이(2000)는 온도 센서가 1초마다 한번 씩 게이트웨이(2000)에게 센싱한 온도 데이터를 보낼 것을 온도 센서에게 요청할 수 있다. 또한, 예를 들어, 게이트웨이(2000)의 리소스 점유율이 임계치 보다 높은 90% 인 경우, 게이트웨이(2000)는 온도센서가 센싱한 데이터를 게이트웨이(2000)에게 2초마다 한번 씩 보내도록 요청할 수 있다.The gateway 2000 may request the temperature sensor to change the data transmission period if the resource occupancy of the gateway 2000 is higher than the threshold. For example, when the resource occupation rate of the gateway 2000 is equal to or less than the threshold value of 70%, the gateway 2000 may request the temperature sensor to send the temperature data sensed by the gateway 2000 to the gateway 2000 once per one second . Also, for example, if the resource occupancy rate of the gateway 2000 is higher than the threshold value of 90%, the gateway 2000 can request the gateway 2000 to send the sensed data to the gateway 2000 once every 2 seconds.

또한 게이트웨이(2000)는 리소스 점유율이 임계치 보다 높은 경우, 온도 센서로부터 센싱한 데이터를 1초에 한번씩 수신하기만 하고, 수신된 센싱 데이터를 처리하지 않을 수 있다.Also, when the resource occupancy rate is higher than the threshold value, the gateway 2000 may only receive the sensed data from the temperature sensor once per second, and may not process the received sensed data.

또한 게이트웨이(2000)는 게이트웨이(2000)의 리소스 점유율에 기초하여 외부 장치(2000)로부터 수신하는 센싱 데이터의 수신 주기를 결정할 수 있다. 게이트웨이(2000)는 리소스 점유율이 임계치보다 낮은 경우에는 외부 장치(2000)로부터 제 1 주기로 센싱 데이터를 수신하고, 리소스 점유율이 임계치보다 높은 경우에는 외부 장치(2000)로부터 제 2 주기로 센싱 데이터를 수신할 수 있다.예를 들면 게이트웨이(2000)는 게이트웨이(2000)의 리소스 점유율이 임계치인 70% 이하에서는 외부 장치(1000)로부터 1초 주기로 센싱 데이터를 수신하고, 리소스 점유율이 임계치 보다 높은 90% 인 경우, 2초 주기로 센싱 데이터를 수신할 수 있다.
The gateway 2000 can determine the reception period of the sensing data received from the external device 2000 based on the resource occupancy rate of the gateway 2000. [ The gateway 2000 receives the sensing data in the first cycle from the external device 2000 when the resource occupancy rate is lower than the threshold value and receives the sensing data in the second cycle from the external device 2000 when the resource occupancy rate is higher than the threshold value For example, the gateway 2000 receives sensing data from the external device 1000 at a cycle of 1 second when the resource occupation rate of the gateway 2000 is 70% or less, which is the threshold value, and when the resource occupancy rate is 90% , It is possible to receive the sensing data at a cycle of 2 seconds.

도 23은 일부 실시예에 따른 복수의 외부 장치(1000)로부터 센싱 데이터를 수신한 게이트웨이(2000)가 유지 보수중인 경우, 복수의 외부 장치(1000)로부터 수신된 센싱 데이터 처리 주기를 변경하는 방법의 흐름도이다.23 is a diagram illustrating a method of changing the sensing data processing cycle received from a plurality of external devices 1000 when the gateway 2000 receiving the sensing data from a plurality of external devices 1000 according to some embodiments is in maintenance FIG.

게이트웨이(2000)가 유지 보수중인 경우는, 게이트웨이(2000)가 게이트웨이(2000)의 동작과 관련된 소프트웨어를 변경 또는 갱신하는 경우를 포함할 수 있다. 예를 들어, 게이트웨이(2000)가 유지 보수중인 경우는, 게이트웨이(2000)의 드라이버 소프트웨어를 업데이트하는 경우, 게이트웨이(2000)에 설치된 어플리케이션 소프트웨어를 업데이트하는 경우 및 게이트웨이(2000)에 설치된 오퍼레이팅 시스템을 업데이트하는 경우를 포함할 수 있으나, 이에 한정되지 않는다.When the gateway 2000 is under maintenance, the gateway 2000 may include a case where the gateway 2000 changes or updates software associated with the operation of the gateway 2000. For example, when the gateway 2000 is under maintenance, when updating the driver software of the gateway 2000, when updating the application software installed in the gateway 2000, and when updating the operating system installed in the gateway 2000 But the present invention is not limited thereto.

도 23을 참조하면, 외부 장치(1000)는 게이트웨이(2000)에게 센싱한 데이터를 전송할 수 있다. 게이트웨이(2000)는 외부 장치(1000)로부터 센싱 데이터를 수신 할 수 있다(단계 S2301). 게이트웨이(2000)는 유지보수중 인지를 판단하고(단계 S2303), 게이트웨이(2000)가 유지보수중인 경우에는 수신된 센싱 데이터를 제 1 주기로 처리하고(단계 S2305), 게이트웨이(2000)가 유지보수중이 아닌 경우에는 수신된 센싱 데이터를 제 2 주기로 처리할 수 있다(단계 S2307). 즉, 게이트웨이(2000)는 게이트웨이(2000)의 유지보수중 여부에 기초하여 수신된 센싱 데이터의 처리 주기를 변경할 수 있다.Referring to FIG. 23, the external device 1000 can transmit data sensed to the gateway 2000. The gateway 2000 can receive the sensing data from the external device 1000 (step S2301). The gateway 2000 determines whether maintenance is in progress (step S2303). If the gateway 2000 is under maintenance, the gateway 2000 processes the received sensing data in a first cycle (step S2305) The received sensing data can be processed in the second period (step S2307). That is, the gateway 2000 can change the processing period of the received sensing data based on whether the gateway 2000 is in maintenance or not.

예를 들면 게이트웨이(2000)에 외부 장치(1000)인 온도 센서가 연결되고 온도 센서는 게이트웨이(2000)에게 1초 주기로 센싱한 온도 데이터를 전송한다. 게이트웨이(2000)는 소프트웨어 업데이트를 하고 있지 않는 경우에는 수신한 온도 데이터를 정상적으로 1초 주기로 처리할 수 있다. 게이트웨이(2000)는 소프트웨어 업데이트중인 경우에는 수신한 온도 데이터의 처리 주기를 변경하여 2초 주기로 온도 데이터를 처리할 수 있다. For example, a temperature sensor, which is an external device 1000, is connected to the gateway 2000, and a temperature sensor transmits temperature data sensed by the gateway 2000 every one second. When the gateway 2000 does not update the software, it can process the received temperature data normally at a cycle of 1 second. When the gateway 2000 is updating the software, the gateway 2000 can process the temperature data every 2 seconds by changing the processing period of the received temperature data.

게이트웨이(2000)는 소프트웨어 업데이트중인 경우, 온도 센서에게 데이터 전송 주기를 변경할 것을 요청 할 수 있다. 예를 들면 게이트웨이(2000)가 소프트웨어 업데이트를 하고 있지 않는 동안에는, 게이트웨이(2000)는 온도 센서가 1초마다 한번 씩 게이트웨이(2000)로 센싱한 온도 데이터를 보내도록 할 수 있다. 게이트웨이(2000)가 소프트웨어 업데이트 중인 경우에는 게이트웨이(2000)는 온도센서에게 센싱한 데이터를 2초마다 한번 씩 보내도록 요청할 수 있다.The gateway 2000 may request the temperature sensor to change the data transmission period when software is being updated. For example, while the gateway 2000 is not performing a software update, the gateway 2000 may cause the temperature sensor to send temperature data sensed by the gateway 2000 once per second. When the gateway 2000 is under software update, the gateway 2000 may request the temperature sensor to send the sensed data once every 2 seconds.

또한 게이트웨이(2000)는 소프트웨어 업데이트 중인 경우, 온도 센서로부터 센싱한 데이터를 1초에 한번씩 수신하기만 하고, 수신된 센싱 데이터를 처리하지 않을 수 있다.
Further, when the gateway 2000 is in the process of updating the software, the gateway 2000 may only receive the sensed data from the temperature sensor once per second, and may not process the received sensed data.

도 24는 일부 실시예에 따른 복수의 외부 장치(1000)로부터 센싱 데이터를 수신한 게이트웨이(2000)가 외부 장치(1000)의 개수에 따라 복수의 외부 장치(1000)로부터 수신된 센싱 데이터 처리 주기를 변경하는 방법의 흐름도이다.FIG. 24 is a diagram illustrating a sensing data processing cycle received from a plurality of external apparatuses 1000 according to the number of external apparatuses 1000 by a gateway 2000 receiving sensing data from a plurality of external apparatuses 1000 according to some embodiments Fig.

도 24를 참조하면, 외부 장치(1000)는 게이트웨이(2000)에게 센싱한 데이터를 전송할 수 있다. 게이트웨이(2000)는 외부 장치(1000)로부터 센싱 데이터를 수신 할 수 있다(단계 S2401). 게이트웨이(2000)는 외부 장치(1000)의 개수가 설정 값 보다 작은지를 판단하고(단계 S2403), 외부 장치(1000)의 개수가 설정 값 보다 작은 경우에는 수신된 센싱 데이터를 제 1 주기로 처리하고(단계 S2405), 외부 장치(1000)의 개수가 설정 값 보다 큰 경우에는 수신된 센싱 데이터를 제 2 주기로 처리할 수 있다(단계 S2407). 즉, 게이트웨이(2000)는 외부 장치(1000)의 개수에 기초하여 수신된 센싱 데이터의 처리 주기를 변경할 수 있다.Referring to FIG. 24, the external device 1000 can transmit data sensed to the gateway 2000. The gateway 2000 can receive the sensing data from the external device 1000 (step S2401). The gateway 2000 determines whether the number of the external devices 1000 is smaller than the set value (step S2403). If the number of the external devices 1000 is smaller than the set value, the gateway 2000 processes the received sensing data in the first cycle If the number of the external devices 1000 is larger than the set value, the received sensing data may be processed in the second period (step S2407). That is, the gateway 2000 can change the processing cycle of the received sensing data based on the number of the external devices 1000. [

예를 들면 설정값이 10 인 경우, 게이트웨이(2000)에 외부 장치(1000)가 10개 이하로 연결된 경우에는 게이트웨이(2000)는 외부 장치(1000)로부터 수신한 센싱 데이터를 1초 주기로 처리할 수 있다. 게이트웨이(2000)에 외부 장치(1000)가 15개 연결된 경우에는 게이트웨이(2000)는 외부 장치(1000)로부터 수신한 센싱 데이터를 2초 주기로 처리할 수 있다. For example, when the set value is 10, when the number of the external devices 1000 is less than 10 in the gateway 2000, the gateway 2000 can process the sensing data received from the external device 1000 every 1 second have. When 15 external devices 1000 are connected to the gateway 2000, the gateway 2000 can process the sensing data received from the external device 1000 every 2 seconds.

또한 게이트웨이(2000)는 외부 장치(1000)가 설정 값 보다 많이 연결된 경우, 외부 장치(1000)에게 데이터 전송 주기를 변경할 것을 요청 할 수 있다. 예를 들면 게이트웨이(2000)에 외부 장치(1000)가 설정 값 보다 작은 7개가 연결된 경우, 게이트웨이(2000)는 외부 장치(1000)가 센싱 데이터를 1초마다 한번 씩 게이트웨이(2000)로 보내도록 할 수 있다. 게이트웨이(2000)에 외부 장치(1000)가 설정 값 보다 큰 15개가 연결된 경우에는 게이트웨이(2000)는 온도센서에게 센싱한 데이터를 2초마다 한번 씩 보내도록 요청할 수 있다.In addition, the gateway 2000 may request the external device 1000 to change the data transmission period when the external device 1000 is connected with more than the set value. For example, when seven external devices 1000 are connected to the gateway 2000, the gateway 2000 controls the external device 1000 to send the sensing data to the gateway 2000 once per second . When the external device 1000 is connected to the gateway 2000, which is larger than the set value, the gateway 2000 may request the temperature sensor to send the sensed data once every 2 seconds.

또한 게이트웨이(2000)에 외부 장치(1000)가 설정 값 보다 큰 15개가 연결된 경우, 센싱한 데이터를 1초에 한번씩 수신만 하고, 수신된 센싱 데이터를 처리하지 않을 수 있다.When the external device 1000 is connected to the gateway 2000, which is larger than the set value, 15, the sensed data may be received only once per second, and the received sensing data may not be processed.

또한 게이트웨이(2000)는 외부 장치(1000)의 개수에 기초하여 외부 장치(1000)로부터 수신하는 센싱 데이터의 수신 주기를 결정할 수 있다. 게이트웨이(2000)는 외부 장치(1000)가 7개 연결된 경우에는 외부 장치(1000)로부터 제 1 주기로 센싱 데이터를 수신하고, 외부 장치(1000)가 15개 연결된 경우에는 외부 장치(1000)로부터 제 2 주기로 센싱 데이터를 수신할 수 있다. 예를 들면 게이트웨이(2000)는 게이트웨이(2000)에 연결된 외부 장치(1000)가 7개인 경우 외부 장치(1000)로부터 1초 주기로 센싱 데이터를 수신하고, 게이트웨이(2000)에 연결된 외부 장치(1000)가 15개 인 경우에는 2초 주기로 센싱 데이터를 수신할 수 있다.
The gateway 2000 can determine the reception period of the sensing data received from the external device 1000 based on the number of the external devices 1000. The gateway 2000 receives the sensing data in the first cycle from the external device 1000 when seven external devices 1000 are connected and the second external device 1000 receives the sensing data from the external device 1000 when fifteen external devices 1000 are connected. It is possible to receive the sensing data in a cycle. For example, the gateway 2000 receives sensing data from the external device 1000 every one second when the external device 1000 connected to the gateway 2000 has seven, and the external device 1000 connected to the gateway 2000 15, the sensing data can be received every two seconds.

도 25는 일부 실시예에 따른 복수의 외부 장치(1000)로부터 센싱 데이터를 수신한 게이트웨이(2000)가 외부 장치(1000)의 상태, 예컨대, 배터리 잔량에 따라 복수의 외부 장치(1000)로부터 수신된 센싱 데이터 처리 주기를 변경하는 방법의 흐름도이다.25 is a block diagram illustrating a configuration of a gateway 2000 that receives sensing data from a plurality of external devices 1000 according to some embodiments and receives the sensing data from a plurality of external devices 1000 according to the state of the external device 1000, And a method of changing the sensing data processing cycle.

도 25를 참조하면, 외부 장치(1000)는 게이트웨이(2000)에게 센싱한 데이터를 전송할 수 있다. 게이트웨이(2000)는 외부 장치(1000)로부터 센싱 데이터를 수신 할 수 있다(단계 S2501). 게이트웨이(2000)는 외부 장치(1000)의 배터리 잔량이 임계치 보다 큰지를 판단하고(단계 S2503), 외부 장치(1000)의 배터리 잔량이 임계치 보다 큰 경우에는 수신된 센싱 데이터를 제 1 주기로 처리하고(단계 S2505), 외부 장치(1000)의 배터리 잔량이 임계치 보다 작은 경우에는 수신된 센싱 데이터를 제 2 주기로 처리할 수 있다(단계 S2507). 즉, 게이트웨이(2000)는 외부 장치(1000)의 상태, 예컨대 외부 장치(1000)의 배터리 잔량에 기초하여, 수신된 센싱 데이터의 처리 주기를 변경할 수 있다. 이 경우, 게이트웨이(2000)는 외부 장치(1000)의 배터리 잔량에 관한 정보를 외부 장치(100)로부터 수신할 수 있다. 예를 들어, 특정 이벤트가 발생되거나 기 설정된 주기로, 게이트웨이(2000)는 외부 장치(1000)의 배터리 잔량에 관한 정보를 외부 장치(100)로부터 수신할 수 있다. 게이트웨이(2000)는 외부 장치(1000)로부터 센싱 데이터를 수신하면서, 외부 장치(1000)의 상태 정보(예를 들어, 배터리 잔량을 나타내는 정보, 리소스 점유율을 나타내는 정보 및 네트워크 상태를 나타내는 정보 등)를 수신할 수 있다.Referring to FIG. 25, the external device 1000 may transmit sensed data to the gateway 2000. The gateway 2000 can receive the sensing data from the external device 1000 (step S2501). The gateway 2000 determines whether the battery remaining amount of the external device 1000 is greater than the threshold value (step S2503). If the battery remaining amount of the external device 1000 is larger than the threshold value, the gateway 2000 processes the received sensing data in the first period If the battery remaining amount of the external device 1000 is smaller than the threshold value, the received sensing data may be processed in the second cycle (step S2507). That is, the gateway 2000 can change the processing cycle of the received sensing data based on the state of the external device 1000, for example, the battery remaining amount of the external device 1000. [ In this case, the gateway 2000 can receive from the external device 100 information on the remaining battery power of the external device 1000. [ For example, the gateway 2000 can receive information regarding the battery remaining amount of the external device 1000 from the external device 100 at a predetermined period or when a specific event occurs. The gateway 2000 receives status information of the external device 1000 (for example, information indicating the remaining battery level, information indicating the resource occupancy rate, information indicating the network status, and the like) while receiving the sensing data from the external device 1000 .

외부 장치(1000)의 배터리 잔량이 임계치 보다 큰 경우 외부 장치(1000)는 제 1 주기로 센싱 데이터를 게이트웨이(2000)로 전송하고, 게이트웨이(2000)는 수신한 센싱 데이터를 제 1 주기로 처리할 수 있다. 외부 장치(1000)의 배터리 잔량이 임계치 보다 작은 경우 외부 장치(1000)는 제 2 주기로 센싱 데이터를 게이트웨이(2000)로 전송하고. 게이트웨이(2000)는 수신한 센싱 데이터를 제 2 주기로 처리할 수 있다.When the battery remaining amount of the external device 1000 is greater than the threshold value, the external device 1000 transmits the sensing data to the gateway 2000 in the first cycle, and the gateway 2000 processes the received sensing data in the first cycle . When the battery remaining amount of the external device 1000 is smaller than the threshold value, the external device 1000 transmits the sensing data to the gateway 2000 in the second cycle. The gateway 2000 may process the received sensing data in a second period.

예를 들면 외부 장치(1000)의 배터리 잔량이 80%인 경우, 외부 장치(1000)는 센싱 데이터를 게이트웨이(2000)로 1초 주기로 전송 하고, 게이트웨이(2000)는 외부 장치(1000)로부터 수신한 센싱 데이터를 1초 주기로 처리할 수 있다. 외부 장치(1000)의 배터리 잔량이 20%인 경우 외부 장치(1000)는 센싱 데이터를 게이트웨이(2000)로 2초 주기로 전송하고, 게이트웨이(2000)는 외부 장치(1000)로부터 수신한 센싱 데이터를 2초 주기로 처리할 수 있다. For example, when the remaining battery level of the external device 1000 is 80%, the external device 1000 transmits sensing data to the gateway 2000 at a cycle of 1 second, and the gateway 2000 receives the sensing data from the external device 1000 The sensing data can be processed in a cycle of 1 second. When the battery remaining amount of the external device 1000 is 20%, the external device 1000 transmits the sensing data to the gateway 2000 at a cycle of 2 seconds, and the gateway 2000 transfers the sensing data received from the external device 1000 to 2 It can be processed in seconds.

또한 게이트웨이(2000)는 외부 장치(1000)의 배터리 잔량이 임계치 보다 작은 경우, 외부 장치(1000)에게 데이터 전송 주기를 변경할 것을 요청 할 수 있다. 예를 들면 임계치가 30% 일때, 외부 장치(1000)의 배터리 잔량이 임계치 보다 큰 80%인 경우, 외부 장치(1000)는 센싱 데이터를 1초마다 한번 씩 게이트웨이(2000)로 보낼 수 있다. 외부 장치(1000)의 배터리 잔량이 임계치 보다 작은 20%인 경우, 게이트웨이(2000)는 외부 장치(1000)에게 센싱한 데이터를 2초마다 한번 씩 보내도록 요청할 수 있다.In addition, the gateway 2000 may request the external device 1000 to change the data transmission period when the battery remaining amount of the external device 1000 is smaller than the threshold value. For example, when the threshold value is 30%, when the battery remaining amount of the external device 1000 is 80% larger than the threshold value, the external device 1000 can send the sensing data to the gateway 2000 once per one second. If the battery remaining amount of the external device 1000 is 20% smaller than the threshold value, the gateway 2000 may request the external device 1000 to send the sensed data once every 2 seconds.

또한 외부 장치(1000)의 배터리 잔량이 임계치인 30% 보다 작은 20%인 경우, 외부 장치(1000)로부터 센싱한 데이터를 1초에 한번씩 수신은 하지만, 수신된 센싱 데이터를 처리하지 않을 수 있다.Also, if the battery remaining amount of the external device 1000 is 20%, which is less than the threshold value of 30%, the sensing data is received once per second from the external device 1000, but the received sensing data may not be processed.

또한 게이트웨이(2000)는 외부 장치의 배터리 잔량에 기초하여 외부 장치(1000)로부터 수신하는 센싱 데이터의 수신 주기를 결정할 수 있다. 외부 장치의 배터리 잔량이 임계치 보다 큰 경우에는 외부 장치(1000)로부터 제 1 주기로 센싱 데이터를 수신하고, 외부 장치(1000)의 배터리 잔량이 임계치 보다 작은 경우에는 외부 장치(1000)로부터 제 2 주기로 센싱 데이터를 수신한다. 예를 들면 임계치가 30%인 경우, 게이트웨이(2000)는 외부 장치의 배터리 잔량이 80%인 경우, 외부 장치(1000)로부터 1초 주기로 센싱 데이터를 수신하고, 외부 장치의 배터리 잔량이 20% 인 경우, 게이트웨이(2000)는 외부 장치(1000)로부터 2초 주기로 센싱 데이터를 수신할 수 있다.Also, the gateway 2000 can determine the reception period of the sensing data received from the external device 1000 based on the battery remaining amount of the external device. When the battery remaining amount of the external device 1000 is greater than the threshold value, sensing data is received from the external device 1000 in the first cycle, and when the battery remaining amount of the external device 1000 is less than the threshold value, And receives data. For example, when the threshold value is 30%, the gateway 2000 receives the sensing data from the external device 1000 at a cycle of 1 second when the battery remaining amount of the external device is 80%, and when the battery remaining amount of the external device is 20% The gateway 2000 can receive the sensing data from the external device 1000 every two seconds.

일부 실시예는 컴퓨터에 의해 실행되는 프로그램 모듈과 같은 컴퓨터에 의해 실행가능한 명령어를 포함하는 기록 매체의 형태로도 구현될 수 있다. 컴퓨터 판독 가능 매체는 컴퓨터에 의해 액세스될 수 있는 임의의 가용 매체일 수 있고, 휘발성 및 비휘발성 매체, 분리형 및 비분리형 매체를 모두 포함한다. 또한, 컴퓨터 판독가능 매체는 컴퓨터 저장 매체 및 통신 매체를 모두 포함할 수 있다. 컴퓨터 저장 매체는 컴퓨터 판독가능 명령어, 데이터 구조, 프로그램 모듈 또는 기타 데이터와 같은 정보의 저장을 위한 임의의 방법 또는 기술로 구현된 휘발성 및 비휘발성, 분리형 및 비분리형 매체를 모두 포함한다. 통신 매체는 전형적으로 컴퓨터 판독가능 명령어, 데이터 구조, 프로그램 모듈, 또는 반송파와 같은 변조된 데이터 신호의 기타 데이터, 또는 기타 전송 메커니즘을 포함하며, 임의의 정보 전달 매체를 포함한다. Some embodiments may also be implemented in the form of a recording medium including instructions executable by a computer, such as program modules, being executed by a computer. Computer readable media can be any available media that can be accessed by a computer and includes both volatile and nonvolatile media, removable and non-removable media. In addition, the computer-readable medium can include both computer storage media and communication media. Computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Communication media typically includes any information delivery media, including computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave, or other transport mechanism.

또한, 본 명세서에서, “부”는 프로세서 또는 회로와 같은 하드웨어 구성(hardware component), 및/또는 프로세서와 같은 하드웨어 구성에 의해 실행되는 소프트웨어 구성(software component)일 수 있다.Also, in this specification, the term " part " may be a hardware component such as a processor or a circuit, and / or a software component executed by a hardware component such as a processor.

전술한 본 발명의 설명은 예시를 위한 것이며, 본 발명이 속하는 기술분야의 통상의 지식을 가진 자는 본 발명의 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 쉽게 변형이 가능하다는 것을 이해할 수 있을 것이다. 그러므로 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며 한정적이 아닌 것으로 이해해야만 한다. 예를 들어, 단일형으로 설명되어 있는 각 구성 요소는 분산되어 실시될 수도 있으며, 마찬가지로 분산된 것으로 설명되어 있는 구성 요소들도 결합된 형태로 실시될 수 있다.It will be understood by those skilled in the art that the foregoing description of the present invention is for illustrative purposes only and that those of ordinary skill in the art can readily understand that various changes and modifications may be made without departing from the spirit or essential characteristics of the present invention. will be. It is therefore to be understood that the above-described embodiments are illustrative in all aspects and not restrictive. For example, each component described as a single entity may be distributed and implemented, and components described as being distributed may also be implemented in a combined form.

본 발명의 범위는 상기 상세한 설명보다는 후술하는 특허청구범위에 의하여 나타내어지며, 특허청구범위의 의미 및 범위 그리고 그 균등 개념으로부터 도출되는 모든 변경 또는 변형된 형태가 본 발명의 범위에 포함되는 것으로 해석되어야 한다.The scope of the present invention is defined by the appended claims rather than the detailed description and all changes or modifications derived from the meaning and scope of the claims and their equivalents are to be construed as being included within the scope of the present invention do.

Claims (21)

적어도 하나의 외부 장치를 제어하는 게이트웨이(Gateway)에 있어서,
상기 적어도 하나의 외부 장치로부터 수신된 센싱 데이터를 처리하는데 사용되는 상기 게이트웨이의 리소스의 점유율을 판단하며, 상기 판단된 리소스 점유율에 따라, 상기 외부 장치로부터 상기 게이트웨이로 제공될 센싱 데이터의 데이터 제공 방식을 결정하는 제어부; 및
상기 결정된 데이터 제공 방식에 따라 처리된 센싱 데이터를 요청하는 메시지를 상기 외부 장치에게 전송하는 통신부;
를 포함하는, 게이트웨이.
A gateway for controlling at least one external device,
Determining a share of a resource of the gateway used for processing the sensing data received from the at least one external device and determining a data providing method of the sensing data to be provided from the external device to the gateway according to the determined resource occupancy rate ; And
A communication unit for transmitting a message requesting processed sensing data to the external device according to the determined data providing method;
And a gateway.
제 1 항에 있어서,
상기 데이터 제공 방식은, 센싱 데이터를 취합하여 제공하는 방식, 센싱 데이터를 분리하여 제공하는 방식, 및 센싱 데이터들의 평균 값을 산출하여 제공하는 방식 중 적어도 하나를 포함하는 것인, 게이트웨이.
The method according to claim 1,
Wherein the data providing method includes at least one of a method of collecting and providing sensing data, a method of separately providing sensing data, and a method of calculating and providing an average value of sensing data.
제 2 항에 있어서,
상기 제어부는, 상기 외부 장치의 센싱 데이터의 종류 및 상기 센싱 데이터의 용량 중 적어도 하나에 기초하여, 상기 데이터 제공 방식을 결정하는 것인, 게이트웨이.
3. The method of claim 2,
Wherein the control unit determines the data providing method based on at least one of a type of sensing data of the external apparatus and a capacity of the sensing data.
제 1 항에 있어서,
상기 제어부는, 상기 판단된 리소스 점유율이 기 설정된 임계치를 초과하는 경우, 상기 외부 장치들 중 일부를 선택하며, 상기 선택된 외부 장치로부터 제공될 센싱 데이터의 데이터 제공 방식을 결정하는 것인, 게이트웨이.
The method according to claim 1,
Wherein the control unit selects a part of the external devices when the determined resource occupation rate exceeds a preset threshold value and determines a data providing method of the sensing data to be provided from the selected external device.
제 4 항에 있어서,
상기 통신부는, 상기 선택된 외부 장치에게 상기 처리된 센싱 데이터를 요청하는 상기 메시지를 전송하며, 상기 선택되지 않은 외부 장치에게 센싱 데이터의 전송을 일시 정지할 것을 요청하는 메시지를 전송하는 것인, 게이트웨이.
5. The method of claim 4,
Wherein the communication unit transmits the message requesting the processed sensing data to the selected external device and transmits a message requesting the unselected external device to suspend the transmission of the sensing data.
제 1 항에 있어서,
상기 제어부는, 상기 외부 장치로부터의 상기 처리된 센싱 데이터의 전송 주기를 결정하며,
상기 통신부는, 상기 결정된 전송 주기에 따라 상기 처리된 센싱 데이터를 제공할 것을 요청하는 상기 메시지를 상기 외부 장치에게 전송하는 것인, 게이트웨이.
The method according to claim 1,
Wherein the control unit determines a transmission period of the processed sensing data from the external device,
Wherein the communication unit transmits the message requesting to provide the processed sensing data to the external device according to the determined transmission period.
제 4 항에 있어서,
상기 외부 장치의 장치 정보를 저장하는 메모리;
를 더 포함하며,
상기 장치 정보는, 상기 외부 장치의 종류, 상기 외부 장치의 센싱 데이터의 종류 및 상기 외부 장치의 센싱 주기에 관한 정보를 포함하는 것인, 게이트웨이.
5. The method of claim 4,
A memory for storing device information of the external device;
Further comprising:
Wherein the device information includes information on the type of the external device, the type of the sensing data of the external device, and the sensing period of the external device.
제 7 항에 있어서,
상기 메모리는, 상기 장치 정보를 상기 게이트웨이에 연결된 디바이스 또는 서버에 의해 제공되는 서비스와 연관하여 저장하며,
상기 제어부는, 상기 서비스의 제공에 이용되는 센싱 데이터를 제공하는 외부 장치 중에서 기 설정된 필요 외부 장치를 선택하는 것인, 게이트웨이.
8. The method of claim 7,
Wherein the memory stores the device information in association with a service provided by a device or server connected to the gateway,
Wherein the control unit selects a necessary external device that is preset among the external devices that provide the sensing data used for providing the service.
제 1 항에 있어서,
상기 리소스 점유율은, 상기 게이트웨이의 CPU 사용량, 상기 게이트웨이의 메모리 사용량, 및 상기 게이트웨이의 통신 상태 중 적어도 하나에 기초하여 결정되는 것인, 게이트웨이.
The method according to claim 1,
Wherein the resource occupancy rate is determined based on at least one of a CPU usage of the gateway, a memory usage of the gateway, and a communication state of the gateway.
제 1 항에 있어서,
상기 통신부는, 상기 판단된 리소스 점유율이 기 설정된 임계치 이하로 복귀되는 경우, 기 설정된 디폴트 규칙에 따라 상기 센싱 데이터를 제공할 것을 요청하는 메시지를 상기 외부 장치에게 전송하는 것인, 게이트웨이.
The method according to claim 1,
Wherein the communication unit transmits to the external device a message requesting to provide the sensing data according to a preset default rule when the determined resource occupancy rate is returned to a predetermined threshold value or less.
게이트웨이가 적어도 하나의 외부 장치를 제어하는 방법에 있어서,
상기 적어도 하나의 외부 장치로부터 수신된 센싱 데이터를 처리하는데 사용되는 상기 게이트웨이의 리소스 점유율을 판단하는 단계;
상기 판단된 리소스 점유율에 따라, 상기 외부 장치로부터 상기 게이트웨이로 제공될 센싱 데이터의 데이터 제공 방식을 결정하는 단계;
상기 결정된 데이터 제공 방식에 따라 처리된 센싱 데이터를 요청하는 메시지를 상기 외부 장치에게 전송하는 단계;
를 포함하는, 방법.
A method for a gateway to control at least one external device,
Determining a resource occupancy rate of the gateway used to process sensing data received from the at least one external device;
Determining a data providing method of the sensing data to be provided from the external device to the gateway according to the determined resource occupancy rate;
Transmitting a message requesting processed sensing data to the external device according to the determined data providing method;
/ RTI >
제 11 항에 있어서,
상기 데이터 제공 방식은, 센싱 데이터를 취합하여 제공하는 방식, 센싱 데이터를 분리하여 제공하는 방식, 및 센싱 데이터들의 평균 값을 산출하여 제공하는 방식 중 적어도 하나를 포함하는 것인, 방법.
12. The method of claim 11,
Wherein the data providing method includes at least one of a method of collecting and providing sensing data, a method of separately providing sensing data, and a method of calculating and providing an average value of sensing data.
제 12 항에 있어서,
상기 데이터 가공 방식을 결정하는 단계는, 상기 외부 장치의 센싱 데이터의 종류 및 상기 센싱 데이터의 용량 중 적어도 하나에 기초하여, 상기 데이터 제공 방식을 결정하는 것인, 방법.
13. The method of claim 12,
Wherein the step of determining the data processing method determines the data providing method based on at least one of a type of sensing data of the external device and a capacity of the sensing data.
제 11 항에 있어서,
상기 판단된 리소스 점유율이 기 설정된 임계치를 초과하는 경우, 상기 외부 장치들 중 일부를 선택하는 단계;
를 더 포함하며,
상기 데이터 제공 방식을 결정하는 단계는 상기 선택된 외부 장치로부터 제공될 센싱 데이터의 데이터 제공 방식을 결정하는 것인, 방법.
12. The method of claim 11,
Selecting a part of the external devices when the determined resource occupancy rate exceeds a predetermined threshold value;
Further comprising:
Wherein the step of determining the data providing method determines a data providing method of the sensing data to be provided from the selected external device.
제 14 항에 있어서,
상기 제어 메시지를 전송하는 단계는, 상기 선택된 외부 장치에게 상기 처리된 센싱 데이터를 요청하는 메시지를 전송하며, 상기 선택되지 않은 외부 장치에게 센싱 데이터의 전송을 일시 정지할 것을 요청하는 메시지를 전송하는 것인, 방법.
15. The method of claim 14,
The step of transmitting the control message may include transmitting a message requesting the processed sensing data to the selected external device and transmitting a message requesting the unselected external device to suspend transmission of the sensing data In method.
제 11 항에 있어서,
상기 식별된 외부 장치로부터의 상기 처리된 센싱 데이터의 전송 주기를 결정하는 단계;
를 더 포함하며,
상기 메시지를 전송하는 단계는, 상기 결정된 전송 주기에 따라 상기 처리된 센싱 데이터를 제공할 것을 요청하는 메시지를 상기 식별된 외부 장치에게 전송하는 것인, 방법.
12. The method of claim 11,
Determining a transmission period of the processed sensing data from the identified external device;
Further comprising:
Wherein the step of transmitting the message is to send a message to the identified external device requesting to provide the processed sensing data according to the determined transmission period.
제 14 항에 있어서,
상기 식별된 외부 장치의 장치 정보를 저장하는 단계;
를 더 포함하며,
상기 장치 정보는, 상기 외부 장치의 종류, 상기 외부 장치의 센싱 데이터의 종류 및 상기 외부 장치의 센싱 주기에 관한 정보를 포함하는 것인, 방법.
15. The method of claim 14,
Storing device information of the identified external device;
Further comprising:
Wherein the device information includes information about a type of the external device, a type of the sensing data of the external device, and a sensing period of the external device.
제 17 항에 있어서,
상기 장치 정보를 저장하는 단계는, 상기 장치 정보를 상기 게이트웨이에 연결된 디바이스 또는 서버에 의해 제공되는 서비스와 연관하여 저장하며,
상기 외부 장치들 중 일부를 선택하는 단계는, 상기 서비스의 제공에 이용되는 센싱 데이터를 제공하는 외부 장치 중에서 기 설정된 필요 외부 장치를 선택하는 것인, 방법.
18. The method of claim 17,
Wherein storing the device information stores the device information in association with a service provided by a device or server connected to the gateway,
Wherein the step of selecting some of the external devices selects a predetermined external device that is preset among the external devices that provide the sensing data used for providing the service.
게이트웨이에 연결되어 상기 게이트웨이에게 센싱 데이터를 제공하는 장치에 있어서,
센싱 데이터를 획득하는 센싱부;
상기 게이트웨이의 리소스 점유율에 대응되는 센싱 데이터의 데이터 제공 방식에 따라, 상기 센싱 데이터를 처리하는 제어부; 및
상기 처리된 센싱 데이터를 상기 게이트웨이에게 전송하는 통신부;
를 포함하는 장치.
An apparatus connected to a gateway and providing sensing data to the gateway,
A sensing unit for acquiring sensing data;
A controller for processing the sensing data according to a data providing method of sensing data corresponding to a resource occupancy rate of the gateway; And
A communication unit for transmitting the processed sensing data to the gateway;
/ RTI >
제 11 항의 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.
A computer-readable recording medium recording a program for causing a computer to execute the method of claim 11.
적어도 하나의 외부 장치를 제어하는 게이트웨이에 있어서,
상기 외부 장치로부터 센싱 데이터를 수신하는 통신부; 및
수신된 상기 센싱 데이터를 처리하는데 사용되는 상기 게이트웨이의 리소스 점유율, 상기 외부 장치의 상태 정보 및 상기 외부 장치의 개수 중 적어도 하나에 기초하여 상기 센싱 데이터의 처리 주기를 결정하는 제어부;를 포함하는 게이트웨이.
A gateway for controlling at least one external device,
A communication unit for receiving sensing data from the external device; And
And a controller for determining a processing period of the sensing data based on at least one of a resource occupancy rate of the gateway used to process the received sensing data, state information of the external apparatus, and a number of the external apparatuses.
KR1020150043304A 2014-07-31 2015-03-27 System and method for controlling data transmission of external apparatus connected with gateway KR102307352B1 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
PCT/KR2015/007675 WO2016017995A1 (en) 2014-07-31 2015-07-23 System and method of controlling data transmission of external apparatus connected to gateway
TW104124619A TWI692223B (en) 2014-07-31 2015-07-30 Method and gateway for controling external device and device connected to gateway
US14/813,193 US9888082B2 (en) 2014-07-31 2015-07-30 System and method of controlling data transmission of external apparatus connected to gateway
EP15179241.3A EP2981045B1 (en) 2014-07-31 2015-07-31 Gateway and method of controlling data transmission of an external apparatus connected to a gateway
CN201510463463.6A CN105323158B (en) 2014-07-31 2015-07-31 System and method for controlling data transmission of external device connected to gateway
US15/882,509 US10630778B2 (en) 2014-07-31 2018-01-29 System and method of controlling data transmission of external apparatus connected to gateway

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
KR1020140098648 2014-07-31
KR20140098648 2014-07-31
KR1020140161633 2014-11-19
KR1020140161633A KR20160016493A (en) 2014-07-31 2014-11-19 System and method for controlling data transmission of external apparatus connected with gateway

Publications (2)

Publication Number Publication Date
KR20160016541A true KR20160016541A (en) 2016-02-15
KR102307352B1 KR102307352B1 (en) 2021-10-05

Family

ID=55357209

Family Applications (2)

Application Number Title Priority Date Filing Date
KR1020140161633A KR20160016493A (en) 2014-07-31 2014-11-19 System and method for controlling data transmission of external apparatus connected with gateway
KR1020150043304A KR102307352B1 (en) 2014-07-31 2015-03-27 System and method for controlling data transmission of external apparatus connected with gateway

Family Applications Before (1)

Application Number Title Priority Date Filing Date
KR1020140161633A KR20160016493A (en) 2014-07-31 2014-11-19 System and method for controlling data transmission of external apparatus connected with gateway

Country Status (2)

Country Link
KR (2) KR20160016493A (en)
TW (1) TWI692223B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101723984B1 (en) * 2017-01-31 2017-04-06 (주)그립 Device and Method for Controlling Internet of Things Device
WO2017222294A1 (en) * 2016-06-21 2017-12-28 주식회사 삼진엘앤디 Situation awareness system, method and computer-readable recording medium for providing smart service in internet of things environment
KR102517403B1 (en) * 2022-06-23 2023-04-04 주식회사 티팩토리 Cloud-based ESS remote safety management system using gateway

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102593932B1 (en) * 2021-08-26 2023-10-25 주식회사 엘지유플러스 Method for controlling system including edge gateway of managing industrial iiot

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100199282A1 (en) * 2009-01-30 2010-08-05 Richter John C Low burden system for allocating computational resources in a real time control environment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050055432A1 (en) * 2003-09-08 2005-03-10 Smart Synch, Inc. Systems and methods for remote power management using 802.11 wireless protocols
KR100715677B1 (en) * 2005-12-02 2007-05-09 한국전자통신연구원 Congestion control access gateway system and method for congestion control in congestion control access gateway system
JP4839152B2 (en) * 2006-08-04 2011-12-21 株式会社日立製作所 Sensor network system and sensor network data processing method
US7948373B2 (en) * 2006-11-30 2011-05-24 International Business Machines Corporation Method for reducing power consumption of sensors

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100199282A1 (en) * 2009-01-30 2010-08-05 Richter John C Low burden system for allocating computational resources in a real time control environment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017222294A1 (en) * 2016-06-21 2017-12-28 주식회사 삼진엘앤디 Situation awareness system, method and computer-readable recording medium for providing smart service in internet of things environment
US10785617B2 (en) 2016-06-21 2020-09-22 Samjin Lnd Co., Ltd. Context awareness system, method and computer-readable recording medium for providing smart service in Internet of Things environment
KR101723984B1 (en) * 2017-01-31 2017-04-06 (주)그립 Device and Method for Controlling Internet of Things Device
US10772137B2 (en) 2017-01-31 2020-09-08 Grib Co., Ltd Internet of things gateway and operating method of the same
KR102517403B1 (en) * 2022-06-23 2023-04-04 주식회사 티팩토리 Cloud-based ESS remote safety management system using gateway

Also Published As

Publication number Publication date
TW201613308A (en) 2016-04-01
KR102307352B1 (en) 2021-10-05
TWI692223B (en) 2020-04-21
KR20160016493A (en) 2016-02-15

Similar Documents

Publication Publication Date Title
CN105323158B (en) System and method for controlling data transmission of external device connected to gateway
CN107430660B (en) Method and system for automated anonymous crowdsourcing to characterize device behavior
TW202131661A (en) Device and method for network optimization and non-transitory computer-readable medium
KR102307352B1 (en) System and method for controlling data transmission of external apparatus connected with gateway
TWI418190B (en) Intelligent video, data streaming and access to distributed resources in a wireless network
US20180082571A1 (en) Mobile device loss prevention
US20120078864A1 (en) Electronic data integrity protection device and method and data monitoring system
US9467274B2 (en) Processing communications via a sensor network
EP3133502B1 (en) Terminal device and method for cooperatively processing data
US20150378709A1 (en) Installation of Software Applications on Mobile Devices Based on Positions Thereof
CN110324232B (en) Method and system for providing effective multimedia message based on user condition in instant communication service
US9894190B2 (en) Activating carrier aggregation based on application layer information
US20200081710A1 (en) Method and apparatus for enabling an application to detect specified circumstances
Baumgärtner et al. Smart street lights and mobile citizen apps for resilient communication in a digital city
US20230283499A1 (en) Enhanced Smart Home Services
US20170162032A1 (en) Personal security
JP2018503276A (en) Variable interval for periodic positioning requests for multiple clients
WO2022130521A1 (en) Data distribution device, providing device, usage device, data distribution system, data distribution method, data provision method, data usage method, and program
WO2024084563A1 (en) Reporting device, system, method, and computer-readable medium
US20240096191A1 (en) Corroborating device-detected anomalous behavior
WO2024057634A1 (en) Notification system and notification method
EP3567473B1 (en) Method and apparatus for enabling an application to detect specified circumstances
JPWO2022130521A5 (en)
CN117743089A (en) Data delay detection method, device, electronic equipment and computer readable medium
US20210153008A1 (en) Dynamically sharing wireless signature data

Legal Events

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