TW201941088A - System for open software defined service of data center and method thereof - Google Patents
System for open software defined service of data center and method thereof Download PDFInfo
- Publication number
- TW201941088A TW201941088A TW107109636A TW107109636A TW201941088A TW 201941088 A TW201941088 A TW 201941088A TW 107109636 A TW107109636 A TW 107109636A TW 107109636 A TW107109636 A TW 107109636A TW 201941088 A TW201941088 A TW 201941088A
- Authority
- TW
- Taiwan
- Prior art keywords
- template
- service
- installation
- resource
- mechanism module
- Prior art date
Links
Landscapes
- Stored Programmes (AREA)
Abstract
Description
本發明係有關網路供裝軟體製作機制,尤指一種應用於資料中心之開放性軟體定義服務系統及其方法。 The invention relates to a production mechanism for network-provided software, and more particularly to an open software-defined service system and method applied to a data center.
以往用戶如果需要架設虛擬資料中心(Virtual Data Center)或虛擬私雲(Virtual Private Cloud),往往需要先添購硬體資源,例如網路資源、儲存設備資源、網路設備品牌資源等,其架設門檻高且架設過程費時和麻煩,況且傳統的資料中心的建立方法係以設備為主,一旦設備確定後,就無法輕易更動。 In the past, if users needed to set up a Virtual Data Center or a Virtual Private Cloud, they often needed to purchase hardware resources, such as network resources, storage device resources, and network equipment brand resources. The threshold is high and the installation process is time-consuming and cumbersome. Moreover, the traditional method of establishing a data center is mainly equipment. Once the equipment is determined, it cannot be easily changed.
然而,雲端機房的設備日新月異,但是傳統的資料中心的建置過程又很耗時也不方便,因而傳統的資料中心的建立已經不符合現今的經濟效益。另外,傳統資料中心的設備於架設上也缺乏彈性,無法隨用戶的需求改變,如果用戶希望客製屬於自己的資料中心,或者在資料中心運用自行開發的軟體元件,都存在多個難以克服的阻礙。 However, the equipment in the cloud computer room is changing with each passing day, but the process of building a traditional data center is time-consuming and inconvenient. Therefore, the establishment of a traditional data center is no longer in line with current economic benefits. In addition, the traditional data center equipment is also inflexible in setting up and cannot be changed according to user needs. If users want to customize their own data center or use self-developed software components in the data center, there are many insurmountable problems. Hinder.
有鑑於此,如何提供一種可以快速、簡單完成建置,而且還可以具備彈性、客製化以及多元化功能,以供用戶 選擇的資料中心,此實為目前本技術領域人員急欲追求之目標。 In view of this, how to provide a method that can be completed quickly and easily, and also has flexibility, customization and diversified functions for users The selected data center is a goal that people in this technical field are eager to pursue.
本發明之目的係提供用戶可自行上架個人用戶服務,或者是供用戶以描述語言來組合其所需服務的網路供裝軟體製作方案。 The purpose of the present invention is to provide a user-available personal user service, or a network-provided software production solution for users to combine their required services with description languages.
本發明之另一目的是在提供用戶自行上架其服務時,提供自動化驗證、測試,以提供相關的測試數據,使得用戶可據此進行決策分析。 Another object of the present invention is to provide users with automatic verification and testing to provide relevant test data when users put their services on their own shelves, so that users can make decision analysis based on this.
為了達成上述或其他目的,本發明提出一種應用於資料中心之開放性軟體定義服務系統,其係包括:範本機制模組,係解析服務範本和資源範本並依據設計規則產生供裝範本;流程機制模組,係依據該範本機制模組解析該服務範本和該資源範本之結果,搭配不同流程以產生相對應之設計流程;供裝機制模組,係依據該範本機制模組解析後之該供裝範本以及該流程機制模組所提供之設計流程,設定該設計流程所指定之介接設備以完成供裝,且該供裝機制模組於該介接設備接收到設定訊息後產生監控通知;以及監控機制模組,係依據該監控通知監控該介接設備之設備效能。 In order to achieve the above or other objectives, the present invention proposes an open software-defined service system applied to a data center, which includes: a template mechanism module, which analyzes a service template and a resource template and generates an installation template according to design rules; a process mechanism The module is based on the result of analyzing the service template and the resource template according to the template mechanism module, and different processes are used to generate the corresponding design process. The installation mechanism module is based on the analysis provided by the template mechanism module. The installation template and the design process provided by the process mechanism module, setting the interface device designated by the design process to complete the installation, and the installation mechanism module generates a monitoring notification after the interface device receives the setting message; And the monitoring mechanism module monitors the equipment performance of the interface device according to the monitoring notification.
於一實施例中,該範本機制模組係包括:範本儲存單元,係用以儲存該服務範本以及該資源範本;範本設計單元,係用以儲存該設計規則;以及範本解析單元,係用以解析該服務範本及該資源範本。 In one embodiment, the template mechanism module includes: a template storage unit for storing the service template and the resource template; a template design unit for storing the design rule; and a template analysis unit for Parse the service template and the resource template.
於另一實施例中,流程機制模組係包括:流程控制單元,係用以依據該範本機制模組解析該服務範本及該資源範本後所得到之資源數目和/或資源特性,與該不同流程搭配以得到不同設計流程;以及流程設計單元,係依據該流程控制單元所產生之不同設計流程,於其他服務範本或資源範本加入時,產生其他新的設計流程。 In another embodiment, the process mechanism module includes: a process control unit, configured to parse the service template and the resource template and obtain the number of resources and / or resource characteristics according to the template mechanism module, which is different from the Processes are matched to obtain different design processes; and process design units are based on different design processes generated by the process control unit. When other service templates or resource templates are added, other new design processes are generated.
於又一實施例中,該供裝機制模組係包括:介接設備控制單元,係用以讀取該供裝範本,並透過該流程機制模組所指定之介接設備執行供裝設定;以及供裝回報單元,係用以產生及發出該監控通知。 In yet another embodiment, the installation mechanism module includes: an interface device control unit for reading the installation template and performing installation settings through the interface device designated by the process mechanism module; And the supply and return unit is used to generate and issue the monitoring notification.
於再一實施例中,該監控機制模組係包括:監控設備單元,係於接收到該監控通知時,執行該介接設備之監控;以及效能監控單元,係依據該監控設備單元之監控結果產出效能報告。 In yet another embodiment, the monitoring mechanism module includes: a monitoring equipment unit that performs monitoring of the interface device upon receiving the monitoring notification; and a performance monitoring unit that is based on the monitoring results of the monitoring equipment unit Output effectiveness report.
本發明復提出一種應用於資料中心之開放性軟體定義服務方法,係包括下列步驟:解析已定義之服務範本和資源範本,以據之搭配已定義之設計規則生成供裝範本;依據該服務範本和該資源範本之解析結果,搭配不同流程以產生相對應之設計流程;依據該設計流程執行該設計流程所指定之介接設備之供裝;以及監控該介接設備之設備效能。 The invention further proposes an open software-defined service method applied to a data center, which includes the following steps: parsing a defined service template and a resource template, and generating a provisioning template based on the matched design rules; according to the service template According to the analysis result of the resource template, different processes are used to generate a corresponding design process; the installation of the interfacing equipment specified by the design process is performed according to the design process; and the equipment performance of the interfacing equipment is monitored.
於一實施例中,生成該供裝範本之步驟包括:定義該服務範本之服務名稱;載入定義好之全部服務範本與資源範本,由該全部服務範本與資源範本中選擇所需之服務範 本與資源範本,以顯示由該所需之服務範本與資源範本之參數;設定該服務範本之參數;以及於該服務範本中設定資源廠牌以產生該供裝範本。 In an embodiment, the step of generating the installation template includes: defining a service name of the service template; loading all the defined service templates and resource templates, and selecting the required service template from all the service templates and resource templates Book and resource template to show the parameters of the required service template and resource template; set the parameters of the service template; and set the resource label in the service template to generate the installation template.
於一實施例中,該設定該服務範本之參數之步驟更包括:自訂服務範本、選擇對應該自訂服務範本之資源範本、以及執行該自訂服務範本之解析。 In an embodiment, the step of setting the parameters of the service template further includes: a custom service template, selecting a resource template corresponding to the custom service template, and performing analysis of the custom service template.
於另一實施中,該設定該服務範本之參數之步驟更包括選擇已定義好之服務範本時,該已定義好之服務範本無須經解析測試。 In another implementation, the step of setting the parameters of the service template further includes selecting a defined service template. The defined service template does not need to be analyzed and tested.
另外,該供裝範本產生後係執行供裝測試,其步驟包括:載入該服務範本與該資源範本,執行該服務範本與該資源範本之解析,藉以產生該供裝範本或供裝應用程式介面(API);進行該供裝範本之供裝以及供裝結果之監控,於資源未完全供裝時,重複執行該服務範本與該資源範本之解析、該供裝範本之供裝與該介接設備之監控,直到該資源已完全供裝後,產生測試報告。 In addition, after the installation template is generated, the installation test is performed. The steps include: loading the service template and the resource template, and performing analysis of the service template and the resource template to generate the installation template or the installation application program. Interface (API); monitor the installation of the installation template and the results of the installation, and repeatedly perform the analysis of the service template and the resource template, the installation of the installation template, and the interface when the resources are not completely installed After the equipment is monitored, a test report is generated until the resource is fully installed.
由上可知,本發明可達到用戶自行上架其服務,或者讓用戶依照描述語言來組合其所需服務,且於用戶自行上架其服務時,系統提供自動化驗證、測試,以提供相關的測試數據,使得用戶可據此進行決策分析。 It can be known from the above that the present invention can enable users to list their services on their own, or allow users to combine their required services according to description languages, and when users list their services on their own, the system provides automated verification and testing to provide relevant test data. Allows users to make decision analysis based on this.
1‧‧‧應用於資料中心之開放性軟體定義服務系統 1‧‧‧ Open software-defined service system for data centers
100‧‧‧範本機制模組 100‧‧‧ template mechanism module
110‧‧‧範本解析單元 110‧‧‧ template analysis unit
120‧‧‧範本設計單元 120‧‧‧ Template Design Unit
130‧‧‧範本儲存單元 130‧‧‧Template storage unit
200‧‧‧流程機制模組 200‧‧‧ Process Mechanism Module
210‧‧‧流程設計單元 210‧‧‧Process Design Unit
220‧‧‧流程控制單元 220‧‧‧Process Control Unit
300‧‧‧供裝機制模組 300‧‧‧Installation mechanism module
310‧‧‧介接設備控制單元 310‧‧‧Interfacing equipment control unit
320‧‧‧供裝回報單元 320‧‧‧Supply return unit
400‧‧‧監控機制模組 400‧‧‧Monitoring Mechanism Module
410‧‧‧監控設備單元 410‧‧‧Monitoring equipment unit
420‧‧‧效能監控單元 420‧‧‧Performance Monitoring Unit
710~780‧‧‧流程 710 ~ 780‧‧‧Process
810~890‧‧‧流程 810 ~ 890‧‧‧Process
910‧‧‧服務範本 910‧‧‧service template
920‧‧‧資源範本 920‧‧‧Resource template
930‧‧‧模板 930‧‧‧template
S61~S64‧‧‧步驟 S61 ~ S64‧‧‧step
第1圖為本發明之應用於資料中心之開放性軟體定義服務系統的系統示意架構圖;第2圖為本發明之範本機制模組的架構示意圖; 第3圖為本發明之流程機制模組的架構示意圖;第4圖為本發明之供裝機制模組的架構示意圖;第5圖為本發明之監控機制模組的架構示意圖;第6圖為本發明之應用於資料中心之開放性軟體定義服務方法的步驟圖;第7圖為本發明之應用於資料中心之開放性軟體定義服務方法中範本產生的流程圖;第8圖為本發明之應用於資料中心之開放性軟體定義服務方法中供裝測試的流程圖;第9A-9B圖為本發明之應用於資料中心之開放性軟體定義服務系統中服務範本與資源範本的範例。 FIG. 1 is a schematic architecture diagram of an open software-defined service system applied to a data center according to the present invention; and FIG. 2 is a schematic architecture diagram of a model mechanism module of the present invention; Fig. 3 is a schematic diagram of the architecture of the process mechanism module of the present invention; Fig. 4 is a schematic diagram of the architecture of the supply mechanism module of the present invention; Fig. 5 is a schematic diagram of the architecture of the monitoring mechanism module of the present invention; The step diagram of the open software-defined service method of the present invention applied to a data center; FIG. 7 is a flowchart of template generation in the open software-defined service method of the present invention applied to a data center; and FIG. 8 is a flowchart of the present invention. The flowchart for installation testing in the open software-defined service method applied to the data center; Figures 9A-9B are examples of service templates and resource templates in the open software-defined service system for the data center of the present invention.
以下藉由特定的具體實施形態說明本發明之技術內容,熟悉此技藝之人士可由本說明書所揭示之內容輕易地瞭解本發明之優點與功效。然本發明亦可藉由其他不同的具體實施形態加以施行或應用。 The technical content of the present invention will be described below with specific embodiments. Those skilled in the art can easily understand the advantages and effects of the present invention from the content disclosed in this specification. However, the present invention can also be implemented or applied in other specific embodiments.
請參照第1圖,其為本發明之應用於資料中心之開放性軟體定義服務系統的系統示意架構圖。本發明為一種以軟體組件為基礎,搭配視覺化描述描述語言方法以範理軟體式運算、儲存、網路資源立虛擬資料中心與虛擬私雲的管理系統。如圖所示,本發明之應用於資料中心之開放性軟體定義服務系統1包括範本機制模組100、流程機制模組200、供裝機制模組300以及監控機制模組400。 Please refer to FIG. 1, which is a schematic architecture diagram of an open software-defined service system applied to a data center according to the present invention. The invention is a management system based on software components and using a visual description description language method to calculate, store, and network resources to establish a virtual data center and a virtual private cloud. As shown in the figure, the open software-defined service system 1 of the present invention applied to a data center includes a template mechanism module 100, a process mechanism module 200, an installation mechanism module 300, and a monitoring mechanism module 400.
範本機制模組100係儲存有服務範本、資源範本以及 設計規則,其中,該範本機制模組解析該服務範本和該資源範本並依據該設計規則以產生供裝範本。在此所述的服務範本或資源範本可以是預先儲存或者由用戶自行上傳而儲存於範本機制模組中,也可以令用戶透過範本機制模組所提供的設計規則,進行範本設計而產生所需範本。範本在儲存前可以先經解析,以確定範本是否正確。 The template mechanism module 100 stores a service template, a resource template, and Design rules, where the template mechanism module parses the service template and the resource template and generates a template for installation according to the design rule. The service template or resource template described herein can be stored in advance or uploaded by the user and stored in the template mechanism module, or the user can use the design rules provided by the template mechanism module to perform template design to generate the required Template. The template can be parsed before saving to determine if the template is correct.
流程機制模組200係依據該範本機制模組100解析該服務範本和該資源範本之結果,搭配不同流程以產生相對應之設計流程。由於不同的範本必須由不同的流程加以供裝,因此,藉由流程機制模組200分配與服務範本相對應的供裝流程。 The process mechanism module 200 is based on the result of analyzing the service template and the resource template by the template mechanism module 100, and matching different processes to generate a corresponding design process. Since different templates must be installed by different processes, the installation mechanism corresponding to the service template is assigned by the process mechanism module 200.
供裝機制模組300係依據該範本機制模組100所產生之該供裝範本以及該流程機制模組200所提供之設計流程,以設定該設計流程所指定之介接設備而完成供裝,且該供裝機制模組300於該介接設備接收到設定訊息後產生監控通知。具體來說,服務範本或資源範本經過範本機制模組100解析後,經流程機制模組200分配供裝流程,在供裝流程中,則分配對應的介接設備依序進行供裝。 The installation mechanism module 300 is based on the installation template generated by the template mechanism module 100 and the design process provided by the process mechanism module 200 to set the interface equipment specified by the design process to complete the installation. And the installation mechanism module 300 generates a monitoring notification after the interface device receives the setting message. Specifically, after the service template or resource template is parsed by the template mechanism module 100, the installation process is assigned by the process mechanism module 200. In the installation process, the corresponding interface equipment is assigned for installation in order.
監控機制模組400係依據該監控通知以監控該介接設備之設備效能。在供裝機制模組300供裝後,藉由監控機制模組400進行供裝結果之監控,以令範本正確地完成供裝。 The monitoring mechanism module 400 monitors the equipment performance of the interface device according to the monitoring notification. After the installation mechanism module 300 is installed, the installation result is monitored by the monitoring mechanism module 400 so that the template completes the installation correctly.
請參考第2圖,其係本發明之範本機制模組之架構示意圖。如圖所示,範本機制模組100在實施上可包括範本 儲存單元130、範本設計單元120及範本解析單元110。範本儲存單元130可用以儲存服務範本及資源範本,亦即預先儲存至少一範本,於供裝時提供用戶選擇所需的範本。範本設計單元120用以儲存設計規則,以令用戶可依照需求,而利用設計規則來設計各種服務範本,另外,用戶可自行設定符合需求之服務範本,設計後的服務範本亦可儲存於範本儲存單元130中。範本解析單元110係用以解析所儲存及設計的服務範本及資源範本,也就是說,於範本儲存單元130中之預儲存範本或用戶自行設計的服務範本,都可以經由範本解析單元110進行解析以產生解析結果,而解析結果可為資源數目、資源特性等。 Please refer to FIG. 2, which is a schematic structural diagram of a template mechanism module of the present invention. As shown in the figure, the template mechanism module 100 may include a template in implementation. The storage unit 130, the template design unit 120, and the template analysis unit 110. The template storage unit 130 may be used to store a service template and a resource template, that is, at least one template is stored in advance, and a template required by a user for selection is provided during installation. The template design unit 120 is used to store design rules, so that users can use design rules to design various service templates according to requirements. In addition, users can set service templates that meet the requirements themselves. The designed service templates can also be stored in the template storage. In unit 130. The template analysis unit 110 is used to analyze the stored and designed service templates and resource templates, that is, the pre-stored template in the template storage unit 130 or the service template designed by the user can be analyzed by the template analysis unit 110 In order to generate analysis results, the analysis results can be the number of resources, resource characteristics, and so on.
請參考第3圖,其係本發明之流程機制模組之架構示意圖。如圖所示,流程機制模組200可包括流程控制單元220及流程設計單元210。流程控制單元220用以依據該範本機制模組解析該服務範本及該資源範本後所得到之資源數目和/或資源特性,與該不同流程搭配以得到不同設計流程,也就是說,流程控制單元220藉由範本解析單元110所解析出來的資源數目、資源特性等,分配不同的流程加以供裝。流程設計單元210係依據該流程控制單元220所產生之不同設計流程,以於其他服務範本或資源範本加入時,產生其他新的設計流程。 Please refer to FIG. 3, which is a schematic diagram of the process mechanism module of the present invention. As shown, the process mechanism module 200 may include a process control unit 220 and a process design unit 210. The process control unit 220 is configured to analyze the service template and the resource number and / or resource characteristics obtained after the resource template according to the template mechanism module, and match the different processes to obtain different design processes. That is, the process control unit 220 uses the number of resources and resource characteristics analyzed by the template analysis unit 110 to allocate different processes for installation. The process design unit 210 is based on different design processes generated by the process control unit 220, so that when other service templates or resource templates are added, other new design processes are generated.
由上可知,當用戶希望上架一個資源,需要使用有別於系統之其他流程時,就需要設計新的流程來配合,所以就會使用流程設計單元210來產生新的流程,且用戶可客 製化自己所需要的範本,以設計相配合的流程來完成供裝範本,使得本發明在實施上具有彈性。進而言之,範本設計單元120(如第2圖所示)可利用視覺化的描述語言撰寫範本,範本可分為服務範本和資源範本,服務範本描述有多少資源範本和供裝先後順序,資源範本為用戶須填入系統、設備本身的參數。當資源範本選擇完後,範本設計模組120會產生出完整的服務範本來提供供裝。範本解析單元110則係可利用服務範本和資源範本解析出來的數值,提供給流程機制模組200來產生完整的供裝測試流程。而範本設計單元120係於利用描述語言撰寫範本時,透過範本儲存單元130作為儲存工具。 It can be known from the above that when a user wants to list a resource and needs to use other processes different from the system, he needs to design a new process to cooperate, so the process design unit 210 will be used to generate a new process, and the user can Customize the template you need, and complete the supply template by designing a matching process, making the invention flexible in implementation. In addition, the template design unit 120 (as shown in FIG. 2) can use a visual description language to write a template. The template can be divided into a service template and a resource template. The service template describes how many resource templates and the order of installation, resources. The template is for the user to fill in the parameters of the system and the device itself. After the resource template is selected, the template design module 120 will generate a complete service template for installation. The template analysis unit 110 can use the values parsed by the service template and the resource template to provide to the process mechanism module 200 to generate a complete installation and testing process. The template design unit 120 uses the template storage unit 130 as a storage tool when writing a template using a description language.
請參考第4圖,其係本發明之供裝機制模組之架構示意圖。如圖所示,供裝機制模組300可包括介接設備控制單元310以及供裝回報單元320。介接設備控制單元310用以讀取範本解析單元110之範本供裝,透過流程控制單元220分配對應的介接設備,以對介接設備進行供裝設定。因此,當範本解析單元110完成範本之解析後,則將解析後的供裝範本提供介接設備控制單元310進行供裝,而流程控制單元220則依照流程分配對應的介接設備,以依序供裝。供裝回報單元320則於介接設備控制單元310之介接設備收到設定訊息後,將監控通知回報至監控機制模組400,即供裝回報單元320等候介接設備接收設定訊息後,再由監控機制模組400(如第5圖所示)來對設備進行監控。進一步來說,在流程設計單元210中,系統為區分不同設 備有不同的流程控制方式,需要針對設備特性來設計不同的供裝流程。對流程控制單元220而言,多個資源範本有可能有多個供裝流程,利用流程控制單元220及範本解析單元110解析出來的參數,動態的控制流程並完成所有流程。 Please refer to FIG. 4, which is a schematic diagram of the structure of the supply mechanism module of the present invention. As shown, the mounting mechanism module 300 may include an interface device control unit 310 and a mounting return unit 320. The interface device control unit 310 is used to read the template of the template analysis unit 110 for installation, and allocate the corresponding interface device through the process control unit 220 to set the installation of the interface device. Therefore, when the template analysis unit 110 completes the analysis of the template, the parsed installation template is provided to the interface device control unit 310 for installation, and the process control unit 220 allocates the corresponding interface devices according to the process to sequentially For loading. The installation report unit 320 reports the monitoring notification to the monitoring mechanism module 400 after the interface device of the interface device control unit 310 receives the setting message. That is, the installation report unit 320 waits for the interface device to receive the setting message, and then The monitoring mechanism module 400 (as shown in FIG. 5) monitors the device. Further, in the process design unit 210, the system There are different process control methods, and different supply processes need to be designed according to the characteristics of the equipment. For the process control unit 220, there may be multiple supply processes for multiple resource templates. Using the parameters parsed by the process control unit 220 and the template analysis unit 110, the processes are dynamically controlled and all processes are completed.
請參考第5圖,其係本發明之監控機制模組之架構示意圖。如圖所示,監控機制模組400包括監控設備單元410及效能監控單元420。監控設備單元410於接收到監控通知後,對介接設備進行監控,以得知介接設備之設定為成功或失敗,因此,當流程機制模組200所分配的流程結束後,監控設備單元410接收通知,可讀取供裝回報單元320中的設定訊息,即可得知設定的介接設備成功或失敗,同時監控該介接設備之效能,進而得知介接設備是否因為設定使得效能變好或變差。最後,再由效能監控單元420產出效能報告,提供用戶作為參考。 Please refer to FIG. 5, which is a schematic structural diagram of a monitoring mechanism module of the present invention. As shown, the monitoring mechanism module 400 includes a monitoring equipment unit 410 and a performance monitoring unit 420. After receiving the monitoring notification, the monitoring device unit 410 monitors the interface device to know whether the setting of the interface device is successful or failed. Therefore, after the process assigned by the process mechanism module 200 ends, the monitoring device unit 410 After receiving the notification, you can read the setting information in the installation report unit 320 to know the success or failure of the set interface device. At the same time, monitor the performance of the interface device, and then know whether the performance of the interface device changes due to the setting. Good or worse. Finally, the performance monitoring unit 420 generates the performance report and provides users as a reference.
於本發明之應用於資料中心之開放性軟體定義服務系統中,各種資源範本有一至多個功能對應之資源模板,以組合出不同的軟體組件,進而利用描述語言將這些軟體組件關聯起來產生服務。當建立虛擬資料中心時,系統提供獨立軟體開發商(ISV)上架自行開發的軟體組件,不同的軟體組件產生出不同的供裝流程,藉由供裝後監控得來的測試數據,調整資源範本和資源模板參數或變換軟體組件廠牌,以幫助軟體開發商了解軟體組件的效能,以調整供裝最優化。本發明之應用於資料中心之開放性軟體定義 服務系統還可提供一般使用者,自行組合已上架之服務,服務包含一至多個軟體組件,動態流程解析服務以達成建立虛擬資料中心之方法。 In the open software-defined service system of the present invention applied to a data center, various resource templates have one or more function corresponding resource templates to combine different software components, and then use description language to associate these software components to generate services. When a virtual data center is established, the system provides independent software developers (ISV) with self-developed software components. Different software components generate different installation processes. Based on the test data obtained after installation, the resource template is adjusted. And resource template parameters or changing software component brands to help software developers understand the performance of software components in order to optimize installation and optimization. Open software definition of data center applied in the present invention The service system can also provide general users with self-assembled services. The service includes one or more software components and dynamic process analysis services to achieve the method of establishing a virtual data center.
請參考第6圖,其為本發明之應用於資料中心之開放性軟體定義服務方法的步驟圖。 Please refer to FIG. 6, which is a step diagram of an open software-defined service method applied to a data center according to the present invention.
於步驟S61中,解析已定義之服務範本和資源範本,以據之搭配已定義之設計規則生成供裝範本。服務範本或資源範本可為預先儲存或由用戶上傳,用戶可透過設計規則,進行範本設計所以產生所需範本。 In step S61, the defined service template and resource template are parsed, and the provided template is generated according to the matched design rules. The service template or resource template can be stored in advance or uploaded by the user. The user can design the template through the design rules to generate the required template.
於步驟S62中,係依據該服務範本和該資源範本之解析結果,搭配不同流程以產生相對應之設計流程。於本步驟中,於不同的範本可搭配不同流程來形成不同型態供裝,故透過範本與流程搭配,可得到各種供裝流程。 In step S62, according to the analysis result of the service template and the resource template, different processes are used to generate a corresponding design process. In this step, different models can be combined with different processes to form different types of installations. Therefore, through the combination of templates and processes, various installation processes can be obtained.
於步驟S63中,係依據該設計流程以執行該設計流程所指定之介接設備之供裝。服務範本或資源範本經解析後,並搭配所需供裝流程,則可對分配對應的介接設備進行供裝。 In step S63, the installation of the interface device specified by the design process is performed according to the design process. After the service template or resource template is parsed and matched with the required supply and installation process, the corresponding interface equipment can be provided for installation.
於步驟S64中,係監控該介接設備之設備效能。此步驟即在供裝後,監控介接設備之設備效能,藉此讓用戶可知悉供裝是否符合期待。 In step S64, the device performance of the interface device is monitored. This step is to monitor the equipment performance of the interface device after the installation, so that the user can know whether the installation meets expectations.
於一實施例中,步驟S61所述之生成供裝範本之步驟更包括:定義該服務範本之服務名稱,載入定義好之全部服務範本與資源範本,由該全部服務範本與資源範本中選擇所需之服務範本與資源範本,以顯示由該所需之服務範 本與資源範本之參數,設定該服務範本之參數,最後,於該服務範本中設定資源廠牌以產生該供裝範本。 In an embodiment, the step of generating a template for installation described in step S61 further includes: defining a service name of the service template, loading all the defined service templates and resource templates, and selecting from all the service templates and resource templates. Required service templates and resource templates to show the required service templates The parameters of the book and the resource template, set the parameters of the service template, and finally, set the resource label in the service template to generate the supply template.
於前述設定該服務範本之參數的步驟中,可提供自行定義服務範本和採用已定義服務範本等不同方式,其中,自行定義服務範本包括自訂服務範本、選擇對應該自訂服務範本之資源範本、以及執行該自訂服務範本之解析等步驟,而選擇已定義好之服務範本時,該已定義好之服務範本無須經解析測試,即可進入設定資源廠牌之程序。 In the foregoing steps of setting the parameters of the service template, different methods such as self-defined service template and using a defined service template can be provided. Among them, the self-defined service template includes a custom service template, and a resource template corresponding to the custom service template is selected. , And execute the analysis of the custom service template, etc., and when the defined service template is selected, the defined service template can enter the process of setting the resource label without undergoing the analysis test.
於另一實施例中,產生供裝範本後,可執行供裝測試,其步驟包括:載入該服務範本與該資源範本,執行該服務範本與該資源範本之解析,藉以產生該供裝範本或供裝應用程式介面(API),接著,進行該供裝範本之供裝以及供裝結果之監控,於資源未完全供裝時,重複執行該服務範本與該資源範本之解析、該供裝範本之供裝與該介接設備之監控,直到該資源已完全供裝後產生測試報告。 In another embodiment, after the installation template is generated, the installation test can be performed. The steps include: loading the service template and the resource template, and performing analysis of the service template and the resource template to generate the installation template. Or install the application program interface (API), and then perform the installation of the installation template and the monitoring of the installation results. When the resources are not completely installed, repeat the analysis of the service template and the resource template, the installation The installation of the template and the monitoring of the interface device until a test report is generated after the resources have been fully installed.
請參考第7圖,其係本發明應用於資料中心之開放性軟體定義服務方法中範本產生的流程圖,此進一步說明本發明利用描述語言產生範本,可依據下述流程來實現。 Please refer to FIG. 7, which is a flowchart of template generation in the open software-defined service method of the present invention applied to a data center. This further illustrates that the present invention uses a description language to generate a template, which can be implemented according to the following process.
在流程710中,係定義服務名稱。即當用戶需要將一個服務範本上架時,必須先針對服務範本定義新名稱。 In process 710, a service name is defined. That is, when a user needs to put a service template on the shelf, he must first define a new name for the service template.
在流程720中,係載入服務與資源範本。可選擇自定範本或者使用系統已確認可供裝的範本,提供多種彈性選擇,一個服務範本可選擇多個資源範本。當用戶希望自訂服務範本時,則於設定服務範本新名稱後,載入系統所有 定義好的服務範本和資源範本,用戶即可以看得到服務範本和其所使用到資源範本,依照服務種類不同分別顯示,並顯示範本內需要提供之全域參數或區域參數,讓用戶可以評估使用。 In process 720, a service and resource template is loaded. You can choose a custom template or use a template that has been confirmed to be installed in the system to provide multiple flexible options. A service template can select multiple resource templates. When the user wants to customize the service template, after setting the new name of the service template, it will be loaded into the system. With the defined service template and resource template, users can see the service template and the resource template used by them, and display them separately according to different types of services, and display the global parameters or regional parameters that need to be provided in the template, so that users can evaluate the use.
接著如前面所述,服務範本可自訂或選擇已定義。 Then, as mentioned earlier, the service template can be customized or selected.
在服務範本自訂的情況下,前進流程730,係自訂服務範本。用戶選擇使用自定義之服務範本,可以透過視覺化的描述語言來設定此服務範本之參數。 In the case where the service template is customized, the process proceeds to 730, which is a customized service template. The user chooses to use a customized service template. The parameters of this service template can be set through a visual description language.
在流程740中,係選擇資源範本。於設服務範本後,由資源類的範本中選擇服務範本需要包含哪些資源範本,並設定其供裝順序。 In process 740, the resource template is selected. After the service template is set, the resource template needs to select which resource templates need to be included in the template of the resource class, and set its order of installation.
在流程750中,係服務範本解析。利用範本解析單元解析服務範本,以產生解析報告。在範本解析完成後,告知用戶其選擇的資源範本是否可以組合在一起,若解析結果為錯誤,會告知哪些資源有可能是衝突的,用戶必須重新選擇,亦即回到流程730,若解析結果為正確,則前進流程770,以進行設定資源廠牌。 In process 750, the service template is parsed. Use the template parsing unit to parse the service template to generate a parsing report. After the template analysis is completed, the user is informed whether the selected resource templates can be combined together. If the analysis result is wrong, it will be informed which resources may be in conflict. The user must select again, that is, return to process 730. If the analysis result is If it is correct, proceed to flow 770 to set a resource label.
在流程770中,係設定資源廠牌。資源範本內可選擇不同設備廠牌,不同設備廠牌有不同的供裝參數差異,可接受新的供裝參數以配合設備需求。用戶可以在資源範本上設定資源廠牌,不同的資源廠牌有可能影響效能、功能以及價格,如果用戶想要得到如預期效能結果或者因價錢考量,服務就需要考慮到資源廠牌的影響,選擇較多功能的資源廠牌,也許一個資源就可以完成一種服務。因此, 提供用戶可以基於效能、功能以及價格方面進行考量,選擇出一種最有利於需求的方案。 In process 770, the resource label is set. In the resource template, you can choose different equipment manufacturers. Different equipment manufacturers have different installation parameters. New installation parameters can be accepted to meet the needs of the equipment. The user can set the resource label on the resource template. Different resource labels may affect the performance, function, and price. If the user wants to get the expected performance results or due to price considerations, the service needs to consider the impact of the resource label. Choose a resource label with more functions, maybe one resource can complete a service. therefore, Provide users to consider based on performance, functionality and price, to choose a solution that is most conducive to demand.
另外,在服務範本選擇已定義的情況下,前進流程760,係選擇已定義之服務範本。用戶除了自定服務範本外,還可以選擇儲存在系統內已定義完成的服務範本,該服務範本亦跟隨著相關資源範本設定,因為經過供裝測試後才能儲存成系統之服務範本,所以不需要再經過解析測試,直接進行設定資源廠牌。因此,用戶則可以選擇不載入服務與資源範本。 In addition, if the service template selection has been defined, proceeding to flow 760 is to select a defined service template. In addition to user-defined service templates, users can also choose to save the service template that has been defined in the system. The service template also follows the related resource template settings. Because it can be saved as a system service template after the installation test, so there is no need to After analysis and test, set the resource label directly. Therefore, users can choose not to load service and resource templates.
最後,流程770後前進流程780,即儲存成待測試範本。當用戶完成資源廠牌選擇後,即可設定成待驗測之服務範本。 Finally, after the process 770, the process proceeds to the process 780, that is, the test template is stored. After the user completes the selection of the resource label, it can be set as the service template to be tested.
請參考第8圖,其係本發明之應用於資料中心之開放性軟體定義服務方法中供裝測試的流程圖,詳細流程說明如下所示,請一併參考第1和2圖。 Please refer to FIG. 8, which is a flow chart for installation testing in the open software-defined service method of the data center of the present invention. The detailed process description is shown below. Please refer to FIGS. 1 and 2 together.
在流程810中,係定義服務供裝測試名稱。當用戶將待上架的服務範本設定完成後,進入到範本供裝測試系統,須將此測試定義新名稱。 In process 810, a service test name is defined. After the user sets the service template to be put on the shelf and enters the template for installing the test system, he must define a new name for this test.
在流程820中,係載入服務與資源範本。載入需要測試的服務範本與其相關的資源範本。 In process 820, a service and resource template is loaded. Load the service template to be tested and its associated resource template.
在流程830中,係解析服務範本。利用範本機制模組100載入測試的服務範本,完成解析參數與排定資源供裝順序,啟動流程模組進行流程控制。 In process 830, the service template is parsed. Use the template mechanism module 100 to load and test the service template, complete the analysis parameters and schedule the resource installation sequence, and start the process module for process control.
在流程840中,係解析資源範本。在流程機制模組200 進行流程控制後,通知範本解析單元110進行第一個資源範本解析,與資源廠牌結合,針對描述語言說明的參數進行取代與自動產生。 In process 840, the resource template is parsed. In process mechanism module 200 After the flow control is performed, the template analysis unit 110 is notified to perform the first resource template analysis, which is combined with the resource label to replace and automatically generate the parameters described in the description language.
在流程850中,係產生供裝範本/供裝應用程式介面(API)。取得資源範本指定之供裝範本或供裝API(URL),與上步驟產生的參數資料彙整,產生出唯一的供裝範本或API資料。 In flow 850, a template for installation / application application interface (API) is generated. Obtain the installation template or installation API (URL) specified by the resource template, and integrate with the parameter data generated in the previous step to generate the only installation template or API data.
在流程860中,係進行供裝。利用供裝範本或API資料,透過供裝機制模組300進行供裝。 In the process 860, the installation is performed. The installation template or API data is used for installation through the installation mechanism module 300.
在流程870中,係監控供裝結果。由監控機制模組400進行供裝與設備監控。是以,利用範本解析透過流程控制執行供裝,並監控設備效能及供裝成果。 In process 870, the installation result is monitored. The monitoring mechanism module 400 performs installation and equipment monitoring. Therefore, use the template analysis to perform the installation through process control, and monitor the equipment performance and installation results.
在流程880中,判斷是否仍有資源未供裝。本步驟是判斷是否仍有流程機制模組200內尚未供裝之資源範本,若有,則流程控制會進入第二個資源範本然後回到流程840,若無,則已完成此服務範本供裝。 In process 880, it is determined whether there are still resources unloaded. This step is to determine whether there are still resource templates in the process mechanism module 200 that have not yet been installed. If there are, the process control will enter the second resource template and then return to process 840. If not, the service template has been installed for installation. .
在流程890中,係產生測試報告。彙整監控設備及效能結果,產生測試報告給用戶,以利用戶選擇該使用何種範本完成供裝。亦即,於所有資源供裝完成後,監控機制模組400會產生設備效能報告和供裝報告,以利用戶評估是否需要使用此定義的服務範本。 In process 890, a test report is generated. Summarize monitoring equipment and performance results, and generate test reports to users, so that users can choose which template to use for installation. That is, after the installation of all the resources is completed, the monitoring mechanism module 400 generates a device performance report and an installation report, so that the user can evaluate whether to use the service template defined in this way.
如第9A-9B圖所示,其為本發明之應用於資料中心之關放性軟體定義服務系統中服務範本、資源範本與模板的範例。須說明者,此僅為範例說明,本發明不以此為限。 As shown in FIGS. 9A-9B, it is an example of a service template, a resource template, and a template in a closed software-defined service system applied to a data center according to the present invention. It should be noted that this is only an exemplary description, and the present invention is not limited thereto.
例如,服務範本910與資源範本920可用描述語言撰寫範本,服務內描述了資源與關連,資源內描述了供裝參數、模板與供裝流程,其中,服務範本910說明了相依了哪個服務,其中具有那些供裝參數及包含哪些資源等,而資源範本920說明了資源使用的供裝模板和流程及資源供裝參數等,模板930說明了模板內需要被填入的資源參數,但不以此為限。 For example, the service template 910 and the resource template 920 can be written in a description language. The service describes the resources and relationships. The resources describe the installation parameters, templates, and the installation process. The service template 910 describes which services are dependent on each other. What are the installation parameters and which resources are included, and the resource template 920 describes the installation template and process for resource use and the resource installation parameters, etc. The template 930 describes the resource parameters that need to be filled in the template, but does not Limited.
舉例來說,假設系統用戶為設備廠商,需要在平台上上架新軟體組件或設備,用戶只需要利用本發明提供的描述語言定義設備對應的資源範本,再將資源範本上傳到系統上,透過範本儲存單元確認基本描述是否正確。當資源範本正確的儲存於系統中,開始新設備之供裝測試,於平台上定義新的服務範本,選擇之前上傳的資源範本,進行範本解析後,選擇對應的設備廠牌,即可進行供裝測試。 For example, suppose the system user is a device manufacturer and needs to put a new software component or device on the platform. The user only needs to use the description language provided by the present invention to define a resource template corresponding to the device, and then upload the resource template to the system. The storage unit confirms that the basic description is correct. When the resource template is correctly stored in the system, start the installation test of the new device, define a new service template on the platform, select the previously uploaded resource template, and after the template analysis, select the corresponding equipment brand to perform the supply. Installation test.
測試結果顯示於平台上,確認供裝完成,若需要調整資源參數,可調整後重新上傳到系統,並重新測試。若完成測試並得到符合期望的供裝結果後,就可以上架於此資源於平台上,設備廠商可以用簡單的描述語言和彈性的測試流程使用相同的資源範本於不同的設備廠牌,繼承相同的資源範本產生多樣化的軟體組件,即可將軟體組件或設備上架於平台上。 The test results are displayed on the platform, confirming that the installation is complete. If you need to adjust the resource parameters, you can upload them to the system after adjustment and retest. After completing the test and obtaining the desired installation results, you can put this resource on the platform. Equipment manufacturers can use the same resource template in different device brands with a simple description language and flexible test process, inheriting the same The resource template of the software generates a variety of software components, which can be used to put the software components or devices on the platform.
另外,當系統用戶是平台經理人時,需要在平台上上架新服務,用戶可設定新的服務名稱,選擇制定新的服務範本,從系統中選擇已經測試過的資源範本,經過系統範 本解析,進行選擇資源廠牌,可依照經理人設定價格或者效能考量,選擇相對應的廠牌來綁定,藉此產生一個新的服務,由開始解析此服務內有多少資源組成,也操控著流程會有幾個供裝資源。每一個資源經由產生供裝腳本實際供裝,並由供裝結果產生測試報告。測試結果可顯示於平台上,經理人可依照需求能否達到標準決定此服務可否上架給一般用戶使用。 In addition, when the system user is a platform manager, new services need to be listed on the platform. The user can set a new service name, choose to develop a new service template, select a resource template that has been tested from the system, and go through the system template. In this analysis, when selecting a resource label, you can set the price or performance considerations of the manager, and select the corresponding label to bind. Thereby, a new service is created, which starts to analyze how many resources are in this service and also controls. There will be several installation resources for this process. Each resource is actually installed by generating a supply script, and a test report is generated from the supply result. The test results can be displayed on the platform, and the manager can decide whether the service can be listed for general users according to whether the requirements can be met.
綜上所述,相較於現有技術,本發明所提出之應用於資料中心之開放性軟體定義服務系統及其方法,可提供一種開放性方法來提供第三方廠商依循規範開發軟體元件並上架至系統,本發明可針對廠商上架與定義的內容進行自動化驗證,資料中心用戶可選擇目前上架的網路中心模板或特定廠牌設備,並可自行進行調整與客制,另外,還可提供資料中心用戶相關的測試數據,進而供用戶進行決策分析。 In summary, compared to the prior art, the open software-defined service system and method for data centers proposed by the present invention can provide an open method for third-party manufacturers to develop software components in accordance with specifications and put them on the shelf. System, the present invention can automatically verify the contents that are listed and defined by the manufacturer. The user of the data center can choose the currently available network center template or specific brand equipment, and can adjust and customize it by himself. In addition, a data center can also be provided. User-related test data for users to make decision analysis.
上述實施形態僅例示性說明本發明之原理及其功效,而非用於限制本發明。任何熟習此項技藝之人士均可在不違背本發明之精神及範疇下,對上述實施形態進行修飾與改變。因此,本發明之權利保護範圍,應如後述之申請專利範圍所列。 The above-mentioned embodiment merely exemplifies the principle and effect of the present invention, and is not intended to limit the present invention. Anyone familiar with this technique can modify and change the above embodiments without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the rights of the present invention should be listed in the scope of patent application described later.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107109636A TWI688875B (en) | 2018-03-21 | 2018-03-21 | System for open software defined service of data center and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107109636A TWI688875B (en) | 2018-03-21 | 2018-03-21 | System for open software defined service of data center and method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201941088A true TW201941088A (en) | 2019-10-16 |
TWI688875B TWI688875B (en) | 2020-03-21 |
Family
ID=69023438
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW107109636A TWI688875B (en) | 2018-03-21 | 2018-03-21 | System for open software defined service of data center and method thereof |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI688875B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI795123B (en) * | 2021-12-13 | 2023-03-01 | 中華電信股份有限公司 | Generation fixed/mobile convergence, method and computer readable medium thererof |
TWI831519B (en) * | 2022-12-14 | 2024-02-01 | 中華電信股份有限公司 | Service provisioning system for new generation fixed/mobile network, method and computer readable medium thereof |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWM469562U (en) * | 2013-08-30 | 2014-01-01 | Univ Kao Yuan | Production, sales and marketing cloud service platform for remote districts |
TWI519965B (en) * | 2013-12-26 | 2016-02-01 | Flexible assembly system and method for cloud service service for telecommunication application | |
KR20150137530A (en) * | 2014-05-30 | 2015-12-09 | 삼성에스디에스 주식회사 | System and method for managing multi-cloud deployment |
TWI534635B (en) * | 2015-05-08 | 2016-05-21 | 廣達電腦股份有限公司 | Cloud service system and method thereof |
-
2018
- 2018-03-21 TW TW107109636A patent/TWI688875B/en active
Also Published As
Publication number | Publication date |
---|---|
TWI688875B (en) | 2020-03-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110546606B (en) | Tenant upgrade analysis system and method | |
US10229039B2 (en) | Testing a virtual network function by a virtual network tester | |
US9459994B2 (en) | Mobile application testing systems and methods | |
US8914679B2 (en) | Software testing automation framework | |
US9274935B1 (en) | Application testing system with application programming interface | |
CN111651366B (en) | SDK test method, device, equipment and storage medium | |
US20190188119A1 (en) | System and a method for providing automated performance detection of application programming interfaces | |
US10831463B2 (en) | Intelligent software deployment on an IaaS platform | |
US7984139B2 (en) | Apparatus and method for automating server optimization | |
CN108604186B (en) | Method and apparatus for creating and managing a controller-based remote solution | |
US20190188116A1 (en) | Automated software testing method and system | |
CN108694118A (en) | A kind of application testing method and device | |
US20190361801A1 (en) | Method and system for cloud-based automated software testing | |
CN113704110B (en) | Automatic testing method and device for user interface | |
US20160149987A1 (en) | Methods, systems, and computer readable media for automatic generation of programming-language-neutral representation of web application protocol interactions that implement network test | |
US10025698B2 (en) | System and method for efficiently predicting testing schedule and stability of applications | |
TW201941088A (en) | System for open software defined service of data center and method thereof | |
KR20150025106A (en) | Verification apparatus, terminal device, system, method and computer-readable medium for monitoring of application verification result | |
KR20130007763A (en) | Remote applications verification system and method thereof | |
US9053084B1 (en) | Self-service testing | |
CN108875368A (en) | A kind of safety detection method, apparatus and system | |
US10176062B2 (en) | Cloud servers and methods for handling dysfunctional cloud services | |
Vojvodić et al. | Competence transfer through enterprise mobile application development | |
EP3248104A1 (en) | Method and device for automatic testing | |
KR20140121583A (en) | Method and system for certifying application |