TW201947911A - Method of automatically building cloud services thereof - Google Patents

Method of automatically building cloud services thereof Download PDF

Info

Publication number
TW201947911A
TW201947911A TW107116676A TW107116676A TW201947911A TW 201947911 A TW201947911 A TW 201947911A TW 107116676 A TW107116676 A TW 107116676A TW 107116676 A TW107116676 A TW 107116676A TW 201947911 A TW201947911 A TW 201947911A
Authority
TW
Taiwan
Prior art keywords
cloud
local
data
cloud server
setting
Prior art date
Application number
TW107116676A
Other languages
Chinese (zh)
Inventor
曾建維
邱玉琴
Original Assignee
新漢股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 新漢股份有限公司 filed Critical 新漢股份有限公司
Priority to TW107116676A priority Critical patent/TW201947911A/en
Publication of TW201947911A publication Critical patent/TW201947911A/en

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

A method of automatically building cloud services thereof are provided. The method is to control a network apparatus to configure a virtual cloud apparatus corresponding to a physical local apparatus in the cloud server, establish a synchronization connection with the cloud apparatus, synchronize local data and cloud data via the synchronization connection continuously, and configure cloud application rules applied to the cloud data according to the local application rules applied to the local data in the cloud server.

Description

自動建置雲端服務的方法Method for automatically building cloud service

本發明是與方法有關,特別有關於自動建置雲端服務的方法。The present invention relates to a method, and particularly relates to a method for automatically establishing a cloud service.

請參閱圖1,為現有的物聯網系統的架構圖。現有的物聯網系統10包括管理設備100、一或多個閘道器101(以一個閘道器101為例)及一或多個本地設備102。本地設備102連接閘道器101而可傳送運轉狀態至閘道器101。管理設備100是經由內部網路(如區域網路)連接閘道器101。Please refer to FIG. 1, which is an architecture diagram of an existing IoT system. The existing Internet of Things system 10 includes a management device 100, one or more gateways 101 (taking one gateway 101 as an example), and one or more local devices 102. The local device 102 is connected to the gateway 101 and can transmit the operation status to the gateway 101. The management device 100 is connected to the gateway 101 via an internal network (such as a local area network).

當管理員欲對本地設備102進行監控時必須操作管理設備100來經由內部網路連接閘道器101,並經由閘道器101取得本地設備102的運轉狀態以對本地設備102進行監控與管理。When the administrator wants to monitor the local device 102, the management device 100 must be operated to connect the gateway 101 via the internal network, and obtain the operating status of the local device 102 via the gateway 101 to monitor and manage the local device 102.

現有的物聯網系統由於是基於內部網路所設置,並不具有遠端監控功能,這使得管理員必須前往現有的物聯網系統10的設置地點才可進行監控與管理。Since the existing Internet of Things system is set based on the internal network, it does not have a remote monitoring function, which makes the administrator have to go to the setting place of the existing Internet of Things system 10 to perform monitoring and management.

本發明提供一種自動建置雲端服務的方法,可自動建置雲端服務來實現連網設備與本地設備的雲端監控。The invention provides a method for automatically establishing a cloud service, which can automatically establish a cloud service to implement cloud monitoring of a networked device and a local device.

於一實施例中,一種自動建置雲端服務的方法,包括以下步驟:控制連網設備依據用戶識別資訊登入雲端伺服器;取得本地設備的設備識別資訊;依據用戶識別資訊及設備識別資訊於雲端伺服器設定對應本地設備的虛擬的雲端設備;與雲端設備建立同步連線,並經由同步連線持續同步本地設備的本地資料與雲端設備的雲端資料;及,依據運用本地資料的本地應用規則於雲端伺服器設定運用雲端資料的雲端應用規則,其中依據雲端資料及雲端應用規則所產生的雲端執行結果對應依據本地資料及本地應用規則所產生的本地執行結果。In one embodiment, a method for automatically building a cloud service includes the following steps: controlling a connected device to log in to a cloud server based on user identification information; obtaining device identification information of a local device; and storing the device identification information in the cloud based on the user identification information and device identification information The server configures a virtual cloud device corresponding to the local device; establishes a synchronous connection with the cloud device, and continuously synchronizes the local data of the local device and the cloud data of the cloud device via the synchronous connection; and The cloud server sets a cloud application rule that uses cloud data. The cloud execution result generated according to the cloud data and the cloud application rule corresponds to the local execution result generated according to the local data and the local application rule.

本發明可有效建置連網設備的雲端服務,並可省卻人工建置雲端服務的成本。The invention can effectively build cloud services for networked devices, and can save the cost of manually building cloud services.

茲就本發明的一較佳實施例,配合圖式,詳細說明如後。A preferred embodiment of the present invention is described in detail below with reference to the drawings.

本發明主要是提供一種自動建置雲端服務的技術,可自動建置本地設備的雲端服務,而使管理員可經由雲端伺服器對本地設備進行監控與管理。本發明的自動建置雲端服務的技術主要是於雲端伺服器中設定與實體的本地設備相對應的虛擬的雲端設備,並持續同步本地設備的本地資料與雲端設備的雲端資料。藉此,當管理員於雲端伺服器對雲端設備進行監控時,即相當於對本地設備進行監控。The invention mainly provides a technology for automatically setting up a cloud service, which can automatically set up a cloud service for a local device, so that an administrator can monitor and manage the local device through a cloud server. The technology for automatically building a cloud service of the present invention is mainly to set a virtual cloud device corresponding to a physical local device in a cloud server, and continuously synchronize the local data of the local device with the cloud data of the cloud device. Therefore, when the administrator monitors the cloud device on the cloud server, it is equivalent to monitoring the local device.

首請同時參閱圖2及圖3。圖2為本發明一實施例的雲端物聯網系統的架構圖,圖3為本發明一實施例的連網設備的架構圖。First, please refer to FIG. 2 and FIG. 3 at the same time. FIG. 2 is an architecture diagram of a cloud IoT system according to an embodiment of the present invention, and FIG. 3 is an architecture diagram of a networked device according to an embodiment of the present invention.

如圖所示,本發明的雲端物聯網系統主要包括雲端伺服器20、連網設備21及一或多個本地設備22。As shown in the figure, the cloud IoT system of the present invention mainly includes a cloud server 20, a networked device 21, and one or more local devices 22.

雲端伺服器20可於設定完成後經由網際網路提供雲端服務(如雲端網站服務、雲端資料庫服務、雲端監控服務、雲端儀表板服務或雲端資料存取服務等等)。The cloud server 20 can provide cloud services (such as a cloud website service, a cloud database service, a cloud monitoring service, a cloud dashboard service or a cloud data access service, etc.) via the Internet after the setting is completed.

於一實施例中,雲端伺服器20為Microsoft Azure、Amazon Web Service或Google Cloud Platform等供應商所提供的雲端伺服器。In one embodiment, the cloud server 20 is a cloud server provided by a supplier such as Microsoft Azure, Amazon Web Service, or Google Cloud Platform.

本地設備22(如濕度感測器、溫度感測器、空氣品質感測器、可程式邏輯控制器(PLC)等物聯網裝置),儲存有本地設備22的設備識別資訊(如裝置識別碼(device ID)、硬體位址(MAC address)或獨立識別碼(UID),此設備識別資訊通常是唯一的)及本地資料35,並可基於本地資料35運作以實現特定功能。Local device 22 (such as an IoT device such as a humidity sensor, temperature sensor, air quality sensor, and programmable logic controller (PLC)) stores device identification information (such as a device identification code ( device ID), hardware address (MAC address) or independent identification code (UID), this device identification information is usually unique) and local data 35, and can operate based on the local data 35 to achieve specific functions.

舉例來說,若本地設備22為具有連接區網能力的攝影機、感測器、按鍵組等物聯網輸入裝置,則本地資料35可包括本地設備22的輸入資料(如所拍攝的影片、感測資料或按鍵觸發訊號)。For example, if the local device 22 is an IoT input device such as a camera, a sensor, a button set, etc., which has the capability of connecting to a local area network, the local data 35 may include the input data of the local device 22 (such as a captured video, a sensor, etc.). Data or key trigger signal).

