TWI722643B - Method of deploying cloud services quickly - Google Patents

Method of deploying cloud services quickly Download PDF

Info

Publication number
TWI722643B
TWI722643B TW108140490A TW108140490A TWI722643B TW I722643 B TWI722643 B TW I722643B TW 108140490 A TW108140490 A TW 108140490A TW 108140490 A TW108140490 A TW 108140490A TW I722643 B TWI722643 B TW I722643B
Authority
TW
Taiwan
Prior art keywords
cloud
virtual machine
data
local
end device
Prior art date
Application number
TW108140490A
Other languages
Chinese (zh)
Other versions
TW202119397A (en
Inventor
邱玉琴
Original Assignee
新漢智能系統股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 新漢智能系統股份有限公司 filed Critical 新漢智能系統股份有限公司
Priority to TW108140490A priority Critical patent/TWI722643B/en
Application granted granted Critical
Publication of TWI722643B publication Critical patent/TWI722643B/en
Publication of TW202119397A publication Critical patent/TW202119397A/en

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

A method of deploying cloud services quickly is provided. The method is to make a local apparatus be connected to a cloud virtual machine of a cloud server, establish a cloud agent module in the cloud virtual machine, continuously synchronize local data from the local apparatus to the cloud virtual machine and converse the local data into cloud structured data, upload local data flow task from the local apparatus to the cloud virtual machine for configuring cloud task program. A cloud execution result based on the cloud task program and the cloud structured data corresponds to a local execution result based on the local data and the local data flow task.

Description

快速部署雲端服務的方法 A method to quickly deploy cloud services

本發明是與雲端服務有關,特別有關於部署雲端服務的方法。 The present invention is related to cloud services, and particularly relates to methods for deploying cloud services.

現有的物聯網系統通常是由管理設備、閘道器與多個本地設備所組成。本地設備連接閘道器,並用來獲取資料流(如感測資料)。管理設備可透過內部網路(如區域網路或企業私有網路)連接閘道器。 Existing IoT systems usually consist of management equipment, gateways, and multiple local devices. The local device is connected to the gateway and used to obtain data streams (such as sensing data). The management device can be connected to the gateway through an internal network (such as a local area network or a corporate private network).

當管理員欲監控本地設備時,是操作管理設備來經由前述內部網路連接閘道器,並經由閘道器查看本地設備的運轉狀態與資料流以對本地設備進行監控與管理 When the administrator wants to monitor the local equipment, it is to operate the management equipment to connect to the gateway via the aforementioned internal network, and to view the operating status and data flow of the local equipment through the gateway to monitor and manage the local equipment

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

本發明提供一種快速部署雲端服務的方法,可供用戶便捷地將近端設備的服務快速部署至雲端伺服器,而不需要複雜的操作設定。 The present invention provides a method for rapidly deploying cloud services, which allows users to quickly deploy services of near-end devices to a cloud server without requiring complicated operation settings.

於一實施例中,一種快速部署雲端服務的方法,用以將近端設備的服務部署至雲端伺服器,快速部署雲端服務的方法包括以下步驟:於近端設備依據雲端虛擬機器連接資訊連接雲端伺服器的雲端虛擬機器;於雲端虛擬機 器建置雲端代理模組;使近端設備與雲端伺服器建立雲端同步連線,並經由雲端同步連線持續同步近端設備的本地資料至雲端虛擬機器;於雲端虛擬機器經由雲端代理模組轉換本地資料為雲端結構化資料;上傳近端設備的本地資料流程工作至雲端虛擬機器;及,於雲端虛擬機器經由雲端代理模組依據本地資料流程工作設定雲端工作程式,其中基於雲端工作程式及雲端結構化資料所產生的雲端執行結果對應基於本地資料及本地資料流程工作所產生的本地執行結果。 In one embodiment, a method for quickly deploying cloud services is used to deploy services of a near-end device to a cloud server. The method for quickly deploying cloud services includes the following steps: connecting the near-end device to the cloud server according to cloud virtual machine connection information Cloud virtual machine of the device; in the cloud virtual machine Build a cloud proxy module for the local device; establish a cloud synchronization connection between the near-end device and the cloud server, and continuously synchronize the local data of the near-end device to the cloud virtual machine through the cloud synchronization connection; use the cloud proxy module on the cloud virtual machine Convert local data to cloud structured data; upload the local data flow job of the near-end device to the cloud virtual machine; and set the cloud working program on the cloud virtual machine according to the local data flow job through the cloud proxy module, which is based on the cloud working program and The cloud execution result generated by the cloud structured data corresponds to the local execution result generated based on the local data and the local data process work.

本發明可快速且有效地將近端設備的服務部署至雲端伺服器,並可適用於不同的雲端服務供應商。 The invention can quickly and effectively deploy the service of the near-end device to the cloud server, and is applicable to different cloud service providers.

10:連網設備 10: Connected equipment

101:第一本地部署模組 101: The first local deployment module

102:第二本地部署模組 102: The second local deployment module

103:第三本地部署模組 103: Third Local Deployment Module

104:本地資料流程工作 104: Local data flow work

105:本地資料 105: local data

11:第一雲端伺服器 11: The first cloud server

110:雲端設備 110: Cloud device

114:雲端資料流程工作 114: Cloud data flow work

115:雲端資料 115: Cloud data

12:第二雲端伺服器 12: The second cloud server

13:第三雲端伺服器 13: The third cloud server

14:本地設備 14: local device

20:近端設備 20: Near-end equipment

201:本地資料流程工作 201: Local data flow work

202:本地資料 202: local data

203:近端部署模組 203: Local deployment module

21:雲端伺服器 21: Cloud server

210:雲端虛擬機器 210: Cloud Virtual Machine

211:雲端工作程式 211: Cloud Work Program

212:雲端結構化資料 212: Cloud structured data

213:雲端代理模組 213: Cloud Proxy Module

22:用戶電子設備 22: consumer electronic equipment

23:管理設備 23: Manage equipment

24:設定設備 24: Set up the device

30:第一近端設備 30: The first near-end device

301:本地資料流程工作 301: Local data flow work

302:本地資料 302: local data

303:近端部署模組 303: Local deployment module

31:第二近端設備 31: The second near-end device

311:本地資料流程工作 311: Local data flow work

312:本地資料 312: local data

313:近端部署模組 313: Local deployment module

32:雲端伺服器 32: Cloud server

320:雲端虛擬機器 320: cloud virtual machine

321:第一雲端工作程式 321: The first cloud working program

322:第一雲端結構化資料 322: The first cloud structured data

323:第二雲端工作程式 323: Second Cloud Work Program

324:第二雲端結構化資料 324: Second cloud structured data

325:雲端代理模組 325: Cloud Proxy Module

40:近端設備 40: Near-end equipment

401:本地資料流程工作 401: Local data flow work

402:本地資料 402: local data

403:近端部署模組 403: Local deployment module

41:第一雲端伺服器 41: The first cloud server

410:雲端虛擬機器 410: Cloud Virtual Machine

411:雲端工作程式 411: Cloud Work Program

412:雲端結構化資料 412: Cloud structured data

413:雲端代理模組 413: Cloud Proxy Module

42:第二雲端伺服器 42: The second cloud server

420:雲端虛擬機器 420: cloud virtual machine

421:雲端工作程式 421: Cloud Work Program

422:雲端結構化資料 422: Cloud structured data

423:雲端代理模組 423: Cloud Proxy Module

50:連網設備 50: Connected equipment

500:近端部署模組 500: Local deployment module

501:本地資料流程工作 501: Local data flow work

502:本地資料 502: local data

503:雲端虛擬機器連接資訊 503: Cloud virtual machine connection information

504:邊緣伺服器連接資訊 504: Edge server connection information

505:邊緣代理模組 505: Edge Agent Module

51、52:本地設備 51, 52: local device

510、520:本地資料 510, 520: local data

53:邊緣伺服器 53: Edge Server

530:邊緣資料流程工作 530: Edge Data Process Work

531:邊緣資料 531: Edge Data

532:邊緣代理模組 532: Edge Agent Module

533:本地資料 533: local data

54:雲端伺服器 54: Cloud server

540:雲端虛擬機器 540: Cloud Virtual Machine

541:雲端工作程式 541: Cloud Work Program

542:雲端結構化資料 542: Cloud structured data

543:雲端代理模組 543: Cloud Proxy Module

55:連網設備 55: Connected equipment

56:本地設備 56: local device

57:管理設備 57: Management equipment

58:設定設備 58: Set up the device

6:閘道器 6: Gateway

60:處理裝置 60: processing device

61:儲存裝置 61: storage device

62:第一網路裝置 62: The first network device

63:第二網路裝置 63: second network device

S10-S15:第一部署步驟 S10-S15: first deployment step

S20-S24:使用步驟 S20-S24: Use steps

S30-S32:建置步驟 S30-S32: build steps

S40-S48:同步步驟 S40-S48: Synchronization steps

S500-S511:第二部署步驟 S500-S511: Second deployment step

圖1為本發明一實施態樣的具有雲端服務能力的物聯網系統的架構圖。 FIG. 1 is an architecture diagram of an IoT system with cloud service capability according to an embodiment of the present invention.

圖2為本發明第一實施態樣的具有雲端服務能力的物聯網系統的架構圖。 Fig. 2 is an architecture diagram of an Internet of Things system with cloud service capabilities according to the first embodiment of the present invention.

圖3為本發明第二實施態樣的具有雲端服務能力的物聯網系統的架構圖。 Fig. 3 is an architecture diagram of an Internet of Things system with cloud service capabilities in a second embodiment of the present invention.

圖4為本發明第三實施態樣的具有雲端服務能力的物聯網系統的架構圖。 Fig. 4 is an architecture diagram of an Internet of Things system with cloud service capabilities according to the third embodiment of the present invention.

圖5為本發明第四實施態樣的具有雲端服務能力的物聯網系統的架構圖。 Fig. 5 is an architecture diagram of an Internet of Things system with cloud service capabilities in a fourth embodiment of the present invention.

圖6為本發明第五實施態樣的連網設備的架構圖。 Fig. 6 is a structural diagram of a networking device according to a fifth embodiment of the present invention.

圖7為本發明第一實施例的快速部署雲端服務的方法的流程圖。 FIG. 7 is a flowchart of a method for rapidly deploying cloud services according to the first embodiment of the present invention.

圖8為本發明第二實施例的使用雲端服務的流程圖。 FIG. 8 is a flowchart of using cloud services according to the second embodiment of the present invention.

圖9為本發明第三實施例的建置雲端虛擬機器的流程圖。 FIG. 9 is a flowchart of building a cloud virtual machine according to the third embodiment of the present invention.

圖10為本發明第四實施例的同步處理的流程圖。 Fig. 10 is a flowchart of synchronization processing in the fourth embodiment of the present invention.

圖11為本發明第五實施例的快速部署雲端服務的方法的流程圖。 FIG. 11 is a flowchart of a method for rapidly deploying cloud services according to a fifth embodiment of the present invention.

茲就本發明的一較佳實施例,配合圖式,詳細說明如後。 With regard to a preferred embodiment of the present invention, in conjunction with the drawings, the detailed description is as follows.

請參閱圖1,為本發明一實施態樣的具有雲端服務能力的物聯網系統的架構圖。本發明提出一種具有雲端服務能力的物聯網系統,可自動將連網設備10的本地服務部署至雲端伺服器(如第一雲端伺服器11、第二雲端伺服器12或第三雲端伺服器13)而使管理員可經由雲端伺服器對近端設備進行監控與管理。 Please refer to FIG. 1, which is an architecture diagram of an IoT system with cloud service capabilities according to an embodiment of the present invention. The present invention provides an Internet of Things system with cloud service capabilities, which can automatically deploy local services of the connected device 10 to a cloud server (such as the first cloud server 11, the second cloud server 12, or the third cloud server 13 ) So that the administrator can monitor and manage the near-end devices through the cloud server.

第一雲端伺服器11、第二雲端伺服器12及第三雲端伺服器13可分別為不同的雲端服務供應商(如Microsoft Azure、Amazon Web Service或Google Cloud Platform)的伺服器。第一本地部署模組101、第二本地部署模組102及第三本地部署模組103則是分別用來與不同雲端服務供應商的第一雲端伺服器11、第二雲端伺服器12及第三雲端伺服器13進行通訊。 The first cloud server 11, the second cloud server 12, and the third cloud server 13 may be servers of different cloud service providers (such as Microsoft Azure, Amazon Web Service, or Google Cloud Platform). The first local deployment module 101, the second local deployment module 102, and the third local deployment module 103 are respectively used to communicate with the first cloud server 11, the second cloud server 12, and the second cloud server of different cloud service providers. The three cloud servers 13 communicate.

連網設備10儲存有多個本地資料流程工作104,並可由經由內部網路自不同的本地設備14獲得多個本地資料105。各本地資料流程工作104是用來實現不同資料服務。具體而言,各本地資料流程工作104是用來對指定的一或多個本地資料105進行處理來產生用於此資料服務的執行結果。 The networked device 10 stores a plurality of local data flow tasks 104, and can obtain a plurality of local data 105 from different local devices 14 via the internal network. Each local data flow job 104 is used to implement different data services. Specifically, each local data flow task 104 is used to process the specified one or more local data 105 to generate the execution result for the data service.

於圖1的物聯網系統中,當用戶欲將前述本地服務雲端化時,必須在連網設備10上建置本地部署模組(如第一本地部署模組101、第二本地部署模組102及第三本地部署模組103)。 In the IoT system of FIG. 1, when the user wants to cloudize the aforementioned local service, he must build a local deployment module (such as the first local deployment module 101, the second local deployment module 102 on the connected device 10). And the third local deployment module 103).

