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 PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 154
- 230000005540 biological transmission Effects 0.000 claims abstract description 190
- 238000012545 processing Methods 0.000 claims description 30
- 238000004891 communication Methods 0.000 claims description 21
- 238000003672 processing method Methods 0.000 abstract 1
- 230000008859 change Effects 0.000 description 37
- 230000008569 process Effects 0.000 description 26
- 238000010586 diagram Methods 0.000 description 23
- 239000000872 buffer Substances 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000005406 washing Methods 0.000 description 3
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 239000000725 suspension Substances 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 238000010276 construction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 239000011540 sensing material Substances 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/30—Flow control; Congestion control in combination with information about buffer occupancy at either end or at transit nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
Abstract
Description
本申請案主張於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))
外部元件1000可產生感測資料,且可將所述感測資料提供至閘道器2000。外部元件1000可為應用至或併入於元件3000或閘道器2000中的一般元件(或物件)。舉例而言,外部元件1000可包括溫度感測器、濕度感測器、聲音感測器、運動感測器、接近感測器、氣體感測器、熱感測器、冰箱、閉路電視、電視、洗衣機、除濕機、燈具、火警警報器等,但外部元件1000並非僅限於此。
The
外部元件1000可根據閘道器2000的控制而暫停外部元件1000的運作。此外,外部元件1000可處理在外部元件1000中產生的感測資料,並根據閘道器2000的控制將感測資料提供至閘道器2000。此外,外部元件1000可根據閘道器2000的控制而執行各種操作。
The
閘道器2000自外部元件1000接收感測資料,並將所述感測資料提供至元件3000及/或伺服器4000。此外,閘道器2000
監視其自身的資源利用率,且可在所述資源利用率大於臨限值時針對外部元件1000與閘道器2000之間的通訊來控制外部元件1000。閘道器2000可暫停一或多個外部元件1000的運作,且可請求外部元件1000改變提供感測資料的方法。
The
元件3000及伺服器4000自閘道器2000接收感測資料,且可利用所述感測資料向使用者提供服務。元件3000及伺服器4000可利用自閘道器2000傳送的感測資料以提供例如火警服務、安全服務、及家庭網路服務。
The
元件3000可為智慧型電話、平板個人電腦、個人電腦、智慧型電視、行動電話、個人數位助理、膝上型電腦、媒體播放機、微伺服器、全球定位系統、電子書終端、數位廣播終端、導航系統、資訊站、MP3播放機、數位相機、或其他行動或非行動計算元件,但並非僅限於此。此外,元件3000可為穿戴式元件,例如具有通訊功能及資料處理功能的手錶、眼鏡、發帶、或戒指,但元件3000並非僅限於此。亦即,元件3000可包括可經由網路自閘道器2000接收用於提供服務的感測資料的任何種類的元件。
網路可包括局部區域網路(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
在操作S200中,閘道器2000可辨識連接至閘道器2000的外部元件1000。由於外部元件1000連接至閘道器2000,故閘道器2000可自外部元件1000接收外部元件1000的元件資訊。閘道器2000可基於自外部元件1000傳送的元件資訊而辨識外部元件1000。外部元件1000的元件資訊為用於表示或辨識外部元件1000及外部元件1000的性質的資訊,例如外部元件1000的辨識值、外部元件1000的種類、由外部元件1000產生的感測資料的種類及性質、以及外部元件1000的感測週期。
In operation S200, the
此外,閘道器2000可儲存外部元件1000的元件資訊。閘道器2000可儲存欲與將由元件3000或伺服器4000提供的服務鏈接的外部元件1000的元件資訊。在此種情形中,閘道器2000自元件3000或伺服器4000接收服務資訊,且可基於所述服務資訊而辨識外部元件1000所鏈接到的服務。服務資訊可包括例如服務的辨識值、用於提供服務的外部元件的種類及數目、用於提供服務的外部元件之間的優先次序、用於提供服務的感測資料的種類及數目、以及用於提供服務的感測資料的優先次序,但所述服務資訊並非僅限於此。
In addition, the
在操作S210中,閘道器2000可設定資料傳輸規則。資料傳輸規則可為控制閘道器2000如何根據閘道器2000的資源利用率自一或多個外部元件1000接收感測資料及/或控制外部元件
1000如何根據閘道器2000的資源利用率將感測資料傳遞至閘道器2000的規則。閘道器2000可基於外部元件1000的元件資訊及由元件3000或伺服器4000提供的服務的服務資訊而根據預先設定的準則來設定資料傳輸規則。另外,閘道器2000可基於使用者輸入設定資料傳輸規則。
In operation S210, the
資料傳輸規則可被設定成根據閘道器2000的資源利用率來區分,且可包括關於以下的規則:例如,將被用以提供服務的外部元件、欲被暫停的外部元件、感測資料的資料處理類型、感測資料的資料傳輸週期、資料傳輸量、及是否在被排程的傳輸中傳送感測資料。舉例而言,閘道器2000可根據選自季節、天氣及時間中的至少一者而設定關於感測資料的資料傳輸週期、資料傳輸量、及是否在被排程的傳輸中傳送感測資料的規則。舉例而言,在乾燥天氣中,閘道器2000可將與火警服務相關的感測資料的傳輸週期設定為短的。此外,舉例而言,閘道器2000可將感測資料的傳輸週期設定為在夜間比在白天更長。
The data transmission rules can be set to be differentiated according to the resource utilization of the
在操作S220中,閘道器2000可監視閘道器2000的資源利用率。閘道器2000的資源利用率可基於選自以下中的至少一者而確定:例如,閘道器2000的中央處理裝置(CPU)的使用情況、記憶體使用情況、緩衝記憶體使用情況、及通訊或網路狀態。舉例而言,所述資源利用率可根據閘道器2000的CPU當前已被使用的量(例如,當前使用的CPU佔CPU的最大效能的百分比)而確定。此外,所述資源利用率可根據閘道器2000中的記憶體的
總容量當前被使用的百分比(%)而確定。此外,所述資源利用率可根據當前儲存於閘道器2000的緩衝記憶體中的資料量而確定。然而,所述資源利用率並非僅限於此,亦即,閘道器2000的資源利用率可根據使用資源、以及CPU、記憶體、及緩衝器的各種狀態而確定。
In operation S220, the
此外,閘道器2000可判斷資源利用率是否超過儲存於記憶體中的臨界(例如,臨限)值。
In addition, the
在操作S230中,閘道器2000可根據資料傳輸規則將與感測資料的傳輸相關的控制訊息傳送至外部元件1000。閘道器2000辨識與閘道器2000的當前資源利用率對應的資料傳輸規則,並可將與感測資料的傳輸相關的控制訊息傳送至外部元件1000,以根據所辨識的資料傳輸規則控制外部元件1000。傳送至外部元件1000的控制訊息可包括關於以下的資訊:例如,是否暫停或終止外部元件或感測資料的傳輸、感測資料的資料處理類型、及資料傳輸週期。
In operation S230, the
圖3是根據示例性實施例,一種使閘道器2000儲存外部元件的元件資訊、及關於由元件3000或伺服器4000提供的服務的服務資訊的方法的流程圖。
3 is a flowchart of a method for causing the
在操作S300中,外部元件1000可將其元件資訊提供至閘道器2000。當外部元件1000被連接成與閘道器2000通訊時,外部元件1000可將外部元件1000的元件資訊傳送至閘道器2000以將外部元件1000註冊至閘道器2000。元件資訊可包括關於例如
外部元件1000的辨識值、外部元件1000的種類、感測資料的種類、感測資料的性質、以及感測週期的資訊。此外,閘道器2000可基於元件資訊來辨識每一外部元件1000的種類及由外部元件1000產生的感測資料的種類。
In operation S300, the
在操作S310中,元件3000或伺服器4000可向閘道器2000提供服務資訊。服務資訊為關於由元件3000或伺服器4000提供的服務的資訊,且可包括服務的辨識值、用於提供服務的外部元件的種類及數目、用於提供服務的外部元件之間的優先次序、用於提供服務的感測資料的種類及數目、以及用於提供服務的感測資料之間的優先次序,但並非僅限於此。所述服務可包括例如家庭網路服務、安全服務、火警服務、電力管理服務、及內容共用服務,但所述服務並非僅限於此。
In operation S310, the
在操作S320中,閘道器2000可確定與服務相關的外部元件。閘道器2000可基於服務資訊而確定用於提供服務的外部元件,且可將連接至閘道器2000的某些或所有外部元件確定為與服務相關的外部元件。
In operation S320, the
在操作S330中,閘道器2000可與服務相關聯地儲存被確定為與服務相關的外部元件1000的元件資訊。舉例而言,閘道器2000可向外部元件1000的元件資訊表添加代表服務的辨識值的欄位,且可在所添加的欄位中記錄與外部元件1000相關的服務的辨識值。然而,元件資訊的儲存並非僅限於此。
In operation S330, the
圖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
參照圖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)
外部元件1000的辨識值可記錄於元件辨識欄位40中,且外部元件1000的種類可記錄於元件種類欄位42中。舉例而言,溫度感測器、聲音感測器、氣體感測器、手錶、冰箱、洗衣機、火警警報器等可記錄於元件種類欄位42中。
The identification value of the
此外,由外部元件1000感測到的感測資料的種類可記錄於資料類型欄位44中。舉例而言,數字、聲音、字母、影像、視訊等可記錄於資料類型欄位44中。
In addition, the type of sensing data sensed by the
此外,由外部元件1000感測到的感測資料的性質可記錄於資料性質欄位46中。舉例而言,數值、資料值、位元組值、字串值等可記錄於資料性質欄位46中。
In addition, the nature of the sensed data sensed by the
此外,由外部元件1000對感測資料進行感測的週期可記錄於感測週期欄位48中。記錄於感測週期欄位48中的感測週期可為設定於外部元件1000中的缺設值。
In addition, the period in which the sensing data is sensed by the
圖5是根據示例性實施例顯示服務資訊表的實例的圖式,所述服務資訊表表示關於由元件3000或伺服器4000提供的服務的資訊。
FIG. 5 is a diagram showing an example of a service information table that represents information about services provided by the
參照圖5,所述服務資訊表可包括服務ID欄位50、所需元件欄位52、優先次序1欄位54、優先次序2欄位56、及優先
次序3欄位58。
Referring to FIG. 5, the service information table may include a
代表服務的辨識值可記錄於服務ID欄位50中,關於提供服務所需要的外部元件1000的種類及數目的資訊可記錄於所需元件欄位52中。舉例而言,「二個溫度感測器」、「三個氣體感測器」、及「一個火警警報器」可記錄於所需元件欄位52中。
The identification value representing the service can be recorded in the
在優先次序1欄位54、優先次序2欄位56、及優先次序3欄位58中,可記錄對於提供服務而言所需要的外部元件1000中的與上述優先次序對應的外部元件1000的種類及數目。舉例而言,「一個溫度感測器」、「一個氣體感測器」、及「一個火警警報器」可記錄於優先次序1欄位54中,「一個溫度感測器」及「一個氣體感測器」可記錄於優先次序2欄位56中,而「一個氣體感測器」可記錄於優先次序3欄位58中。
In the priority 1
記錄於所需元件欄位52、優先次序1欄位54、優先次序2欄位56、及優先次序3欄位58中的資訊可用於選擇外部元件1000的最小集合以根據資源利用率充分地提供服務。
The information recorded in the required
圖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
與外部元件1000相關聯的服務的辨識值可記錄於相關聯服務欄位60中。閘道器2000可將圖4所示的元件資訊表與圖5
所示的服務資訊表彼此進行比較,以確定欲被記錄於圖6所示的相關聯服務欄位中的服務的辨識值。舉例而言,「家庭控制服務B」及「火警服務A」可與作為溫度感測器的元件A相關聯地記錄於相關聯服務欄位60中。
The identification value of the service associated with the
圖7是根據示例性實施例,一種使閘道器2000設定感測資料的資料傳輸規則的方法的流程圖。
7 is a flowchart of a method for the
在操作S700中,閘道器2000可確定對應於資源利用率的外部元件1000。閘道器2000可根據閘道器2000的資源利用率的每一部分來確定對於提供服務而言所需要的外部元件1000。閘道器2000可基於外部元件1000的元件資訊及元件3000或伺服器4000的服務資訊來確定與閘道器2000的資源利用率對應的外部元件1000。閘道器2000可不選擇與服務無關的外部元件1000。此外,閘道器2000可自對於提供服務而言所需要的外部元件1000中選擇對於服務而言所必需的外部元件1000,且可不選擇非必需的外部元件。
In operation S700, the
舉例而言,若對於提供火警服務而言所需要的外部元件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
在操作S710中,閘道器2000可確定將自外部元件1000傳送的感測資料的資料提供方法。所述資料提供方法可包括例如在收集感測資料之後提供、在對感測資料進行劃分之後提供、及在計算感測資料的平均值之後提供。此外,所述資料提供方法可包括一種將新產生的感測資料與先前傳送至閘道器2000的感測資料進行比較以僅傳送發生改變的(例如,有差別的)資料的方法。閘道器2000可慮及感測資料的即時性質及感測資料的大小而確定感測資料的資料提供方法。閘道器2000可控制外部元件1000將大容量的感測資料劃分成塊(piece),且外部元件1000將小容量的感測資料進行組合。此外,當感測資料的性質為數值時,閘道器2000可控制外部元件1000傳送所述感測資料的平均值。
In operation S710, the
舉例而言,在火警服務中,在閘道器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
在操作S720中,閘道器2000可確定將自外部元件1000傳送的感測資料的資料傳輸週期。閘道器2000可慮及感測資料的
即時性質、資料大小、及資料提供方法而確定感測資料的資料傳輸週期。
In operation S720, the
舉例而言,在火警服務中,在閘道器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
在操作S730中,閘道器2000可判斷是否在被排程的傳輸中自外部元件1000傳送感測資料。閘道器2000可慮及感測資料的即時性質、資料大小、及資料提供方法而判斷感測資料是否作為被排程傳輸進行傳送。
In operation S730, the
舉例而言,在火警服務中,在閘道器2000的資源利用率介於70%至100%的範圍內時,閘道器2000可確定使得氣體感測器B被排程為在預定時間傳送所收集的感測資料。
For example, in the fire alarm service, when the resource utilization rate of the
圖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
利用感測資料的服務的辨識值可記錄於服務ID欄位80中,且閘道器2000的資源利用率可記錄於資源利用率欄位82中。資源利用率的週期的值可記錄於資源利用率欄位82中。
The identification value of the service using the sensing data may be recorded in the
此外,與資源利用率對應的外部元件1000的辨識值可記錄於外部元件欄位84中。此外,表示與資源利用率對應的外部元件1000的感測資料的傳輸是否暫停的值可記錄於暫停欄位86中。
In addition, the identification value of the
此外,表示外部元件1000的感測資料提供方法的值可記錄於資料提供方法欄位87中,例如「平均」、「分離」、「組合」及「改變」可記錄於資料提供方法欄位87中。
In addition, the value representing the sensing data providing method of the
此外,感測資料的傳輸週期可記錄於傳輸週期欄位88中,且表示是否執行感測資料的排程傳輸的值可記錄於排程傳輸欄位89中。
In addition, the transmission period of the sensing data can be recorded in the
圖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
此外,圖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
在操作S900中,閘道器2000可監視閘道器2000中的CPU利用率,且在操作S910中,閘道器2000可監視閘道器2000的記憶體利用率。
In operation S900, the
在操作S920中,閘道器2000可判斷CPU利用率及/或記憶體利用率是否超過預先設定的臨界值。閘道器2000可判斷CPU利用率是否超過預先設定的臨界值、記憶體利用率是否超過預先設定的臨界值、抑或CPU利用率及記憶體利用率二者是否皆超過預先設定的臨界值。此外,閘道器2000可判斷CPU利用率及記憶體利用率的值是否超過預先設定的臨界值。此外,閘道器2000可判斷資源利用率超過臨界值的狀態是否保持了預定時間週期。
In operation S920, the
在圖9中,閘道器2000基於CPU利用率及/或記憶體利用率來判斷資源利用率,但資源利用率並非僅限於此。舉例而言,閘道器2000可根據使用各種資源的狀態來判斷資源利用率,例如緩衝記憶體的使用量或通訊狀態、以及CPU使用量及記憶體使用量。此外,用於判斷資源利用率的準則可以各種不同方式設定。
In FIG. 9, the
圖10是一種在資源利用率發生改變時使閘道器2000自多個外部元件1000接收感測資料以對來自所述多個外部元件1000的感測資料的傳輸進行控制的方法的流程圖。
10 is a flowchart of a method for causing the
在操作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
在操作S1040中,閘道器2000可判斷閘道器2000的資源利用率是否超過預先設定的臨界值。閘道器2000可監視閘道器2000的CPU利用率及記憶體利用率。此外,閘道器2000可判斷閘道器2000的CPU利用率及/或記憶體利用率是否可超過預先設定的臨界值。
In operation S1040, the
作為操作S1040中的判斷結果,若閘道器2000的資源利用率未超過預先設定的臨界值,則閘道器2000可重複執行操作S1040。
As a result of the determination in operation S1040, if the resource utilization rate of the
此外,作為操作S1040中的判斷結果,若閘道器2000的資源利用率超過預先設定的臨界值,則閘道器2000可執行操作S1050。
In addition, as a result of the determination in operation S1040, if the resource utilization rate of the
在操作S1050中,閘道器2000可辨識對應於資源利用率的資料傳輸規則。閘道器2000可利用預先產生的資料傳輸規則表來辨識與閘道器2000的資源利用率對應的資料傳輸規則。
In operation S1050, the
在操作S1060至操作S1090中,閘道器2000可根據所
辨識的資料傳輸規則控制來自第一外部元件1100、第二外部元件1200、第三外部元件1300、及第四外部元件1400的感測資料的傳輸。
In operation S1060 to operation S1090, the
在操作S1060中,閘道器2000可將控制訊息傳送至第一外部元件1100,以執行感測資料的平均值的排程傳輸。
In operation S1060, the
在操作S1070中,閘道器2000可將控制訊息傳送至第二外部元件1200,以分別地傳送感測資料並改變傳輸週期。
In operation S1070, the
在操作S1080中,閘道器2000可將控制訊息傳送至第三外部元件1300,以組合並傳送感測資料。
In operation S1080, the
此外,在操作S1090中,閘道器2000可將控制訊息傳送至第四外部元件1400,以暫停感測資料的傳輸。
In addition, in operation S1090, the
此後,第一外部元件1100、第二外部元件1200、及第三外部元件1300可基於自閘道器2000傳送的控制訊息將感測資料傳送至閘道器2000。
Thereafter, the first
此外,閘道器2000可將自第一外部元件1100、第二外部元件1200、及第三外部元件1300傳送的感測資料提供至元件3000或伺服器4000以使得元件3000或伺服器4000可向使用者提供預定服務。
In addition, the
圖11是根據示例性實施例顯示控制訊息的實例的圖式,所述控制訊息自閘道器2000傳送至外部元件1000以控制來自外部元件1000的感測資料的傳輸。
FIG. 11 is a diagram showing an example of control messages transmitted from the
參照圖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-
表示控制訊息的類型的一位元值110可表示控制訊息是否為用於暫停來自外部元件1000的感測資料的傳輸的訊息。舉例而言,若表示控制訊息的類型的一位元值110為「1」,則所述控制訊息可為用於準許外部元件1000傳送感測資料並控制感測資料的傳輸的訊息。此外,若表示控制訊息的類型的一位元值110為「0」,則所述控制訊息可為用於暫停來自外部元件1000的感測資料的傳輸的訊息。此外,若表示控制訊息的類型的一位元值110為「0」且控制訊息中的其他位元皆為1,則所述控制訊息可為用於暫停來自外部元件1000的感測資料的傳輸且累積並儲存由外部元件1000所感測到的感測資料的訊息。
The one-
表示資料提供方法的三位元值112可為表示外部元件1000如何處理並提供感測資料的值。舉例而言,若表示資料提供方法的三位元值112為「0」,則控制訊息可為用於控制外部元件1000不對感測資料進行額外處理的訊息。此外,若表示資料提供方法的三位元值112為「1」,則控制訊息可為用於控制外部元件1000傳送感測資料的平均值的訊息。此外,若表示資料提供方法的三位元值112為「2」,則控制訊息可為用於控制外部元件1000組合並傳送感測資料的訊息。此外,若表示資料提供方法的三位
元值112為「3」,則控制訊息可為用於控制外部元件1000劃分感測資料並傳送所劃分的感測資料的訊息。此外,若表示資料提供方法的三位元值112為「4」,則控制訊息可為用於控制外部元件1000將新收集的感測資料與先前的感測資料進行比較以僅傳送發生改變的感測資料的訊息。此外,若表示資料提供方法的三位元值112為「5」,則控制訊息可為用於控制外部元件1000在組合感測資料的平均值之後傳送感測資料的訊息。
The three-
表示資料提供方法的子規則的四位元值114可表示關於資料處理的次數。舉例而言,表示資料提供方法的子規則的四位元值114可表示對感測資料進行劃分的次數、對感測資料進行組合的次數、或欲被計算平均值的感測資料的條數。
The four-
用於改變感測資料的傳輸週期的八位元值116可表示感測資料的傳輸週期。
The
圖12是根據示例性實施例,在資源利用率小於預先設定的臨界值時使閘道器2000控制外部元件1000的流程圖。
FIG. 12 is a flowchart of causing the
在操作S1200中,閘道器2000可判斷閘道器2000的資源利用率是否小於預先設定的臨界值。當閘道器2000的資源利用率小於預先設定的臨界值時,閘道器2000可與外部元件1000通訊而不存在任何特定限制。閘道器2000可判斷CPU利用率是否小於預先設定的臨界值、記憶體利用率是否小於預先設定的臨界值、抑或CPU利用率及記憶體利用率二者是否皆小於預先設定的臨界值。此外,閘道器2000可判斷CPU利用率與記憶體利用率
的平均值是否小於預先設定的臨界值。此外,閘道器2000可判斷資源利用率小於預先設定的臨界值的狀態是否保持了預定時間週期或更長。
In operation S1200, the
作為操作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
作為操作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
圖13是根據示例性實施例,顯示其中在火警服務提供系統中閘道器2000控制外部元件1000的實例的圖式。
FIG. 13 is a diagram showing an example in which the
參照圖13,閘道器2000可連接至溫度感測器A 1002、溫度感測器B 1004、氣體感測器A 1006、氣體感測器B 1008、閉路電視1010、及用於提供至少另一服務的感測器1060,以提供火警服務。此外,閘道器2000可連接至火警警報器1070至1074、元件3000、及伺服器4000。
Referring to FIG. 13, the
若閘道器2000的資源利用率低且閘道器2000可與外部元件1000充分通訊,則閘道器2000可根據缺設規則自溫度感測
器A 1002、溫度感測器B 1004、氣體感測器A 1006、氣體感測器B 1008、閉路電視1010、及用於提供另一服務的感測器1060接收感測資料。
If the resource utilization of the
此後,閘道器2000的資源利用率變高且閘道器2000可能無法充分地與外部元件1000通訊,此時閘道器2000可暫停傳送來自溫度感測器B 1004、氣體感測器B 1008、及用於提供另一服務的感測器1060的感測資料。此外,閘道器2000可改變感測資料的傳輸週期以及溫度感測器A 1002、氣體感測器A 1006、及閉路電視1010的感測資料提供方法。
After that, the resource utilization rate of the
此後,若閘道器2000基於來自氣體感測器A 1006的感測資料而確定感測到氣體,則閘道器2000可啟動氣體感測器A 1006及氣體感測器B 1008兩者,並可控制氣體感測器A 1006及氣體感測器B 1008以較短的傳輸週期傳送感測資料。
Thereafter, if the
此後,若閘道器2000基於所接收的資料確定已發生火災,則閘道器2000可控制火警警報器1070至1074運作以發出火災警報。此外,若閘道器2000確定已發生火災,則閘道器2000可停止除用於通知爆發火災的外部元件1000以外的其他外部元件1000的運作。是否存在火災可由閘道器2000確定,但所述確定並非僅限於此,且元件3000及/或伺服器4000亦可判斷是否發生了火災。此外,閘道器2000可通知另一閘道器爆發了火災。此外,閘道器2000通知元件3000及/或伺服器4000爆發了火災,以使元件3000及/或伺服器4000可運作以對火災作出響應。
Thereafter, if the
圖14是根據示例性實施例,一種在火警服務提供系統中在閘道器2000的資源利用率增大時使閘道器2000控制外部元件1000的方法的流程圖。
14 is a flowchart of a method of causing the
在操作S1400至操作S1420中,溫度感測器A 1002、溫度感測器B 1004、氣體感測器A 1006、氣體感測器B 1008、及閉路電視1010可根據缺設規則將感測資料傳送至閘道器2000。
In operations S1400 to S1420, the
在操作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
在操作S1430中,閘道器2000可判斷閘道器2000的資源利用率是否超過預先設定的臨界值。閘道器2000可監視閘道器2000的CPU利用率及記憶體利用率。此外,閘道器2000可判斷閘道器2000的CPU利用率及/或記憶體利用率是否超過預先設定的臨界值。
In operation S1430, the
作為操作S1430中的判斷結果,若閘道器2000的資源
利用率未超過預先設定的臨界值,則閘道器2000可重複執行操作S1430。
As a result of the determination in operation S1430, if the resources of the
此外,作為操作S1430中的判斷結果,若閘道器2000的資源利用率超過預先設定的臨界值,則閘道器2000可執行操作S1435。
In addition, as a result of the determination in operation S1430, if the resource utilization rate of the
在操作S1435中,閘道器2000可辨識與閘道器2000的資源利用率對應的資料傳輸規則。閘道器2000可利用預先產生的資料傳輸規則表來辨識與閘道器2000的資源利用率對應的資料傳輸規則。
In operation S1435, the
在操作S1440至操作S1460中,閘道器2000可根據所辨識的資料傳輸規則來控制溫度感測器A 1002、溫度感測器B 1004、氣體感測器A 1006、氣體感測器B 1008、閉路電視1010、及用於提供另一服務的感測器1060。
In operation S1440 to operation S1460, the
在操作S1440中,閘道器2000可請求溫度感測器A 1002將溫度資料的傳輸週期改變為0.2/秒並傳送溫度資料的平均值。閘道器2000可將控制訊息傳送至溫度感測器A 1002以將溫度資料的傳輸週期改變為0.2/秒並傳送溫度資料的平均值。
In operation S1440, the
在操作S1445中,閘道器2000可請求溫度感測器B 1004暫停傳送溫度資料。閘道器2000可將控制訊息傳送至溫度感測器B 1004以暫停傳送溫度資料。
In operation S1445, the
在操作S1450中,閘道器2000可請求氣體感測器A 1006將氣體感測資料的傳輸週期改變為0.5/秒。閘道器2000可將控制
訊息傳送至氣體感測器A 1006以將氣體感測資料的傳輸週期改變為0.5/秒。
In operation S1450, the
在操作S1455中,閘道器2000可請求氣體感測器B 1008暫停傳送氣體感測資料。閘道器2000可將控制訊息傳送至氣體感測器B 1008以暫停傳送氣體感測資料。
In operation S1455, the
在操作S1460中,閘道器2000可保持閉路電視1010的資料傳輸規則。閘道器2000可不傳送控制訊息至閉路電視1010以不改變閉路電視1010的資料傳輸規則。
In operation S1460, the
在操作S1465中,閘道器2000可請求用於提供另一服務的至少一個感測器1060暫停傳送感測資料。
In operation S1465, the
圖15是一種在確定感測到氣體或偵測到火災時使閘道器2000控制外部元件1000的方法的流程圖。圖15所示的過程可在圖14所示的過程之後執行,但過程的順序並非僅限於此。
15 is a flowchart of a method for causing the
在操作S1500中,閘道器2000可判斷是否感測到氣體。閘道器2000可基於自氣體感測器A 1006傳送的氣體感測資料來判斷是否感測到氣體。
In operation S1500, the
作為操作S1500中的判斷結果,在確定未感測到氣體時,閘道器2000可重複執行操作S1500。
As a result of the determination in operation S1500, when it is determined that the gas is not sensed, the
此外,作為操作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
在操作S1505中,閘道器2000可請求氣體感測器A 1006
將氣體感測資料的傳輸週期改變為每秒兩次(2/秒)。閘道器2000可將控制訊息傳送至氣體感測器A 1006以將氣體感測資料的傳輸週期改變為每秒兩次(2/秒)。
In operation S1505, the
在操作S1510中,閘道器2000可請求氣體感測器B 1008取消對氣體感測資料的傳輸的暫停並將氣體感測資料的傳輸週期改變為每秒兩次(2/秒)。閘道器2000可將控制訊息傳送至氣體感測器B 1008以取消氣體感測資料的傳輸的暫停狀態並將氣體感測資料的傳輸週期改變為每秒兩次(2/秒)。
In operation S1510, the
在操作S1515中,閘道器2000可判斷是否偵測到火災。閘道器2000可基於自溫度感測器A 1002、氣體感測器A 1006、氣體感測器B 1008、及閉路電視1010傳送的感測資料來判斷是否偵測到火災。閘道器2000可自行判斷火災的爆發,但所述判斷並非僅限於此。亦即,閘道器2000可將感測資料傳送至元件3000及/或伺服器4000,且可自元件3000及/或伺服器4000接收代表由元件3000及/或伺服器4000所確定的火災爆發判斷的資訊。
In operation S1515, the
作為操作S1515中的判斷結果,若確定不存在火災,則閘道器2000可重複執行操作S1515。
As a result of the determination in operation S1515, if it is determined that there is no fire, the
此外,作為操作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
在操作S1520至操作S1535中,閘道器2000可暫停傳送來自溫度感測器A 1002、氣體感測器A 1006、氣體感測器B
1008、及閉路電視1010的感測資料。此外,在操作S1540中,閘道器2000可請求用於提供另一服務的感測器1060暫停所有感測器1060的運作。
In operation S1520 to operation S1535, the
在操作S1550中,閘道器2000通知火警警報器1070至1074爆發了火災,以使得火警警報器1070至1074可運作。此外,在操作S1555中,閘道器2000可通知另一閘道器爆發了火災。接收到火災通知的閘道器可操作連接至所述另一閘道器的火警警報器。
In operation S1550, the
圖16是根據示例性實施例,顯示其中在安全服務提供系統中由閘道器2000控制某些外部元件1000的實例的圖式。
FIG. 16 is a diagram showing an example in which certain
參照圖16,閘道器2000可連接至運動感測器A 1012、溫度感測器A 1002、接近感測器A 1014、使用者進入感測器1016、閉路電視1010、及至少一個用於提供另一服務的感測器1062,以提供安全服務。此外,閘道器2000可連接至警報器1080至1082、元件3000、及伺服器4000。運動感測器A 1012可為用於感測運動感測器A外部的運動的感測器。
Referring to FIG. 16, the
若閘道器2000的資源利用率低且閘道器2000可與外部元件1000通訊,則閘道器2000可根據缺設規則自運動感測器A 1012、溫度感測器A 1002、接近感測器1014、使用者進入感測器1016、閉路電視1010、及用於提供其他服務的感測器1062接收感測資料。
If the resource utilization rate of the
若閘道器2000的資源利用率增大且閘道器2000未充分
地與外部元件1000通訊,則閘道器2000可暫停傳送來自接近感測器A 1014、閉路電視1010、及用於提供其他服務的感測器1062的感測資料。此外,閘道器2000可改變來自運動感測器A 1012、溫度感測器A 1002、及使用者進入感測器1016的感測資料的傳輸週期及資料提供方法。
If the resource utilization rate of the
此後,若閘道器2000可確定存在竊賊的非法入侵,則閘道器2000可控制所有警報器1080及警報器1082運作以發出非法入侵警報。此外,在閘道器2000確定存在竊賊的非法入侵時,閘道器2000可停止除用於發出非法入侵警報的外部元件1000以外的其他外部元件1000的運作。閘道器2000可判斷是否偵測到非法入侵,但所述判斷並非僅限於此,且元件3000及/或伺服器4000可判斷是否發生了非法入侵。此外,閘道器2000可通知另一閘道器發生了竊賊的非法入侵。此外,閘道器2000可通知元件3000及/或伺服器4000發生了竊賊的非法入侵,以使得所述元件及/或伺服器4000可對所述非法入侵作出響應。
After that, if the
圖17是根據示例性實施例,一種在安全服務提供系統中在閘道器2000的資源利用率增大時使閘道器2000控制外部元件1000的方法的流程圖。
FIG. 17 is a flowchart of a method of causing the
在操作S1700至操作S1720中,運動感測器A 1012、溫度感測器A 1002、接近感測器A 1014、使用者進入感測器1016、及閉路電視1010可根據缺設規則將感測資料傳送至閘道器2000。
In operations S1700 to S1720, the
在操作S1700中,運動感測器A 1012可每秒一次(1/
秒)地將代表是否感測到運動的運動感測資料傳送至閘道器2000,且在操作S1705中,溫度感測器A 1002可每秒一次(1/秒)地將溫度資料傳送至閘道器2000。此外,在操作S1710中,接近感測器A 1014可每秒一次(1/秒)地將代表某一物件是否靠近接近感測器A的接近感測資料傳送至閘道器2000。
In operation S1700, the
在操作S1715中,使用者進入感測器1016可將關於使用者進入某一空間(例如,建築、房屋等)的資料傳送至閘道器2000。使用者進入感測器1016可設置於建築或房屋的入口上,且可收集關於經過所述入口的使用者的資訊。使用者進入感測器1016可每十分鐘傳送5百萬位元(MB)的資料至閘道器2000。
In operation S1715, the
在操作S1720中,閉路電視1010可將所拍攝的影像資料傳送至閘道器2000,且在操作S1725中,用於提供另一服務的感測器1062可將感測資料傳送至閘道器2000。
In operation S1720, the
在操作S1730中,閘道器2000可判斷閘道器2000的資源利用率是否超過預先設定的臨界值。閘道器2000可監視閘道器2000的CPU利用率及記憶體利用率。此外,閘道器2000可判斷閘道器2000的CPU利用率及/或記憶體利用率是否超過預先設定的臨界值。
In operation S1730, the
作為操作S1730中的判斷結果,若閘道器2000的資源利用率未超過預先設定的臨界值,則閘道器2000可重複執行操作S1730。
As a result of the determination in operation S1730, if the resource utilization rate of the
此外,作為操作S1730中的判斷結果,若閘道器2000
的資源利用率超過預先設定的臨界值,則閘道器2000可執行操作S1735。
In addition, as a result of the determination in operation S1730, if the
在操作S1735中,閘道器2000可辨識與閘道器2000的資源利用率對應的資料傳輸規則。閘道器2000可利用預先產生的資料傳輸規則表來辨識與閘道器2000的資源利用率對應的資料傳輸規則。
In operation S1735, the
在操作S1740至操作S1760中,閘道器2000可根據如上所辨識的資料傳輸規則來控制運動感測器A 1012、溫度感測器A 1002、接近感測器A 1014、使用者進入感測器1016、閉路電視1010、及用於提供另一服務的感測器1062。
In operation S1740 to operation S1760, the
在操作S1740中,閘道器2000可僅在感測到運動時請求運動感測器A 1012傳送運動感測資料。閘道器2000可向運動感測器A 1012傳送控制訊息,且所述控制訊息包括容許運動感測器A 1012僅在感測到運動時傳送運動感測資料的資訊。
In operation S1740, the
在操作S1745中,閘道器2000可請求溫度感測器A 1002將溫度資料的傳輸週期改變為0.2/秒。閘道器2000可向溫度感測器A 1002傳送控制訊息,其中所述控制訊息包括用於將溫度資料的傳輸週期改變為0.2/秒的資訊。
In operation S1745, the
在操作S1750中,閘道器2000可請求接近感測器A 1014暫停傳送接近感測資料。閘道器2000可向接近感測器A 1014傳送控制訊息,且所述控制訊息包括用於暫停傳送接近感測資料的資訊。
In operation S1750, the
在操作S1755中,閘道器2000可請求使用者進入感測器1016在將關於使用者進入的5MB的資料劃分成十份後傳送所述5MB的資料。閘道器2000可向使用者進入感測器1016傳送控制訊息,且所述控制訊息包括表示關於使用者進入的5MB的資料須被劃分成十份並傳送所劃分的資料的資訊。
In operation S1755, the
在操作S1760中,閘道器2000可請求閉路電視1010暫停傳送所拍攝的影像資料。閘道器2000可向閉路電視1010傳送控制訊息,且所述控制訊息包括表示將暫停傳送所拍攝的影像資料的資訊。
In operation S1760, the
在操作S1765中,閘道器2000可請求用於提供另一服務的感測器1062中的至少某些感測器暫停傳送感測資料。
In operation S1765, the
此後,在確定存在竊賊的非法入侵時,閘道器2000可通知警報器1080及警報器1082所述非法入侵,以使得警報器1080及警報器1082可運作。此外,閘道器2000可通知另一閘道器所述非法入侵。此外,閘道器2000可通知元件3000及/或伺服器4000所述非法入侵。
Thereafter, when it is determined that there is an illegal intrusion by a thief, the
圖18是根據示例性實施例,顯示其中在家庭網路服務提供系統中由閘道器2000控制外部元件1000的實例的圖式。
FIG. 18 is a diagram showing an example in which the
參照圖18,閘道器2000可連接至溫度感測器A 1002、溫度感測器B 1004、濕度感測器A 1018、冰箱1020、空調機1090、及電視1095以用於提供家庭網路服務。此外,閘道器2000可連接至元件3000及伺服器4000。
Referring to FIG. 18, the
在閘道器2000的資源利用率低且閘道器2000可與外部元件1000通訊時,閘道器2000可根據缺設傳輸規則自溫度感測器A 1002、溫度感測器B 1004、濕度感測器A 1018、冰箱1020、空調機1090、及電視1095中的所有者接收感測資料。
When the resource utilization rate of the
在元件3000經由閘道器2000向電視1095提供串流視訊時,閘道器2000的資源利用率可增大,且因此閘道器2000可能無法充分地與外部元件1000通訊。在此種情形中,閘道器2000可暫停傳送來自靠近空調機1090設置的溫度感測器B 1004的感測資料。此外,閘道器2000可改變來自溫度感測器A 1002、濕度感測器A 1018、冰箱1020、空調機1090、及電視1095的感測資料的傳輸週期及資料提供方法。
When the
此外,若確定房屋中的溫度高於預先設定的臨界值,則閘道器2000可控制空調機1090運作。
In addition, if it is determined that the temperature in the house is higher than a predetermined threshold, the
圖19是根據示例性實施例,一種在家庭網路服務提供系統中閘道器2000隨著閘道器2000的資源利用率的增大來控制外部元件1000的方法的流程圖。
FIG. 19 is a flowchart of a method for controlling the
在操作S1900至操作S1925中,溫度感測器A 1002、溫度感測器B 1004、濕度感測器A 1018、冰箱1020、空調機1090、及電視1095可根據缺設傳輸規則將感測資料傳送至閘道器2000。
In operations S1900 to S1925, the
在操作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
此後,在操作S1930及操作S1935中,元件3000可經由閘道器2000將串流視訊傳送至電視1095。因此,閘道器2000的資源利用率可增大。
Thereafter, in operations S1930 and S1935, the
在操作S1940中,閘道器2000可判斷閘道器2000的資源利用率是否超過預先設定的臨界值。閘道器2000可監視閘道器2000的CPU利用率及記憶體利用率。此外,閘道器2000可判斷閘道器2000的CPU利用率及/或記憶體利用率是否超過預先設定的臨界值。
In operation S1940, the
作為操作S1940中的判斷結果,若閘道器2000的資源利用率未超過預先設定的臨界值,則閘道器2000可重複執行操作S1930。
As a result of the determination in operation S1940, if the resource utilization rate of the
此外,作為操作S1940中的判斷結果,若閘道器2000的資源利用率超過預先設定的臨界值,則閘道器2000可執行操作S1945。
In addition, as a result of the determination in operation S1940, if the resource utilization rate of the
在操作S1945中,閘道器2000可辨識與閘道器2000的資源利用率對應的資料傳輸規則。閘道器2000可利用預先產生的資料傳輸規則表來辨識與閘道器2000的資源利用率對應的資料傳輸規則。舉例而言,閘道器2000可暫停傳送來自靠近空調機1090安裝的溫度感測器B 1004的感測資料。此外,閘道器2000可改變來自溫度感測器A 1002、濕度感測器A 1018、冰箱1020、空調機1090、及電視1095的傳輸資料的資料提供方法或傳輸週期。
In operation S1945, the
在操作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
此外,若房屋中的溫度高於預先設定的臨界值,則在操作S1970中閘道器2000可請求空調機1090運作。閘道器2000可將控制訊息傳送至空調機1090以操作空調機1090。
In addition, if the temperature in the house is higher than a preset threshold, the
圖20是根據示例性實施例的閘道器2000的方框圖。
FIG. 20 is a block diagram of the
如圖20所示,根據示例性實施例的閘道器2000可包括記憶體2100、通訊器2200、及控制器2300。通訊器2200可包括無線通訊器2210及有線通訊器2220。
As shown in FIG. 20, the
記憶體2100可儲存自外部元件1000傳送的外部元件
1000的元件資訊、以及自元件3000及/或伺服器4000傳送的服務資訊。此外,記憶體2100可儲存自外部元件1000傳送的感測資料。
The
通訊器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
控制器2300可控制閘道器2000的整體運作。控制器2300可控制記憶體2100及通訊器2200,以使得閘道器2000可根據閘道器2000的資源利用率控制外部元件1000。控制器2300可包括例如中央處理裝置(CPU)、微控制器單元(micro controller unit,MCU)、微處理器單元(micro processor unit,MPU)、或高階RISC機器(ARM)處理器等處理器,但並非僅限於此。
The
控制器2300可辨識連接至閘道器2000的外部元件1000。由於外部元件1000連接至閘道器2000,故控制器2300可
自外部元件1000接收外部元件1000的元件資訊。此外,控制器2300可基於自外部元件1000傳送的元件資訊來辨識外部元件1000。外部元件1000的元件資訊是代表外部元件1000的性質的資訊,例如關於外部元件1000的辨識值、外部元件1000的種類、由外部元件1000產生的感測資料的種類及性質、及外部元件1000的感測週期的資訊。
The
此外,控制器2300可將外部元件1000的元件資訊儲存於記憶體2100中。控制器2300可與將由元件3000或伺服器4000提供的服務相關聯地將外部元件1000的元件資訊儲存於記憶體2100中。在此種情形中,控制器2300自元件3000或伺服器4000接收服務資訊,且可基於所述服務資訊來辨識哪個服務與外部元件1000相關聯。所述服務資訊可包括例如服務的辨識值、用於提供服務的外部元件的種類及數目、用於提供服務的外部元件1000之間的優先次序、用於提供服務的感測資料的種類及數目、以及用於提供服務的感測資料的優先次序,但並非僅限於此。
In addition, the
舉例而言,控制器2300在外部元件1000的元件資訊表中添加代表服務的辨識值的欄位,且可在所添加的欄位中記錄與外部元件1000相關聯的服務的辨識值,但並非僅限於此。
For example, the
控制器2300可設定感測資料的資料傳輸規則。資料傳輸規則可代表關於如何根據閘道器2000的資源利用率自哪個外部元件1000接收感測資料的規則。控制器2300可基於外部元件1000的元件資訊及由元件3000或伺服器4000提供的服務的服務資
訊、根據預先設定的準則來設定資料傳輸規則。另外,控制器2300可基於使用者輸入來設定資料傳輸規則。
The
資料傳輸規則可被設定成根據閘道器2000的資源利用率而不同,且可包括例如關於以下的規則:將被用以提供服務的外部元件1000、欲被暫停的外部元件1000、感測資料的資料處理類型、感測資料的資料傳輸週期、及是否執行感測資料的排程傳輸。
The data transmission rules may be set to be different according to the resource utilization rate of the
詳言之,控制器2300可確定與閘道器2000的資源利用率對應的外部元件1000。控制器2300可針對閘道器2000的資源利用率的各部分來確定對於提供服務而言所需要的外部元件1000。控制器2300可基於外部元件1000的元件資訊及元件3000或伺服器4000的服務資訊來確定與閘道器2000的資源利用率對應的外部元件1000。控制器2300可不選擇與服務無關的外部元件1000。此外,閘道器2000可自對於提供服務而言所需要的外部元件1000中選擇對於提供服務而言所必需的外部元件1000,且可不選擇對於提供服務而言非必需的外部元件1000。
In detail, the
舉例而言,若對於提供火警服務而言所需要的外部元件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
控制器2300可確定將自外部元件1000傳送的感測資料的資料提供方法。所述資料提供方法可包括例如在對感測資料進行組合之後提供的提供方法、在對感測資料進行劃分之後提供的提供方法、及在計算感測資料的平均值之後提供的提供方法。此外,所述資料提供方法可包括一種將新產生的感測資料與先前傳送至閘道器2000的感測資料進行比較以僅傳送發生改變的資料的提供方法。控制器2300可慮及感測資料的即時性質及大小而確定感測資料的資料提供方法。控制器2300可確定外部元件1000須將大容量的感測資料進行劃分,且外部元件1000須將小容量的感測資料進行組合。此外,在感測資料的性質為數值的情形中,控制器2300可確定外部元件1000須傳送所述感測資料的平均值。
The
舉例而言,在火警服務中,在閘道器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
控制器2300可確定將自所選擇的外部元件1000傳送的
感測資料的資料傳輸週期。控制器2300可慮及感測資料的即時性質、感測資料的資料大小、及資料提供方法而確定感測資料的資料傳輸週期。
The
舉例而言,在火警服務中,在閘道器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
控制器2300可判斷將自所選擇的外部元件1000傳送的感測資料的排程傳輸。控制器2300可慮及感測資料的即時性質、感測資料的資料大小、及資料提供方法而判斷是否執行感測資料的排程傳輸。
The
舉例而言,在火警服務中,在閘道器2000的資源利用率介於70%至100%的範圍內的情形中,控制器2300可確定使氣體感測器B被排程為在預先設定的時間傳送經組合的感測資料。
For example, in the fire alarm service, in the case where the resource utilization rate of the
控制器2300可監視閘道器2000的資源利用率。控制器2300可監視閘道器2000的CPU利用率及記憶體利用率。此外,控制器2300可判斷閘道器2000的資源利用率是否超過預先設定的臨界值。控制器2300可判斷CPU利用率是否超過預先設定的
臨界值、記憶體利用率是否超過預先設定的臨界值、及CPU利用率及記憶體利用率二者是否皆超過預先設定的臨界值。控制器2300可判斷CPU利用率與記憶體利用率的平均值是否超過預先設定的臨界值。控制器2300可判斷資源利用率超過預先設定的臨界值的狀態是否保持了預定時間週期或更長。
The
控制器2300可根據資料傳輸規則將關於感測資料的傳輸的控制訊息傳送至外部元件1000。控制器2300可辨識與閘道器2000的當前資源利用率對應的資料傳輸規則,並可將關於感測資料的傳輸的控制訊息傳送至外部元件1000,以根據所辨識的資料傳輸規則控制外部元件1000。傳送至外部元件1000的控制訊息可包括例如以下資訊:是否暫停外部元件1000、感測資料的資料傳輸方法、及資料傳輸週期。
The
此外,控制器2300可判斷閘道器2000的資源利用率是否小於預先設定的臨界值。若所述資源利用率不小於預先設定的臨界值,則控制器2300可保持當前的資料傳輸規則。若所述資源利用率小於預先設定的臨界值,則控制器2300可請求外部元件1000根據缺設傳輸規則傳送感測資料。控制器2300可將控制訊息傳送至外部元件1000以使得外部元件1000可根據缺設傳輸規則傳送感測資料。所述缺設傳輸規則是在閘道器2000可充分地利用資源的情形中的資料傳輸規則,且可具有缺設值。
In addition, the
此外,閘道器2000可更包括感測單元(圖中未示出)、音訊/視訊(A/V)輸入單元(圖中未示出)、使用者輸入單元(圖
中未示出)、及輸出單元(圖中未示出)。
In addition, the
使用者輸入單元可為供使用者輸入資料以控制閘道器2000的單元。舉例而言,使用者輸入單元可包括小鍵盤、薄膜開關(dome switch)、觸控墊(觸控電容型觸控墊、壓力電阻型觸控墊、紅外光束感測型觸控墊、表面聲波型觸控墊、整體應變計型觸控墊、壓電效應型觸控墊等)、滾輪(jog wheel)、輕搖開關(jog switch)等,但一或多個實例實施例並非僅限於此。
The user input unit may be a unit for the user to input data to control the
輸出單元可輸出音訊訊號、視訊訊號、或振動訊號,且可包括顯示單元(圖中未示出)、聲音輸出單元(圖中未示出)、振動馬達(圖中未示出)等。 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
聲音輸出單元亦可輸出與閘道器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
參照圖21,外部元件1000可包括感測器2120、通訊器2130、及控制器2140。此外,根據示例性實施例,閘道器2000可連接至各種外部元件1000,且外部元件1000中的每一者可包括除感測器2120、通訊器2130、及控制器2140以外的額外元件。
Referring to FIG. 21, the
感測器2120可產生感測資料。感測器2120可利用例如溫度感測器、濕度感測器、聲音感測器、運動感測器、接近感測器、氣體感測器、或熱感測器來產生感測資料。此外,感測器2120受稍後所將闡述的控制器2140控制從而以預定週期產生感測資料。
The
通訊器2130可自閘道器2000接收關於感測資料的傳輸的資訊,且可將感測資料傳送至閘道器2000。
The
控制器2140可向閘道器2000提供外部元件1000的元件資訊。控制器2140利用通訊器2130與閘道器2000建立通訊,且可將外部元件1000的元件資訊傳送至閘道器2000以將外部元件1000註冊至閘道器2000。元件資訊可包括關於例如外部元件1000的辨識值、外部元件1000的種類、感測資料的種類、感測資料的性質、及感測週期的資訊。
The
首先,控制器2140可根據缺設傳輸規則將感測資料提供至閘道器2000。舉例而言,控制器2140可在不執行額外過程的情況下將感測資料傳送至閘道器2000。在此種情形中,自控制器2140提供的感測資料的傳輸週期可具有缺設值。
First, the
此後,若閘道器2000的資源利用率超過預先設定的臨界值,則控制器2140可自閘道器2000接收關於與所述資源利用率對應的資料傳輸規則的資訊。資料傳輸規則可為關於閘道器2000如何根據閘道器2000的資源利用率自哪個外部元件1000接收感測資料的規則。資料傳輸規則可包括關於例如以下的規則:將被用以提供服務的外部元件1000、欲被暫停的外部元件1000、感測資料的資料提供方法、感測資料的資料傳輸週期、資料傳輸量、及感測資料的排程傳輸。
Thereafter, if the resource utilization rate of the
此外,控制器2140可根據資料傳輸規則將感測資料提供至閘道器2000。舉例而言,控制器2140可被排程為在預定時間將感測資料的平均值傳送至閘道器2000。此外,舉例而言,控制器2140可在對感測資料進行劃分之後將感測資料傳送至閘道器2000,且可改變資料傳輸週期。此外,控制器2140可對感測資料進行組合並將經組合的感測資料傳送至閘道器2000。此外,控制器2140可暫停傳送感測資料。
In addition, the
此後,當閘道器2000的資源利用率減小至預先設定的臨界值或低於所述臨界值時,控制器2140可根據缺設傳輸規則將感測資料傳送至閘道器2000。
Thereafter, when the resource utilization rate of the
閘道器2000可控制至少一個外部元件1000,且可包括自外部元件1000接收感測資料的通訊器、以及基於選自以下中的至少一者來確定感測資料的處理週期的控制器:用於處理感測資料的閘道器2000的資源利用率、外部元件1000的狀態資訊、及外部元件1000的數目。
The
此外,外部元件1000可更包括使用者輸入單元(圖中未示出)、輸出單元(圖中未示出)、及記憶體(圖中未示出),但並非僅限於此。
In addition, the
圖22是根據示例性實施例,一種使閘道器2000自多個外部元件1000接收感測資料以在閘道器2000的資源利用率發生改變時改變自所述多個外部元件1000傳送的感測資料的處理週期的方法的流程圖。
22 is a diagram showing a
參照圖22,外部元件1000可將感測資料傳送至閘道器2000。閘道器2000自外部元件1000接收感測資料(操作S2201)。閘道器2000判斷閘道器2000的資源利用率是否小於臨界值(操作S2203),且若閘道器2000的資源利用率小於臨界值,則以第一循環處理感測資料(S2205);以及若所述資源利用率大於臨界值,則以第二循環處理感測資料(S2207)。亦即,閘道器2000可基於閘道器2000的資源利用率來改變感測資料的處理週期。
Referring to FIG. 22, the
舉例而言,作為外部元件1000的溫度感測器可連接至閘道器2000,且所述溫度感測器每秒一次地將所感測到的溫度資料傳送至閘道器2000。閘道器2000可在閘道器2000的資源利用
率等於或小於臨界值70%的狀態下以一個第二循環處理溫度資料。若資源利用率為較臨界值大的90%,則閘道器2000可將用於處理溫度資料的處理週期改變為每兩秒一次。
For example, a temperature sensor as an
當閘道器2000的資源利用率大於臨界值時,閘道器2000可請求溫度感測器改變資料傳輸週期。舉例而言,當閘道器2000的資源利用率等於或小於為70%的臨界值時,閘道器2000可請求溫度感測器每秒一次地將溫度資料傳送至閘道器2000。此外,舉例而言,若閘道器2000的資源利用率為較臨界值大的90%,則閘道器2000可請求溫度感測器每兩秒一次地將溫度資料傳送至閘道器2000。
When the resource utilization rate of the
此外,若閘道器2000的資源利用率大於臨界值,則閘道器2000可僅自溫度感測器每秒一次地接收溫度資料,但不處理所述溫度資料。
In addition, if the resource utilization rate of the
此外,閘道器2000可基於閘道器2000的資源利用率確定自外部元件1000接收感測資料的週期。若資源利用率小於臨界值,則閘道器2000可以第一循環自外部元件1000接收感測資料,且若資源利用率大於臨界值,則閘道器2000可以第二循環自外部元件1000接收感測資料。舉例而言,當閘道器2000的資源利用率等於或小於為70%的臨界值時,閘道器2000可每秒一次地自外部元件1000接收感測資料,且當閘道器2000的資源利用率為較臨界值大的90%時,閘道器2000可每兩秒一次地自外部元件1000接收感測資料。
In addition, the
圖23是根據示例性實施例,一種在自多個外部元件1000接收感測資料的閘道器2000正被修復時改變自所述多個外部元件1000傳送的感測資料的處理週期的方法的流程圖。
23 is a method of changing the processing cycle of the sensing data transmitted from the plurality of
閘道器2000正被修復的情形可包括閘道器2000改變或更新與閘道器2000的操作相關的軟體的情形。舉例而言,閘道器2000正被修復的情形可包括更新閘道器2000的驅動軟體的情形、更新安裝於閘道器2000上的應用程式軟體的情形、及更新安裝於閘道器2000上的作業系統的情形,但並非僅限於此。
The situation where the
參照圖23,外部元件1000可將感測資料傳送至閘道器2000。閘道器2000可自外部元件1000接收感測資料(操作S2301)。閘道器2000判斷閘道器2000是否正被修復(操作S2303)。若閘道器2000正被修復,則閘道器2000以第一循環處理感測資料(S2305);以及若閘道器2000並非正被修復,則閘道器2000可以第二循環處理感測資料(S2307)。亦即,閘道器2000可基於閘道器2000是否正被修復來改變感測資料的處理週期。
Referring to FIG. 23, the
舉例而言,作為外部元件1000的溫度感測器可連接至閘道器2000,且所述溫度感測器可每秒一次地將溫度資料傳送至閘道器2000。閘道器2000可在軟體並非正被更新時每秒一次地處理溫度資料。在軟體正被更新時,閘道器2000可在改變處理週期之後每兩秒一次地處理溫度資料。
For example, a temperature sensor as an
當軟體正被更新時,閘道器2000可請求溫度感測器改變資料傳輸週期。舉例而言,在閘道器2000並未正在更新軟體期
間,閘道器2000可控制溫度感測器每秒一次地將溫度資料傳送至閘道器2000。在閘道器2000正在更新軟體期間,閘道器2000可請求溫度感測器每兩秒一次地傳送溫度資料。
When the software is being updated, the
此外,在軟體更新期間,閘道器2000可僅自溫度感測器每秒一次地接收溫度資料,但可並不處理所述溫度資料。
In addition, during the software update, the
圖24是根據示例性實施例,一種使閘道器2000自多個外部元件1000接收感測資料以根據外部元件1000的數目來改變自所述多個外部元件1000傳送的感測資料的處理週期的方法的流程圖。
24 is a processing cycle for the
參照圖24,外部元件1000可將感測資料傳送至閘道器2000。閘道器2000可自外部元件1000接收感測資料(S2401)。閘道器2000判斷外部元件1000的數目是否小於設定值(S2403)。若外部元件1000的數目小於設定值,則閘道器2000以第一循環處理感測資料(S2405);以及若外部元件1000的數目大於設定值,則閘道器2000可以第二循環處理感測資料(S2407)。亦即,閘道器2000可基於外部元件1000的數目來改變感測資料的處理週期。
Referring to FIG. 24, the
舉例而言,若設定值為10且十個或小於十個外部元件1000連接至閘道器2000,則閘道器2000可每秒一次地處理自外部元件1000傳送的感測資料。若十五個外部元件1000連接至閘道器2000,則閘道器2000可每兩秒一次地處理自外部元件1000傳送的感測資料。
For example, if the set value is 10 and ten or less than ten
此外,若數目大於設定值的外部元件1000連接至閘道
器2000,則閘道器2000可請求外部元件1000改變資料傳輸週期。舉例而言,若七個(亦即,小於設定值)外部元件1000連接至閘道器2000,則閘道器2000可請求外部元件1000每秒一次地將感測資料傳送至閘道器2000。若十五個(亦即,大於設定值)外部元件1000連接至閘道器2000,則閘道器2000可請求溫度感測器每兩秒一次地將感測資料傳送至閘道器2000。
In addition, if the number of
此外,若數目大於設定值的十五個外部元件1000連接至閘道器2000,則閘道器2000可僅每秒一次地接收感測資料,但可並不處理所述感測資料。
In addition, if fifteen
此外,閘道器2000可基於外部元件1000的數目確定自外部元件1000接收感測資料的週期。當七個外部元件1000連接至閘道器2000時,閘道器2000可以第一循環自外部元件1000接收感測資料,且當十五個外部元件1000連接至閘道器2000時,閘道器2000可以第二循環自外部元件1000接收感測資料。舉例而言,當連接至閘道器2000的外部元件1000的數目為七個時,閘道器2000可每秒一次地自外部元件1000接收感測資料,且當連接至閘道器2000的外部元件1000的數目為十五個時,閘道器2000可每兩秒一次地自外部元件1000接收感測資料。
In addition, the
圖25是根據示例性實施例,一種使閘道器2000自多個外部元件1000接收感測資料以根據外部元件1000的狀態(例如,電池剩餘電量)而改變來自所述多個外部元件的感測資料的處理週期的方法的流程圖。
FIG. 25 is a method for causing the
參照圖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
當外部元件1000中的電池剩餘電量大於臨界值時,外部元件1000以第一循環將感測資料傳送至閘道器2000,且閘道器2000可以第一循環處理感測資料。當外部元件1000中的電池剩餘電量小於臨界值時,外部元件1000可以第二循環將感測資料傳送至閘道器2000,且閘道器2000可以第二循環處理感測資料。
When the remaining battery capacity of the
舉例而言,若外部元件1000中的電池剩餘電量為80%,則外部元件1000可每秒一次地將感測資料傳送至閘道器2000,且
閘道器2000可每秒一次地處理自外部元件1000傳送的感測資料。若外部元件1000中的電池剩餘電量為20%,則外部元件1000每兩秒一次地將感測資料傳送至閘道器2000,且閘道器2000可每兩秒一次地處理自外部元件1000傳送的感測資料。
For example, if the remaining battery capacity of the
此外,當外部元件1000中的電池剩餘電量小於臨界值時,閘道器2000可請求外部元件1000改變資料傳輸週期。舉例而言,當臨界值為30%且外部元件1000中的電池剩餘電量為較臨界值大的80%時,外部元件1000可每秒一次地將感測資料傳送至閘道器2000。當外部元件1000中的電池剩餘電量為較臨界值小的20%時,閘道器2000可請求外部元件1000每兩秒一次地傳送感測資料。
In addition, when the remaining battery capacity of the
此外,若外部元件1000中的電池剩餘電量為較臨界值小的20%,則閘道器2000可每秒一次地自外部元件1000接收感測資料,但可不處理所述感測資料。
In addition, if the remaining battery capacity of the
此外,閘道器2000可基於外部元件1000中的電池剩餘電量來確定自外部元件1000接收感測資料的週期。若外部元件1000中的電池剩餘電量大於臨界值,則閘道器2000可以第一循環自外部元件1000接收感測資料,且若外部元件1000中的電池剩餘電量小於臨界值,則閘道器2000可以第二循環自外部元件1000接收感測資料。舉例而言,若臨界值為30%且外部元件1000中的電池剩餘電量為80%,則閘道器2000可每秒一次地自外部元件1000接收感測資料,且若外部元件1000中的電池剩餘電量為
20%,則閘道器2000可每兩秒一次地自外部元件1000接收感測資料。
In addition, the
示例性實施例亦可以電腦可讀取記錄媒體(例如由電腦執行的程式模組)的形式達成。電腦可讀取記錄媒體可為可由電腦存取的任意可用媒體,且其實例包括所有揮發性及非揮發性媒體以及可分離式及不可分離式媒體。此外,電腦可讀取記錄媒體的實例可包括電腦儲存媒體及通訊媒體。電腦儲存媒體的實例包括所有揮發性及非揮發性媒體以及可分離式及不可分離式媒體,所述媒體已藉由任意方法或技術實作以用於儲存例如電腦可讀取命令、資料結構、程式模組、及其他資料等資訊。通訊媒體通常包括電腦可讀取命令、資料結構、程式模組、經調變資料訊號的其他資料、或另一傳輸機制,且其實例包括任意資訊傳輸媒體。 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)
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)
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)
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)
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 |
-
2014
- 2014-11-19 KR KR1020140161633A patent/KR20160016493A/en unknown
-
2015
- 2015-03-27 KR KR1020150043304A patent/KR102307352B1/en active IP Right Grant
- 2015-07-30 TW TW104124619A patent/TWI692223B/en not_active IP Right Cessation
Patent Citations (4)
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 |