TWI692223B - Method and gateway for controling external device and device connected to gateway - Google Patents

Method and gateway for controling external device and device connected to gateway Download PDF

Info

Publication number
TWI692223B
TWI692223B TW104124619A TW104124619A TWI692223B TW I692223 B TWI692223 B TW I692223B TW 104124619 A TW104124619 A TW 104124619A TW 104124619 A TW104124619 A TW 104124619A TW I692223 B TWI692223 B TW I692223B
Authority
TW
Taiwan
Prior art keywords
gateway
data
sensing data
external
component
Prior art date
Application number
TW104124619A
Other languages
Chinese (zh)
Other versions
TW201613308A (en
Inventor
李在根
Original Assignee
南韓商三星電子股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 南韓商三星電子股份有限公司 filed Critical 南韓商三星電子股份有限公司
Publication of TW201613308A publication Critical patent/TW201613308A/en
Application granted granted Critical
Publication of TWI692223B publication Critical patent/TWI692223B/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

Abstract

A system and method of controlling data transmission from a device connected to a gateway includes: determining a resource utilization rate of the gateway, and determining a data processing method of the device in accordance with the utilization rate of the gateway.

Description

用於控制外部元件的閘道器與方法及連接至閘 道器的元件 Gateway and method for controlling external components and connection to gate Elements of the Tao 【相關專利申請案的交叉參考】 [Cross-reference of related patent applications]

本申請案主張於2014年7月31日在韓國智慧財產局提出申請的韓國專利申請案第10-2014-0098648號、於2014年11月19日在韓國智慧財產局提出申請的韓國專利申請案第10-2014-0161633號、以及於2015年3月27日在韓國智慧財產局提出申請的韓國專利申請案第10-2015-0043304號的優先權,所述專利申請案的揭露內容全文併入本文供參考。 This application claims the Korean Patent Application No. 10-2014-0098648 filed on July 31, 2014 at the Korean Intellectual Property Office, and the Korean Patent Application filed on November 19, 2014 at the Korean Intellectual Property Office Priority of No. 10-2014-0161633 and Korean Patent Application No. 10-2015-0043304 filed with the Korean Intellectual Property Office on March 27, 2015, the disclosure content of the patent application is incorporated in full This article is for reference.

根據示例性實施例的方法及裝置是有關於對與閘道器連接之裝置的資料傳輸進行控制的系統與方法,更具體而言,是有關於根據閘道器的資源利用率對裝置的資料傳輸進行控制的系統與方法。 The method and device according to the exemplary embodiment are related to a system and method for controlling data transmission of a device connected to a gateway, and more specifically, data about a device according to the resource utilization rate of the gateway Transmission control system and method.

隨著網路技術及資料處理技術的發展,各種外部元件被連接至閘道器以利用傳訊架構(messaging framework)與閘道器交換資料。具體而言,物聯網(Internet of Things,IOT)元件利 用傳訊架構與閘道器交換資料。在物聯網服務中,元件與閘道器之間的連接被歸類為基於網際網路協定(internet protocol,IP)的連接及非基於IP的連接,但主要採用的是基於IP的連接。舉例而言,利用傳輸控制協定(transmission control protocol,TCP)/IP的傳訊架構不提供流控制功能,而是依賴於由TCP提供的功能。然而,由TCP提供的流控制無法對各種情況作出反應,而是僅考量網路緩衝器。 With the development of network technology and data processing technology, various external components are connected to the gateway to exchange data with the gateway using a messaging framework. Specifically, the Internet of Things (IOT) component benefits Use the communication framework to exchange data with the gateway. In the Internet of Things service, the connection between the component and the gateway is classified as an Internet protocol (IP)-based connection and a non-IP-based connection, but the IP-based connection is mainly used. For example, a communication architecture using transmission control protocol (TCP)/IP does not provide flow control functions, but relies on functions provided by TCP. However, the flow control provided by TCP cannot respond to various situations, but only considers network buffers.

此外,自外部元件收集的資料所具有的重要性及即時特性依資料的種類及利用所述資料的服務的種類而變化,但傳訊架構可能並未將該些特性考量在內。因此,自各種外部元件接收資料的閘道器會面臨過載的風險。此外,在具有高即時特性的服務的情形中,由於閘道器的過載而難以提供恰當的服務。 In addition, the importance and real-time characteristics of the data collected from external components vary according to the type of data and the type of service that uses the data, but the messaging architecture may not take these characteristics into account. Therefore, gateways that receive data from various external components are exposed to the risk of overload. In addition, in the case of a service with high instantaneous characteristics, it is difficult to provide proper service due to overload of the gateway.

示例性實施例的態樣包括一種藉由防止閘道器過載來防止經由閘道器提供的資料損失或服務終止的系統與方法。 Aspects of the exemplary embodiment include a system and method for preventing data loss or service termination provided by the gateway by preventing the gateway from being overloaded.

示例性實施例的態樣包括一種根據閘道器的資源利用率而經由閘道器對元件的資料傳輸進行有效控制的系統與方法。 Aspects of the exemplary embodiments include a system and method for effectively controlling the data transmission of components through the gateway according to the resource utilization rate of the gateway.

其他態樣將在以下的說明中予以部分闡述,且所述態樣將藉由所述說明而部分地變得顯而易見,抑或可藉由實踐所提供的示例性實施例而得知。 Other aspects will be partially explained in the following description, and the aspects will be partially obvious through the description, or may be known by practicing the exemplary embodiments provided.

根據示例性實施例,提供一種控制至少一個外部元件的閘道器,所述閘道器包括:控制器,用以確定所述閘道器的資源 利用率並根據所述閘道器的所述資源利用率而確定自所述至少一個外部元件向所述閘道器提供感測資料的資料提供方法;以及通訊器,用以將訊號傳送至所述至少一個外部元件,所述訊號指示所述至少一個外部元件根據所述資料提供方法提供所述感測資料。 According to an exemplary embodiment, there is provided a gateway for controlling at least one external element, the gateway including: a controller to determine resources of the gateway Utilization rate and a data providing method for providing sensing data from the at least one external component to the gateway according to the resource utilization rate of the gateway; and a communicator for transmitting signals to all The at least one external component, the signal instructs the at least one external component to provide the sensing data according to the data providing method.

所述資料提供方法可包括選自以下的至少一種資料提供方法:對所述感測資料進行組合的資料提供方法、對所述感測資料進行劃分的資料提供方法、及計算所述感測資料的平均值的資料提供方法。 The data providing method may include at least one data providing method selected from the following: a data providing method that combines the sensing data, a data providing method that divides the sensing data, and calculating the sensing data The method of providing the average data.

所述控制器可基於所述至少一個外部元件的所述感測資料的種類及所述至少一個外部元件的所述感測資料的大小中的至少一者而確定所述資料提供方法。 The controller may determine the data providing method based on at least one of the kind of the sensing data of the at least one external element and the size of the sensing data of the at least one external element.

所述控制器可在所述資源利用率超過臨界值時自所述至少一個外部元件中選擇外部元件並確定欲自所述所選擇外部元件傳送的所述感測資料的所述資料提供方法。 The controller may select an external component from the at least one external component when the resource utilization exceeds a critical value and determine the data providing method of the sensing data to be transmitted from the selected external component.

所述通訊器可將請求所述感測資料的所述訊號傳送至所述所選擇外部元件,並將用於請求未被選擇的未選外部元件暫停傳送所述感測資料的訊號傳送至所述未選外部元件。 The communicator may transmit the signal requesting the sensing data to the selected external component, and may transmit a signal for requesting an unselected unselected external component to suspend transmission of the sensing data to the No external components selected.

所述控制器可確定來自所述至少一個外部元件的所述感測資料的傳輸週期,且所述通訊器更用以根據所述所確定傳輸週期將所述請求所述至少一個外部元件提供所述感測資料的所述訊號傳送至所述至少一個外部元件。 The controller may determine a transmission period of the sensing data from the at least one external element, and the communicator is further used to provide the request for the at least one external element with the transmission period according to the determined transmission period. The signal of the sensing data is sent to the at least one external component.

所述閘道器可更包括用以儲存所述外部元件的元件資訊的記憶體,其中所述元件資訊可包括關於所述外部元件的種類、所述外部元件的所述感測資料的種類、及所述外部元件的感測週期的資訊。 The gateway may further include a memory for storing component information of the external component, wherein the component information may include the type of the external component, the type of the sensing data of the external component, And information about the sensing period of the external component.

所述記憶體可與由連接至所述閘道器的元件或伺服器提供的服務相關聯地儲存所述元件資訊,且所述控制器更用以自所述至少一個外部元件中選擇所需要的外部元件以提供用於提供所述服務的所述感測資料。 The memory may store the component information in association with a service provided by a component connected to the gateway or a server, and the controller is further used to select a desired one from the at least one external component External components to provide the sensing data for providing the service.

所述資源利用率可基於選自以下中的至少一者而確定:所述閘道器的中央處理裝置(CPU)的使用情況、所述閘道器的記憶體使用情況、及所述閘道器的通訊狀態。 The resource utilization rate may be determined based on at least one selected from the group consisting of: usage of the central processing unit (CPU) of the gateway, memory usage of the gateway, and the gateway The communication status of the device.

所述通訊器可在所述資源利用率返回至臨界值時將以下訊息傳送至所述外部元件:所述訊息請求所述外部元件根據缺設傳輸規則提供所述感測資料。 The communicator may send the following message to the external component when the resource utilization returns to a critical value: the message requests the external component to provide the sensing data according to a default transmission rule.

根據示例性實施例,提供一種使閘道器控制至少一個外部元件的方法,所述方法包括:確定所述閘道器的資源利用率;根據所述資源利用率而確定自所述至少一個外部元件向所述閘道器提供感測資料的資料提供方法;以及將訊號傳送至所述至少一個外部元件,所述訊號指示所述至少一個外部元件根據所述所確定資料提供方法提供所述感測資料。 According to an exemplary embodiment, there is provided a method for causing a gateway to control at least one external element, the method comprising: determining a resource utilization rate of the gateway; and determining from the at least one external element according to the resource utilization rate A data providing method for the element to provide sensing data to the gateway; and transmitting a signal to the at least one external element, the signal instructing the at least one external element to provide the sense according to the determined data providing method Test data.

所述資料提供方法可包括選自以下的至少一種資料提供方法:對所述感測資料進行組合的資料提供方法、對所述感測 資料進行劃分的資料提供方法、及計算所述感測資料的平均值的資料提供方法。 The data providing method may include at least one data providing method selected from the following: a data providing method combining the sensing data, A data providing method for dividing data, and a data providing method for calculating an average value of the sensing data.

可基於所述外部元件的所述感測資料的種類及所述感測資料的大小中的至少一者而確定所述資料提供方法。 The data providing method may be determined based on at least one of the type of the sensing data of the external element and the size of the sensing data.

所述方法可更包括在所述資源利用率超過臨界值時自所述至少一個外部元件中選擇外部元件,其中所述確定所述資料提供方法的步驟包括確定欲自所述所選擇外部元件提供的所述感測資料的所述資料提供方法。 The method may further include selecting an external component from the at least one external component when the resource utilization exceeds a critical value, wherein the step of determining the data providing method includes determining that the selected external component is to be provided The data providing method of the sensing data.

傳送控制訊息的步驟可包括將用於請求所處理的感測資料的訊號傳送至所述所選擇外部元件,並將用於請求未被選擇的未選外部元件暫停傳送所述感測資料的訊息傳送至所述未選外部元件。 The step of transmitting the control message may include transmitting a signal for requesting the processed sensing data to the selected external component, and suspending the transmission of the sensing data for the unselected external component that is not selected Transfer to the unselected external component.

所述方法可更包括確定來自所述至少一個外部元件的所述感測資料的傳輸週期,其中所述傳送所述訊息的步驟包括根據所述所確定傳輸週期將請求所述至少一個外部元件提供所述感測資料的訊號傳送至所述至少一個外部元件。 The method may further include determining a transmission period of the sensing data from the at least one external element, wherein the step of transmitting the message includes requesting the at least one external element to provide based on the determined transmission period The signal of the sensing data is sent to the at least one external component.

所述方法可更包括儲存所辨識的外部元件的元件資訊,其中所述外部元件的所述元件資訊可包括關於所述外部元件的種類、所述外部元件的所述感測資料的種類、及所述外部元件的感測週期的資訊。 The method may further include storing the component information of the recognized external component, wherein the component information of the external component may include the type of the external component, the type of the sensing data of the external component, and Information about the sensing period of the external component.

所述儲存所述元件資訊的步驟可包括與由連接至所述閘道器的元件或伺服器提供的服務相關聯地儲存所述元件資訊, 且所述選擇步驟包括自所述至少一個外部元件中選擇所需要的外部元件以提供用於提供所述服務的感測資料。 The step of storing the component information may include storing the component information in association with a service provided by a component or a server connected to the gateway, And the selecting step includes selecting a required external component from the at least one external component to provide sensing data for providing the service.

根據示例性實施例,提供一種連接至閘道器以向所述閘道器提供感測資料的元件,所述元件包括:感測器,用以獲得感測資料;控制器,用以根據向所述閘道器提供所述感測資料的資料提供方法來處理所述感測資料,所述資料提供方法對應於所述閘道器的資源利用率;以及通訊器,用以將所述感測資料傳送至所述閘道器。 According to an exemplary embodiment, an element connected to a gateway to provide sensing data to the gateway is provided. The element includes: a sensor to obtain the sensing data; and a controller to The gateway provides a data providing method of the sensing data to process the sensing data, the data providing method corresponds to a resource utilization rate of the gateway; and a communicator is used to convert the sensing The measured data is sent to the gateway.

根據示例性實施例,非暫時性電腦可讀取記錄媒體收錄有用於在電腦中執行所述使閘道器控制至少一個外部元件的方法的程式。 According to an exemplary embodiment, the non-transitory computer-readable recording medium contains a program for executing the method of causing the gateway to control at least one external component in the computer.

根據示例性實施例,提供一種用於控制至少一個外部元件的閘道器,所述閘道器包括:通訊器,用以自所述至少一個外部元件接收感測資料;以及控制器,用以基於選自以下的至少一者而確定所述感測資料的處理週期:所述閘道器的資源利用率、所述至少一個外部元件的狀態資訊、及連接至所述閘道器的至少一個外部元件的數量。 According to an exemplary embodiment, there is provided a gateway for controlling at least one external element, the gateway including: a communicator to receive sensing data from the at least one external element; and a controller to The processing period of the sensing data is determined based on at least one selected from the following: resource utilization rate of the gateway, status information of the at least one external element, and at least one connected to the gateway The number of external components.

40:元件辨識(ID)欄位 40: Component identification (ID) field

42:元件種類欄位 42: Component type field

44:資料類型欄位 44: Data type field

46:資料性質欄位 46: Data nature field

48:感測週期欄位 48: Sensing period field

50:服務ID欄位 50: Service ID field

52:所需元件欄位 52: Required component field

54:優先次序1欄位 54: Priority 1 field

56:優先次序2欄位 56: Priority 2 field

58:優先次序3欄位 58: Priority 3 field

60:相關聯服務欄位 60: associated service field

80:服務ID欄位 80: Service ID field

82:資源利用率欄位 82: Resource utilization field

84:外部元件欄位 84: External component field

86:暫停欄位 86: Pause field

87:資料提供方法欄位 87: Data supply method field

88:傳輸週期欄位 88: Transmission cycle field

89:排程傳輸欄位 89: Schedule transfer field

110:表示控制訊息的類型的一位元值 110: One-bit value indicating the type of control message

112:表示資料提供方法的三位元值 112: Three-digit value indicating the method of providing data

114:表示資料提供方法的子規則的四位元值 114: Four-bit value representing the sub-rule of the data provision method

116:用於改變感測資料的傳輸週期的八位元值 116: Eight-bit value used to change the transmission period of the sensing data

1000:外部元件 1000: external components

1002:溫度感測器A 1002: Temperature sensor A

1004:溫度感測器B 1004: Temperature sensor B

1006:氣體感測器A 1006: Gas sensor A

1008:氣體感測器B 1008: Gas sensor B

1010:閉路電視 1010: CCTV

1012:運動感測器A 1012: Motion sensor A

1014:接近感測器A 1014: Proximity sensor A

1016:使用者進入感測器 1016: User enters the sensor

1018:濕度感測器A 1018: Humidity sensor A

1020:冰箱 1020: refrigerator

1060:用於提供至少另一服務的感測器 1060: Sensor for providing at least another service

1062:用於提供另一服務的感測器/用於提供其他服務的感測器 1062: Sensor for providing another service/Sensor for providing other service

1070:火警警報器 1070: Fire alarm

1072:火警警報器 1072: Fire alarm

1074:火警警報器 1074: Fire alarm

1080:警報器 1080: Siren

1082:警報器 1082: Alarm

1090:空調機 1090: Air conditioner

1095:電視 1095: TV

1100:第一外部元件 1100: first external component

1200:第二外部元件 1200: second external component

1300:第三外部元件/控制器 1300: third external component/controller

1400:第四外部元件 1400: fourth external component

2000:閘道器 2000: Gateway

2100:記憶體 2100: memory

2200:通訊器 2200: Communicator

2210:無線通訊器 2210: wireless communicator

2220:有線通訊器 2220: Wired communicator

2300:控制器/閘道器 2300: controller/gateway

3000:元件 3000: components

4000:伺服器 4000: server

S200:操作 S200: Operation

S210:操作 S210: Operation

S220:操作 S220: Operation

S230:操作 S230: Operation

S300:操作 S300: Operation

S310:操作 S310: Operation

S320:操作 S320: Operation

S330:操作 S330: Operation

S700:操作 S700: Operation

S710:操作 S710: Operation

S720:操作 S720: Operation

S730:操作 S730: Operation

S900:操作 S900: Operation

S910:操作 S910: Operation

S920:操作 S920: Operation

S1000:操作 S1000: Operation

S1010:操作 S1010: Operation

S1020:操作 S1020: Operation

S1030:操作 S1030: Operation

S1040:操作 S1040: Operation

S1050:操作 S1050: Operation

S1060:操作 S1060: Operation

S1070:操作 S1070: Operation

S1080:操作 S1080: Operation

S1090:操作 S1090: Operation

S1200:操作 S1200: Operation

S1210:操作 S1210: Operation

S1220:操作 S1220: Operation

S1400:操作 S1400: Operation

S1405:操作 S1405: Operation

S1410:操作 S1410: Operation

S1415:操作 S1415: Operation

S1420:操作 S1420: Operation

S1425:操作 S1425: Operation

S1430:操作 S1430: Operation

S1435:操作 S1435: Operation

S1440:操作 S1440: Operation

S1445:操作 S1445: Operation

S1450:操作 S1450: Operation

S1455:操作 S1455: Operation

S1460:操作 S1460: Operation

S1465:操作 S1465: Operation

S1500:操作 S1500: Operation

S1505:操作 S1505: Operation

S1510:操作 S1510: Operation

S1515:操作 S1515: Operation

S1520:操作 S1520: Operation

S1525:操作 S1525: Operation

S1530:操作 S1530: Operation

S1535:操作 S1535: Operation

S1540:操作 S1540: Operation

S1550:操作 S1550: Operation

S1555:操作 S1555: Operation

S1700:操作 S1700: Operation

S1705:操作 S1705: Operation

S1710:操作 S1710: Operation

S1715:操作 S1715: Operation

S1720:操作 S1720: Operation

S1725:操作 S1725: Operation

S1730:操作 S1730: Operation

S1735:操作 S1735: Operation

S1740:操作 S1740: Operation

S1745:操作 S1745: Operation

S1750:操作 S1750: Operation

S1755:操作 S1755: Operation

S1760:操作 S1760: Operation

S1765:操作 S1765: Operation

S1900:操作 S1900: Operation

S1905:操作 S1905: Operation

S1910:操作 S1910: Operation

S1915:操作 S1915: Operation

S1920:操作 S1920: Operation

S1925:操作 S1925: Operation

S1930:操作 S1930: Operation

S1935:操作 S1935: Operation

S1940:操作 S1940: Operation

S1945:操作 S1945: Operation

S1950:操作 S1950: Operation

S1955:操作 S1955: Operation

S1960:操作 S1960: Operation

S1965:操作 S1965: Operation

S1970:操作 S1970: Operation

S2201:操作 S2201: Operation

S2203:操作 S2203: Operation

S2205:操作 S2205: Operation

S2207:操作 S2207: Operation

S2301:操作 S2301: Operation

S2303:操作 S2303: Operation

S2305:操作 S2305: Operation

S2307:操作 S2307: Operation

S2401:操作 S2401: Operation

S2403:操作 S2403: Operation

S2405:操作 S2405: Operation

S2407:操作 S2407: Operation

S2501:操作 S2501: Operation

S2503:操作 S2503: Operation

S2505:操作 S2505: Operation

S2507:操作 S2507: Operation

結合附圖閱讀以下對示例性實施例的說明,上述及其他態樣將變得顯而易見且更易於理解,在附圖中:圖1是根據示例性實施例的服務提供系統的概念圖。 Reading the following description of the exemplary embodiments in conjunction with the drawings, the above and other aspects will become apparent and easier to understand. In the drawings: FIG. 1 is a conceptual diagram of a service providing system according to an exemplary embodiment.

圖2是根據示例性實施例,一種由閘道器設定資料傳輸 規則並根據所述閘道器的資源利用率而控制外部元件的方法的流程圖。 Fig. 2 is a data transmission set by a gateway according to an exemplary embodiment A flow chart of a method for controlling external elements according to the rule and the resource utilization rate of the gateway.

圖3是根據示例性實施例,一種利用閘道器儲存外部元件的元件資訊、及關於元件或伺服器的服務的服務資訊的方法的流程圖。 FIG. 3 is a flowchart of a method for storing component information of external components and service information about services of components or servers using a gateway according to an exemplary embodiment.

圖4是根據示例性實施例顯示元件資訊表的實例的圖式,所述元件資訊表代表外部元件的元件資訊。 4 is a diagram showing an example of a component information table according to an exemplary embodiment, the component information table representing component information of an external component.

圖5是根據示例性實施例顯示服務資訊表的實例的圖式,所述服務資訊表代表關於由元件或伺服器提供的服務的服務資訊。 FIG. 5 is a diagram showing an example of a service information table according to an exemplary embodiment, the service information table representing service information about services provided by components or servers.

圖6是根據示例性實施例顯示元件資訊表的實例的圖式,所述元件資訊表代表所儲存的用以與服務進行鏈接的元件資訊。 6 is a diagram showing an example of a component information table according to an exemplary embodiment, the component information table representing stored component information for linking with a service.

圖7是根據示例性實施例,一種利用閘道器設定感測資料的資料傳輸規則的方法的流程圖。 7 is a flowchart of a method for setting a data transmission rule for sensing data using a gateway according to an exemplary embodiment.

圖8是根據示例性實施例,顯示代表感測資料的資料傳輸規則的表的實例的圖式。 FIG. 8 is a diagram showing an example of a table representing data transmission rules of sensing data according to an exemplary embodiment.

圖9是根據示例性實施例,一種利用閘道器判斷資源利用率是否大於預先設定的臨界值的方法的流程圖。 9 is a flowchart of a method for using a gateway to determine whether a resource utilization rate is greater than a preset threshold according to an exemplary embodiment.

圖10是根據示例性實施例,一種在資源利用率改變時藉由以閘道器自多個外部元件接收感測資料而對所述多個外部元件的感測資料的傳輸進行控制的方法的流程圖。 10 is a method for controlling the transmission of sensing data of a plurality of external components by receiving the sensing data from a plurality of external components with a gateway when the resource utilization rate changes according to an exemplary embodiment flow chart.

圖11是根據示例性實施例顯示控制訊息的實例的圖式,所述控制訊息自閘道器傳送至外部元件以控制來自所述外部元件的感測資料的傳輸。 FIG. 11 is a diagram showing an example of a control message according to an exemplary embodiment, which is transmitted from a gateway to an external element to control the transmission of sensing data from the external element.

圖12是根據示例性實施例,一種在資源利用率小於預先設定的臨界值時利用閘道器控制外部元件的方法的流程圖。 FIG. 12 is a flowchart of a method for controlling an external component using a gateway when the resource utilization rate is less than a preset threshold according to an exemplary embodiment.

圖13是根據示例性實施例,顯示在火警服務提供系統中由閘道器控制外部元件的實例的圖式。 FIG. 13 is a diagram showing an example in which external components are controlled by a gateway in a fire alarm service providing system according to an exemplary embodiment.

圖14是根據示例性實施例,一種在閘道器的資源利用率增大時由閘道器控制外部元件的方法的流程圖。 FIG. 14 is a flowchart of a method of controlling external elements by the gateway when the resource utilization of the gateway increases, according to an exemplary embodiment.

圖15是根據示例性實施例,一種在感測到氣體或發生火災時由閘道器控制外部元件的方法的流程圖。 15 is a flowchart of a method of controlling an external element by a gateway when gas is sensed or a fire occurs according to an exemplary embodiment.

圖16是根據示例性實施例,顯示在安全服務提供系統中由閘道器控制外部元件的實例的圖式。 FIG. 16 is a diagram showing an example of controlling external elements by a gateway in a security service providing system according to an exemplary embodiment.

圖17是根據示例性實施例,一種在安全服務提供系統中在閘道器的資源利用率增大時由閘道器控制外部元件的方法的流程圖。 FIG. 17 is a flowchart of a method of controlling external elements by the gateway when the resource utilization rate of the gateway increases in the security service providing system according to an exemplary embodiment.

圖18是根據示例性實施例,顯示在家庭網路服務提供系統中由閘道器控制外部元件的實例的圖式。 FIG. 18 is a diagram showing an example in which external components are controlled by a gateway in a home network service providing system according to an exemplary embodiment.

圖19是根據示例性實施例,一種在家庭網路服務提供系統中在閘道器的資源利用率增大時由閘道器控制外部元件的方法的流程圖。 FIG. 19 is a flowchart of a method of controlling external elements by the gateway when the resource utilization rate of the gateway increases in the home network service providing system according to an exemplary embodiment.

圖20是根據示例性實施例的閘道器的方框圖。 FIG. 20 is a block diagram of a gateway according to an exemplary embodiment.

圖21是根據示例性實施例的外部元件的方框圖。 21 is a block diagram of external elements according to an exemplary embodiment.

圖22是根據示例性實施例,一種利用自多個外部元件接收感測資料的閘道器根據資源利用率的變化來改變自所述多個外部元件傳送的感測資料的處理週期的方法的流程圖。 22 is a method for changing a processing cycle of sensing data transmitted from a plurality of external components according to a change in resource utilization rate using a gateway that receives sensing data from a plurality of external components according to an exemplary embodiment flow chart.

圖23是根據示例性實施例,一種在自多個外部元件接收感測資料的閘道器正在更新軟體時改變自所述多個外部元件傳送的感測資料的處理週期的方法的流程圖。 23 is a flowchart of a method of changing a processing cycle of sensing data transmitted from a plurality of external components when a gateway that receives sensing data from a plurality of external components is updating software according to an exemplary embodiment.

圖24是根據示例性實施例,一種利用自多個外部元件接收感測資料的閘道器根據外部元件的數目來改變自所述多個外部元件傳送的感測資料的處理週期的方法的流程圖。 24 is a flowchart of a method for changing a processing cycle of sensing data transmitted from a plurality of external components according to the number of external components using a gateway that receives sensing data from a plurality of external components according to an exemplary embodiment Figure.

圖25是根據示例性實施例,一種藉由自多個外部元件接收感測資料的閘道器根據外部元件的狀態(例如,電池剩餘電量)來改變自所述多個外部元件傳送的感測資料的處理週期的方法的流程圖。 FIG. 25 is a gateway that receives sensing data from a plurality of external components to change the sensing sent from the plurality of external components according to an exemplary embodiment according to the state of the external components (eg, remaining battery power) Flow chart of the method of processing the data.

以下,將參照附圖來更充分地闡述各示例性實施例。然而,所述示例性實施例可實施為諸多不同形式,而不應被視為僅限於本文中所述的示例性實施例;更確切而言,提供該些示例性實施例是為了使本發明的揭露內容透徹及完整,並向此項技術中具有通常知識者充分傳達一或多個示例性實施例的概念。在以下說明中,將不再詳細闡述眾所習知的功能或構造,以避免因不必要的細節而使所述一或多個示例性實施例模糊不清。此外,在說 明書通篇中,附圖中相同的參考編號指示相同的元件。 Hereinafter, each exemplary embodiment will be more fully explained with reference to the drawings. However, the exemplary embodiments can be implemented in many different forms and should not be considered as limited to the exemplary embodiments described herein; rather, the exemplary embodiments are provided to enable the present invention The content of the disclosure is thorough and complete, and fully conveys the concept of one or more exemplary embodiments to those skilled in the art. In the following description, well-known functions or constructions will not be described in detail again in order to avoid obscuring the one or more exemplary embodiments with unnecessary details. In addition, Throughout the book, the same reference numbers in the drawings indicate the same elements.

在說明書通篇中,亦將理解,當稱一個元件「連接至」另一元件時,所述元件可直接連接至所述另一元件,抑或可電性連接至所述另一元件同時亦可存在中間元件。在說明書通篇中,當部件「包含(includes)」或「包括(comprises)」元件時,除非存在與其相反的具體說明,否則所述部件可更包含其他元件而並不排除其他元件。本文中所用的用語「及/或」包含相關列出項其中一或多個項的任意及所有組合。當例如「...中的至少一者」等表達位於一系列元件之前時,所述表達修飾整個系列元件而非修飾所述系列中的個別元件。 Throughout the specification, it will also be understood that when an element is referred to as being “connected to” another element, the element can be directly connected to the other element, or can be electrically connected to the other element at the same time There is an intermediate element. Throughout the specification, when a component "includes" or "comprises" an element, unless there is a specific description to the contrary, the component may further include other elements without excluding other elements. The term "and/or" as used herein includes any and all combinations of one or more of the listed items. When an expression such as "at least one of" precedes a series of elements, the expression modifies the entire series of elements rather than individual elements in the series.

此外,在本說明書中,外部元件可為連接至閘道器以向閘道器提供感測資料來用於經由閘道器提供的某一服務的元件。舉例而言,外部元件可為連接至閘道器並應用至物聯網(IOT)的一般元件(或物件),且可用於服務環境中,例如家庭聯網服務(例如,智慧家庭)或智慧電網。舉例而言,外部元件可包括溫度感測器、濕度感測器、聲音感測器、運動感測器、接近感測器、氣體感測器、熱感測器、冰箱、閉路電視(closed circuit TV,CCTV)、電視、洗衣機、除濕機、燈具、火警警報器等,但所述元件並非僅限於此。 In addition, in this specification, the external element may be an element connected to the gateway to provide sensing data to the gateway for a certain service provided via the gateway. For example, the external component may be a general component (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 (eg, smart home) or a smart grid. For example, the external components may include a temperature sensor, a humidity sensor, a sound sensor, a motion sensor, a proximity sensor, a gas sensor, a heat sensor, a refrigerator, a closed circuit television (closed circuit) TV, CCTV), televisions, washing machines, dehumidifiers, lamps, fire alarms, etc., but the elements are not limited to this.

此外,在本說明書中,閘道器可為能夠控制外部元件的元件或伺服器。舉例而言,閘道器可為智慧型電話、平板個人電腦(personal computer,PC)、個人電腦、智慧型電視、行動電話、 個人數位助理(personal digital assistant,PDA)、膝上型電腦、媒體播放機、微伺服器、全球定位系統(global positioning system,GPS)、數位廣播終端、導航系統、資訊站、及其他行動或非行動計算元件,但並非僅限於此。舉例而言,閘道器可為使用者可在家中使用的遊戲站,且在此種情形中,所述遊戲站可經由網路連接至家中的閘道器。 In addition, in this specification, the gateway may be an element or a server capable of controlling external elements. For example, the gateway can be a smart phone, a tablet personal computer (PC), a personal computer, a smart TV, a mobile phone, Personal digital assistant (PDA), laptop computer, media player, micro server, global positioning system (GPS), digital broadcasting terminal, navigation system, information station, and other mobile or non-mobile Mobile computing components, but not limited to this. For example, the gateway may be a game station that the user can use at home, and in this case, the game station may be connected to the gateway in the home via a network.

此外,在本說明書中,外部元件的元件資訊為表示外部元件及外部元件的性質的資訊。元件資訊可包括例如關於外部元件的辨識值、外部元件的種類、由外部元件感測到的感測資料的種類及性質、以及外部元件的感測週期的資訊。 In addition, in this specification, the component information of the external component is information indicating the external component and the nature of the external component. The component information may include, for example, information about the identification value of the external component, the type of the external component, the type and nature of the sensing data sensed by the external component, and the sensing period of the external component.

此外,在本說明書中,服務可包括可利用由閘道器所收集資訊提供的所有種類的服務。可經由可與閘道器通訊的元件及/或伺服器來提供服務,且所述服務可包括例如家庭網路服務、安全服務、火警服務、電力管理服務、及內容共用服務,但所述服務並非僅限於此。此外,可藉由閘道器提供服務。 In addition, in this specification, the service may include all kinds of services that can be provided using the information collected by the gateway. Services may be provided through components and/or servers that can communicate with the gateway, and the services may include, for example, home network services, security services, fire alarm services, power management services, and content sharing services, but the services Not limited to this. In addition, services can be provided by gateways.

此外,在本說明書中,服務資訊可包括例如服務的辨識值、用於提供服務的外部元件的種類及數目、用於提供服務的外部元件之間的優先次序、用於提供服務的感測資料的種類及數目、以及用於提供服務的感測資料的優先次序,但並非僅限於此。 In addition, in this specification, the service information may include, for example, the identification value of the service, the type and number of external components used to provide the service, the priority order between the external components used to provide the service, and the sensing data used to provide the service The number and type of data, and the priority of the sensing data used to provide services, but not limited to this.

此外,在本說明書中,資料傳輸規則可為控制閘道器如何根據閘道器的資源利用率而自哪個外部元件接收感測資料的規則。資料傳輸規則可包括例如關於以下的規則:將被用以提供服 務的外部元件、欲被臨時停止的外部元件、提供感測資料的方法、感測資料的資料傳輸週期、資料傳輸量、及感測資料是否被排程以被傳送。 In addition, in this specification, the data transmission rule may be a rule that controls how the external device receives the sensing data from the gateway according to the resource utilization rate of the gateway. Data transmission rules may include, for example, rules regarding the following: to be used to provide services The external components of the task, the external components to be temporarily stopped, the method of providing the sensing data, the data transmission period of the sensing data, the data transmission amount, and whether the sensing data is scheduled to be transmitted.

以下,將參照附圖闡述發明概念的示例性實施例。 Hereinafter, exemplary embodiments of the inventive concept will be explained with reference to the drawings.

圖1是根據示例性實施例的服務提供系統的概念圖。 FIG. 1 is a conceptual diagram of a service providing system according to an exemplary embodiment.

參照圖1,根據示例性實施例的服務提供系統可包括至少一個外部(物聯網(IOT))元件1000、閘道器2000、元件3000、及伺服器4000。 Referring to FIG. 1, a service providing system according to an exemplary embodiment may include at least one external (Internet of Things (IOT)) element 1000, gateway 2000, element 3000, and server 4000.

外部元件1000可產生感測資料,且可將所述感測資料提供至閘道器2000。外部元件1000可為應用至或併入於元件3000或閘道器2000中的一般元件(或物件)。舉例而言,外部元件1000可包括溫度感測器、濕度感測器、聲音感測器、運動感測器、接近感測器、氣體感測器、熱感測器、冰箱、閉路電視、電視、洗衣機、除濕機、燈具、火警警報器等,但外部元件1000並非僅限於此。 The external element 1000 can generate sensing data, and can provide the sensing data to the gateway 2000. The external element 1000 may be a general element (or object) applied to or incorporated in the element 3000 or the gateway 2000. For example, the external device 1000 may include a temperature sensor, a humidity sensor, a sound sensor, a motion sensor, a proximity sensor, a gas sensor, a heat sensor, a refrigerator, a closed circuit television, a television , Washing machines, dehumidifiers, lamps, fire alarms, etc., but the external components 1000 are not limited to this.

外部元件1000可根據閘道器2000的控制而暫停外部元件1000的運作。此外,外部元件1000可處理在外部元件1000中產生的感測資料,並根據閘道器2000的控制將感測資料提供至閘道器2000。此外,外部元件1000可根據閘道器2000的控制而執行各種操作。 The external device 1000 can suspend the operation of the external device 1000 according to the control of the gateway 2000. In addition, the external device 1000 may process the sensing data generated in the external device 1000 and provide the sensing data to the gateway 2000 according to the control of the gateway 2000. In addition, the external element 1000 may perform various operations according to the control of the gateway 2000.

閘道器2000自外部元件1000接收感測資料,並將所述感測資料提供至元件3000及/或伺服器4000。此外,閘道器2000 監視其自身的資源利用率,且可在所述資源利用率大於臨限值時針對外部元件1000與閘道器2000之間的通訊來控制外部元件1000。閘道器2000可暫停一或多個外部元件1000的運作,且可請求外部元件1000改變提供感測資料的方法。 The gateway 2000 receives sensing data from the external component 1000 and provides the sensing data to the component 3000 and/or the server 4000. In addition, the gateway 2000 It monitors its own resource utilization rate, and can control the external element 1000 for the communication between the external element 1000 and the gateway 2000 when the resource utilization rate is greater than the threshold value. The gateway 2000 can suspend the operation of one or more external components 1000, and can request the external components 1000 to change the method of providing sensing data.

元件3000及伺服器4000自閘道器2000接收感測資料,且可利用所述感測資料向使用者提供服務。元件3000及伺服器4000可利用自閘道器2000傳送的感測資料以提供例如火警服務、安全服務、及家庭網路服務。 The element 3000 and the server 4000 receive the sensing data from the gateway 2000, and can use the sensing data to provide services to the user. The element 3000 and the server 4000 can utilize the sensing data transmitted from the gateway 2000 to provide, for example, fire alarm services, security services, and home network services.

元件3000可為智慧型電話、平板個人電腦、個人電腦、智慧型電視、行動電話、個人數位助理、膝上型電腦、媒體播放機、微伺服器、全球定位系統、電子書終端、數位廣播終端、導航系統、資訊站、MP3播放機、數位相機、或其他行動或非行動計算元件,但並非僅限於此。此外,元件3000可為穿戴式元件,例如具有通訊功能及資料處理功能的手錶、眼鏡、發帶、或戒指,但元件3000並非僅限於此。亦即,元件3000可包括可經由網路自閘道器2000接收用於提供服務的感測資料的任何種類的元件。 Component 3000 can be a smart phone, tablet PC, personal computer, smart TV, mobile phone, personal digital assistant, laptop computer, media player, micro server, global positioning system, e-book terminal, digital broadcasting terminal , Navigation systems, kiosks, MP3 players, digital cameras, or other mobile or non-mobile computing components, but not limited to this. In addition, the element 3000 may be a wearable element, such as a watch, glasses, hair band, or ring with communication and data processing functions, but the element 3000 is not limited to this. That is, the element 3000 may include any kind of element that can receive sensing data for providing services from the gateway 2000 via the network.

網路可包括局部區域網路(local area network,LAN)、廣域網路(wide area network,WAN)、加值網路(value added network,VAN)、行動無線電通訊網路、衛星通訊網路、及其組合。網路在廣義上而言為容許構成圖1所示網路的每一個對象彼此通訊的資料通訊網路,且可包括有線網際網路、無線網際網路、及行動無線通訊網路。 The network may include 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 combinations thereof . The network in a broad sense is a data communication network that allows each object constituting the network shown in FIG. 1 to communicate 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 setting data transmission rules by the gateway 2000 and controlling the external component 1000 according to the resource utilization rate of the gateway 2000.

在操作S200中,閘道器2000可辨識連接至閘道器2000的外部元件1000。由於外部元件1000連接至閘道器2000,故閘道器2000可自外部元件1000接收外部元件1000的元件資訊。閘道器2000可基於自外部元件1000傳送的元件資訊而辨識外部元件1000。外部元件1000的元件資訊為用於表示或辨識外部元件1000及外部元件1000的性質的資訊,例如外部元件1000的辨識值、外部元件1000的種類、由外部元件1000產生的感測資料的種類及性質、以及外部元件1000的感測週期。 In operation S200, the gateway 2000 may recognize the external element 1000 connected to the gateway 2000. Since the external device 1000 is connected to the gateway 2000, the gateway 2000 can receive the component information of the external device 1000 from the external device 1000. The gateway 2000 can recognize the external component 1000 based on the component information transmitted from the external component 1000. The component information of the external component 1000 is information for representing or identifying the external component 1000 and the properties of the external component 1000, such as the identification value of the external component 1000, the type of the external component 1000, the type of sensing data generated by the external component 1000, The nature and the sensing period of the external element 1000.

此外,閘道器2000可儲存外部元件1000的元件資訊。閘道器2000可儲存欲與將由元件3000或伺服器4000提供的服務鏈接的外部元件1000的元件資訊。在此種情形中,閘道器2000自元件3000或伺服器4000接收服務資訊,且可基於所述服務資訊而辨識外部元件1000所鏈接到的服務。服務資訊可包括例如服務的辨識值、用於提供服務的外部元件的種類及數目、用於提供服務的外部元件之間的優先次序、用於提供服務的感測資料的種類及數目、以及用於提供服務的感測資料的優先次序,但所述服務資訊並非僅限於此。 In addition, the gateway 2000 can store component information of the external component 1000. The gateway 2000 may store the component information of the external component 1000 to be linked with the service provided by the component 3000 or the server 4000. In this case, the gateway 2000 receives service information from the element 3000 or the server 4000, and can recognize the service to which the external element 1000 is linked based on the service information. The service information may include, for example, the identification value of the service, the type and number of external components used to provide the service, the priority order between the external components used to provide the service, the type and number of sensing data used to provide the service, and Priority of sensing data for providing services, but the service information is not limited to this.

在操作S210中,閘道器2000可設定資料傳輸規則。資料傳輸規則可為控制閘道器2000如何根據閘道器2000的資源利用率自一或多個外部元件1000接收感測資料及/或控制外部元件 1000如何根據閘道器2000的資源利用率將感測資料傳遞至閘道器2000的規則。閘道器2000可基於外部元件1000的元件資訊及由元件3000或伺服器4000提供的服務的服務資訊而根據預先設定的準則來設定資料傳輸規則。另外,閘道器2000可基於使用者輸入設定資料傳輸規則。 In operation S210, the gateway 2000 may set data transmission rules. The data transmission rule may be to control how the gateway 2000 receives the sensing data from one or more external components 1000 and/or controls the external components according to the resource utilization of the gateway 2000 1000 Rules for how to pass the sensing data to the gateway 2000 according to the resource utilization rate of the gateway 2000. The gateway 2000 may set data transmission rules based on pre-set criteria based on the component information of the external component 1000 and the service information of the service provided by the component 3000 or the server 4000. In addition, the gateway 2000 can set data transmission rules based on user input.

資料傳輸規則可被設定成根據閘道器2000的資源利用率來區分,且可包括關於以下的規則:例如,將被用以提供服務的外部元件、欲被暫停的外部元件、感測資料的資料處理類型、感測資料的資料傳輸週期、資料傳輸量、及是否在被排程的傳輸中傳送感測資料。舉例而言,閘道器2000可根據選自季節、天氣及時間中的至少一者而設定關於感測資料的資料傳輸週期、資料傳輸量、及是否在被排程的傳輸中傳送感測資料的規則。舉例而言,在乾燥天氣中,閘道器2000可將與火警服務相關的感測資料的傳輸週期設定為短的。此外,舉例而言,閘道器2000可將感測資料的傳輸週期設定為在夜間比在白天更長。 The data transmission rules can be set to be differentiated according to the resource utilization of the gateway 2000, and can include rules regarding: external components to be used to provide services, external components to be suspended, and data sensing The type of data processing, the data transmission period of the sensed data, the amount of data transmission, and whether to send the sensed data in the scheduled transmission. For example, the gateway 2000 may set the data transmission period, the data transmission amount, and whether to transmit the sensing data in the scheduled transmission according to at least one selected from seasons, weather, and time the rule of. For example, in dry weather, the gateway 2000 may set the transmission period of the sensing data related to the fire alarm service to be short. In addition, for example, the gateway 2000 may set the transmission period of the sensing data to be longer at night than at daytime.

在操作S220中,閘道器2000可監視閘道器2000的資源利用率。閘道器2000的資源利用率可基於選自以下中的至少一者而確定:例如,閘道器2000的中央處理裝置(CPU)的使用情況、記憶體使用情況、緩衝記憶體使用情況、及通訊或網路狀態。舉例而言,所述資源利用率可根據閘道器2000的CPU當前已被使用的量(例如,當前使用的CPU佔CPU的最大效能的百分比)而確定。此外,所述資源利用率可根據閘道器2000中的記憶體的 總容量當前被使用的百分比(%)而確定。此外,所述資源利用率可根據當前儲存於閘道器2000的緩衝記憶體中的資料量而確定。然而,所述資源利用率並非僅限於此,亦即,閘道器2000的資源利用率可根據使用資源、以及CPU、記憶體、及緩衝器的各種狀態而確定。 In operation S220, the gateway 2000 may monitor the resource utilization rate of the gateway 2000. The resource utilization rate of the gateway 2000 may be determined based on at least one selected from the following: for example, the usage of the central processing device (CPU) of the gateway 2000, the memory usage, the buffer memory usage, and Communication or network status. For example, the resource utilization rate may be determined based on the amount of CPU currently used by the gateway 2000 (for example, the currently used CPU as a percentage of the maximum efficiency of the CPU). In addition, the resource utilization may be based on the memory of the gateway 2000 The total capacity currently used is determined by the percentage (%). In addition, the resource utilization rate may be determined according to the amount of data currently stored in the buffer memory of the gateway 2000. However, the resource utilization rate is not limited to this, that is, the resource utilization rate of the gateway 2000 may be determined according to the used resources, and various states of the CPU, memory, and buffer.

此外,閘道器2000可判斷資源利用率是否超過儲存於記憶體中的臨界(例如,臨限)值。 In addition, the gateway 2000 can determine whether the resource utilization exceeds a critical (eg, threshold) value stored in memory.

在操作S230中,閘道器2000可根據資料傳輸規則將與感測資料的傳輸相關的控制訊息傳送至外部元件1000。閘道器2000辨識與閘道器2000的當前資源利用率對應的資料傳輸規則,並可將與感測資料的傳輸相關的控制訊息傳送至外部元件1000,以根據所辨識的資料傳輸規則控制外部元件1000。傳送至外部元件1000的控制訊息可包括關於以下的資訊:例如,是否暫停或終止外部元件或感測資料的傳輸、感測資料的資料處理類型、及資料傳輸週期。 In operation S230, the gateway 2000 may transmit control messages related to the transmission of the sensing data to the external device 1000 according to the data transmission rules. The gateway 2000 recognizes the data transmission rule corresponding to the current resource utilization rate of the gateway 2000, and can transmit control messages related to the transmission of the sensing data to the external component 1000 to control the external according to the recognized data transmission rule Element 1000. The control message transmitted to the external component 1000 may include information about: for example, whether to suspend or terminate the transmission of the external component or the sensing data, the type of data processing of the sensing data, and the data transmission cycle.

圖3是根據示例性實施例,一種使閘道器2000儲存外部元件的元件資訊、及關於由元件3000或伺服器4000提供的服務的服務資訊的方法的流程圖。 3 is a flowchart of a method for causing the gateway 2000 to store component information of external components and service information regarding services provided by the component 3000 or the server 4000 according to an exemplary embodiment.

在操作S300中,外部元件1000可將其元件資訊提供至閘道器2000。當外部元件1000被連接成與閘道器2000通訊時,外部元件1000可將外部元件1000的元件資訊傳送至閘道器2000以將外部元件1000註冊至閘道器2000。元件資訊可包括關於例如 外部元件1000的辨識值、外部元件1000的種類、感測資料的種類、感測資料的性質、以及感測週期的資訊。此外,閘道器2000可基於元件資訊來辨識每一外部元件1000的種類及由外部元件1000產生的感測資料的種類。 In operation S300, the external component 1000 may provide its component information to the gateway 2000. When the external device 1000 is connected to communicate with the gateway 2000, the external device 1000 can transmit the component information of the external device 1000 to the gateway 2000 to register the external device 1000 to the gateway 2000. Component information may include information about The identification value of the external device 1000, the type of the external device 1000, the type of the sensing data, the nature of the sensing data, and the information of the sensing period. In addition, the gateway 2000 may recognize the type of each external component 1000 and the type of sensing data generated by the external component 1000 based on the component information.

在操作S310中,元件3000或伺服器4000可向閘道器2000提供服務資訊。服務資訊為關於由元件3000或伺服器4000提供的服務的資訊,且可包括服務的辨識值、用於提供服務的外部元件的種類及數目、用於提供服務的外部元件之間的優先次序、用於提供服務的感測資料的種類及數目、以及用於提供服務的感測資料之間的優先次序,但並非僅限於此。所述服務可包括例如家庭網路服務、安全服務、火警服務、電力管理服務、及內容共用服務,但所述服務並非僅限於此。 In operation S310, the component 3000 or the server 4000 may provide service information to the gateway 2000. The service information is information about the service provided by the component 3000 or the server 4000, and may include the identification value of the service, the type and number of external components used to provide the service, the priority order between the external components used to provide the service, The type and number of sensing data used to provide services, and the priority between the sensing data used to provide services, but not limited to this. The service may include, for example, home network service, security service, fire alarm service, power management service, and content sharing service, but the service is not limited to this.

在操作S320中,閘道器2000可確定與服務相關的外部元件。閘道器2000可基於服務資訊而確定用於提供服務的外部元件,且可將連接至閘道器2000的某些或所有外部元件確定為與服務相關的外部元件。 In operation S320, the gateway 2000 may determine external elements related to the service. The gateway 2000 may determine external components for providing services based on service information, and may determine some or all external components connected to the gateway 2000 as external components related to the service.

在操作S330中,閘道器2000可與服務相關聯地儲存被確定為與服務相關的外部元件1000的元件資訊。舉例而言,閘道器2000可向外部元件1000的元件資訊表添加代表服務的辨識值的欄位,且可在所添加的欄位中記錄與外部元件1000相關的服務的辨識值。然而,元件資訊的儲存並非僅限於此。 In operation S330, the gateway 2000 may store the component information of the external component 1000 determined to be related to the service in association with the service. For example, the gateway 2000 may add a field representing the identification value of the service to the component information table of the external component 1000, and may record the identification value of the service related to the external component 1000 in the added field. However, the storage of component information is not limited to this.

圖4是根據示例性實施例顯示元件資訊表的實例的圖 式,所述元件資訊表表示外部元件1000的元件資訊。 4 is a diagram showing an example of a component information table according to an exemplary embodiment The component information table represents the component information of the external component 1000.

參照圖4,根據示例性實施例的元件資訊表可包括元件辨識(ID)欄位40、元件種類欄位42、資料類型欄位44、資料性質欄位46、及感測週期欄位48。 Referring to FIG. 4, the component information table according to the exemplary embodiment may include a component identification (ID) field 40, a component type field 42, a data type field 44, a data property field 46, and a sensing period field 48.

外部元件1000的辨識值可記錄於元件辨識欄位40中,且外部元件1000的種類可記錄於元件種類欄位42中。舉例而言,溫度感測器、聲音感測器、氣體感測器、手錶、冰箱、洗衣機、火警警報器等可記錄於元件種類欄位42中。 The identification value of the external component 1000 can be recorded in the component identification field 40, and the type of the external component 1000 can be recorded in the component type field 42. For example, a temperature sensor, a sound sensor, a gas sensor, a watch, a refrigerator, a washing machine, a fire alarm, etc., can be recorded in the component type field 42.

此外,由外部元件1000感測到的感測資料的種類可記錄於資料類型欄位44中。舉例而言,數字、聲音、字母、影像、視訊等可記錄於資料類型欄位44中。 In addition, the type of sensing data sensed by the external device 1000 can be recorded in the data type field 44. For example, numbers, sounds, letters, images, videos, etc. can be recorded in the data type field 44.

此外,由外部元件1000感測到的感測資料的性質可記錄於資料性質欄位46中。舉例而言,數值、資料值、位元組值、字串值等可記錄於資料性質欄位46中。 In addition, the nature of the sensed data sensed by the external component 1000 can be recorded in the data property field 46. For example, numeric values, data values, byte values, string values, etc. may be recorded in the data property field 46.

此外,由外部元件1000對感測資料進行感測的週期可記錄於感測週期欄位48中。記錄於感測週期欄位48中的感測週期可為設定於外部元件1000中的缺設值。 In addition, the period in which the sensing data is sensed by the external device 1000 can be recorded in the sensing period field 48. The sensing period recorded in the sensing period field 48 may be a default value set in the external device 1000.

圖5是根據示例性實施例顯示服務資訊表的實例的圖式,所述服務資訊表表示關於由元件3000或伺服器4000提供的服務的資訊。 FIG. 5 is a diagram showing an example of a service information table that represents information about services provided by the component 3000 or the server 4000 according to an exemplary embodiment.

參照圖5,所述服務資訊表可包括服務ID欄位50、所需元件欄位52、優先次序1欄位54、優先次序2欄位56、及優先 次序3欄位58。 Referring to FIG. 5, the service information table may include a service ID field 50, a required component field 52, a priority order 1 field 54, a priority order 2 field 56, and a priority Sequence 3 column 58.

代表服務的辨識值可記錄於服務ID欄位50中,關於提供服務所需要的外部元件1000的種類及數目的資訊可記錄於所需元件欄位52中。舉例而言,「二個溫度感測器」、「三個氣體感測器」、及「一個火警警報器」可記錄於所需元件欄位52中。 The identification value representing the service can be recorded in the service ID field 50, and information about the type and number of external components 1000 required to provide the service can be recorded in the required component field 52. For example, "two temperature sensors", "three gas sensors", and "one fire alarm" can be recorded in the required component field 52.

在優先次序1欄位54、優先次序2欄位56、及優先次序3欄位58中,可記錄對於提供服務而言所需要的外部元件1000中的與上述優先次序對應的外部元件1000的種類及數目。舉例而言,「一個溫度感測器」、「一個氣體感測器」、及「一個火警警報器」可記錄於優先次序1欄位54中,「一個溫度感測器」及「一個氣體感測器」可記錄於優先次序2欄位56中,而「一個氣體感測器」可記錄於優先次序3欄位58中。 In the priority 1 field 54, the priority 2 field 56, and the priority 3 field 58, it is possible to record the type of the external component 1000 corresponding to the above priority among the external components 1000 required for providing the service And the number. For example, "one temperature sensor", "one gas sensor", and "one fire alarm" can be recorded in priority 1 field 54, "one temperature sensor" and "one gas sensor" "Sensor" can be recorded in the Priority 2 field 56 and "One gas sensor" can be recorded in the Priority 3 field 58.

記錄於所需元件欄位52、優先次序1欄位54、優先次序2欄位56、及優先次序3欄位58中的資訊可用於選擇外部元件1000的最小集合以根據資源利用率充分地提供服務。 The information recorded in the required component field 52, priority 1 field 54, priority 2 field 56, and priority 3 field 58 can be used to select the minimum set of external components 1000 to be fully provided based on resource utilization service.

圖6是根據示例性實施例顯示元件資訊表的實例的圖式,所述元件資訊表表示所儲存的用以與服務進行鏈接的元件資訊。 FIG. 6 is a diagram showing an example of a component information table that represents stored component information for linking with services according to an exemplary embodiment.

參照圖6,與服務鏈接的元件資訊表除圖4所示的元件資訊表以外可更包括相關聯服務欄位60。 Referring to FIG. 6, the component information table linked to the service may further include an associated service field 60 in addition to the component information table shown in FIG. 4.

與外部元件1000相關聯的服務的辨識值可記錄於相關聯服務欄位60中。閘道器2000可將圖4所示的元件資訊表與圖5 所示的服務資訊表彼此進行比較,以確定欲被記錄於圖6所示的相關聯服務欄位中的服務的辨識值。舉例而言,「家庭控制服務B」及「火警服務A」可與作為溫度感測器的元件A相關聯地記錄於相關聯服務欄位60中。 The identification value of the service associated with the external element 1000 may be recorded in the associated service field 60. The gateway 2000 can combine the component information table shown in FIG. 4 and FIG. 5 The service information tables shown are compared with each other to determine the identification value of the service to be recorded in the associated service field shown in FIG. 6. For example, "Home Control Service B" and "Fire Alarm Service A" may be recorded in the associated service field 60 in association with the element A as a temperature sensor.

圖7是根據示例性實施例,一種使閘道器2000設定感測資料的資料傳輸規則的方法的流程圖。 7 is a flowchart of a method for the gateway 2000 to set the data transmission rule of the sensing data according to an exemplary embodiment.

在操作S700中,閘道器2000可確定對應於資源利用率的外部元件1000。閘道器2000可根據閘道器2000的資源利用率的每一部分來確定對於提供服務而言所需要的外部元件1000。閘道器2000可基於外部元件1000的元件資訊及元件3000或伺服器4000的服務資訊來確定與閘道器2000的資源利用率對應的外部元件1000。閘道器2000可不選擇與服務無關的外部元件1000。此外,閘道器2000可自對於提供服務而言所需要的外部元件1000中選擇對於服務而言所必需的外部元件1000,且可不選擇非必需的外部元件。 In operation S700, the gateway 2000 may determine the external element 1000 corresponding to the resource utilization rate. The gateway 2000 may determine the external element 1000 required for providing the service according to each part of the resource utilization rate of the gateway 2000. The gateway 2000 may determine the external component 1000 corresponding to the resource utilization rate of the gateway 2000 based on the component information of the external component 1000 and the service information of the component 3000 or the server 4000. The gateway 2000 may not select external components 1000 that are not related to services. In addition, the gateway 2000 may select the external element 1000 necessary for the service from the external elements 1000 necessary for providing the service, and may not select the unnecessary external element.

舉例而言,若對於提供火警服務而言所需要的外部元件1000為二個溫度感測器、三個氣體感測器、及一個火警警報器,則閘道器2000可選擇溫度感測器A、溫度感測器B、氣體感測器A、氣體感測器B、氣體感測器C、及火警警報器A作為與閘道器2000的介於0%至70%範圍內的資源利用率對應的外部元件1000。此外,閘道器2000可選擇溫度感測器A、氣體感測器A、氣體感測器B、及火警警報器A作為與閘道器2000的介於70%至 100%範圍內的資源利用率對應的外部元件1000。 For example, if the external components 1000 required for providing the fire alarm service are two temperature sensors, three gas sensors, and a fire alarm, then the gateway 2000 can select the temperature sensor A , Temperature sensor B, gas sensor A, gas sensor B, gas sensor C, and fire alarm A as the resource utilization rate between 0% and 70% of the gateway 2000 Corresponding external element 1000. In addition, the gateway 2000 can select a temperature sensor A, a gas sensor A, a gas sensor B, and a fire alarm A as the range from 70% to The external component 1000 corresponding to the resource utilization within the range of 100%.

在操作S710中,閘道器2000可確定將自外部元件1000傳送的感測資料的資料提供方法。所述資料提供方法可包括例如在收集感測資料之後提供、在對感測資料進行劃分之後提供、及在計算感測資料的平均值之後提供。此外,所述資料提供方法可包括一種將新產生的感測資料與先前傳送至閘道器2000的感測資料進行比較以僅傳送發生改變的(例如,有差別的)資料的方法。閘道器2000可慮及感測資料的即時性質及感測資料的大小而確定感測資料的資料提供方法。閘道器2000可控制外部元件1000將大容量的感測資料劃分成塊(piece),且外部元件1000將小容量的感測資料進行組合。此外,當感測資料的性質為數值時,閘道器2000可控制外部元件1000傳送所述感測資料的平均值。 In operation S710, the gateway 2000 may determine the data providing method of the sensing data to be transmitted from the external device 1000. The data providing method may include, for example, providing after collecting the sensing data, providing after dividing the sensing data, and providing after calculating the average value of the sensing data. In addition, the data providing method may include a method of comparing newly generated sensing data with the sensing data previously transmitted to the gateway 2000 to transmit only changed (eg, differential) data. The gateway 2000 may determine the data providing method of the sensing data in consideration of the real-time nature of the sensing data and the size of the sensing data. The gateway 2000 can control the external component 1000 to divide the large-capacity sensing data into pieces, and the external component 1000 combines the small-capacity sensing data. In addition, when the nature of the sensing data is a numerical value, the gateway 2000 can control the external device 1000 to transmit the average value of the sensing data.

舉例而言,在火警服務中,在閘道器2000的資源利用率介於0%至70%的範圍內的情形中,閘道器2000可確定容許溫度感測器A、溫度感測器B、氣體感測器A、氣體感測器B、氣體感測器C、及火警警報器A在不對感測資料進行處理的情況下將感測資料傳送至閘道器2000。此外,在閘道器2000的資源利用率介於70%至100%的範圍內的情形中,閘道器2000可確定容許溫度感測器A傳送感測資料的平均值,氣體感測器A傳送經劃分的感測資料,且氣體感測器B傳送經組合的感測資料。 For example, in the fire alarm service, in the case where the resource utilization rate of the gateway 2000 is in the range of 0% to 70%, the gateway 2000 can determine the allowable temperature sensor A and the temperature sensor B , The gas sensor A, the gas sensor B, the gas sensor C, and the fire alarm A send the sensing data to the gateway 2000 without processing the sensing data. In addition, in the case where the resource utilization rate of the gateway 2000 is in the range of 70% to 100%, the gateway 2000 can determine the average value that allows the temperature sensor A to transmit the sensing data, and the gas sensor A The divided sensing data is transmitted, and the gas sensor B transmits the combined sensing data.

在操作S720中,閘道器2000可確定將自外部元件1000傳送的感測資料的資料傳輸週期。閘道器2000可慮及感測資料的 即時性質、資料大小、及資料提供方法而確定感測資料的資料傳輸週期。 In operation S720, the gateway 2000 may determine the data transmission period of the sensing data to be transmitted from the external device 1000. Gateway 2000 allows for sensing data The real-time nature, data size, and data provision method determine the data transmission period of the sensed data.

舉例而言,在火警服務中,在閘道器2000的資源利用率介於0%至70%的範圍內時,閘道器2000可控制溫度感測器A、溫度感測器B、氣體感測器A、氣體感測器B、氣體感測器C、及火警警報器A以缺設週期將感測資料傳送至閘道器2000。此外,在閘道器2000的資源利用率介於70%至100%的範圍內時,閘道器2000可控制溫度感測器A每三十分鐘一次地傳送感測資料的平均值,並控制氣體感測器A每二分鐘一次地傳送經劃分的感測資料。 For example, in the fire alarm service, when the resource utilization rate of the gateway 2000 is in the range of 0% to 70%, the gateway 2000 can control the temperature sensor A, the temperature sensor B, and the gas sensor The sensor A, the gas sensor B, the gas sensor C, and the fire alarm A send the sensing data to the gateway 2000 in a default period. In addition, when the resource utilization rate of the gateway 2000 is in the range of 70% to 100%, the gateway 2000 can control the temperature sensor A to transmit the average value of the sensing data every thirty minutes and control The gas sensor A transmits the divided sensing data every two minutes.

在操作S730中,閘道器2000可判斷是否在被排程的傳輸中自外部元件1000傳送感測資料。閘道器2000可慮及感測資料的即時性質、資料大小、及資料提供方法而判斷感測資料是否作為被排程傳輸進行傳送。 In operation S730, the gateway 2000 may determine whether to transmit the sensing data from the external device 1000 in the scheduled transmission. The gateway 2000 can determine whether the sensing data is transmitted as scheduled transmission in consideration of the real-time nature of the sensing data, the data size, and the data providing method.

舉例而言,在火警服務中,在閘道器2000的資源利用率介於70%至100%的範圍內時,閘道器2000可確定使得氣體感測器B被排程為在預定時間傳送所收集的感測資料。 For example, in the fire alarm service, when the resource utilization rate of the gateway 2000 is in the range of 70% to 100%, the gateway 2000 may determine that the gas sensor B is scheduled to be transmitted at a predetermined time Sensing data collected.

圖8是根據示例性實施例,顯示表示感測資料的資料傳輸規則的表的實例的圖式。 FIG. 8 is a diagram showing an example of a table representing data transmission rules of sensing materials according to an exemplary embodiment.

參照圖8,所述資料傳輸規則表包括服務ID欄位80、資源利用率欄位82、外部元件欄位84、暫停欄位86、資料提供方法欄位87、傳輸週期欄位88、及排程傳輸欄位89。 Referring to FIG. 8, the data transmission rule table includes a service ID field 80, a resource utilization field 82, an external component field 84, a pause field 86, a data provision method field 87, a transmission cycle field 88, and a schedule Cheng Transmission Field 89.

利用感測資料的服務的辨識值可記錄於服務ID欄位80中,且閘道器2000的資源利用率可記錄於資源利用率欄位82中。資源利用率的週期的值可記錄於資源利用率欄位82中。 The identification value of the service using the sensing data may be recorded in the service ID field 80, and the resource utilization rate of the gateway 2000 may be recorded in the resource utilization field 82. The value of the resource utilization period may be recorded in the resource utilization field 82.

此外,與資源利用率對應的外部元件1000的辨識值可記錄於外部元件欄位84中。此外,表示與資源利用率對應的外部元件1000的感測資料的傳輸是否暫停的值可記錄於暫停欄位86中。 In addition, the identification value of the external component 1000 corresponding to the resource utilization rate can be recorded in the external component field 84. In addition, a value indicating whether the transmission of the sensing data of the external element 1000 corresponding to the resource utilization rate is suspended may be recorded in the suspension field 86.

此外,表示外部元件1000的感測資料提供方法的值可記錄於資料提供方法欄位87中,例如「平均」、「分離」、「組合」及「改變」可記錄於資料提供方法欄位87中。 In addition, the value representing the sensing data providing method of the external component 1000 can be recorded in the data providing method field 87, for example, "average", "separate", "combination" and "change" can be recorded in the data providing method field 87 in.

此外,感測資料的傳輸週期可記錄於傳輸週期欄位88中,且表示是否執行感測資料的排程傳輸的值可記錄於排程傳輸欄位89中。 In addition, the transmission period of the sensing data can be recorded in the transmission period field 88, and the value indicating whether to perform the scheduled transmission of the sensing data can be recorded in the scheduled transmission field 89.

圖8顯示代表關於一個服務的資料傳輸規則的表,但資料傳輸規則的儲存及配置並非僅限於此。在由閘道器2000所收集的感測資料被用於多個服務中的情形中,閘道器2000可設定資料傳輸規則。在此種情形中,閘道器2000可慮及即時性質、優先次序、及在所述多個服務中的每一者中所使用的感測資料的資料大小而設定資料傳輸規則。 Figure 8 shows a table representing data transmission rules about a service, but the storage and configuration of data transmission rules is not limited to this. In the case where the sensing data collected by the gateway 2000 is used in multiple services, the gateway 2000 may set data transmission rules. In this case, the gateway 2000 may set the data transmission rule in consideration of the real-time nature, priority, and the data size of the sensing data used in each of the plurality of services.

此外,圖8顯示其中資源利用率分二個部分的實例,但資源利用率的配置並非僅限於此,且資源利用率可分三或更多個部分。 In addition, FIG. 8 shows an example in which the resource utilization rate is divided into two parts, but the configuration of the resource utilization rate is not limited to this, and the resource utilization rate can be divided into three or more parts.

圖9是說明一種使閘道器2000判斷資源利用率是否大於預先設定的臨界值的方法的流程圖。 FIG. 9 is a flowchart illustrating a method for the gateway 2000 to determine whether the resource utilization rate is greater than a predetermined threshold.

在操作S900中,閘道器2000可監視閘道器2000中的CPU利用率,且在操作S910中,閘道器2000可監視閘道器2000的記憶體利用率。 In operation S900, the gateway 2000 may monitor the CPU utilization in the gateway 2000, and in operation S910, the gateway 2000 may monitor the memory utilization of the gateway 2000.

在操作S920中,閘道器2000可判斷CPU利用率及/或記憶體利用率是否超過預先設定的臨界值。閘道器2000可判斷CPU利用率是否超過預先設定的臨界值、記憶體利用率是否超過預先設定的臨界值、抑或CPU利用率及記憶體利用率二者是否皆超過預先設定的臨界值。此外,閘道器2000可判斷CPU利用率及記憶體利用率的值是否超過預先設定的臨界值。此外,閘道器2000可判斷資源利用率超過臨界值的狀態是否保持了預定時間週期。 In operation S920, the gateway 2000 may determine whether the CPU utilization rate and/or the memory utilization rate exceed a predetermined threshold. The gateway 2000 can determine whether the CPU utilization exceeds a predetermined threshold, whether the memory utilization exceeds a predetermined threshold, or whether both CPU utilization and memory utilization exceed a predetermined threshold. In addition, the gateway 2000 can determine whether the values of CPU utilization and memory utilization exceed predetermined thresholds. In addition, the gateway 2000 can determine whether the state in which the resource utilization exceeds a critical value has been maintained for a predetermined period of time.

在圖9中,閘道器2000基於CPU利用率及/或記憶體利用率來判斷資源利用率,但資源利用率並非僅限於此。舉例而言,閘道器2000可根據使用各種資源的狀態來判斷資源利用率,例如緩衝記憶體的使用量或通訊狀態、以及CPU使用量及記憶體使用量。此外,用於判斷資源利用率的準則可以各種不同方式設定。 In FIG. 9, the gateway 2000 determines the resource utilization rate based on the CPU utilization rate and/or the memory utilization rate, but the resource utilization rate is not limited to this. For example, the gateway 2000 can determine the resource utilization according to the status of using various resources, such as buffer memory usage or communication status, and CPU usage and memory usage. In addition, the criteria for judging resource utilization can be set in various ways.

圖10是一種在資源利用率發生改變時使閘道器2000自多個外部元件1000接收感測資料以對來自所述多個外部元件1000的感測資料的傳輸進行控制的方法的流程圖。 10 is a flowchart of a method for causing the gateway 2000 to receive sensing data from a plurality of external elements 1000 to control the transmission of the sensing data from the plurality of external elements 1000 when the resource utilization rate changes.

在操作S1000至操作S1030中,第一外部元件1100、第 二外部元件1200、第三外部元件1300、及第四外部元件1400可根據缺設規則將感測資料提供至閘道器(G/W)2000。舉例而言,第一外部元件1100、第二外部元件1200、第三外部元件1300、及第四外部元件1400可在未執行額外過程的情況下將感測資料傳送至閘道器2000。此外,自第一外部元件1100、第二外部元件1200、第三外部元件1300、及第四外部元件1400提供的感測資料的傳輸週期可被設定為缺設值。 In operations S1000 to S1030, the first external element 1100, the first The second external element 1200, the third external element 1300, and the fourth external element 1400 may provide the sensing data to the gateway (G/W) 2000 according to the default rule. For example, the first external element 1100, the second external element 1200, the third external element 1300, and the fourth external element 1400 may transmit the sensing data to the gateway 2000 without performing additional processes. In addition, the transmission period of the sensing data provided from the first external element 1100, the second external element 1200, the third external element 1300, and the fourth external element 1400 may be set to a default value.

在操作S1040中,閘道器2000可判斷閘道器2000的資源利用率是否超過預先設定的臨界值。閘道器2000可監視閘道器2000的CPU利用率及記憶體利用率。此外,閘道器2000可判斷閘道器2000的CPU利用率及/或記憶體利用率是否可超過預先設定的臨界值。 In operation S1040, the gateway 2000 may determine whether the resource utilization rate of the gateway 2000 exceeds a predetermined threshold. The gateway 2000 can monitor the CPU utilization and memory utilization of the gateway 2000. In addition, the gateway 2000 can determine whether the CPU utilization and/or memory utilization of the gateway 2000 can exceed a predetermined threshold.

作為操作S1040中的判斷結果,若閘道器2000的資源利用率未超過預先設定的臨界值,則閘道器2000可重複執行操作S1040。 As a result of the determination in operation S1040, if the resource utilization rate of the gateway 2000 does not exceed a preset threshold, the gateway 2000 may repeatedly perform operation S1040.

此外,作為操作S1040中的判斷結果,若閘道器2000的資源利用率超過預先設定的臨界值,則閘道器2000可執行操作S1050。 In addition, as a result of the determination in operation S1040, if the resource utilization rate of the gateway 2000 exceeds a predetermined threshold value, the gateway 2000 may perform operation S1050.

在操作S1050中,閘道器2000可辨識對應於資源利用率的資料傳輸規則。閘道器2000可利用預先產生的資料傳輸規則表來辨識與閘道器2000的資源利用率對應的資料傳輸規則。 In operation S1050, the gateway 2000 may recognize the data transmission rule corresponding to the resource utilization rate. The gateway 2000 may use a pre-generated data transmission rule table to identify the data transmission rule corresponding to the resource utilization rate of the gateway 2000.

在操作S1060至操作S1090中,閘道器2000可根據所 辨識的資料傳輸規則控制來自第一外部元件1100、第二外部元件1200、第三外部元件1300、及第四外部元件1400的感測資料的傳輸。 In operation S1060 to operation S1090, the gateway 2000 may be The identified data transmission rules control the transmission of the sensing data from the first external element 1100, the second external element 1200, the third external element 1300, and the fourth external element 1400.

在操作S1060中,閘道器2000可將控制訊息傳送至第一外部元件1100,以執行感測資料的平均值的排程傳輸。 In operation S1060, the gateway 2000 may transmit the control message to the first external device 1100 to perform the scheduled transmission of the average value of the sensing data.

在操作S1070中,閘道器2000可將控制訊息傳送至第二外部元件1200,以分別地傳送感測資料並改變傳輸週期。 In operation S1070, the gateway 2000 may transmit the control message to the second external element 1200 to separately transmit the sensing data and change the transmission period.

在操作S1080中,閘道器2000可將控制訊息傳送至第三外部元件1300,以組合並傳送感測資料。 In operation S1080, the gateway 2000 may transmit the control message to the third external element 1300 to combine and transmit the sensing data.

此外,在操作S1090中,閘道器2000可將控制訊息傳送至第四外部元件1400,以暫停感測資料的傳輸。 In addition, in operation S1090, the gateway 2000 may transmit the control message to the fourth external element 1400 to suspend the transmission of the sensing data.

此後,第一外部元件1100、第二外部元件1200、及第三外部元件1300可基於自閘道器2000傳送的控制訊息將感測資料傳送至閘道器2000。 Thereafter, the first external element 1100, the second external element 1200, and the third external element 1300 may transmit the sensing data to the gateway 2000 based on the control message transmitted from the gateway 2000.

此外,閘道器2000可將自第一外部元件1100、第二外部元件1200、及第三外部元件1300傳送的感測資料提供至元件3000或伺服器4000以使得元件3000或伺服器4000可向使用者提供預定服務。 In addition, the gateway 2000 can provide the sensing data transmitted from the first external component 1100, the second external component 1200, and the third external component 1300 to the component 3000 or the server 4000 so that the component 3000 or the server 4000 can Users provide scheduled services.

圖11是根據示例性實施例顯示控制訊息的實例的圖式,所述控制訊息自閘道器2000傳送至外部元件1000以控制來自外部元件1000的感測資料的傳輸。 FIG. 11 is a diagram showing an example of control messages transmitted from the gateway 2000 to the external device 1000 to control the transmission of sensing data from the external device 1000 according to an exemplary embodiment.

參照圖11,舉例而言,控制訊息可具有二個位元組的大 小。在此種情形中,控制訊息可包括表示控制訊息的類型的一位元(one-bit)值110、表示資料提供方法的三位元值112、表示資料提供方法的子規則的四位元值114、及用於改變感測資料的傳輸週期的八位元值116。 Referring to FIG. 11, for example, the control message may have a large size of two bytes small. In this case, the control message may include a one-bit value 110 indicating the type of control message, a three-bit value 112 indicating the data providing method, and a four-bit value indicating the sub-rule of the data providing method 114, and an octet value 116 for changing the transmission period of the sensing data.

表示控制訊息的類型的一位元值110可表示控制訊息是否為用於暫停來自外部元件1000的感測資料的傳輸的訊息。舉例而言,若表示控制訊息的類型的一位元值110為「1」,則所述控制訊息可為用於準許外部元件1000傳送感測資料並控制感測資料的傳輸的訊息。此外,若表示控制訊息的類型的一位元值110為「0」,則所述控制訊息可為用於暫停來自外部元件1000的感測資料的傳輸的訊息。此外,若表示控制訊息的類型的一位元值110為「0」且控制訊息中的其他位元皆為1,則所述控制訊息可為用於暫停來自外部元件1000的感測資料的傳輸且累積並儲存由外部元件1000所感測到的感測資料的訊息。 The one-bit value 110 indicating the type of control message may indicate whether the control message is a message for suspending the transmission of the sensing data from the external device 1000. For example, if the one-bit value 110 indicating the type of the control message is "1", the control message may be a message for permitting the external device 1000 to transmit the sensing data and controlling the transmission of the sensing data. In addition, if the one-bit value 110 indicating the type of the control message is "0", the control message may be a message for suspending the transmission of the sensing data from the external element 1000. In addition, if the one-bit value 110 indicating the type of the control message is "0" and the other bits in the control message are all 1, the control message may be used to suspend the transmission of the sensing data from the external device 1000 And the information of the sensing data sensed by the external device 1000 is accumulated and stored.

表示資料提供方法的三位元值112可為表示外部元件1000如何處理並提供感測資料的值。舉例而言,若表示資料提供方法的三位元值112為「0」,則控制訊息可為用於控制外部元件1000不對感測資料進行額外處理的訊息。此外,若表示資料提供方法的三位元值112為「1」,則控制訊息可為用於控制外部元件1000傳送感測資料的平均值的訊息。此外,若表示資料提供方法的三位元值112為「2」,則控制訊息可為用於控制外部元件1000組合並傳送感測資料的訊息。此外,若表示資料提供方法的三位 元值112為「3」,則控制訊息可為用於控制外部元件1000劃分感測資料並傳送所劃分的感測資料的訊息。此外,若表示資料提供方法的三位元值112為「4」,則控制訊息可為用於控制外部元件1000將新收集的感測資料與先前的感測資料進行比較以僅傳送發生改變的感測資料的訊息。此外,若表示資料提供方法的三位元值112為「5」,則控制訊息可為用於控制外部元件1000在組合感測資料的平均值之後傳送感測資料的訊息。 The three-bit value 112 indicating the data providing method may be a value indicating how the external device 1000 processes and provides the sensing data. For example, if the three-bit value 112 representing the data providing method is "0", the control message may be a message for controlling the external device 1000 not to perform additional processing on the sensed data. In addition, if the three-bit value 112 indicating the data providing method is "1", the control message may be a message for controlling the average value of the sensing data transmitted by the external device 1000. In addition, if the three-bit value 112 indicating the data providing method is "2", the control message may be a message for controlling the external device 1000 to combine and transmit the sensing data. In addition, if the three If the meta value 112 is "3", the control message may be a message for controlling the external device 1000 to divide the sensing data and transmit the divided sensing data. In addition, if the three-bit value 112 indicating the data providing method is "4", the control message may be used to control the external component 1000 to compare the newly collected sensing data with the previous sensing data to transmit only the changed Sensing data messages. In addition, if the three-bit value 112 indicating the data providing method is "5", the control message may be a message for controlling the external device 1000 to transmit the sensed data after combining the average value of the sensed data.

表示資料提供方法的子規則的四位元值114可表示關於資料處理的次數。舉例而言,表示資料提供方法的子規則的四位元值114可表示對感測資料進行劃分的次數、對感測資料進行組合的次數、或欲被計算平均值的感測資料的條數。 The four-bit value 114 indicating the sub-rule of the data providing method may indicate the number of times regarding data processing. For example, the four-bit value 114 representing the sub-rule of the data provision method may represent the number of times the sensing data is divided, the number of times the sensing data are combined, or the number of pieces of sensing data to be averaged .

用於改變感測資料的傳輸週期的八位元值116可表示感測資料的傳輸週期。 The octet value 116 for changing the transmission period of the sensing data may represent the transmission period of the sensing data.

圖12是根據示例性實施例,在資源利用率小於預先設定的臨界值時使閘道器2000控制外部元件1000的流程圖。 FIG. 12 is a flowchart of causing the gateway 2000 to control the external element 1000 when the resource utilization rate is less than a predetermined threshold according to an exemplary embodiment.

在操作S1200中,閘道器2000可判斷閘道器2000的資源利用率是否小於預先設定的臨界值。當閘道器2000的資源利用率小於預先設定的臨界值時,閘道器2000可與外部元件1000通訊而不存在任何特定限制。閘道器2000可判斷CPU利用率是否小於預先設定的臨界值、記憶體利用率是否小於預先設定的臨界值、抑或CPU利用率及記憶體利用率二者是否皆小於預先設定的臨界值。此外,閘道器2000可判斷CPU利用率與記憶體利用率 的平均值是否小於預先設定的臨界值。此外,閘道器2000可判斷資源利用率小於預先設定的臨界值的狀態是否保持了預定時間週期或更長。 In operation S1200, the gateway 2000 may determine whether the resource utilization rate of the gateway 2000 is less than a predetermined threshold. When the resource utilization rate of the gateway 2000 is less than the preset threshold, the gateway 2000 can communicate with the external device 1000 without any specific restrictions. The gateway 2000 can determine whether the CPU utilization rate is less than the preset threshold value, whether the memory utilization rate is less than the preset threshold value, or whether both the CPU utilization rate and the memory utilization rate are less than the preset threshold value. In addition, Gateway 2000 can determine CPU utilization and memory utilization Whether the average value of is less than the preset threshold value. In addition, the gateway 2000 can determine whether the state in which the resource utilization rate is less than a predetermined threshold value has been maintained for a predetermined time period or longer.

作為操作S1200中的判斷結果,若資源利用率大於預先設定的臨界值,則在操作S1210中閘道器2000可不改變當前的資料傳輸規則。舉例而言,閘道器2000可不改變在操作S1040中辨識的資料傳輸規則。 As a result of the determination in operation S1200, if the resource utilization rate is greater than a preset threshold, the gateway 2000 may not change the current data transmission rule in operation S1210. For example, the gateway 2000 may not change the data transmission rule identified in operation S1040.

作為操作S1200中的判斷結果,若資源利用率小於預先設定的臨界值,則在操作S1220中閘道器2000可請求外部元件1000根據缺設規則傳送感測資料。閘道器2000可將用於控制外部元件1000根據缺設規則傳送感測資料的控制訊息傳送至外部元件1000。所述缺設規則是在閘道器2000可充分地利用資源的情形中的資料傳輸規則,亦即,是具有缺設值的資料傳輸規則。 As a result of the determination in operation S1200, if the resource utilization rate is less than the preset threshold, in operation S1220, the gateway 2000 may request the external component 1000 to transmit the sensing data according to the default rule. The gateway 2000 can transmit a control message for controlling the external device 1000 to transmit the sensing data according to the default rule to the external device 1000. The default rule is a data transmission rule in the case where the gateway 2000 can make full use of resources, that is, a data transmission rule with a default value.

圖13是根據示例性實施例,顯示其中在火警服務提供系統中閘道器2000控制外部元件1000的實例的圖式。 FIG. 13 is a diagram showing an example in which the gateway 2000 controls the external element 1000 in the fire alarm service providing system according to an exemplary embodiment.

參照圖13,閘道器2000可連接至溫度感測器A 1002、溫度感測器B 1004、氣體感測器A 1006、氣體感測器B 1008、閉路電視1010、及用於提供至少另一服務的感測器1060,以提供火警服務。此外,閘道器2000可連接至火警警報器1070至1074、元件3000、及伺服器4000。 Referring to FIG. 13, the gateway 2000 may be connected to a temperature sensor A 1002, a temperature sensor B 1004, a gas sensor A 1006, a gas sensor B 1008, a closed circuit television 1010, and for providing at least another Serve the sensor 1060 to provide fire alarm service. In addition, the gateway 2000 can be connected to the fire alarms 1070 to 1074, the element 3000, and the server 4000.

若閘道器2000的資源利用率低且閘道器2000可與外部元件1000充分通訊,則閘道器2000可根據缺設規則自溫度感測 器A 1002、溫度感測器B 1004、氣體感測器A 1006、氣體感測器B 1008、閉路電視1010、及用於提供另一服務的感測器1060接收感測資料。 If the resource utilization of the gateway 2000 is low and the gateway 2000 can fully communicate with the external component 1000, the gateway 2000 can self-temperature sense according to the lack of rules A sensor 1002, a temperature sensor B 1004, a gas sensor A 1006, a gas sensor B 1008, a closed circuit television 1010, and a sensor 1060 for providing another service receive sensing data.

此後,閘道器2000的資源利用率變高且閘道器2000可能無法充分地與外部元件1000通訊,此時閘道器2000可暫停傳送來自溫度感測器B 1004、氣體感測器B 1008、及用於提供另一服務的感測器1060的感測資料。此外,閘道器2000可改變感測資料的傳輸週期以及溫度感測器A 1002、氣體感測器A 1006、及閉路電視1010的感測資料提供方法。 After that, the resource utilization rate of the gateway 2000 becomes high and the gateway 2000 may not be able to communicate with the external device 1000 sufficiently. At this time, the gateway 2000 may suspend transmission from the temperature sensor B 1004 and the gas sensor B 1008 And the sensing data of the sensor 1060 for providing another service. In addition, the gateway 2000 can change the transmission period of the sensing data and the method of providing the sensing data of the temperature sensor A 1002, the gas sensor A 1006, and the CCTV 1010.

此後,若閘道器2000基於來自氣體感測器A 1006的感測資料而確定感測到氣體,則閘道器2000可啟動氣體感測器A 1006及氣體感測器B 1008兩者,並可控制氣體感測器A 1006及氣體感測器B 1008以較短的傳輸週期傳送感測資料。 Thereafter, if the gateway 2000 determines that the gas is sensed based on the sensing data from the gas sensor A 1006, the gateway 2000 may activate both the gas sensor A 1006 and the gas sensor B 1008, and The gas sensor A 1006 and the gas sensor B 1008 can be controlled to transmit the sensing data in a shorter transmission period.

此後,若閘道器2000基於所接收的資料確定已發生火災,則閘道器2000可控制火警警報器1070至1074運作以發出火災警報。此外,若閘道器2000確定已發生火災,則閘道器2000可停止除用於通知爆發火災的外部元件1000以外的其他外部元件1000的運作。是否存在火災可由閘道器2000確定,但所述確定並非僅限於此,且元件3000及/或伺服器4000亦可判斷是否發生了火災。此外,閘道器2000可通知另一閘道器爆發了火災。此外,閘道器2000通知元件3000及/或伺服器4000爆發了火災,以使元件3000及/或伺服器4000可運作以對火災作出響應。 Thereafter, if the gateway 2000 determines that a fire has occurred based on the received data, the gateway 2000 can control the operation of the fire alarms 1070 to 1074 to issue a fire alarm. In addition, if the gateway 2000 determines that a fire has occurred, the gateway 2000 may stop the operation of the external components 1000 other than the external component 1000 for notifying the outbreak of the fire. Whether there is a fire can be determined by the gateway 2000, but the determination is not limited to this, and the element 3000 and/or the server 4000 can also determine whether a fire has occurred. In addition, the gateway 2000 may notify another gateway that a fire broke out. In addition, the gateway 2000 notifies the element 3000 and/or the server 4000 that a fire broke out, so that the element 3000 and/or the server 4000 can operate to respond to the fire.

圖14是根據示例性實施例,一種在火警服務提供系統中在閘道器2000的資源利用率增大時使閘道器2000控制外部元件1000的方法的流程圖。 14 is a flowchart of a method of causing the gateway 2000 to control the external element 1000 when the resource utilization rate of the gateway 2000 increases in the fire alarm service providing system according to an exemplary embodiment.

在操作S1400至操作S1420中,溫度感測器A 1002、溫度感測器B 1004、氣體感測器A 1006、氣體感測器B 1008、及閉路電視1010可根據缺設規則將感測資料傳送至閘道器2000。 In operations 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 can transmit the sensing data according to the default rules To gateway 2000.

在操作S1400中,溫度感測器A 1002可每秒一次(1/秒)地將所感測到的溫度資料傳送至閘道器2000,且在操作S1405中,溫度感測器B 1004可每秒一次(1/秒)地將所感測到的溫度資料傳送至閘道器2000。此外,在操作S1410中,氣體感測器A 1006可每秒一次(1/秒)地將代表是否偵測到氣體洩漏的氣體感測資料傳送至閘道器2000,且在操作S1415中,氣體感測器B 1008可每秒一次(1/秒)地將代表是否偵測到氣體洩漏的氣體感測資料傳送至閘道器2000。此外,在操作S1420中,閉路電視1010可將所拍攝的影像資料傳送至閘道器2000,且在操作S1425中,用於提供另一服務的感測器1060可將感測資料傳送至閘道器2000。 In operation S1400, the temperature sensor A 1002 may transmit the sensed temperature data to the gateway 2000 once per second (1/sec), and in operation S1405, the temperature sensor B 1004 may Transmit the sensed temperature data to the gateway 2000 once (1/sec). In addition, in operation S1410, the gas sensor A 1006 may transmit the gas sensing data representing whether a gas leak is detected to the gateway 2000 once per second (1/sec), and in operation S1415, the gas The sensor B 1008 can transmit the gas sensing data representing whether a gas leak is detected to the gateway 2000 once per second (1/second). In addition, in operation S1420, the CCTV 1010 may transmit the captured image data to the gateway 2000, and in operation S1425, the sensor 1060 for providing another service may transmit the sensing data to the gateway器2000.

在操作S1430中,閘道器2000可判斷閘道器2000的資源利用率是否超過預先設定的臨界值。閘道器2000可監視閘道器2000的CPU利用率及記憶體利用率。此外,閘道器2000可判斷閘道器2000的CPU利用率及/或記憶體利用率是否超過預先設定的臨界值。 In operation S1430, the gateway 2000 may determine whether the resource utilization rate of the gateway 2000 exceeds a predetermined threshold. The gateway 2000 can monitor the CPU utilization and memory utilization of the gateway 2000. In addition, the gateway 2000 can determine whether the CPU utilization and/or memory utilization of the gateway 2000 exceeds a predetermined threshold.

作為操作S1430中的判斷結果,若閘道器2000的資源 利用率未超過預先設定的臨界值,則閘道器2000可重複執行操作S1430。 As a result of the determination in operation S1430, if the resources of the gateway 2000 If the utilization rate does not exceed the preset threshold, the gateway 2000 may repeatedly perform operation S1430.

此外,作為操作S1430中的判斷結果,若閘道器2000的資源利用率超過預先設定的臨界值,則閘道器2000可執行操作S1435。 In addition, as a result of the determination in operation S1430, if the resource utilization rate of the gateway 2000 exceeds a predetermined threshold value, the gateway 2000 may perform operation S1435.

在操作S1435中,閘道器2000可辨識與閘道器2000的資源利用率對應的資料傳輸規則。閘道器2000可利用預先產生的資料傳輸規則表來辨識與閘道器2000的資源利用率對應的資料傳輸規則。 In operation S1435, the gateway 2000 may recognize the data transmission rule corresponding to the resource utilization rate of the gateway 2000. The gateway 2000 may use a pre-generated data transmission rule table to identify the data transmission rule corresponding to the resource utilization rate of the gateway 2000.

在操作S1440至操作S1460中,閘道器2000可根據所辨識的資料傳輸規則來控制溫度感測器A 1002、溫度感測器B 1004、氣體感測器A 1006、氣體感測器B 1008、閉路電視1010、及用於提供另一服務的感測器1060。 In operation S1440 to operation S1460, the gateway 2000 may control the temperature sensor A 1002, the temperature sensor B 1004, the gas sensor A 1006, the gas sensor B 1008, according to the recognized data transmission rule. CCTV 1010, and sensor 1060 for providing another service.

在操作S1440中,閘道器2000可請求溫度感測器A 1002將溫度資料的傳輸週期改變為0.2/秒並傳送溫度資料的平均值。閘道器2000可將控制訊息傳送至溫度感測器A 1002以將溫度資料的傳輸週期改變為0.2/秒並傳送溫度資料的平均值。 In operation 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 transmit the average value of the temperature data. The gateway 2000 can send a control message to the temperature sensor A 1002 to change the transmission period of the temperature data to 0.2/sec and transmit the average value of the temperature data.

在操作S1445中,閘道器2000可請求溫度感測器B 1004暫停傳送溫度資料。閘道器2000可將控制訊息傳送至溫度感測器B 1004以暫停傳送溫度資料。 In operation S1445, the gateway 2000 may request the temperature sensor B 1004 to suspend the transmission of temperature data. The gateway 2000 can send a control message to the temperature sensor B 1004 to suspend the transmission of temperature data.

在操作S1450中,閘道器2000可請求氣體感測器A 1006將氣體感測資料的傳輸週期改變為0.5/秒。閘道器2000可將控制 訊息傳送至氣體感測器A 1006以將氣體感測資料的傳輸週期改變為0.5/秒。 In operation S1450, the gateway 2000 may request the gas sensor A 1006 to change the transmission period of the gas sensing data to 0.5/sec. Gateway 2000 can control The message is sent to the gas sensor A 1006 to change the transmission period of the gas sensing data to 0.5/sec.

在操作S1455中,閘道器2000可請求氣體感測器B 1008暫停傳送氣體感測資料。閘道器2000可將控制訊息傳送至氣體感測器B 1008以暫停傳送氣體感測資料。 In operation S1455, the gateway 2000 may request the gas sensor B 1008 to suspend transmission of the gas sensing data. The gateway 2000 can transmit the control message to the gas sensor B 1008 to suspend the transmission of the gas sensing data.

在操作S1460中,閘道器2000可保持閉路電視1010的資料傳輸規則。閘道器2000可不傳送控制訊息至閉路電視1010以不改變閉路電視1010的資料傳輸規則。 In operation S1460, the gateway 2000 may maintain the data transmission rules of the CCTV 1010. The gateway 2000 may not send a control message to the CCTV 1010 so as not to change the data transmission rules of the CCTV 1010.

在操作S1465中,閘道器2000可請求用於提供另一服務的至少一個感測器1060暫停傳送感測資料。 In operation S1465, the gateway 2000 may request at least one sensor 1060 for providing another service to suspend transmission of the sensing data.

圖15是一種在確定感測到氣體或偵測到火災時使閘道器2000控制外部元件1000的方法的流程圖。圖15所示的過程可在圖14所示的過程之後執行,但過程的順序並非僅限於此。 15 is a flowchart of a method for causing the gateway 2000 to control the external element 1000 when it is determined that gas is sensed or a fire is detected. The process shown in FIG. 15 may be performed after the process shown in FIG. 14, but the order of the process is not limited to this.

在操作S1500中,閘道器2000可判斷是否感測到氣體。閘道器2000可基於自氣體感測器A 1006傳送的氣體感測資料來判斷是否感測到氣體。 In operation S1500, the gateway 2000 may determine whether gas is sensed. The gateway 2000 may determine whether gas is sensed based on the gas sensing data transmitted from the gas sensor A 1006.

作為操作S1500中的判斷結果,在確定未感測到氣體時,閘道器2000可重複執行操作S1500。 As a result of the determination in operation S1500, when it is determined that the gas is not sensed, the gateway 2000 may repeatedly perform operation S1500.

此外,作為操作S1500中的判斷結果,在確定感測到氣體時,閘道器2000可執行操作S1505及操作S1510以更頻繁地接收氣體感測資料。 In addition, as a result of the determination in operation S1500, when it is determined that the gas is sensed, the gateway 2000 may perform operations S1505 and S1510 to receive the gas sensing data more frequently.

在操作S1505中,閘道器2000可請求氣體感測器A 1006 將氣體感測資料的傳輸週期改變為每秒兩次(2/秒)。閘道器2000可將控制訊息傳送至氣體感測器A 1006以將氣體感測資料的傳輸週期改變為每秒兩次(2/秒)。 In operation S1505, the gateway 2000 may request the gas sensor A 1006 Change the transmission period of gas sensing data to twice per second (2/sec). The gateway 2000 can send a control message to the gas sensor A 1006 to change the transmission period of the gas sensing data to twice per second (2/sec).

在操作S1510中,閘道器2000可請求氣體感測器B 1008取消對氣體感測資料的傳輸的暫停並將氣體感測資料的傳輸週期改變為每秒兩次(2/秒)。閘道器2000可將控制訊息傳送至氣體感測器B 1008以取消氣體感測資料的傳輸的暫停狀態並將氣體感測資料的傳輸週期改變為每秒兩次(2/秒)。 In operation S1510, the gateway 2000 may request the gas sensor B 1008 to cancel the suspension of the transmission of the gas sensing data and change the transmission period of the gas sensing data to twice per second (2/sec). The gateway 2000 can send a control message to the gas sensor B 1008 to cancel the pause state of the transmission of the gas sensing data and change the transmission period of the gas sensing data to twice per second (2/sec).

在操作S1515中,閘道器2000可判斷是否偵測到火災。閘道器2000可基於自溫度感測器A 1002、氣體感測器A 1006、氣體感測器B 1008、及閉路電視1010傳送的感測資料來判斷是否偵測到火災。閘道器2000可自行判斷火災的爆發,但所述判斷並非僅限於此。亦即,閘道器2000可將感測資料傳送至元件3000及/或伺服器4000,且可自元件3000及/或伺服器4000接收代表由元件3000及/或伺服器4000所確定的火災爆發判斷的資訊。 In operation S1515, the gateway 2000 may determine whether a fire is detected. The gateway 2000 can determine whether a fire has been detected based on the sensing data transmitted from the temperature sensor A 1002, the gas sensor A 1006, the gas sensor B 1008, and the CCTV 1010. The gateway 2000 can judge the outbreak of fire by itself, but the judgment is not limited to this. That is, the gateway 2000 can transmit the sensing data to the component 3000 and/or the server 4000, and can receive from the component 3000 and/or the server 4000 to represent the fire outbreak determined by the component 3000 and/or the server 4000 Judging information.

作為操作S1515中的判斷結果,若確定不存在火災,則閘道器2000可重複執行操作S1515。 As a result of the determination in operation S1515, if it is determined that there is no fire, the gateway 2000 may repeatedly perform operation S1515.

此外,作為操作S1515中的判斷結果,若確定偵測到火災,則閘道器2000可暫停傳送來自除用於通知火災爆發的外部元件1000以外的其他外部元件1000的感測資料。 In addition, as a result of the determination in operation S1515, if it is determined that a fire is detected, the gateway 2000 may suspend transmission of sensing data from other external elements 1000 other than the external element 1000 for notifying the fire outbreak.

在操作S1520至操作S1535中,閘道器2000可暫停傳送來自溫度感測器A 1002、氣體感測器A 1006、氣體感測器B 1008、及閉路電視1010的感測資料。此外,在操作S1540中,閘道器2000可請求用於提供另一服務的感測器1060暫停所有感測器1060的運作。 In operation S1520 to operation S1535, the gateway 2000 may suspend transmission from the temperature sensor A 1002, the gas sensor A 1006, and the gas sensor B 1008, and CCTV 1010 sensing data. In addition, in operation S1540, the gateway 2000 may request the sensor 1060 for providing another service to suspend the operation of all the sensors 1060.

在操作S1550中,閘道器2000通知火警警報器1070至1074爆發了火災,以使得火警警報器1070至1074可運作。此外,在操作S1555中,閘道器2000可通知另一閘道器爆發了火災。接收到火災通知的閘道器可操作連接至所述另一閘道器的火警警報器。 In operation S1550, the gateway 2000 notifies the fire alarms 1070 to 1074 that a fire broke out, so that the fire alarms 1070 to 1074 are operational. In addition, in operation S1555, the gateway 2000 may notify another gateway that a fire broke out. The gateway that has received the fire notification is operable to connect to the fire alarm of the other gateway.

圖16是根據示例性實施例,顯示其中在安全服務提供系統中由閘道器2000控制某些外部元件1000的實例的圖式。 FIG. 16 is a diagram showing an example in which certain external elements 1000 are controlled by the gateway 2000 in the security service providing system according to an exemplary embodiment.

參照圖16,閘道器2000可連接至運動感測器A 1012、溫度感測器A 1002、接近感測器A 1014、使用者進入感測器1016、閉路電視1010、及至少一個用於提供另一服務的感測器1062,以提供安全服務。此外,閘道器2000可連接至警報器1080至1082、元件3000、及伺服器4000。運動感測器A 1012可為用於感測運動感測器A外部的運動的感測器。 Referring to FIG. 16, the gateway 2000 may be connected to a motion sensor A 1012, a temperature sensor A 1002, a proximity sensor A 1014, a user access sensor 1016, a CCTV 1010, and at least one for providing Another service sensor 1062 to provide security services. In addition, the gateway 2000 can be connected to the alarms 1080 to 1082, the element 3000, and the server 4000. The motion sensor A 1012 may be a sensor for sensing motion outside the motion sensor A.

若閘道器2000的資源利用率低且閘道器2000可與外部元件1000通訊,則閘道器2000可根據缺設規則自運動感測器A 1012、溫度感測器A 1002、接近感測器1014、使用者進入感測器1016、閉路電視1010、及用於提供其他服務的感測器1062接收感測資料。 If the resource utilization rate of the gateway 2000 is low and the gateway 2000 can communicate with the external device 1000, the gateway 2000 can self-execute the motion sensor A 1012, the temperature sensor A 1002, and the proximity sensor according to the missing rules The device 1014, the user access sensor 1016, the CCTV 1010, and the sensor 1062 for providing other services receive the sensing data.

若閘道器2000的資源利用率增大且閘道器2000未充分 地與外部元件1000通訊,則閘道器2000可暫停傳送來自接近感測器A 1014、閉路電視1010、及用於提供其他服務的感測器1062的感測資料。此外,閘道器2000可改變來自運動感測器A 1012、溫度感測器A 1002、及使用者進入感測器1016的感測資料的傳輸週期及資料提供方法。 If the resource utilization rate of the gateway 2000 increases and the gateway 2000 is insufficient When communicating with the external device 1000, the gateway 2000 can suspend transmission of sensing data from the proximity sensor A 1014, the CCTV 1010, and the sensor 1062 for providing other services. In addition, the gateway 2000 can change the transmission period and the data providing method of the sensing data from the motion sensor A 1012, the temperature sensor A 1002, and the user entering the sensor 1016.

此後,若閘道器2000可確定存在竊賊的非法入侵,則閘道器2000可控制所有警報器1080及警報器1082運作以發出非法入侵警報。此外,在閘道器2000確定存在竊賊的非法入侵時,閘道器2000可停止除用於發出非法入侵警報的外部元件1000以外的其他外部元件1000的運作。閘道器2000可判斷是否偵測到非法入侵,但所述判斷並非僅限於此,且元件3000及/或伺服器4000可判斷是否發生了非法入侵。此外,閘道器2000可通知另一閘道器發生了竊賊的非法入侵。此外,閘道器2000可通知元件3000及/或伺服器4000發生了竊賊的非法入侵,以使得所述元件及/或伺服器4000可對所述非法入侵作出響應。 After that, if the gateway 2000 can determine that there is an illegal intrusion by a thief, the gateway 2000 can control the operation of all the alarms 1080 and the alarm 1082 to issue an illegal intrusion alarm. In addition, when the gateway 2000 determines that there is an illegal intrusion by a thief, the gateway 2000 may stop the operation of other external elements 1000 except for the external element 1000 for issuing an illegal intrusion alarm. The gateway 2000 can determine whether an illegal intrusion is detected, but the determination is not limited to this, and the component 3000 and/or the server 4000 can determine whether an illegal intrusion has occurred. In addition, the gateway 2000 may notify another gateway that an illegal intrusion by a thief has occurred. In addition, the gateway 2000 may notify the component 3000 and/or the server 4000 that an illegal intrusion by a thief has occurred, so that the component and/or the server 4000 can respond to the illegal intrusion.

圖17是根據示例性實施例,一種在安全服務提供系統中在閘道器2000的資源利用率增大時使閘道器2000控制外部元件1000的方法的流程圖。 FIG. 17 is a flowchart of a method of causing the gateway 2000 to control the external element 1000 when the resource utilization rate of the gateway 2000 increases in the security service providing system according to an exemplary embodiment.

在操作S1700至操作S1720中,運動感測器A 1012、溫度感測器A 1002、接近感測器A 1014、使用者進入感測器1016、及閉路電視1010可根據缺設規則將感測資料傳送至閘道器2000。 In operations S1700 to S1720, the motion sensor A 1012, the temperature sensor A 1002, the proximity sensor A 1014, the user access sensor 1016, and the CCTV 1010 can convert the sensing data according to the lack of rules Send to gateway 2000.

在操作S1700中,運動感測器A 1012可每秒一次(1/ 秒)地將代表是否感測到運動的運動感測資料傳送至閘道器2000,且在操作S1705中,溫度感測器A 1002可每秒一次(1/秒)地將溫度資料傳送至閘道器2000。此外,在操作S1710中,接近感測器A 1014可每秒一次(1/秒)地將代表某一物件是否靠近接近感測器A的接近感測資料傳送至閘道器2000。 In operation S1700, the motion sensor A 1012 may be once per second (1/ Second) to send motion sensing data representing whether motion is sensed to the gateway 2000, and in operation S1705, the temperature sensor A 1002 can send the temperature data to the gate once per second (1/second)道器2000. In addition, in operation S1710, the proximity sensor A 1014 may transmit proximity sensing data representing whether an object is close to the proximity sensor A to the gateway 2000 once per second (1/second).

在操作S1715中,使用者進入感測器1016可將關於使用者進入某一空間(例如,建築、房屋等)的資料傳送至閘道器2000。使用者進入感測器1016可設置於建築或房屋的入口上,且可收集關於經過所述入口的使用者的資訊。使用者進入感測器1016可每十分鐘傳送5百萬位元(MB)的資料至閘道器2000。 In operation S1715, the user entry sensor 1016 may transmit data regarding the user's entry into a certain space (eg, building, house, etc.) to the gateway 2000. The user entry sensor 1016 may be provided at an entrance of a building or a house, and may collect information about users passing through the entrance. The user enters the sensor 1016 and can send 5 million bits (MB) of data to the gateway 2000 every ten minutes.

在操作S1720中,閉路電視1010可將所拍攝的影像資料傳送至閘道器2000,且在操作S1725中,用於提供另一服務的感測器1062可將感測資料傳送至閘道器2000。 In operation S1720, the CCTV 1010 may transmit the captured image data to the gateway 2000, and in operation S1725, the sensor 1062 for providing another service may transmit the sensing data to the gateway 2000 .

在操作S1730中,閘道器2000可判斷閘道器2000的資源利用率是否超過預先設定的臨界值。閘道器2000可監視閘道器2000的CPU利用率及記憶體利用率。此外,閘道器2000可判斷閘道器2000的CPU利用率及/或記憶體利用率是否超過預先設定的臨界值。 In operation S1730, the gateway 2000 may determine whether the resource utilization rate of the gateway 2000 exceeds a predetermined threshold. The gateway 2000 can monitor the CPU utilization and memory utilization of the gateway 2000. In addition, the gateway 2000 can determine whether the CPU utilization and/or memory utilization of the gateway 2000 exceeds a predetermined threshold.

作為操作S1730中的判斷結果,若閘道器2000的資源利用率未超過預先設定的臨界值,則閘道器2000可重複執行操作S1730。 As a result of the determination in operation S1730, if the resource utilization rate of the gateway 2000 does not exceed a preset threshold value, the gateway 2000 may repeatedly perform operation S1730.

此外,作為操作S1730中的判斷結果,若閘道器2000 的資源利用率超過預先設定的臨界值,則閘道器2000可執行操作S1735。 In addition, as a result of the determination in operation S1730, if the gateway 2000 The resource utilization rate exceeds the preset threshold, the gateway 2000 may perform operation S1735.

在操作S1735中,閘道器2000可辨識與閘道器2000的資源利用率對應的資料傳輸規則。閘道器2000可利用預先產生的資料傳輸規則表來辨識與閘道器2000的資源利用率對應的資料傳輸規則。 In operation S1735, the gateway 2000 may recognize the data transmission rule corresponding to the resource utilization rate of the gateway 2000. The gateway 2000 may use a pre-generated data transmission rule table to identify the data transmission rule corresponding to the resource utilization rate of the gateway 2000.

在操作S1740至操作S1760中,閘道器2000可根據如上所辨識的資料傳輸規則來控制運動感測器A 1012、溫度感測器A 1002、接近感測器A 1014、使用者進入感測器1016、閉路電視1010、及用於提供另一服務的感測器1062。 In operation S1740 to operation S1760, the gateway 2000 may control the motion sensor A 1012, the temperature sensor A 1002, the proximity sensor A 1014, and the user to enter the sensor according to the data transmission rules identified above 1016, a closed circuit television 1010, and a sensor 1062 for providing another service.

在操作S1740中,閘道器2000可僅在感測到運動時請求運動感測器A 1012傳送運動感測資料。閘道器2000可向運動感測器A 1012傳送控制訊息,且所述控制訊息包括容許運動感測器A 1012僅在感測到運動時傳送運動感測資料的資訊。 In operation S1740, the gateway 2000 may only request the motion sensor A 1012 to transmit motion sensing data when motion is sensed. The gateway 2000 may transmit a control message to the motion sensor A 1012, and the control message includes information that allows the motion sensor A 1012 to transmit motion sensing data only when motion is sensed.

在操作S1745中,閘道器2000可請求溫度感測器A 1002將溫度資料的傳輸週期改變為0.2/秒。閘道器2000可向溫度感測器A 1002傳送控制訊息,其中所述控制訊息包括用於將溫度資料的傳輸週期改變為0.2/秒的資訊。 In operation S1745, the gateway 2000 may request the temperature sensor A 1002 to change the transmission period of the temperature data to 0.2/sec. The gateway 2000 can transmit a control message to the temperature sensor A 1002, where the control message includes information for changing the transmission period of the temperature data to 0.2/sec.

在操作S1750中,閘道器2000可請求接近感測器A 1014暫停傳送接近感測資料。閘道器2000可向接近感測器A 1014傳送控制訊息,且所述控制訊息包括用於暫停傳送接近感測資料的資訊。 In operation S1750, the gateway 2000 may request the proximity sensor A 1014 to suspend the transmission of the proximity sensing data. The gateway 2000 may transmit a control message to the proximity sensor A 1014, and the control message includes information for suspending transmission of the proximity sensing data.

在操作S1755中,閘道器2000可請求使用者進入感測器1016在將關於使用者進入的5MB的資料劃分成十份後傳送所述5MB的資料。閘道器2000可向使用者進入感測器1016傳送控制訊息,且所述控制訊息包括表示關於使用者進入的5MB的資料須被劃分成十份並傳送所劃分的資料的資訊。 In operation S1755, the gateway 2000 may request the user access sensor 1016 to transmit the 5 MB of data after dividing the 5 MB of data regarding the user's entry into ten. The gateway 2000 may transmit a control message to the user entry sensor 1016, and the control message includes information indicating that the 5 MB of data entered by the user must be divided into ten and transmit the divided data.

在操作S1760中,閘道器2000可請求閉路電視1010暫停傳送所拍攝的影像資料。閘道器2000可向閉路電視1010傳送控制訊息,且所述控制訊息包括表示將暫停傳送所拍攝的影像資料的資訊。 In operation S1760, the gateway 2000 may request the CCTV 1010 to suspend transmission of the captured image data. The gateway 2000 may transmit a control message to the CCTV 1010, and the control message includes information indicating that transmission of the captured image data will be suspended.

在操作S1765中,閘道器2000可請求用於提供另一服務的感測器1062中的至少某些感測器暫停傳送感測資料。 In operation S1765, the gateway 2000 may request at least some of the sensors 1062 for providing another service to suspend the transmission of the sensing data.

此後,在確定存在竊賊的非法入侵時,閘道器2000可通知警報器1080及警報器1082所述非法入侵,以使得警報器1080及警報器1082可運作。此外,閘道器2000可通知另一閘道器所述非法入侵。此外,閘道器2000可通知元件3000及/或伺服器4000所述非法入侵。 Thereafter, when it is determined that there is an illegal intrusion by a thief, the gateway 2000 may notify the alarm 1080 and the alarm 1082 of the illegal intrusion, so that the alarm 1080 and the alarm 1082 may operate. In addition, the gateway 2000 may notify another gateway of the illegal intrusion. In addition, the gateway 2000 may notify the component 3000 and/or the server 4000 of the illegal intrusion.

圖18是根據示例性實施例,顯示其中在家庭網路服務提供系統中由閘道器2000控制外部元件1000的實例的圖式。 FIG. 18 is a diagram showing an example in which the external element 1000 is controlled by the gateway 2000 in the home network service providing system according to an exemplary embodiment.

參照圖18,閘道器2000可連接至溫度感測器A 1002、溫度感測器B 1004、濕度感測器A 1018、冰箱1020、空調機1090、及電視1095以用於提供家庭網路服務。此外,閘道器2000可連接至元件3000及伺服器4000。 Referring to FIG. 18, the gateway 2000 may be connected to 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 for providing home network services . In addition, the gateway 2000 can be connected to the element 3000 and the server 4000.

在閘道器2000的資源利用率低且閘道器2000可與外部元件1000通訊時,閘道器2000可根據缺設傳輸規則自溫度感測器A 1002、溫度感測器B 1004、濕度感測器A 1018、冰箱1020、空調機1090、及電視1095中的所有者接收感測資料。 When the resource utilization rate of the gateway 2000 is low and the gateway 2000 can communicate with the external device 1000, the gateway 2000 can self-adjust the temperature sensor A 1002, the temperature sensor B 1004, and the humidity sensor according to the lack of transmission rules. The owner of the sensor A 1018, the refrigerator 1020, the air conditioner 1090, and the television 1095 receives the sensing data.

在元件3000經由閘道器2000向電視1095提供串流視訊時,閘道器2000的資源利用率可增大,且因此閘道器2000可能無法充分地與外部元件1000通訊。在此種情形中,閘道器2000可暫停傳送來自靠近空調機1090設置的溫度感測器B 1004的感測資料。此外,閘道器2000可改變來自溫度感測器A 1002、濕度感測器A 1018、冰箱1020、空調機1090、及電視1095的感測資料的傳輸週期及資料提供方法。 When the component 3000 provides streaming video to the TV 1095 via the gateway 2000, the resource utilization rate of the gateway 2000 may increase, and therefore the gateway 2000 may not be able to sufficiently communicate with the external device 1000. In this case, the gateway 2000 may suspend transmission of the sensing data from the temperature sensor B 1004 provided near the air conditioner 1090. In addition, the gateway 2000 can change the transmission cycle and the method of providing data of the sensing data from the temperature sensor A 1002, the humidity sensor A 1018, the refrigerator 1020, the air conditioner 1090, and the television 1095.

此外,若確定房屋中的溫度高於預先設定的臨界值,則閘道器2000可控制空調機1090運作。 In addition, if it is determined that the temperature in the house is higher than a predetermined threshold, the gateway 2000 may control the operation of the air conditioner 1090.

圖19是根據示例性實施例,一種在家庭網路服務提供系統中閘道器2000隨著閘道器2000的資源利用率的增大來控制外部元件1000的方法的流程圖。 FIG. 19 is a flowchart of a method for controlling the external element 1000 as the gateway 2000 increases in resource utilization in the home network service providing system according to an exemplary embodiment.

在操作S1900至操作S1925中,溫度感測器A 1002、溫度感測器B 1004、濕度感測器A 1018、冰箱1020、空調機1090、及電視1095可根據缺設傳輸規則將感測資料傳送至閘道器2000。 In operations 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 can transmit the sensing data according to the lack of transmission rules To gateway 2000.

在操作S1090中,溫度感測器A 1002可每秒一次(1/秒)地將溫度資料傳送至閘道器2000,且在操作S1905中,溫度感測器B 1004可每秒一次(1/秒)地將溫度資料傳送至閘道器 2000。此外,在操作S1910中,濕度感測器A 1018可每秒一次(1/秒)地將濕度資料傳送至閘道器2000。此外,在操作S1915中,冰箱1020可每十分鐘一次地將其狀態資訊傳送至閘道器2000。此外,在操作S1920中,電視1095可將其狀態資訊傳送至閘道器2000,且在操作S1925中的空調機1090可將其狀態資訊傳送至閘道器2000。此外,閘道器2000可將所接收的資訊傳送至元件3000或伺服器4000,然後使用者可經由元件3000或伺服器4000監視房屋中的各元件的狀態。 In operation S1090, the temperature sensor A 1002 can transmit the temperature data to the gateway 2000 once per second (1/sec), and in operation S1905, the temperature sensor B 1004 can be sent once per second (1/ Seconds) to send temperature data to the gateway 2000. In addition, in operation S1910, the humidity sensor A 1018 may transmit the humidity data to the gateway 2000 once per second (1/second). In addition, in operation S1915, the refrigerator 1020 may transmit its status information to the gateway 2000 every ten minutes. In addition, in operation S1920, the television 1095 may transmit its status information to the gateway 2000, and the air conditioner 1090 in operation S1925 may transmit its status information to the gateway 2000. In addition, the gateway 2000 can transmit the received information to the component 3000 or the server 4000, and then the user can monitor the status of each component in the house via the component 3000 or the server 4000.

此後,在操作S1930及操作S1935中,元件3000可經由閘道器2000將串流視訊傳送至電視1095。因此,閘道器2000的資源利用率可增大。 Thereafter, in operations S1930 and S1935, the element 3000 may transmit the streaming video to the television 1095 via the gateway 2000. Therefore, the resource utilization rate of the gateway 2000 can be increased.

在操作S1940中,閘道器2000可判斷閘道器2000的資源利用率是否超過預先設定的臨界值。閘道器2000可監視閘道器2000的CPU利用率及記憶體利用率。此外,閘道器2000可判斷閘道器2000的CPU利用率及/或記憶體利用率是否超過預先設定的臨界值。 In operation S1940, the gateway 2000 may determine whether the resource utilization rate of the gateway 2000 exceeds a predetermined threshold. The gateway 2000 can monitor the CPU utilization and memory utilization of the gateway 2000. In addition, the gateway 2000 can determine whether the CPU utilization and/or memory utilization of the gateway 2000 exceeds a predetermined threshold.

作為操作S1940中的判斷結果,若閘道器2000的資源利用率未超過預先設定的臨界值,則閘道器2000可重複執行操作S1930。 As a result of the determination in operation S1940, if the resource utilization rate of the gateway 2000 does not exceed the preset threshold value, the gateway 2000 may repeatedly perform operation S1930.

此外,作為操作S1940中的判斷結果,若閘道器2000的資源利用率超過預先設定的臨界值,則閘道器2000可執行操作S1945。 In addition, as a result of the determination in operation S1940, if the resource utilization rate of the gateway 2000 exceeds a predetermined threshold value, the gateway 2000 may perform operation S1945.

在操作S1945中,閘道器2000可辨識與閘道器2000的資源利用率對應的資料傳輸規則。閘道器2000可利用預先產生的資料傳輸規則表來辨識與閘道器2000的資源利用率對應的資料傳輸規則。舉例而言,閘道器2000可暫停傳送來自靠近空調機1090安裝的溫度感測器B 1004的感測資料。此外,閘道器2000可改變來自溫度感測器A 1002、濕度感測器A 1018、冰箱1020、空調機1090、及電視1095的傳輸資料的資料提供方法或傳輸週期。 In operation S1945, the gateway 2000 may recognize the data transmission rule corresponding to the resource utilization rate of the gateway 2000. The gateway 2000 may use a pre-generated data transmission rule table to identify the data transmission rule corresponding to the resource utilization rate of the gateway 2000. For example, the gateway 2000 may suspend transmission of the sensing data from the temperature sensor B 1004 installed near the air conditioner 1090. In addition, the gateway 2000 can change the data providing method or the transmission cycle of the transmission data from the temperature sensor A 1002, the humidity sensor A 1018, the refrigerator 1020, the air conditioner 1090, and the television 1095.

在操作S1950中,閘道器2000可請求溫度感測器A 1002將溫度資料的傳輸週期改變為0.2/秒,且在操作S1955中,閘道器2000可請求溫度感測器B 1004暫停傳送來自溫度感測器B 1004的溫度資料。此外,在操作S1960中,閘道器2000可請求濕度感測器A 1018將濕度資料的傳輸週期改變為0.2/秒,且在操作S1965中,閘道器2000可請求冰箱1020每當冰箱1020的門被開啟五次時便傳送冰箱1020的狀態資訊。 In operation S1950, the gateway 2000 may request the temperature sensor A 1002 to change the transmission period of the temperature data to 0.2/sec, and in operation S1955, the gateway 2000 may request the temperature sensor B 1004 to suspend transmission from Temperature data of temperature sensor B 1004. In addition, in operation S1960, the gateway 2000 may request the humidity sensor A 1018 to change the transmission period of the humidity data to 0.2/sec, and in operation S1965, the gateway 2000 may request the refrigerator 1020 whenever the refrigerator 1020 The status information of the refrigerator 1020 is transmitted when the door is opened five times.

此外,若房屋中的溫度高於預先設定的臨界值,則在操作S1970中閘道器2000可請求空調機1090運作。閘道器2000可將控制訊息傳送至空調機1090以操作空調機1090。 In addition, if the temperature in the house is higher than a preset threshold, the gateway 2000 may request the air conditioner 1090 to operate in operation S1970. The gateway 2000 can transmit a control message to the air conditioner 1090 to operate the air conditioner 1090.

圖20是根據示例性實施例的閘道器2000的方框圖。 FIG. 20 is a block diagram of the gateway 2000 according to an exemplary embodiment.

如圖20所示,根據示例性實施例的閘道器2000可包括記憶體2100、通訊器2200、及控制器2300。通訊器2200可包括無線通訊器2210及有線通訊器2220。 As shown in FIG. 20, the gateway 2000 according to the exemplary embodiment may include a memory 2100, a communicator 2200, and a controller 2300. The communicator 2200 may include a wireless communicator 2210 and a wired communicator 2220.

記憶體2100可儲存自外部元件1000傳送的外部元件 1000的元件資訊、以及自元件3000及/或伺服器4000傳送的服務資訊。此外,記憶體2100可儲存自外部元件1000傳送的感測資料。 The memory 2100 can store external components transmitted from the external component 1000 Element information of 1000, and service information transmitted from element 3000 and/or server 4000. In addition, the memory 2100 can store the sensing data transmitted from the external device 1000.

通訊器2200可將資料傳送至外部元件1000、元件3000、及伺服器4000,並可自外部元件1000、元件3000、及伺服器4000接收資料。通訊器2200可自外部元件1000接收元件資訊及感測資料。通訊器2200可自元件3000及伺服器4000接收服務資訊。通訊器2200可將關於感測資料的傳輸的控制訊息傳送至外部元件1000。此外,通訊器2200可將來自外部元件1000的感測資料傳送至元件3000及伺服器4000。通訊器2200可根據各種類型的通訊方法與其他元件通訊。通訊器2200可包括選自Wi-Fi晶片、藍牙(Bluetooth)晶片、zigbee通訊晶片、無線通訊晶片、近場通訊(near field communication,NFC)晶片、及乙太網路通訊晶片中的至少一者,但並非僅限於此。 The communicator 2200 can transmit data to the external component 1000, the component 3000, and the server 4000, and can receive data from the external component 1000, the component 3000, and the server 4000. The communicator 2200 can receive component information and sensing data from the external component 1000. The communicator 2200 can receive service information from the component 3000 and the server 4000. The communicator 2200 can transmit the control message regarding the transmission of the sensing data to the external device 1000. In addition, the communicator 2200 can transmit the sensing data from the external device 1000 to the device 3000 and the server 4000. The communicator 2200 can communicate with other components according to various types of communication methods. The communicator 2200 may include at least one selected from a Wi-Fi chip, a Bluetooth chip, a zigbee communication chip, a wireless communication chip, a near field communication (NFC) chip, and an Ethernet communication chip , But not limited to this.

控制器2300可控制閘道器2000的整體運作。控制器2300可控制記憶體2100及通訊器2200,以使得閘道器2000可根據閘道器2000的資源利用率控制外部元件1000。控制器2300可包括例如中央處理裝置(CPU)、微控制器單元(micro controller unit,MCU)、微處理器單元(micro processor unit,MPU)、或高階RISC機器(ARM)處理器等處理器,但並非僅限於此。 The controller 2300 can control the overall operation of the gateway 2000. The controller 2300 can control the memory 2100 and the communicator 2200 so that the gateway 2000 can control the external component 1000 according to the resource utilization rate of the gateway 2000. The controller 2300 may include a processor such as a central processing unit (CPU), a micro controller unit (MCU), a micro processor unit (MPU), or a high-end RISC machine (ARM) processor, etc. But it is not limited to this.

控制器2300可辨識連接至閘道器2000的外部元件1000。由於外部元件1000連接至閘道器2000,故控制器2300可 自外部元件1000接收外部元件1000的元件資訊。此外,控制器2300可基於自外部元件1000傳送的元件資訊來辨識外部元件1000。外部元件1000的元件資訊是代表外部元件1000的性質的資訊,例如關於外部元件1000的辨識值、外部元件1000的種類、由外部元件1000產生的感測資料的種類及性質、及外部元件1000的感測週期的資訊。 The controller 2300 can recognize the external element 1000 connected to the gateway 2000. Since the external component 1000 is connected to the gateway 2000, the controller 2300 can The component information of the external component 1000 is received from the external component 1000. In addition, the controller 2300 can recognize the external component 1000 based on the component information transmitted from the external component 1000. The component information of the external component 1000 is information representing the nature of the external component 1000, such as the identification value of the external component 1000, the type of the external component 1000, the type and nature of the sensing data generated by the external component 1000, and the Sensing cycle information.

此外,控制器2300可將外部元件1000的元件資訊儲存於記憶體2100中。控制器2300可與將由元件3000或伺服器4000提供的服務相關聯地將外部元件1000的元件資訊儲存於記憶體2100中。在此種情形中,控制器2300自元件3000或伺服器4000接收服務資訊,且可基於所述服務資訊來辨識哪個服務與外部元件1000相關聯。所述服務資訊可包括例如服務的辨識值、用於提供服務的外部元件的種類及數目、用於提供服務的外部元件1000之間的優先次序、用於提供服務的感測資料的種類及數目、以及用於提供服務的感測資料的優先次序,但並非僅限於此。 In addition, the controller 2300 can store the component information of the external component 1000 in the memory 2100. The controller 2300 may store the component information of the external component 1000 in the memory 2100 in association with the service to be provided by the component 3000 or the server 4000. In this case, the controller 2300 receives service information from the component 3000 or the server 4000, and can recognize which service is associated with the external component 1000 based on the service information. The service information may include, for example, the identification value of the service, the type and number of external components used to provide the service, the priority order between the external components 1000 used to provide the service, and the type and number of sensing data used to provide the service , And the priority of sensing data used to provide services, but not limited to this.

舉例而言,控制器2300在外部元件1000的元件資訊表中添加代表服務的辨識值的欄位,且可在所添加的欄位中記錄與外部元件1000相關聯的服務的辨識值,但並非僅限於此。 For example, the controller 2300 adds a field representing the identification value of the service to the component information table of the external component 1000, and may record the identification value of the service associated with the external component 1000 in the added field, but not Only this.

控制器2300可設定感測資料的資料傳輸規則。資料傳輸規則可代表關於如何根據閘道器2000的資源利用率自哪個外部元件1000接收感測資料的規則。控制器2300可基於外部元件1000的元件資訊及由元件3000或伺服器4000提供的服務的服務資 訊、根據預先設定的準則來設定資料傳輸規則。另外,控制器2300可基於使用者輸入來設定資料傳輸規則。 The controller 2300 can set data transmission rules of the sensing data. The data transmission rules may represent rules on how to receive the sensing data from which external component 1000 according to the resource utilization rate of the gateway 2000. The controller 2300 may be based on the component information of the external component 1000 and the service data of the service provided by the component 3000 or the server 4000 Information, according to pre-set criteria to set data transmission rules. In addition, the controller 2300 can set data transmission rules based on user input.

資料傳輸規則可被設定成根據閘道器2000的資源利用率而不同,且可包括例如關於以下的規則:將被用以提供服務的外部元件1000、欲被暫停的外部元件1000、感測資料的資料處理類型、感測資料的資料傳輸週期、及是否執行感測資料的排程傳輸。 The data transmission rules may be set to be different according to the resource utilization rate of the gateway 2000, and may include, for example, rules regarding: external components 1000 to be used to provide services, external components 1000 to be suspended, and sensing data The type of data processing, the data transmission period of the sensing data, and whether to perform the scheduled transmission of the sensing data.

詳言之,控制器2300可確定與閘道器2000的資源利用率對應的外部元件1000。控制器2300可針對閘道器2000的資源利用率的各部分來確定對於提供服務而言所需要的外部元件1000。控制器2300可基於外部元件1000的元件資訊及元件3000或伺服器4000的服務資訊來確定與閘道器2000的資源利用率對應的外部元件1000。控制器2300可不選擇與服務無關的外部元件1000。此外,閘道器2000可自對於提供服務而言所需要的外部元件1000中選擇對於提供服務而言所必需的外部元件1000,且可不選擇對於提供服務而言非必需的外部元件1000。 In detail, the controller 2300 may determine the external element 1000 corresponding to the resource utilization rate of the gateway 2000. The controller 2300 may determine the external elements 1000 required for providing services for each part of the resource utilization rate of the gateway 2000. The controller 2300 may determine the external component 1000 corresponding to the resource utilization rate of the gateway 2000 based on the component information of the external component 1000 and the service information of the component 3000 or the server 4000. The controller 2300 may not select the external element 1000 unrelated to the service. In addition, the gateway 2000 may select the external element 1000 necessary for providing the service from the external elements 1000 required for providing the service, and may not select the external element 1000 that is not necessary for providing the service.

舉例而言,若對於提供火警服務而言所需要的外部元件1000為二個溫度感測器、三個氣體感測器、及一個火警警報器,則控制器2300可選擇溫度感測器A、溫度感測器B、氣體感測器A、氣體感測器B、氣體感測器C、及火警警報器A作為與閘道器2000的介於0%至70%範圍內的資源利用率對應的外部元件1000。此外,控制器2300可選擇溫度感測器A、氣體感測器A、 氣體感測器B、及火警警報器A作為與閘道器2000的介於0%至70%範圍內的資源利用率對應的外部元件1000。 For example, if the external components 1000 required to provide the fire alarm service are two temperature sensors, three gas sensors, and a fire alarm, the controller 2300 can select the temperature sensor A, The temperature sensor B, the gas sensor A, the gas sensor B, the gas sensor C, and the fire alarm A correspond to the resource utilization of the gateway 2000 in the range of 0% to 70% The external components 1000. In addition, the controller 2300 can select a temperature sensor A, a gas sensor A, The gas sensor B and the fire alarm A are external components 1000 corresponding to the resource utilization of the gateway 2000 in the range of 0% to 70%.

控制器2300可確定將自外部元件1000傳送的感測資料的資料提供方法。所述資料提供方法可包括例如在對感測資料進行組合之後提供的提供方法、在對感測資料進行劃分之後提供的提供方法、及在計算感測資料的平均值之後提供的提供方法。此外,所述資料提供方法可包括一種將新產生的感測資料與先前傳送至閘道器2000的感測資料進行比較以僅傳送發生改變的資料的提供方法。控制器2300可慮及感測資料的即時性質及大小而確定感測資料的資料提供方法。控制器2300可確定外部元件1000須將大容量的感測資料進行劃分,且外部元件1000須將小容量的感測資料進行組合。此外,在感測資料的性質為數值的情形中,控制器2300可確定外部元件1000須傳送所述感測資料的平均值。 The controller 2300 may determine the data providing method of the sensing data to be transmitted from the external device 1000. The data providing method may include, for example, a providing method provided after combining the sensing data, a providing method provided after dividing the sensing data, and a providing method provided after calculating the average value of the sensing data. In addition, the data providing method may include a providing method of comparing the newly generated sensing data with the sensing data previously transmitted to the gateway 2000 to transmit only the changed data. The controller 2300 may determine the data providing method of the sensing data in consideration of the real-time nature and size of the sensing data. The controller 2300 may determine that the external component 1000 must divide the large-capacity sensing data, and the external component 1000 must combine the small-capacity sensing data. In addition, in the case where the nature of the sensing data is a numerical value, the controller 2300 may determine that the external device 1000 must transmit the average value of the sensing data.

舉例而言,在火警服務中,在閘道器2000的資源利用率介於0%至70%的範圍內的情形中,控制器2300可確定溫度感測器A、溫度感測器B、氣體感測器A、氣體感測器B、氣體感測器C、及火警警報器A將在不執行額外過程的情況下傳送感測資料。此外,在閘道器2000的資源利用率介於70%至100%的範圍內的情形中,控制器2300可確定使溫度感測器A傳送感測資料的平均值,氣體感測器A在對感測資料進行劃分之後傳送感測資料,且氣體感測器B在對感測資料進行組合之後傳送感測資料。 For example, in the fire alarm service, in the case where the resource utilization rate of the gateway 2000 is in the range of 0% to 70%, the controller 2300 may determine the temperature sensor A, the temperature sensor B, the gas Sensor A, gas sensor B, gas sensor C, and fire alarm A will transmit sensing data without performing additional processes. In addition, in the case where the resource utilization rate of the gateway 2000 is in the range of 70% to 100%, the controller 2300 may determine the average value of the temperature sensor A to transmit the sensing data. After dividing the sensing data, the sensing data is transmitted, and the gas sensor B transmits the sensing data after combining the sensing data.

控制器2300可確定將自所選擇的外部元件1000傳送的 感測資料的資料傳輸週期。控制器2300可慮及感測資料的即時性質、感測資料的資料大小、及資料提供方法而確定感測資料的資料傳輸週期。 The controller 2300 may determine that the Data transmission cycle of sensing data. The controller 2300 may determine the data transmission period of the sensing data in consideration of the real-time nature of the sensing data, the data size of the sensing data, and the data providing method.

舉例而言,在火警服務中,在閘道器2000的資源利用率介於0%至70%的範圍內時,控制器2300可控制使溫度感測器A、溫度感測器B、氣體感測器A、氣體感測器B、氣體感測器C、及火警警報器A可根據缺設傳輸週期將感測資料傳送至閘道器2000。此外,在閘道器2000的資源利用率介於70%至100%的範圍內的情形中,控制器2300可控制使溫度感測器A每三十分鐘傳送感測資料的平均值一次,並使氣體感測器A每二分鐘傳送經劃分的感測資料一次。 For example, in the fire alarm service, when the resource utilization rate of the gateway 2000 is in the range of 0% to 70%, the controller 2300 can control the temperature sensor A, the temperature sensor B, and the gas sensor The sensor A, the gas sensor B, the gas sensor C, and the fire alarm A can transmit the sensing data to the gateway 2000 according to the default transmission period. In addition, in the case where the resource utilization rate of the gateway 2000 is in the range of 70% to 100%, the controller 2300 can control the temperature sensor A to transmit the average value of the sensing data every thirty minutes, and Make the gas sensor A transmit the divided sensing data once every two minutes.

控制器2300可判斷將自所選擇的外部元件1000傳送的感測資料的排程傳輸。控制器2300可慮及感測資料的即時性質、感測資料的資料大小、及資料提供方法而判斷是否執行感測資料的排程傳輸。 The controller 2300 can determine the scheduled transmission of the sensing data transmitted from the selected external device 1000. The controller 2300 may determine whether to perform the scheduled transmission of the sensing data in consideration of the real-time nature of the sensing data, the data size of the sensing data, and the data providing method.

舉例而言,在火警服務中,在閘道器2000的資源利用率介於70%至100%的範圍內的情形中,控制器2300可確定使氣體感測器B被排程為在預先設定的時間傳送經組合的感測資料。 For example, in the fire alarm service, in the case where the resource utilization rate of the gateway 2000 is in the range of 70% to 100%, the controller 2300 may determine that the gas sensor B is scheduled to be set in advance Time to transmit the combined sensing data.

控制器2300可監視閘道器2000的資源利用率。控制器2300可監視閘道器2000的CPU利用率及記憶體利用率。此外,控制器2300可判斷閘道器2000的資源利用率是否超過預先設定的臨界值。控制器2300可判斷CPU利用率是否超過預先設定的 臨界值、記憶體利用率是否超過預先設定的臨界值、及CPU利用率及記憶體利用率二者是否皆超過預先設定的臨界值。控制器2300可判斷CPU利用率與記憶體利用率的平均值是否超過預先設定的臨界值。控制器2300可判斷資源利用率超過預先設定的臨界值的狀態是否保持了預定時間週期或更長。 The controller 2300 may monitor the resource utilization rate of the gateway 2000. The controller 2300 can monitor the CPU utilization and memory utilization of the gateway 2000. In addition, the controller 2300 can determine whether the resource utilization rate of the gateway 2000 exceeds a predetermined threshold. The controller 2300 can determine whether the CPU utilization exceeds a preset Whether the threshold value, the memory utilization rate exceed the preset threshold value, and whether both the CPU utilization rate and the memory utilization rate exceed the preset threshold value. The controller 2300 can determine whether the average value of the CPU utilization rate and the memory utilization rate exceeds a predetermined threshold value. The controller 2300 can determine whether the state in which the resource utilization exceeds a preset threshold value is maintained for a predetermined period of time or longer.

控制器2300可根據資料傳輸規則將關於感測資料的傳輸的控制訊息傳送至外部元件1000。控制器2300可辨識與閘道器2000的當前資源利用率對應的資料傳輸規則,並可將關於感測資料的傳輸的控制訊息傳送至外部元件1000,以根據所辨識的資料傳輸規則控制外部元件1000。傳送至外部元件1000的控制訊息可包括例如以下資訊:是否暫停外部元件1000、感測資料的資料傳輸方法、及資料傳輸週期。 The controller 2300 can transmit the control message regarding the transmission of the sensing data to the external device 1000 according to the data transmission rule. The controller 2300 can recognize the data transmission rule corresponding to the current resource utilization rate of the gateway 2000, and can transmit control information about the transmission of the sensing data to the external device 1000 to control the external device according to the recognized data transmission rule 1000. The control message transmitted to the external device 1000 may include information such as whether to suspend the external device 1000, the data transmission method of the sensing data, and the data transmission cycle.

此外,控制器2300可判斷閘道器2000的資源利用率是否小於預先設定的臨界值。若所述資源利用率不小於預先設定的臨界值,則控制器2300可保持當前的資料傳輸規則。若所述資源利用率小於預先設定的臨界值,則控制器2300可請求外部元件1000根據缺設傳輸規則傳送感測資料。控制器2300可將控制訊息傳送至外部元件1000以使得外部元件1000可根據缺設傳輸規則傳送感測資料。所述缺設傳輸規則是在閘道器2000可充分地利用資源的情形中的資料傳輸規則,且可具有缺設值。 In addition, the controller 2300 can determine whether the resource utilization rate of the gateway 2000 is less than a predetermined threshold. If the resource utilization rate is not less than a preset threshold, the controller 2300 can maintain the current data transmission rules. If the resource utilization rate is less than the preset threshold, the controller 2300 may request the external component 1000 to transmit the sensing data according to the default transmission rule. The controller 2300 can transmit the control message to the external device 1000 so that the external device 1000 can transmit the sensing data according to the default transmission rule. The default transmission rule is a data transmission rule in the case where the gateway 2000 can fully utilize resources, and may have a default value.

此外,閘道器2000可更包括感測單元(圖中未示出)、音訊/視訊(A/V)輸入單元(圖中未示出)、使用者輸入單元(圖 中未示出)、及輸出單元(圖中未示出)。 In addition, the gateway 2000 may further include a sensing unit (not shown in the figure), an audio/video (A/V) input unit (not shown in the figure), and a user input unit (pictured) And not shown), and output unit (not shown in the figure).