以透過第一本地部署模組101將服務部署至第一雲端伺服器11為例,連網設備10可透過第一本地部署模組101於第一雲端伺服器11中建置多個用以模擬本地設備14的雲端設備110,雲端設備110與對應的本地設備14是維持同步(即雲端設備110所儲存的雲端資料115是與本地設備14提供的本地資料105相同)。並且,連網設備10還可透過第一本地部署模組101於第一雲端伺服器11中建置與多個本地資料流程工作104相同的多個雲端資料流程工作114。 Taking the deployment of the service to the first cloud server 11 through the first local deployment module 101 as an example, the networked device 10 can build multiple models in the first cloud server 11 through the first local deployment module 101 to simulate The cloud device 110 of the local device 14 maintains synchronization between the cloud device 110 and the corresponding local device 14 (that is, the cloud data 115 stored by the cloud device 110 is the same as the local data 105 provided by the local device 14). In addition, the networked device 10 can also use the first local deployment module 101 to build a plurality of cloud data flow tasks 114 that are the same as the plurality of local data flow tasks 104 in the first cloud server 11.

藉此,用戶可直接透過網際網路連至第一雲端伺服器11來執行前述資料服務,而不須透過內部網路連接連網設備10。並且,由於雲端設備110的雲端資料115是於本地資料105維持同步,用戶於第一雲端伺服器11所獲得的雲端執行結果會與本地執行結果相同。 In this way, the user can directly connect to the first cloud server 11 through the Internet to execute the aforementioned data service without connecting to the network device 10 through the internal network. Moreover, since the cloud data 115 of the cloud device 110 is synchronized with the local data 105, the cloud execution result obtained by the user on the first cloud server 11 will be the same as the local execution result.

然而,由於不同的雲端服務供應商是使用不同的傳輸協定,前述本地部署模組是針對所選擇的雲端服務供應商(如Microsoft Azure)的傳輸協定所開發,而僅適用於此雲端服務供應商。一旦用戶更換新的雲端服務供應商(如Amazon Web Service),必須針對新的雲端服務供應商的新的傳輸協定開發新的本地部署模組,這增加了研發成本,且造成雲端服務上架時間的推遲。 However, because different cloud service providers use different transmission protocols, the aforementioned local deployment module is developed for the transmission protocol of the selected cloud service provider (such as Microsoft Azure), and is only applicable to this cloud service provider . Once the user changes to a new cloud service provider (such as Amazon Web Service), a new local deployment module must be developed for the new transmission protocol of the new cloud service provider, which increases the cost of research and development and causes time for the cloud service to be launched. put off.

此外,雲端伺服器會將所收到的資料轉換為所屬的雲端服務供應商的特有結構,這使得僅有使用此雲端服務供應商所提供的開發工具(如API)所開發雲端程式(如用來模擬雲端設備110的程式)才可在此雲端服務供應商提供的執行環境進行資料處理(如產生雲端執行結果)。然而,由於不同的雲端服務供應商是採用不同的特有結構,這使得用戶一旦更換新的雲端服務供應商,必 須針對新的雲端服務供應商重新開發雲端程式,這增加了研發成本,且造成雲端服務上架時間的推遲。 In addition, the cloud server converts the received data into the unique structure of the cloud service provider to which it belongs, which makes it only use the development tools (such as API) provided by the cloud service provider to develop cloud programs (if used) The program to simulate the cloud device 110) can perform data processing (such as generating cloud execution results) in the execution environment provided by the cloud service provider. However, because different cloud service providers adopt different unique structures, users must change to a new cloud service provider once they change to a new cloud service provider. It is necessary to re-develop cloud programs for new cloud service providers, which increases research and development costs and delays the launch of cloud services.

請同時參閱圖2,圖2為本發明第一實施態樣的具有雲端服務能力的物聯網系統的架構圖,圖7為本發明第一實施例的快速部署雲端服務的方法的流程圖。 Please refer to FIG. 2 at the same time. FIG. 2 is an architecture diagram of an IoT system with cloud service capability according to the first embodiment of the present invention. FIG. 7 is a flowchart of a method for rapidly deploying cloud services according to the first embodiment of the present invention.

為解決上述問題,本發明另外提出一種具有雲端服務能力的物聯網系統(下稱雲端物聯網系統)與快速部署雲端服務的方法。雲端物聯網系統主要包括近端設備20與雲端伺服器21。近端設備20是經由公開網路(如網際網路)連接雲端伺服器21。 In order to solve the above problems, the present invention additionally proposes an Internet of Things system with cloud service capabilities (hereinafter referred to as the Cloud Internet of Things system) and a method for rapidly deploying cloud services. The cloud IoT system mainly includes a near-end device 20 and a cloud server 21. The near-end device 20 is connected to the cloud server 21 via a public network (such as the Internet).

本發明主要是令近端設備20直接與雲端伺服器21中的雲端虛擬機器(virtual machine)210進行通訊,由於沒有直接使用到雲端服務供應商提供的執行環境,可不需使用雲端服務供應商指定的傳輸協定,這使得本發明即便更換雲端服務供應商,也不需重新開發近端部署模組203。 The present invention mainly enables the near-end device 20 to directly communicate with the cloud virtual machine (virtual machine) 210 in the cloud server 21. Since the execution environment provided by the cloud service provider is not directly used, the cloud service provider designation is not required This makes it unnecessary to re-develop the near-end deployment module 203 even if the cloud service provider is changed in the present invention.

此外,本發明還經由雲端虛擬機器210來提供執行環境,由於雲端虛擬機器210的規格是由用戶自行設定,用戶可於不同雲端服務供應商的雲端伺服器中創建相同規格的雲端虛擬機器210,這使得本發明即便更換雲端服務供應商,也不會改變執行環境,而不需重新開發雲端程式。 In addition, the present invention also provides an execution environment through the cloud virtual machine 210. Since the specifications of the cloud virtual machine 210 are set by the user, the user can create the cloud virtual machine 210 of the same specification in the cloud servers of different cloud service providers. This enables the present invention to change the execution environment even if the cloud service provider is changed, and the cloud program does not need to be re-developed.

具體而言,於本發明中,雲端伺服器21可於雲端服務部署完成後經由網際網路提供所部署的雲端服務。 Specifically, in the present invention, the cloud server 21 can provide the deployed cloud service via the Internet after the cloud service deployment is completed.

近端設備20中建置有近端部署模組203,並可取得(如自內建記憶體讀取或自外部設備接收)多個本地資料流程工作201與多個本地資料202。 A near-end deployment module 203 is built in the near-end device 20, and multiple local data process tasks 201 and multiple local data 202 can be obtained (for example, read from a built-in memory or received from an external device).

用戶於部署雲端服務前,需先操作用戶電子設備22(如智慧型手機、平板電腦、筆記型電腦或個人電腦等等)經由公開網路連接雲端伺服器21,並於雲端伺服器21中建置雲端虛擬機器210,此雲端虛擬機器210是用來執行部 署完成的雲端服務。前述於雲端伺服器21中創建雲端虛擬機器210為本發明所屬技術領域的現有技術,其操作細節於此不再贅述。 Before deploying cloud services, users need to operate user electronic devices 22 (such as smart phones, tablets, laptops or personal computers, etc.) to connect to the cloud server 21 via the public network, and build in the cloud server 21 Set a cloud virtual machine 210, this cloud virtual machine 210 is used to execute Cloud services completed by the deployment. The foregoing creation of the cloud virtual machine 210 in the cloud server 21 is a prior art in the technical field of the present invention, and the details of its operation will not be repeated here.

接著,近端設備20與雲端伺服器21可執行以下步驟來快速部署雲端服務。 Then, the near-end device 20 and the cloud server 21 can perform the following steps to quickly deploy cloud services.

步驟S10:近端設備20經由公開網路(如網際網路)連接雲端伺服器21的雲端虛擬機器210。 Step S10: The near-end device 20 connects to the cloud virtual machine 210 of the cloud server 21 via a public network (such as the Internet).

具體而言,用戶於創建雲端虛擬機器210後可獲得一組雲端虛擬機器連接資訊。前述雲端虛擬機器連接資訊可包括雲端虛擬機器210的網路位址與連接埠號,或者雲端虛擬機器210的識別資訊(如名稱)與金鑰(如SSH公開金鑰),不加以限定。 Specifically, after creating the cloud virtual machine 210, the user can obtain a set of cloud virtual machine connection information. The aforementioned cloud virtual machine connection information may include the network address and port number of the cloud virtual machine 210, or the identification information (such as name) and key (such as the SSH public key) of the cloud virtual machine 210, without limitation.

接著,用戶可操作近端設備20並輸入所獲得的雲端虛擬機器連接資訊以使近端設備20依據雲端虛擬機器連接資訊透過公開網路與雲端伺服器21的雲端虛擬機器210建立網路連線。 Then, the user can operate the near-end device 20 and input the obtained cloud virtual machine connection information so that the near-end device 20 establishes a network connection with the cloud virtual machine 210 of the cloud server 21 through the public network according to the cloud virtual machine connection information. .