若本地設備22為具有連接區網能力的喇叭、顯示器、印表機等物聯網輸出裝置,則本地資料35可包括本地設備22的輸出資料(如語音資料、顯示資料或列印資料)。If the local device 22 is an IoT output device such as a speaker, a display, a printer, or the like, which has a local area network capability, the local data 35 may include output data (such as voice data, display data, or print data) of the local device 22.

連網設備21可包括儲存裝置41、第一網路裝置42、第二網路裝置43及電性連接上述裝置的控制裝置40。The networking device 21 may include a storage device 41, a first network device 42, a second network device 43, and a control device 40 electrically connected to the above devices.

儲存裝置41用以儲存資料。第一網路裝置42(如Wi-Fi裝置、乙太網路裝置或行動網路裝置)用以經由網際網路連接雲端伺服器20。第二網路裝置43(如採用Modbus RTU/TCP、EtherCAT、OPC UA、Fieldbus等工業規格的網路裝置,或採用藍芽模組、Zig-Bee模組、Sub-1GHz模組等家用/商用規格的網路裝置)用以連接外部的本地設備22。控制裝置40用以控制連網設備21。The storage device 41 is used for storing data. The first network device 42 (such as a Wi-Fi device, an Ethernet device, or a mobile network device) is used to connect to the cloud server 20 via the Internet. Second network device 43 (such as Modbus RTU / TCP, EtherCAT, OPC UA, Fieldbus and other industrial network devices, or Bluetooth / Zig-Bee modules, Sub-1GHz modules, etc. A standard network device) is used to connect an external local device 22. The control device 40 is used to control the network-connected equipment 21.

於一實施例中,第一網路裝置42與第二網路裝置43是不同類型的網路裝置(如第一網路裝置42為Wi-Fi模組,第二網路裝置43為Fieldbus模組)。In an embodiment, the first network device 42 and the second network device 43 are different types of network devices (for example, the first network device 42 is a Wi-Fi module, and the second network device 43 is a Fieldbus mode. group).

於一實施例中,儲存裝置41儲存用以登入雲端伺服器20的用戶識別資訊36(如雲端伺服器20的管理帳號)。In one embodiment, the storage device 41 stores user identification information 36 (such as a management account of the cloud server 20) for logging in to the cloud server 20.

於一實施例中,儲存裝置41儲存一或多個本地應用規則34。各本地應用規則34分別用來運用一或多個本地資料35實現特定功能。In one embodiment, the storage device 41 stores one or more local application rules 34. Each local application rule 34 is used to implement a specific function using one or more local data 35.

於一實施例中,各本地應用規則34是以電腦可執行程式碼的形式來加以儲存。當控制裝置40執行各本地應用規則34後可對本地資料35進行處理來實現對應的功能。In one embodiment, each local application rule 34 is stored in the form of computer executable code. After the control device 40 executes each local application rule 34, it can process the local data 35 to achieve the corresponding function.

舉例來說,若本地設備22為電子溫度計,本地資料35為多筆溫度感測值,則控制裝置40可經由執行本地應用規則34來對本地資料35執行資料過濾處理並產生本地執行結果(如高於臨界溫度的溫度感測值)以實現溫度過濾功能。For example, if the local device 22 is an electronic thermometer and the local data 35 is multiple temperature sensing values, the control device 40 may perform data filtering processing on the local data 35 and generate a local execution result (such as Temperature sensing value above the critical temperature) to achieve a temperature filtering function.

值得一提的是,於工業應用中,考量成本、安全性與建置便利性,本發明可將本地設備22設定為不直接連接網際網路,,而是經由連網設備21連接網際網路,藉此降低設置成本、提升資訊安全,並增進設置便利性。更進一步地,連網設備21作為本地設備22的閘道器,可取得本地設備22所收發的資料,並可進一步對本地設備22進行控制。It is worth mentioning that in industrial applications, considering cost, security, and ease of construction, the present invention can set the local device 22 to not directly connect to the Internet, but to connect to the Internet via the networked device 21 To reduce setup costs, improve information security, and increase setup convenience. Furthermore, as the gateway of the local device 22, the network-connected device 21 can obtain the data sent and received by the local device 22, and can further control the local device 22.

於一實施例中,本地設備是經由內部線路電性連接控制裝置40(如圖3所示本地設備44)。換句話說,本實施例的連網設備21是如同具有連接網際網路功能的本地設備。In an embodiment, the local device is electrically connected to the control device 40 via an internal line (as shown in FIG. 3). In other words, the network-connected device 21 of this embodiment is like a local device having a function of connecting to the Internet.

於一實施例中,雲端物聯網系統包括安裝於管理設備23(如個人電腦、筆記型電腦、平板電腦或智慧型手機等)的管理程式。管理設備23於執行管理程式後可基於用戶識別資訊36登入雲端伺服器20,並依據管理員的操作對用戶儲存區30進行管理規畫。In one embodiment, the cloud IoT system includes a management program installed on a management device 23 (such as a personal computer, a notebook computer, a tablet computer, or a smart phone). The management device 23 can log in to the cloud server 20 based on the user identification information 36 after executing the management program, and perform management planning on the user storage area 30 according to the operation of the administrator.

舉例來說,管理員可操作管理設備23來查看各雲端設備32的狀態及/或雲端執行結果,前述雲端執行結果是依據特定雲端應用規則31及其對應的雲端資料33進行處理所產生的。或者,管理員可操作管理設備23來手動修改任一雲端設備32的設定或任一雲端應用規則31。接著,雲端伺服器20可自動將修改內容傳送至連網設備21以使連網設備21對應修改本地設備22的設定或本地應用規則34。藉此,本發明可有效同步雲端與本地端的資料與設定。For example, the administrator can operate the management device 23 to view the status of each cloud device 32 and / or cloud execution results. The foregoing cloud execution results are generated by processing according to a specific cloud application rule 31 and its corresponding cloud data 33. Alternatively, the administrator can operate the management device 23 to manually modify the settings of any cloud device 32 or any cloud application rule 31. Then, the cloud server 20 may automatically transmit the modified content to the network-connected device 21 so that the network-connected device 21 correspondingly modifies the settings of the local device 22 or applies the rule 34 locally. Therefore, the present invention can effectively synchronize data and settings in the cloud and the local end.

於一實施例中,雲端物聯網系統包括安裝於設定設備24(如個人電腦、筆記型電腦、平板電腦或智慧型手機等)的設定程式。設定設備24於執行設定程式後可與連網設備21建立連接,並對連網設備21進行設定(容後詳述)。In one embodiment, the cloud IoT system includes a setting program installed on a setting device 24 (such as a personal computer, a notebook computer, a tablet computer, or a smart phone). After the setting device 24 executes the setting program, it can establish a connection with the networked device 21 and set the networked device 21 (described in detail later).

接著說明本發明如何實現自動建置雲端服務功能。Next, it is explained how the present invention implements the function of automatically building a cloud service.

續請一併參閱圖4,為本發明一實施例的控制裝置的架構圖。於一實施例中,儲存裝置41包括非暫態電腦可讀取媒體,並儲存有電腦程式37(如連網設備21的韌體),電腦程式37記錄有電腦可讀取的程式碼。控制裝置40可執行電腦程式37來與其他裝置進行互動以實現本發明各實施例的自動建置雲端服務的方法的各個功能。並且,電腦程式37包括分別對應下列功能模組的多組程式碼,控制裝置40執行對應的各組程式碼後可實作下列各功能模組:Please refer to FIG. 4 together, which is a structural diagram of a control device according to an embodiment of the present invention. In one embodiment, the storage device 41 includes a non-transitory computer-readable medium, and stores a computer program 37 (such as the firmware of the network-connected device 21). The computer program 37 records computer-readable code. The control device 40 can execute a computer program 37 to interact with other devices to implement various functions of the method for automatically establishing a cloud service in various embodiments of the present invention. In addition, the computer program 37 includes multiple sets of codes corresponding to the following function modules, and the control device 40 can implement the following function modules after executing the corresponding sets of codes:

1. 連線控制模組50:用以控制第一網路裝置42依據用戶識別資訊36登入雲端伺服器20。1. Connection control module 50: used to control the first network device 42 to log in to the cloud server 20 according to the user identification information 36.