使用者輸入單元可為供使用者輸入資料以控制閘道器2000的單元。舉例而言,使用者輸入單元可包括小鍵盤、薄膜開關(dome switch)、觸控墊(觸控電容型觸控墊、壓力電阻型觸控墊、紅外光束感測型觸控墊、表面聲波型觸控墊、整體應變計型觸控墊、壓電效應型觸控墊等)、滾輪(jog wheel)、輕搖開關(jog switch)等,但一或多個實例實施例並非僅限於此。 The user input unit may be a unit for the user to input data to control the gateway 2000. For example, the user input unit may include a keypad, a dome switch, a touch pad (touch capacitive touch pad, pressure resistive touch pad, infrared beam sensing touch pad, surface acoustic wave) Type touch pad, integral strain gauge type touch pad, piezoelectric effect type touch pad, etc.), jog wheel, jog switch, etc., but one or more example embodiments are not limited to this .

輸出單元可輸出音訊訊號、視訊訊號、或振動訊號,且可包括顯示單元(圖中未示出)、聲音輸出單元(圖中未示出)、振動馬達(圖中未示出)等。 The output unit can output audio signals, video signals, or vibration signals, and can include a display unit (not shown in the figure), a sound output unit (not shown in the figure), a vibration motor (not shown in the figure), and the like.