於一實施例中,用戶可操作設定設備24(如智慧型手機、平板電腦、筆記型電腦或個人電腦等等)透過內部網路(如區域網路)連接近端設備20以操作近端設備20。 In one embodiment, the user can operate the setting device 24 (such as a smart phone, a tablet computer, a notebook computer or a personal computer, etc.) to connect to the near-end device 20 through an internal network (such as a local area network) to operate the near-end device 20.

步驟S11:近端設備20於雲端虛擬機器210中建置雲端代理模組213。 Step S11: The near-end device 20 builds a cloud proxy module 213 in the cloud virtual machine 210.

於一實施例中,雲端代理模組213為軟體模組,近端設備20是將雲端代理模組213的安裝程式上傳至雲端虛擬機器210,於雲端虛擬機器210中安裝雲端代理模組213,並對雲端代理模組213進行初始化設定,但不以此限定。 In one embodiment, the cloud proxy module 213 is a software module, and the near-end device 20 uploads the installation program of the cloud proxy module 213 to the cloud virtual machine 210, and installs the cloud proxy module 213 in the cloud virtual machine 210. The cloud proxy module 213 is initialized, but it is not limited thereto.

於一實施例中,用戶可於創建雲端虛擬機器210時便預先安裝雲端虛擬機器210,而於此階段僅需對雲端代理模組213進行初始化設定,藉以大幅縮短建置時間。 In one embodiment, the user can pre-install the cloud virtual machine 210 when creating the cloud virtual machine 210. At this stage, only the cloud proxy module 213 needs to be initialized, so as to greatly shorten the construction time.

於一實施例中,雲端代理模組213為工作室(studio)軟體模組。當雲端代理模組213被執行時,可提供執行環境來供用戶部署程式。 In one embodiment, the cloud proxy module 213 is a studio software module. When the cloud proxy module 213 is executed, an execution environment can be provided for users to deploy programs.

步驟S12:近端設備20與雲端伺服器21的雲端虛擬機器210建立雲端同步連線,並經由所建立的雲端同步連線持續將近端設備20的本地資料202同步至雲端虛擬機器210。 Step S12: The near-end device 20 establishes a cloud synchronization connection with the cloud virtual machine 210 of the cloud server 21, and continuously synchronizes the local data 202 of the near-end device 20 to the cloud virtual machine 210 via the established cloud synchronization connection.

於一實施例中,近端設備20是於同步條件滿足時才透過雲端同步連線發送最新的本地資料202(或者僅發送變更內容)至雲端虛擬機器210。前述同步條件可為指定時間(如每5分鐘)、指定狀態(如每次本地資料202發生變更)或人工觸發(如收到同步指令),不加以限定。藉此,雲端虛擬機器210可於每次同步後取得最新的本地資料202 In one embodiment, the near-end device 20 sends the latest local data 202 (or only the changed content) to the cloud virtual machine 210 through the cloud synchronization connection when the synchronization condition is met. The aforementioned synchronization conditions can be specified time (e.g. every 5 minutes), specified state (e.g. each time the local data 202 is changed) or manual trigger (e.g. received synchronization instruction), without limitation. In this way, the cloud virtual machine 210 can obtain the latest local data 202 after each synchronization

於一實施例中,近端設備20可取得不同來源或不同類型的多個本地資料202,依據用戶的操作或設定選擇部分的本地資料202,並僅上傳所選擇的本地資料202至雲端虛擬機器210以進行同步。 In one embodiment, the near-end device 20 can obtain multiple local data 202 from different sources or different types, select part of the local data 202 according to the user's operation or settings, and upload only the selected local data 202 to the cloud virtual machine 210 to synchronize.

於一實施例中,近端設備20包括連網設備與本地設備。前述連網設備與本地設備可整合在同一機殼,或者是分離設置並經由內部網路相互連接。並且,前述本地資料流程工作201儲存於連網設備,而本地資料202儲存於本地設備。 In one embodiment, the near-end device 20 includes a networked device and a local device. The aforementioned networked equipment and local equipment can be integrated in the same housing, or separately installed and connected to each other via an internal network. In addition, the aforementioned local data flow job 201 is stored in the networked device, and the local data 202 is stored in the local device.

於一實施例中,雲端代理模組213是提供web服務來與近端設備20進行資料傳輸,如基於HTTP與URI等技術傳輸資料。藉此,本發明可實現不同程式或不同執行環境之間的資料傳輸。 In one embodiment, the cloud proxy module 213 provides a web service to perform data transmission with the near-end device 20, such as transmitting data based on HTTP and URI technologies. In this way, the present invention can realize data transmission between different programs or different execution environments.

於一實施例中,雲端代理模組213是經由RESTful API來提供前述web服務,即前述web服務可由RESTful API(表現層狀態轉換風格的應用程式介面)來加以實現。 In one embodiment, the cloud proxy module 213 provides the aforementioned web service via a RESTful API, that is, the aforementioned web service can be implemented by a RESTful API (application programming interface of the presentation layer state transition style).

步驟S13:雲端虛擬機器210經由雲端代理模組213轉換所收到的本地資料202為雲端結構化資料212。 Step S13: The cloud virtual machine 210 converts the received local data 202 into the cloud structured data 212 through the cloud proxy module 213.

值得一提的是,於圖1所示的實施例中,第一雲端伺服器11中創建虛擬的雲端設備110來儲存雲端資料115以模擬本地設備14儲存本地資料105的行為,而必須耗費大量運算資源。 It is worth mentioning that in the embodiment shown in FIG. 1, a virtual cloud device 110 is created in the first cloud server 11 to store cloud data 115 to simulate the behavior of the local device 14 to store local data 105, which requires a lot of cost. Computing resources.

於本實施例中,是對所收到的各本地資料202執行結構化處理來獲得對應的雲端結構化資料212。前述雲端結構化資料212可表示與本地資料202相關的硬體資訊(如提供本地資料202的近端設備20(或本地設備)的名稱、位址或類型等等資訊)。藉此,本實施例經由結構化處理,可將前述模擬行為轉換為簡單的資料存取,而可大幅節省運算資源。 In this embodiment, structured processing is performed on each of the received local data 202 to obtain the corresponding cloud structured data 212. The aforementioned cloud structured data 212 may represent hardware information related to the local data 202 (such as the name, address, or type of the near-end device 20 (or local device) that provides the local data 202). In this way, the present embodiment can convert the aforementioned analog behavior into simple data access through structured processing, and can greatly save computing resources.

步驟S14:近端設備20上傳本地資料流程工作201至雲端虛擬機器210。 Step S14: the near-end device 20 uploads the local data flow job 201 to the cloud virtual machine 210.

於一實施例中,近端設備20可依據用戶的操作或設定選擇部分的本地資料流程工作201,並僅上傳所選擇的本地資料流程工作201至雲端虛擬機器210以進行設定。 In one embodiment, the near-end device 20 can select part of the local data flow job 201 according to the user's operation or setting, and only upload the selected local data flow job 201 to the cloud virtual machine 210 for setting.

步驟S15:雲端虛擬機器210經由雲端代理模組213依據所收到的本地資料流程工作201分別設定對應的雲端工作程式211。 Step S15: The cloud virtual machine 210 uses the cloud proxy module 213 to respectively set the corresponding cloud work program 211 according to the received local data flow work 201.

具體而言,雲端代理模組213是對各本地資料流程工作201進行程式化處理來產生對應的雲端工作程式211。 Specifically, the cloud proxy module 213 programmatically processes each local data flow job 201 to generate a corresponding cloud job program 211.

值得一提的是,各本地資料流程工作201是用來達成特定功能,並記錄有如何對指定的一或多個本地資料202進行處理的應用規則。前述程式化處理即是產生用以實現前述應用規則的雲端工作程式211。 It is worth mentioning that each local data flow job 201 is used to achieve a specific function and records application rules on how to process the specified one or more local data 202. The aforementioned programming process is to generate a cloud work program 211 for implementing the aforementioned application rules.

換句話說,當雲端工作程式211於雲端虛擬機器210中被執行後,可對前述本地資料202所對應的雲端結構化資料212進行相同的處理。藉此,基於雲端工作程式及雲端結構化資料所產生的雲端執行結果與基於本地資料及本地資料流程工作所產生的本地執行結果將會是對應的(如相同或相似)。 In other words, after the cloud working program 211 is executed in the cloud virtual machine 210, the same processing can be performed on the cloud structured data 212 corresponding to the aforementioned local data 202. In this way, the cloud execution result generated based on the cloud work program and cloud structured data and the local execution result generated based on the local data and the local data process work will correspond (such as the same or similar).

本發明可快速且有效地將近端設備的服務部署至雲端伺服器,並可適用於不同的雲端服務供應商。 The invention can quickly and effectively deploy the service of the near-end device to the cloud server, and is applicable to different cloud service providers.

請一併參閱圖8,為本發明第二實施例的使用雲端服務的流程圖。相較於圖7所示的快速部署雲端服務的方法,本實施例的快速部署雲端服務的方法更包括以下用來於完成雲端服務佈署後提供雲端服務的以下步驟。 Please also refer to FIG. 8, which is a flowchart of using cloud services according to the second embodiment of the present invention. Compared with the method for quickly deploying cloud services shown in FIG. 7, the method for quickly deploying cloud services in this embodiment further includes the following steps for providing cloud services after cloud service deployment is completed.

步驟S20:管理設備23依據用戶操作來與雲端虛擬機器210建立連接。 Step S20: The management device 23 establishes a connection with the cloud virtual machine 210 according to a user operation.

於一實施例中,用戶可於管理設備23中輸入雲端虛擬機器連接資訊來使管理設備23依據雲端虛擬機器連接資訊連接雲端伺服器21的雲端虛擬機器210。 In one embodiment, the user can input cloud virtual machine connection information into the management device 23 to make the management device 23 connect to the cloud virtual machine 210 of the cloud server 21 according to the cloud virtual machine connection information.

於一實施例中,用戶是透過WEB服務來連接雲端虛擬機器210,如直接於瀏覽器中輸入雲端虛擬機器連接資訊。 In one embodiment, the user connects to the cloud virtual machine 210 through the WEB service, such as directly inputting the cloud virtual machine connection information in the browser.

步驟S21:管理設備23發出儀表板指令至雲端虛擬機器210。 Step S21: The management device 23 sends a dashboard command to the cloud virtual machine 210.

於一實施例中,管理設備23可顯示操作介面(如透過瀏覽器顯示GUI),用戶可透過所顯示的操作介面來選擇想要查看的本地資料或想要執行的本地資料流程工作。接著,管理設備23依據用戶的選擇操作產生對應的儀表板指令,並發送儀表板指令至雲端虛擬機器210。 In one embodiment, the management device 23 can display an operating interface (such as displaying a GUI through a browser), and the user can select the local data to be viewed or the local data flow task to be executed through the displayed operating interface. Then, the management device 23 generates a corresponding dashboard command according to the user's selection operation, and sends the dashboard command to the cloud virtual machine 210.

於一實施例中,管理設備23是於連接雲端虛擬機器210後自動產生儀表板指令,並發送儀表板指令至雲端虛擬機器210。 In one embodiment, the management device 23 automatically generates a dashboard command after connecting to the cloud virtual machine 210, and sends the dashboard command to the cloud virtual machine 210.