2. 設備設定模組51:用以依據用戶識別資訊36及本地設備22的設備識別資訊於雲端伺服器20中設定對應本地設備22的虛擬的雲端設備32。2. Device setting module 51: used to set a virtual cloud device 32 corresponding to the local device 22 in the cloud server 20 according to the user identification information 36 and the device identification information of the local device 22.

於一實施例中,雲端伺服器20中規劃有分別對應各連網設備21的連網設備儲存區(如資料夾或記憶體區段)。設備設定模組51是依據各連網設備21所連接的各本地設備22,來於對應的連網設備儲存區中規劃雲端設備儲藏區(如子資料夾或部分記憶體區段)以作為虛擬的雲端設備32。接著,設備設定模組51將本地設備22的設備識別資訊對應至此雲端設備儲藏區(即雲端設備32),並將本地設備22的本地資料35儲存於此雲端設備儲藏區以完成雲端設備32的建置。In one embodiment, the cloud server 20 has a network device storage area (such as a folder or a memory section) corresponding to each network device 21. The device setting module 51 is based on each local device 22 connected to each networked device 21 to plan a cloud device storage area (such as a subfolder or a part of the memory section) in the corresponding networked device storage area as a virtual Cloud device 32. Next, the device setting module 51 maps the device identification information of the local device 22 to this cloud device storage area (ie, the cloud device 32), and stores the local data 35 of the local device 22 in this cloud device storage area to complete the cloud device 32 Build.

於一實施例中,於任一本地設備22自連網設備21斷開時,設備設定模組51可被觸發來控制雲端伺服器20停用對應的雲端設備32(如將對應的雲端設備儲藏區刪除或設為禁止存取),並停止同步雲端資料33(如中斷同步連線)。In one embodiment, when any local device 22 is disconnected from the connected device 21, the device setting module 51 may be triggered to control the cloud server 20 to deactivate the corresponding cloud device 32 (such as storing the corresponding cloud device) Zone deleted or set to block access), and stop syncing cloud data 33 (such as interrupting the sync connection).

於一實施例中,於新的本地設備22連接至連網設備21時,設備設定模組51可被觸發來控制雲端伺服器20設定對應新的本地設備22的新的雲端設備32(如於相同的連網設備儲存區下規劃新的雲端設備儲藏區),控制連網設備21與新的雲端設備32建立新的同步連線,並經由新的同步連線持續同步新的本地設備22的本地資料35與新的雲端設備32的雲端資料33。In an embodiment, when the new local device 22 is connected to the networked device 21, the device setting module 51 may be triggered to control the cloud server 20 to set a new cloud device 32 corresponding to the new local device 22 (as in Plan a new cloud device storage area under the same connected device storage area), control the connected device 21 to establish a new synchronization connection with the new cloud device 32, and continuously synchronize the new local device 22 via the new synchronization connection Local data 35 and cloud data 33 of the new cloud device 32.

3. 應用模組52:用以依據本地應用規則34及對應的本地資料35產生本地執行結果以實現特定功能。3. Application module 52: used to generate local execution results according to local application rules 34 and corresponding local data 35 to achieve specific functions.

4. 同步模組53:用以控制連網設備21與雲端設備32建立同步連線,並經由所建立的同步連線持續同步本地設備22的本地資料35與雲端設備32的雲端資料33。4. Synchronization module 53: used to control the networked device 21 to establish a synchronous connection with the cloud device 32, and continuously synchronize the local data 35 of the local device 22 and the cloud data 33 of the cloud device 32 via the established synchronization connection.

5. 規則設定模組54:用以依據各連網設備21所儲存的本地應用規則34於雲端伺服器20的對應的連網設備儲存區中設定對應的雲端應用規則31。5. Rule setting module 54: used to set the corresponding cloud application rule 31 in the corresponding connected device storage area of the cloud server 20 according to the local application rule 34 stored by each connected device 21.

於一實施例中,雲端伺服器20依據雲端應用規則31及對應的雲端資料33進行處理所產生的雲端執行結果是對應連網設備21依據本地應用規則34及對應的本地資料35進行處理所產生的本地執行結果。In an embodiment, the cloud execution result generated by the cloud server 20 processing according to the cloud application rule 31 and the corresponding cloud data 33 is generated by the corresponding networked device 21 processing according to the local application rule 34 and the corresponding local data 35 Local execution results.

6. 偵測模組55:用以偵測連網設備21所儲存的本地應用規則34或所連接的本地設備22是否發生改變,如管理員修改本地應用規則34、將任一本地設備22自連網設備21斷開或將新的本地設備22連接至連網設備21。6. Detection module 55: used to detect whether the local application rule 34 stored in the connected device 21 or the connected local device 22 has changed. For example, if the administrator modifies the local application rule 34, The networked device 21 is disconnected or a new local device 22 is connected to the networked device 21.

7. 更新模組56:用以於任一本地應用規則34改變時依據改變後的本地應用規則34控制雲端伺服器20更新對應的雲端應用規則31。藉此,維持本地應用規則34與雲端應用規則31之間的同步。7. Update module 56: used to control the cloud server 20 to update the corresponding cloud application rule 31 according to the changed local application rule 34 when any of the local application rules 34 is changed. Thereby, synchronization between the local application rule 34 and the cloud application rule 31 is maintained.

8. 初始化模組57:用以對連網設備21及/或雲端伺服器20進行初始化設定。8. Initialization module 57: used to initialize the networked device 21 and / or the cloud server 20.

於一實施例中,初始化模組57於連網設備21未完成設定(如雲端伺服器20中不存在連網設備21的相關資料)時取得設定資料,並依據設定資料於雲端伺服器20中規劃對應連網設備21的連網設備儲存區。In an embodiment, the initialization module 57 obtains the setting data when the connected device 21 has not completed the setting (for example, there is no relevant data of the connected device 21 in the cloud server 20), and according to the setting data, the initialization module 57 obtains the setting data in the cloud server 20 A networked device storage area corresponding to the networked device 21 is planned.

於一實施例中,初始化模組57是於對應用戶識別資訊36的用戶儲存區30中規劃前述連網設備儲存區。In one embodiment, the initialization module 57 plans the storage area of the connected device in the user storage area 30 corresponding to the user identification information 36.

於一實施例中,初始化模組57於連網設備21未完成設定且雲端伺服器20已完成設定(如雲端伺服器20已規劃好對應用戶識別資訊36的用戶儲存區30)時才取得設定資料並規劃連網設備儲存區。In one embodiment, the initialization module 57 obtains the setting only when the connected device 21 has not completed the setting and the cloud server 20 has completed the setting (for example, the cloud server 20 has planned a user storage area 30 corresponding to the user identification information 36). Information and planning of connected equipment storage areas.

9. 閘道器模組58:用以控制第二網路裝置43連接各本地設備22。9. Gateway module 58: used to control the second network device 43 to connect to each local device 22.

於一實施例中,閘道器模組58控制第二網路裝置43自各本地設備22接收各本地設備22的設備識別資訊及/或本地資料35。In one embodiment, the gateway module 58 controls the second network device 43 to receive device identification information and / or local data 35 from each local device 22 from each local device 22.

於一實施例中,閘道器模組58控制第二網路裝置43將更新後的本地資料35傳送至各本地設備22。In one embodiment, the gateway module 58 controls the second network device 43 to transmit the updated local data 35 to each local device 22.

經由上述功能模組,本發明可自動建置雲端服務。Through the above functional modules, the present invention can automatically build cloud services.

續請參閱圖5,為本發明一實施例的雲端物聯網系統的架構圖。相較於圖2所示的實施例,本實施例的伺服器可同時連接屬於同一用戶識別資訊36的兩組雲端物聯網系統(第一物聯網系統與第二物聯網系統)。Please refer to FIG. 5, which is a structural diagram of a cloud IoT system according to an embodiment of the present invention. Compared with the embodiment shown in FIG. 2, the server in this embodiment can simultaneously connect two sets of cloud IoT systems (the first IoT system and the second IoT system) that belong to the same user identification information 36.