顯示單元顯示並輸出在閘道器2000中處理的資訊。在顯示單元與觸控墊一起形成多層結構並繼而被形成為觸控螢幕時,顯示單元可用作輸出裝置及輸入裝置二者。顯示單元可包括液晶顯示器(liquid crystal display,LCD)、薄膜電晶體-液晶顯示器(thin film transistor-liquid crystal display,TFT-LCD)、有機發光二極體(organic light-emitting diode,OLED)顯示器、撓性顯示器、三維(3D)顯示器、及電泳顯示器中的至少一者。此外,根據閘道器2000的類型,閘道器2000可包括至少二個顯示部。此處,所述至少二個顯示部可利用鉸鏈設置成彼此面對。 The display unit displays and outputs the information processed in the gateway 2000. When the display unit and the touch pad form a multilayer structure together and are subsequently formed as a touch screen, the display unit can be used as both an output device and an input device. The display unit may include a liquid crystal display (LCD), a thin film transistor-liquid crystal display (TFT-LCD), an organic light-emitting diode (OLED) display, At least one of a flexible display, a three-dimensional (3D) display, and an electrophoretic display. In addition, according to the type of the gateway 2000, the gateway 2000 may include at least two display parts. Here, the at least two display parts may be arranged to face each other using a hinge.