於一實施例中,前述儀表板指令是用以指示用戶所欲實現的功能(如查看溫度統計資料、指定時段的門禁資料等等),前述各功能可由一或多個本地資料流程工作201(或對應的雲端工作程式211)來單獨或共同實現。 In one embodiment, the aforementioned dashboard commands are used to instruct the user to implement the functions (such as viewing temperature statistics, access control data for a specified time period, etc.), and each of the aforementioned functions can be performed by one or more local data flow tasks 201 ( Or the corresponding cloud work program 211) can be implemented separately or together.

步驟S22:雲端虛擬機器210於自管理設備23收到儀表板指令後依據儀表板指令選擇於多個雲端工作程式211中選擇全部或部分。 Step S22: After the cloud virtual machine 210 receives the dashboard command from the management device 23, selects all or part of the multiple cloud work programs 211 according to the dashboard command.

步驟S23:雲端虛擬機器210讀取所選擇的各雲端工作程式211所分別關聯的一或多個雲端結構化資料212,並執行所選擇的多個雲端工作程式來對這些雲端結構化資料212進行分析處理以產生各雲端執行結果。前述各雲端執行結果是用來表現儀表板指令所指定的功能。 Step S23: The cloud virtual machine 210 reads the one or more cloud structured data 212 respectively associated with each selected cloud work program 211, and executes the selected multiple cloud work programs to perform processing on the cloud structured data 212 Analyze and process to generate each cloud execution result. The aforementioned cloud execution results are used to express the functions specified by the dashboard commands.

接著,雲端虛擬機器210可依據所產生的一或多個雲端執行結果產生儀表板資料(如將這些雲端執行結果進行彙整或排版以產生圖形化描述資料),並經由公開網路回傳此儀表板資料至管理設備23。 Then, the cloud virtual machine 210 can generate dashboard data based on the generated one or more cloud execution results (for example, the cloud execution results are aggregated or typeset to generate graphical description data), and return this instrument via the public network Board data to the management device 23.

舉例來說,若三個雲端工作程式211分別是用來實現平均溫度功能(第一雲端工作程式)、下班門禁狀況功能(第二雲端工作程式)及環境舒適度功能(第三雲端工作程式),則雲端虛擬機器210可取得與第一雲端工作程式關聯的雲端結構化資料212(如多筆溫度感測資料,其所對應的本地資料202可由溫度感測器(本地設備)所產生),取得與第二雲端工作程式關聯的雲端結構化資料212(如取得多筆人員出入資料,其所對應的本地資料202可由門禁設備(本地設備)所產生),並取得與第三雲端工作程式關聯的雲端結構化資料212(如多筆溫度感測資料與多筆濕度感測資料,其所對應的本地資料202可由溫度感測器與濕度感測器(本地設備)所產生)。 For example, if three cloud working programs 211 are used to realize the average temperature function (the first cloud working program), the off-duty access control function (the second cloud working program), and the environmental comfort function (the third cloud working program). , The cloud virtual machine 210 can obtain the cloud structured data 212 associated with the first cloud working program (for example, multiple pieces of temperature sensing data, the corresponding local data 202 can be generated by a temperature sensor (local device)), Obtain the cloud structured data 212 associated with the second cloud work program (if multiple personnel access data are obtained, the corresponding local data 202 can be generated by the access control device (local device)), and obtain the association with the third cloud work program The cloud structured data 212 (such as multiple temperature sensing data and multiple humidity sensing data, the corresponding local data 202 can be generated by a temperature sensor and a humidity sensor (local device)).

接著,雲端虛擬機器210可執行第一雲端工作程式來對多筆溫度感測資料進行分析處理(如平均運算)以獲得平均溫度並作為第一雲端執行結果,執行第二雲端工作程式來對多筆人員出入資料進行分析處理(如執行過濾處理以獲得晚上七點至隔日早上七點之間的人員出入資料)以獲得於下班期間進出的人員資料並作為第二雲端執行結果,執行第三雲端工作程式來對多筆溫度感測資料與多筆濕度感測資料進行分析處理(如舒適度運算)以獲得舒適度指標並作為第三雲端執行結果。 Then, the cloud virtual machine 210 can execute the first cloud working program to analyze and process the multiple pieces of temperature sensing data (such as averaging) to obtain the average temperature as the result of the first cloud execution, and execute the second cloud working program to compare the multiple temperatures. Analyze and process the personnel entry and exit data (for example, perform filtering processing to obtain personnel entry and exit data between 7 pm and 7 am the next day) to obtain the personnel entry and exit data during the off-duty period and use the second cloud execution result as the second cloud execution result, and execute the third cloud The work program analyzes and processes multiple temperature sensing data and multiple humidity sensing data (such as comfort calculation) to obtain a comfort index and use it as a third cloud execution result.

最後,雲端虛擬機器210可將所產生的第一雲端運算結果、第二雲端運算結果及第三雲端運算結果轉換為文字圖形資料(如繪製成儀表板)並作為儀表板資料。 Finally, the cloud virtual machine 210 can convert the generated first cloud computing result, second cloud computing result, and third cloud computing result into text and graphic data (such as drawing into a dashboard) and use it as dashboard data.

值得一提的是,前述各雲端工作程式211與雲端結構化212於近端設備20中儲存有相對應的本地資料流程工作201與本地資料202。 It is worth mentioning that the aforementioned cloud work programs 211 and cloud structured 212 store corresponding local data flow work 201 and local data 202 in the near-end device 20.

近端設備20執行本地資料流程工作201來對關聯的本地資料202執行分析處理所獲得的本地執行結果是與前述雲端執行結果相同或相似(如相同的平均溫度、人員出入資料及舒適度指標)。 The near-end device 20 executes the local data flow job 201 to perform analysis and processing on the associated local data 202. The local execution result obtained is the same or similar to the aforementioned cloud execution result (such as the same average temperature, personnel access data, and comfort index) .

步驟S24:管理設備23依據所收到的儀表板資料繪製儀表板介面,並於顯示裝置上顯示所繪製儀表板介面。前述儀表板介面即用以呈現前述雲端執行結果。 Step S24: The management device 23 draws the dashboard interface according to the received dashboard data, and displays the drawn dashboard interface on the display device. The aforementioned dashboard interface is used to present the aforementioned cloud execution results.

藉此,於完成雲端服務部署後,用戶可便捷地使用管理設備來於雲端使用相同的服務,而不需親臨近端設備所在地點。 In this way, after the cloud service deployment is completed, users can conveniently use the management device to use the same service in the cloud without having to be close to the location of the end device.

續請一併參閱圖9,為本發明第三實施例的建置雲端虛擬機器的流程圖。相較於圖7所示的快速部署雲端服務的方法,本實施例的快速部署雲端服務的方法更包括以下用來於開始佈署雲端服務前創建雲端虛擬機器的以下步驟。 Please also refer to FIG. 9, which is a flowchart of building a cloud virtual machine according to the third embodiment of the present invention. Compared with the method for quickly deploying cloud services shown in FIG. 7, the method for quickly deploying cloud services in this embodiment further includes the following steps for creating cloud virtual machines before starting to deploy cloud services.

步驟S30:用戶可操作用戶電子設備22經由公開網路連接雲端伺服器21,並輸入用戶識別資訊(如帳號與密碼)登入雲端服務以進入雲端服務的管理介面。 Step S30: The user can operate the user electronic device 22 to connect to the cloud server 21 via the public network, and input user identification information (such as an account and password) to log in to the cloud service to enter the management interface of the cloud service.

步驟S31:用戶可經由管理介面於雲端伺服器21中創建關聯此用戶識別資訊的雲端虛擬機器210。 Step S31: The user can create a cloud virtual machine 210 associated with the user identification information in the cloud server 21 via the management interface.

步驟S32:用戶可經由管理介面對雲端虛擬機器210進行初始化設定並取得前述雲端虛擬機器連接資訊。 Step S32: The user can initialize the cloud virtual machine 210 through the management interface and obtain the aforementioned cloud virtual machine connection information.

於一實施例中,前述初始化設定可包括設定雲端虛擬機器210的執行環境(如作業系統版本、隨機存取記憶體容量、非揮發儲存空間容量等等)。 In one embodiment, the aforementioned initialization settings may include setting the execution environment of the cloud virtual machine 210 (such as operating system version, random access memory capacity, non-volatile storage space capacity, etc.).

值得一提的是,由於雲端虛擬機器210的執行環境可由用戶自行設定,這使得用戶可於不同的雲端服務供應商的雲端伺服器中分別創建具有相同執行環境的雲端虛擬機器210。 It is worth mentioning that since the execution environment of the cloud virtual machine 210 can be set by the user, the user can create the cloud virtual machine 210 with the same execution environment on the cloud servers of different cloud service providers.

因此,當用戶更換雲端服務供應商時,由於執行環境沒有改變,現有的雲端代理模組213與近端部署模組203(如僅需更改雲端虛擬機器連接資訊)可直接沿用新的雲端服務供應商的雲端伺服器21,而不需重新開發。 Therefore, when a user changes a cloud service provider, since the execution environment has not changed, the existing cloud proxy module 213 and the local deployment module 203 (if only the cloud virtual machine connection information needs to be changed) can directly use the new cloud service provider Business’s cloud server 21 without the need to re-develop.

續請一併參閱圖10,為本發明第四實施例的同步處理的流程圖。相較於圖7所示的快速部署雲端服務的方法,本實施例的快速部署雲端服務的方法更包括以下用來於完成雲端服務佈署後提供同步服務的步驟S40-S48。 Please also refer to FIG. 10, which is a flowchart of synchronization processing according to the fourth embodiment of the present invention. Compared with the method for quickly deploying cloud services shown in FIG. 7, the method for quickly deploying cloud services in this embodiment further includes the following steps S40-S48 for providing synchronization services after cloud service deployment is completed.

本實施例的快速部署雲端服務的方法至少可實現本地資料流程工作同步功能、本地資料同步功能、近端設備同步功能(可分為同步新增近端設備功能與同步停用近端設備功能)。 The method for quickly deploying cloud services in this embodiment can at least realize the local data flow synchronization function, the local data synchronization function, and the near-end device synchronization function (it can be divided into the synchronization of the newly added near-end device function and the synchronization of the synchronization deactivation of the near-end device function) .

具體而言,本地資料流程工作同步功能是由以下步驟來加以實現。 Specifically, the local data flow synchronization function is implemented by the following steps.

步驟S40:近端設備20偵測本地資料流程工作201是否發生變更。 Step S40: The near-end device 20 detects whether the local data flow job 201 has changed.

若本地資料流程工作201發生變更,則近端設備20經由公開網路上傳變更後的本地資料流程工作201至雲端虛擬機器210,並執行步驟S41。 If the local data flow job 201 is changed, the near-end device 20 uploads the changed local data flow job 201 to the cloud virtual machine 210 via the public network, and executes step S41.

於一實施例中,近端設備20所對應的雲端工作程式211與雲端結構化資料212是被關聯至此近端設備20的近端設備識別資訊。近端設備20可進一步上傳近端設備20的近端設備識別資訊(如MAC位址、設備名稱或網路位址等等)至雲端虛擬機器210作為識別之用。 In one embodiment, the cloud work program 211 and the cloud structured data 212 corresponding to the near-end device 20 are associated with the near-end device identification information of the near-end device 20. The near-end device 20 can further upload the near-end device identification information (such as MAC address, device name, or network address, etc.) of the near-end device 20 to the cloud virtual machine 210 for identification.