第一物聯網系統包括第一連網裝置61及連接第一連網裝置61的多個第一本地設備62。第二物聯網系統包括第二連網裝置63及連接第二連網裝置63的多個第二本地設備64。The first Internet of Things system includes a first networking device 61 and a plurality of first local devices 62 connected to the first networking device 61. The second IoT system includes a second networking device 63 and a plurality of second local devices 64 connected to the second networking device 63.

於本實施例中,雲端伺服器60中規劃有對應用戶識別資訊36的用戶儲存區700。並且,雲端伺服器60規劃有對應第一連網設備61的第一連網設備儲存區80及對應第二連網設備63的第二連網設備儲存區81。In this embodiment, a user storage area 700 corresponding to the user identification information 36 is planned in the cloud server 60. In addition, the cloud server 60 has a first connected device storage area 80 corresponding to the first connected device 61 and a second connected device storage area 81 corresponding to the second connected device 63.

於本實施例中,第一連網設備儲存區80中儲存有第一連網設備61的多個第一本地應用規則705所分別對應的多個第一雲端應用規則701,並設定有多個第一本地設備62所分別對應的多個第一雲端設備702,各第一雲端設備702所包括的第一雲端資料703是與對應的第一本地設備62所儲存的第一本地資料706相同或相似。In this embodiment, the first networked device storage area 80 stores a plurality of first cloud application rules 701 corresponding to the plurality of first local application rules 705 of the first networked device 61, and sets a plurality of A plurality of first cloud devices 702 corresponding to the first local device 62, and the first cloud data 703 included in each first cloud device 702 is the same as the first local data 706 stored in the corresponding first local device 62 or similar.

第二連網設備儲存區81中儲存有第二連網設備63的多個第二本地應用規則715所分別對應的多個第二雲端應用規則711,並設定有多個第二本地設備64所分別對應的多個第二雲端設備712,各第二雲端設備712所包括的第二雲端資料713是與對應的第二本地設備63所儲存的第二本地資料716相同或相似。The second networked device storage area 81 stores a plurality of second cloud application rules 711 corresponding to the plurality of second local application rules 715 of the second networked device 63, and sets a plurality of second local device 64 A plurality of corresponding second cloud devices 712 are included, and the second cloud data 713 included in each second cloud device 712 is the same as or similar to the second local data 716 stored in the corresponding second local device 63.

於一實施例中,第一連網設備儲存區80與第二連網設備儲存區81還分別設定有虛擬的第一雲端集線器704與虛擬的第二雲端集線器714。第一雲端集線器704被設定為連結所有第一雲端設備702。第二雲端集線器714被設定為連結所有第二雲端設備712。In an embodiment, the first networked device storage area 80 and the second networked device storage area 81 are further configured with a virtual first cloud hub 704 and a virtual second cloud hub 714, respectively. The first cloud hub 704 is configured to connect all the first cloud devices 702. The second cloud hub 714 is configured to connect all the second cloud devices 712.

於一實施例中,管理員可操作管理設備65來依據用戶識別資訊36登入雲端伺服器60以對用戶儲存區700進行管理與規畫。In one embodiment, the administrator can operate the management device 65 to log in to the cloud server 60 according to the user identification information 36 to manage and plan the user storage area 700.

藉此,本發明可於雲端伺服器60中模擬各雲端物聯網系統的架構,而方便管理員進行管理。Thereby, the present invention can simulate the architecture of each cloud IoT system in the cloud server 60 and facilitate the management by the administrator.

續請一併參閱圖6,為本發明一實施例的自動建置雲端服務的方法的流程圖。本發明各實施例的自動建置雲端服務的方法(下稱建置方法)可由圖2至圖5所示雲端物聯網系統來加以實現(後續將以圖1至圖4為例進行說明)。本實施例的建置方法包括以下步驟。Please refer to FIG. 6 together, which is a flowchart of a method for automatically establishing a cloud service according to an embodiment of the present invention. The method for automatically building a cloud service (hereinafter referred to as a building method) according to various embodiments of the present invention may be implemented by the cloud IoT system shown in FIG. 2 to FIG. The building method of this embodiment includes the following steps.

步驟S10:連網設備21的控制裝置40經由連線控制模組50經由第一網路裝置42及網際網路連接雲端伺服器20,並依據儲存裝置41所儲存的用戶識別資訊36登入雲端伺服器20。Step S10: the control device 40 of the networked device 21 connects to the cloud server 20 via the connection control module 50 via the first network device 42 and the Internet, and logs in to the cloud server according to the user identification information 36 stored in the storage device 41器 20。 20.

步驟S11:控制裝置40自儲存裝置41讀取或自本地設備22接收所連接的所有本地設備22的設備識別資訊。並且,控制裝置40讀取儲存裝置41所儲存的所有本地應用規則34。Step S11: The control device 40 reads from the storage device 41 or receives device identification information of all connected local devices 22 from the local device 22. In addition, the control device 40 reads all the local application rules 34 stored in the storage device 41.

於一實施例中,控制裝置40僅取得部分的本地設備22(如被管理員設定為可雲端化的本地設備22)的設備識別資訊,並僅讀取部分的本地應用規則34(如被管理員設定為可雲端化的本地應用規則34,或者所運用的本地資料35屬於可雲端化的本地設備22的本地應用規則34)。In an embodiment, the control device 40 only obtains the device identification information of a part of the local devices 22 (such as the cloud-enabled local device 22 set by the administrator), and reads only a part of the local application rules 34 (such as being managed The administrator sets the local application rule 34 that can be cloudized, or the local data 35 that is used belongs to the local application rule 34 of the cloudable local device 22).

步驟S12:控制裝置40經由設備設定模組51依據所取得的用戶識別資訊36及本地設備22的設備識別資訊於雲端伺服器20中設定對應各本地設備22的虛擬的雲端設備32。Step S12: The control device 40 sets the virtual cloud device 32 corresponding to each local device 22 in the cloud server 20 based on the obtained user identification information 36 and the device identification information of the local device 22 via the device setting module 51.

步驟S13:控制裝置40經由同步模組53與所設定的各雲端設備32分別建立一組同步連線。接著,控制裝置40經由所建立的同步連線持續同步本地設備22的本地資料35與雲端設備32的雲端資料33以使各雲端資料33與所對應的本地資料35維持一致。Step S13: The control device 40 establishes a set of synchronization connections with each of the set cloud devices 32 via the synchronization module 53. Then, the control device 40 continuously synchronizes the local data 35 of the local device 22 and the cloud data 33 of the cloud device 32 through the established synchronization connection so that each cloud data 33 is consistent with the corresponding local data 35.

具體而言,控制裝置40持續監測各本地設備22的本地資料35是否發生變化,或經由雲端伺服器20監測雲端設備32的雲端資料33是否發生變化。並且,控制裝置40於本地資料35或雲端資料33發生變化時執行同步處理來使兩組資料維持一致。Specifically, the control device 40 continuously monitors whether the local data 35 of each local device 22 changes, or monitors whether the cloud data 33 of the cloud device 32 changes via the cloud server 20. In addition, the control device 40 executes a synchronization process when the local data 35 or the cloud data 33 changes to keep the two sets of data consistent.

步驟S14:控制裝置40經由規則設定模組54依據運用各本地資料35的各本地應用規則34於雲端伺服器20中設定運用對應的雲端資料33的雲端應用規則31。Step S14: The control device 40 sets the cloud application rule 31 using the corresponding cloud data 33 in the cloud server 20 according to the local application rules 34 using the local data 35 via the rule setting module 54.

於一實施例中,控制裝置40經由應用模組52依據任一本地應用規則34及其所對應的本地資料35可產生本地執行結果。並且,雲端伺服器20依據對應前述本地應用規則34的雲端應用規則33及其所對應的雲端資料31可產生雲端執行結果。並且,由於各本地資料35與對應的雲端資料33一致且各本地應用規則34與對應的雲端應用規則31一致,前述本地執行結果會與雲端執行結果具有一致性。In an embodiment, the control device 40 can generate a local execution result via the application module 52 according to any local application rule 34 and its corresponding local data 35. In addition, the cloud server 20 may generate a cloud execution result according to the cloud application rule 33 corresponding to the aforementioned local application rule 34 and the corresponding cloud data 31. In addition, since each local data 35 is consistent with the corresponding cloud data 33 and each local application rule 34 is consistent with the corresponding cloud application rule 31, the aforementioned local execution results will be consistent with the cloud execution results.