聲音輸出單元亦可輸出與閘道器2000所執行的能力相關的聲音訊號(例如,呼叫訊號接收聲音、訊息接收聲音、通知聲音等)。聲音輸出單元可包括揚聲器、蜂鳴器等。 The sound output unit may also output sound signals related to the capabilities performed by the gateway 2000 (eg, call signal reception sound, message reception sound, notification sound, etc.). The sound output unit may include a speaker, a buzzer, and the like.

振動馬達可輸出振動訊號。舉例而言,振動馬達可輸出與音訊資料(例如,呼叫訊號接收聲音、訊息接收聲音等)或視訊資料的輸出對應的振動訊號。此外,在將觸控輸入至觸控螢幕時,振動馬達可輸出振動訊號。 The vibration motor can output vibration signals. For example, the vibration motor may output a vibration signal corresponding to the output of audio data (for example, call signal reception sound, message reception sound, etc.) or output of video data. In addition, when the touch is input to the touch screen, the vibration motor can output a vibration signal.

圖21是根據示例性實施例的外部元件1000的方框圖。 FIG. 21 is a block diagram of an external element 1000 according to an exemplary embodiment.

參照圖21,外部元件1000可包括感測器2120、通訊器2130、及控制器2140。此外,根據示例性實施例,閘道器2000可連接至各種外部元件1000,且外部元件1000中的每一者可包括除感測器2120、通訊器2130、及控制器2140以外的額外元件。 Referring to FIG. 21, the external component 1000 may include a sensor 2120, a communicator 2130, and a controller 2140. In addition, according to an exemplary embodiment, the gateway 2000 may be connected to various external components 1000, and each of the external components 1000 may include additional components in addition to the sensor 2120, the communicator 2130, and the controller 2140.