若本地資料流程工作201未發生變更,則近端設備20執行其他偵測(如步驟S43)。 If the local data flow job 201 does not change, the near-end device 20 performs other detections (such as step S43).

步驟S41:雲端虛擬機器210可經由雲端代理模組213依據所收到的近端設備識別資訊識別對應的雲端工作程式211,並依據變更後的本地資料流程工作201更新對應的雲端工作程式211。 Step S41: The cloud virtual machine 210 can identify the corresponding cloud working program 211 according to the received near-end device identification information through the cloud proxy module 213, and update the corresponding cloud working program 211 according to the changed local data flow job 201.

於一實施例中,雲端虛擬機器210可依據變更後的本地資料流程工作201設定新的雲端工作程式211,並以新的雲端工作程式211直接取代原有的雲端工作程式211。 In one embodiment, the cloud virtual machine 210 can set a new cloud task program 211 according to the changed local data flow task 201, and directly replace the original cloud task program 211 with the new cloud task program 211.

舉例來說,若用戶於近端設備20修改任一本地資料流程工作201的內容,則雲端虛擬機器210可同步修改對應的雲端工作程式211。若用戶於近端設備20增加新的本地資料流程工作201,則雲端虛擬機器210可同步新增對應的雲端工作程式211。若用戶於近端設備20刪除現有的本地資料流程工作201,則雲端虛擬機器210可同步刪除或停用對應的雲端工作程式211。 For example, if the user modifies the content of any local data flow job 201 on the near-end device 20, the cloud virtual machine 210 can simultaneously modify the corresponding cloud job program 211. If the user adds a new local data flow job 201 to the near-end device 20, the cloud virtual machine 210 can simultaneously add a corresponding cloud job program 211. If the user deletes the existing local data flow job 201 in the near-end device 20, the cloud virtual machine 210 can delete or disable the corresponding cloud job program 211 simultaneously.

步驟S42:近端設備20與雲端虛擬機器210判斷是否停止同步,如用戶是否關閉同步功能,或者近端設備20與雲端虛擬機器21之間的同步連線是否中斷。 Step S42: The near-end device 20 and the cloud virtual machine 210 determine whether to stop synchronization, such as whether the user turns off the synchronization function, or whether the synchronization connection between the near-end device 20 and the cloud virtual machine 21 is interrupted.

若判斷停止同步,則結束處理。否則,近端設備20與雲端虛擬機器210再次執行個同步功能(如再次執行步驟S40)。 If it is judged to stop the synchronization, the processing is ended. Otherwise, the near-end device 20 and the cloud virtual machine 210 perform a synchronization function again (for example, perform step S40 again).

本地資料同步功能是由以下步驟來加以實現。 The local data synchronization function is realized by the following steps.

步驟S43:近端設備20偵測本地資料202是否發生變更。 Step S43: The near-end device 20 detects whether the local data 202 has changed.

若本地資料202發生變更,則近端設備20經由先前建立的雲端同步連線上傳變更後的本地資料202至雲端虛擬機器210,並執行步驟S44。 If the local data 202 changes, the near-end device 20 uploads the changed local data 202 to the cloud virtual machine 210 via the previously established cloud synchronization connection, and executes step S44.

於一實施例中,近端設備20進一步上傳近端設備20的近端設備識別資訊至雲端虛擬機器210。 In one embodiment, the near-end device 20 further uploads the near-end device identification information of the near-end device 20 to the cloud virtual machine 210.

若本地資料202未發生變更,則執行其他偵測(如步驟S45)。 If the local data 202 has not changed, other detections are performed (for example, step S45).

步驟S44:雲端虛擬機器210可經由雲端代理模組213依據所收到的近端設備識別資訊識別關聯至此近端設備識別資訊的雲端結構化資料212,並依據變更後的本地資料202更新所識別的雲端結構化資料212。接著,雲端虛擬機器210與近端設備20可執行步驟S42。 Step S44: The cloud virtual machine 210 can identify the cloud structured data 212 associated with the near-end device identification information through the cloud proxy module 213 according to the received near-end device identification information, and update the identified data according to the changed local data 202 Structured data in the cloud 212. Then, the cloud virtual machine 210 and the near-end device 20 may perform step S42.

於一實施例中,雲端虛擬機器210可轉換變更後的本地資料202為新的雲端結構化資料212,並以新的雲端結構化資料212直接取代原有的雲端結構化資料212。 In one embodiment, the cloud virtual machine 210 can convert the changed local data 202 into the new cloud structured data 212, and directly replace the original cloud structured data 212 with the new cloud structured data 212.

舉例來說,若用戶於近端設備20修改任一本地資料202的內容,則雲端虛擬機器210可同步修改對應的雲端結構化資料212。若用戶於近端設備20增加新的本地資料202,則雲端虛擬機器210可同步新增對應的雲端結構化資料212。若用戶於近端設備20刪除現有的本地資料202,則雲端虛擬機器210可同步刪除或停用對應的雲端結構化資料212。 For example, if the user modifies the content of any local data 202 on the near-end device 20, the cloud virtual machine 210 can modify the corresponding cloud structured data 212 simultaneously. If the user adds new local data 202 to the near-end device 20, the cloud virtual machine 210 can simultaneously add corresponding cloud structured data 212. If the user deletes the existing local data 202 on the near-end device 20, the cloud virtual machine 210 can delete or disable the corresponding cloud structured data 212 simultaneously.

同步新增近端設備功能是由以下步驟來加以實現。 The function of synchronously adding a near-end device is realized by the following steps.

步驟S45:雲端虛擬機器210可偵測是否連接新的近端設備20(下稱新增近端設備)。 Step S45: The cloud virtual machine 210 can detect whether a new near-end device 20 is connected (hereinafter referred to as a new near-end device).

若雲端虛擬機器210連接新增近端設備,則執行步驟S46。否則,雲端虛擬機器210執行其他偵測(如步驟S47)。 If the cloud virtual machine 210 is connected to the newly added near-end device, step S46 is executed. Otherwise, the cloud virtual machine 210 performs other detections (such as step S47).

步驟S46:雲端虛擬機器210與新增近端設備執行部署處理,以將新增近端設備的服務部署至雲端虛擬機器210。接著,雲端虛擬機器210與近端設備20可執行步驟S42。 Step S46: the cloud virtual machine 210 and the newly added near-end device perform deployment processing to deploy the service of the newly added near-end device to the cloud virtual machine 210. Then, the cloud virtual machine 210 and the near-end device 20 may perform step S42.

前述部署處理可例如為執行圖7的步驟S10-S15。舉例來說,新增近端設備可連接雲端虛擬機器210,設定雲端代理模組213(如登錄新增近端設備的相關資訊),與雲端虛擬機器210建立同步連線(下稱新增同步連線),並經由新增同步連線持續同步新增近端設備的本地資料(下稱新增同步連線)至雲端虛擬機器210。接著,雲端虛擬機器210可經由雲端代理模組213轉換所收到的新增本地資料為雲端結構化資料(下稱新增雲端結構化資料)。 The aforementioned deployment processing may be, for example, executing steps S10-S15 in FIG. 7. For example, the newly added near-end device can connect to the cloud virtual machine 210, and the cloud proxy module 213 (such as registering information about the newly added near-end device) can be set up to establish a synchronization connection with the cloud virtual machine 210 (hereinafter referred to as “new synchronization”). Connection), and continuously synchronize the local data of the newly added near-end device (hereinafter referred to as the newly added synchronization connection) to the cloud virtual machine 210 through the newly added synchronization connection. Then, the cloud virtual machine 210 can convert the received newly added local data into cloud structured data (hereinafter referred to as newly added cloud structured data) through the cloud proxy module 213.

並且,新增近端設備還可上傳本地資料流程工作(下稱新增本地資料流程工作)至雲端虛擬機器210。雲端虛擬機器210可經由雲端代理模組213依據所收到的新增本地資料流程工作逐一設定對應的雲端工作程式(新增雲端工作程式)。前述基於新增雲端工作程式及新增雲端結構化資料所產生的新增雲端執行結果對應基於新增本地資料及新增本地資料流程工作所產生的新增本地執行結果。並且各新增雲端結構化資料及各新增雲端工作程式是關聯至新增近端設備的新增近端設備識別資訊。 In addition, the newly added near-end device can also upload a local data flow job (hereinafter referred to as a new local data flow job) to the cloud virtual machine 210. The cloud virtual machine 210 can set the corresponding cloud work program (add cloud work program) one by one according to the received new local data flow job via the cloud proxy module 213. The aforementioned new cloud execution result generated based on the newly added cloud work program and the added cloud structured data corresponds to the new local execution result generated based on the new local data and the new local data process work. And each newly added cloud structured data and each newly added cloud work program is related to the newly added near-end device identification information of the newly added near-end device.

藉此,本發明可將新增近端設備的服務部署至雲端。 In this way, the present invention can deploy the service of the newly added near-end device to the cloud.

同步停用近端設備功能是由以下步驟來加以實現。 The function of synchronously deactivating the near-end device is realized by the following steps.

步驟S47:雲端虛擬機器210偵測是否任一已連接的近端設備20斷開。 Step S47: The cloud virtual machine 210 detects whether any connected near-end device 20 is disconnected.

若任一已連接的近端設備20斷開,則雲端虛擬機器210執行步驟S48。否則,雲端虛擬機器210執行步驟S42。 If any connected near-end device 20 is disconnected, the cloud virtual machine 210 executes step S48. Otherwise, the cloud virtual machine 210 executes step S42.

步驟S48:雲端虛擬機器210依據斷開的近端設備20的近端設備識別資訊識別關聯的雲端結構化資料212與雲端工作程式211,中斷所建立的雲端同步連線並停用此近端設備20所對應的所有雲端結構化資料212及雲端工作程式211。 Step S48: The cloud virtual machine 210 identifies the associated cloud structured data 212 and the cloud work program 211 according to the near-end device identification information of the disconnected near-end device 20, interrupts the established cloud synchronization connection and disables the near-end device All cloud structured data 212 and cloud work programs 211 corresponding to 20.

接著,雲端虛擬機器210與近端設備20可執行步驟S42。 Then, the cloud virtual machine 210 and the near-end device 20 may perform step S42.

藉此,本發明可有效實現同步功能。 Thereby, the present invention can effectively realize the synchronization function.

續請一併參閱圖3,為本發明第二實施態樣的具有雲端服務能力的物聯網系統的架構圖。接著說明本發明的雲端伺服器32的雲端虛擬機器320如何於同時連接多個近端設備(圖3以第一近端設備30與第二近端設備31為例)時,同時提供多個近端設備的雲端服務,而不會發生錯誤。 Please also refer to FIG. 3, which is an architecture diagram of the Internet of Things system with cloud service capabilities in the second embodiment of the present invention. Next, it will be explained how the cloud virtual machine 320 of the cloud server 32 of the present invention can simultaneously provide multiple near-end devices when connecting to multiple near-end devices at the same time (FIG. 3 takes the first near-end device 30 and the second near-end device 31 as an example). Cloud services for end devices without errors.