藉此,本發明可完成連網設備21的雲端服務的自動建置,而可供管理員操作管理設備23來於雲端伺服器20中直接對本地設備22與連網設備21進行監控。Thereby, the present invention can complete the automatic establishment of the cloud service of the network-connected device 21, and the administrator can operate the management device 23 to directly monitor the local device 22 and the network-connected device 21 in the cloud server 20.

本發明可自動建置連網設備的雲端服務,而使管理員可對連網設備及本地設備進行雲端監控。The invention can automatically set up cloud services for networked devices, so that administrators can perform cloud monitoring on networked devices and local devices.

並且,本發明經由雲端監控可管理員同時對多個物聯網系統進行監控。In addition, the present invention allows an administrator to monitor multiple IoT systems simultaneously through cloud monitoring.

並且,由於雲端伺服器具有極佳的對外網路品質及負載能力,本發明可提供極佳的監控品質。In addition, since the cloud server has excellent external network quality and load capacity, the present invention can provide excellent monitoring quality.

並且,相較於人工建置雲端服務需耗費大量成本且技術門檻極高,本發明經由自動建置雲端服務,可省卻人工建置雲端服務的成本。In addition, compared with the manual construction of cloud services, a large amount of cost is required and the technical threshold is extremely high. The present invention can save the cost of manual construction of cloud services by automatically establishing cloud services.

續請一併參閱圖6及圖7,圖7為本發明一實施例的自動建置雲端服務的方法的部分流程圖。相較於圖6所示的建置方法,本實施例的建置方法於步驟S14後更包括以下步驟。Please refer to FIG. 6 and FIG. 7 together. FIG. 7 is a partial flowchart of a method for automatically establishing a cloud service according to an embodiment of the present invention. Compared to the building method shown in FIG. 6, the building method of this embodiment further includes the following steps after step S14.