感測器2120可產生感測資料。感測器2120可利用例如溫度感測器、濕度感測器、聲音感測器、運動感測器、接近感測器、氣體感測器、或熱感測器來產生感測資料。此外,感測器2120受稍後所將闡述的控制器2140控制從而以預定週期產生感測資料。 The sensor 2120 can generate sensing data. The sensor 2120 may use, for example, a temperature sensor, a humidity sensor, a sound sensor, a motion sensor, a proximity sensor, a gas sensor, or a thermal sensor to generate sensing data. In addition, the sensor 2120 is controlled by the controller 2140 which will be described later to generate sensing data at a predetermined cycle.

通訊器2130可自閘道器2000接收關於感測資料的傳輸的資訊,且可將感測資料傳送至閘道器2000。 The communicator 2130 can receive information about the transmission of the sensing data from the gateway 2000, and can transmit the sensing data to the gateway 2000.

控制器2140可向閘道器2000提供外部元件1000的元件資訊。控制器2140利用通訊器2130與閘道器2000建立通訊,且可將外部元件1000的元件資訊傳送至閘道器2000以將外部元件1000註冊至閘道器2000。元件資訊可包括關於例如外部元件1000的辨識值、外部元件1000的種類、感測資料的種類、感測資料的性質、及感測週期的資訊。 The controller 2140 may provide the component information of the external component 1000 to the gateway 2000. The controller 2140 uses the communicator 2130 to establish communication with the gateway 2000, and can transmit the component information of the external device 1000 to the gateway 2000 to register the external device 1000 to the gateway 2000. The device information may include information on, for example, the identification value of the external device 1000, the type of the external device 1000, the type of sensing data, the nature of the sensing data, and the sensing period.