具體而言,第一近端設備30可通過近端部署模組303與雲端虛擬機器320的雲端代理模組325執行雲端佈署處理以將其本地資料流程工作301與本地資料302部署至雲端虛擬機器320作為第一雲端工作程式321與第一雲端結構化資料322。前述第一雲端工作程式321與第一雲端結構化資料322是被關聯至第一近端設備30的近端設備識別資訊。 Specifically, the first near-end device 30 can perform cloud deployment processing through the near-end deployment module 303 and the cloud proxy module 325 of the cloud virtual machine 320 to deploy its local data flow work 301 and local data 302 to the cloud virtual machine. The machine 320 serves as the first cloud working program 321 and the first cloud structured data 322. The aforementioned first cloud working program 321 and the first cloud structured data 322 are associated with the near-end device identification information of the first near-end device 30.

並且,第二近端設備31可通過近端部署模組313與雲端虛擬機器320的雲端代理模組325執行雲端佈署處理以將其本地資料流程工作311與本地資料312部署至雲端虛擬機器320作為第二雲端工作程式323與第二雲端結構化資料324。前述第二雲端工作程式323與第二雲端結構化資料324是被關聯至第二近端設備31的近端設備識別資訊。 In addition, the second near-end device 31 can perform cloud deployment processing through the near-end deployment module 313 and the cloud proxy module 325 of the cloud virtual machine 320 to deploy its local data flow work 311 and local data 312 to the cloud virtual machine 320 As the second cloud working program 323 and the second cloud structured data 324. The aforementioned second cloud working program 323 and the second cloud structured data 324 are associated with the near-end device identification information of the second near-end device 31.

藉此,當雲端虛擬機器320可同時連接多個近端設備時,可依據近端設備識別資訊來識別所儲存的雲端工作程式與雲端結構化資料的歸屬。 In this way, when the cloud virtual machine 320 can connect to multiple near-end devices at the same time, it can identify the ownership of the stored cloud work program and the cloud structured data according to the near-end device identification information.

續請一併參閱圖4,為本發明第三實施態樣的具有雲端服務能力的物聯網系統的架構圖。接著說明本發明的物聯網系統如何快速更換雲端服務供應商。 Please also refer to FIG. 4, which is an architecture diagram of an IoT system with cloud service capability according to the third embodiment of the present invention. Next, it will be explained how the Internet of Things system of the present invention can quickly change cloud service providers.

當用戶欲將雲端服務從第一雲端服務供應商的第一雲端伺服器41改為佈署至第二雲端服務供應商的第二雲端伺服器42時,是先於第二雲端伺服器42中創建與第一雲端伺服器41的雲端虛擬機器410具有相同或相似設定的雲端虛擬機器420,以於第二雲端伺服器42建立相同或相似的執行環境。 When the user wants to change the cloud service from the first cloud server 41 of the first cloud service provider to the second cloud server 42 of the second cloud service provider, it is before the second cloud server 42 A cloud virtual machine 420 with the same or similar settings as the cloud virtual machine 410 of the first cloud server 41 is created to establish the same or similar execution environment on the second cloud server 42.

接著,用戶可執行近端佈署模組403來設定雲端代理模組423,並執行佈署來將近端設備40的本地資料流程工作401與本地資料402佈署至第二雲端伺服器42的雲端虛擬機器420,以產生雲端工作程式421、雲端結構化資料422。 Then, the user can execute the local deployment module 403 to configure the cloud proxy module 423, and execute deployment to deploy the local data flow job 401 and local data 402 of the local device 40 to the cloud of the second cloud server 42 The virtual machine 420 generates a cloud working program 421 and cloud structured data 422.

最後,用戶可設定近端設備40的近端部署模組403連接至雲端虛擬機器420以完成佈署作業。 Finally, the user can configure the near-end deployment module 403 of the near-end device 40 to connect to the cloud virtual machine 420 to complete the deployment operation.

藉此,僅需簡單的設定與重新佈署,近端設備40即可將本地資料流程401與本地資料402與新的雲端虛擬機器420進行同步。 In this way, only a simple setting and re-deployment are required, and the near-end device 40 can synchronize the local data flow 401 and the local data 402 with the new cloud virtual machine 420.

續請一併參閱圖5及圖11,圖5為本發明第四實施態樣的具有雲端服務能力的物聯網系統的架構圖,圖11為本發明第五實施例的快速部署雲端服務的方法的流程圖。 Please refer to FIGS. 5 and 11 together. FIG. 5 is an architecture diagram of an IoT system with cloud service capabilities in a fourth embodiment of the present invention. FIG. 11 is a method for rapidly deploying cloud services according to a fifth embodiment of the present invention. Flow chart.

於本發明中,前述近端設備可包括連網設備與本地設備,如本地設備51、52可透過內部網路連接連網設備50,或者本地設備56可透過內部網路連接連網設備55。 In the present invention, the aforementioned near-end devices may include networked devices and local devices. For example, the local devices 51 and 52 can be connected to the networked device 50 via an internal network, or the local device 56 can be connected to the networked device 55 via an internal network.

於此情況下,連網設備50(如閘道器或其他物聯網中繼設備)可包括近端部署模組500與本地資料流程工作501,本地設備51、52(如攝影機、感測器、輸出/入裝置或其他物聯網節點設備)則分別用來產生各自的本地資料510、520(如是頻、感測資料、輸入訊號、輸出訊號等等),並傳送所產生的本地資料510、520至連網設備50。 In this case, the networked device 50 (such as a gateway or other Internet of Things relay device) may include a near-end deployment module 500 and a local data flow work 501, and local devices 51, 52 (such as cameras, sensors, I/O devices or other IoT node devices) are used to generate their respective local data 510, 520 (such as frequency, sensor data, input signal, output signal, etc.), and transmit the generated local data 510, 520 To the networked device 50.

於本發明中,連網設備55將本地服務直接部署至雲端伺服器54的雲端虛擬機器540,於此狀況下,連網設備55可轉傳所連接的本地設備56的本地資料至雲端虛擬機器54。 In the present invention, the networked device 55 directly deploys local services to the cloud virtual machine 540 of the cloud server 54. In this situation, the networked device 55 can forward the local data of the connected local device 56 to the cloud virtual machine. 54.

此外,一或多個連網設備50是將本地服務部署至邊緣伺服器53(如閘道器或其他中繼伺服器)作為邊緣服務,再由邊緣伺服器53將邊緣服務部署至雲端虛擬機器540。前述邊緣服務的部署是於圖7所述的雲端服務的部署的方式相近。 In addition, one or more connected devices 50 deploy local services to an edge server 53 (such as a gateway or other relay server) as an edge service, and then the edge server 53 deploys the edge service to a cloud virtual machine 540. The deployment of the aforementioned edge service is similar to the deployment of the cloud service described in FIG. 7.

具體而言,邊緣伺服器53包括邊緣代理模組532(可為工作室軟體模組)。邊緣伺服器53與連網設備50是執行以下步驟來完成邊緣服務的部署。 Specifically, the edge server 53 includes an edge proxy module 532 (which may be a studio software module). The edge server 53 and the networking device 50 execute the following steps to complete the deployment of edge services.

步驟S500:連網設備50(即近端設備)依據邊緣伺服器連接資訊(如網路位址與連接埠號,或者識別資訊與金鑰等等)經由公開網路或內部網路連接邊緣伺服器53。 Step S500: The networked device 50 (ie the near-end device) connects to the edge server via the public network or the internal network according to the edge server connection information (such as network address and port number, or identification information and key, etc.)器53.

步驟S501:連網設備50於邊緣伺服器53建置邊緣代理模組532。 Step S501: The networked device 50 builds an edge proxy module 532 on the edge server 53.

於一實施例中,邊緣代理模組532為軟體模組,並安裝於邊緣伺服器53(可於出廠時便安裝完成,或由用戶手動上傳安裝程式至邊緣伺服器53以進行安裝)。 In one embodiment, the edge proxy module 532 is a software module and is installed on the edge server 53 (the installation can be completed at the factory, or the user can manually upload the installation program to the edge server 53 for installation).

於一實施例中,邊緣代理模組532為工作室(studio)軟體模組。當邊緣代理模組532被執行時,可提供開發環境與多種軟體工具來供用戶設計、開發及部署程式。 In one embodiment, the edge agent module 532 is a studio software module. When the edge agent module 532 is executed, it can provide a development environment and a variety of software tools for users to design, develop, and deploy programs.

步驟S502:連網設備50與邊緣伺服器53建立邊緣同步連線,並經由邊緣同步連線持續同步(本地設備51、52的)多個本地資料510、520至邊緣伺服器53,以使邊緣伺服器53儲存有多個本地資料533。 Step S502: The networked device 50 establishes an edge synchronization connection with the edge server 53, and continuously synchronizes multiple local data 510 and 520 (of the local devices 51 and 52) to the edge server 53 through the edge synchronization connection, so that the edge The server 53 stores a plurality of local data 533.

步驟S503:邊緣伺服器53經由邊緣代理模組532選擇全部或部分的多個本地資料533作為多個邊緣資料531。 Step S503: The edge server 53 selects all or part of the multiple local data 533 as the multiple edge data 531 through the edge proxy module 532.

步驟S504:邊緣伺服器53依據所選擇的多個本地資料533所關聯的本地資料流程工作501設定多個邊緣資料流程工作530,其中依據步驟S504所設定的各邊緣資料流程工作530及各邊緣資料533所產生的各邊緣執行結果(用於指定的邊緣資料服務)會對應基於對應的及本地資料流程工作501及本地資料510、520所產生的各本地執行結果(用於指定的本地資料服務,本地服務與步驟S504的邊緣服務相同)。 Step S504: The edge server 53 sets a plurality of edge data flow tasks 530 according to the local data flow tasks 501 associated with the selected plurality of local data 533, wherein the edge data flow tasks 530 and each edge data set in step S504 are set Each edge execution result generated by 533 (for the specified edge data service) will correspond to each local execution result (for the specified local data service) generated based on the corresponding and local data process work 501 and the local data 510, 520 The local service is the same as the edge service in step S504).

步驟S505:邊緣伺服器53接受一邊緣資料流程工作設定操作(如經由管理設備57接受操作),並依據操作設定多個邊緣資料流程工作530。步驟S505所設定的邊緣資料流程工作530是用來對指定的邊緣資料531進行處理來產生用於指定資料服務(邊緣服務)的執行結果。 Step S505: The edge server 53 accepts an edge data process job setting operation (for example, accepts the operation via the management device 57), and sets a plurality of edge data process jobs 530 according to the operation. The edge data flow task 530 set in step S505 is used to process the specified edge data 531 to generate the execution result for the specified data service (edge service).

值得一提的是,步驟S504與步驟S505可擇一被執行,或兩者皆執行,不以此限定。 It is worth mentioning that step S504 and step S505 can be executed alternatively, or both of them can be executed, which is not limited thereto.

藉此,本發明可完成邊緣服務的部署。用戶可選擇於近端操作設定設備58來使用本地服務,或操作管理設備57來於遠端使用邊緣服務。 In this way, the present invention can complete the deployment of edge services. The user can choose to operate the setting device 58 at the near end to use the local service, or operate the management device 57 to use the edge service at the far end.

接著,邊緣伺服器53可與雲端虛擬機器540執行以下步驟來部署雲端服務。 Then, the edge server 53 and the cloud virtual machine 540 can execute the following steps to deploy cloud services.

步驟S506:邊緣伺服器53依據雲端虛擬機器連接資訊連接雲端虛擬機器540。 Step S506: The edge server 53 connects to the cloud virtual machine 540 according to the cloud virtual machine connection information.

步驟S507:邊緣伺服器53於雲端虛擬機器540中建置雲端代理模組543。 Step S507: The edge server 53 builds a cloud proxy module 543 in the cloud virtual machine 540.

步驟S508:邊緣伺服器53設定同步範圍。具體而言,用戶可(經由管理設備57或設定設備58)輸入同步範圍設定操作,以控制邊緣伺服器53選擇要部署至雲端的邊緣資料與多個邊緣資料流程工作(如部分的多個邊緣資料流程工作530與關聯的多個邊緣資料531)。 Step S508: The edge server 53 sets the synchronization range. Specifically, the user can input the synchronization range setting operation (via the management device 57 or the setting device 58) to control the edge server 53 to select the edge data and multiple edge data processes to be deployed to the cloud (such as part of multiple edge data processes). Data flow task 530 and associated multiple edge data 531).

值得一提的是,步驟S508並非本發明之必要步驟,若用戶欲對所有邊緣服務進行雲端部署,亦可省略步驟S508。 It is worth mentioning that step S508 is not a necessary step of the present invention. If the user wants to deploy all edge services in the cloud, step S508 can also be omitted.

步驟S509:邊緣伺服器53與雲端虛擬機器540建立雲端同步連線,並經由雲端同步連線持續同步邊緣伺服器53的邊緣資料531至雲端虛擬機器540。 Step S509: The edge server 53 establishes a cloud synchronization connection with the cloud virtual machine 540, and continuously synchronizes the edge data 531 of the edge server 53 to the cloud virtual machine 540 via the cloud synchronization connection.

於一實施例中,若有設定同步範圍,則邊緣伺服器53僅會同步所選擇的多個邊緣資料531或是與所選擇的邊緣資料流程工作530關聯的邊緣資料531。 In one embodiment, if the synchronization range is set, the edge server 53 will only synchronize the selected multiple edge data 531 or the edge data 531 associated with the selected edge data process task 530.

步驟S510:邊緣伺服器53的邊緣資料流程工作531至雲端虛擬機器540。 Step S510: the edge data process work 531 of the edge server 53 to the cloud virtual machine 540.

於一實施例中,若有設定同步範圍,則邊緣伺服器53僅會上傳所選擇的邊緣資料流程工作530。 In one embodiment, if the synchronization range is set, the edge server 53 will only upload the selected edge data process task 530.

步驟S511:雲端虛擬機器540經由雲端代理模組543依據所收到的邊緣資料流程工作設定雲端工作程式541。基於各雲端工作程式541及關連的雲端結構化資料542所產生的雲端執行結果對應基於各邊緣資料流程工作530及關聯的邊緣資料531所產生的邊緣執行結果。 Step S511: The cloud virtual machine 540 sets the cloud work program 541 through the cloud proxy module 543 according to the received edge data process work. The cloud execution result generated based on each cloud task program 541 and the related cloud structured data 542 corresponds to the edge execution result generated based on each edge data process task 530 and the associated edge data 531.

藉此,本發明可依用戶需求將全部或部分邊緣服務部署至雲端。 In this way, the present invention can deploy all or part of the edge services to the cloud according to user requirements.

續請一併參閱圖6,為本發明第五實施態樣的連網設備的架構圖。邊緣伺服器53、連網設備50、55或前述近端設備可為閘道器6。閘道器6可包括第一網路裝置62、第二網路裝置63、儲存裝置61及電性連接上述裝置並用以控制閘道器6的處理裝置60。 Please also refer to FIG. 6, which is a structural diagram of a networked device according to the fifth embodiment of the present invention. The edge server 53, the networking equipment 50, 55, or the aforementioned near-end equipment may be the gateway 6. The gateway 6 may include a first network device 62, a second network device 63, a storage device 61, and a processing device 60 electrically connected to the above devices and used to control the gateway 6.

第一網路裝置62與第二網路裝置63可為異質網路模組,如第一網路裝置62可為Wi-Fi模組、乙太網路模組、行動網路模組等等,第二網路裝置63可為藍芽模組、ZigBee模組、紅外線模組等等。 The first network device 62 and the second network device 63 can be heterogeneous network modules, for example, the first network device 62 can be a Wi-Fi module, an Ethernet module, a mobile network module, etc. , The second network device 63 can be a Bluetooth module, a ZigBee module, an infrared module, etc.

於一實施例中,第一網路裝置62用以連接公開網路(如網際網路)以連接雲端伺服器。第二網路裝置63用以連接本地裝置以取得各本地裝置的本地資料。 In one embodiment, the first network device 62 is used to connect to a public network (such as the Internet) to connect to a cloud server. The second network device 63 is used to connect to local devices to obtain local data of each local device.

於一實施例中,連網設備50、55或前述近端設備為閘道器6時,儲存裝置61可儲存本地資料流程工作501、本地資料502、近端部署模組500、雲端虛擬機器連接資訊503與邊緣伺服器連接資訊504。 In one embodiment, when the networked device 50, 55 or the aforementioned near-end device is the gateway 6, the storage device 61 can store the local data flow job 501, the local data 502, the local deployment module 500, and the cloud virtual machine connection Information 503 is connected to information 504 with the edge server.

於一實施例中,邊緣伺服器53為閘道器6時,儲存裝置61可儲存雲端虛擬機器連接資訊503與邊緣代理模組505。 In one embodiment, when the edge server 53 is the gateway 6, the storage device 61 can store the cloud virtual machine connection information 503 and the edge proxy module 505.

藉此,本發明可提供閘道器6更多的用途。並且,透過邊緣伺服器53的架設,用戶可更便捷的部署服務,並可提升資訊安全。 In this way, the present invention can provide more uses for the gateway 6. Moreover, through the installation of the edge server 53, users can deploy services more conveniently and improve information security.

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

S10-S15:第一部署步驟 S10-S15: first deployment step

Claims (14)

一種快速部署雲端服務的方法,用以將一近端設備的本地服務部署至一雲端伺服器,該快速部署雲端服務的方法包括以下步驟:a)於該近端設備依據一雲端虛擬機器連接資訊連接該雲端伺服器的一雲端虛擬機器;b)於該雲端虛擬機器建置一雲端代理模組;c)使該近端設備與該雲端虛擬機器建立一雲端同步連線,並經由該雲端同步連線持續同步該近端設備的一本地資料至該雲端虛擬機器;d)於該雲端虛擬機器經由該雲端代理模組轉換該本地資料為一雲端結構化資料;e)上傳該近端設備的一本地資料流程工作至該雲端虛擬機器;及f)於該雲端虛擬機器經由該雲端代理模組依據該本地資料流程工作設定一雲端工作程式,其中基於該雲端工作程式及該雲端結構化資料所產生的一雲端執行結果對應基於該本地資料及該本地資料流程工作所產生的一本地執行結果,其中各該雲端結構化資料及各該雲端工作程式是關聯至該近端設備的一近端設備識別資訊;其中,該快速部署雲端服務的方法更包括以下步驟:g1)於該雲端虛擬機器連接一新增近端設備時,使該新增近端設備與該雲端虛擬機器建立一新增同步連線,並經由該新增同步連線持續同步該新增近端設備的一新增本地資料至該雲端虛擬機器;g2)於該雲端虛擬機器經由該雲端代理模組轉換該新增本地資料為一新增雲端結構化資料; g3)上傳該新增近端設備的一新增本地資料流程工作至該雲端虛擬機器;及g4)於該雲端虛擬機器經由該雲端代理模組依據該新增本地資料流程工作設定一新增雲端工作程式,其中基於該新增雲端工作程式及該新增雲端結構化資料所產生的一新增雲端執行結果對應基於該新增本地資料及該新增本地資料流程工作所產生的一新增本地執行結果,各該新增雲端結構化資料及各該新增雲端工作程式是關聯至該新增近端設備的一新增近端設備識別資訊。 A method for rapidly deploying cloud services for deploying local services of a near-end device to a cloud server. The method for rapidly deploying cloud services includes the following steps: a) According to a cloud virtual machine connection information on the near-end device A cloud virtual machine connected to the cloud server; b) a cloud proxy module is built on the cloud virtual machine; c) a cloud synchronization connection is established between the near-end device and the cloud virtual machine, and synchronized through the cloud The connection continuously synchronizes a local data of the near-end device to the cloud virtual machine; d) the cloud virtual machine converts the local data into a cloud structured data through the cloud proxy module; e) uploads the local data of the near-end device A local data flow is working to the cloud virtual machine; and f) a cloud working program is set on the cloud virtual machine according to the local data flow job through the cloud proxy module, which is based on the cloud working program and the cloud structured data office A generated cloud execution result corresponds to a local execution result generated based on the local data and the local data flow job, wherein each of the cloud structured data and each of the cloud work programs is a near-end device associated with the near-end device Identification information; wherein, the method for rapidly deploying cloud services further includes the following steps: g1) when the cloud virtual machine is connected to a newly added near-end device, the newly-added near-end device is synchronized with the cloud virtual machine Connect, and continuously synchronize a piece of newly added local data of the newly added near-end device to the cloud virtual machine through the newly added synchronization connection; g2) convert the newly added local data on the cloud virtual machine through the cloud proxy module For a new cloud structured data; g3) Upload a new local data flow job of the newly added local device to the cloud virtual machine; and g4) Set a new cloud in the cloud virtual machine according to the new local data flow job setting via the cloud proxy module Work program, where a new cloud execution result generated based on the new cloud work program and the new cloud structured data corresponds to a new local data generated based on the new local data and the new local data process job As a result of the execution, each of the newly added cloud structured data and each of the newly added cloud work programs is a piece of newly-added near-end device identification information associated with the newly-added near-end device. 如請求項1所述的快速部署雲端服務的方法,其中更包括以下步驟:h1)於該雲端虛擬機器與一管理設備建立連接;h2)於自該管理設備收到一儀表板指令後依據該儀表板指令選擇該多個雲端工作程式,其中該多個雲端工作程式分別關聯該多個雲端結構化資料;h3)執行所選擇的該多個雲端工作程式來依據關聯的該多個雲端結構化資料產生該多個雲端執行結果;及h4)依據該多個雲端執行結果產生一儀表板資料,並傳送該儀表板資料至該管理設備以顯示一儀表板介面。 The method for rapidly deploying cloud services according to claim 1, which further includes the following steps: h1) establishing a connection between the cloud virtual machine and a management device; h2) after receiving a dashboard command from the management device, according to the The dashboard command selects the multiple cloud work programs, wherein the multiple cloud work programs are respectively associated with the multiple cloud structured data; h3) execute the selected multiple cloud work programs to perform the associated multiple cloud structured data The data generates the plurality of cloud execution results; and h4) generates a dashboard data according to the plurality of cloud execution results, and transmits the dashboard data to the management device to display a dashboard interface. 如請求項1所述的快速部署雲端服務的方法,其中於該步驟a)之前更包括以下步驟:i1)於一用戶電子設備依據一用戶識別資訊登入該雲端伺服器;i2)於該雲端伺服器創建該用戶識別資訊的該雲端虛擬機器;及i3)對該雲端虛擬機器進行一初始化設定並取得該雲端虛擬機器連接資訊。 The method for rapidly deploying cloud services as described in claim 1, wherein before step a), it further includes the following steps: i1) log in to the cloud server in a user electronic device according to a user identification information; i2) in the cloud server The device creates the cloud virtual machine with the user identification information; and i3) performs an initialization setting on the cloud virtual machine and obtains the cloud virtual machine connection information. 如請求項1所述的快速部署雲端服務的方法,其中更包括以下步驟: j1)於偵測到該近端設備的該本地資料發生變更時,經由該雲端同步連線上傳變更後的該本地資料及該近端設備的該近端設備識別資訊至該雲端虛擬機器;j2)於該雲端虛擬機器經由該雲端代理模組依據該近端設備識別資訊識別對應的該雲端結構化資料;及j3)依據變更後的該本地資料更新所識別的該雲端結構化資料。 The method for rapidly deploying cloud services as described in claim 1, which further includes the following steps: j1) Upon detecting that the local data of the near-end device has changed, upload the changed local data and the near-end device identification information of the near-end device to the cloud virtual machine via the cloud synchronization connection; j2 ) Identify the corresponding cloud structured data according to the identification information of the near-end device in the cloud virtual machine through the cloud proxy module; and j3) update the identified cloud structured data according to the changed local data. 如請求項1所述的快速部署雲端服務的方法,其中更包括以下步驟:k1)於偵測到該近端設備的任一該本地資料流程工作發生變更時,上傳變更後的該本地資料流程工作及該近端設備的該近端設備識別資訊至該雲端虛擬機器;k2)於該雲端虛擬機器經由該雲端代理模組依據該近端設備識別資訊識別對應的該雲端工作程式;及k3)依據變更後的該本地資料流程工作更新所識別的該雲端工作程式。 The method for rapidly deploying cloud services as described in claim 1, which further includes the following steps: k1) when any change in the local data flow of the near-end device is detected, upload the changed local data flow Work and the near-end device identification information of the near-end device to the cloud virtual machine; k2) the cloud virtual machine uses the cloud proxy module to identify the corresponding cloud work program according to the near-end device identification information; and k3) Update the identified cloud work program according to the changed local data flow work. 如請求項1所述的快速部署雲端服務的方法,其中更包括一步驟l)於該雲端虛擬機器偵測到已連接的該近端設備斷開時,中斷該雲端同步連線並停用關聯該近端設備的所有該雲端結構化資料及該雲端工作程式。 The method for rapidly deploying cloud services according to claim 1, which further includes a step 1) when the cloud virtual machine detects that the connected near-end device is disconnected, the cloud synchronization connection is interrupted and the association is disabled All the cloud structured data of the near-end device and the cloud work program. 如請求項1所述的快速部署雲端服務的方法,其中該雲端代理模組是提供web服務來與該近端設備進行資料傳輸。 The method for rapidly deploying cloud services according to claim 1, wherein the cloud proxy module provides a web service to perform data transmission with the near-end device. 如請求項7所述的快速部署雲端服務的方法,其中該雲端代理模組是經由RESTful API來提供該web服務。 The method for rapidly deploying a cloud service according to claim 7, wherein the cloud proxy module provides the web service via a RESTful API. 如請求項1所述的快速部署雲端服務的方法,更包括以下步驟:m1)於該近端設備依據一邊緣伺服器連接資訊連接一邊緣伺服器;m2)於該邊緣伺服器建置一邊緣代理模組; m3)使該近端設備與該邊緣伺服器建立一邊緣同步連線,並經由該邊緣同步連線持續同步該近端設備的多個該本地資料至該邊緣伺服器;m4)於該邊緣伺服器經由該邊緣代理模組選擇部分的該多個本地資料作為多個邊緣資料;及m5)依據所選擇的該多個本地資料所關聯的該近端設備的多個該本地資料流程工作或一邊緣資料流程工作設定操作設定多個邊緣資料流程工作。 The method for rapidly deploying cloud services as described in claim 1, further comprising the following steps: m1) connecting an edge server on the near-end device according to an edge server connection information; m2) establishing an edge on the edge server Agent module m3) Make the near-end device establish an edge synchronization connection with the edge server, and continuously synchronize a plurality of the local data of the near-end device to the edge server via the edge synchronization connection; m4) at the edge server The device selects part of the multiple local data as multiple edge data through the edge agent module; and m5) according to the multiple local data flow jobs of the near-end equipment associated with the selected multiple local data or a The edge data flow job setting operation sets multiple edge data flow jobs. 如請求項9所述的快速部署雲端服務的方法,其中該快速部署雲端服務的方法於該步驟m5)之後更包括以下步驟:m6)於該邊緣伺服器依據該雲端虛擬機器連接資訊連接該雲端虛擬機器;m7)於該雲端虛擬機器建置該雲端代理模組;m8)使該邊緣伺服器與該雲端虛擬機器建立該雲端同步連線,並經由該雲端同步連線持續同步該邊緣伺服器的該多個邊緣資料至該雲端虛擬機器;m9)上傳該邊緣伺服器的該多個邊緣資料流程工作至該雲端虛擬機器;及m10)於該雲端虛擬機器經由該雲端代理模組依據該多個邊緣資料流程工作設定該多個雲端工作程式,其中基於各該雲端工作程式及各該雲端結構化資料所產生的各該雲端執行結果對應基於各該邊緣資料及各該邊緣資料流程工作所產生的各邊緣執行結果。 The method for rapidly deploying cloud services according to claim 9, wherein the method for rapidly deploying cloud services further includes the following steps after the step m5): m6) connecting to the cloud at the edge server according to the cloud virtual machine connection information Virtual machine; m7) build the cloud proxy module on the cloud virtual machine; m8) make the edge server and the cloud virtual machine establish the cloud synchronization connection, and continuously synchronize the edge server through the cloud synchronization connection M9) upload the plurality of edge data processes of the edge server to the cloud virtual machine; and m10) on the cloud virtual machine through the cloud proxy module according to the cloud virtual machine; An edge data process task sets the multiple cloud work programs, wherein each cloud execution result generated based on each cloud work program and each cloud structured data corresponds to each edge data and each edge data process job generated The execution result of each edge. 如請求項10所述的快速部署雲端服務的方法,其中於該步驟m8)之前更包括一步驟m11)依據一同步範圍設定操作選擇部分的該多個邊緣資料或部分的該多個邊緣資料流程工作;該步驟m8)是經由該雲端同步連線持續同步所選擇的該多個邊緣資料或所選擇的該多個邊緣資料流程工作所關聯的該多個邊緣資料;該步驟m9)是上傳所選擇的該多個邊緣資料流程工作。 The method for rapidly deploying cloud services according to claim 10, wherein before the step m8), it further includes a step m11) selecting part of the plurality of edge data or part of the plurality of edge data processes according to a synchronization range setting operation The step m8) is to continuously synchronize the selected multiple edge data or the multiple edge data associated with the selected multiple edge data process work via the cloud synchronization connection; the step m9) is to upload all The selected multiple edge data processes work. 如請求項9所述的快速部署雲端服務的方法,其中該邊緣伺服器或該近端設備為閘道器。 The method for rapidly deploying cloud services according to claim 9, wherein the edge server or the near-end device is a gateway. 如請求項9所述的快速部署雲端服務的方法,其中該邊緣代理模組或該近端代理模組為工作室軟體模組。 The method for rapidly deploying cloud services according to claim 9, wherein the edge proxy module or the near-end proxy module is a studio software module. 如請求項1所述的快速部署雲端服務的方法,其中該近端設備包括一連網設備及至少一本地設備;該本地資料流程工作儲存於該連網設備,該本地資料儲存於該至少一本地設備,該連網設備用以連接該至少一本地設備及該雲端虛擬機器;該步驟c)是經由該連網設備自該至少一本地設備轉傳該本地資料至該雲端虛擬機器;該步驟e)是上傳該連網設備的該本地資料流程工作至該雲端虛擬機器。 The method for rapidly deploying cloud services according to claim 1, wherein the near-end device includes a networked device and at least one local device; the local data flow work is stored in the networked device, and the local data is stored in the at least one local Device, the networked device is used to connect the at least one local device and the cloud virtual machine; the step c) is to transfer the local data from the at least one local device to the cloud virtual machine via the networked device; the step e ) Is the process of uploading the local data of the networked device to the cloud virtual machine.
TW108140490A 2019-11-07 2019-11-07 Method of deploying cloud services quickly TWI722643B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108140490A TWI722643B (en) 2019-11-07 2019-11-07 Method of deploying cloud services quickly

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108140490A TWI722643B (en) 2019-11-07 2019-11-07 Method of deploying cloud services quickly

Publications (2)

Publication Number Publication Date
TWI722643B true TWI722643B (en) 2021-03-21
TW202119397A TW202119397A (en) 2021-05-16

Family

ID=76036090

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108140490A TWI722643B (en) 2019-11-07 2019-11-07 Method of deploying cloud services quickly

Country Status (1)

Country Link
TW (1) TWI722643B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130254402A1 (en) * 2012-03-23 2013-09-26 Commvault Systems, Inc. Automation of data storage activities
TW201423428A (en) * 2012-11-13 2014-06-16 Ibm Protection of user data in hosted application environments
US20160127567A1 (en) * 2014-11-01 2016-05-05 Somos, Inc. Predictive toll-free number search
CN110024422A (en) * 2016-12-30 2019-07-16 英特尔公司 The name of Internet of Things and block chained record

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130254402A1 (en) * 2012-03-23 2013-09-26 Commvault Systems, Inc. Automation of data storage activities
TW201423428A (en) * 2012-11-13 2014-06-16 Ibm Protection of user data in hosted application environments
US20160127567A1 (en) * 2014-11-01 2016-05-05 Somos, Inc. Predictive toll-free number search
CN110024422A (en) * 2016-12-30 2019-07-16 英特尔公司 The name of Internet of Things and block chained record

Also Published As

Publication number Publication date
TW202119397A (en) 2021-05-16

Similar Documents

Publication Publication Date Title
US10728340B2 (en) Internet of things (IOT) platform for device configuration management and support
US10332043B2 (en) System and approach for setting forth a physical view and a network view of a job
US9400301B2 (en) Electronic testing device
US11799732B2 (en) Internet of things device discovery and configuration
JP6347813B2 (en) Network switch, device management system, and device management method thereof
US10972351B2 (en) Dynamic management of network environments
WO2007019284A2 (en) Methods and arrangements for managing automated switching
US11221889B2 (en) Method of deploying cloud services quickly
US20200014591A1 (en) Method and system of device deployment integrating with automatic configuration and asset management
TWI534635B (en) Cloud service system and method thereof
US10523525B2 (en) Network switch, device management system, and device management method thereof
TWI722643B (en) Method of deploying cloud services quickly
US10713278B2 (en) Flexible configuration of offline synchronization scope
TW201947911A (en) Method of automatically building cloud services thereof
US20230010215A1 (en) Streamlining the commission of network identifiers
JP6086183B2 (en) Information processing system, information processing method, server, control method thereof, and control program
US11601476B2 (en) Gateway action framework
Kurniawan Arduino Programming with. NET and Sketch
CN112910934A (en) Method for rapidly deploying cloud service
Carlson et al. Ambient flow: A visual approach for remixing the Internet of Things
CN114008563B (en) System and method for identifying servers on a rack and assigning appropriate IP addresses to servers based on the physical location of the servers
JP7463458B2 (en) Setting information providing device, setting information providing method, and program
US20120317538A1 (en) Apparatus for Intermediating Network Operators and Developers
TWI809861B (en) Depolyment system for internet of things and deployment method for the same
Younan et al. A wot testbed for research and course projects