TWI875017B - Internet of things system - Google Patents
Internet of things system Download PDFInfo
- Publication number
- TWI875017B TWI875017B TW112120612A TW112120612A TWI875017B TW I875017 B TWI875017 B TW I875017B TW 112120612 A TW112120612 A TW 112120612A TW 112120612 A TW112120612 A TW 112120612A TW I875017 B TWI875017 B TW I875017B
- Authority
- TW
- Taiwan
- Prior art keywords
- unit
- message
- human
- machine interface
- interface device
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- 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/24—Traffic characterised by specific attributes, e.g. priority or QoS
- H04L47/2425—Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
- H04L47/2433—Allocation of priorities to traffic types
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Computer And Data Communications (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
本發明是有關於一種通訊架構,且特別是有關於一種物聯網系統。The present invention relates to a communication architecture, and more particularly to an Internet of Things system.
傳統的物聯網系統的架構可基於訊息佇列遙測傳輸(Message Queuing Telemetry Transport,MQTT)通訊協定來建置之。傳統的物聯網系統的終端設備是透過具有通用唯一碼(Universally Unique Identifier,UUID)的通道與雲端伺服器建立連結。對此,終端設備透過此通道傳送及接收資料,並且人機介面設備也透過此通道控制終端設備。然而,當終端設備的數量增加而超過訂閱通道數量的限制時,傳統的物聯網系統將會發生無法同時且有效率地管理或控制大量的終端設備的問題,並且甚至可能造成人機介面設備的運算負載超過負擔,而導致使用者端產生安全性疑慮。因此,如何在訂閱通道數量有限的情況下能有效率地管理或控制大量終端設備是物聯網領域目前重要的研究方向之一。The architecture of a traditional IoT system can be built based on the Message Queuing Telemetry Transport (MQTT) communication protocol. The terminal devices of a traditional IoT system establish a connection with a cloud server through a channel with a Universally Unique Identifier (UUID). In this regard, the terminal devices transmit and receive data through this channel, and the human-machine interface device also controls the terminal devices through this channel. However, when the number of terminal devices increases and exceeds the limit on the number of subscribed channels, the traditional IoT system will have the problem of being unable to simultaneously and efficiently manage or control a large number of terminal devices, and may even cause the computing load of the human-machine interface device to exceed the burden, causing security concerns on the user side. Therefore, how to efficiently manage or control a large number of terminal devices with a limited number of subscription channels is one of the important research directions in the field of Internet of Things.
本發明的IoT系統包括多個終端設備、雲端設備及人機介面設備。雲端設備以通訊方式連接至終端設備。人機介面設備經由多個第一通訊通道以通訊方式連接至雲端設備,且適用於根據多個控制命令的優先權資訊來決定訂用順序。人機介面設備根據訂用順序來排程及動態地訂用第一通訊通道,以根據訂用順序經由不同的第一通訊通道向雲端設備傳送控制命令,使得雲端設備向對應的終端設備傳送控制命令。The IoT system of the present invention includes multiple terminal devices, cloud devices and human-machine interface devices. The cloud device is connected to the terminal device in a communication manner. The human-machine interface device is connected to the cloud device in a communication manner via multiple first communication channels, and is suitable for determining the subscription order according to the priority information of multiple control commands. The human-machine interface device schedules and dynamically subscribes to the first communication channel according to the subscription order, so as to transmit the control command to the cloud device through different first communication channels according to the subscription order, so that the cloud device transmits the control command to the corresponding terminal device.
本發明的IoT系統包括多個終端設備、雲端設備及人機介面設備。雲端設備以通訊方式連接至終端設備。人機介面(HMI)設備經由多個第一通訊通道以通訊方式連接至終端設備,且經由第一專用通訊通道以通訊方式連接至雲端設備。HMI設備根據多個控制命令的優先權資訊來決定訂用順序,且根據訂用順序來排程及動態地訂用第一通訊通道。HMI設備分別判斷終端設備是否與HMI設備相鄰,且經由第一專用通訊通道向雲端設備傳送和與HMI設備相鄰的終端設備對應的切換傳送模式請求訊息。The IoT system of the present invention includes multiple terminal devices, cloud devices and human-machine interface devices. The cloud device is connected to the terminal device in a communication manner. The human-machine interface (HMI) device is connected to the terminal device in a communication manner via multiple first communication channels, and is connected to the cloud device in a communication manner via a first dedicated communication channel. The HMI device determines the subscription order based on the priority information of multiple control commands, and schedules and dynamically subscribes to the first communication channel based on the subscription order. The HMI device determines whether the terminal device is adjacent to the HMI device, and transmits a switching transmission mode request message corresponding to the terminal device adjacent to the HMI device to the cloud device via the first dedicated communication channel.
基於以上內容,本發明的IoT系統藉由判斷控制命令的優先權順序來高效地排程及動態地訂用多個第一通訊通道以向雲端設備傳送多個控制命令。雲端設備向多個對應的終端設備傳送控制命令。因此,本發明的IoT系統有效地控制大量的終端設備。此外,本發明的IoT系統的HMI設備可切換至區域傳送模式(regional transmission mode)以使用較低的延遲及低的功耗來管理及控制與HMI設備相鄰的終端設備。Based on the above, the IoT system of the present invention efficiently schedules and dynamically subscribes to multiple first communication channels to transmit multiple control commands to the cloud device by determining the priority order of the control commands. The cloud device transmits the control commands to multiple corresponding terminal devices. Therefore, the IoT system of the present invention effectively controls a large number of terminal devices. In addition, the HMI device of the IoT system of the present invention can be switched to a regional transmission mode to manage and control the terminal devices adjacent to the HMI device with lower latency and low power consumption.
為了提供對本發明的以上特徵及優點的進一步理解,下面將結合附圖詳細闡述實施例。In order to provide a further understanding of the above features and advantages of the present invention, embodiments will be described in detail below with reference to the accompanying drawings.
為了使本發明之內容可以被更容易明瞭,以下特舉實施例做為本揭示確實能夠據以實施的範例。另外,凡可能之處,在圖式及實施方式中使用相同標號的元件/構件/步驟,係代表相同或類似部件。In order to make the content of the present invention more clearly understood, the following embodiments are specifically cited as examples that the present disclosure can be implemented. In addition, wherever possible, the elements/components/steps with the same reference numerals in the drawings and embodiments represent the same or similar components.
圖1是本發明的一實施例的物聯網系統的示意圖。參考圖1,物聯網(Internet of Things,IoT)系統100包括人機介面設備110、雲端設備120以及多個終端設備130_1~130_N,其中N為正整數。在本實施例中,雲端設備120可通訊連接於多個終端設備130_1~130_N。人機介面設備(Human Machine Interface,HMI)110可建立多個第一通訊通道來通訊連接於雲端設備120。雲端設備120可建立多個第二通訊通道來通訊連接於多個終端設備130_1~130_N。第一通訊通道的數量為有限,並且第二通訊通道的數量可大於或等於第一通訊通道的數量。值得注意的是,終端設備130_1~130_N的數量大於多個第一通訊通道的數量。人機介面設備110還可建立一條第一專屬通訊通道通訊連接於雲端設備120,並且雲端設備120可建立一條或多條第二專屬通訊通道通訊連接於多個終端設備130_1~130_N。FIG. 1 is a schematic diagram of an Internet of Things system of an embodiment of the present invention. Referring to FIG. 1 , the Internet of Things (IoT) system 100 includes a human-machine interface device 110, a cloud device 120, and a plurality of terminal devices 130_1 to 130_N, where N is a positive integer. In this embodiment, the cloud device 120 can be communicatively connected to the plurality of terminal devices 130_1 to 130_N. The human-machine interface device (HMI) 110 can establish a plurality of first communication channels to communicate with the cloud device 120. The cloud device 120 can establish a plurality of second communication channels to communicate with the plurality of terminal devices 130_1 to 130_N. The number of first communication channels is limited, and the number of second communication channels can be greater than or equal to the number of first communication channels. It is worth noting that the number of terminal devices 130_1~130_N is greater than the number of multiple first communication channels. The human-machine interface device 110 can also establish a first dedicated communication channel to communicate with the cloud device 120, and the cloud device 120 can establish one or more second dedicated communication channels to communicate with multiple terminal devices 130_1~130_N.
此外,在一實施例中,物聯網系統100可例如是應用於一種家庭能源管理系統(Home Energy Management System,HEMS),並且管理多個終端設備130_1~130_N,其中多個終端設備130_1~130_N可例如包括對應於一個或多個使用者的家中的太陽能設備、家電設備以及相關市電設備等諸如此類的物聯網設備。然而,本實施例的物聯網系統100的應用方式並不限於家庭能源管理系統。In addition, in one embodiment, the IoT system 100 may be applied to a home energy management system (HEMS) and manage multiple terminal devices 130_1~130_N, wherein the multiple terminal devices 130_1~130_N may include, for example, solar devices, home appliances, and related mains devices corresponding to one or more users' homes, and other IoT devices. However, the application of the IoT system 100 of this embodiment is not limited to the home energy management system.
在本實施例中,人機介面設備110可為一種可提供使用者監視及控制等功能的顯示設備,並且可安裝對應的應用程式(app)或可執行相對應的網頁(web)程式,其中例如是智慧型手機、平板電腦以及筆記型電腦等,而本發明並加以限制。在本實施例中,人機介面設備110可根據多個控制命令的優先級資訊決定訂閱順序,並且可根據訂閱順序來調度且動態訂閱多個第一通訊通道,以根據訂閱順序來經由不同的第一通訊通道傳送多個控制命令至雲端設備120,以使雲端設備120可將多個控制命令經由不同的第二通訊通道傳送至多個對應的終端設備130_1~130_N中。並且,終端設備130_1~130_N可分別經由不同的第二通訊通道回傳多個對應的物聯網訊息至雲端設備120,以使雲端設備120可將多個對應的物聯網訊息傳送至人機介面設備110。如此一來,人機介面設備110可有效控制及監視終端設備130_1~130_N。此外,本實施例的多個物聯網訊息可例如分別包括設備狀態資訊、感測資料以及回覆命令的至少其中之一。In this embodiment, the human-machine interface device 110 may be a display device that can provide user monitoring and control functions, and can install corresponding applications (apps) or can execute corresponding web programs, such as smart phones, tablet computers, and laptops, but the present invention is not limited thereto. In this embodiment, the human-machine interface device 110 can determine a subscription order according to the priority information of the multiple control commands, and can schedule and dynamically subscribe to multiple first communication channels according to the subscription order, so as to transmit multiple control commands to the cloud device 120 through different first communication channels according to the subscription order, so that the cloud device 120 can transmit the multiple control commands to multiple corresponding terminal devices 130_1~130_N through different second communication channels. In addition, the terminal devices 130_1~130_N can respectively return multiple corresponding IoT messages to the cloud device 120 through different second communication channels, so that the cloud device 120 can transmit multiple corresponding IoT messages to the human-machine interface device 110. In this way, the human-machine interface device 110 can effectively control and monitor the terminal devices 130_1 to 130_N. In addition, the multiple IoT messages of this embodiment can include, for example, at least one of device status information, sensing data, and reply commands.
圖2是本發明的另一實施例的物聯網系統的示意圖。參考圖2,物聯網系統200包括人機介面設備210、雲端設備220以及終端設備230。本實施例是以一個終端設備230為例來說明之,並且圖1的終端設備130_1~130_N的每一個分別實現如圖2的終端設備230。在本實施例中,人機介面設備210可包括傳輸模組211、通道管理模組212、資料管理模組213以及應用功能模組214。在本實施例中,雲端設備220可包括傳輸模組221、終端設備管理模組222、儲存模組223以及人機介面設備管理模組224。終端設備230可包括傳輸模組231以及應用功能模組232。在本實施例中,人機介面設備210、雲端設備220以及終端設備230可分別包括有對應於各自設備規格的處理器以及記憶體,並且各自的記憶體可分別用於儲存上述多個模組,以供各自的處理器存取並執行其相關功能。對此,上述各模組可以是以軟體的形式或韌體搭配硬體電路的形式來實現之,並且各自的處理器可執行相對應的演算法以實現其相關功能。FIG. 2 is a schematic diagram of an Internet of Things system of another embodiment of the present invention. Referring to FIG. 2 , the Internet of Things system 200 includes a human-machine interface device 210, a cloud device 220, and a terminal device 230. This embodiment is illustrated by taking a terminal device 230 as an example, and each of the terminal devices 130_1 to 130_N of FIG. 1 is respectively implemented as the terminal device 230 of FIG. 2 . In this embodiment, the human-machine interface device 210 may include a transmission module 211, a channel management module 212, a data management module 213, and an application function module 214. In this embodiment, the cloud device 220 may include a transmission module 221, a terminal device management module 222, a storage module 223, and a human-machine interface device management module 224. The terminal device 230 may include a transmission module 231 and an application function module 232. In this embodiment, the human-machine interface device 210, the cloud device 220 and the terminal device 230 may include processors and memories corresponding to their respective device specifications, and their respective memories may be used to store the above-mentioned multiple modules for their respective processors to access and execute their related functions. In this regard, the above-mentioned modules may be implemented in the form of software or firmware with hardware circuits, and their respective processors may execute corresponding algorithms to implement their related functions.
在本實施例中,傳輸模組211、221、231可基於訊息佇列遙測傳輸(Message Queuing Telemetry Transport,MQTT)通訊協定來實現之,並且可包括有線或無線的傳輸介面,以實現人機介面設備210、雲端設備220以及終端設備230之間的通訊連接以及訊息收發。人機介面設備210的傳輸模組211可通訊連接於雲端設備220的傳輸模組221,並可基於訊息佇列遙測傳輸通訊協定來進行訊息的傳送及接收。雲端設備220的傳輸模組221可通訊連接於終端設備230的傳輸模組231,並可基於訊息佇列遙測傳輸通訊協定來進行訊息的傳送及接收。In this embodiment, the transmission modules 211, 221, and 231 can be implemented based on the Message Queuing Telemetry Transport (MQTT) communication protocol, and can include a wired or wireless transmission interface to implement communication connection and message transmission and reception between the human-machine interface device 210, the cloud device 220, and the terminal device 230. The transmission module 211 of the human-machine interface device 210 can be communicatively connected to the transmission module 221 of the cloud device 220, and can transmit and receive messages based on the Message Queuing Telemetry Transport communication protocol. The transmission module 221 of the cloud device 220 can be communicatively connected to the transmission module 231 of the terminal device 230, and can transmit and receive messages based on the message queue telemetry transmission protocol.
在本實施例中,人機介面設備210的通道管理模組212可在有限的通道數量中調度與分配訂閱對應於不同終端設備的多個第一通訊通道,來進行不同控制命令的傳輸。在本實施例中,人機介面設備210的資料管理模組213還可利用一條第一專屬通訊通道來接收由雲端設備220傳送的多個終端設備的彙整訊息,並且可發送委託控制命令。在本實施例中,雲端設備220可彙整多個終端設備的至少一部分的多個物聯網訊息,以產生彙整訊息。在本實施例中,人機介面設備210的應用功能模組214可於人機介面設備210的顯示螢幕上顯示具有操作畫面的使用者介面以及相關功能,以讓使用者可透過人機介面設備210控制及監視多個終端設備。In this embodiment, the channel management module 212 of the human-machine interface device 210 can schedule and allocate subscriptions to multiple first communication channels corresponding to different terminal devices in a limited number of channels to transmit different control commands. In this embodiment, the data management module 213 of the human-machine interface device 210 can also use a first dedicated communication channel to receive the aggregated information of multiple terminal devices transmitted by the cloud device 220, and can send a delegated control command. In this embodiment, the cloud device 220 can aggregate multiple IoT messages of at least a portion of the multiple terminal devices to generate an aggregated message. In this embodiment, the application function module 214 of the human-machine interface device 210 can display a user interface with an operation screen and related functions on the display screen of the human-machine interface device 210 , so that the user can control and monitor multiple terminal devices through the human-machine interface device 210 .
在本實施例中,雲端設備220的終端設備管理模組222可利用分類由人機介面設備210提供的控制命令以及由多個終端設備230回傳的多個物聯網訊息,並且還可探索與人機介面設備210之間的第一專屬通訊通道以及與多個終端設備之間的第二專屬通訊通道,並且可進行訊息推播操作。在本實施例中,雲端設備220的儲存模組223可例如採用二元樹(Binary tree)的資料結構技術來儲存多個終端設備的多個連線訊息以及多個物聯網訊息,並且還可暫存由人機介面設備210提供的控制命令。在本實施例中,雲端設備220的人機介面設備管理模組224可管理多個終端設備的連線狀態以及相關訊息推播的時程。In this embodiment, the terminal device management module 222 of the cloud device 220 can classify the control commands provided by the human-machine interface device 210 and the multiple IoT messages returned by the multiple terminal devices 230, and can also explore the first exclusive communication channel between the human-machine interface device 210 and the second exclusive communication channel between the multiple terminal devices, and can perform message push operations. In this embodiment, the storage module 223 of the cloud device 220 can, for example, use a binary tree data structure technology to store multiple connection messages and multiple IoT messages of multiple terminal devices, and can also temporarily store the control commands provided by the human-machine interface device 210. In this embodiment, the human-machine interface device management module 224 of the cloud device 220 can manage the connection status of multiple terminal devices and the schedule of related message push.
在本實施例中,終端設備230的應用功能模組232可實現特定應用功能(例如某種感測器的感測功能),並且可產生對應於特定應用功能的物聯網訊息,並且經由對應的第二通訊通道或對應的第二專屬通訊通道發送至雲端設備220。終端設備230的應用功能模組232還可經由對應的第二通訊通道或對應的第二專屬通訊通道從雲端設備220接收對應的控制命令以及委託控制命令,以根據控制命令或委託控制命令執行對應的操作。並且,關於前述的各個模組的實施方式,將由以下圖3至圖8的操作示意圖的範例實施例來詳細說明之。In this embodiment, the application function module 232 of the terminal device 230 can realize a specific application function (such as a sensing function of a certain sensor), and can generate an IoT message corresponding to the specific application function, and send it to the cloud device 220 via the corresponding second communication channel or the corresponding second dedicated communication channel. The application function module 232 of the terminal device 230 can also receive the corresponding control command and the delegated control command from the cloud device 220 via the corresponding second communication channel or the corresponding second dedicated communication channel to perform the corresponding operation according to the control command or the delegated control command. In addition, the implementation of each of the aforementioned modules will be described in detail by the exemplary embodiments of the operation schematic diagrams of Figures 3 to 8 below.
圖3是本發明的一實施例的管理終端設備的操作示意圖。物聯網系統300包括人機介面設備310、雲端設備320以及終端設備330。在本實施例中,人機介面設備310的通道管理模組312可包括通道調度單元312_1以及通道分配單元312_2。通道調度單元312_1可根據多個控制命令的優先級資訊來計算訂閱順序。通道分配單元312_2可根據訂閱順序來分配多個第一通訊通道,以供用於傳送多個控制命令來依序訂閱之。在本實施例中,人機介面設備310的資料管理模組313可包括訊息應用單元313_1以及控制委託單元313_2。訊息應用單元313_1可經由第一專屬通訊通道接收由雲端設備320傳送的彙整訊息,並且可對彙整訊息進行分類。雲端設備320可彙整多個終端設備330的至少一部分的多個物聯網訊息,以產生彙整訊息。在本實施例中,當全部的第一通訊通道皆為占用狀態時,資料管理模組313可將具有較高優先級的至少一控制命令轉由控制委託單元313_2經由第一專屬通訊通道傳送對應的委託控制命令至雲端設備320。在本實施例中,人機介面設備310的應用功能模組314可產生控制命令,並且可接收由訊息應用單元313_1所提供經分類後的彙整訊息。FIG3 is an operation diagram of a management terminal device of an embodiment of the present invention. The Internet of Things system 300 includes a human-machine interface device 310, a cloud device 320, and a terminal device 330. In this embodiment, the channel management module 312 of the human-machine interface device 310 may include a channel scheduling unit 312_1 and a channel allocation unit 312_2. The channel scheduling unit 312_1 may calculate a subscription order based on priority information of a plurality of control commands. The channel allocation unit 312_2 may allocate a plurality of first communication channels according to the subscription order for transmitting a plurality of control commands to be subscribed in sequence. In this embodiment, the data management module 313 of the human-machine interface device 310 may include a message application unit 313_1 and a control delegation unit 313_2. The message application unit 313_1 can receive the aggregated message sent by the cloud device 320 via the first dedicated communication channel, and can classify the aggregated message. The cloud device 320 can aggregate multiple IoT messages of at least a part of multiple terminal devices 330 to generate the aggregated message. In this embodiment, when all the first communication channels are occupied, the data management module 313 can transfer at least one control command with a higher priority to the control delegation unit 313_2 to transmit the corresponding delegated control command to the cloud device 320 via the first dedicated communication channel. In this embodiment, the application function module 314 of the human-machine interface device 310 can generate control commands and receive classified aggregated information provided by the message application unit 313_1.
在本實施例中,雲端設備320的終端設備管理模組322可包括訊息分類單元322_1、訊息監控單元322_2以及設備控制單元322_3。訊息分類單元322_1可將傳輸模組321接收到的多個設備連線資訊以及多個物聯網訊息分類並儲存至儲存模組323的設備資料單元323_1以及設備連線單元323_2中。訊息監控單元322_2可監控設備資料單元323_1,以判斷多個終端設備的至少其中之一是否未回傳物聯網訊息。設備控制單元322_3可探索多個終端設備,以與對應的至少一個終端設備建立連線。In this embodiment, the terminal device management module 322 of the cloud device 320 may include a message classification unit 322_1, a message monitoring unit 322_2, and a device control unit 322_3. The message classification unit 322_1 may classify and store multiple device connection information and multiple IoT messages received by the transmission module 321 into the device data unit 323_1 and the device connection unit 323_2 of the storage module 323. The message monitoring unit 322_2 may monitor the device data unit 323_1 to determine whether at least one of the multiple terminal devices has not returned the IoT message. The device control unit 322_3 may explore multiple terminal devices to establish a connection with at least one corresponding terminal device.
在本實施例中,雲端設備320的儲存模組323可包括設備資料單元323_1、設備連線單元323_2以及訊息暫存單元323_3。設備資料單元323_1可儲存分別由人機介面設備310以及多個終端設備330的控制指令以及物聯網訊息。設備連線單元323_2可儲存分別對應於人機介面設備310以及多個終端設備330的多個設備連線資訊。訊息暫存單元323_3可儲存準備發送至多個終端設備的多個控制命令。In this embodiment, the storage module 323 of the cloud device 320 may include a device data unit 323_1, a device connection unit 323_2, and a message buffer unit 323_3. The device data unit 323_1 may store control instructions and IoT messages respectively from the human-machine interface device 310 and the plurality of terminal devices 330. The device connection unit 323_2 may store a plurality of device connection information respectively corresponding to the human-machine interface device 310 and the plurality of terminal devices 330. The message buffer unit 323_3 may store a plurality of control commands to be sent to the plurality of terminal devices.
在本實施例中,雲端設備320的人機介面設備管理模組324可包括排程單元324_1以及訊息彙整單元324_2。排程單元324_1可監控儲存在設備連線單元323_2中的人機介面設備310的設備連線資訊,以產生訊息推播排程。訊息彙整單元324_2可彙整儲存在設備資料單元323_1中的至少一終端設備330的至少一物聯網訊息,以產生彙整訊息。In this embodiment, the human-machine interface device management module 324 of the cloud device 320 may include a scheduling unit 324_1 and a message aggregation unit 324_2. The scheduling unit 324_1 may monitor the device connection information of the human-machine interface device 310 stored in the device connection unit 323_2 to generate a message push schedule. The message aggregation unit 324_2 may aggregate at least one IoT message of at least one terminal device 330 stored in the device data unit 323_1 to generate an aggregated message.
在本實施例中,物聯網系統300的人機介面設備310、雲端設備320以及終端設備330所執行的相關模組以及單元的功能及實施方式還可參考上述圖1及圖2實施例的說明,因此在此不多加贅述。In this embodiment, the functions and implementation methods of the relevant modules and units executed by the human-machine interface device 310, the cloud device 320 and the terminal device 330 of the Internet of Things system 300 can also refer to the description of the embodiments of Figures 1 and 2 above, so they are not elaborated here.
在本實施例中,物聯網系統300的人機介面設備310、雲端設備320以及終端設備330可操作如下以步驟S301~S312,以實現管理終端設備330的功能。值得注意的是,本實施例是以一個終端設備330為例來說明之,並且可類推至通訊連接於多個終端設備的實施方式。在步驟S301,終端設備330的應用功能模組332可例如根據感測器的感測結果或終端設備330的操作狀態,來輸出對應的物聯網訊息至傳輸模組331。在步驟S302,傳輸模組331可將物聯網訊息傳送至雲端設備320的傳輸模組321。在步驟S303,傳輸模組321可將物聯網訊息提供至訊息分類單元322_1。In this embodiment, the human-machine interface device 310, the cloud device 320 and the terminal device 330 of the IoT system 300 can be operated as follows in steps S301-S312 to realize the function of managing the terminal device 330. It is worth noting that this embodiment is explained by taking a terminal device 330 as an example, and can be analogized to the implementation method of communication connection to multiple terminal devices. In step S301, the application function module 332 of the terminal device 330 can output the corresponding IoT message to the transmission module 331, for example, according to the sensing result of the sensor or the operating state of the terminal device 330. In step S302, the transmission module 331 can transmit the IoT message to the transmission module 321 of the cloud device 320. In step S303, the transmission module 321 may provide the IoT message to the message classification unit 322_1.
在步驟S304,訊息分類單元322_1可將物聯網訊息依照狀態或資料格式來進行分類,並儲存至儲存模組323的設備資料單元323_1以及設備連線單元323_2。在步驟S305,排程單元324_1可透過設備連線單元323_2判斷終端設備330與人機介面設備310的連線狀態。在步驟S306,排程單元324_1可根據預設的訊息推播的時間排程,來控制訊息彙整單元324_2。在步驟S307,訊息彙整單元324_2可從設備資料單元323_1讀取前述的物聯網訊息以及對應於其他終端設備的其他物聯網訊息,並進行訊息彙整以產生彙整訊息。In step S304, the message classification unit 322_1 can classify the IoT message according to the state or data format, and store it in the device data unit 323_1 and the device connection unit 323_2 of the storage module 323. In step S305, the scheduling unit 324_1 can determine the connection state between the terminal device 330 and the human-machine interface device 310 through the device connection unit 323_2. In step S306, the scheduling unit 324_1 can control the message aggregation unit 324_2 according to the preset message push time schedule. In step S307, the message aggregation unit 324_2 may read the aforementioned IoT message and other IoT messages corresponding to other terminal devices from the device data unit 323_1, and aggregate the messages to generate an aggregated message.
在步驟S308,訊息彙整單元324_2可將彙整訊息提供至設備控制單元322_3。在步驟S309,設備控制單元322_3可根據訊息推播排程將彙整訊息提供至傳輸模組321,並且訂閱第一專屬通訊通道進行訊息傳輸。在步驟S310,傳輸模組321可經由第一專屬通訊通道將彙整訊息傳送至人機介面設備310的傳輸模組311。在步驟S311,傳輸模組311可將彙整訊息傳送至訊息應用單元313_1。在步驟S312,訊息應用單元313_1可將彙整訊息進行分類並傳送至應用功能模組314,以供使用者可透過操作人機介面設備310的應用功能模組314來實現對於終端設備330的監視與管理功能。In step S308, the message aggregation unit 324_2 may provide the aggregated message to the device control unit 322_3. In step S309, the device control unit 322_3 may provide the aggregated message to the transmission module 321 according to the message push schedule, and subscribe to the first dedicated communication channel for message transmission. In step S310, the transmission module 321 may transmit the aggregated message to the transmission module 311 of the human-machine interface device 310 via the first dedicated communication channel. In step S311, the transmission module 311 may transmit the aggregated message to the message application unit 313_1. In step S312 , the message application unit 313_1 may classify the aggregated message and transmit it to the application function module 314 , so that the user can realize the monitoring and management functions of the terminal device 330 by operating the application function module 314 of the human-machine interface device 310 .
換言之,當雲端設備320連接於多個終端設備時,雲端設備320可分別透過如上述步驟S301至步驟S304的方式來收集多個終端設備330的多個物聯網訊息。並且,經由訊息彙整後,人機介面設備310只需訂閱在人機介面設備310以及雲端設備320之間的一條第一專屬通道,即可同時取得大量的終端設備的大量物聯網訊息。因此,本實施例的物聯網系統300可實現可同時間監視或管理大量的終端設備的功能。In other words, when the cloud device 320 is connected to multiple terminal devices, the cloud device 320 can collect multiple IoT messages of multiple terminal devices 330 through the above steps S301 to S304. And, after the message aggregation, the human-machine interface device 310 only needs to subscribe to a first dedicated channel between the human-machine interface device 310 and the cloud device 320 to obtain a large number of IoT messages of a large number of terminal devices at the same time. Therefore, the IoT system 300 of this embodiment can realize the function of monitoring or managing a large number of terminal devices at the same time.
圖4是本發明的一實施例的監控物聯網訊息的操作示意圖。參考圖4,本實施例的物聯網系統400的雲端設備420以及終端設備430所執行的相關模組以及單元的功能及相關技術特徵可參考上述圖1至圖3實施例的說明,因此在此不多加贅述。在本實施例中,物聯網系統400的雲端設備420以及終端設備430可執行以下步驟S401~S408,以實現監控物聯網訊息的功能。在步驟S401,訊息監控單元422_2會持續檢查儲存模組423中的設備資料單元423_1與設備連線單元423_2的資料。當訊息監控單元422_2判斷終端設備430未回傳物聯網訊息時,在步驟S402,訊息監控單元422_2操作設備控制單元422_3。FIG4 is a schematic diagram of the operation of monitoring IoT messages in an embodiment of the present invention. Referring to FIG4, the functions and related technical features of the relevant modules and units executed by the cloud device 420 and the terminal device 430 of the IoT system 400 of this embodiment can refer to the description of the embodiments of FIG1 to FIG3 above, so no further details are given here. In this embodiment, the cloud device 420 and the terminal device 430 of the IoT system 400 can execute the following steps S401~S408 to realize the function of monitoring IoT messages. In step S401, the message monitoring unit 422_2 will continuously check the data of the device data unit 423_1 and the device connection unit 423_2 in the storage module 423. When the message monitoring unit 422_2 determines that the terminal device 430 does not return the IoT message, in step S402, the message monitoring unit 422_2 operates the device control unit 422_3.
在步驟S403,訊息監控單元422_2可透過設備控制單元422_3發送狀態回報命令至傳輸模組421。在步驟S404,傳輸模組421可經由與終端設備430之間的第二專屬通訊通道來傳送狀態回報命令至終端設備430的傳輸模組431。在步驟S405,終端設備430的應用功能模組432可接收傳輸模組431提供的狀態回報命令,並且回傳對應的物聯網訊息至傳輸模組431。在步驟S406,終端設備430可根據狀態回報命令並透過傳輸模組431回傳物聯網訊息至雲端設備420的傳輸模組421。在步驟S407,訊息分類單元422_1可將物聯網訊息依照狀態或資料格式來進行分類。在步驟S408,訊息分類單元422_1可將分類後的物聯網訊息儲存至儲存模組423的設備資料單元423_1。因此,本實施例的物聯網系統400可確保雲端設備420的儲存模組423內的設備資料單元423_1能穩定地更新多個終端設備的每一個的最新狀態,以有效地避免例如因連線狀態不穩定所造成的資料遺失情況。In step S403, the message monitoring unit 422_2 may send a status report command to the transmission module 421 through the device control unit 422_3. In step S404, the transmission module 421 may transmit a status report command to the transmission module 431 of the terminal device 430 via the second dedicated communication channel between the terminal device 430. In step S405, the application function module 432 of the terminal device 430 may receive the status report command provided by the transmission module 431 and return the corresponding IoT message to the transmission module 431. In step S406, the terminal device 430 may return the IoT message to the transmission module 421 of the cloud device 420 according to the status report command and through the transmission module 431. In step S407, the message classification unit 422_1 can classify the IoT message according to the status or data format. In step S408, the message classification unit 422_1 can store the classified IoT message in the device data unit 423_1 of the storage module 423. Therefore, the IoT system 400 of this embodiment can ensure that the device data unit 423_1 in the storage module 423 of the cloud device 420 can stably update the latest status of each of the multiple terminal devices to effectively avoid data loss caused by, for example, unstable connection status.
圖5是本發明的一實施例的物聯網系統執行一般模式的操作示意圖。參考圖5,本實施例的物聯網系統500的人機介面設備510、雲端設備520以及終端設備530所執行的相關模組以及單元的功能及相關技術特徵可參考上述圖1至圖4實施例的說明,因此在此不多加贅述。在本實施例中,物聯網系統500的人機介面設備510、雲端設備520以及終端設備530可執行以下步驟S501~S510,以實現控制終端設備530的一般模式的功能。在步驟S501,使用者可透過操作人機介面設備510的應用功能模組514,以將控制命令傳送至通道管理模組512的通道調度單元512_1。在本實施例中,通道調度單元512_1可包括命令隊列(queue)。通道調度單元512_1可根據訂閱順序將控制命令排序至命令隊列中。對此,通道調度單元512_1可根據控制命令的等級及優先權等資訊計算出優先順序並更新命令隊列。通道分配單元512_2將依照控制命令在命令隊列中的順序來依序訂閱空閒的第一通訊通道,並且動態釋放已完成傳送控制命令的第一通訊通道,以供用於傳送下一順序的控制命令來訂閱之。在步驟S503,通道分配單元512_2將控制命令傳送至傳輸模組511,以使傳輸模組511在步驟S504可將控制命令經由訂閱的第一通訊通道來傳送至雲端設備520的傳輸模組521。在步驟S505,雲端設備520的傳輸模組521可經由對應的第二通訊通道將控制命令傳送至終端設備530的傳輸模組531。值得注意的是,通道分配單元512_2可計算及設定訂閱的第一通訊通道以及對應的第二通訊通道的動態釋放時間,提升通道吞吐量。FIG5 is a schematic diagram of the operation of the Internet of Things system of an embodiment of the present invention in the general mode. Referring to FIG5, the functions and related technical features of the relevant modules and units executed by the human-machine interface device 510, the cloud device 520 and the terminal device 530 of the Internet of Things system 500 of this embodiment can refer to the description of the embodiments of FIG1 to FIG4 above, so no further details are given here. In this embodiment, the human-machine interface device 510, the cloud device 520 and the terminal device 530 of the Internet of Things system 500 can execute the following steps S501~S510 to realize the function of the general mode of controlling the terminal device 530. In step S501, the user can transmit the control command to the channel scheduling unit 512_1 of the channel management module 512 by operating the application function module 514 of the human-machine interface device 510. In this embodiment, the channel scheduling unit 512_1 may include a command queue. The channel scheduling unit 512_1 may sort the control commands into the command queue according to the subscription order. In this regard, the channel scheduling unit 512_1 may calculate the priority order and update the command queue according to the level and priority of the control command. The channel allocation unit 512_2 will subscribe to the idle first communication channel in sequence according to the order of the control commands in the command queue, and dynamically release the first communication channel that has completed the transmission of the control command for subscription to the control command of the next order. In step S503, the channel allocation unit 512_2 transmits the control command to the transmission module 511, so that the transmission module 511 can transmit the control command to the transmission module 521 of the cloud device 520 via the subscribed first communication channel in step S504. In step S505, the transmission module 521 of the cloud device 520 can transmit the control command to the transmission module 531 of the terminal device 530 via the corresponding second communication channel. It is worth noting that the channel allocation unit 512_2 can calculate and set the dynamic release time of the subscribed first communication channel and the corresponding second communication channel to improve the channel throughput.
在步驟S506,終端設備530的應用功能模組532可接收傳輸模組531提供的控制命令,並且回傳對應的物聯網訊息至傳輸模組531。在步驟S507,終端設備530可透過傳輸模組531回傳物聯網訊息至雲端設備520的傳輸模組521。在步驟S508,傳輸模組521可經由訂閱的第一通訊通道將物聯網訊息傳送至人機介面設備510的傳輸模組511。在步驟S509,傳輸模組511可將物聯網訊息傳送至訊息應用單元513_1。在步驟S510,訊息應用單元513_1可將物聯網訊息進行分類並傳送至應用功能模組514,以供使用者可透過操作人機介面設備510的應用功能模組514來取得由終端設備530回傳的物聯網訊息。因此,本實施例的物聯網系統500可操作於一般模式,以對於終端設備530進行有效率地控制,並可實現同時操作大量終端設備的功能。In step S506, the application function module 532 of the terminal device 530 may receive the control command provided by the transmission module 531, and return the corresponding IoT message to the transmission module 531. In step S507, the terminal device 530 may return the IoT message to the transmission module 521 of the cloud device 520 through the transmission module 531. In step S508, the transmission module 521 may transmit the IoT message to the transmission module 511 of the human-machine interface device 510 via the subscribed first communication channel. In step S509, the transmission module 511 may transmit the IoT message to the message application unit 513_1. In step S510, the message application unit 513_1 can classify the IoT message and transmit it to the application function module 514, so that the user can obtain the IoT message returned by the terminal device 530 by operating the application function module 514 of the human-machine interface device 510. Therefore, the IoT system 500 of this embodiment can be operated in a general mode to efficiently control the terminal device 530 and realize the function of operating a large number of terminal devices at the same time.
在本實施例中,通道分配單元512_2可根據命令隊列來依序訂閱空閒的第一通訊通道以及對應的第二通訊通道,並且動態釋放已完成傳送控制命令的第一通訊通道以及對應的第二通訊通道,以供用於傳送下一順序的控制命令來訂閱之。換言之,當雲端設備520通訊連接至多個終端設備時,使用者可透過人機介面設備510控制這些終端設備,並且可不受通道數量的限制,以實現有效率的終端設備控制功能。本實施例的物聯網系統500可有效確保人機介面設備510可在有限的第一通訊通道數量的情況下,可透過通道管理模組512進行有效率的通道調度與分配。In this embodiment, the channel allocation unit 512_2 can sequentially subscribe to the idle first communication channel and the corresponding second communication channel according to the command queue, and dynamically release the first communication channel and the corresponding second communication channel that have completed the transmission of the control command, so as to be subscribed for the transmission of the next sequence of control commands. In other words, when the cloud device 520 is communicatively connected to multiple terminal devices, the user can control these terminal devices through the human-machine interface device 510, and is not limited by the number of channels to achieve efficient terminal device control functions. The Internet of Things system 500 of this embodiment can effectively ensure that the human-machine interface device 510 can perform efficient channel scheduling and allocation through the channel management module 512 under the condition of a limited number of first communication channels.
圖6是本發明的一實施例的物聯網系統執行逾時模式的操作示意圖。參考圖6,本實施例的物聯網系統600的人機介面設備610、雲端設備620以及終端設備630所執行的相關模組以及單元的功能及相關技術特徵可參考上述圖1至圖3實施例的說明,因此在此不多加贅述。在本實施例中,物聯網系統600的人機介面設備610、雲端設備620以及終端設備630可執行以下步驟S601~S621,以實現控制終端設備630的逾時模式的功能。在步驟S601,使用者可透過操作人機介面設備610的應用功能模組614,以將控制命令傳送至通道管理模組612的通道調度單元612_1。在本實施例中,通道調度單元612_1可包括命令隊列。通道調度單元612_1可根據訂閱順序將控制命令排序至命令隊列中。對此,通道調度單元612_1可根據控制命令的等級及優先權等資訊計算出優先順序並更新命令隊列。通道分配單元612_2將依照控制命令在命令隊列中的順序動態訂閱具有有限數量的第一通訊通道的其中之一(以及包括對應的第二通訊通道),並訂閱所述第一通訊通道的其中之一對應於終端設備630。在步驟S603,通道分配單元612_2將控制命令傳送至傳輸模組611,以使傳輸模組611在步驟S604可將控制命令經由訂閱的第一通訊通道來傳送至雲端設備620的傳輸模組621。在步驟S605,終端設備管理模組622的訊息分類單元622_1可接收傳輸模組621提供的控制命令。在步驟S606,訊息分類單元622_1可將控制命令依照狀態或資料格式來進行分類,並儲存至儲存模組623的訊息暫存單元623_3。在步驟S607,訊息監控單元622_2可監控暫存在訊息暫存單元623_3中的控制命令是否已完成發送至終端設備630。在步驟S608,當訊息監控單元622_2判斷控制命令已逾時未完成發送至對應的終端設備630時,訊息監控單元622_2可通知透過設備控制單元622_3。在步驟S609,設備控制單元622_3可透過設備連線單元623_2來確認終端設備630的連線狀態。在步驟S610,當終端設備630的連線狀態為正常時,訊息監控單元622_2可透過設備控制單元622_3將控制命令經由與對應的終端設備之間的第二專屬通訊通道來重新發送。對此,設備控制單元622_3可根據前述未發送的控制命令來產生委託控制命令,並將委託控制命令傳送至傳輸模組621。FIG6 is a schematic diagram of the operation of the Internet of Things system of an embodiment of the present invention executing the timeout mode. Referring to FIG6, the functions and related technical features of the relevant modules and units executed by the human-machine interface device 610, the cloud device 620 and the terminal device 630 of the Internet of Things system 600 of this embodiment can refer to the description of the embodiments of FIG1 to FIG3 above, so no further details are given here. In this embodiment, the human-machine interface device 610, the cloud device 620 and the terminal device 630 of the Internet of Things system 600 can execute the following steps S601~S621 to realize the function of controlling the timeout mode of the terminal device 630. In step S601, the user can transmit the control command to the channel scheduling unit 612_1 of the channel management module 612 by operating the application function module 614 of the human-machine interface device 610. In this embodiment, the channel scheduling unit 612_1 may include a command queue. The channel scheduling unit 612_1 may sort the control commands into the command queue according to the subscription order. In this regard, the channel scheduling unit 612_1 may calculate the priority order and update the command queue according to the information such as the level and priority of the control command. The channel allocation unit 612_2 will dynamically subscribe to one of the first communication channels with a limited number (and the corresponding second communication channel) according to the order of the control commands in the command queue, and subscribe to one of the first communication channels corresponding to the terminal device 630. In step S603, the channel allocation unit 612_2 transmits the control command to the transmission module 611, so that the transmission module 611 can transmit the control command to the transmission module 621 of the cloud device 620 via the subscribed first communication channel in step S604. In step S605, the message classification unit 622_1 of the terminal device management module 622 can receive the control command provided by the transmission module 621. In step S606, the message classification unit 622_1 can classify the control command according to the state or data format, and store it in the message temporary storage unit 623_3 of the storage module 623. In step S607, the message monitoring unit 622_2 can monitor whether the control command temporarily stored in the message temporary storage unit 623_3 has been sent to the terminal device 630. In step S608, when the message monitoring unit 622_2 determines that the control command has timed out and has not been sent to the corresponding terminal device 630, the message monitoring unit 622_2 can notify the device control unit 622_3. In step S609, the device control unit 622_3 can confirm the connection status of the terminal device 630 through the device connection unit 623_2. In step S610, when the connection status of the terminal device 630 is normal, the message monitoring unit 622_2 can resend the control command through the second dedicated communication channel between the corresponding terminal device through the device control unit 622_3. In this regard, the device control unit 622_3 can generate a delegated control command based on the aforementioned unsent control command and transmit the delegated control command to the transmission module 621.
在步驟S611,雲端設備620的傳輸模組621可經由對應的第二專屬通訊通道將委託控制命令傳送至終端設備630的傳輸模組631。在步驟S612,終端設備630的應用功能模組632可接收傳輸模組631提供的委託控制命令,並且回傳對應的物聯網訊息至傳輸模組631。在步驟S613,終端設備630可透過傳輸模組631回傳物聯網訊息至雲端設備620的傳輸模組621。在步驟S614,訊息分類單元622_1可接收傳輸模組621提供的物聯網訊息。在步驟S615,訊息分類單元622_1可將物聯網訊息依照狀態或資料格式來進行分類,並儲存至儲存模組623的訊息暫存單元623_3。在步驟S616,訊息監控單元622_2可根據暫存在訊息暫存單元623_3中的物聯網訊息來判斷委託控制已完成。在步驟S617,設備控制單元622_3可透過設備連線單元623_2來確認人機介面設備610的連線狀態。在步驟S618,設備控制單元622_3可將物聯網訊息傳送至傳輸模組621。In step S611, the transmission module 621 of the cloud device 620 may transmit the delegated control command to the transmission module 631 of the terminal device 630 via the corresponding second dedicated communication channel. In step S612, the application function module 632 of the terminal device 630 may receive the delegated control command provided by the transmission module 631, and return the corresponding IoT message to the transmission module 631. In step S613, the terminal device 630 may return the IoT message to the transmission module 621 of the cloud device 620 via the transmission module 631. In step S614, the message classification unit 622_1 may receive the IoT message provided by the transmission module 621. In step S615, the message classification unit 622_1 can classify the IoT message according to the state or data format, and store it in the message temporary storage unit 623_3 of the storage module 623. In step S616, the message monitoring unit 622_2 can determine that the delegated control has been completed according to the IoT message temporarily stored in the message temporary storage unit 623_3. In step S617, the device control unit 622_3 can confirm the connection status of the human-machine interface device 610 through the device connection unit 623_2. In step S618, the device control unit 622_3 can transmit the IoT message to the transmission module 621.
在步驟S619,傳輸模組621可經由訂閱的第一專屬通訊通道將物聯網訊息傳送至人機介面設備610的傳輸模組611。在步驟S620,傳輸模組631可將物聯網訊息傳送至訊息應用單元613_1。在步驟S621,訊息應用單元613_1可將物聯網訊息進行分類並傳送至應用功能模組614,以供使用者可透過操作人機介面設備610的應用功能模組614來取得由終端設備630回傳的物聯網訊息。因此,本實施例的物聯網系統600可操作在逾時模式,以對於終端設備630進行委託控制功能。本實施例的物聯網系統600可有效確保人機介面設備610與終端設備630之間的控制流程不會因連線異常等情況而造成控制失敗或資料遺失的問題。In step S619, the transmission module 621 may transmit the IoT message to the transmission module 611 of the human-machine interface device 610 via the subscribed first dedicated communication channel. In step S620, the transmission module 631 may transmit the IoT message to the message application unit 613_1. In step S621, the message application unit 613_1 may classify the IoT message and transmit it to the application function module 614, so that the user can obtain the IoT message returned by the terminal device 630 by operating the application function module 614 of the human-machine interface device 610. Therefore, the IoT system 600 of this embodiment may operate in a timeout mode to delegate control functions to the terminal device 630. The IoT system 600 of this embodiment can effectively ensure that the control process between the human-machine interface device 610 and the terminal device 630 will not cause control failure or data loss due to abnormal connection and other situations.
圖7是本發明的一實施例的物聯網系統執行委託模式的操作示意圖。參考圖7,本實施例的物聯網系統700的人機介面設備710、雲端設備720以及終端設備730所執行的相關模組以及單元的功能及相關技術特徵可參考上述圖1至圖3實施例的說明,因此在此不多加贅述。在本實施例中,物聯網系統700的人機介面設備710、雲端設備720以及終端設備730可執行以下步驟S701~S721,以實現控制終端設備730的委託模式的功能。在步驟S701,使用者可透過操作人機介面設備710的應用功能模組714,以將控制命令傳送至通道管理模組712的通道調度單元712_1。在本實施例中,當通道調度單元712_1偵測到命令隊列壅塞且存在具有較高等級(或較高優先級)的控制命令時,通道調度單元712_1可將具有較高等級的控制命令傳送至資料管理模組713的控制委託單元713_2,以產生對應的委託控制命令。在步驟S703,控制委託單元713_2將委託控制命令傳送至傳輸模組711。在步驟S704,傳輸模組711可經由第一專屬通訊通道將委託控制命令傳送至雲端設備720的傳輸模組721。換言之,當全部的第一通訊通道皆為占用狀態時,本實施例的通道調度單元712_1可將具有較高優先級的至少一控制命令(或緊急控制命令)轉由控制委託單元713_2來經由第一專屬通訊通道傳送對應的委託控制命令至雲端設備720。FIG7 is an operation diagram of an IoT system of an embodiment of the present invention executing a delegation mode. Referring to FIG7, the functions and related technical features of the relevant modules and units executed by the human-machine interface device 710, the cloud device 720, and the terminal device 730 of the IoT system 700 of the present embodiment can refer to the description of the embodiments of FIG1 to FIG3 above, so no further details are given here. In the present embodiment, the human-machine interface device 710, the cloud device 720, and the terminal device 730 of the IoT system 700 can execute the following steps S701~S721 to realize the function of the delegation mode of controlling the terminal device 730. In step S701, the user can transmit the control command to the channel scheduling unit 712_1 of the channel management module 712 by operating the application function module 714 of the human-machine interface device 710. In this embodiment, when the channel scheduling unit 712_1 detects that the command queue is congested and there is a control command with a higher level (or higher priority), the channel scheduling unit 712_1 can transmit the control command with the higher level to the control delegation unit 713_2 of the data management module 713 to generate a corresponding delegated control command. In step S703, the control delegation unit 713_2 transmits the delegated control command to the transmission module 711. In step S704, the transmission module 711 may transmit the delegated control command to the transmission module 721 of the cloud device 720 via the first dedicated communication channel. In other words, when all the first communication channels are occupied, the channel scheduling unit 712_1 of this embodiment may transfer at least one control command (or emergency control command) with a higher priority to the control delegation unit 713_2 to transmit the corresponding delegated control command to the cloud device 720 via the first dedicated communication channel.
在步驟S705,終端設備管理模組722的訊息分類單元722_1可接收傳輸模組721提供的委託控制命令。在步驟S706,訊息分類單元722_1可將委託控制命令依照狀態或資料格式來進行分類,並儲存至儲存模組723的訊息暫存單元723_3。在步驟S707,訊息監控單元722_2可監控暫存在訊息暫存單元723_3中的委託控制命令是否已完成發送至終端設備730。在步驟S708,訊息監控單元722_2可通知設備控制單元722_3。在步驟S709,設備控制單元722_3可透過設備連線單元723_2來確認終端設備730的連線狀態。在步驟S710,當終端設備730的連線狀態為正常時,設備控制單元722_3可將委託控制命令經由與終端設備730之間的第二專屬通訊通道來發送至終端設備730。In step S705, the message classification unit 722_1 of the terminal device management module 722 may receive the delegated control command provided by the transmission module 721. In step S706, the message classification unit 722_1 may classify the delegated control command according to the state or data format and store it in the message temporary storage unit 723_3 of the storage module 723. In step S707, the message monitoring unit 722_2 may monitor whether the delegated control command temporarily stored in the message temporary storage unit 723_3 has been sent to the terminal device 730. In step S708, the message monitoring unit 722_2 may notify the device control unit 722_3. In step S709, the device control unit 722_3 can confirm the connection status of the terminal device 730 through the device connection unit 723_2. In step S710, when the connection status of the terminal device 730 is normal, the device control unit 722_3 can send the delegated control command to the terminal device 730 via the second dedicated communication channel between the terminal device 730 and the terminal device 730.
在步驟S711,雲端設備720的傳輸模組721可經由對應的第二專屬通訊通道將委託控制命令傳送至終端設備730的傳輸模組731。在步驟S712,終端設備730的應用功能模組732可接收傳輸模組731提供的委託控制命令,並且回傳對應的物聯網訊息至傳輸模組731。在步驟S713,終端設備730可透過傳輸模組731回傳物聯網訊息至雲端設備720的傳輸模組721。在步驟S714,訊息分類單元722_1可接收傳輸模組721提供的物聯網訊息。在步驟S715,訊息分類單元722_1可將物聯網訊息依照狀態或資料格式來進行分類,並儲存至儲存模組723的訊息暫存單元723_3。在步驟S716,訊息監控單元722_2可根據暫存在訊息暫存單元723_3中的物聯網訊息來判斷委託控制已完成。在步驟S717,設備控制單元722_3可透過設備連線單元723_2來確認人機介面設備710的連線狀態。在步驟S718,設備控制單元722_3可將物聯網訊息傳送至傳輸模組721。In step S711, the transmission module 721 of the cloud device 720 may transmit the delegated control command to the transmission module 731 of the terminal device 730 via the corresponding second dedicated communication channel. In step S712, the application function module 732 of the terminal device 730 may receive the delegated control command provided by the transmission module 731, and return the corresponding IoT message to the transmission module 731. In step S713, the terminal device 730 may return the IoT message to the transmission module 721 of the cloud device 720 via the transmission module 731. In step S714, the message classification unit 722_1 may receive the IoT message provided by the transmission module 721. In step S715, the message classification unit 722_1 can classify the IoT message according to the state or data format, and store it in the message temporary storage unit 723_3 of the storage module 723. In step S716, the message monitoring unit 722_2 can determine that the delegated control has been completed according to the IoT message temporarily stored in the message temporary storage unit 723_3. In step S717, the device control unit 722_3 can confirm the connection status of the human-machine interface device 710 through the device connection unit 723_2. In step S718, the device control unit 722_3 can transmit the IoT message to the transmission module 721.
在步驟S719,傳輸模組721可經由第一專屬通訊通道將物聯網訊息傳送至人機介面設備710的傳輸模組711。在步驟S720,傳輸模組731可將物聯網訊息傳送至訊息應用單元713_1。在步驟S721,訊息應用單元713_1可將物聯網訊息進行分類並傳送至應用功能模組714,以供使用者可透過操作人機介面設備710的應用功能模組714來取得由終端設備730回傳的物聯網訊息。因此,本實施例的物聯網系統700可操作在委託模式,以對於終端設備730進行委託控制功能,並且可有效避免緊急控制命令因第一通訊通道處於壅塞的情況下而發生延遲發送至對應的終端設備的情況。In step S719, the transmission module 721 may transmit the IoT message to the transmission module 711 of the human-machine interface device 710 via the first dedicated communication channel. In step S720, the transmission module 731 may transmit the IoT message to the message application unit 713_1. In step S721, the message application unit 713_1 may classify the IoT message and transmit it to the application function module 714, so that the user can obtain the IoT message returned by the terminal device 730 by operating the application function module 714 of the human-machine interface device 710. Therefore, the IoT system 700 of this embodiment can be operated in a delegation mode to delegate control functions to the terminal device 730, and can effectively avoid the situation where the emergency control command is delayed in being sent to the corresponding terminal device due to congestion in the first communication channel.
圖8是本發明的一實施例的電子設備的示意圖。參照圖1,圖1中的雲端設備120及終端設備130_1至130_N中的每一者可以與電子設備800相同的方式實施。在本發明的實施例中,電子設備800包括傳送模組801、IoT設備管理模組802、儲存模組803、HMI設備管理模組804及應用功能模組805。IoT設備管理模組802包括訊息分類單元802_1、訊息監控單元802_2及設備控制單元802_3。儲存模組803包括設備資料單元803_1、設備連接單元803_2及訊息暫存器單元803_3。HMI設備管理模組804包括排程單元804_1及訊息組織單元804_2。電子設備800可經由傳送模組801而與HMI設備進行通訊。FIG8 is a schematic diagram of an electronic device of an embodiment of the present invention. Referring to FIG1, each of the cloud device 120 and the terminal devices 130_1 to 130_N in FIG1 can be implemented in the same manner as the electronic device 800. In an embodiment of the present invention, the electronic device 800 includes a transmission module 801, an IoT device management module 802, a storage module 803, an HMI device management module 804, and an application function module 805. The IoT device management module 802 includes a message classification unit 802_1, a message monitoring unit 802_2, and a device control unit 802_3. The storage module 803 includes a device data unit 803_1, a device connection unit 803_2, and a message buffer unit 803_3. The HMI device management module 804 includes a scheduling unit 804_1 and a message organization unit 804_2. The electronic device 800 can communicate with the HMI device via the transmission module 801.
在本發明的實施例中,電子設備800可包括處理器及記憶體,且記憶體可儲存相關的程式及軟體,使得處理器可執行相關的程式及軟體以實施電子設備800中的以上單元及模組。在本發明的實施例中,處理器可為中央處理單元(central processing unit,CPU)、微控制器單元(microcontroller unit,MCU)或其他處理電路,且記憶體可為非暫時性電腦可讀取記錄介質,例如唯讀記憶體(read-only memory,ROM)、可抹除可程式化唯讀記憶體(erasable programmable read-only memory,EPROM)、電可抹除可程式化唯讀記憶體(electrically-erasable programmable read-only memory,EEPROM)或非揮發性記憶體(non-volatile memory,NVM)。In an embodiment of the present invention, the electronic device 800 may include a processor and a memory, and the memory may store relevant programs and software, so that the processor may execute the relevant programs and software to implement the above units and modules in the electronic device 800. In an embodiment of the present invention, the processor may be a central processing unit (CPU), a microcontroller unit (MCU) or other processing circuits, and the memory may be a non-temporary computer-readable recording medium, such as a read-only memory (ROM), an erasable programmable read-only memory (EPROM), an electrically-erasable programmable read-only memory (EEPROM) or a non-volatile memory (NVM).
在本發明的實施例中,傳送模組801可基於有線/無線通訊協定傳送及接收訊息,且傳送模組801可包括設備掃描(device scan)功能。傳送模組801可包括第五代行動通訊網路(the fifth-generation mobile network,5G)模組、藍牙(Bluetooth)模組、無線保真(wireless fidelity,WiFi)模組、蜂舞協定(Zigbee)模組、Matter模組及訊息佇列遙測傳輸(MQTT)模組中的至少一者。在本發明的實施例中,訊息分類單元802_1可用於將從傳送模組801接收到的訊息分類成例如連接狀態、設備資料及控制命令等類別,並將該些訊息儲存於儲存模組803中,並且可根據專用通訊通道模式及是否必須立即做出響應來經由設備控制單元802_3直接對命令進行答覆。訊息監控單元802_2可監控儲存於訊息暫存器單元803_3中的命令是否已完成,設備資料單元803_1是否已逾時,以及是否已接收到HMI設備的控制指派等,並需要獲得控制權以觸發設備控制單元802_3代表訊息監控單元802_2執行控制。在設備管理模式及通用通訊通道模式下,訊息監控單元802_2亦可監控HMI設備在逾時時間後是否未進行連接以對設備資料進行存取。若出現逾時,則訊息監控單元802_2可經由專用通訊通道恢復與原始管理設備的連接,並傳送將傳送模式切換至原始模式並取消代管(hosting)的請求。在本發明的實施例中,設備控制單元802_3可探索IoT設備(終端設備/HMI)的獨佔通道並執行訊息推送操作。In an embodiment of the present invention, the transmission module 801 can transmit and receive messages based on a wired/wireless communication protocol, and the transmission module 801 can include a device scan function. The transmission module 801 can include at least one of a fifth-generation mobile network (5G) module, a Bluetooth module, a wireless fidelity (WiFi) module, a Zigbee module, a Matter module, and a Message Queuing Telemetry Transmission (MQTT) module. In an embodiment of the present invention, the message classification unit 802_1 can be used to classify the messages received from the transmission module 801 into categories such as connection status, device data and control commands, and store these messages in the storage module 803, and can directly respond to the commands through the device control unit 802_3 according to the dedicated communication channel mode and whether an immediate response is required. The message monitoring unit 802_2 can monitor whether the command stored in the message buffer unit 803_3 has been completed, whether the device data unit 803_1 has timed out, and whether the control assignment of the HMI device has been received, and needs to obtain control rights to trigger the device control unit 802_3 to perform control on behalf of the message monitoring unit 802_2. In the device management mode and the general communication channel mode, the message monitoring unit 802_2 can also monitor whether the HMI device does not connect to access the device data after the timeout period. If a timeout occurs, the message monitoring unit 802_2 can restore the connection with the original management device via the dedicated communication channel and send a request to switch the transmission mode to the original mode and cancel the hosting. In an embodiment of the present invention, the device control unit 802_3 can explore the exclusive channel of the IoT device (terminal device/HMI) and perform a message push operation.
在本發明的實施例中,設備資料單元803_1可儲存終端/HMI設備環境資訊,例如感測器資料、使用者許可等。在本發明的實施例中,設備連接單元803_2可儲存終端/HMI設備連接資訊,包括例如設備傳送模式(位元洪流下載協定(BitTorrent,BT)、WiFi、Matter等)、通訊通道、附加資訊(網際網路協定(Internet Protocol,IP)、設備名稱等)、以及設備代管或HMI代管等欄位。在本發明的實施例中,訊息暫存器單元803_3可臨時儲存HMI設備的控制命令。In an embodiment of the present invention, the device data unit 803_1 can store terminal/HMI device environment information, such as sensor data, user permission, etc. In an embodiment of the present invention, the device connection unit 803_2 can store terminal/HMI device connection information, including, for example, device transmission mode (BitTorrent (BT), WiFi, Matter, etc.), communication channel, additional information (Internet Protocol (IP), device name, etc.), and fields such as device hosting or HMI hosting. In an embodiment of the present invention, the message buffer unit 803_3 can temporarily store control commands of the HMI device.
在本發明的實施例中,排程單元804_1可監控儲存模組803中的設備連接單元803_2中的HMI設備的連接狀態,且可引導所收集的資訊的推送時間控制。在本發明的實施例中,訊息組織單元804_2可收集及轉換設備資料單元803_1中的資訊,且可辨識終端設備與HMI設備是否位於同一通訊區域中。若終端設備與HMI設備位於同一通訊區域中,則訊息組織單元804_2可收集HMI所偵測到的有多個終端設備存在於所述相鄰的區域或所述相同的區域中的多個資訊,並將結果傳遞至IoT設備管理模組802中的設備控制單元802_3。在本發明的實施例中,應用功能模組805可提供電子設備800的應用功能,且可更包括例如時序報告等功能。In an embodiment of the present invention, the scheduling unit 804_1 can monitor the connection status of the HMI device in the device connection unit 803_2 in the storage module 803, and can guide the push time control of the collected information. In an embodiment of the present invention, the message organization unit 804_2 can collect and convert the information in the device data unit 803_1, and can identify whether the terminal device and the HMI device are located in the same communication area. If the terminal device and the HMI device are located in the same communication area, the message organization unit 804_2 can collect multiple information detected by the HMI that multiple terminal devices exist in the adjacent area or the same area, and transmit the result to the device control unit 802_3 in the IoT device management module 802. In the embodiment of the present invention, the application function module 805 can provide application functions of the electronic device 800, and can further include functions such as timing report.
另外,此實施例中的電子設備800的相關技術特徵可進一步參照圖1至圖7中的實施例的說明,因此此處不再予以贅述。In addition, the relevant technical features of the electronic device 800 in this embodiment can be further referred to the description of the embodiments in FIG. 1 to FIG. 7 , and thus will not be elaborated here.
圖9是本發明的一實施例的訊息分類方法的流程圖。參照圖8及圖9,訊息分類單元802_1可執行以下步驟S910至S960。在步驟S910中,訊息分類單元802_1可從傳送模組801接收訊息,所述訊息可包括控制命令。在步驟S920中,訊息分類單元802_1可對訊息進行分類,並判斷訊息指示使用通用通訊通道還是專用通訊通道。若訊息分類單元802_1判斷訊息指示使用通用通訊通道,則在步驟S930中,訊息分類單元802_1可將訊息傳送至設備控制單元802_3,且經由通用通訊通道傳送對應的命令。若訊息分類單元802_1判斷訊息指示使用專用通訊通道,則在步驟S940中,訊息分類單元802_1可判斷命令是否具有立即響應要求。若命令具有立即響應要求,則在步驟S950中,訊息分類單元802_1可將訊息傳送至設備控制單元802_3,並經由專用通訊通道傳送對應的命令。若命令不具有立即響應要求,則在步驟S960中,訊息分類單元802_1可將訊息儲存至儲存模組803中,且由HMI設備管理模組804經由專用通訊通道傳送對應的命令。FIG9 is a flow chart of a message classification method of an embodiment of the present invention. Referring to FIG8 and FIG9 , the message classification unit 802_1 may perform the following steps S910 to S960. In step S910, the message classification unit 802_1 may receive a message from the transmission module 801, and the message may include a control command. In step S920, the message classification unit 802_1 may classify the message and determine whether the message indicates the use of a general communication channel or a dedicated communication channel. If the message classification unit 802_1 determines that the message indicates the use of a general communication channel, then in step S930, the message classification unit 802_1 may transmit the message to the device control unit 802_3 and transmit the corresponding command via the general communication channel. If the message classification unit 802_1 determines that the message indicates the use of a dedicated communication channel, then in step S940, the message classification unit 802_1 can determine whether the command has an immediate response requirement. If the command has an immediate response requirement, then in step S950, the message classification unit 802_1 can transmit the message to the device control unit 802_3 and transmit the corresponding command via the dedicated communication channel. If the command does not have an immediate response requirement, then in step S960, the message classification unit 802_1 can store the message in the storage module 803, and the HMI device management module 804 transmits the corresponding command via the dedicated communication channel.
圖10是本發明的一實施例的訊息監控方法的流程圖。參照圖8及圖10,訊息監控單元802_2可執行以下步驟S1010至S1040。在步驟S1010中,訊息監控單元802_2可藉由監控訊息來監控HMI設備。在步驟S1020中,訊息監控單元802_2可判斷在電子設備800與HMI設備之間所操作的通道模式。若電子設備800經由專用通訊通道而與HMI設備進行通訊,則在步驟S1030中,訊息監控單元802_2可監控IoT訊息是否逾時。若電子設備800經由通用通訊通道而與HMI設備進行通訊,則在步驟S1040中,訊息監控單元802_2可監控HMI設備是否逾時以及是否未進行連接以進行存取。FIG. 10 is a flow chart of a message monitoring method of an embodiment of the present invention. Referring to FIG. 8 and FIG. 10 , the message monitoring unit 802_2 may perform the following steps S1010 to S1040. In step S1010, the message monitoring unit 802_2 may monitor the HMI device by monitoring the message. In step S1020, the message monitoring unit 802_2 may determine the channel mode operated between the electronic device 800 and the HMI device. If the electronic device 800 communicates with the HMI device via a dedicated communication channel, then in step S1030, the message monitoring unit 802_2 may monitor whether the IoT message has timed out. If the electronic device 800 communicates with the HMI device via the universal communication channel, then in step S1040, the message monitoring unit 802_2 can monitor whether the HMI device has timed out and whether it has not been connected for access.
圖11是本發明的一實施例的人機介面設備的示意圖。參照圖1,圖1中的HMI設備110可以與HMI設備1110相同的方式實施。在本發明的實施例中,HMI設備1110包括傳送模組1111、通道管理模組1112以及資料管理模組1113及應用功能模組1114。通道管理模組1112包括通道分配單元1112_1、設備連接單元1112_2、通道排程單元1112_3及排程單元1112_4。資料管理模組1113包括訊息應用單元1113_1及控制請求單元1113_2。FIG. 11 is a schematic diagram of a human-machine interface device of an embodiment of the present invention. Referring to FIG. 1 , the HMI device 110 in FIG. 1 can be implemented in the same manner as the HMI device 1110. In the embodiment of the present invention, the HMI device 1110 includes a transmission module 1111, a channel management module 1112, a data management module 1113, and an application function module 1114. The channel management module 1112 includes a channel allocation unit 1112_1, a device connection unit 1112_2, a channel scheduling unit 1112_3, and a scheduling unit 1112_4. The data management module 1113 includes a message application unit 1113_1 and a control request unit 1113_2.
在本發明的實施例中,HMI設備1110可包括處理器及記憶體,且記憶體可儲存相關的程式及軟體,使得處理器可執行相關的程式及軟體以實施HMI設備1110中的以上單元及模組。在本發明的實施例中,處理器可為中央處理單元(CPU)、微控制器單元(MCU)或其他處理電路,且記憶體可為非暫時性電腦可讀取記錄介質,例如唯讀記憶體(ROM)、可抹除可程式化唯讀記憶體(EPROM)、電可抹除可程式化唯讀記憶體(EEPROM)或非揮發性記憶體(NVM)。In an embodiment of the present invention, the HMI device 1110 may include a processor and a memory, and the memory may store relevant programs and software, so that the processor may execute the relevant programs and software to implement the above units and modules in the HMI device 1110. In an embodiment of the present invention, the processor may be a central processing unit (CPU), a microcontroller unit (MCU) or other processing circuits, and the memory may be a non-transitory computer-readable recording medium, such as a read-only memory (ROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM) or a non-volatile memory (NVM).
在本發明的實施例中,傳送模組1111可在HMI設備1110與以上電子設備800(即,終端設備或雲端設備)之間建立多個第一通訊通道及第一專用通訊通道。傳送模組1111可基於有線/無線通訊協定傳送及接收訊息,且傳送模組1111可包括設備掃描功能。In an embodiment of the present invention, the transmission module 1111 can establish multiple first communication channels and first dedicated communication channels between the HMI device 1110 and the above electronic device 800 (i.e., terminal device or cloud device). The transmission module 1111 can transmit and receive messages based on wired/wireless communication protocols, and the transmission module 1111 can include a device scanning function.
在本發明的實施例中,通道管理模組1112可在用於控制命令傳送的有限數目的通道中排程及分配供終端設備訂用的專用通訊通道。在本發明的實施例中,通道分配單元1112_1可根據通道排程單元1112_3所計算的佇列優先權動態地依序訂用被佔用的通訊通道,並設計動態釋放時間以加快通訊通道分配效率。當通道分配單元1112_1判定通訊通道尚未響應或延遲響應時,由雲端設備中的IOT設備管理模組的訊息監控單元負責,且通道分配單元1112_1可分配(共用)通訊通道、專用通訊通道及傳送模式,且可使用訊息的標頭來闡述訊息的傳送模式及通訊通道模式。在本發明的實施例中,設備連接單元1112_2可儲存設備的近端連接資訊(near-end connection information),其中近端連接資訊至少包括設備唯一代碼(device unique code)、被管理的子設備、通訊通道資訊、傳送模式資訊、及先前控制的時間資訊。近端連接資訊用於區分HMI設備的傳送模式及通訊通道,例如連接雲端設備以將該些命令傳送至終端設備,或者連接終端設備以將該些命令傳送至子終端設備。In an embodiment of the present invention, the channel management module 1112 can schedule and allocate dedicated communication channels for terminal devices to subscribe in a limited number of channels used for control command transmission. In an embodiment of the present invention, the channel allocation unit 1112_1 can dynamically and sequentially subscribe to the occupied communication channels according to the queue priority calculated by the channel scheduling unit 1112_3, and design a dynamic release time to speed up the efficiency of communication channel allocation. When the channel allocation unit 1112_1 determines that the communication channel has not responded or delayed response, the message monitoring unit of the IOT device management module in the cloud device is responsible, and the channel allocation unit 1112_1 can allocate (shared) communication channels, dedicated communication channels and transmission modes, and can use the header of the message to explain the transmission mode and communication channel mode of the message. In an embodiment of the present invention, the device connection unit 1112_2 can store the near-end connection information of the device, wherein the near-end connection information at least includes the device unique code, the managed sub-device, the communication channel information, the transmission mode information, and the previous control time information. The near-end connection information is used to distinguish the transmission mode and communication channel of the HMI device, for example, connecting to the cloud device to transmit the commands to the terminal device, or connecting to the terminal device to transmit the commands to the sub-terminal device.
在本發明的實施例中,通道排程單元1112_3可基於控制命令的例如位階及權重等資訊來計算命令佇列的優先權次序,且具有在所有的通道皆忙線時在命令佇列中選取較高位階的命令的機制,且經由資料管理模組1113中的控制請求單元1113_2將控制命令遞送至雲端設備以進行控制。在本發明的實施例中,排程單元1112_4可藉由讀取設備連接單元1112_2來定期地判斷支援傳送模式切換的終端設備,並產生低優先權偵測命令至通道排程單元1112_3中的命令佇列。此外,排程單元1112_4亦可藉由讀取處於通用通訊通道模式且已到達應被控制及管理的時間的設備連接單元1112_2來定期地讀取被管理的終端設備,且可產生中等優先權訊息以獲得控制命令並將控制命令傳送至通道排程單元1112_3中的命令佇列。In an embodiment of the present invention, the channel scheduling unit 1112_3 can calculate the priority of the command queue based on information such as the rank and weight of the control command, and has a mechanism to select a higher-rank command in the command queue when all channels are busy, and deliver the control command to the cloud device for control via the control request unit 1113_2 in the data management module 1113. In an embodiment of the present invention, the scheduling unit 1112_4 can periodically determine the terminal device that supports the transmission mode switching by reading the device connection unit 1112_2, and generate a low-priority detection command to the command queue in the channel scheduling unit 1112_3. In addition, the scheduling unit 1112_4 can also periodically read the managed terminal device by reading the device connection unit 1112_2 that is in the general communication channel mode and has reached the time to be controlled and managed, and can generate a medium priority message to obtain a control command and transmit the control command to the command queue in the channel scheduling unit 1112_3.
在本發明的實施例中,訊息應用單元1113_1可接收所收集的終端設備訊息(所收集的資訊),並根據實際應用對訊息進行分類並將該些訊息傳送至應用功能模組。若訊息應用單元1113_1辨別出所述訊息是傳送模式或通訊通道模式的改變,則將所述訊息指派至設備連接單元1112_2並進行標記。若訊息應用單元1113_1辨別出所述訊息是被管理的設備訊息,則訊息應用單元1113_1將經由第一專用通訊通道將所述訊息傳送至原始管理設備(例如雲端設備)。在本發明的實施例中,控制請求單元1113_2可經由HMI設備的專用通訊通道將控制命令推送至雲端設備中的IOT設備管理模組,使得雲端設備的訊息監控單元可在偵測之後代替HMI發出控制命令。在本發明的實施例中,應用功能模組1114可具有可與使用者進行實際交互的操作螢幕或功能,且可包括可被設定為經由專用通訊通道模式連接設備的功能。In an embodiment of the present invention, the message application unit 1113_1 can receive the collected terminal device messages (collected information), classify the messages according to the actual application, and transmit the messages to the application function module. If the message application unit 1113_1 identifies that the message is a change in the transmission mode or communication channel mode, the message is assigned to the device connection unit 1112_2 and marked. If the message application unit 1113_1 identifies that the message is a managed device message, the message application unit 1113_1 will transmit the message to the original management device (e.g., cloud device) via the first dedicated communication channel. In an embodiment of the present invention, the control request unit 1113_2 can push the control command to the IOT device management module in the cloud device via the dedicated communication channel of the HMI device, so that the message monitoring unit of the cloud device can issue the control command instead of the HMI after detection. In an embodiment of the present invention, the application function module 1114 can have an operation screen or function that can actually interact with the user, and can include a function that can be set to connect the device via a dedicated communication channel mode.
另外,此實施例中的HMI設備1110的相關技術特徵可進一步參照圖1至圖7中的實施例的說明,因此此處不再予以贅述。In addition, the relevant technical features of the HMI device 1110 in this embodiment can be further referred to the description of the embodiments in Figures 1 to 7, so they will not be repeated here.
圖12是本發明的一實施例的通道分配方法的流程圖。參照圖11及圖12,訊息分類單元802_1可執行以下步驟S1210至S1250。在步驟S1210中,通道分配單元1112_1可根據訊息的標頭來辨識通道模式。在步驟S1220中,通道分配單元1112_1可判斷是否連接終端設備。若通道分配單元1112_1未連接終端設備,則在步驟S1230中,通道分配單元1112_1可分配專用通訊通道。若通道分配單元1112_1連接終端設備,則在步驟S1240中,通道分配單元1112_1可更判斷終端設備是否具有子終端設備。若終端設備具有子終端設備,則在步驟S1230中,通道分配單元1112_1可分配專用通訊通道。若終端設備不具有子終端設備,則在步驟S1250中,通道分配單元1112_1可分配通用通訊通道。FIG. 12 is a flow chart of a channel allocation method according to an embodiment of the present invention. Referring to FIG. 11 and FIG. 12, the message classification unit 802_1 may perform the following steps S1210 to S1250. In step S1210, the channel allocation unit 1112_1 may identify the channel mode according to the header of the message. In step S1220, the channel allocation unit 1112_1 may determine whether the terminal device is connected. If the channel allocation unit 1112_1 is not connected to the terminal device, then in step S1230, the channel allocation unit 1112_1 may allocate a dedicated communication channel. If the channel allocation unit 1112_1 is connected to the terminal device, then in step S1240, the channel allocation unit 1112_1 can further determine whether the terminal device has a sub-terminal device. If the terminal device has a sub-terminal device, then in step S1230, the channel allocation unit 1112_1 can allocate a dedicated communication channel. If the terminal device does not have a sub-terminal device, then in step S1250, the channel allocation unit 1112_1 can allocate a general communication channel.
應注意,以下實施例中的每一者的IoT系統不僅可實施為圖1至圖7的以上實施例的IoT系統,且亦可更實施圖13至圖17的以下實施例的功能,進而在不經過雲端設備的情況下切換HMI設備來管理及控制與HMI設備相鄰的終端設備。It should be noted that the IoT system of each of the following embodiments can not only be implemented as the IoT system of the above embodiments of Figures 1 to 7, but can also further implement the functions of the following embodiments of Figures 13 to 17, thereby switching the HMI device to manage and control the terminal devices adjacent to the HMI device without going through the cloud device.
圖13是本發明的一實施例的主動地切換傳送模式的HMI設備的示意圖。參照圖13,IoT系統1300包括HMI設備1310、雲端設備1320及終端設備1330。HMI設備1310包括傳送模組1311、通道管理模組1312、以及資料管理模組1313及應用功能模組1314。通道管理模組1312包括通道分配單元1312_1、設備連接單元1312_2、通道排程單元1312_3及排程單元1312_4。資料管理模組1313包括訊息應用單元1313_1及控制請求單元1313_2。FIG13 is a schematic diagram of an HMI device that actively switches the transmission mode according to an embodiment of the present invention. Referring to FIG13 , the IoT system 1300 includes an HMI device 1310, a cloud device 1320, and a terminal device 1330. The HMI device 1310 includes a transmission module 1311, a channel management module 1312, a data management module 1313, and an application function module 1314. The channel management module 1312 includes a channel allocation unit 1312_1, a device connection unit 1312_2, a channel scheduling unit 1312_3, and a scheduling unit 1312_4. The data management module 1313 includes a message application unit 1313_1 and a control request unit 1313_2.
雲端設備1320包括傳送模組1321、IoT設備管理模組1322、儲存模組1323、HMI設備管理模組1324及應用功能模組1325。IoT設備管理模組1322包括訊息分類單元1322_1、訊息監控單元1322_2及設備控制單元1322_3。儲存模組1323包括設備資料單元1323_1、設備連接單元1323_2及訊息暫存器單元1323_3。HMI設備管理模組1324包括排程單元1324_1及訊息組織單元1324_2。雲端設備1320可經由傳送模組1321而與HMI設備1310的傳送模組1311進行通訊。The cloud device 1320 includes a transmission module 1321, an IoT device management module 1322, a storage module 1323, an HMI device management module 1324, and an application function module 1325. The IoT device management module 1322 includes a message classification unit 1322_1, a message monitoring unit 1322_2, and a device control unit 1322_3. The storage module 1323 includes a device data unit 1323_1, a device connection unit 1323_2, and a message buffer unit 1323_3. The HMI device management module 1324 includes a scheduling unit 1324_1 and a message organization unit 1324_2. The cloud device 1320 can communicate with the transmission module 1311 of the HMI device 1310 via the transmission module 1321 .
終端設備1330包括傳送模組1331、IoT設備管理模組1332、儲存模組1333、HMI設備管理模組1334及應用功能模組1335。IoT設備管理模組1332包括訊息分類單元1332_1、訊息監控單元1332_2及設備控制單元1332_3。儲存模組1333包括設備資料單元1333_1、設備連接單元1333_2及訊息暫存器單元1333_3。HMI設備管理模組1334包括排程單元1334_1及訊息組織單元1334_2。終端設備1330可經由傳送模組1331而與HMI設備1310的傳送模組1311進行通訊。The terminal device 1330 includes a transmission module 1331, an IoT device management module 1332, a storage module 1333, an HMI device management module 1334, and an application function module 1335. The IoT device management module 1332 includes a message classification unit 1332_1, a message monitoring unit 1332_2, and a device control unit 1332_3. The storage module 1333 includes a device data unit 1333_1, a device connection unit 1333_2, and a message buffer unit 1333_3. The HMI device management module 1334 includes a scheduling unit 1334_1 and a message organization unit 1334_2. The terminal device 1330 can communicate with the transmission module 1311 of the HMI device 1310 via the transmission module 1331 .
在本發明的實施例中,IoT系統1300可執行以下步驟S1301至S1333以藉由HMI設備1310實施傳送模式的主動切換。在步驟S1301中,排程單元1312_4可藉由讀取設備連接單元1312_2來判斷支援傳送模式切換的終端設備1330,並產生低優先權偵測命令至通道排程單元1312_3中的命令佇列。通道排程單元1312_3包括命令佇列。在步驟S1302中,通道排程單元1312_3可根據控制命令的優先權資訊來計算訂用順序。在步驟S1303中,通道分配單元1312_1可根據訂用順序來分配第一通訊通道以供欲傳送的控制命令依序訂用。在步驟S1304中,傳送模組1311可判斷終端設備1330是否與HMI設備1310相鄰。在本發明的實施例中,被判斷為與HMI設備1310相鄰的終端設備1330是與HMI設備1310位於同一通訊區域中,或者HMI設備1310與被判斷為與HMI設備1310相鄰的終端設備1330之間的距離小於預定距離。In an embodiment of the present invention, the IoT system 1300 may perform the following steps S1301 to S1333 to implement active switching of the transmission mode through the HMI device 1310. In step S1301, the scheduling unit 1312_4 may determine the terminal device 1330 that supports the transmission mode switching by reading the device connection unit 1312_2, and generate a low priority detection command to the command queue in the channel scheduling unit 1312_3. The channel scheduling unit 1312_3 includes a command queue. In step S1302, the channel scheduling unit 1312_3 may calculate the subscription order according to the priority information of the control command. In step S1303, the channel allocation unit 1312_1 may allocate the first communication channel according to the subscription order for the control commands to be transmitted to be subscribed in sequence. In step S1304, the transmission module 1311 may determine whether the terminal device 1330 is adjacent to the HMI device 1310. In an embodiment of the present invention, the terminal device 1330 determined to be adjacent to the HMI device 1310 is located in the same communication area as the HMI device 1310, or the distance between the HMI device 1310 and the terminal device 1330 determined to be adjacent to the HMI device 1310 is less than a predetermined distance.
在步驟S1305中,傳送模組1311可經由第一專用通訊通道將和與HMI設備1310相鄰的終端設備1330對應的切換傳送模式請求訊息傳送至雲端設備1320。在步驟S1306中,傳送模組1321可將切換傳送模式請求訊息傳送至訊息分類單元1322_1。在步驟S1307中,訊息分類單元1322_1可對切換傳送模式請求訊息進行分類,並將切換傳送模式請求訊息儲存至儲存模組1323的設備資料單元1323_1及設備連接單元1323_2中。在步驟S1308中,排程單元1324_1可經由設備連接單元1323_2判斷終端設備1330與HMI設備1310之間的連接狀態。在步驟S1309中,排程單元1324_1可根據預設訊息推送的時間排程來控制訊息組織單元1324_2。排程單元1324_1可監控HMI設備1310的儲存於設備連接單元1323_2中的設備連接資訊以產生訊息推送排程。在步驟S1310中,訊息組織單元1324_2可從設備資料單元1323_1讀取上述IoT訊息及與其他終端設備對應的其他IoT訊息,並執行訊息組織以產生組織化訊息。In step S1305, the transmission module 1311 may transmit the transmission mode switching request message corresponding to the terminal device 1330 adjacent to the HMI device 1310 to the cloud device 1320 via the first dedicated communication channel. In step S1306, the transmission module 1321 may transmit the transmission mode switching request message to the message classification unit 1322_1. In step S1307, the message classification unit 1322_1 may classify the transmission mode switching request message and store the transmission mode switching request message in the device data unit 1323_1 and the device connection unit 1323_2 of the storage module 1323. In step S1308, the scheduling unit 1324_1 can determine the connection status between the terminal device 1330 and the HMI device 1310 via the device connection unit 1323_2. In step S1309, the scheduling unit 1324_1 can control the message organization unit 1324_2 according to the preset message push time schedule. The scheduling unit 1324_1 can monitor the device connection information of the HMI device 1310 stored in the device connection unit 1323_2 to generate a message push schedule. In step S1310, the message organization unit 1324_2 may read the IoT message and other IoT messages corresponding to other terminal devices from the device data unit 1323_1, and perform message organization to generate an organized message.
訊息組織單元1324_2可組織終端設備1330的儲存於設備資料單元1323_1中的IoT訊息以產生組織化訊息。在步驟S1311中,訊息組織單元1324_2可將組織化訊息提供至設備控制單元1322_3。在步驟S1312中,設備控制單元1322_3可接收由訊息組織單元1324_2提供的組織化訊息,且根據訊息推送排程將組織化訊息傳送至傳送模組1321,並且訂用第一專用通訊通道以進行訊息傳送。在步驟S1313中,傳送模組1321可經由第一專用通訊通道將組織化訊息傳送至HMI設備1310的傳送模組1311。在步驟S1314中,傳送模組1311可將組織化訊息傳送至訊息應用單元1313_1。訊息應用單元1313_1可對組織化訊息進行分類並將組織化訊息傳送至應用功能模組1314,使得使用者可藉由操作HMI設備1310的應用功能模組1314來達成監控及管理終端設備1330的功能。在步驟S1315中,訊息應用單元1313_1可將分類標記的原始管理設備許可切換至設備連接單元1312_2。The message organizing unit 1324_2 can organize the IoT messages of the terminal device 1330 stored in the device data unit 1323_1 to generate an organized message. In step S1311, the message organizing unit 1324_2 can provide the organized message to the device control unit 1322_3. In step S1312, the device control unit 1322_3 can receive the organized message provided by the message organizing unit 1324_2, and transmit the organized message to the transmission module 1321 according to the message push schedule, and subscribe to the first dedicated communication channel for message transmission. In step S1313, the transmission module 1321 may transmit the organized message to the transmission module 1311 of the HMI device 1310 via the first dedicated communication channel. In step S1314, the transmission module 1311 may transmit the organized message to the message application unit 1313_1. The message application unit 1313_1 may classify the organized message and transmit the organized message to the application function module 1314, so that the user can achieve the function of monitoring and managing the terminal device 1330 by operating the application function module 1314 of the HMI device 1310. In step S1315, the message application unit 1313_1 may switch the original management device permission of the classification tag to the device connection unit 1312_2.
在步驟S1316中,排程單元1312_4可更藉由讀取設備連接單元1312_2來判斷支援傳送模式切換的終端設備1330,且更產生高優先權偵測命令至通道排程單元1312_3中的命令佇列。在步驟S1317中,通道排程單元1312_3可根據控制命令的優先權資訊來計算訂用順序。在步驟S1318中,通道分配單元1312_1可根據訂用順序來分配第一通訊通道以供欲傳送的控制命令依序訂用。在步驟S1319中,傳送模組1311可再次判斷終端設備1330是否與HMI設備1310相鄰,且經由第一通訊通道將切換傳送模式請求訊息傳送至與HMI設備1310相鄰的終端設備1330的傳送模組1331。In step S1316, the scheduling unit 1312_4 can further determine the terminal device 1330 that supports the transmission mode switching by reading the device connection unit 1312_2, and further generate a high priority detection command to the command queue in the channel scheduling unit 1312_3. In step S1317, the channel scheduling unit 1312_3 can calculate the subscription order according to the priority information of the control command. In step S1318, the channel allocation unit 1312_1 can allocate the first communication channel according to the subscription order for the control command to be transmitted to be subscribed in sequence. In step S1319, the transmission module 1311 may again determine whether the terminal device 1330 is adjacent to the HMI device 1310, and transmit a transmission mode switching request message to the transmission module 1331 of the terminal device 1330 adjacent to the HMI device 1310 via the first communication channel.
在步驟S1320中,傳送模組1331可將切換傳送模式請求訊息傳送至訊息分類單元1332_1。訊息分類單元1332_1可接收切換傳送模式請求訊息,並判斷必須立即響應於切換傳送模式請求訊息。在步驟S1321中,訊息分類單元1332_1可將切換傳送模式請求訊息儲存至設備連接單元1333_2中,且更判斷終端設備是否具有子終端設備。在本發明的實施例中,當終端設備1330具有子終端設備時,訊息分類單元1332_1答覆HMI設備1310以執行專用通訊通道模式,並啟用HMI設備管理模組1334。在步驟S1322中,當終端設備1330不具有子終端設備時,訊息分類單元1332_1對HMI設備管理模組1334進行禁能,從第一(通用)通訊通道經由設備控制單元1332_3至HMI設備1310答覆切換傳送模式請求已完成,且中斷雲端設備1320與終端設備1330之間的第二專用通訊通道。In step S1320, the transmission module 1331 may transmit the switching transmission mode request message to the message classification unit 1332_1. The message classification unit 1332_1 may receive the switching transmission mode request message and determine that it must immediately respond to the switching transmission mode request message. In step S1321, the message classification unit 1332_1 may store the switching transmission mode request message in the device connection unit 1333_2 and further determine whether the terminal device has a sub-terminal device. In the embodiment of the present invention, when the terminal device 1330 has a sub-terminal device, the message classification unit 1332_1 replies to the HMI device 1310 to execute the dedicated communication channel mode and enable the HMI device management module 1334. In step S1322, when the terminal device 1330 does not have a sub-terminal device, the message classification unit 1332_1 disables the HMI device management module 1334, replies to the HMI device 1310 that the request to switch the transmission mode has been completed from the first (general) communication channel via the device control unit 1332_3, and interrupts the second dedicated communication channel between the cloud device 1320 and the terminal device 1330.
在步驟S1323中,設備控制單元1332_3可經由傳送模組1331向HMI設備答覆近端連接資訊。在步驟S1324中,HMI設備1310可經由傳送模組1311通知雲端設備1320及訊息應用單元1313_1管理切換已完成。在本發明的實施例中,近端連接資訊可包括設備唯一代碼、被管理的子終端設備、通訊通道資訊、傳送模式資訊、及先前控制的時間資訊。In step S1323, the device control unit 1332_3 may reply the proximal connection information to the HMI device via the transmission module 1331. In step S1324, the HMI device 1310 may notify the cloud device 1320 and the message application unit 1313_1 that the management switch has been completed via the transmission module 1311. In an embodiment of the present invention, the proximal connection information may include a device unique code, a managed sub-terminal device, communication channel information, transmission mode information, and previous control time information.
在步驟S1325中,訊息應用單元1313_1可更新設備連接單元1312_2中所記錄的管理切換已完成的資訊。在步驟S1326中,傳送模組1321可將近端連接資訊傳送至訊息分類單元1322_1。在步驟S1327中,訊息分類單元1322_1可對近端連接資訊進行分類,並將近端連接資訊儲存至儲存模組1323的設備資料單元1323_1及設備連接單元1323_2中。In step S1325, the message application unit 1313_1 may update the information recorded in the device connection unit 1312_2 that the management switching has been completed. In step S1326, the transmission module 1321 may transmit the proximal connection information to the message classification unit 1322_1. In step S1327, the message classification unit 1322_1 may classify the proximal connection information and store the proximal connection information in the device data unit 1323_1 and the device connection unit 1323_2 of the storage module 1323.
另外,若HMI設備1310在排程單元偵測期間發現HMI設備1310當前正在使用專用通訊通道模式,則在步驟S1328中,排程單元1312_4可藉由讀取設備連接單元1312_2來判斷HMI設備1310的傳送模式,並且產生具有最高優先權的專用通訊通道建立命令至通道排程單元1312_3中的命令佇列。在步驟S1329中,通道分配單元1312_1可分配第一專用通訊通道以用於傳送專用通訊通道建立命令。在步驟S1330中,通道分配單元1312_1可將專用通訊通道建立命令傳送至傳送模組1311。在步驟S1331中,傳送模組1311可將專用通訊通道建立命令傳送至傳送模組1331。在步驟S1332中,傳送模組1331可將專用通訊通道建立命令傳送至訊息分類單元1332_1。在步驟S1333中,訊息分類單元1332_1可在設備連接單元1333_2中標記完成,且設備連接單元1333_2可建立專用通訊通道。In addition, if the HMI device 1310 is currently using the dedicated communication channel mode during the scheduling unit detection, then in step S1328, the scheduling unit 1312_4 can determine the transmission mode of the HMI device 1310 by reading the device connection unit 1312_2, and generate a dedicated communication channel establishment command with the highest priority to the command queue in the channel scheduling unit 1312_3. In step S1329, the channel allocation unit 1312_1 can allocate the first dedicated communication channel for transmitting the dedicated communication channel establishment command. In step S1330, the channel allocation unit 1312_1 can transmit the dedicated communication channel establishment command to the transmission module 1311. In step S1331, the transmission module 1311 may transmit the dedicated communication channel establishment command to the transmission module 1331. In step S1332, the transmission module 1331 may transmit the dedicated communication channel establishment command to the message classification unit 1332_1. In step S1333, the message classification unit 1332_1 may mark completion in the device connection unit 1333_2, and the device connection unit 1333_2 may establish the dedicated communication channel.
因此,本實施例的HMI設備1310可切換至區域傳送模式以使用較低的延遲及低的功耗來管理及控制終端設備1330。此外,在釋放第二專用通訊通道之後,終端設備1330可有效地降低其功耗。Therefore, the HMI device 1310 of the present embodiment can switch to the local transmission mode to use lower latency and lower power consumption to manage and control the terminal device 1330. In addition, after releasing the second dedicated communication channel, the terminal device 1330 can effectively reduce its power consumption.
圖14是本發明的一實施例的通用通訊通道模式的操作的示意圖。參照圖14,IoT系統1400包括HMI設備1410、雲端設備1420及終端設備1430。HMI設備1410包括傳送模組1411、通道管理模組1412、資料管理模組1413及應用功能模組1414。通道管理模組1412包括通道分配單元1412_1、設備連接單元1412_2、通道排程單元1412_3及排程單元1412_4。資料管理模組1413包括訊息應用單元1413_1及控制請求單元1413_2。FIG14 is a schematic diagram of the operation of the universal communication channel mode of an embodiment of the present invention. Referring to FIG14 , the IoT system 1400 includes an HMI device 1410, a cloud device 1420, and a terminal device 1430. The HMI device 1410 includes a transmission module 1411, a channel management module 1412, a data management module 1413, and an application function module 1414. The channel management module 1412 includes a channel allocation unit 1412_1, a device connection unit 1412_2, a channel scheduling unit 1412_3, and a scheduling unit 1412_4. The data management module 1413 includes a message application unit 1413_1 and a control request unit 1413_2.
雲端設備1420包括傳送模組1421、IoT設備管理模組1422、儲存模組1423、HMI設備管理模組1424及應用功能模組1425。IoT設備管理模組1422包括訊息分類單元1422_1、訊息監控單元1422_2及設備控制單元1422_3。儲存模組1423包括設備資料單元1423_1、設備連接單元1423_2及訊息暫存器單元1423_3。HMI設備管理模組1424包括排程單元1424_1及訊息組織單元1424_2。雲端設備1420可經由傳送模組1421而與HMI設備1410的傳送模組1411進行通訊。The cloud device 1420 includes a transmission module 1421, an IoT device management module 1422, a storage module 1423, an HMI device management module 1424, and an application function module 1425. The IoT device management module 1422 includes a message classification unit 1422_1, a message monitoring unit 1422_2, and a device control unit 1422_3. The storage module 1423 includes a device data unit 1423_1, a device connection unit 1423_2, and a message buffer unit 1423_3. The HMI device management module 1424 includes a scheduling unit 1424_1 and a message organization unit 1424_2. The cloud device 1420 can communicate with the transmission module 1411 of the HMI device 1410 via the transmission module 1421 .
終端設備1430包括傳送模組1431、IoT設備管理模組1432、儲存模組1433、HMI設備管理模組1434及應用功能模組1435。IoT設備管理模組1432包括訊息分類單元1432_1、訊息監控單元1432_2及設備控制單元1432_3。儲存模組1433包括設備資料單元1433_1、設備連接單元1433_2及訊息暫存器單元1433_3。HMI設備管理模組1434包括排程單元1434_1及訊息組織單元1434_2。終端設備1430可經由傳送模組1431而與HMI設備1410的傳送模組1411進行通訊。The terminal device 1430 includes a transmission module 1431, an IoT device management module 1432, a storage module 1433, an HMI device management module 1434, and an application function module 1435. The IoT device management module 1432 includes a message classification unit 1432_1, a message monitoring unit 1432_2, and a device control unit 1432_3. The storage module 1433 includes a device data unit 1433_1, a device connection unit 1433_2, and a message buffer unit 1433_3. The HMI device management module 1434 includes a scheduling unit 1434_1 and a message organization unit 1434_2. The terminal device 1430 can communicate with the transmission module 1411 of the HMI device 1410 via the transmission module 1431 .
在本發明的實施例中,IoT系統1400可執行以下步驟S1401至S1415以執行通用通訊通道模式。在步驟S1401中,HMI設備1410中的通道管理模組1412的排程單元1412_4可定期地讀取被管理的終端設備的記錄於處於通用通訊通道模式且已到達應被控制及管理的時間的設備連接單元1412_2中的資訊,並且排程單元1412_4可產生具有中等優先權的訊息獲取命令且將訊息獲取命令傳送至通道排程單元1412_3中的命令佇列。在步驟S1402中,通道排程單元1412_3可根據訊息獲取命令的優先權資訊來計算訂用順序。在步驟S1403中,通道分配單元1412_1可根據訂用順序來分配第一通訊通道以供欲傳送的訊息獲取命令依序訂用。在步驟S1404中,傳送模組1411可將訊息獲取命令傳送至傳送模組1431。在步驟S1405中,傳送模組1431可將訊息獲取命令傳送至訊息分類單元1432_1。在步驟S1406中,訊息分類單元1432_1可與設備連接單元1433_2合作以將訊息獲取命令辨識為通用通訊通道請求。在步驟S1407中,訊息分類單元1432_1可將訊息獲取命令傳送至設備控制單元1432_3。設備控制單元1432_3可從設備資料單元1433_1或應用功能模組1435獲得答覆訊息。在步驟S1408中,設備控制單元1432_3可將答覆訊息傳送至傳送模組1431。在步驟S1409中,傳送模組1431可經由第一通訊通道將答覆訊息傳送至傳送模組1411。In an embodiment of the present invention, the IoT system 1400 may execute the following steps S1401 to S1415 to execute the general communication channel mode. In step S1401, the scheduling unit 1412_4 of the channel management module 1412 in the HMI device 1410 may periodically read the information recorded in the device connection unit 1412_2 of the managed terminal device in the general communication channel mode and reaching the time to be controlled and managed, and the scheduling unit 1412_4 may generate a message acquisition command with a medium priority and transmit the message acquisition command to the command queue in the channel scheduling unit 1412_3. In step S1402, the channel scheduling unit 1412_3 may calculate the subscription order according to the priority information of the message acquisition command. In step S1403, the channel allocation unit 1412_1 may allocate the first communication channel according to the subscription order for the message acquisition command to be transmitted to be subscribed in sequence. In step S1404, the transmission module 1411 may transmit the message acquisition command to the transmission module 1431. In step S1405, the transmission module 1431 may transmit the message acquisition command to the message classification unit 1432_1. In step S1406, the message classification unit 1432_1 may cooperate with the device connection unit 1433_2 to identify the message acquisition command as a general communication channel request. In step S1407, the message classification unit 1432_1 may transmit the message acquisition command to the device control unit 1432_3. The device control unit 1432_3 may obtain a reply message from the device data unit 1433_1 or the application function module 1435. In step S1408, the device control unit 1432_3 may transmit the reply message to the transmission module 1431. In step S1409, the transmission module 1431 may transmit the reply message to the transmission module 1411 via the first communication channel.
在步驟S1410中,傳送模組1411將答覆訊息傳送至訊息應用單元1413_1。在步驟S1411中,訊息應用單元1413_1可辨別出當前處於第一通訊通道模式的訊息需要更新設備連接單元1412_2中的最新控制時間點。在步驟S1412中,訊息應用單元1413_1可區分是否存在原始管理設備(即,雲端設備1420)。若存在原始管理設備(即,雲端設備1420),則訊息應用單元1413_1可經由第一專用通訊通道將答覆訊息複製至原始管理設備(即,雲端設備1420)。在步驟S1413中,傳送模組1411可經由第一專用通訊通道將答覆訊息傳送至傳送模組1421。在步驟S1414中,傳送模組1421可將答覆訊息傳送至訊息分類單元1422_1。在步驟S1415中,訊息分類單元1422_1可對答覆訊息進行分類,並將答覆訊息儲存至儲存模組1423的設備資料單元1423_1及設備連接單元1423_2中。In step S1410, the transmission module 1411 transmits the reply message to the message application unit 1413_1. In step S1411, the message application unit 1413_1 can identify that the message currently in the first communication channel mode needs to update the latest control time point in the device connection unit 1412_2. In step S1412, the message application unit 1413_1 can distinguish whether there is an original management device (i.e., cloud device 1420). If there is an original management device (i.e., cloud device 1420), the message application unit 1413_1 can copy the reply message to the original management device (i.e., cloud device 1420) via the first dedicated communication channel. In step S1413, the transmission module 1411 may transmit the reply message to the transmission module 1421 via the first dedicated communication channel. In step S1414, the transmission module 1421 may transmit the reply message to the message classification unit 1422_1. In step S1415, the message classification unit 1422_1 may classify the reply message and store the reply message in the device data unit 1423_1 and the device connection unit 1423_2 of the storage module 1423.
因此,使用有限數目的通用通訊通道,可經由通道管理模組1412來有效地排程及分配此實施例的HMI設備1410,使得對終端設備1430的控制將不受通道數目的限制。Therefore, using a limited number of universal communication channels, the HMI device 1410 of this embodiment can be effectively scheduled and allocated via the channel management module 1412, so that the control of the terminal device 1430 will not be limited by the number of channels.
圖15是本發明的一實施例的專用通訊通道模式的操作的示意圖。參照圖15,IoT系統1500包括HMI設備1510、雲端設備1520及終端設備1530。HMI設備1510包括傳送模組1511、通道管理模組1512、資料管理模組1513及應用功能模組1514。通道管理模組1512包括通道分配單元1512_1、設備連接單元1512_2、通道排程單元1512_3及排程單元1512_4。資料管理模組1513包括訊息應用單元1513_1及控制請求單元1513_2。FIG15 is a schematic diagram of the operation of the dedicated communication channel mode of an embodiment of the present invention. Referring to FIG15 , the IoT system 1500 includes an HMI device 1510, a cloud device 1520, and a terminal device 1530. The HMI device 1510 includes a transmission module 1511, a channel management module 1512, a data management module 1513, and an application function module 1514. The channel management module 1512 includes a channel allocation unit 1512_1, a device connection unit 1512_2, a channel scheduling unit 1512_3, and a scheduling unit 1512_4. The data management module 1513 includes a message application unit 1513_1 and a control request unit 1513_2.
雲端設備1520包括傳送模組1521、IoT設備管理模組1522、儲存模組1523、HMI設備管理模組1524及應用功能模組1525。IoT設備管理模組1522包括訊息分類單元1522_1、訊息監控單元1522_2及設備控制單元1522_3。儲存模組1523包括設備資料單元1523_1、設備連接單元1523_2及訊息暫存器單元1523_3。HMI設備管理模組1524包括排程單元1524_1及訊息組織單元1524_2。雲端設備1520可經由傳送模組1521而與HMI設備1510的傳送模組1511進行通訊。The cloud device 1520 includes a transmission module 1521, an IoT device management module 1522, a storage module 1523, an HMI device management module 1524, and an application function module 1525. The IoT device management module 1522 includes a message classification unit 1522_1, a message monitoring unit 1522_2, and a device control unit 1522_3. The storage module 1523 includes a device data unit 1523_1, a device connection unit 1523_2, and a message buffer unit 1523_3. The HMI device management module 1524 includes a scheduling unit 1524_1 and a message organization unit 1524_2. The cloud device 1520 can communicate with the transmission module 1511 of the HMI device 1510 via the transmission module 1521 .
終端設備1530包括傳送模組1531、IoT設備管理模組1532、儲存模組1533、HMI設備管理模組1534及應用功能模組1535。IoT設備管理模組1532包括訊息分類單元1532_1、訊息監控單元1532_2及設備控制單元1532_3。儲存模組1533包括設備資料單元1533_1、設備連接單元1533_2及訊息暫存器單元1533_3。HMI設備管理模組1534包括排程單元1534_1及訊息組織單元1534_2。終端設備1530可經由傳送模組1531而與HMI設備1510的傳送模組1511進行通訊。The terminal device 1530 includes a transmission module 1531, an IoT device management module 1532, a storage module 1533, an HMI device management module 1534, and an application function module 1535. The IoT device management module 1532 includes a message classification unit 1532_1, a message monitoring unit 1532_2, and a device control unit 1532_3. The storage module 1533 includes a device data unit 1533_1, a device connection unit 1533_2, and a message buffer unit 1533_3. The HMI device management module 1534 includes a scheduling unit 1534_1 and a message organization unit 1534_2. The terminal device 1530 can communicate with the transmission module 1511 of the HMI device 1510 via the transmission module 1531 .
在本發明的實施例中,IoT系統1500可執行以下步驟S1501至S1524以執行專用通訊通道模式。在步驟S1501中,排程單元1534_1可根據預設訊息推送的時間排程來控制訊息組織單元1534_2。在步驟S1502中,排程單元1534_1可經由設備連接單元1533_2判斷終端設備1530與HMI設備1510之間的連接狀態。在步驟S1503中,訊息組織單元1534_2可從設備資料單元1533_1及/或應用功能模組1535讀取上述IoT訊息及與其他終端設備對應的其他IoT訊息,並執行訊息組織以產生組織化訊息。在步驟S1504中,訊息組織單元1534_2可將組織化訊息提供至設備控制單元1532_3。在步驟S1505中,設備控制單元1532_3可根據訊息推送排程將組織化訊息提供至傳送模組1531,並訂用第一專用通訊通道以進行訊息傳送。在步驟S1506中,傳送模組1531可經由第一專用通訊通道將組織化訊息傳送至HMI設備1510的傳送模組1511。在步驟S1507中,傳送模組1511可將組織化訊息傳送至訊息應用單元1513_1。在步驟S1508中,訊息應用單元1513_1可對組織化訊息進行分類並將組織化訊息傳送至應用功能模組1514,使得使用者可藉由操作HMI設備1510的應用功能模組1514來達成監控及管理終端設備1530的功能。In an embodiment of the present invention, the IoT system 1500 may execute the following steps S1501 to S1524 to execute the dedicated communication channel mode. In step S1501, the scheduling unit 1534_1 may control the message organization unit 1534_2 according to the preset message push time schedule. In step S1502, the scheduling unit 1534_1 may determine the connection status between the terminal device 1530 and the HMI device 1510 via the device connection unit 1533_2. In step S1503, the message organization unit 1534_2 can read the above IoT message and other IoT messages corresponding to other terminal devices from the device data unit 1533_1 and/or the application function module 1535, and perform message organization to generate an organized message. In step S1504, the message organization unit 1534_2 can provide the organized message to the device control unit 1532_3. In step S1505, the device control unit 1532_3 can provide the organized message to the transmission module 1531 according to the message push schedule, and subscribe to the first dedicated communication channel for message transmission. In step S1506, the transmission module 1531 may transmit the organized message to the transmission module 1511 of the HMI device 1510 via the first dedicated communication channel. In step S1507, the transmission module 1511 may transmit the organized message to the message application unit 1513_1. In step S1508, the message application unit 1513_1 may classify the organized message and transmit the organized message to the application function module 1514, so that the user can achieve the function of monitoring and managing the terminal device 1530 by operating the application function module 1514 of the HMI device 1510.
在步驟S1509中,訊息應用單元1513_1可區分是否存在原始管理設備(即,雲端設備1520)。若存在原始管理設備(即,雲端設備1520),則訊息應用單元1513_1可經由第一專用通訊通道將組織化訊息複製至原始管理設備(即,雲端設備1520)。在步驟S1510中,訊息應用單元1513_1可將組織化訊息傳送至傳送模組1511。在步驟S1511中,傳送模組1511可經由第一專用通訊通道將答覆訊息傳送至傳送模組1511。在步驟S1512中,傳送模組1521可將組織化訊息傳送至訊息分類單元1522_1。在步驟S1513中,訊息分類單元1522_1可對組織化訊息進行分類,並將組織化訊息儲存至儲存模組1523的設備資料單元1523_1及設備連接單元1523_2中。In step S1509, the message application unit 1513_1 can distinguish whether the original management device (i.e., the cloud device 1520) exists. If the original management device (i.e., the cloud device 1520) exists, the message application unit 1513_1 can copy the organized message to the original management device (i.e., the cloud device 1520) via the first dedicated communication channel. In step S1510, the message application unit 1513_1 can transmit the organized message to the transmission module 1511. In step S1511, the transmission module 1511 can transmit the reply message to the transmission module 1511 via the first dedicated communication channel. In step S1512, the transmission module 1521 may transmit the organized message to the message classification unit 1522_1. In step S1513, the message classification unit 1522_1 may classify the organized message and store the organized message in the device data unit 1523_1 and the device connection unit 1523_2 of the storage module 1523.
在本發明的實施例中,應用功能模組1635可具有對第一專用通訊通道模式進行賦能及禁能的功能。在步驟S1514中,應用功能模組1514可從設備連接單元1512_2讀取相關的所需資訊,包括設備的唯一代碼、子設備監管(sub-device custody)、通訊通道及傳送模式等。在步驟S1515中,應用功能模組1514可將具有最高優先權的專用通訊通道模式的賦能命令或禁能命令傳送至通道排程單元1512_3的命令佇列。In an embodiment of the present invention, the application function module 1635 may have the function of enabling and disabling the first dedicated communication channel mode. In step S1514, the application function module 1514 may read the relevant required information from the device connection unit 1512_2, including the unique code of the device, sub-device custody, communication channel and transmission mode, etc. In step S1515, the application function module 1514 may transmit the enable command or disable command of the dedicated communication channel mode with the highest priority to the command queue of the channel scheduling unit 1512_3.
在步驟S1516中,通道排程單元1512_3可訂用(或釋放)第一專用通訊通道。在步驟S1517中,通道分配單元1512_1可根據訂用順序來分配第一通訊通道以供欲傳送的專用通訊通道模式的賦能命令或禁能命令依序訂用。在步驟S1518中,傳送模組1511可將專用通訊通道模式的賦能命令或禁能命令傳送至傳送模組1531。在本發明的實施例中,第一專用通訊通道將不會被動態地釋放,此可減少資料傳送延遲。In step S1516, the channel scheduling unit 1512_3 may subscribe (or release) the first dedicated communication channel. In step S1517, the channel allocation unit 1512_1 may allocate the first communication channel according to the subscription order for the enable command or disable command of the dedicated communication channel mode to be transmitted in sequence. In step S1518, the transmission module 1511 may transmit the enable command or disable command of the dedicated communication channel mode to the transmission module 1531. In the embodiment of the present invention, the first dedicated communication channel will not be released dynamically, which can reduce data transmission delay.
在步驟S1519中,傳送模組1531可將專用通訊通道模式的賦能命令或禁能命令傳送至訊息分類單元1532_1。在步驟S1520中,訊息分類單元1532_1可將專用通訊通道模式的賦能命令或禁能命令傳送至設備控制單元1532_3。在步驟S1521中,設備控制單元1532_3可將答覆訊息直接傳送至傳送模組1531。在步驟S1522中,傳送模組1531可經由第一專用通訊通道將答覆訊息傳送至傳送模組1521。In step S1519, the transmission module 1531 may transmit the enable command or disable command of the dedicated communication channel mode to the message classification unit 1532_1. In step S1520, the message classification unit 1532_1 may transmit the enable command or disable command of the dedicated communication channel mode to the device control unit 1532_3. In step S1521, the device control unit 1532_3 may directly transmit the reply message to the transmission module 1531. In step S1522, the transmission module 1531 may transmit the reply message to the transmission module 1521 via the first dedicated communication channel.
在步驟S1523中,傳送模組1521將答覆訊息傳送至訊息分類單元1522_1。在步驟S1524中,訊息分類單元1522_1可對成功切換至第一專用通訊通道模式進行標記。因此,HMI設備1510可以最低的潛時來控制及管理複雜設備,且適合於需要即時的高優先權或者經由雲端設備1520或終端設備1530控制子設備的情境。In step S1523, the transmission module 1521 transmits the reply message to the message classification unit 1522_1. In step S1524, the message classification unit 1522_1 may mark the successful switching to the first dedicated communication channel mode. Therefore, the HMI device 1510 can control and manage complex devices with the lowest latency, and is suitable for scenarios that require real-time high priority or control of sub-devices via the cloud device 1520 or the terminal device 1530.
圖16是本發明的一實施例的雲端設備通知切換傳送模式的操作的示意圖。參照圖16,IoT系統1600包括HMI設備1610、雲端設備1620及終端設備1630。HMI設備1610包括傳送模組1611、通道管理模組1612、資料管理模組1613及應用功能模組1614。通道管理模組1612包括通道分配單元1612_1、設備連接單元1612_2、通道排程單元1612_3及排程單元1612_4。資料管理模組1613包括訊息應用單元1613_1及控制請求單元1613_2。FIG16 is a schematic diagram of the operation of the cloud device notification switching transmission mode of an embodiment of the present invention. Referring to FIG16 , the IoT system 1600 includes an HMI device 1610, a cloud device 1620, and a terminal device 1630. The HMI device 1610 includes a transmission module 1611, a channel management module 1612, a data management module 1613, and an application function module 1614. The channel management module 1612 includes a channel allocation unit 1612_1, a device connection unit 1612_2, a channel scheduling unit 1612_3, and a scheduling unit 1612_4. The data management module 1613 includes a message application unit 1613_1 and a control request unit 1613_2.
雲端設備1620包括傳送模組1621、IoT設備管理模組1622、儲存模組1623、HMI設備管理模組1624及應用功能模組1625。IoT設備管理模組1622包括訊息分類單元1622_1、訊息監控單元1622_2及設備控制單元1622_3。儲存模組1623包括設備資料單元1623_1、設備連接單元1623_2及訊息暫存器單元1623_3。HMI設備管理模組1624包括排程單元1624_1及訊息組織單元1624_2。雲端設備1620可經由傳送模組1621而與HMI設備1610的傳送模組1611進行通訊。The cloud device 1620 includes a transmission module 1621, an IoT device management module 1622, a storage module 1623, an HMI device management module 1624, and an application function module 1625. The IoT device management module 1622 includes a message classification unit 1622_1, a message monitoring unit 1622_2, and a device control unit 1622_3. The storage module 1623 includes a device data unit 1623_1, a device connection unit 1623_2, and a message buffer unit 1623_3. The HMI device management module 1624 includes a scheduling unit 1624_1 and a message organization unit 1624_2. The cloud device 1620 can communicate with the transmission module 1611 of the HMI device 1610 via the transmission module 1621 .
終端設備1630包括傳送模組1631、IoT設備管理模組1632、儲存模組1633、HMI設備管理模組1634及應用功能模組1635。IoT設備管理模組1632包括訊息分類單元1632_1、訊息監控單元1632_2及設備控制單元1632_3。儲存模組1633包括設備資料單元1633_1、設備連接單元1633_2及訊息暫存器單元1633_3。HMI設備管理模組1634包括排程單元1634_1及訊息組織單元1634_2。終端設備1630可經由傳送模組1631而與HMI設備1610的傳送模組1611進行通訊。The terminal device 1630 includes a transmission module 1631, an IoT device management module 1632, a storage module 1633, an HMI device management module 1634, and an application function module 1635. The IoT device management module 1632 includes a message classification unit 1632_1, a message monitoring unit 1632_2, and a device control unit 1632_3. The storage module 1633 includes a device data unit 1633_1, a device connection unit 1633_2, and a message buffer unit 1633_3. The HMI device management module 1634 includes a scheduling unit 1634_1 and a message organization unit 1634_2. The terminal device 1630 can communicate with the transmission module 1611 of the HMI device 1610 via the transmission module 1631 .
在本發明的實施例中,IoT系統1600可執行圖13的實施例的以上步驟S1301至S1333以實施HMI設備1610對傳送模式的主動切換,且IoT系統1600可持續執行以下步驟S1601至S1612以進一步執行雲端設備通知切換傳送模式的操作。在步驟S1601中,設備連接單元1633_2及應用功能模組1635可將上載資訊(upload information)的訊息傳送至傳送模組1631,且所述資訊可包括由應用功能模組1635提供的控制命令及由設備連接單元1633_2提供的連接訊息。上載資訊的訊息可包括傳送模式的資訊(例如,藍牙、WiFi及Matter)、附加資訊(ip、設備名稱)以及其他可用作區域辨識符的相關資訊。在步驟S1602中,傳送模組1631可將上載資訊的訊息傳送至傳送模組1621。在步驟S1603中,傳送模組1621可將上載資訊的訊息傳送至訊息分類單元1622_1。在步驟S1604中,訊息分類單元1622_1可對上載資訊的訊息進行分類,並將上載資訊的訊息儲存至儲存模組1623的設備資料單元1623_1及設備連接單元1623_2中。In an embodiment of the present invention, the IoT system 1600 may execute the above steps S1301 to S1333 of the embodiment of FIG. 13 to implement the active switching of the transmission mode by the HMI device 1610, and the IoT system 1600 may continue to execute the following steps S1601 to S1612 to further perform the operation of notifying the cloud device to switch the transmission mode. In step S1601, the device connection unit 1633_2 and the application function module 1635 may transmit a message of uploading information to the transmission module 1631, and the information may include a control command provided by the application function module 1635 and a connection message provided by the device connection unit 1633_2. The message of the upload information may include information of the transmission mode (e.g., Bluetooth, WiFi, and Matter), additional information (ip, device name), and other relevant information that can be used as a regional identifier. In step S1602, the transmission module 1631 may transmit the message of the upload information to the transmission module 1621. In step S1603, the transmission module 1621 may transmit the message of the upload information to the message classification unit 1622_1. In step S1604, the message classification unit 1622_1 may classify the message of the upload information and store the message of the upload information in the device data unit 1623_1 and the device connection unit 1623_2 of the storage module 1623.
在步驟S1605中,排程單元1624_1可經由設備連接單元1623_2判斷終端設備1630與HMI設備1610之間的連接狀態。在步驟S1606中,排程單元1324_1可根據預設訊息推送的時間排程來控制訊息組織單元1624_2。排程單元1624_1可監控HMI設備1610的儲存於設備連接單元1623_2中的設備連接資訊以產生訊息推送排程。在步驟S1607中,訊息組織單元1624_2可從設備資料單元1623_1讀取上述IoT訊息及與其他終端設備對應的其他IoT訊息,並執行訊息組織以產生組織化訊息。此外,訊息組織單元1624_2可更辨識終端設備1630與HMI設備1610是否位於同一通訊區域中。訊息組織單元1624_2可偵測終端設備1630是否存在於與HMI設備1610相鄰或相同的區域中。若終端設備1630存在於與HMI設備1610相鄰或相同的區域中,則訊息組織單元1624_2將收集HMI設備1610偵測到的有多個終端設備存在於所述相鄰的區域或所述相同的區域中的多個資訊,並將所述多個資訊組織成組織化訊息。在步驟S1608中,訊息組織單元1624_2可將組織化訊息提供至設備控制單元1622_3。在步驟S1609中,設備控制單元1622_3可接收由訊息組織單元1624_2提供的組織化訊息,且根據訊息推送排程將組織化訊息傳送至傳送模組1621,並且訂用第一專用通訊通道以進行訊息傳送。在步驟S1610中,傳送模組1621可經由第一專用通訊通道將組織化訊息傳送至HMI設備1610的傳送模組1611。在步驟S1611中,傳送模組1611可將組織化訊息傳送至訊息應用單元1613_1。訊息應用單元1613_1可對組織化訊息進行分類並將組織化訊息傳送至應用功能模組1614,使得使用者可藉由操作HMI設備1310的應用功能模組1314來達成監控及管理終端設備1330的功能。在步驟S1612中,訊息應用單元1613_1可將分類標記的原始管理設備許可切換至設備連接單元1612_2。且然後,IoT系統1600可再次執行圖13的實施例的以上步驟S1301至S1333。In step S1605, the scheduling unit 1624_1 can determine the connection status between the terminal device 1630 and the HMI device 1610 via the device connection unit 1623_2. In step S1606, the scheduling unit 1324_1 can control the message organization unit 1624_2 according to the preset message push time schedule. The scheduling unit 1624_1 can monitor the device connection information of the HMI device 1610 stored in the device connection unit 1623_2 to generate a message push schedule. In step S1607, the message organization unit 1624_2 can read the above IoT message and other IoT messages corresponding to other terminal devices from the device data unit 1623_1, and perform message organization to generate an organized message. In addition, the message organization unit 1624_2 can further identify whether the terminal device 1630 and the HMI device 1610 are located in the same communication area. The message organization unit 1624_2 can detect whether the terminal device 1630 exists in an area adjacent to or in the same area as the HMI device 1610. If the terminal device 1630 exists in an area adjacent to or in the same area as the HMI device 1610, the message organizing unit 1624_2 will collect multiple information detected by the HMI device 1610 that multiple terminal devices exist in the adjacent area or the same area, and organize the multiple information into organized messages. In step S1608, the message organizing unit 1624_2 can provide the organized message to the device control unit 1622_3. In step S1609, the device control unit 1622_3 may receive the organized message provided by the message organization unit 1624_2, and transmit the organized message to the transmission module 1621 according to the message push schedule, and subscribe to the first dedicated communication channel for message transmission. In step S1610, the transmission module 1621 may transmit the organized message to the transmission module 1611 of the HMI device 1610 via the first dedicated communication channel. In step S1611, the transmission module 1611 may transmit the organized message to the message application unit 1613_1. The message application unit 1613_1 may classify the organized message and transmit the organized message to the application function module 1614, so that the user can achieve the function of monitoring and managing the terminal device 1330 by operating the application function module 1314 of the HMI device 1310. In step S1612, the message application unit 1613_1 may switch the original management device permission of the classification tag to the device connection unit 1612_2. And then, the IoT system 1600 may execute the above steps S1301 to S1333 of the embodiment of FIG. 13 again.
因此,本實施例的HMI設備1610可切換至區域傳送模式以使用較低的延遲及低的功耗來管理及控制終端設備1630。此外,在釋放第二專用通訊通道之後,終端設備1630可有效地降低其功耗。Therefore, the HMI device 1610 of the present embodiment can switch to the local transmission mode to use lower latency and lower power consumption to manage and control the terminal device 1630. In addition, after releasing the second dedicated communication channel, the terminal device 1630 can effectively reduce its power consumption.
圖17是本發明的一實施例的終端設備通知切換傳送模式的操作的示意圖。參照圖17,IoT系統1700包括HMI設備1710、雲端設備1720及終端設備1730。HMI設備1710包括傳送模組1711、通道管理模組1712、以及資料管理模組1713及應用功能模組1714。通道管理模組1712包括通道分配單元1712_1、設備連接單元1712_2、通道排程單元1712_3及排程單元1712_4。資料管理模組1713包括訊息應用單元1713_1及控制請求單元1713_2。FIG17 is a schematic diagram of the operation of the terminal device notification switching transmission mode of an embodiment of the present invention. Referring to FIG17, the IoT system 1700 includes an HMI device 1710, a cloud device 1720, and a terminal device 1730. The HMI device 1710 includes a transmission module 1711, a channel management module 1712, a data management module 1713, and an application function module 1714. The channel management module 1712 includes a channel allocation unit 1712_1, a device connection unit 1712_2, a channel scheduling unit 1712_3, and a scheduling unit 1712_4. The data management module 1713 includes a message application unit 1713_1 and a control request unit 1713_2.
雲端設備1720包括傳送模組1721、IoT設備管理模組1722、儲存模組1723、HMI設備管理模組1724及應用功能模組1725。IoT設備管理模組1722包括訊息分類單元1722_1、訊息監控單元1722_2及設備控制單元1722_3。儲存模組1723包括設備資料單元1723_1、設備連接單元1723_2及訊息暫存器單元1723_3。HMI設備管理模組1724包括排程單元1724_1及訊息組織單元1724_2。雲端設備1720可經由傳送模組1721而與HMI設備1710的傳送模組1711進行通訊。The cloud device 1720 includes a transmission module 1721, an IoT device management module 1722, a storage module 1723, an HMI device management module 1724, and an application function module 1725. The IoT device management module 1722 includes a message classification unit 1722_1, a message monitoring unit 1722_2, and a device control unit 1722_3. The storage module 1723 includes a device data unit 1723_1, a device connection unit 1723_2, and a message buffer unit 1723_3. The HMI device management module 1724 includes a scheduling unit 1724_1 and a message organization unit 1724_2. The cloud device 1720 can communicate with the transmission module 1711 of the HMI device 1710 via the transmission module 1721 .
終端設備1730包括傳送模組1731、IoT設備管理模組1732、儲存模組1733、HMI設備管理模組1734及應用功能模組1735。IoT設備管理模組1732包括訊息分類單元1732_1、訊息監控單元1732_2及設備控制單元1732_3。儲存模組1733包括設備資料單元1733_1、設備連接單元1733_2及訊息暫存器單元1733_3。HMI設備管理模組1734包括排程單元1734_1及訊息組織單元1734_2。終端設備1730可經由傳送模組1731而與HMI設備1710的傳送模組1711進行通訊。The terminal device 1730 includes a transmission module 1731, an IoT device management module 1732, a storage module 1733, an HMI device management module 1734, and an application function module 1735. The IoT device management module 1732 includes a message classification unit 1732_1, a message monitoring unit 1732_2, and a device control unit 1732_3. The storage module 1733 includes a device data unit 1733_1, a device connection unit 1733_2, and a message buffer unit 1733_3. The HMI device management module 1734 includes a scheduling unit 1734_1 and a message organization unit 1734_2. The terminal device 1730 can communicate with the transmission module 1711 of the HMI device 1710 via the transmission module 1731 .
在本發明的實施例中,IoT系統1700可執行以下步驟S1701至S1714以進一步執行終端設備通知切換傳送模式的操作。在步驟S1701中,當終端設備1730處於被管理模式(即,終端設備1730被HMI設備1710管理)且傳送模式是通用通訊通道模式時,訊息監控單元1732_2可監控HMI設備1710是否在逾時時間內未進行連接以對設備資料進行存取。若HMI設備1710在逾時時間內未進行連接以對設備資料進行存取,則在步驟S1702中,訊息監控單元1732_2可請求設備控制單元1732_3傳送切換傳送模式請求訊息,以將傳送模式切換至原始模式並取消代管。在步驟S1703中,設備控制單元1732_3將切換傳送模式請求訊息傳送至傳送模組1731。在步驟S1704中,傳送模組1731將切換傳送模式請求訊息傳送至傳送模組1721。在步驟S1705中,傳送模組1721將切換傳送模式請求訊息傳送至訊息分類單元1722_1。In an embodiment of the present invention, the IoT system 1700 may execute the following steps S1701 to S1714 to further perform the operation of the terminal device notifying the switching of the transmission mode. In step S1701, when the terminal device 1730 is in the managed mode (i.e., the terminal device 1730 is managed by the HMI device 1710) and the transmission mode is the general communication channel mode, the message monitoring unit 1732_2 may monitor whether the HMI device 1710 does not connect to access the device data within the timeout period. If the HMI device 1710 does not connect to access the device data within the timeout period, then in step S1702, the message monitoring unit 1732_2 may request the device control unit 1732_3 to transmit a switching transmission mode request message to switch the transmission mode to the original mode and cancel the hosting. In step S1703, the device control unit 1732_3 transmits the switching transmission mode request message to the transmission module 1731. In step S1704, the transmission module 1731 transmits the switching transmission mode request message to the transmission module 1721. In step S1705, the transmission module 1721 transmits the switching transmission mode request message to the message classification unit 1722_1.
在步驟S1706中,訊息分類單元1722_1可對切換傳送模式請求訊息進行分類,並將切換傳送模式請求訊息儲存至儲存模組1723的設備資料單元1723_1及設備連接單元1723_2中。在步驟S1707中,排程單元1724_1可經由設備連接單元1723_2判斷終端設備1730與HMI設備1710之間的連接狀態。在步驟S1708中,排程單元1724_1可根據預設訊息推送的時間排程來控制訊息組織單元1724_2。排程單元1724_1可監控HMI設備1710的儲存於設備連接單元1723_2中的設備連接資訊以產生訊息推送排程。在步驟S1709中,訊息組織單元1324_2可從設備資料單元1723_1讀取上述IoT訊息及與其他終端設備對應的其他IoT訊息,並執行訊息組織以產生組織化訊息。In step S1706, the message classification unit 1722_1 may classify the transmission mode switching request message and store the transmission mode switching request message in the device data unit 1723_1 and the device connection unit 1723_2 of the storage module 1723. In step S1707, the scheduling unit 1724_1 may determine the connection status between the terminal device 1730 and the HMI device 1710 through the device connection unit 1723_2. In step S1708, the scheduling unit 1724_1 may control the message organization unit 1724_2 according to the preset message push time schedule. The scheduling unit 1724_1 can monitor the device connection information of the HMI device 1710 stored in the device connection unit 1723_2 to generate a message push schedule. In step S1709, the message organization unit 1324_2 can read the above IoT message and other IoT messages corresponding to other terminal devices from the device data unit 1723_1, and perform message organization to generate an organized message.
訊息組織單元1724_2可組織終端設備1730的儲存於設備資料單元1723_1中的IoT訊息以產生組織化訊息。在步驟S1710中,訊息組織單元1724_2可將組織化訊息提供至設備控制單元1722_3。在步驟S1711中,設備控制單元1722_3可接收由訊息組織單元1724_2提供的組織化訊息,且根據訊息推送排程將組織化訊息傳送至傳送模組1721,並且訂用第一專用通訊通道以進行訊息傳送。在步驟S1712中,傳送模組1721可經由第一專用通訊通道將組織化訊息傳送至HMI設備1710的傳送模組1711。在步驟S1713中,傳送模組1711可將組織化訊息傳送至訊息應用單元1713_1。訊息應用單元1713_1可對組織化訊息進行分類並將組織化訊息傳送至應用功能模組1714,使得使用者可藉由操作HMI設備1710的應用功能模組1714來達成監控及管理終端設備1730的功能。在步驟S1714中,訊息應用單元1713_1可將分類標記的原始管理設備許可切換至設備連接單元1712_2,以將HMI設備1710設定成取消代管。因此,終端設備1730可經由終端設備1730與雲端設備1720之間的第二專用通訊通道使HMI設備1710經由雲端設備1720恢復管理終端設備1730。The message organizing unit 1724_2 can organize the IoT messages of the terminal device 1730 stored in the device data unit 1723_1 to generate an organized message. In step S1710, the message organizing unit 1724_2 can provide the organized message to the device control unit 1722_3. In step S1711, the device control unit 1722_3 can receive the organized message provided by the message organizing unit 1724_2, and transmit the organized message to the transmission module 1721 according to the message push schedule, and subscribe to the first dedicated communication channel for message transmission. In step S1712, the transmission module 1721 may transmit the organized message to the transmission module 1711 of the HMI device 1710 via the first dedicated communication channel. In step S1713, the transmission module 1711 may transmit the organized message to the message application unit 1713_1. The message application unit 1713_1 may classify the organized message and transmit the organized message to the application function module 1714, so that the user can achieve the function of monitoring and managing the terminal device 1730 by operating the application function module 1714 of the HMI device 1710. In step S1714, the message application unit 1713_1 may switch the original management device permission of the classification tag to the device connection unit 1712_2 to set the HMI device 1710 to cancel the hosting. Therefore, the terminal device 1730 may enable the HMI device 1710 to resume the management of the terminal device 1730 via the cloud device 1720 via the second dedicated communication channel between the terminal device 1730 and the cloud device 1720.
綜上所述,本發明的IoT系統可在有限數目的通訊通道的情境下有效地控制及監控大量的終端設備。本發明的IoT系統可根據控制命令的優先權順序來高效地排程及動態地訂用第一通訊通道以將控制命令傳送至雲端設備,且可動態地釋放完成命令傳輸的第一通訊通道以供下一控制命令使用。另外,本發明的IoT系統亦可經由專用通訊通道以欲傳送的請求控制指令的形式傳送已逾時且尚未傳送的控制命令及緊急控制命令,以有效地避免控制失敗、資料丟失或控制延遲。此外,IoT系統的HMI設備可切換至區域傳送模式以使用較低的延遲及低功耗來管理及控制與HMI設備相鄰的終端設備,而非經由雲端設備來控制終端設備。另外,在釋放第二專用通訊通道之後,終端設備亦可有效地降低其功耗。In summary, the IoT system of the present invention can effectively control and monitor a large number of terminal devices under the scenario of a limited number of communication channels. The IoT system of the present invention can efficiently schedule and dynamically subscribe to the first communication channel to transmit the control command to the cloud device according to the priority order of the control command, and can dynamically release the first communication channel that completes the command transmission for the next control command. In addition, the IoT system of the present invention can also transmit the control command and emergency control command that have been timed out and not yet transmitted in the form of the request control instruction to be transmitted through a dedicated communication channel to effectively avoid control failure, data loss or control delay. In addition, the HMI device of the IoT system can switch to the local transmission mode to use lower latency and low power consumption to manage and control the terminal devices adjacent to the HMI device, rather than controlling the terminal devices through the cloud device. In addition, after releasing the second dedicated communication channel, the terminal device can also effectively reduce its power consumption.
雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed as above by the embodiments, they are not intended to limit the present invention. Any person with ordinary knowledge in the relevant technical field can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be defined by the scope of the attached patent application.
100、200、300、400、500、600、700、1300、1400、1500、1600、1700:物聯網(IoT)系統 110、210、310、510、610、710、1110、1310、1410、1510、1610、1710:人機介面(HMI)設備 120、220、320、420、520、620、720、1320、1420、1520、1620、1720:雲端設備 130_1、130_2~130_N、230、330、430、530、630、730、1330、1430、1530、1630、1730:終端設備 211、221、231、311、321、331、421、431、511、521、531、611、631、711、731、801、1111、1311、1321、1331、1411、1421、1431、1511、1521、1531、1611、1621、1631、1711、1721、1731:傳送模組 212、312、512、612、712、1112、1312、1412、1512、1612、1712:通道管理模組 213、313、713、1113、1313、1413、1513、1613、1713:資料管理模組 214、232、314、332、432、514、532、614、632、714、732、805、1114、1314、1325、1335、1414、1425、1435、1514、1525、1535、1614、1625、1635、1714、1725、1735:應用功能模組 222、322、622、722:終端設備管理模組 223、323、423、623、723、803、1323、1333、1423、1433、1523、1533、1623、1633、1723、1733:儲存模組 224、324、804、1324、1334、1424、1434、1524、1534、1624、1634、1724、1734:人機介面(HMI)設備管理模組 312_1、512_1、612_1、712_1、1112_3、1312_3、1412_3、1512_3、1612_3、1712_3:通道排程單元 312_2、512_2、612_2、1112_1、1312_1、1412_1、1512_1、1612_1、1712_1:通道分配單元 313_1、513_1、613_1、713_1、1113_1、1313_1、1413_1、1513_1、1613_1、1713_1:訊息應用單元 313_2、713_2、1113_2、1313_2、1413_2、1513_2、1613_2、1713_2:控制請求單元 322_1、422_1、622_1、722_1、802_1、1322_1、1332_1、1422_1、1432_1、1522_1、1532_1、1622_1、1632_1、1722_1、1732_1:訊息分類單元 322_2、422_2、622_2、722_2、802_2、1322_2、1332_2、1422_2、1432_2、1522_2、1532_2、1622_2、1632_2、1722_2、1732_2:訊息監控單元 322_3、422_3、622_3、722_3、802_3、1322_3、1332_3、1422_3、1432_3、1522_3、1532_3、1622_3、1632_3、1722_3、1732_3:設備控制單元 323_1、423_1、803_1、1323_1、1333_1、1423_1、1433_1、1523_1、1533_1、1623_1、1633_1、1723_1、1733_1:設備資料單元 323_2、423_2、623_2、723_2、803_2、1112_2、1312_2、1323_2、1333_2、1412_2、1423_2、1433_2、1512_2、1523_2、1533_2、1612_2、1623_2、1633_2、1712_2、1723_2、1733_2:設備連接單元 323_3、623_3、723_3、803_3、1323_3、1333_3、1423_3、1433_3、1523_3、1533_3、1623_3、1633_3、1723_3、1733_3:訊息暫存器單元 324_1、804_1、1112_4、1312_4、1324_1、1334_1、1412_4、1424_1、1434_1、1512_4、1524_1、1534_1、1612_4、1624_1、1634_1、1712_4、1724_1、1734_1:排程單元 324_2、804_2、1324_2、1334_2、1424_2、1434_2、1524_2、1534_2、1624_2、1634_2、1724_2、1734_2:訊息組織單元 621、721:傳送模組 800:電子設備 802、1322、1332、1422、1432、1522、1532、1622、1632、1722、1732:IoT設備管理模組 S301~S312、S401~S408、S501~S510、S601~S621、S701~S721、S910~S960、S1010~S1040、S1210~S1250、S1301~S1333、S1401~S1415、S1501~S1524、S1601~S1612、S1701~S1714:步驟 100, 200, 300, 400, 500, 600, 700, 1300, 1400, 1500, 1600, 1700: Internet of Things (IoT) systems 110, 210, 310, 510, 610, 710, 1110, 1310, 1410, 1510, 1610, 1710: Human Machine Interface (HMI) equipment 120, 220, 320, 420, 520, 620, 720, 1320, 1420, 1520, 1620, 1720: Cloud equipment 130_1, 130_2~130_N, 230, 330, 430, 530, 630, 730, 1330, 1430, 1530, 1630, 1730: terminal equipment 211, 221, 231, 311, 321, 331, 421, 431, 511, 521, 531, 611, 631, 711, 731, 801, 1111, 1311, 1321, 1331, 1411, 1421, 1431, 1511, 1521, 1531, 1611, 1621, 1631, 1711, 1721, 1731: transmission module 212, 312, 512, 612, 712, 1112, 1312, 1412, 1512, 1612, 1712: Channel management module 213, 313, 713, 1113, 1313, 1413, 1513, 1613, 1713: Data management module 214, 232, 314, 332, 432, 514, 532, 614, 632, 714, 732, 805, 1114, 1314, 1325, 1335, 1414, 1425, 1435, 1514, 1525, 1535, 1614, 1625, 1635, 1714, 1725, 1735: Application function module 222, 322, 622, 722: Terminal equipment management module 223, 323, 423, 623, 723, 803, 1323, 1333, 1423, 1433, 1523, 1533, 1623, 1633, 1723, 1733: Storage module 224, 324, 804, 1324, 1334, 1424, 1434, 1524, 1534, 1624, 1634, 1724, 1734: Human-machine interface (HMI) equipment management module 312_1, 512_1, 612_1, 712_1, 1112_3, 1312_3, 1412_3, 1512_3, 1612_3, 1712_3: Channel scheduling unit 312_2, 512_2, 612_2, 1112_1, 1312_1, 1412_1, 1512_1, 1612_1, 1712_1: Channel allocation unit 313_1, 513_1, 613_1, 713_1, 1113_1, 1313_1, 1413_1, 1513_1, 1613_1, 1713_1: Message application unit 313_2, 713_2, 1113_2, 1313_2, 1413_2, 1513_2, 1613_2, 1713_2: control request unit 322_1, 422_1, 622_1, 722_1, 802_1, 1322_1, 1332_1, 1422_1, 1432_1, 1522_1, 1532_1, 1622_1, 1632_1, 1722_1, 1732_1: message classification unit 322_2, 422_2, 622_2, 722_2, 802_2, 1322_2, 1332_2, 1422_2, 1432_2, 1522_2, 1532_2, 1622_2, 1632_2, 1722_2, 1732_2: message monitoring unit 322_3, 422_3, 622_3, 722_3, 802_3, 1322_3, 1332_3, 1422_3, 1432_3, 1522_3, 1532_3, 1622_3, 1632_3, 1722_3, 1732_3: equipment control unit 323_1, 423_1, 803_1, 1323_1, 1333_1, 1423_1, 1433_1, 1523_1, 1533_1, 1623_1, 1633_1, 1723_1, 1733_1: Equipment data unit 323_2, 423_2, 623_2, 723_2, 803_2, 1112_2, 1312_2, 1323_2, 1333_2, 1412_2, 1423_2, 1433_2, 1512_2, 1523_2, 1533_2, 1612_2, 1623_2, 1633_2, 1712_2, 1723_2, 1733_2: Equipment connection unit 323_3, 623_3, 723_3, 803_3, 1323_3, 1333_3, 1423_3, 1433_3, 1523_3, 1533_3, 1623_3, 1633_3, 1723_3, 1733_3: message register unit 324_1, 804_1, 1112_4, 1312_4, 1324_1, 1334_1, 1412_4, 1424_1, 1434_1, 1512_4, 1524_1, 1534_1, 1612_4, 1624_1, 1634_1, 1712_4, 1724_1, 1734_1: scheduling unit 324_2, 804_2, 1324_2, 1334_2, 1424_2, 1434_2, 1524_2, 1534_2, 1624_2, 1634_2, 1724_2, 1734_2: message organization unit 621, 721: transmission module 800: electronic equipment 802, 1322, 1332, 1422, 1432, 1522, 1532, 1622, 1632, 1722, 1732: IoT device management module S301~S312, S401~S408, S501~S510, S601~S621, S701~S721, S910~S960, S1010~S1040, S1210~S1250, S1301~S1333, S1401~S1415, S1501~S1524, S1601~S1612, S1701~S1714: Steps
圖1是本發明的一實施例的物聯網系統的示意圖。 圖2是本發明的另一實施例的物聯網系統的示意圖。 圖3是本發明的一實施例的管理終端設備的操作示意圖。 圖4是本發明的一實施例的監控物聯網訊息的操作示意圖。 圖5是本發明的一實施例的物聯網系統執行一般模式的操作示意圖。 圖6是本發明的一實施例的物聯網系統執行逾時模式的操作示意圖。 圖7是本發明的一實施例的物聯網系統執行委託模式的操作示意圖。 圖8是本發明的一實施例的電子設備的示意圖。 圖9是本發明的一實施例的訊息分類方法的流程圖。 圖10是本發明的一實施例的訊息監控方法的流程圖。 圖11是本發明的一實施例的人機介面設備的示意圖。 圖12是本發明的一實施例的通道分配方法的流程圖。 圖13是本發明的一實施例的主動地切換傳送模式的HMI設備的示意圖。 圖14是本發明的一實施例的通用通訊通道模式的操作的示意圖。 圖15是本發明的一實施例的專用通訊通道模式的操作的示意圖。 圖16是本發明的一實施例的雲端設備通知切換傳送模式的操作的示意圖。 圖17是本發明的一實施例的終端設備通知切換傳送模式的操作的示意圖。 FIG. 1 is a schematic diagram of an Internet of Things system of an embodiment of the present invention. FIG. 2 is a schematic diagram of an Internet of Things system of another embodiment of the present invention. FIG. 3 is an operation schematic diagram of a management terminal device of an embodiment of the present invention. FIG. 4 is an operation schematic diagram of monitoring Internet of Things messages of an embodiment of the present invention. FIG. 5 is an operation schematic diagram of an Internet of Things system of an embodiment of the present invention executing a general mode. FIG. 6 is an operation schematic diagram of an Internet of Things system of an embodiment of the present invention executing a timeout mode. FIG. 7 is an operation schematic diagram of an Internet of Things system of an embodiment of the present invention executing a delegation mode. FIG. 8 is a schematic diagram of an electronic device of an embodiment of the present invention. FIG. 9 is a flow chart of a message classification method of an embodiment of the present invention. FIG. 10 is a flow chart of a message monitoring method of an embodiment of the present invention. FIG. 11 is a schematic diagram of a human-machine interface device of an embodiment of the present invention. FIG. 12 is a flow chart of a channel allocation method of an embodiment of the present invention. FIG. 13 is a schematic diagram of an HMI device that actively switches the transmission mode of an embodiment of the present invention. FIG. 14 is a schematic diagram of the operation of a general communication channel mode of an embodiment of the present invention. FIG. 15 is a schematic diagram of the operation of a dedicated communication channel mode of an embodiment of the present invention. FIG. 16 is a schematic diagram of the operation of a cloud device notification switching transmission mode of an embodiment of the present invention. FIG. 17 is a schematic diagram of the operation of a terminal device notification switching transmission mode of an embodiment of the present invention.
800:電子設備 800: Electronic equipment
801:傳送模組 801: Transmission module
802:IoT設備管理模組 802: IoT device management module
802_1:訊息分類單元 802_1: Message classification unit
802_2:訊息監控單元 802_2: Message monitoring unit
802_3:設備控制單元 802_3: Equipment control unit
803:儲存模組 803: Storage module
803_1:設備資料單元 803_1: Equipment data unit
803_2:設備連接單元 803_2: Equipment connection unit
803_3:訊息暫存器單元 803_3: Message register unit
804:人機介面(HMI)設備管理模組 804: Human-machine interface (HMI) equipment management module
804_1:排程單元 804_1: Scheduling unit
804_2:訊息組織單元 804_2: Message organization unit
805:應用功能模組 805: Application function module
Claims (19)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US18/306,238 US12107921B2 (en) | 2021-08-13 | 2023-04-25 | Internet of things system |
| US18/306,238 | 2023-04-25 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW202444137A TW202444137A (en) | 2024-11-01 |
| TWI875017B true TWI875017B (en) | 2025-03-01 |
Family
ID=93390142
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW112120612A TWI875017B (en) | 2023-04-25 | 2023-06-02 | Internet of things system |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN118972385A (en) |
| TW (1) | TWI875017B (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105206010A (en) * | 2014-05-29 | 2015-12-30 | 国家电网公司 | A communication control method and device for a wireless centralized meter reading network |
| US20200177517A1 (en) * | 2018-11-08 | 2020-06-04 | Arris Enterprises Llc | Priority-based queueing for scalable device communication |
| US20220113705A1 (en) * | 2020-01-06 | 2022-04-14 | Rockwell Automation Technologies, Inc. | Industrial data services platform |
-
2023
- 2023-06-02 TW TW112120612A patent/TWI875017B/en active
- 2023-06-12 CN CN202310689923.1A patent/CN118972385A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105206010A (en) * | 2014-05-29 | 2015-12-30 | 国家电网公司 | A communication control method and device for a wireless centralized meter reading network |
| US20200177517A1 (en) * | 2018-11-08 | 2020-06-04 | Arris Enterprises Llc | Priority-based queueing for scalable device communication |
| US20220113705A1 (en) * | 2020-01-06 | 2022-04-14 | Rockwell Automation Technologies, Inc. | Industrial data services platform |
Also Published As
| Publication number | Publication date |
|---|---|
| CN118972385A (en) | 2024-11-15 |
| TW202444137A (en) | 2024-11-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111726769B (en) | Communication systems, methods and apparatus for miniature smart sensors | |
| US10834586B2 (en) | System and method for controlling heterogeneous internet of things (IoT) devices using single application | |
| US20090240781A1 (en) | Communication apparatus, control method for communication apparatus, and communication system | |
| EP3846459B1 (en) | Method and apparatus for adjusting resources of intelligent analysis devices | |
| US7295550B2 (en) | Data communication method | |
| US9825491B2 (en) | Power feeding apparatus, power feeding method, and storage medium | |
| EP3576066A1 (en) | Standalone iot gateway directly connectable to user terminal using local area communication technology | |
| CN111083685A (en) | Data processing system, data processing method, and storage medium | |
| CN110730440A (en) | Bluetooth networking system | |
| CN107846672A (en) | Communication pattern system of selection, IoT equipment and the storage medium of multimode IoT equipment | |
| CN109417306A (en) | Management method, management equipment, distributed generation resource and management system | |
| CN109348459A (en) | Ad hoc network communication method and device of wearable equipment | |
| TWI875017B (en) | Internet of things system | |
| US20140207895A1 (en) | Communication apparatus, control method for communication apparatus, and communication system | |
| CN105915416B (en) | Information processing method and terminal equipment | |
| JP6611995B1 (en) | COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND PROGRAM | |
| TWI767821B (en) | Internet of things system | |
| US12107921B2 (en) | Internet of things system | |
| JP2013105394A (en) | System control device, system control method, and program | |
| JP2015042050A (en) | Wireless power feeding system, power receiving device, power transmitting device, control method thereof, and program | |
| CN106371966B (en) | Collecting monitoring data related to operation of a data processing system | |
| KR101110675B1 (en) | asynchronous COMMAND ACHIEVING METHOD OF REMOTE METER READING SYSTEM | |
| JP6961369B2 (en) | Power supply device, control method and program of power supply device | |
| KR102359681B1 (en) | Cyber remote management device for multi-client | |
| EP3896552A1 (en) | Power-saving control apparatus , image processing apparatus, power-saving control method, and carrier means |