首先,控制器2140可根據缺設傳輸規則將感測資料提供至閘道器2000。舉例而言,控制器2140可在不執行額外過程的情況下將感測資料傳送至閘道器2000。在此種情形中,自控制器2140提供的感測資料的傳輸週期可具有缺設值。 First, the controller 2140 can provide the sensing data to the gateway 2000 according to the default transmission rule. For example, the controller 2140 can transmit the sensing data to the gateway 2000 without performing an additional process. In this case, the transmission period of the sensing data provided from the controller 2140 may have a default value.

此後,若閘道器2000的資源利用率超過預先設定的臨界值,則控制器2140可自閘道器2000接收關於與所述資源利用率對應的資料傳輸規則的資訊。資料傳輸規則可為關於閘道器2000如何根據閘道器2000的資源利用率自哪個外部元件1000接收感測資料的規則。資料傳輸規則可包括關於例如以下的規則:將被用以提供服務的外部元件1000、欲被暫停的外部元件1000、感測資料的資料提供方法、感測資料的資料傳輸週期、資料傳輸量、及感測資料的排程傳輸。 Thereafter, if the resource utilization rate of the gateway 2000 exceeds a predetermined threshold, the controller 2140 may receive information about the data transmission rule corresponding to the resource utilization rate from the gateway 2000. The data transmission rule may be a rule regarding how the gateway 2000 receives the sensing data from which external element 1000 according to the resource utilization rate of the gateway 2000. The data transmission rules may include rules regarding, for example, the external component 1000 to be used to provide the service, the external component 1000 to be suspended, the data providing method of the sensing data, the data transmission period of the sensing data, the data transmission volume, And scheduled transmission of sensing data.