步驟S20:控制裝置40偵測到經由偵測模組55偵測是否任一本地應用規則34發生改變(如管理員修改或刪除本地應用規則34),或偵測到新的本地應用規則34(如管理員修改或新增本地應用規則)。Step S20: The control device 40 detects whether any local application rule 34 is changed (such as the administrator modifies or deletes the local application rule 34) via the detection module 55, or detects a new local application rule 34 ( (Such as an administrator modifying or adding a local application rule).

具體而言,管理員可操作設定設備24於近端連接(如連接相同區域網路)連網設備21來新增或修改本地應用規則34以新增或修改特定功能。Specifically, the administrator can operate the setting device 24 to connect (eg, connect to the same local area network) with the network device 21 to add or modify a local application rule 34 to add or modify a specific function.

若控制裝置40偵測到任一本地應用規則34發生改變,或偵測到新的本地應用規則34,則執行步驟S21。否則,控制裝置40執行步驟S22。If the control device 40 detects that any local application rule 34 is changed, or detects a new local application rule 34, step S21 is performed. Otherwise, the control device 40 executes step S22.

步驟S21:控制裝置40經由規則設定模組54於偵測任一本地應用規則34改變時依據最新的本地應用規則34控制雲端伺服器20更新(包括覆蓋、修改或刪除)對應的雲端應用規則31,或者於偵測到新的本地應用規則34時依據新的本地應用規則34於雲端伺服器20中設定對應的雲端應用規則31。Step S21: The control device 40 controls the cloud server 20 to update (including overwrite, modify or delete) the corresponding cloud application rule 31 via the rule setting module 54 when detecting any local application rule 34 change according to the latest local application rule 34 Or when a new local application rule 34 is detected, a corresponding cloud application rule 31 is set in the cloud server 20 according to the new local application rule 34.

藉此,本發明可持續維持本地應用規則34與雲端應用規則31之間的一致性。Therefore, the present invention can continuously maintain the consistency between the local application rules 34 and the cloud application rules 31.

步驟S22:控制裝置40經由偵測模組55還可偵測是否任一本地設備22自連網設備21斷開(如管理員移除本地設備22或本地設備22發生故障)。Step S22: The control device 40 can also detect whether any local device 22 is disconnected from the networked device 21 via the detection module 55 (for example, the administrator removes the local device 22 or the local device 22 fails).

若控制裝置40偵測到任一本地設備22自連網設備21斷開,則執行步驟S23。否則,控制裝置40執行步驟S24。If the control device 40 detects that any local device 22 is disconnected from the network-connected device 21, step S23 is performed. Otherwise, the control device 40 executes step S24.

步驟S23:控制裝置40經由設備設定模組51控制雲端伺服器20停用斷開的本地設備22所對應的雲端設備32。Step S23: The control device 40 controls the cloud server 20 to disable the cloud device 32 corresponding to the disconnected local device 22 via the device setting module 51.

於一實施例中,控制裝置40是控制雲端伺服器20刪除雲端設備32(如刪除雲端設備32所對應的資料夾或記憶體區段)。In one embodiment, the control device 40 controls the cloud server 20 to delete the cloud device 32 (such as deleting a folder or a memory section corresponding to the cloud device 32).

於一實施例中,控制裝置40還可進一步控制雲端伺服器20停止同步雲端資料33(如中斷同步連線)。In an embodiment, the control device 40 may further control the cloud server 20 to stop synchronizing the cloud data 33 (such as interrupting the synchronization connection).

步驟S24:控制裝置40經由偵測模組55偵測是否存在新的本地設備22 (如管理員將新的本地設備22連接連網裝置21)。Step S24: The control device 40 detects whether a new local device 22 exists through the detection module 55 (for example, the administrator connects the new local device 22 to the network-connected device 21).

若控制裝置40偵測到新的本地設備22,則執行步驟S25。否則,控制裝置40執行步驟S26。If the control device 40 detects a new local device 22, step S25 is performed. Otherwise, the control device 40 executes step S26.

步驟S25:控制裝置40經由設備設定模組51控制雲端伺服器20設定對應新的本地設備22的新的雲端設備32。Step S25: The control device 40 controls the cloud server 20 to set a new cloud device 32 corresponding to the new local device 22 via the device setting module 51.

於一實施例中,控制裝置40還可進一步經由同步模組53控制連網設備21與新的雲端設備32建立新的同步連線,並經由新的同步連線持續同步新的本地設備22的新的本地資料35與新的雲端設備32的新的雲端資料33。In an embodiment, the control device 40 may further control the networked device 21 to establish a new synchronization connection with the new cloud device 32 through the synchronization module 53 and continuously synchronize the new local device 22 via the new synchronization connection. New local profile 35 and new cloud profile 33 of new cloud device 32.

步驟S26:控制裝置40判斷是否停止同步(如管理員是否關閉同步功能,或關閉雲端服務)。Step S26: The control device 40 determines whether to stop synchronization (for example, whether the administrator turns off the synchronization function or closes the cloud service).

若控制裝置40判斷停止同步,則結束設置方法。否則,控制裝置40再次執行步驟S20。When the control device 40 determines that the synchronization is stopped, the setting method is ended. Otherwise, the control device 40 executes step S20 again.

藉此,本發明可有效同步雲端資料與本地資料。Therefore, the present invention can effectively synchronize cloud data with local data.

續請一併參閱圖6及圖8,圖8為本發明一實施例的自動建置雲端服務的方法的部分流程圖。本實施例更提供一種雲端監控功能,可供管理員使用管理設備23來對雲端伺服器20的資料(如雲端應用規則31、雲端設備32與雲端資料33)進行監控。Please refer to FIG. 6 and FIG. 8 together. FIG. 8 is a partial flowchart of a method for automatically establishing a cloud service according to an embodiment of the present invention. This embodiment further provides a cloud monitoring function, which can be used by the administrator to monitor the data of the cloud server 20 (such as cloud application rules 31, cloud devices 32, and cloud data 33) using the management device 23.

具體而言,本實施例的建置方法於步驟S14後更包括用以實現雲端監控功能的以下步驟。Specifically, the building method of this embodiment further includes the following steps to implement the cloud monitoring function after step S14.

步驟S30:雲端伺服器20與管理設備23建立連接。於一實施例中,管理員可進一步操作管理設備23來基於用戶識別資訊36登入雲端伺服器20。並且,於登入完成後,雲端伺服器20可傳送控制介面資料至管理設備23,以使管理設備23依據控制介面資料顯示控制介面。Step S30: The cloud server 20 establishes a connection with the management device 23. In one embodiment, the administrator may further operate the management device 23 to log in to the cloud server 20 based on the user identification information 36. In addition, after the login is completed, the cloud server 20 may send the control interface data to the management device 23 so that the management device 23 displays the control interface according to the control interface data.

步驟S31:雲端伺服器20偵測是否自管理設備23收到任何輸出指令。Step S31: The cloud server 20 detects whether any output instruction is received from the management device 23.

具體而言,管理員可依需求操作控制介面來發送特定輸出指令至雲端伺服器20,以使雲端伺服器20回傳指定資料。前述輸出指令可為要求回傳指定的本地資料35的指令。Specifically, the administrator can operate the control interface to send specific output instructions to the cloud server 20 according to requirements, so that the cloud server 20 returns specified data. The aforementioned output instruction may be an instruction for returning the specified local data 35.

步驟S32:雲端伺服器20取得對應的本地資料35,並回傳至管理設備23。Step S32: The cloud server 20 obtains the corresponding local data 35 and returns it to the management device 23.

於一實施例中,輸出指令是指定一或多個雲端應用規則31,雲端伺服器20是回傳依據所指定的雲端應用規則31進行處理後的資料。In one embodiment, the output instruction specifies one or more cloud application rules 31, and the cloud server 20 returns data processed according to the specified cloud application rules 31.

具體而言,本地應用規則34(與雲端應用規則31)是記錄有對應的本地資料35(與雲端資料33)的處理規則。雲端伺服器20依據輸出指令取得指定的雲端應用規則31,並依據所取得的多個雲端應用規則31及對應的多個雲端資料33產生雲端執行結果,並回傳所產生的雲端執行結果至管理設備23。Specifically, the local application rule 34 (and the cloud application rule 31) is a processing rule in which the corresponding local data 35 (and the cloud data 33) are recorded. The cloud server 20 obtains the specified cloud application rule 31 according to the output instruction, generates a cloud execution result according to the obtained cloud application rules 31 and the corresponding plurality of cloud data 33, and returns the generated cloud execution result to the management. Equipment 23.

於一實施例中,輸出指令是儀錶板(dashboard)指令。雲端伺服器20可依據前述雲端執行結果產生儀表板資料,並回傳儀表板資料至管理設備23以使管理設備23顯示儀表板介面。前述儀表板介面可顯示對應的雲端設備32的狀態(雲端設備32的狀態會與本地設備22的狀態同步)。In one embodiment, the output instruction is a dashboard instruction. The cloud server 20 may generate dashboard data according to the foregoing cloud execution results, and return the dashboard data to the management device 23 so that the management device 23 displays a dashboard interface. The aforementioned dashboard interface can display the status of the corresponding cloud device 32 (the status of the cloud device 32 will be synchronized with the status of the local device 22).

藉此,管理員可透過雲端伺服器20同時查詢多個雲端物聯網系統的本地設備22的狀態,而不須逐一連線至各本地設備22所連接的連網設備21來進行查詢。Thus, the administrator can query the status of the local devices 22 of multiple cloud IoT systems through the cloud server 20 at the same time, without having to connect to the connected devices 21 connected to each local device 22 to perform the query.

圖9為本發明一實施例的自動建置雲端服務的方法的部分流程圖。本實施例更提供初始化功能,可自動對雲端伺服器20與連網設備21進行初始化。FIG. 9 is a partial flowchart of a method for automatically establishing a cloud service according to an embodiment of the present invention. This embodiment further provides an initialization function, which can automatically initialize the cloud server 20 and the connected device 21.

具體而言,於步驟S10之前更包括用以實現初始化功能的以下步驟。Specifically, before step S10, the method further includes the following steps to implement the initialization function.

步驟S40:連網設備21於開機後可判斷自動建置功能是否被開啟。Step S40: After the network-connected device 21 is turned on, it can be determined whether the automatic establishment function is turned on.

具體而言,於本實施例中,管理員可開啟或關閉自動建置功能。並且,當自動建置功能關閉時,本發明將不會自動建置連網設備21的雲端服務。Specifically, in this embodiment, the administrator can enable or disable the automatic construction function. In addition, when the automatic building function is turned off, the present invention will not automatically build the cloud service of the network-connected device 21.

若連網設備21判斷自動建置功能被開啟,則執行步驟S41。否則,連網設備21結束建置方法。If the network-connected device 21 determines that the automatic establishment function is turned on, step S41 is performed. Otherwise, the network-connected device 21 ends the building method.

步驟S41:連網設備21判斷是否連網設備21已完成初始化設定(如雲端伺服器20中是否已有規畫對應連網設備21的連網設備儲存區)。Step S41: The network-connected device 21 determines whether the network-connected device 21 has completed the initialization setting (for example, whether there is already a network-connected device storage area corresponding to the network-connected device 21 in the cloud server 20).

若連網設備21判斷已完成初始化設定,則執行步驟S10。否則,連網設備21執行步驟S42。If the network-connected device 21 determines that the initialization setting is completed, step S10 is performed. Otherwise, the network-connected device 21 executes step S42.

步驟S42:連網設備21取得用戶識別資訊36,並基於用戶識別資訊36登入雲端伺服器20。Step S42: The network-connected device 21 obtains the user identification information 36, and logs in to the cloud server 20 based on the user identification information 36.

步驟S43:連網設備21判斷雲端伺服器20是否已完成初始化設定。Step S43: The network-connected device 21 determines whether the cloud server 20 has completed the initialization setting.

於一實施例中,連網設備21於雲端伺服器20未被規畫用戶儲存區700及/或連網設備21尚未取得設定資料時判定雲端伺服器20未完成初始化設定。In one embodiment, the connected device 21 determines that the cloud server 20 has not completed the initialization setting when the cloud server 20 has not planned the user storage area 700 and / or the connected device 21 has not obtained the setting data.

若連網設備21判斷雲端伺服器20已完成初始化設定,則執行步驟S44。否則,連網設備21執行步驟S46。If the network-connected device 21 determines that the cloud server 20 has completed the initialization setting, step S44 is performed. Otherwise, the network-connected device 21 executes step S46.

步驟S44:連網設備21取得設定資料,前述設定資料包括有雲端伺服器20的連結資訊與雲端伺服器20所規畫的用戶儲存區30的相關資訊。Step S44: The network-connected device 21 obtains setting data, and the foregoing setting data includes link information of the cloud server 20 and related information of the user storage area 30 planned by the cloud server 20.

步驟S45:連網設備21並依據設定資料的連接資訊連接雲端伺服器20,並依據用戶儲存區30的相關資訊於雲端伺服器20中規劃連網設備儲存區。前述連網設備儲存區於後續的建置步驟中是用來存放與連網設備21相關的資料(如雲端應用規則31、雲端設備32或雲端資料33)。Step S45: The networked device 21 is connected to the cloud server 20 according to the connection information of the configuration data, and the networked device storage area is planned in the cloud server 20 according to the relevant information of the user storage area 30. The aforementioned networking device storage area is used to store data related to the networking device 21 (such as cloud application rule 31, cloud device 32, or cloud data 33) in the subsequent building steps.

於一實施例中,連網設備21並依據設定資料的服務資訊使用雲端伺服器20的各雲端服務。In one embodiment, the network device 21 uses the cloud services of the cloud server 20 according to the service information of the configuration data.

接著,連網設備21完成初始化設定並重新啟動,並可於重新啟動後再次執行步驟S40。Then, the network-connected device 21 completes the initialization settings and restarts, and can execute step S40 again after restarting.

若於步驟S43中連網設備21判斷雲端伺服器20未完成初始化設定,則執行步驟S46:設定程式於被設定設備24執行後連接連網設備21,並依據用戶識別資訊36於雲端伺服器20中規劃對應的用戶儲存區30。If the connected device 21 determines in step S43 that the cloud server 20 has not completed the initialization setting, then execute step S46: the setting program connects to the connected device 21 after the set device 24 executes, and according to the user identification information 36 on the cloud server 20 The corresponding user storage area 30 is planned.

於一實施例中,設定設備24還產生連接資訊,前述連接資訊可記錄有雲端伺服器20的網路位址、登入帳號及/或登入密碼,但不以此限定。In an embodiment, the setting device 24 also generates connection information. The foregoing connection information may record the network address, login account, and / or login password of the cloud server 20, but is not limited thereto.

步驟S47:設定設備24於雲端伺服器20中初始化一或多個雲端服務(如檔案傳輸服務、網站服務或其他應用服務)並產生各雲端服務的服務資訊。Step S47: The setting device 24 initializes one or more cloud services (such as a file transfer service, a website service, or other application services) in the cloud server 20 and generates service information of each cloud service.

步驟S48:設定設備24依據連接資訊及服務資訊產生設定資料,並傳送設定資料至連網設備21Step S48: The setting device 24 generates setting data according to the connection information and service information, and sends the setting data to the networked device 21

藉此,本發明可有效完成連網設備21與雲端伺服器20的初始化設定。Accordingly, the present invention can effectively complete the initialization settings of the networked device 21 and the cloud server 20.

以上所述僅為本發明的較佳具體實例,非因此即侷限本發明的專利範圍,故舉凡運用本發明內容所為的等效變化,均同理皆包含於本發明的範圍內,合予陳明。The above description is only a preferred specific example of the present invention, and therefore does not limit the scope of the patent of the present invention. Therefore, any equivalent changes made by using the content of the present invention are included in the scope of the present invention in the same way. Bright.

10‧‧‧物聯網系統10‧‧‧IoT System

100‧‧‧管理設備100‧‧‧Management equipment

101‧‧‧閘道器101‧‧‧Gateway

102‧‧‧本地設備102‧‧‧ local equipment

20‧‧‧雲端伺服器20‧‧‧ Cloud Server

21‧‧‧連網設備21‧‧‧ Connected Equipment

22‧‧‧本地設備22‧‧‧ Local Device

23‧‧‧管理設備23‧‧‧Management Equipment

24‧‧‧設定設備24‧‧‧ Setting Equipment

30‧‧‧用戶儲存區30‧‧‧User storage area

31‧‧‧雲端應用規則31‧‧‧ Cloud Application Rules

32‧‧‧雲端設備32‧‧‧ Cloud Device

33‧‧‧雲端資料33‧‧‧Cloud Data

34‧‧‧本地應用規則34‧‧‧ Local Application Rules

35‧‧‧本地資料35‧‧‧ Local Information

36‧‧‧用戶識別資訊36‧‧‧User Identification Information

37‧‧‧電腦程式37‧‧‧Computer Program

40‧‧‧控制裝置40‧‧‧control device

41‧‧‧儲存裝置41‧‧‧Storage device

42‧‧‧第一網路裝置42‧‧‧The first network device

43‧‧‧第二網路裝置43‧‧‧Second network device

44‧‧‧本地設備44‧‧‧ local equipment

50‧‧‧連線控制模組50‧‧‧Connection control module

51‧‧‧設備設定模組51‧‧‧Device Setting Module

52‧‧‧應用模組52‧‧‧Application Module

53‧‧‧同步模組53‧‧‧Sync Module

54‧‧‧規則設定模組54‧‧‧ Rule Setting Module

55‧‧‧偵測模組55‧‧‧ Detection Module

56‧‧‧更新模組56‧‧‧Update Module

57‧‧‧初始化模組57‧‧‧ initialization module

58‧‧‧閘道器模組58‧‧‧Gateway Module

60‧‧‧雲端伺服器60‧‧‧ Cloud Server

61‧‧‧第一連網設備61‧‧‧The first network equipment

62‧‧‧第一本地設備62‧‧‧The first local device

63‧‧‧第二連網設備63‧‧‧Second network equipment

64‧‧‧第二本地設備64‧‧‧Second local device

65‧‧‧管理設備65‧‧‧Management equipment

700‧‧‧用戶儲存區700‧‧‧user storage area

701‧‧‧第一雲端應用規則701‧‧‧First Cloud Application Rule

702‧‧‧第一雲端設備702‧‧‧The first cloud device

703‧‧‧第一雲端資料703‧‧‧First Cloud Data

704‧‧‧第一雲端集線器704‧‧‧First Cloud Hub

705‧‧‧第一本地應用規則705‧‧‧First Local Application Rule

706‧‧‧第一本地資料706‧‧‧First local information

711‧‧‧第二雲端應用規則711‧‧‧Second Cloud Application Rule

712‧‧‧第二雲端設備712‧‧‧Second Cloud Device

713‧‧‧第二雲端資料713‧‧‧Second Cloud Data

714‧‧‧第二雲端集線器714‧‧‧Second Cloud Hub

715‧‧‧第二本地應用規則715‧‧‧Second Local Application Rule

716‧‧‧第二本地資料716‧‧‧Second local information

80‧‧‧第一連網設備儲存區80‧‧‧The first networked equipment storage area

81‧‧‧第二連網設備儲存區81‧‧‧Second connected equipment storage area

S10-S14‧‧‧建置步驟S10-S14‧‧‧Building steps

S20-S26‧‧‧偵測步驟S20-S26‧‧‧ Detection steps

S30-S32‧‧‧監控步驟S30-S32‧‧‧Monitoring steps

S40-S48‧‧‧初始化步驟S40-S48‧‧‧ Initialization steps

圖1為現有的物聯網系統的架構圖。FIG. 1 is an architecture diagram of an existing Internet of Things system.

圖2為本發明一實施例的雲端物聯網系統的架構圖。FIG. 2 is a structural diagram of a cloud IoT system according to an embodiment of the present invention.

圖3為本發明一實施例的連網設備的架構圖。FIG. 3 is a structural diagram of a networked device according to an embodiment of the present invention.

圖4為本發明一實施例的控制裝置的架構圖。FIG. 4 is a structural diagram of a control device according to an embodiment of the present invention.

圖5為本發明一實施例的雲端物聯網系統的架構圖。FIG. 5 is a structural diagram of a cloud IoT system according to an embodiment of the present invention.

圖6為本發明一實施例的自動建置雲端服務的方法的流程圖。FIG. 6 is a flowchart of a method for automatically establishing a cloud service according to an embodiment of the present invention.

圖7為本發明一實施例的自動建置雲端服務的方法的部分流程圖。FIG. 7 is a partial flowchart of a method for automatically establishing a cloud service according to an embodiment of the present invention.

圖8為本發明一實施例的自動建置雲端服務的方法的部分流程圖。FIG. 8 is a partial flowchart of a method for automatically establishing a cloud service according to an embodiment of the present invention.

圖9為本發明一實施例的自動建置雲端服務的方法的部分流程圖。FIG. 9 is a partial flowchart of a method for automatically establishing a cloud service according to an embodiment of the present invention.

Claims (8)

一種自動建置雲端服務的方法,包括以下步驟: a) 控制一連網設備依據一用戶識別資訊登入一雲端伺服器; b) 取得一本地設備的一設備識別資訊; c) 依據該用戶識別資訊及該設備識別資訊於該雲端伺服器設定對應該本地設備的虛擬的一雲端設備; d) 與該雲端設備建立一同步連線,並經由該同步連線持續同步該本地設備的一本地資料與該雲端設備的一雲端資料;及 e) 依據運用該本地資料的一本地應用規則於該雲端伺服器設定運用該雲端資料的一雲端應用規則,其中依據該雲端資料及該雲端應用規則所產生的一雲端執行結果對應依據該本地資料及該本地應用規則所產生的一本地執行結果。A method for automatically establishing a cloud service includes the following steps: a) controlling a connected device to log in to a cloud server based on user identification information; b) obtaining a device identification information of a local device; c) according to the user identification information and The device identification information is set in the cloud server to correspond to a virtual cloud device of the local device; d) establishing a synchronous connection with the cloud device, and continuously synchronizing a local data of the local device with the cloud device via the synchronous connection; A cloud data of a cloud device; and e) setting a cloud application rule using the cloud data on the cloud server according to a local application rule using the local data, wherein a cloud application rule generated based on the cloud data and the cloud application rule The cloud execution result corresponds to a local execution result generated according to the local data and the local application rule. 如請求項1所述的自動建置雲端服務的方法,其中更包括一步驟f) 於偵測該本地應用規則改變時依據改變後的該本地應用規則控制該雲端伺服器更新對應的該雲端應用規則。The method for automatically building a cloud service according to claim 1, further comprising a step f) controlling the cloud server to update the corresponding cloud application according to the changed local application rule when detecting the change of the local application rule rule. 如請求項1所述的自動建置雲端服務的方法,其中更包括以下步驟: g1) 於偵測該連網設備斷開該本地設備時控制該雲端伺服器停用對應的該雲端設備,並停止同步對應的該雲端資料; g2) 於偵測該連網設備連接新的該本地設備時控制該雲端伺服器設定對應新的該本地設備的新的該雲端設備;及 g3) 控制該連網設備與新的該雲端設備建立新的該同步連線,並經由新的該同步連線持續同步新的該本地設備的新的該本地資料與新的該雲端設備的新的該雲端資料。The method for automatically building a cloud service according to claim 1, further comprising the following steps: g1) controlling the cloud server to deactivate the corresponding cloud device when detecting that the connected device disconnects the local device, and Stop synchronizing the corresponding cloud data; g2) control the cloud server to set the new cloud device corresponding to the new local device when detecting that the networked device is connected to the new local device; and g3) control the network connection The device establishes a new synchronization connection with the new cloud device, and continuously synchronizes the new local data of the new local device with the new cloud data of the new cloud device via the new synchronization connection. 如請求項1所述的自動建置雲端服務的方法,其中更包括以下步驟: h1) 控制該雲端伺服器與一管理設備建立連接; h2) 於自該管理設備收到一輸出指令後依據該輸出指令選擇該多個雲端應用規則;及 h3) 依據所選擇的該多個雲端應用規則及對應的該多個雲端資料產生該多個雲端執行結果,依據該多個雲端執行結果產生一儀表板資料,並傳送該儀表板資料至該管理設備以顯示一儀表板介面。The method for automatically building a cloud service according to claim 1, further comprising the following steps: h1) controlling the cloud server to establish a connection with a management device; h2) after receiving an output instruction from the management device, according to the Output instructions to select the plurality of cloud application rules; and h3) generate the plurality of cloud execution results according to the selected plurality of cloud application rules and the corresponding plurality of cloud data, and generate a dashboard based on the plurality of cloud execution results Data, and sends the dashboard data to the management device to display a dashboard interface. 如請求項1所述的自動建置雲端服務的方法,其中更包括以下步驟: i1) 控制該雲端伺服器與一管理設備建立連接; i2) 於自該管理設備收到一設定指令後依據該設定指令設定該雲端資料或該應用規則;及 i3) 傳送該設定指令至該連網設備以依據該設定指令設定該本地資料或該本地應用規則。The method for automatically establishing a cloud service according to claim 1, further comprising the following steps: i1) controlling the cloud server to establish a connection with a management device; i2) after receiving a setting instruction from the management device, according to the The setting instruction sets the cloud data or the application rule; and i3) sends the setting instruction to the networked device to set the local data or the local application rule according to the setting instruction. 如請求項1所述的自動建置雲端服務的方法,其中於該步驟b)之前更包括一步驟j1) 控制該連網設備於該連網設備未完成設定時取得一設定資料,並依據該設定資料於該雲端伺服器中規劃一連網設備儲存區。The method for automatically building a cloud service as described in claim 1, further comprising a step j1) before step b) controlling the networked device to obtain a setting data when the networked device is not set up, and according to the The configuration data is used to plan a connected device storage area in the cloud server. 如請求項6所述的自動建置雲端服務的方法,其中該步驟j1)被設定為控制該連網設備於該連網設備未完成設定且該雲端伺服器已完成設定時取得該設定資料,並依據該設定資料於該雲端伺服器的一用戶儲存區中規劃該連網設備儲存區。The method for automatically building a cloud service according to claim 6, wherein step j1) is configured to control the connected device to obtain the setting data when the connected device has not completed the setting and the cloud server has completed the setting, The network device storage area is planned in a user storage area of the cloud server according to the setting data. 如請求項6所述的自動建置雲端服務的方法,其中於該步驟b)之前更包括以下步驟: j2) 控制一設定設備於該連網設備未完成設定且該雲端伺服器未完成設定時連接該連網設備; j3) 依據該用戶識別資訊於該雲端伺服器中規劃一用戶儲存區並產生一連接資訊; j4) 於該雲端伺服器中初始化一雲端服務並產生一服務資訊;及 j5) 依據該連接資訊及該服務資訊產生該設定資料,並傳送該設定資料至該連網設備。The method for automatically building a cloud service as described in claim 6, further including the following steps before step b): j2) controlling a setting device when the connected device has not been set and the cloud server has not been set Connect the connected device; j3) plan a user storage area in the cloud server and generate a connection information according to the user identification information; j4) initialize a cloud service in the cloud server and generate a service information; and j5 ) Generate the setting data according to the connection information and the service information, and send the setting data to the networked device.
TW107116676A 2018-05-16 2018-05-16 Method of automatically building cloud services thereof TW201947911A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107116676A TW201947911A (en) 2018-05-16 2018-05-16 Method of automatically building cloud services thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107116676A TW201947911A (en) 2018-05-16 2018-05-16 Method of automatically building cloud services thereof

