本發明係關於一種動態部署與混合雲資源調度技術,特別是指一種智慧化動態部署與混合雲資源調度系統、方法及電腦可讀媒介。This invention relates to a dynamic deployment and hybrid cloud resource scheduling technology, and more particularly to an intelligent dynamic deployment and hybrid cloud resource scheduling system, method, and computer-readable medium.
近年來,大型應用服務依照產品功能、服務需求等進行元件拆分,並使用雲資源進行容器化部署,但大型應用服務多半以常駐及特定數量副本執行。若無法針對實際應用服務之狀態按照用戶端(end user)之需求進行部署,將導致雲資源之浪費且無法有效處理用戶端之請求,造成用戶端之體驗不佳問題。In recent years, large-scale application services have been broken down into components based on product functionality and service requirements, and deployed in containers using cloud resources. However, large-scale application services are often run with a specific number of resident replicas. Failure to deploy applications based on actual application status and end-user needs results in wasted cloud resources and an inability to effectively process client requests, resulting in a poor user experience.
在一現有技術中,提出一種針對運算主機之叢集管理與動態調度系統及方法,係提供具有第一運算主機之第一運算主機叢集與具有第二運算主機之第二運算主機叢集,以於第二運算主機叢集具有足夠的運算資源時,由第二運算主機執行運算服務,而於第二運算主機叢集的運算資源不足時,將第一運算主機動態調度來暫時性支援第二運算主機叢集以提供運算服務。In one prior art, a system and method for cluster management and dynamic scheduling of computing hosts is proposed. The system provides a first computing host cluster comprising a first computing host and a second computing host cluster comprising a second computing host. When the second computing host cluster has sufficient computing resources, the second computing host performs computing services. When the computing resources of the second computing host cluster are insufficient, the first computing host is dynamically scheduled to temporarily support the second computing host cluster in providing computing services.
惟,此現有技術並無法有效率地管理可動態部署之應用服務與可調度之雲資源之生命週期,亦無法依據混合雲應用服務叢集中之應用服務之部署數量與雲資源使用狀態進行決策以智慧化動態部署應用服務所需調度之混合雲資源來有效承載應用服務,也無法依據所需承載之應用服務之規格、數量與雲資源請求向應用服務雲端叢集進行請求雲資源調度以建立或刪除所動態部署之應用服務。However, this existing technology cannot efficiently manage the lifecycle of dynamically deployable application services and scalable cloud resources. It also cannot make decisions based on the number of deployed application services and cloud resource usage within a hybrid cloud application service cluster to intelligently and dynamically deploy the hybrid cloud resources required to efficiently host application services. Furthermore, it cannot request cloud resource scheduling from the application service cloud cluster to create or delete dynamically deployed application services based on the specifications, quantity, and cloud resource requirements of the required application services.
因此,如何提供一種創新之動態部署與混合雲資源調度技術,以解決上述之任一問題,亦或提供相關之系統及方法,已成為本領域技術人員之一大研究課題。Therefore, providing innovative dynamic deployment and hybrid cloud resource scheduling technologies to address any of the aforementioned issues, or providing related systems and methods, has become a major research topic for technical professionals in this field.
本發明之智慧化動態部署與混合雲資源調度系統,係包括:一動態部署與混合雲資源調度管理模組,係管理可動態部署之應用服務與可調度之雲資源之生命週期;一鑑測與決策模組,係通訊連結動態部署與混合雲資源調度管理模組,以由鑑測與決策模組依據動態部署之應用服務與雲資源之鑑測狀態提取至少一混合雲應用服務叢集中之應用服務之部署數量與雲資源使用狀態,俾由鑑測與決策模組依據混合雲應用服務叢集中之應用服務之部署數量與雲資源使用狀態進行決策,以智慧化動態部署應用服務所需調度之混合雲資源來承載應用服務;以及一部署與調度執行模組,係通訊連結鑑測與決策模組,以由部署與調度執行模組依據混合雲應用服務叢集之動態部署配置來執行至少一應用服務雲端叢集之部署,俾由部署與調度執行模組依據所需承載之應用服務之規格、數量與雲資源請求向應用服務雲端叢集進行請求雲資源調度,以實現建立或刪除所動態部署之應用服務。The intelligent dynamic deployment and hybrid cloud resource scheduling system of the present invention includes: a dynamic deployment and hybrid cloud resource scheduling management module, which manages the life cycle of dynamically deployable application services and scalable cloud resources; a detection and decision module, which is connected to the dynamic deployment and hybrid cloud resource scheduling management module, so that the detection and decision module extracts the deployment quantity and cloud resource usage status of at least one hybrid cloud application service cluster based on the detection status of the dynamically deployed application services and cloud resources, so that the detection and decision module can make decisions based on the application services in the hybrid cloud application service cluster. The system makes decisions based on the deployment quantity and cloud resource usage status, intelligently and dynamically deploying hybrid cloud resources required by the application service to host the application service. Furthermore, a deployment and scheduling execution module communicates with the assessment and decision-making module, allowing the deployment and scheduling execution module to execute the deployment of at least one application service cloud cluster based on the dynamic deployment configuration of the hybrid cloud application service cluster. The deployment and scheduling execution module then requests cloud resource scheduling from the application service cloud cluster based on the specifications, quantity, and cloud resource requirements of the application service to be hosted, thereby enabling the creation or deletion of the dynamically deployed application service.
本發明之智慧化動態部署與混合雲資源調度方法,係包括:由一動態部署與混合雲資源調度管理模組管理可動態部署之應用服務與可調度之雲資源之生命週期;由一鑑測與決策模組依據動態部署之應用服務與雲資源之鑑測狀態提取至少一混合雲應用服務叢集中之應用服務之部署數量與雲資源使用狀態,俾由鑑測與決策模組依據混合雲應用服務叢集中之應用服務之部署數量與雲資源使用狀態進行決策,以智慧化動態部署應用服務所需調度之混合雲資源來承載應用服務;以及由一部署與調度執行模組依據混合雲應用服務叢集之動態部署配置來執行至少一應用服務雲端叢集之部署,俾由部署與調度執行模組依據所需承載之應用服務之規格、數量與雲資源請求向應用服務雲端叢集進行請求雲資源調度,以實現建立或刪除所動態部署之應用服務。The intelligent dynamic deployment and hybrid cloud resource scheduling method of the present invention includes: a dynamic deployment and hybrid cloud resource scheduling management module manages the life cycle of dynamically deployable application services and scalable cloud resources; an assessment and decision module extracts the deployment quantity and cloud resource usage status of at least one hybrid cloud application service cluster based on the assessment status of the dynamically deployed application services and cloud resources, so that the assessment and decision module can make decisions based on the deployment quantity of the application services in the hybrid cloud application service cluster. The system makes decisions based on the usage status of cloud resources, intelligently and dynamically deploying hybrid cloud resources required for application services to host them. A deployment and scheduling execution module executes the deployment of at least one application service cloud cluster based on the dynamic deployment configuration of the hybrid cloud application service cluster. The deployment and scheduling execution module requests cloud resource scheduling from the application service cloud cluster based on the specifications, quantity, and cloud resource requirements of the application service to be hosted, thereby enabling the creation or deletion of the dynamically deployed application service.
本發明之電腦可讀媒介應用於計算裝置或電腦中,係儲存有指令,並透過處理器與記憶體執行電腦可讀媒介,以於執行電腦可讀媒介時,執行上述智慧化動態部署與混合雲資源調度方法。The computer-readable medium of the present invention is applied to a computing device or computer, storing instructions. The computer-readable medium is executed by a processor and memory to implement the aforementioned intelligent dynamic deployment and hybrid cloud resource scheduling method.
因此,本發明提供一種創新之智慧化動態部署與混合雲資源調度系統、方法及電腦可讀媒介,係能由動態部署與混合雲資源調度管理模組有效率地管理可動態部署之應用服務與可調度之雲資源之生命週期。Therefore, the present invention provides an innovative intelligent dynamic deployment and hybrid cloud resource scheduling system, method, and computer-readable medium, which can efficiently manage the lifecycle of dynamically deployable application services and scalable cloud resources through a dynamic deployment and hybrid cloud resource scheduling management module.
或者,本發明能由鑑測與決策模組自動地依據動態部署之應用服務與雲資源之鑑測狀態提取混合雲應用服務叢集中之應用服務之部署數量與雲資源使用狀態,有利於迅速地依據應用服務之部署數量與雲資源使用狀態進行決策,以智慧化動態部署應用服務所需調度之混合雲資源來有效承載應用服務。Alternatively, the present invention can automatically extract the deployment quantity and cloud resource usage status of application services within a hybrid cloud application service cluster based on the assessment status of dynamically deployed application services and cloud resources through the assessment and decision-making module. This facilitates rapid decision-making based on the deployment quantity and cloud resource usage status of application services, effectively hosting application services through intelligent dynamic deployment of hybrid cloud resources required for scheduling.
亦或者,本發明能由部署與調度執行模組自動地依據混合雲應用服務叢集之動態部署配置來執行應用服務雲端叢集之部署,以依據所需承載之應用服務之規格、數量與雲資源請求向應用服務雲端叢集進行請求雲資源調度,俾利於輕易地實現建立或刪除所動態部署之應用服務。Alternatively, the present invention can automatically deploy an application service cloud cluster based on the dynamic deployment configuration of the hybrid cloud application service cluster through a deployment and scheduling execution module. This module can then request cloud resource scheduling from the application service cloud cluster based on the specifications, quantity, and cloud resource requirements of the application services to be hosted, facilitating the easy creation or deletion of dynamically deployed application services.
為使本發明之上述特徵與優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明。在以下描述內容中將部分闡述本發明之額外特徵及優點,且此等特徵及優點將部分自所述描述內容可得而知,或可藉由對本發明之實踐習得。應理解,前文一般描述與以下詳細描述二者均為例示性及解釋性的,且不欲約束本發明所欲主張之範圍。To make the above-mentioned features and advantages of the present invention more readily apparent, the following examples are provided with accompanying drawings for detailed description. Additional features and advantages of the present invention will be partially explained in the following description, and some of these features and advantages will be apparent from the description or may be learned through practice of the present invention. It should be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not intended to limit the scope of the present invention.
1:智慧化動態部署與混合雲資源調度系統1: Intelligent dynamic deployment and hybrid cloud resource scheduling system
10:動態部署與混合雲資源調度管理模組10: Dynamic Deployment and Hybrid Cloud Resource Scheduling Management Module
11:應用服務註冊應用程式介面11: Application Service Registration API
12:動態部署註冊應用程式介面12: Dynamically deploy and register APIs
13:雲資源擴充應用程式介面13: Cloud Resource Extension API
14:資料庫14:Database
20:鑑測與決策模組20: Assessment and Decision-Making Module
21:外部服務鑑測單元21: External Service Assessment Unit
22:動態部署鑑測單元22: Dynamically deploy the detection unit
23:雲資源鑑測單元23: Cloud Resource Assessment Unit
24:決策單元24: Decision-making Unit
30:部署與調度執行模組30: Deployment and Scheduling Execution Module
31:動態部署檢測單元31: Dynamic deployment detection unit
32:雲資源調度配置單元32: Cloud resource scheduling configuration unit
40:雲資源擴充模組40: Cloud Resource Expansion Module
41:雲資源計算單元41: Cloud Resource Computing Unit
42:雲資源配置單元42: Cloud Resource Configuration Unit
50:混合雲應用服務叢集50: Hybrid Cloud Application Service Cluster
51:應用服務雲端叢集51: Application Service Cloud Cluster
60:雲資源管理平台60: Cloud Resource Management Platform
A:管理端A: Management side
B:應用服務B: Application Services
C:雲資源C: Cloud Resources
D:外部服務D: External Services
S1至S8,S61至S62:步驟S1 to S8, S61 to S62: Steps
圖1為本發明之智慧化動態部署與混合雲資源調度系統之架構示意圖。Figure 1 is a schematic diagram of the architecture of the intelligent dynamic deployment and hybrid cloud resource scheduling system of the present invention.
圖2為本發明之智慧化動態部署與混合雲資源調度方法之流程示意圖。Figure 2 is a schematic diagram of the process of the intelligent dynamic deployment and hybrid cloud resource scheduling method of the present invention.
以下藉由特定的具體實施形態說明本發明之實施方式,熟悉此技術之人士可由本說明書所揭示之內容瞭解本發明之其他優點與功效,亦可因而藉由其他不同具體等同實施形態加以施行或運用。The following describes the implementation of the present invention using specific embodiments. Those skilled in the art will understand the other advantages and benefits of the present invention from the disclosure herein and will be able to implement or utilize the present invention through other equivalent embodiments.
圖1為本發明之智慧化動態部署與混合雲資源調度系統1之架構示意圖。如圖1所示,智慧化動態部署與混合雲資源調度系統1可包括互相通訊連結之一動態部署與混合雲資源調度管理模組10、一資料庫14、一鑑測與決策模組20、一部署與調度執行模組30、一雲資源擴充模組40、至少一(如複數)混合雲應用服務叢集50(應用服務雲端叢集51)、以及至少一(如複數)雲資源管理平台60。Figure 1 is a schematic diagram of the architecture of the intelligent dynamic deployment and hybrid cloud resource scheduling system 1 of the present invention. As shown in Figure 1 , the intelligent dynamic deployment and hybrid cloud resource scheduling system 1 may include a dynamic deployment and hybrid cloud resource scheduling management module 10, a database 14, a forensics and decision-making module 20, a deployment and scheduling execution module 30, a cloud resource expansion module 40, at least one (e.g., multiple) hybrid cloud application service clusters 50 (application service cloud clusters 51), and at least one (e.g., multiple) cloud resource management platforms 60, all of which are interconnected.
在一實施例中,動態部署與混合雲資源調度管理模組10可通訊連結資料庫14及鑑測與決策模組20等,鑑測與決策模組20可進一步通訊連結資料庫14、部署與調度執行模組30、雲資源擴充模組40、混合雲應用服務叢集50(應用服務雲端叢集51)及雲資源管理平台60等,且雲資源擴充模組40可進一步通訊連結雲資源管理平台60等。In one embodiment, the dynamic deployment and hybrid cloud resource scheduling management module 10 can communicate with the database 14 and the forensic and decision-making module 20. The forensic and decision-making module 20 can further communicate with the database 14, the deployment and scheduling execution module 30, the cloud resource expansion module 40, the hybrid cloud application service cluster 50 (application service cloud cluster 51), and the cloud resource management platform 60. The cloud resource expansion module 40 can further communicate with the cloud resource management platform 60.
在一實施例中,動態部署與混合雲資源調度管理模組10可具有一應用服務註冊應用程式介面(Application Programming Interface;API)11、一動態部署註冊應用程式介面12與一雲資源擴充應用程式介面13等,鑑測與決策模組20可具有一外部服務鑑測單元21、一動態部署鑑測單元22、一雲資源鑑測單元23與一決策單元24等,部署與調度執行模組30可具有一動態部署檢測單元31與一雲資源調度配置單元32等,雲資源擴充模組40可具有一雲資源計算單元41與一雲資源配置單元42等。In one embodiment, the dynamic deployment and hybrid cloud resource scheduling management module 10 may include an application service registration API 11, a dynamic deployment registration API 12, and a cloud resource extension API 13. The assessment and decision module 20 may include an external service assessment unit 21, a dynamic deployment assessment unit 22, a cloud resource assessment unit 23, and a decision unit 24. The deployment and scheduling execution module 30 may include a dynamic deployment detection unit 31 and a cloud resource scheduling configuration unit 32. The cloud resource extension module 40 may include a cloud resource computing unit 41 and a cloud resource configuration unit 42.
在一實施例中,動態部署與混合雲資源調度管理模組10可為動態部署與混合雲資源調度管理器(晶片/電路)、動態部署與混合雲資源調度管理軟體(程式)等,資料庫14可為資料儲存器、資料記憶體、資料伺服器、資料硬碟等。鑑測與決策模組20可為鑑測與決策器(晶片/電路)、鑑測與決策軟體(程式)等,外部服務鑑測單元21可為外部服務鑑測器(晶片/電路)、外部服務軟體(程式)等,動態部署鑑測單元22可為動態部署鑑測器(晶片/電路)、動態部署鑑測軟體(程式)等,雲資源鑑測單元23可為雲資源鑑測器(晶片/電路)、雲資源鑑測軟體(程式)等,決策單元24可為決策軟體(程式)等。In one embodiment, the dynamic deployment and hybrid cloud resource scheduling management module 10 can be a dynamic deployment and hybrid cloud resource scheduling manager (chip/circuit), dynamic deployment and hybrid cloud resource scheduling management software (program), etc., and the database 14 can be a data storage device, a data memory, a data server, a data hard drive, etc. The assessment and decision module 20 can be an assessment and decision device (chip/circuit), assessment and decision software (program), etc. The external service assessment unit 21 can be an external service assessment device (chip/circuit), external service software (program), etc. The dynamic deployment assessment unit 22 can be a dynamic deployment assessment device (chip/circuit), dynamic deployment assessment software (program), etc. The cloud resource assessment unit 23 can be a cloud resource assessment device (chip/circuit), cloud resource assessment software (program), etc. The decision unit 24 can be a decision software (program), etc.
在一實施例中,部署與調度執行模組30可為部署與調度執行器(晶片/電路)、部署與調度執行軟體(程式)等,動態部署檢測單元31可為動態部署檢測器(晶片/電路)、動態部署檢測軟體(程式)等,雲資源調度配置單元32可為雲資源調度配置器(晶片/電路)、雲資源調度配置軟體(程式)等。雲資源擴充模組40可為雲資源擴充器(晶片/電路)、雲資源擴充軟體(程式)等,雲資源計算單元41可為雲資源計算器(晶片/電路)、雲資源計算軟體(程式)等,雲資源配置單元42可為雲資源配置器(晶片/電路)、雲資源配置軟體(程式)等。雲資源管理平台60可為雲資源管理系統,例如Google GCP(Google Cloud Platform)、Microsoft Azure、Amazon AWS(Amazon Web Services)、中華電信hicloud雲端服務等。In one embodiment, the deployment and scheduling execution module 30 can be a deployment and scheduling executor (chip/circuit), deployment and scheduling execution software (program), etc., the dynamic deployment detection unit 31 can be a dynamic deployment detector (chip/circuit), dynamic deployment detection software (program), etc., and the cloud resource scheduling configuration unit 32 can be a cloud resource scheduling configurator (chip/circuit), cloud resource scheduling configuration software (program), etc. The cloud resource expansion module 40 can be a cloud resource expander (chip/circuit), cloud resource expansion software (program), etc. The cloud resource computing unit 41 can be a cloud resource calculator (chip/circuit), cloud resource computing software (program), etc. The cloud resource configuration unit 42 can be a cloud resource configurator (chip/circuit), cloud resource configuration software (program), etc. The cloud resource management platform 60 can be a cloud resource management system such as Google Cloud Platform (GCP), Microsoft Azure, Amazon AWS (Amazon Web Services), or Chunghwa Telecom's hicloud cloud service.
本發明所述「至少一」代表一個以上(如一、二或三個以上),「複數」代表二個以上(如二、三、四或十個以上),「通訊連結」代表透過資料、訊號、電性、有線方式(如有線網路)或無線方式(如無線網路)等各種形式互相通訊或連結。「管理端」可為管理者及/或所使用之電子裝置,「鑑測」可為鑑定或監測等。「雲資源」可為雲端之各種硬體或軟體之資源,例如處理器(如CPU或vCPU)、記憶體(如RAM、ROM、Flash)、硬碟(如虛擬硬碟)、伺服器、網路設備、應用程式等。As used herein, "at least one" means more than one (e.g., one, two, or three or more); "plurality" means more than two (e.g., two, three, four, or ten or more); and "communication link" means communication or connection via various means, such as data, signal, electrical, wired (e.g., wired network), or wireless (e.g., wireless network). "Management end" may refer to the administrator and/or the electronic device being used. "Assessment" may refer to assessment or monitoring, etc. "Cloud resources" may refer to various hardware or software resources in the cloud, such as processors (e.g., CPU or vCPU), memory (e.g., RAM, ROM, Flash), hard drives (e.g., virtual hard drives), servers, network devices, applications, etc.
本發明係動態部署應用服務B與調度混合雲資源C,以利按照應用服務B之即時狀態協助調度雲資源C來承載所動態部署之應用服務B,亦能提升用戶端對於應用服務B之存取品質。This invention dynamically deploys application service B and schedules hybrid cloud resources C. This helps schedule cloud resources C to host the dynamically deployed application service B based on the real-time status of application service B, and also improves the quality of client access to application service B.
[1]動態部署與混合雲資源調度管理模組10:係管理可動態部署之應用服務B與可調度之雲資源C之生命週期,並包括(1)註冊管理端A所上架/管理之應用服務B之資訊、(2)提供動態部署與混合雲資源調度之配置參數、及(3)提供雲資源C之擴充配置方式,以由動態部署與混合雲資源調度管理模組10將(1)應用服務B之資訊、(2)動態部署與混合雲資源調度之配置參數、及(3)雲資源C之擴充配置方式分別儲存至資料庫14。[1] Dynamic deployment and hybrid cloud resource scheduling management module 10: manages the life cycle of dynamically deployable application service B and schedulable cloud resource C, and includes (1) registering the information of application service B listed/managed by management terminal A, (2) providing configuration parameters for dynamic deployment and hybrid cloud resource scheduling, and (3) providing an extended configuration method for cloud resource C, so that the dynamic deployment and hybrid cloud resource scheduling management module 10 stores (1) information of application service B, (2) configuration parameters for dynamic deployment and hybrid cloud resource scheduling, and (3) extended configuration method for cloud resource C in the database 14 respectively.
應用服務註冊應用程式介面11:可設定/定義動態部署之應用服務B之資訊與雲資源C之需求參數之範圍。Application Service Registration API 11: This interface can be used to configure/define the information of dynamically deployed application service B and the scope of the required parameters of cloud resource C.
動態部署註冊應用程式介面12:可設定/定義鑑測、計算動態部署之應用服務B(如目標應用服務)之方式、擴充雲資源C之參數範圍。Dynamic Deployment Registration API 12: This interface allows you to configure/define methods for evaluating and calculating dynamically deployed application services B (such as the target application service), and to expand the parameter range of cloud resources C.
雲資源擴充應用程式介面13:可提供雲資源C之擴充配置方式(如雲資源C之種類及啟動方式)及可呼叫不同雲資源管理平台60之資訊。Cloud Resource Extension API 13: Provides extended configuration methods for cloud resources C (such as the type and activation method of cloud resources C) and can access information from different cloud resource management platforms 60.
[2]鑑測與決策模組20:可利用動態部署與混合雲資源調度管理模組10或資料庫14所提供之動態部署與混合雲資源調度之配置參數,並依據管理端A之設定/定義所鑑測之外部服務D(例如為NATS訊息系統之訊息系統之服務)、動態部署之應用服務雲端叢集51(如目標應用服務雲端叢集)、及應用服務B之雲資源使用狀態等進行決策。[2] The assessment and decision module 20 can utilize the dynamic deployment and hybrid cloud resource scheduling configuration parameters provided by the dynamic deployment and hybrid cloud resource scheduling management module 10 or the database 14, and make decisions based on the settings/definition of the management terminal A, the assessed external service D (e.g., the service of the NATS messaging system), the dynamically deployed application service cloud cluster 51 (e.g., the target application service cloud cluster), and the cloud resource usage status of the application service B.
外部服務鑑測單元21:可提取與應用服務B相依(如相關或相關聯)之外部服務D(如訊息系統之服務),以取得此應用服務B之即時使用狀態。External service detection unit 21: can extract external services D (such as messaging system services) that are dependent on (e.g., related or associated with) application service B to obtain the real-time usage status of application service B.
動態部署鑑測單元22:可提取已註冊之應用服務B,以計算出此應用服務B之動態部署數量。Dynamic deployment detection unit 22: can extract registered application service B to calculate the dynamic deployment quantity of this application service B.
雲資源鑑測單元23:可向混合雲應用服務叢集50提取應用服務B之雲資源使用量。若動態部署註冊應用程式介面12配置有已啟用之雲資源擴充功能參數,則雲資源鑑測單元23可向雲資源管理平台60提取雲資源供裝狀態。Cloud resource assessment unit 23: This unit can retrieve the cloud resource usage of application service B from the hybrid cloud application service cluster 50. If the dynamic deployment registration API 12 is configured with the cloud resource extension function parameter enabled, the cloud resource assessment unit 23 can retrieve the cloud resource provisioning status from the cloud resource management platform 60.
決策單元24:可分別提取(1)外部服務鑑測單元21所取得之應用服務B之即時使用狀態、(2)動態部署鑑測單元22所取得之應用服務B之動態部署數量、(3)雲資源鑑測單元23所取得之應用服務B之雲資源使用狀態(如應用服務B之雲資源使用量、雲資源擴充功能參數、雲資源供裝狀態),以由決策單元24依據管理端A所設定/定義之動態部署與混合雲資源調度之配置參數計算出應用服務B之動態部署數量,再由決策單元24確認應用服務B之動態部署數量是否在上限與下限之間、單一應用服務雲端叢集51之部署數量、及雲擴充使用量是否充足,以供執行動態部署應用服務B與調度雲資源C之決策。同時,鑑測與決策模組20可依據管理端A之配置方式以定期執行下列三者之狀態檢測:(1)外部服務D(如訊息系統之服務)之訊息狀態、(2)應用服務B之動態部署數量、(3)雲資源C之使用狀態。Decision making unit 24: can extract (1) the real-time usage status of application service B obtained by external service assessment unit 21, (2) the dynamic deployment quantity of application service B obtained by dynamic deployment assessment unit 22, (3) the cloud resource usage status of application service B obtained by cloud resource assessment unit 23 (such as the cloud resource usage of application service B, cloud resource expansion function parameters, cloud resource provisioning status), so as to make a decision. The policy unit 24 calculates the dynamic deployment quantity of application service B based on the configuration parameters of dynamic deployment and hybrid cloud resource scheduling set/defined by the management terminal A. The decision unit 24 then confirms whether the dynamic deployment quantity of application service B is between the upper limit and the lower limit, the deployment quantity of a single application service cloud cluster 51, and whether the cloud expansion usage is sufficient, so as to make decisions on dynamically deploying application service B and scheduling cloud resource C. At the same time, the assessment and decision module 20 can periodically perform status checks on the following three items based on the configuration method of the management terminal A: (1) the message status of external service D (such as the service of the message system), (2) the dynamic deployment quantity of application service B, and (3) the usage status of cloud resource C.
[3]部署與調度執行模組30:可依據混合雲應用服務叢集50之組成以動態部署應用服務B及建置雲資源C之調度資訊,再由部署與調度執行模組30執行雲資源C之調度請求以承載所動態部署之應用服務B。[3] Deployment and Scheduling Execution Module 30: Based on the composition of the hybrid cloud application service cluster 50, the application service B can be dynamically deployed and the scheduling information of the cloud resource C can be established. The deployment and scheduling execution module 30 then executes the scheduling request of the cloud resource C to carry the dynamically deployed application service B.
動態部署檢測單元31:可檢測應用服務B之資訊,以由動態部署檢測單元31依據混合雲資源C之應用服務雲端叢集51之配置來執行動態部署應用服務B。Dynamic deployment detection unit 31: This unit can detect information about application service B and dynamically deploy application service B based on the configuration of the application service cloud cluster 51 of hybrid cloud resource C.
雲資源調度配置單元32:可依據混合雲資源C之應用服務雲端叢集51調度雲資源C以承載應用服務B,且雲資源調度配置單元32可透過呼叫複數(如至少二個)應用服務雲端叢集51,以達成動態部署與混合雲資源調度。Cloud resource scheduling unit 32: This unit can schedule cloud resource C to host application service B based on the hybrid cloud resource C's application service cloud cluster 51. Furthermore, the cloud resource scheduling unit 32 can call on multiple (e.g., at least two) application service cloud clusters 51 to achieve dynamic deployment and hybrid cloud resource scheduling.
[4]雲資源擴充模組40:可接收鑑測與決策模組20之決策單元24之雲資源擴充需求。[4] Cloud resource expansion module 40: can receive cloud resource expansion requirements from the decision unit 24 of the assessment and decision module 20.
雲資源計算單元41:可依據鑑測與決策模組20之決策單元24之雲資源擴充需求計算出所需擴充之雲資源C。Cloud resource calculation unit 41: Calculates the required cloud resources C based on the cloud resource expansion requirements of the decision unit 24 of the assessment and decision module 20.
雲資源配置單元42:可將雲資源C之擴充配置方式組成相應之請求以發送至擴充之雲資源管理平台60(如目標雲資源管理平台)。同時,雲資源配置單元42可透過呼叫雲資源管理平台60以擴充雲資源C,再將所擴充之雲資源C加入複數(如至少二個)應用服務雲端叢集51所組成之混合雲應用服務叢集50。Cloud resource configuration unit 42 can construct a corresponding request with the expansion configuration method for cloud resource C and send it to the expansion cloud resource management platform 60 (e.g., the target cloud resource management platform). At the same time, cloud resource configuration unit 42 can call the cloud resource management platform 60 to expand cloud resource C and then add the expanded cloud resource C to the hybrid cloud application service cluster 50 composed of multiple (e.g., at least two) application service cloud clusters 51.
申言之,本發明之智慧化動態部署與混合雲資源調度系統1可包括下列技術內容。In other words, the intelligent dynamic deployment and hybrid cloud resource scheduling system 1 of the present invention may include the following technical contents.
[1]動態部署與混合雲資源調度管理模組10:可具有(A)應用服務註冊應用程式介面11,用以配置應用服務B之部署設定、雲資源C之使用與調度參考;(B)動態部署註冊應用程式介面12,用以提供設定應用服務B之動態部署規則、外部服務D之監控與計算方式;及(C)雲資源擴充應用程式介面13,用以提供雲資源C之擴充規格、擴充雲資源C之行為機制,並提供混合雲應用服務叢集50之組成或擴充方式。[1] Dynamic deployment and hybrid cloud resource scheduling management module 10: may include (A) an application service registration API 11 for configuring the deployment settings of application service B and the use and scheduling reference of cloud resource C; (B) a dynamic deployment registration API 12 for providing dynamic deployment rules for setting application service B and the monitoring and calculation method of external service D; and (C) a cloud resource expansion API 13 for providing expansion specifications of cloud resource C, a behavior mechanism for expanding cloud resource C, and providing the composition or expansion method of the hybrid cloud application service cluster 50.
[2]鑑測與決策模組20:可依據管理端A所配置之動態部署之應用服務B、外部服務D與雲資源C之鑑測狀態,提取至少一混合雲應用服務叢集50中之應用服務B之部署數量與雲資源使用狀態,俾由鑑測與決策模組20依據混合雲應用服務叢集50中之應用服務B之部署數量與雲資源使用狀態進行決策以動態部署應用服務B所需調度之混合雲資源來承載應用服務B。[2] Assessment and decision module 20: Based on the assessment status of the dynamically deployed application service B, external service D, and cloud resource C configured by the management terminal A, the deployment quantity and cloud resource usage status of application service B in at least one hybrid cloud application service cluster 50 can be extracted, so that the assessment and decision module 20 can make a decision based on the deployment quantity and cloud resource usage status of application service B in the hybrid cloud application service cluster 50 to dynamically deploy the hybrid cloud resources required to schedule application service B to carry application service B.
若配置有雲資源擴充設定,則鑑測與決策模組20可透過雲資源管理平台60提取目前之雲資源供裝狀態以協同進行計算決策,且鑑測與決策模組20之決策行為可包括依據混合雲應用服務叢集50中之單一應用服務雲端叢集51之部署與雲資源使用狀態進行評估,並從中進行動態部署與雲資源調度決策,俾供鑑測與決策模組20配發單一應用服務雲端叢集51所承載或部署之應用服務B之數量。If cloud resource expansion is configured, the assessment and decision module 20 can retrieve the current cloud resource provisioning status from the cloud resource management platform 60 to collaboratively make computing decisions. The assessment and decision module 20's decision-making behavior may include evaluating the deployment and cloud resource usage status of a single application service cloud cluster 51 within the hybrid cloud application service cluster 50, and making dynamic deployment and cloud resource scheduling decisions based on this information. This allows the assessment and decision module 20 to allocate the quantity of application service B hosted or deployed on the single application service cloud cluster 51.
[3]部署與調度執行模組30:可依據混合雲應用服務叢集50之動態部署配置以執行至少一(如單一)應用服務雲端叢集51之部署,且由部署與調度執行模組30依據計算出所需承載之應用服務B之規格、數量與雲資源請求,向不同之應用服務雲端叢集51(如目標應用服務雲端叢集)進行請求雲資源調度,以實現建立或刪除所動態部署之應用服務B。[3] Deployment and scheduling execution module 30: can execute the deployment of at least one (e.g., a single) application service cloud cluster 51 based on the dynamic deployment configuration of the hybrid cloud application service cluster 50. The deployment and scheduling execution module 30 can request cloud resource scheduling from different application service cloud clusters 51 (e.g., the target application service cloud cluster) based on the specifications, quantity, and cloud resource requirements of the application service B to be carried, so as to establish or delete the dynamically deployed application service B.
[4]雲資源擴充模組40:當應用服務雲端叢集51所承載之應用服務B能部署之雲資源C不足時,雲資源擴充模組40可進行雲資源C之擴充配置。當擴充雲資源C時,雲資源擴充模組40可指定雲資源C加入特定之應用服務雲端叢集51,俾依據雲資源C之不同註冊規格呼叫不同雲資源管理平台60以配置應用服務雲端叢集51而達成雲資源C之擴充。[4] Cloud resource expansion module 40: When the cloud resource C that can be deployed for application service B hosted by the application service cloud cluster 51 is insufficient, the cloud resource expansion module 40 can perform expansion configuration of cloud resource C. When expanding cloud resource C, the cloud resource expansion module 40 can specify that cloud resource C be added to a specific application service cloud cluster 51, so that different cloud resource management platforms 60 can be called according to different registration specifications of cloud resource C to configure the application service cloud cluster 51 to achieve expansion of cloud resource C.
圖2為本發明之智慧化動態部署與混合雲資源調度方法之流程示意圖,並參閱圖1所示之智慧化動態部署與混合雲資源調度系統1一併說明。Figure 2 is a schematic diagram of the process flow of the intelligent dynamic deployment and hybrid cloud resource scheduling method of the present invention, and is described together with the intelligent dynamic deployment and hybrid cloud resource scheduling system 1 shown in Figure 1.
管理端A可透過動態部署與混合雲資源調度管理模組10進行:(1)註冊管理端A所上架/管理之應用服務B之資訊、(2)設定動態部署與混合雲資源調度之配置參數、(3)設定雲資源C之擴充配置方式,即可提供智慧化動態部署與混合雲資源調度機制,以增加管理端A所上架/管理之應用服務B之可用性,具體流程如下。The management terminal A can use the dynamic deployment and hybrid cloud resource scheduling management module 10 to: (1) register the information of the application service B launched/managed by the management terminal A, (2) set the configuration parameters of the dynamic deployment and hybrid cloud resource scheduling, and (3) set the expansion configuration method of the cloud resource C. This can provide an intelligent dynamic deployment and hybrid cloud resource scheduling mechanism to increase the availability of the application service B launched/managed by the management terminal A. The specific process is as follows.
步驟S1:註冊應用服務B之資訊及設定雲資源擴充資訊。亦即,管理端A可註冊應用服務B之資訊,並設定動態部署與混合雲資源調度之配置參數;若需同時進行雲資源擴充,則管理端A可同時進行雲資源C之擴充配置。Step S1: Register Application Service B's information and configure cloud resource expansion. Specifically, Management Client A can register Application Service B's information and configure dynamic deployment and hybrid cloud resource scheduling. If cloud resource expansion is required simultaneously, Management Client A can also configure cloud resource C's expansion.
步驟S2:驗證動態部署與混合雲資源調度之配置參數。亦即,管理端A可設定或建立應用服務B之動態部署參數,再由動態部署與混合雲資源調度管理模組10驗證動態部署與混合雲資源調度之配置參數以儲存至資料庫14。Step S2: Verify the configuration parameters for dynamic deployment and hybrid cloud resource scheduling. Specifically, management terminal A can configure or create dynamic deployment parameters for application service B. The dynamic deployment and hybrid cloud resource scheduling management module 10 then verifies the configuration parameters for dynamic deployment and hybrid cloud resource scheduling and stores them in the database 14.
步驟S3:鑑測與決策模組20讀取應用服務B之動態部署參數。亦即,鑑測與決策模組20可依據動態部署之執行頻率,向資料庫14讀取應用服務B之動態部署參數。Step S3: The assessment and decision module 20 reads the dynamic deployment parameters of application service B. Specifically, the assessment and decision module 20 can read the dynamic deployment parameters of application service B from the database 14 based on the execution frequency of dynamic deployment.
步驟S4:外部服務D、動態部署及雲資源C之鑑測狀態。亦即,鑑測與決策模組20之決策單元24可依據動態部署與混合雲資源調度之配置參數分別呼叫外部服務鑑測單元21、動態部署鑑測單元22與雲資源鑑測單元23,以提取(1)外部服務鑑測單元21所取得之應用服務B之即時使用狀態、(2)動態部署鑑測單元22所取得之應用服務B之動態部署數量、及(3)雲資源鑑測單元23所取得之應用服務B之雲資源使用狀態(如應用服務B之雲資源使用量、雲資源擴充功能參數、雲資源供裝狀態)…等多種(如三種)目標狀態。Step S4: Assessment status of external service D, dynamic deployment, and cloud resource C. That is, the decision unit 24 of the assessment and decision module 20 can call the external service assessment unit 21, the dynamic deployment assessment unit 22, and the cloud resource assessment unit 23 respectively according to the configuration parameters of dynamic deployment and hybrid cloud resource scheduling to extract multiple (e.g., three) target states, such as (1) the real-time usage status of application service B obtained by the external service assessment unit 21, (2) the dynamic deployment quantity of application service B obtained by the dynamic deployment assessment unit 22, and (3) the cloud resource usage status of application service B obtained by the cloud resource assessment unit 23 (e.g., the cloud resource usage of application service B, cloud resource expansion function parameters, cloud resource provisioning status).
步驟S5:動態部署數量與混合雲資源C之分配計算。亦即,鑑測與決策模組20之決策單元24可依據應用服務B之動態部署參數計算出應用服務B之動態部署數量與混合雲應用服務叢集50(如混合雲資源叢集)之雲資源使用狀態,再將所計算出之應用服務B之動態部署數量與混合雲應用服務叢集50(如混合雲資源叢集)之雲資源使用狀態配發至複數(如至少二個)應用服務雲端叢集51。當鑑測與決策模組20之決策單元24計算出單一應用服務雲端叢集51所使用之應用服務B之動態部署數量超過動態部署之上限或下限之數量時,鑑測與決策模組20之決策單元24可限制單一應用服務雲端叢集51所使用之應用服務B之上限或下限之數量(數值)。Step S5: Calculate the dynamic deployment quantity and allocation of hybrid cloud resources C. Specifically, the decision unit 24 of the assessment and decision module 20 can calculate the dynamic deployment quantity of application service B and the cloud resource usage status of the hybrid cloud application service cluster 50 (e.g., hybrid cloud resource cluster) based on the dynamic deployment parameters of application service B. The calculated dynamic deployment quantity of application service B and the cloud resource usage status of the hybrid cloud application service cluster 50 (e.g., hybrid cloud resource cluster) are then distributed to multiple (e.g., at least two) application service cloud clusters 51. When the decision unit 24 of the forensic and decision module 20 calculates that the number of dynamically deployed applications B used by a single application service cloud cluster 51 exceeds the upper or lower limit of dynamic deployment, the decision unit 24 of the forensic and decision module 20 may limit the upper or lower limit of the number (value) of applications B used by the single application service cloud cluster 51.
步驟S6:決策單元24判斷是否啟用雲資源擴充?若是(啟用雲資源擴充),則進行步驟S61;反之,若否(不啟用雲資源擴充),則進行步驟S7。同時,當動態部署之應用服務B中可調度之雲資源C超過目前之混合雲應用服務叢集50中之雲資源且應用服務B之動態部署參數配置有擴充雲資源之資訊C時,鑑測與決策模組20之決策單元24可呼叫雲資源擴充模組40以擴充雲資源來加入混合雲應用服務叢集50(如混合雲資源叢集)。Step S6: Decision unit 24 determines whether to enable cloud resource expansion. If so (cloud resource expansion is enabled), proceed to step S61; otherwise, if not (cloud resource expansion is not enabled), proceed to step S7. Simultaneously, when the schedulable cloud resources C in the dynamically deployed application service B exceed the cloud resources in the current hybrid cloud application service cluster 50 and the dynamic deployment parameters of application service B include information C for expanding cloud resources, decision unit 24 of the assessment and decision module 20 may call cloud resource expansion module 40 to expand cloud resources to join the hybrid cloud application service cluster 50 (e.g., hybrid cloud resource cluster).
步驟S61:組成雲資源擴充配置資訊。亦即,當需要擴充雲資源C以承載所動態部署之應用服務B時,雲資源管理平台60可將設定之雲資源擴充配置參數組成雲資源擴充配置資訊(如雲資源擴充配置供裝資訊)。Step S61: Compose cloud resource expansion configuration information. That is, when cloud resource C needs to be expanded to host the dynamically deployed application service B, the cloud resource management platform 60 can compile the configured cloud resource expansion configuration parameters into cloud resource expansion configuration information (e.g., cloud resource expansion configuration provisioning information).
步驟S62:雲資源管理平台60之擴充操作。亦即,向雲資源管理平台60發送指定之混合雲應用服務叢集50之雲資源擴充事件,以協助擴充至少一(如複數)應用服務雲端叢集51(如目標應用服務雲端叢集)。Step S62: Scaling operation of the cloud resource management platform 60. That is, sending a cloud resource scaling event for the designated hybrid cloud application service cluster 50 to the cloud resource management platform 60 to assist in scaling at least one (e.g., multiple) application service cloud clusters 51 (e.g., the target application service cloud cluster).
步驟S7:動態部署數量及混合雲資源調度配置。亦即,當完成雲資源擴充或已無雲資源擴充之需求後,部署與調度執行模組30可依據混合雲應用服務叢集50之組成進行應用服務B之部署與雲資源配置(如混合雲資源調度配置)。Step S7: Dynamically deploy the number of applications and configure hybrid cloud resource scheduling. Specifically, when cloud resource expansion is complete or no longer required, the deployment and scheduling execution module 30 can deploy application service B and configure cloud resources (e.g., hybrid cloud resource scheduling) based on the composition of the hybrid cloud application service cluster 50.
步驟S8:部署應用服務雲端叢集51。亦即,部署與調度執行模組30可依據混合雲應用服務叢集50之組成呼叫至少一(如複數)應用服務雲端叢集51,以調度應用服務B所需之雲資源C,並啟動應用服務B之部署。Step S8: Deploy the application service cloud cluster 51. Specifically, the deployment and scheduling execution module 30 can call at least one (e.g., multiple) application service cloud clusters 51 based on the composition of the hybrid cloud application service cluster 50 to schedule the cloud resources C required by application service B and initiate the deployment of application service B.
在完成步驟S8後,可依據資料庫14所儲存之應用服務B之動態部署參數制定動態部署之執行頻率,以依據執行頻率重新至步驟S3呼叫鑑測與決策模組20來執行上述步驟S3至步驟S8。After completing step S8, the dynamic deployment execution frequency can be determined based on the dynamic deployment parameters of application service B stored in database 14. Based on the execution frequency, the system returns to step S3 to call the detection and decision module 20 to execute steps S3 through S8.
申言之,本發明之智慧化動態部署與混合雲資源調度方法可包括下列技術內容。In other words, the intelligent dynamic deployment and hybrid cloud resource scheduling method of the present invention may include the following technical contents.
[1]應用服務註冊:透過應用服務註冊應用程式介面11設定應用服務之部署資訊,基於應用服務之啟動所需之配置,並設定/定義應用服務之名稱、設定檔、版本號、啟動指令、環境變數及/或雲資源請求,再向伺服器(圖略)進行應用服務註冊,以於動態部署階段使用。[1] Application service registration: Set the deployment information of the application service through the application service registration API 11. Based on the configuration required for the application service startup, set/define the application service name, configuration file, version number, startup command, environment variables and/or cloud resource request, and then register the application service with the server (not shown) for use in the dynamic deployment phase.
[2]動態部署配置:透過動態部署註冊應用程式介面12制定動態部署參考之應用服務B,並設定相依之應用服務B(如目標應用服務)之動態部署數量之上限/下限、計算規則、計算頻率、雲資源使用量、雲資源擴充。若管理端A設定應用服務B之動態部署參數中配置有雲資源擴充設定,則會在動態部署執行時,由雲資源擴充模組40額外進行雲資源擴充行為。[2] Dynamic deployment configuration: The dynamic deployment registration application program interface 12 is used to define the application service B for dynamic deployment reference, and the upper/lower limits, calculation rules, calculation frequency, cloud resource usage, and cloud resource expansion of the dependent application service B (such as the target application service) are set. If the management terminal A configures cloud resource expansion settings in the dynamic deployment parameters of application service B, the cloud resource expansion module 40 will perform additional cloud resource expansion when the dynamic deployment is executed.
[3]雲資源擴充配置:基於雲資源擴充加入既有之應用服務雲端叢集51,透過雲資源擴充應用程式介面13設定註冊擴充資訊所需之配置名稱、雲資源名稱及啟動方式,並向伺服器(圖略)進行註冊,再呼叫雲資源管理平台60以新增資源及加入叢集服務資訊。[3] Cloud resource expansion configuration: Based on cloud resource expansion, the existing application service cloud cluster 51 is added. The configuration name, cloud resource name, and activation method required to register the expansion information are set through the cloud resource expansion application program interface 13, and registered with the server (not shown). Then, the cloud resource management platform 60 is called to add new resources and add cluster service information.
[4]外部服務鑑測:依據應用服務B選擇綁定所對應監測之外部服務D之種類,在混合雲應用服務叢集50進行鑑測,確認實際用戶端之使用狀態。[4] External service testing: Based on application service B, select the type of external service D to be monitored, perform testing on the hybrid cloud application service cluster 50, and confirm the actual user usage status.
[5]動態部署鑑測:利用應用服務B之註冊資訊在混合雲應用服務叢集50提取部署狀態,並依據外部服務鑑測單元21所回報之使用量計算出單一應用服務B可承載之事件或資料量。[5] Dynamic deployment assessment: Utilize the registration information of application service B to extract the deployment status in the hybrid cloud application service cluster 50, and calculate the amount of events or data that a single application service B can carry based on the usage reported by the external service assessment unit 21.
[6]雲資源鑑測:向混合雲應用服務叢集50提取應用服務B之雲資源使用狀態及應用服務雲端叢集51之資源使用狀態。同時,向雲資源管理平台60提取雲資源供裝狀態,並提供介接不同雲資源管理平台60之配置。[6] Cloud resource assessment: Extract the cloud resource usage status of application service B and the resource usage status of application service cloud cluster 51 from the hybrid cloud application service cluster 50. At the same time, extract the cloud resource provisioning status from the cloud resource management platform 60 and provide configurations for interfacing with different cloud resource management platforms 60.
[7]動態部署與混合雲資源調度決策:鑑測與決策模組20可透過彙整上述[4]外部服務鑑測、[5]動態部署鑑測及[6]雲資源鑑測所得到之資訊以計算出動態部署之應用服務B所需調度之混合雲資源C,且針對單一應用服務雲端叢集51進行動態部署之應用服務B。當管理端A配置有雲資源擴充設定時,鑑測與決策模組20可依據雲資源擴充配置資訊向雲資源管理平台60請求以擴充雲資源C。[7] Dynamic deployment and hybrid cloud resource scheduling decision: The assessment and decision module 20 can calculate the hybrid cloud resource C required for the dynamically deployed application service B by aggregating the information obtained from the above [4] external service assessment, [5] dynamic deployment assessment, and [6] cloud resource assessment, and dynamically deploy the application service B for a single application service cloud cluster 51. When the management terminal A is configured with cloud resource expansion settings, the assessment and decision module 20 can request the cloud resource management platform 60 to expand the cloud resource C based on the cloud resource expansion configuration information.
舉例而言,本發明之智慧化動態部署與混合雲資源調度系統1及其方法中,在具備至少一混合雲應用服務叢集50(如混合雲資源應用服務叢集),並包括一或多個不同雲資源管理平台60所提供之應用服務雲端叢集51之組成中,假設管理端A可設定應用服務B之註冊資訊、雲資源擴充配置參數、應用服務B之動態部署參數與混合雲資源調度參數,且使用訊息系統作為外部服務鑑測單元21及參考實際用戶端之存取狀態,其主要程序如下。For example, in the intelligent dynamic deployment and hybrid cloud resource scheduling system 1 and method of the present invention, there is at least one hybrid cloud application service cluster 50 (e.g., a hybrid cloud resource application service cluster) and an application service cloud cluster 51 provided by one or more different cloud resource management platforms 60. Assuming that management terminal A can configure the registration information, cloud resource expansion configuration parameters, dynamic deployment parameters, and hybrid cloud resource scheduling parameters of application service B, and using a messaging system as an external service detection unit 21 and referencing the actual client access status, the main procedures are as follows.
[1]管理端A可執行應用服務註冊應用程式介面11以註冊應用服務B之資訊,並提供動態部署配置參考所需之啟動參數、應用服務B之版本與雲資源使用量。[1] Management terminal A can execute the Application Service Registration API 11 to register the information of Application Service B and provide the activation parameters, Application Service B version and cloud resource usage required for dynamic deployment configuration reference.
[2]管理端A可透過雲資源擴充應用程式介面13設定雲資源擴充配置參數,且雲資源擴充配置參數可包括雲資源管理平台60之權限、雲資源C之規格、雲資源C之擴充方式與應用服務雲端叢集51(如目標應用服務雲端叢集)。[2] The management terminal A can configure cloud resource expansion configuration parameters through the cloud resource expansion API 13. The cloud resource expansion configuration parameters may include the permissions of the cloud resource management platform 60, the specifications of the cloud resource C, the expansion method of the cloud resource C, and the application service cloud cluster 51 (such as the target application service cloud cluster).
[3]管理端A可依據應用服務B之資訊與雲資源擴充資訊呼叫動態部署註冊應用程式介面12,以配置應用服務B之動態部署參數與混合雲資源調度參數(包括計算頻率、最大數量、最小數量、外部服務D之監控資訊與計算方式)。[3] Management terminal A can call the dynamic deployment registration application program interface 12 based on the information of application service B and cloud resource expansion information to configure the dynamic deployment parameters of application service B and hybrid cloud resource scheduling parameters (including calculation frequency, maximum number, minimum number, monitoring information of external service D and calculation method).
[4]將應用服務B之動態部署參數與混合雲資源調度參數等儲存至資料庫14中,以供鑑測與決策模組20使用。[4] The dynamic deployment parameters and hybrid cloud resource scheduling parameters of application service B are stored in the database 14 for use by the assessment and decision module 20.
[5]例如,動態部署鑑測單元22與雲資源鑑測單元23可在混合雲應用服務叢集50之二個應用服務雲端叢集51下分別取得已部署數量為1個雲資源C與2個雲資源C,且雲資源C之可使用量剩餘為「2vCPU與4GiB記憶體」及「1vCPU與2GiB記憶體」,其中之vCPU代表虛擬中央處理器,且GiB記憶體為可用記憶體(1GiB=230Bytes)。同時,雲資源擴充配置為啟用,故雲資源鑑測單元23可再同步向雲資源管理平台60查詢供裝狀態。[5] For example, the dynamic deployment assessment unit 22 and the cloud resource assessment unit 23 can obtain the deployed quantity of 1 cloud resource C and 2 cloud resources C respectively under the two application service cloud clusters 51 of the hybrid cloud application service cluster 50, and the remaining available amount of cloud resource C is "2vCPU and 4GiB memory" and "1vCPU and 2GiB memory", where vCPU represents a virtual central processing unit and GiB memory represents available memory (1GiB=230Bytes ). At the same time, the cloud resource expansion configuration is enabled, so the cloud resource assessment unit 23 can then synchronously query the cloud resource management platform 60 for the provisioning status.
[6]例如,決策單元24可使用應用服務B之動態部署參數與混合雲資源調度參數,應用服務B可承載5筆訊息,雲資源C使用1vCPU與1GiB記憶體,單一應用服務雲端叢集51部署最少1個至最多5個,且混合雲應用服務叢集50部署最多10個。外部服務鑑測單元21鑑測出訊息系統中尚有20筆訊息時,會再計算預計部署數量為4個(包括訊息總數/應用服務B可承載訊息數),以供決策單元24依據資源可使用量分配欲部署之應用服務B至第一個應用服務雲端叢集51。[6] For example, the decision unit 24 can use the dynamic deployment parameters and hybrid cloud resource scheduling parameters of application service B. Application service B can carry 5 messages. Cloud resource C uses 1vCPU and 1GiB memory. A single application service cloud cluster 51 deploys at least 1 and at most 5 applications, and a hybrid cloud application service cluster 50 deploys at most 10 applications. When the external service detection unit 21 detects that there are still 20 messages in the message system, it will calculate the expected deployment quantity as 4 (including the total number of messages/the number of messages that application service B can carry) so that the decision unit 24 can allocate the application service B to be deployed to the first application service cloud cluster 51 based on the available resources.
[7]例如,若訊息系統中尚有60筆訊息時,需動態部署12個而超過混合雲應用服務叢集50之最大部署數量,則決策單元24可限制動態部署10個。因第一個應用服務雲端叢集51之可用資源受限,則基於vCPU之限制增加2個部署。而第二個應用服務雲端叢集51可透過雲資源管理平台60進行擴充,則不受限於vCPU或記憶體之限制部署,使用單一應用服務雲端叢集51之最大部署數量5個。[7] For example, if there are 60 messages in the message system, and 12 dynamic deployments are required, which exceeds the maximum number of deployments of the hybrid cloud application service cluster 50, the decision unit 24 can limit the dynamic deployment to 10. Because the available resources of the first application service cloud cluster 51 are limited, 2 deployments are added based on the vCPU limit. The second application service cloud cluster 51 can be expanded through the cloud resource management platform 60, and is not limited by the vCPU or memory limit. The maximum number of deployments of a single application service cloud cluster 51 is 5.
[8]例如,第二個應用服務雲端叢集51具備雲資源擴充雲資源擴充功能,故可執行雲資源擴充模組40,並計算目前可擴充之雲資源配置,再透過雲資源管理平台60執行擴充供裝請求,而在完成資源擴充請求後,則回到部署與調度執行模組30。[8] For example, the second application service cloud cluster 51 has cloud resource expansion capabilities, so it can execute the cloud resource expansion module 40 and calculate the current scalable cloud resource configuration, and then execute the expansion provisioning request through the cloud resource management platform 60. After completing the resource expansion request, it returns to the deployment and scheduling execution module 30.
[9]部署與調度執行模組30在已知決策單元24部署之應用服務B至二個應用服務雲端叢集51之數量後,可計算出所需之雲資源C以進行調度與配置動態部署之應用服務B。[9] After knowing the number of application services B deployed by the decision unit 24 to the two application service cloud clusters 51, the deployment and scheduling execution module 30 can calculate the required cloud resources C to schedule and configure the dynamically deployed application service B.
[10]在完成初次動態部署執行後,鑑測與決策模組20可依據管理端A於資料庫14中所設定之應用服務B之動態部署之計算頻率,以持續監控與執行上述[4]至[8]之程序。[10] After the initial dynamic deployment is completed, the forensic and decision-making module 20 can continuously monitor and execute the above-mentioned procedures [4] to [8] according to the calculation frequency of the dynamic deployment of the application service B set by the management terminal A in the database 14.
因此,本發明能針對管理端A所上架/管理之應用服務B進行動態部署並支援混合式雲資源調度方法,以利保證能動態部署應用服務B。Therefore, the present invention can dynamically deploy application service B hosted/managed by management client A and supports hybrid cloud resource scheduling methods to ensure dynamic deployment of application service B.
本發明能考量不同雲資源C之種類與請求,能提供動態部署與混合雲資源調度規則(如應用型態、動態部署數量、雲資源調度配置、擴充機制等),俾滿足智慧化動態部署需求與維持服務運作之穩定性。This invention considers the types and requests of different cloud resources C and provides dynamic deployment and hybrid cloud resource scheduling rules (such as application type, dynamic deployment quantity, cloud resource scheduling configuration, and scaling mechanisms) to meet the needs of intelligent dynamic deployment and maintain the stability of service operations.
本發明能提供設定/定義簡易之部署調度規則之配置,亦能實現混合雲資源C之調度以承載所動態部署之應用服務B,並具備混合雲資源C之即時擴充功能。同時,透過本發明之整合導入使用,對於管理端A所上架/管理之應用服務B之部署,可針對用戶端(如終端用戶)之存取或應用需求適時進行動態部署與即時調度混合雲資源C。This invention allows for the configuration and definition of simple deployment scheduling rules, enabling the scheduling of hybrid cloud resources C to host dynamically deployed application services B, and enabling real-time scaling of hybrid cloud resources C. Furthermore, through the integrated implementation of this invention, the deployment of application services B hosted or managed by management client A can be dynamically deployed and scheduled in real time based on access or application needs of clients (e.g., end users).
本發明能解決過去僅能以單一應用服務與人工調整應用服務之部署,亦能針對不同應用服務B之性質提供相應之觸發行為之配置。同時,本發明考量應用服務B之啟動所需底層之雲資源C,如中央處理器(CPU)、記憶體(memory)…等,以利支援擴充混合雲資源C,亦能提升應用服務B之可靠性。This invention solves the previous problem of deploying applications using only a single application service and manually adjusting it. It also provides trigger configurations tailored to the characteristics of different application services B. Furthermore, this invention considers the underlying cloud resources C required to activate application service B, such as the central processing unit (CPU) and memory, to support the expansion of hybrid cloud resources C and improve the reliability of application service B.
本發明亦可具有下列優點或技術特點:(1)管理端A能按照需求與自定義之條件調度雲資源C以承載欲動態部署之應用服務B,(2)能有效利用混合雲之應用服務雲端叢集51之資源狀態,(3)不受限於單一應用服務雲端叢集51,(4)雲資源管理平台60能支援擴充雲資源C。The present invention may also have the following advantages or technical features: (1) the management terminal A can schedule cloud resources C to carry the application service B to be dynamically deployed according to demand and customized conditions; (2) it can effectively utilize the resource status of the hybrid cloud application service cloud cluster 51; (3) it is not limited to a single application service cloud cluster 51; (4) the cloud resource management platform 60 can support the expansion of cloud resources C.
此外,本發明還提供一種針對智慧化動態部署與混合雲資源調度方法之電腦可讀媒介,係應用於具有處理器與記憶體之計算裝置或電腦中,且電腦可讀媒介儲存有指令,並可利用計算裝置或電腦透過處理器與記憶體執行電腦可讀媒介,以於執行電腦可讀媒介時執行上述內容。在一實施例中,此電腦可讀媒介係非暫時性(non-transitory)之電腦可讀儲存媒介。The present invention also provides a computer-readable medium for intelligent dynamic deployment and hybrid cloud resource scheduling. The medium is applied to a computing device or computer having a processor and memory. The computer-readable medium stores instructions, and the computing device or computer can execute the computer-readable medium via the processor and memory to execute the instructions. In one embodiment, the computer-readable medium is a non-transitory computer-readable storage medium.
再者,上述模組及各單元均可為軟體、硬體或韌體;若為硬體,則可為具有資料處理與運算能力之處理單元、處理器、或電腦主機;若為軟體或韌體,則可包括處理單元、處理器、電腦或電腦主機可執行之指令,且可安裝於同一硬體裝置或分布於不同的複數硬體裝置。Furthermore, the aforementioned modules and units may be software, hardware, or firmware. If hardware, they may be processing units, processors, or computer hosts with data processing and computing capabilities. If software or firmware, they may include instructions executable by processing units, processors, computers, or computer hosts, and may be installed on the same hardware device or distributed across multiple hardware devices.
在一實施例中,處理器可為中央處理器(CPU)、圖形處理器(GPU)、微處理器(MPU)、微控制器(MCU)、人工智慧(AI)處理器等,記憶體可為隨機存取記憶體(RAM)、唯讀記憶體(ROM)、快閃(Flash)記憶體、記憶卡、硬碟(如雲端/網路/外接式硬碟)、光碟、隨身碟、資料庫等,且計算裝置或電腦可為計算機、智慧手機、平板電腦、個人電腦、筆記型電腦、桌上型電腦、伺服器(如雲端/遠端/網路/人工智慧伺服器)等。In one embodiment, the processor may be a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MPU), a microcontroller (MCU), an artificial intelligence (AI) processor, etc.; the memory may be random access memory (RAM), read-only memory (ROM), flash memory, a memory card, a hard drive (such as a cloud/network/external hard drive), an optical disk, a flash drive, a database, etc.; and the computing device or computer may be a computer, a smartphone, a tablet, a personal computer, a laptop, a desktop computer, a server (such as a cloud/remote/network/AI server), etc.
上述實施形態僅例示性說明本發明之原理、特點及其功效,並非用以限制本發明之可實施範疇,任何熟習此項技藝之人士均能在不違背本發明之精神及範疇下,對上述實施形態進行修飾與改變。任何使用本發明所揭示內容而完成之等效改變及修飾,均仍應為申請專利範圍所涵蓋。因此,本發明之權利保護範圍應如申請專利範圍所列。The above embodiments are merely illustrative of the principles, features, and effects of the present invention and are not intended to limit the scope of its implementation. Anyone skilled in the art may modify and alter the above embodiments without departing from the spirit and scope of the present invention. Any equivalent changes and modifications achieved using the disclosure of this invention should still be covered by the scope of the patent application. Therefore, the scope of protection of this invention should be as set forth in the patent application.
1:智慧化動態部署與混合雲資源調度系統1: Intelligent dynamic deployment and hybrid cloud resource scheduling system
10:動態部署與混合雲資源調度管理模組10: Dynamic Deployment and Hybrid Cloud Resource Scheduling Management Module
11:應用服務註冊應用程式介面11: Application Service Registration API
12:動態部署註冊應用程式介面12: Dynamically deploy and register APIs
13:雲資源擴充應用程式介面13: Cloud Resource Extension API
14:資料庫14:Database
20:鑑測與決策模組20: Assessment and Decision-Making Module
21:外部服務鑑測單元21: External Service Assessment Unit
22:動態部署鑑測單元22: Dynamically deploy the detection unit
23:雲資源鑑測單元23: Cloud Resource Assessment Unit
24:決策單元24: Decision-making Unit
30:部署與調度執行模組30: Deployment and Scheduling Execution Module
31:動態部署檢測單元31: Dynamic deployment detection unit
32:雲資源調度配置單元32: Cloud resource scheduling configuration unit
40:雲資源擴充模組40: Cloud Resource Expansion Module
41:雲資源計算單元41: Cloud Resource Computing Unit
42:雲資源配置單元42: Cloud Resource Configuration Unit
50:混合雲應用服務叢集50: Hybrid Cloud Application Service Cluster
51:應用服務雲端叢集51: Application Service Cloud Cluster
60:雲資源管理平台60: Cloud Resource Management Platform
A:管理端A: Management side
B:應用服務B: Application Services
C:雲資源C: Cloud Resources
D:外部服務D: External Services
| Publication Number | Publication Date | 
|---|---|
| TWI897438Btrue TWI897438B (en) | 2025-09-11 | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| CN117931422A (en) | 2023-12-13 | 2024-04-26 | 天翼云科技有限公司 | A robust, reliable and fast hybrid cloud platform resource dynamic allocation method and system | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| CN117931422A (en) | 2023-12-13 | 2024-04-26 | 天翼云科技有限公司 | A robust, reliable and fast hybrid cloud platform resource dynamic allocation method and system | 
| Publication | Publication Date | Title | 
|---|---|---|
| CN113382077B (en) | Micro-service scheduling method, micro-service scheduling device, computer equipment and storage medium | |
| CN103248535B (en) | A kind of cloud system method of testing and device | |
| CN111385114A (en) | VNF service instantiation method and device | |
| CN108255497B (en) | Application deployment method and device | |
| CN108574593B (en) | License management system and management method in a NFV network | |
| CN108268305A (en) | For the system and method for virtual machine scalable appearance automatically | |
| CN106911741B (en) | Method for balancing virtual network management file downloading load and network management server | |
| CN106776998A (en) | A kind of database service provides method and server | |
| CN108111559B (en) | Application software deployment system and method | |
| CN111158852A (en) | Training resource dynamic allocation method, system, terminal and storage medium | |
| CN114615268B (en) | Service network, monitoring node, container node and equipment based on Kubernetes cluster | |
| CN112114939A (en) | Distributed system deployment equipment and method | |
| CN115499308B (en) | Distributed FTP container deployment method, device, terminal and storage medium | |
| CN105404530B (en) | It is a kind of to realize easy deployment and the system and method using private clound | |
| CN103502939B (en) | Method and system for managing virtual machines | |
| CN108733384A (en) | A kind of operating system remote batch dispositions method and system | |
| CN111786810A (en) | A method and system for automatic deployment of large-scale test bed nodes | |
| CN114189439A (en) | Method and device for automatic capacity expansion | |
| CN113055199B (en) | Gateway access method and device and gateway equipment | |
| KR102623631B1 (en) | Method for automatically configuring virtualized network function, and network function virtualization management and orchestration for the same | |
| CN112506729A (en) | Fault simulation method and device | |
| CN113312059B (en) | Service processing system, method and cloud native system | |
| CN112256384B (en) | Service set processing method and device based on container technology and computer equipment | |
| TWI897438B (en) | Intelligent dynamic deployment and hybrid cloud resource scheduling system, method and computer readable medium | |
| CN114443059A (en) | Deployment method, device and equipment of Kubernetes cluster |