此外,控制器2140可根據資料傳輸規則將感測資料提供至閘道器2000。舉例而言,控制器2140可被排程為在預定時間將感測資料的平均值傳送至閘道器2000。此外,舉例而言,控制器2140可在對感測資料進行劃分之後將感測資料傳送至閘道器2000,且可改變資料傳輸週期。此外,控制器2140可對感測資料進行組合並將經組合的感測資料傳送至閘道器2000。此外,控制器2140可暫停傳送感測資料。 In addition, the controller 2140 may provide the sensing data to the gateway 2000 according to the data transmission rule. For example, the controller 2140 may be scheduled to transmit the average value of the sensing data to the gateway 2000 at a predetermined time. In addition, for example, the controller 2140 may transmit the sensing data to the gateway 2000 after dividing the sensing data, and may change the data transmission period. In addition, the controller 2140 may combine the sensing data and transmit the combined sensing data to the gateway 2000. In addition, the controller 2140 may suspend the transmission of the sensing data.

此後,當閘道器2000的資源利用率減小至預先設定的臨界值或低於所述臨界值時,控制器2140可根據缺設傳輸規則將感測資料傳送至閘道器2000。 Thereafter, when the resource utilization rate of the gateway 2000 is reduced to a predetermined threshold value or lower than the threshold value, the controller 2140 may transmit the sensing data to the gateway 2000 according to the default transmission rule.

閘道器2000可控制至少一個外部元件1000,且可包括自外部元件1000接收感測資料的通訊器、以及基於選自以下中的至少一者來確定感測資料的處理週期的控制器:用於處理感測資料的閘道器2000的資源利用率、外部元件1000的狀態資訊、及外部元件1000的數目。 The gateway 2000 can control at least one external element 1000, and can include a communicator that receives sensing data from the external element 1000, and a controller that determines the processing cycle of the sensing data based on at least one selected from: The resource utilization rate of the gateway 2000 for processing the sensing data, the status information of the external component 1000, and the number of external components 1000.

此外,外部元件1000可更包括使用者輸入單元(圖中未示出)、輸出單元(圖中未示出)、及記憶體(圖中未示出),但並非僅限於此。 In addition, the external element 1000 may further include a user input unit (not shown in the figure), an output unit (not shown in the figure), and a memory (not shown in the figure), but it is not limited thereto.

圖22是根據示例性實施例,一種使閘道器2000自多個外部元件1000接收感測資料以在閘道器2000的資源利用率發生改變時改變自所述多個外部元件1000傳送的感測資料的處理週期的方法的流程圖。 22 is a diagram showing a gateway 2000 receiving sensing data from a plurality of external elements 1000 to change the sense transmitted from the plurality of external elements 1000 when the resource utilization rate of the gateway 2000 changes according to an exemplary embodiment Flow chart of the method for measuring the processing cycle of data.

參照圖22,外部元件1000可將感測資料傳送至閘道器2000。閘道器2000自外部元件1000接收感測資料(操作S2201)。閘道器2000判斷閘道器2000的資源利用率是否小於臨界值(操作S2203),且若閘道器2000的資源利用率小於臨界值,則以第一循環處理感測資料(S2205);以及若所述資源利用率大於臨界值,則以第二循環處理感測資料(S2207)。亦即,閘道器2000可基於閘道器2000的資源利用率來改變感測資料的處理週期。 Referring to FIG. 22, the external device 1000 may transmit the sensing data to the gateway 2000. The gateway 2000 receives the sensing data from the external device 1000 (operation S2201). The gateway 2000 determines whether the resource utilization rate of the gateway 2000 is less than a critical value (operation S2203), and if the resource utilization rate of the gateway 2000 is less than the critical value, the sensing data is processed in the first cycle (S2205); and If the resource utilization rate is greater than the critical value, the sensing data is processed in the second cycle (S2207). That is, the gateway 2000 may change the processing cycle of the sensing data based on the resource utilization rate of the gateway 2000.

舉例而言,作為外部元件1000的溫度感測器可連接至閘道器2000,且所述溫度感測器每秒一次地將所感測到的溫度資料傳送至閘道器2000。閘道器2000可在閘道器2000的資源利用 率等於或小於臨界值70%的狀態下以一個第二循環處理溫度資料。若資源利用率為較臨界值大的90%,則閘道器2000可將用於處理溫度資料的處理週期改變為每兩秒一次。 For example, a temperature sensor as an external element 1000 may be connected to the gateway 2000, and the temperature sensor transmits the sensed temperature data to the gateway 2000 once per second. Gateway 2000 can be used in the resources of Gateway 2000 When the rate is equal to or less than the critical value of 70%, the temperature data is processed in a second cycle. If the resource utilization rate is greater than 90% of the critical value, the gateway 2000 may change the processing cycle for processing temperature data to every two seconds.

當閘道器2000的資源利用率大於臨界值時,閘道器2000可請求溫度感測器改變資料傳輸週期。舉例而言,當閘道器2000的資源利用率等於或小於為70%的臨界值時,閘道器2000可請求溫度感測器每秒一次地將溫度資料傳送至閘道器2000。此外,舉例而言,若閘道器2000的資源利用率為較臨界值大的90%,則閘道器2000可請求溫度感測器每兩秒一次地將溫度資料傳送至閘道器2000。 When the resource utilization rate of the gateway 2000 is greater than the critical value, the gateway 2000 may request the temperature sensor to change the data transmission period. For example, when the resource utilization rate of the gateway 2000 is equal to or less than the critical value of 70%, the gateway 2000 may request the temperature sensor to transmit the temperature data to the gateway 2000 once per second. In addition, for example, if the resource utilization rate of the gateway 2000 is greater than the critical value by 90%, the gateway 2000 may request the temperature sensor to send the temperature data to the gateway 2000 every two seconds.

此外,若閘道器2000的資源利用率大於臨界值,則閘道器2000可僅自溫度感測器每秒一次地接收溫度資料,但不處理所述溫度資料。 In addition, if the resource utilization rate of the gateway 2000 is greater than the critical value, the gateway 2000 can only receive temperature data from the temperature sensor once per second, but does not process the temperature data.

此外,閘道器2000可基於閘道器2000的資源利用率確定自外部元件1000接收感測資料的週期。若資源利用率小於臨界值,則閘道器2000可以第一循環自外部元件1000接收感測資料,且若資源利用率大於臨界值,則閘道器2000可以第二循環自外部元件1000接收感測資料。舉例而言,當閘道器2000的資源利用率等於或小於為70%的臨界值時,閘道器2000可每秒一次地自外部元件1000接收感測資料,且當閘道器2000的資源利用率為較臨界值大的90%時,閘道器2000可每兩秒一次地自外部元件1000接收感測資料。 In addition, the gateway 2000 may determine the period of receiving the sensing data from the external element 1000 based on the resource utilization rate of the gateway 2000. If the resource utilization rate is less than the critical value, the gateway 2000 can receive the sensing data from the external device 1000 in the first cycle, and if the resource utilization rate is greater than the critical value, the gateway 2000 can receive the sensing data from the external device 1000 in the second cycle Test data. For example, when the resource utilization rate of the gateway 2000 is equal to or less than the critical value of 70%, the gateway 2000 can receive sensing data from the external device 1000 once per second, and when the resources of the gateway 2000 When the utilization rate is greater than 90% of the critical value, the gateway 2000 can receive the sensing data from the external device 1000 once every two seconds.

圖23是根據示例性實施例,一種在自多個外部元件1000接收感測資料的閘道器2000正被修復時改變自所述多個外部元件1000傳送的感測資料的處理週期的方法的流程圖。 23 is a method of changing the processing cycle of the sensing data transmitted from the plurality of external elements 1000 when the gateway 2000 receiving the sensing data from the plurality of external elements 1000 is being repaired according to an exemplary embodiment flow chart.

閘道器2000正被修復的情形可包括閘道器2000改變或更新與閘道器2000的操作相關的軟體的情形。舉例而言,閘道器2000正被修復的情形可包括更新閘道器2000的驅動軟體的情形、更新安裝於閘道器2000上的應用程式軟體的情形、及更新安裝於閘道器2000上的作業系統的情形,但並非僅限於此。 The situation where the gateway 2000 is being repaired may include a situation where the gateway 2000 changes or updates software related to the operation of the gateway 2000. For example, the case where the gateway 2000 is being repaired may include the case where the driver software of the gateway 2000 is updated, the case where the application software installed on the gateway 2000 is updated, and the update is installed on the gateway 2000 The situation of the operating system, but not limited to this.

參照圖23,外部元件1000可將感測資料傳送至閘道器2000。閘道器2000可自外部元件1000接收感測資料(操作S2301)。閘道器2000判斷閘道器2000是否正被修復(操作S2303)。若閘道器2000正被修復,則閘道器2000以第一循環處理感測資料(S2305);以及若閘道器2000並非正被修復,則閘道器2000可以第二循環處理感測資料(S2307)。亦即,閘道器2000可基於閘道器2000是否正被修復來改變感測資料的處理週期。 Referring to FIG. 23, the external device 1000 can transmit the sensing data to the gateway 2000. The gateway 2000 can receive sensing data from the external device 1000 (operation S2301). The gateway 2000 judges whether the gateway 2000 is being repaired (operation S2303). If the gateway 2000 is being repaired, the gateway 2000 processes the sensing data in the first cycle (S2305); and if the gateway 2000 is not being repaired, the gateway 2000 can process the sensing data in the second cycle (S2307). That is, the gateway 2000 may change the processing cycle of the sensing data based on whether the gateway 2000 is being repaired.

舉例而言,作為外部元件1000的溫度感測器可連接至閘道器2000,且所述溫度感測器可每秒一次地將溫度資料傳送至閘道器2000。閘道器2000可在軟體並非正被更新時每秒一次地處理溫度資料。在軟體正被更新時,閘道器2000可在改變處理週期之後每兩秒一次地處理溫度資料。 For example, a temperature sensor as an external element 1000 may be connected to the gateway 2000, and the temperature sensor may transmit temperature data to the gateway 2000 once per second. The gateway 2000 can process temperature data once per second when the software is not being updated. While the software is being updated, the gateway 2000 can process the temperature data every two seconds after changing the processing cycle.

當軟體正被更新時,閘道器2000可請求溫度感測器改變資料傳輸週期。舉例而言,在閘道器2000並未正在更新軟體期 間,閘道器2000可控制溫度感測器每秒一次地將溫度資料傳送至閘道器2000。在閘道器2000正在更新軟體期間,閘道器2000可請求溫度感測器每兩秒一次地傳送溫度資料。 When the software is being updated, the gateway 2000 may request the temperature sensor to change the data transmission period. For example, the gateway 2000 is not updating the software period In the meantime, the gateway 2000 can control the temperature sensor to transmit the temperature data to the gateway 2000 once per second. While the gateway 2000 is updating the software, the gateway 2000 may request the temperature sensor to send temperature data every two seconds.

此外,在軟體更新期間,閘道器2000可僅自溫度感測器每秒一次地接收溫度資料,但可並不處理所述溫度資料。 In addition, during the software update, the gateway 2000 may only receive temperature data from the temperature sensor once per second, but may not process the temperature data.

圖24是根據示例性實施例,一種使閘道器2000自多個外部元件1000接收感測資料以根據外部元件1000的數目來改變自所述多個外部元件1000傳送的感測資料的處理週期的方法的流程圖。 24 is a processing cycle for the gateway 2000 to receive sensing data from a plurality of external elements 1000 to change the sensing data transmitted from the plurality of external elements 1000 according to the number of external elements 1000 according to an exemplary embodiment Flowchart of the method.

參照圖24,外部元件1000可將感測資料傳送至閘道器2000。閘道器2000可自外部元件1000接收感測資料(S2401)。閘道器2000判斷外部元件1000的數目是否小於設定值(S2403)。若外部元件1000的數目小於設定值,則閘道器2000以第一循環處理感測資料(S2405);以及若外部元件1000的數目大於設定值,則閘道器2000可以第二循環處理感測資料(S2407)。亦即,閘道器2000可基於外部元件1000的數目來改變感測資料的處理週期。 Referring to FIG. 24, the external device 1000 may transmit the sensing data to the gateway 2000. The gateway 2000 can receive sensing data from the external device 1000 (S2401). The gateway 2000 judges whether the number of external components 1000 is smaller than the set value (S2403). If the number of external components 1000 is smaller than the set value, the gateway 2000 processes the sensing data in the first cycle (S2405); and if the number of external components 1000 is larger than the set value, the gateway 2000 can process the sensing in the second cycle Information (S2407). That is, the gateway 2000 can change the processing cycle of the sensing data based on the number of external components 1000.

舉例而言,若設定值為10且十個或小於十個外部元件1000連接至閘道器2000,則閘道器2000可每秒一次地處理自外部元件1000傳送的感測資料。若十五個外部元件1000連接至閘道器2000,則閘道器2000可每兩秒一次地處理自外部元件1000傳送的感測資料。 For example, if the set value is 10 and ten or less than ten external components 1000 are connected to the gateway 2000, the gateway 2000 can process the sensing data transmitted from the external component 1000 once per second. If fifteen external components 1000 are connected to the gateway 2000, the gateway 2000 can process the sensing data transmitted from the external component 1000 once every two seconds.

此外,若數目大於設定值的外部元件1000連接至閘道 器2000,則閘道器2000可請求外部元件1000改變資料傳輸週期。舉例而言,若七個(亦即,小於設定值)外部元件1000連接至閘道器2000,則閘道器2000可請求外部元件1000每秒一次地將感測資料傳送至閘道器2000。若十五個(亦即,大於設定值)外部元件1000連接至閘道器2000,則閘道器2000可請求溫度感測器每兩秒一次地將感測資料傳送至閘道器2000。 In addition, if the number of external components 1000 greater than the set value is connected to the gateway Device 2000, the gateway 2000 may request the external component 1000 to change the data transmission period. For example, if seven (ie, less than a set value) external components 1000 are connected to the gateway 2000, the gateway 2000 may request the external component 1000 to transmit the sensing data to the gateway 2000 once per second. If fifteen (ie, greater than a set value) external components 1000 are connected to the gateway 2000, the gateway 2000 may request the temperature sensor to transmit the sensing data to the gateway 2000 every two seconds.