Publications (1)

Publication Number Publication Date
TW201947911A true TW201947911A (en) 2019-12-16

Family

ID=69583060

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107116676A TW201947911A (en) 2018-05-16 2018-05-16 Method of automatically building cloud services thereof

Country Status (1)

Country Link
TW (1) TW201947911A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI786461B (en) * 2020-11-09 2022-12-11 財團法人工業技術研究院 Information translation device, method, system and computer readable recording medium based on modbus
TWI801730B (en) * 2020-04-07 2023-05-11 神雲科技股份有限公司 Server with system setting data synchronization function

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI801730B (en) * 2020-04-07 2023-05-11 神雲科技股份有限公司 Server with system setting data synchronization function
TWI786461B (en) * 2020-11-09 2022-12-11 財團法人工業技術研究院 Information translation device, method, system and computer readable recording medium based on modbus

Similar Documents

Publication Publication Date Title
EP3361707B1 (en) Method and apparatus for controlling and managing a field device using an industry internet operating system
US8909758B2 (en) Physical server discovery and correlation
US9806900B2 (en) Wireless provisioning and configuring of hardware elements of a home automation system
TW201543243A (en) Capability monitoring in a service oriented architecture
TW201916643A (en) Role-based automatic configuration system and method for ethernet switches
TW201947911A (en) Method of automatically building cloud services thereof
US11221889B2 (en) Method of deploying cloud services quickly
US11171868B2 (en) Systems and methods for centrally-assisted distributed hash table
US10713278B2 (en) Flexible configuration of offline synchronization scope
JP2007019947A (en) Communication system and filter setting method
JP6021853B2 (en) Network configuration information providing apparatus, network configuration information providing method, and program
TWI722643B (en) Method of deploying cloud services quickly
JP4863126B2 (en) Server monitoring system and server monitoring method
WO2023216035A1 (en) Security domain management method and apparatus, device, storage medium and program product
TWI838172B (en) Private network and edge application provisioning management system, method and computer readable medium thereof
JP6913780B2 (en) How to detect changes in a shop floor system
CN112910934A (en) Method for rapidly deploying cloud service
JP2022033632A5 (en)
WO2021119314A1 (en) Managing multiple image devices
JP6021852B2 (en) Network construction control device, network construction method, and program
CN114629747A (en) Gateway connection method, Internet of things equipment, gateway and Internet of things system
CN116938625A (en) Internet of things intelligent device control method and device, electronic device and storage medium
US20180357844A1 (en) Frameworks and methodologies configured to provide access to building devices via domain concept abstraction
JP2009026270A (en) Connection control program of broadcasting equipment
JP2011130360A (en) Relay server, and client terminal