此外,若數目大於設定值的十五個外部元件1000連接至閘道器2000,則閘道器2000可僅每秒一次地接收感測資料,但可並不處理所述感測資料。 In addition, if fifteen external components 1000 whose number is greater than the set value are connected to the gateway 2000, the gateway 2000 may receive the sensing data only once per second, but may not process the sensing data.

此外,閘道器2000可基於外部元件1000的數目確定自外部元件1000接收感測資料的週期。當七個外部元件1000連接至閘道器2000時,閘道器2000可以第一循環自外部元件1000接收感測資料,且當十五個外部元件1000連接至閘道器2000時,閘道器2000可以第二循環自外部元件1000接收感測資料。舉例而言,當連接至閘道器2000的外部元件1000的數目為七個時,閘道器2000可每秒一次地自外部元件1000接收感測資料,且當連接至閘道器2000的外部元件1000的數目為十五個時,閘道器2000可每兩秒一次地自外部元件1000接收感測資料。 In addition, the gateway 2000 may determine the period of receiving sensing data from the external element 1000 based on the number of the external elements 1000. When seven external components 1000 are connected to the gateway 2000, the gateway 2000 can receive sensing data from the external component 1000 in the first cycle, and when fifteen external components 1000 are connected to the gateway 2000, the gateway 2000 can receive the sensing data from the external device 1000 in the second cycle. For example, when the number of external components 1000 connected to the gateway 2000 is seven, the gateway 2000 can receive sensing data from the external components 1000 once per second, and when connected to the external of the gateway 2000 When the number of the components 1000 is fifteen, the gateway 2000 can receive sensing data from the external components 1000 once every two seconds.

圖25是根據示例性實施例,一種使閘道器2000自多個外部元件1000接收感測資料以根據外部元件1000的狀態(例如,電池剩餘電量)而改變來自所述多個外部元件的感測資料的處理週期的方法的流程圖。 FIG. 25 is a method for causing the gateway 2000 to receive sensing data from a plurality of external elements 1000 to change the sense from the plurality of external elements 1000 according to an exemplary embodiment according to the state of the external elements 1000 (for example, remaining battery power) Flow chart of the method for measuring the processing cycle of data.

參照圖25,外部元件1000可將感測資料傳送至閘道器2000。閘道器2000可自外部元件1000接收感測資料(S2501)。閘道器2000判斷外部元件1000每一者中的電池剩餘電量是否大於臨界值(S2503)。此外,若每一外部元件1000中的電池剩餘電量皆大於臨界值,則閘道器2000以第一循環處理感測資料(S2505);以及若每一外部元件1000中的電池剩餘電量皆小於臨界值,則閘道器2000可以第二循環處理感測資料(S2507)。亦即,閘道器2000可基於外部元件1000的狀態(例如,外部元件1000中的電池剩餘電量)來改變感測資料的處理週期。在此種情形中,閘道器2000可自外部元件1000接收關於外部元件1000中的電池剩餘電量的資訊。舉例而言,閘道器2000可在每當某一事件發生時或以預定週期自外部元件1000接收關於外部元件1000中的電池剩餘電量的資訊。閘道器2000可在自外部元件1000接收感測資料的同時接收外部元件1000的狀態資訊(例如,表示電池剩餘電量的資訊、表示資源利用率的資訊、及表示網路狀態的資訊)。 Referring to FIG. 25, the external device 1000 may transmit the sensing data to the gateway 2000. The gateway 2000 can receive sensing data from the external device 1000 (S2501). The gateway 2000 judges whether the remaining battery capacity of each of the external components 1000 is greater than a critical value (S2503). In addition, if the remaining battery capacity of each external device 1000 is greater than the threshold, the gateway 2000 processes the sensing data in the first cycle (S2505); and if the remaining battery capacity of each external device 1000 is less than the threshold Value, the gateway 2000 can process the sensing data in the second cycle (S2507). That is, the gateway 2000 may change the processing cycle of the sensing data based on the state of the external device 1000 (for example, the remaining battery power in the external device 1000). In this case, the gateway 2000 may receive information about the remaining battery capacity of the external device 1000 from the external device 1000. For example, the gateway 2000 may receive information about the remaining capacity of the battery in the external device 1000 from the external device 1000 whenever an event occurs or at a predetermined period. The gateway 2000 can receive the status information of the external component 1000 (for example, information indicating the remaining battery power, information indicating resource utilization, and information indicating network status) while receiving sensing data from the external component 1000.

當外部元件1000中的電池剩餘電量大於臨界值時,外部元件1000以第一循環將感測資料傳送至閘道器2000,且閘道器2000可以第一循環處理感測資料。當外部元件1000中的電池剩餘電量小於臨界值時,外部元件1000可以第二循環將感測資料傳送至閘道器2000,且閘道器2000可以第二循環處理感測資料。 When the remaining battery capacity of the external device 1000 is greater than the critical value, the external device 1000 transmits the sensing data to the gateway 2000 in the first cycle, and the gateway 2000 can process the sensing data in the first cycle. When the remaining battery capacity of the external device 1000 is less than the critical value, the external device 1000 can transmit the sensing data to the gateway 2000 in the second cycle, and the gateway 2000 can process the sensing data in the second cycle.

舉例而言,若外部元件1000中的電池剩餘電量為80%,則外部元件1000可每秒一次地將感測資料傳送至閘道器2000,且 閘道器2000可每秒一次地處理自外部元件1000傳送的感測資料。若外部元件1000中的電池剩餘電量為20%,則外部元件1000每兩秒一次地將感測資料傳送至閘道器2000,且閘道器2000可每兩秒一次地處理自外部元件1000傳送的感測資料。 For example, if the remaining battery capacity of the external device 1000 is 80%, the external device 1000 can send the sensing data to the gateway 2000 once per second, and The gateway 2000 can process the sensing data transmitted from the external device 1000 once per second. If the remaining battery capacity of the external device 1000 is 20%, the external device 1000 transmits the sensing data to the gateway 2000 every two seconds, and the gateway 2000 can process the transmission from the external device 1000 once every two seconds Sensory data.

此外,當外部元件1000中的電池剩餘電量小於臨界值時,閘道器2000可請求外部元件1000改變資料傳輸週期。舉例而言,當臨界值為30%且外部元件1000中的電池剩餘電量為較臨界值大的80%時,外部元件1000可每秒一次地將感測資料傳送至閘道器2000。當外部元件1000中的電池剩餘電量為較臨界值小的20%時,閘道器2000可請求外部元件1000每兩秒一次地傳送感測資料。 In addition, when the remaining battery capacity of the external device 1000 is less than the critical value, the gateway 2000 may request the external device 1000 to change the data transmission period. For example, when the critical value is 30% and the remaining battery capacity of the external device 1000 is 80% greater than the critical value, the external device 1000 can transmit the sensing data to the gateway 2000 once per second. When the remaining battery capacity of the external device 1000 is 20% smaller than the critical value, the gateway 2000 may request the external device 1000 to transmit sensing data once every two seconds.

此外,若外部元件1000中的電池剩餘電量為較臨界值小的20%,則閘道器2000可每秒一次地自外部元件1000接收感測資料,但可不處理所述感測資料。 In addition, if the remaining battery capacity of the external device 1000 is 20% smaller than the critical value, the gateway 2000 may receive the sensing data from the external device 1000 once per second, but the sensing data may not be processed.

此外,閘道器2000可基於外部元件1000中的電池剩餘電量來確定自外部元件1000接收感測資料的週期。若外部元件1000中的電池剩餘電量大於臨界值,則閘道器2000可以第一循環自外部元件1000接收感測資料,且若外部元件1000中的電池剩餘電量小於臨界值,則閘道器2000可以第二循環自外部元件1000接收感測資料。舉例而言,若臨界值為30%且外部元件1000中的電池剩餘電量為80%,則閘道器2000可每秒一次地自外部元件1000接收感測資料,且若外部元件1000中的電池剩餘電量為 20%,則閘道器2000可每兩秒一次地自外部元件1000接收感測資料。 In addition, the gateway 2000 may determine a period for receiving sensing data from the external device 1000 based on the remaining battery capacity in the external device 1000. If the remaining battery capacity of the external device 1000 is greater than the threshold, the gateway 2000 can receive sensing data from the external device 1000 in the first cycle, and if the remaining battery capacity of the external device 1000 is less than the threshold, the gateway 2000 The sensing data can be received from the external device 1000 in the second cycle. For example, if the threshold is 30% and the remaining battery capacity of the external device 1000 is 80%, the gateway 2000 can receive sensing data from the external device 1000 once per second, and if the battery in the external device 1000 The remaining power is 20%, the gateway 2000 can receive the sensing data from the external device 1000 once every two seconds.

示例性實施例亦可以電腦可讀取記錄媒體(例如由電腦執行的程式模組)的形式達成。電腦可讀取記錄媒體可為可由電腦存取的任意可用媒體,且其實例包括所有揮發性及非揮發性媒體以及可分離式及不可分離式媒體。此外,電腦可讀取記錄媒體的實例可包括電腦儲存媒體及通訊媒體。電腦儲存媒體的實例包括所有揮發性及非揮發性媒體以及可分離式及不可分離式媒體,所述媒體已藉由任意方法或技術實作以用於儲存例如電腦可讀取命令、資料結構、程式模組、及其他資料等資訊。通訊媒體通常包括電腦可讀取命令、資料結構、程式模組、經調變資料訊號的其他資料、或另一傳輸機制,且其實例包括任意資訊傳輸媒體。 Exemplary embodiments can also be implemented in the form of computer-readable recording media (eg, program modules executed by the computer). The computer-readable recording medium may be any available media that can be accessed by the computer, and examples thereof include all volatile and non-volatile media, and separable and non-separable media. In addition, examples of computer-readable recording media may include computer storage media and communication media. Examples of computer storage media include all volatile and non-volatile media as well as separable and non-separable media, which have been implemented by any method or technology for storing eg computer readable commands, data structures, Information about program modules and other data. Communication media usually include computer readable commands, data structures, program modules, other data of modulated data signals, or another transmission mechanism, and examples thereof include any information transmission media.

此外,本文中「單元」可為硬體組件(例如,處理器或電路)及/或由硬體組件(例如,處理器)執行的軟體組件。 In addition, the “unit” herein may be a hardware component (for example, a processor or a circuit) and/or a software component executed by the hardware component (for example, a processor).

應理解,本文中所闡述的示例性實施例應被理解為僅具有闡述意義而並非用於限制目的。對每一示例性實施例中的特徵或態樣的說明通常應被視為可用於其他示例性實施例中的其他類似特徵或態樣。 It should be understood that the exemplary embodiments set forth herein should be understood to have meaning only for explanation and not for limitation purposes. Descriptions of features or aspects in each exemplary embodiment should generally be considered as available for other similar features or aspects in other exemplary embodiments.

儘管已參照圖式闡述了示例性實施例,但此項技術中具有通常知識者應理解,在不背離由以下申請專利範圍界定的精神及範圍的條件下可對本發明作出各種形式及細節上的變化。 Although the exemplary embodiments have been described with reference to the drawings, those of ordinary skill in the art should understand that various forms and details of the present invention can be made without departing from the spirit and scope defined by the following patent application scope Variety.

1000:外部元件 1000: external components

2000:閘道器 2000: Gateway

3000:元件 3000: components

4000:伺服器 4000: server

Claims (13)

一種控制至少一個外部元件的閘道器,所述閘道器包括:通訊器,用以與所述至少一個外部元件進行通訊;記憶體,用以儲存一個或多個指令;以及處理器,用以執行所述一個或多個指令以:確定所述閘道器的資源利用率;自所述至少一個外部元件接收所述至少一個外部元件的元件資訊;基於所述至少一個外部元件的所述元件資訊,識別所述至少一個外部元件提供的服務;基於所述元件資訊和所述至少一個外部元件提供的所述服務,確定指示自所述至少一個外部元件接收的感測資料的管理的資料傳輸規則;根據所述閘道器的所述資源利用率及所述資料傳輸規則而確定自所述至少一個外部元件向所述閘道器提供所述感測資料的資料提供方法;以及控制所述通訊器以將訊號傳送至所述至少一個外部元件,所述訊號指示所述至少一個外部元件根據所述資料提供方法提供所述感測資料。 A gateway for controlling at least one external component, the gateway includes: a communicator for communicating with the at least one external component; a memory for storing one or more instructions; and a processor for To execute the one or more instructions to: determine the resource utilization rate of the gateway; receive component information of the at least one external component from the at least one external component; based on the at least one external component Component information, identifying services provided by the at least one external component; based on the component information and the services provided by the at least one external component, determining data indicating management of sensing data received from the at least one external component Transmission rule; a data providing method for providing the sensing data from the at least one external element to the gateway according to the resource utilization rate of the gateway and the data transmission rule; and the control institute The communicator transmits a signal to the at least one external component, the signal instructs the at least one external component to provide the sensing data according to the data providing method. 如申請專利範圍第1項所述的閘道器,其中所述資料提供方法包括選自以下的至少一種資料提供方法:對所述感測資 料進行組合的資料提供方法、對所述感測資料進行劃分的資料提供方法、及計算所述感測資料的平均值的資料提供方法。 The gateway described in item 1 of the patent application scope, wherein the data providing method includes at least one data providing method selected from the group consisting of: A data providing method for combining materials, a data providing method for dividing the sensing data, and a data providing method for calculating an average value of the sensing data. 如申請專利範圍第2項所述的閘道器,其中所述處理器更用以基於所述至少一個外部元件的所述感測資料的種類及所述至少一個外部元件的所述感測資料的大小中的至少一者而確定所述資料提供方法。 The gateway according to item 2 of the patent application scope, wherein the processor is further used to determine the type of the sensing data of the at least one external element and the sensing data of the at least one external element At least one of the sizes determines the method of providing the data. 如申請專利範圍第1項所述的閘道器,其中所述處理器更用以在所述資源利用率超過臨界值時自所述至少一個外部元件中選擇外部元件並確定欲自所述所選擇外部元件傳送的所述感測資料的所述資料提供方法。 The gateway according to item 1 of the scope of the patent application, wherein the processor is further used to select an external component from the at least one external component when the resource utilization exceeds a critical value and determine the The data providing method of the sensing data transmitted by an external component is selected. 如申請專利範圍第4項所述的閘道器,其中所述處理器更用以控制所述通訊器以將請求所述感測資料的所述訊號傳送至所述所選擇外部元件,並控制所述通訊器以將用於請求未被選擇的未選外部元件暫停傳送所述感測資料的訊號傳送至所述未選外部元件。 The gateway according to item 4 of the patent application scope, wherein the processor is further used to control the communicator to transmit the signal requesting the sensing data to the selected external component and control The communicator transmits a signal for requesting an unselected unselected external component to suspend transmission of the sensing data to the unselected external component. 如申請專利範圍第1項所述的閘道器,其中所述處理器更用以確定來自所述至少一個外部元件的所述感測資料的傳輸週期,且控制所述通訊器以根據所述所確定傳輸週期將所述請求所述至少一個外部元件提供所述感測資料的所述訊號傳送至所述至少一個外部元件。 The gateway according to item 1 of the patent application scope, wherein the processor is further used to determine a transmission period of the sensing data from the at least one external element, and controls the communicator to control the communication according to the The determined transmission period transmits the signal requesting the at least one external element to provide the sensing data to the at least one external element. 如申請專利範圍第1項所述的閘道器,更包括用以儲存所述外部元件的所述元件資訊的所述記憶體, 其中所述元件資訊包括關於所述外部元件的種類、所述外部元件的所述感測資料的種類、及所述外部元件的感測週期的資訊。 The gateway described in item 1 of the scope of the patent application further includes the memory for storing the component information of the external component, The component information includes information about the type of the external component, the type of the sensing data of the external component, and the sensing period of the external component. 如申請專利範圍第7項所述的閘道器,其中所述處理器更用以與由連接至所述閘道器的元件或伺服器提供的服務相關聯地儲存所述元件資訊至所述記憶體,且所述處理器更用以自所述至少一個外部元件中選擇所需要的外部元件以提供用於提供所述服務的所述感測資料。 The gateway according to item 7 of the patent application scope, wherein the processor is further used to store the component information to the service in association with a service provided by a component or a server connected to the gateway A memory, and the processor is further used to select a required external component from the at least one external component to provide the sensing data for providing the service. 如申請專利範圍第1項所述的閘道器,其中所述資源利用率是基於選自以下中的至少一者而確定:所述閘道器的中央處理裝置(CPU)的使用情況、所述閘道器的記憶體使用情況、及所述閘道器的通訊狀態。 The gateway according to item 1 of the patent application scope, wherein the resource utilization rate is determined based on at least one selected from the following: the usage of the central processing unit (CPU) of the gateway, The memory usage of the gateway and the communication status of the gateway. 如申請專利範圍第1項所述的閘道器,其中所述處理器更用以控制所述通訊器以在所述資源利用率返回至臨界值時將以下訊息傳送至所述外部元件:所述訊息請求所述外部元件根據缺設傳輸規則提供所述感測資料。 The gateway described in item 1 of the patent application scope, wherein the processor is further used to control the communicator to send the following message to the external component when the resource utilization returns to a critical value: The message requests the external component to provide the sensing data according to a default transmission rule. 一種使閘道器控制至少一個外部元件的方法,所述方法包括:確定所述閘道器的資源利用率;自所述至少一個外部元件接收所述至少一個外部元件的元件資訊;基於所述至少一個外部元件的所述元件資訊,識別所述至少一個外部元件提供的服務; 基於所述元件資訊和所述至少一個外部元件提供的所述服務,確定指示自所述至少一個外部元件接收的感測資料的管理的資料傳輸規則;根據所述資源利用率及所述資料傳輸規則而確定自所述至少一個外部元件向所述閘道器提供所述感測資料的資料提供方法;以及將訊號傳送至所述至少一個外部元件,所述訊號指示所述至少一個外部元件根據所述所確定資料提供方法提供所述感測資料。 A method for causing a gateway to control at least one external component, the method comprising: determining a resource utilization rate of the gateway; receiving component information of the at least one external component from the at least one external component; based on the The component information of at least one external component, identifying services provided by the at least one external component; Based on the component information and the service provided by the at least one external component, determining a data transmission rule indicating management of sensing data received from the at least one external component; based on the resource utilization rate and the data transmission Rules to determine the data providing method for providing the sensing data from the at least one external component to the gateway; and transmitting a signal to the at least one external component, the signal indicating that the at least one external component is based on The determined data providing method provides the sensing data. 如申請專利範圍第11項所述的方法,其中所述資料提供方法包括選自以下的至少一種資料提供方法:對所述感測資料進行組合的資料提供方法、對所述感測資料進行劃分的資料提供方法、及計算所述感測資料的平均值的資料提供方法。 The method according to item 11 of the patent application scope, wherein the data providing method includes at least one data providing method selected from the following: a data providing method combining the sensing data, and dividing the sensing data The method of providing data and the method of providing data for calculating the average value of the sensing data. 如申請專利範圍第12項所述的方法,其中所述確定所述資料提供方法的步驟包括:基於所述外部元件的所述感測資料的種類及所述感測資料的大小中的至少一者而確定所述資料提供方法。 The method according to item 12 of the patent application scope, wherein the step of determining the method for providing the data includes: at least one of the type of the sensing data and the size of the sensing data based on the external element To determine the method of providing the information.
TW104124619A 2014-07-31 2015-07-30 Method and gateway for controling external device and device connected to gateway TWI692223B (en)

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
KR20140098648 2014-07-31
KR10-2014-0098648 2014-07-31
KR10-2014-0161633 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
KR10-2015-0043304 2015-03-27
KR1020150043304A KR102307352B1 (en) 2014-07-31 2015-03-27 System and method for controlling data transmission of external apparatus connected with gateway

Publications (2)

Publication Number Publication Date
TW201613308A TW201613308A (en) 2016-04-01
TWI692223B true TWI692223B (en) 2020-04-21

Family

ID=55357209

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104124619A TWI692223B (en) 2014-07-31 2015-07-30 Method and gateway for controling external device and device connected to gateway

Country Status (2)

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

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101796583B1 (en) 2016-06-21 2017-12-12 주식회사 삼진엘앤디 SYSTEM, METHOD AND COMPUTER READABLE RECORDING MEDIUM FOR PROVIDING INTELLIGENT SERVICE USING CONTEXT AWARENESS IN IoT ENVIRONMENT
KR101723984B1 (en) 2017-01-31 2017-04-06 (주)그립 Device and Method for Controlling Internet of Things Device
KR102593932B1 (en) * 2021-08-26 2023-10-25 주식회사 엘지유플러스 Method for controlling system including edge gateway of managing industrial iiot
KR102517403B1 (en) * 2022-06-23 2023-04-04 주식회사 티팩토리 Cloud-based ESS remote safety management system using gateway

Citations (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
US20070127381A1 (en) * 2005-12-02 2007-06-07 Oh Hyun W Congestion control access gateway and congestion control method for the same
US20080031139A1 (en) * 2006-08-04 2008-02-07 Hitachi, Ltd. Sensor network system and data processing method for sensor network
US20080150714A1 (en) * 2006-11-30 2008-06-26 International Business Machines Corporation Method for reducing power consumption of sensors

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8291428B2 (en) * 2009-01-30 2012-10-16 Raytheon Company Low burden system for allocating computational resources in a real time control environment

Patent Citations (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
US20070127381A1 (en) * 2005-12-02 2007-06-07 Oh Hyun W Congestion control access gateway and congestion control method for the same
US20080031139A1 (en) * 2006-08-04 2008-02-07 Hitachi, Ltd. Sensor network system and data processing method for sensor network
US20080150714A1 (en) * 2006-11-30 2008-06-26 International Business Machines Corporation Method for reducing power consumption of sensors

Also Published As

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

Similar Documents

Publication Publication Date Title
CN105323158B (en) System and method for controlling data transmission of external device connected to gateway
TWI692223B (en) Method and gateway for controling external device and device connected to gateway
US10656803B2 (en) Adaptive background playback behavior
KR101882399B1 (en) Companion application for activity cooperation
EP3167629B1 (en) Methods and apparatus for improved low energy data communications
KR102084577B1 (en) Activity continuation between electronic devices
KR101568620B1 (en) Method of outputting estimated qoes on a terminal on an application basis
US20160036897A1 (en) System and method of providing recommendation content
EP3395016B1 (en) System to monitor and control sensor devices
WO2017052846A1 (en) Universal sensor and/or sensor cluster to provide a detection pattern
US20170277506A1 (en) Adjusting volume settings based on proximity and activity data
WO2018188278A1 (en) Memory resource allocation method and terminal device
WO2019072179A1 (en) Application running control method and apparatus
TWI581651B (en) Operational management methods and systems for a wireless connecting unit, and related computer program products
US20200177301A1 (en) Device and method for performing data communication with slave device
US10873847B2 (en) Method and host device for communicating among multiple devices
EP3128424A1 (en) Electronic device and storage medium
KR102536586B1 (en) Electronic device using a wifi communication and method of operating the same
CN106533983B (en) Apparatus, method and program product for data bandwidth optimization
US20220358830A1 (en) Separation Alerts for Notification While Traveling
TWI554131B (en) Group management methods and systems, and related computer program products
US20130332755A1 (en) Power management enhancement
US20210058775A1 (en) Agent device and method for operating the same

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees