TWI831477B - A console management system and method of virtual machine and computer-readable medium thereof - Google Patents

A console management system and method of virtual machine and computer-readable medium thereof Download PDF

Info

Publication number
TWI831477B
TWI831477B TW111144251A TW111144251A TWI831477B TW I831477 B TWI831477 B TW I831477B TW 111144251 A TW111144251 A TW 111144251A TW 111144251 A TW111144251 A TW 111144251A TW I831477 B TWI831477 B TW I831477B
Authority
TW
Taiwan
Prior art keywords
virtual
virtual machine
monitors
console
data center
Prior art date
Application number
TW111144251A
Other languages
Chinese (zh)
Inventor
張峻宇
楊博洋
Original Assignee
中華電信股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中華電信股份有限公司 filed Critical 中華電信股份有限公司
Priority to TW111144251A priority Critical patent/TWI831477B/en
Application granted granted Critical
Publication of TWI831477B publication Critical patent/TWI831477B/en

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present invention provides a console management system and method of virtual machine and computer-readable medium thereof including a virtualization management device with a cross-platform interface module and a plurality of hypervisors with a plurality of virtual machines, wherein the virtualization management device provides a user to create a virtual data center in a browser operation interface, and after completing the establishment of the virtual data center, the virtualization management device uses the cross-platform interface module to monitor the virtual machines of each platform In this way, users can quickly and conveniently monitor virtual machines under the hypervisors of each platforms through the virtual data center, so as to greatly improve the management efficiency of virtual machines.

Description

一種虛擬機主控台管理系統、方法及其電腦可讀媒介 A virtual machine console management system and method and computer-readable medium thereof

本發明係關於一種主控台管理技術,尤其指一種虛擬機主控台管理系統、方法及其電腦可讀媒介。 The invention relates to a console management technology, and in particular, to a virtual machine console management system, method and computer-readable medium.

於現有技術中,由於自行架設伺服器等設備的硬體架構成本較高,令許多使用者選擇向如微軟(Microsoft)等公司購買虛擬機(Virtual Machine,VM)的服務,以降低成本。 In the existing technology, due to the high cost of setting up the hardware architecture of servers and other equipment by themselves, many users choose to purchase virtual machine (VM) services from companies such as Microsoft to reduce costs.

然而,提供虛擬機服務的廠商眾多,當使用者採用多家廠商的虛擬機服務時,需要分別透過該些廠商所提供的虛擬監視器(Hypervisor),監控各個虛擬機的工作情況,導致了使用者無法快速且統一地監控各個廠商所提供的虛擬機。 However, there are many vendors that provide virtual machine services. When users use virtual machine services from multiple vendors, they need to monitor the working conditions of each virtual machine through the virtual monitors (hypervisors) provided by these vendors, which leads to the use of virtual machine services. Players cannot quickly and uniformly monitor virtual machines provided by various vendors.

因此,如何提出一虛擬機主控台管理技術,能與不同廠商所提供的虛擬監視器進行主控台連線操作,以快速且便利地監控各個廠牌的虛擬機,遂成為業界亟待解決的課題。 Therefore, how to propose a virtual machine console management technology that can perform console connection operations with virtual monitors provided by different manufacturers to quickly and conveniently monitor virtual machines of various brands has become an urgent problem in the industry. subject.

為解決前述習知的技術問題或提供相關之功效,本發明提供一種虛擬機主控台管理系統,係包括:具有複數虛擬機之複數虛擬監視器;以及一具有跨平台介接模組之虛擬化管理裝置,係藉由該跨平台介接模組通訊連接或電性連接該複數虛擬監視器,而該虛擬化管理裝置提供一瀏覽器操作介面給一使用者建立一虛擬資料中心,再於該虛擬資料中心中建立該複數虛擬機監視器及其該複數虛擬機,其中,於完成該複數虛擬機監視器及對應之該複數虛擬機之建立後,由該虛擬化管理裝置依據一連線帳號設定該複數虛擬機監視器及對應之該複數虛擬機的主控台之連線,以發出一主控台連線請求,再由該虛擬化管理裝置透過該主控台連線請求中之連線帳號向該跨平台介接模組取得一跨平台介接令牌,進而由該虛擬化管理裝置利用該跨平台介接令牌,透過該跨平台介接模組完成該虛擬化管理裝置與該複數虛擬機監視器及對應之該複數虛擬機的主控台之連線。 In order to solve the above-mentioned conventional technical problems or provide related effects, the present invention provides a virtual machine console management system, which includes: a plurality of virtual monitors with a plurality of virtual machines; and a virtual machine with a cross-platform interface module. The virtualization management device communicates or electrically connects the plurality of virtual monitors through the cross-platform interface module, and the virtualization management device provides a browser operating interface for a user to create a virtual data center, and then The plurality of virtual machine monitors and the plurality of virtual machines are established in the virtual data center. After the establishment of the plurality of virtual machine monitors and the corresponding plurality of virtual machines is completed, the virtualization management device is configured according to a connection. The account sets up connections between the plurality of virtual machine monitors and the corresponding consoles of the plurality of virtual machines to issue a console connection request, and then the virtualization management device uses the console connection request to The connection account obtains a cross-platform interface token from the cross-platform interface module, and then the virtualization management device uses the cross-platform interface token to complete the virtualization management device through the cross-platform interface module. Connections to the plurality of virtual machine monitors and the corresponding consoles of the plurality of virtual machines.

本發明復提供一種虛擬機主控台管理方法,係包括:由一虛擬化管理裝置透過其跨平台介接模組通訊連接或電性連接具有複數虛擬機之複數虛擬監視器;由該虛擬化管理裝置提供一瀏覽器操作介面給一使用者建立一虛擬資料中心,再於該虛擬資料中心中建立該複數虛擬機監視器及對應之該複數虛擬機;於完成該複數虛擬機監視器及其該複數虛擬機之建立後,由該虛擬化管理裝置依據一連線帳號設定該複數虛擬機監視器及對應之該複數虛擬機的主控台之連線,以發出一主控台連線請求;由該虛擬化管理裝置透過該主控台連線請求中之連線帳號向該跨平台介接模組取得一跨平台介接令牌;以及由該虛擬化管理裝置利用該跨平台介接令牌, 以透過該跨平台介接模組完成該虛擬化管理裝置與該複數虛擬機監視器及對應之該複數虛擬機的主控台之連線。 The present invention further provides a virtual machine console management method, which includes: a virtualization management device communicates or electrically connects a plurality of virtual monitors having a plurality of virtual machines through its cross-platform interface module; The management device provides a browser operating interface for a user to create a virtual data center, and then creates the plurality of virtual machine monitors and the corresponding plurality of virtual machines in the virtual data center; after completing the plurality of virtual machine monitors and their corresponding After the plurality of virtual machines are created, the virtualization management device sets the connections between the plurality of virtual machine monitors and the corresponding consoles of the plurality of virtual machines according to a connection account to issue a console connection request. ; The virtualization management device obtains a cross-platform connection token from the cross-platform connection module through the connection account in the console connection request; and the virtualization management device uses the cross-platform connection token, The connection between the virtualization management device and the plurality of virtual machine monitors and the corresponding consoles of the plurality of virtual machines is completed through the cross-platform interface module.

於一實施例中,該瀏覽器操作介面提供該使用者於該虛擬資料中心中設定欲建立該複數虛擬機之該複數虛擬機監視器及其硬體需求規格。 In one embodiment, the browser operating interface provides the user to set the plurality of virtual machine monitors and their hardware requirement specifications to create the plurality of virtual machines in the virtual data center.

於一實施例中,該虛擬化管理裝置更包括一提供該瀏覽器操作介面之使用者介面模組,以於建立該虛擬資料中心、該複數虛擬機監視器及對應之該複數虛擬機時,分別發出一虛擬資源中心之建立請求及一虛擬機之建立請求。 In one embodiment, the virtualization management device further includes a user interface module that provides the browser operating interface to create the virtual data center, the plurality of virtual machine monitors and the corresponding plurality of virtual machines, Issue a virtual resource center creation request and a virtual machine creation request respectively.

於一實施例中,該虛擬化管理裝置更包括一提供驗證令牌之認證授權模組,其中,該虛擬資源中心之建立請求、該虛擬機之建立請求及該主控台連線請求皆包含該驗證令牌,以使該認證授權模組依據該驗證令牌驗證該虛擬資源中心之建立請求、該虛擬機之建立請求及該主控台連線請求是否正確。 In one embodiment, the virtualization management device further includes an authentication and authorization module that provides a verification token, wherein the creation request of the virtual resource center, the creation request of the virtual machine and the console connection request all include The verification token enables the authentication and authorization module to verify whether the establishment request of the virtual resource center, the establishment request of the virtual machine and the console connection request are correct based on the verification token.

於一實施例中,該虛擬化管理裝置更包括一資源管理模組,以依據該虛擬資源中心之建立請求及該虛擬機之建立請求建立該虛擬資料中心、該複數虛擬機監視器及對應之該複數虛擬機,再由該資源管理模組產生一虛擬資料中心之唯一識別碼,以令該跨平台介接模組依據該虛擬資料中心之唯一識別碼建立相對應之該連線帳號。 In one embodiment, the virtualization management device further includes a resource management module to create the virtual data center, the plurality of virtual machine monitors and the corresponding virtual machine monitors according to the creation request of the virtual resource center and the creation request of the virtual machine. For the plurality of virtual machines, the resource management module generates a unique identification code of the virtual data center, so that the cross-platform interface module establishes the corresponding connection account based on the unique identification code of the virtual data center.

於一實施例中,該資源管理模組利用一資源演算法,以依據該虛擬機之建立請求中該使用者所設定之該複數虛擬機監視器及其硬體需 求規格,選定符合需求之該複數虛擬機監視器進行虛擬機的供裝,俾建立該複數虛擬機。 In one embodiment, the resource management module utilizes a resource algorithm to configure the plurality of virtual machine monitors and their hardware requirements set by the user in the creation request of the virtual machine. Specifications are required, and the plurality of virtual machine monitors that meet the requirements are selected for provisioning and installation of the virtual machines, so as to create the plurality of virtual machines.

於一實施例中,複數虛擬監視器係為不同平台之虛擬監視器。 In one embodiment, the plurality of virtual monitors are virtual monitors of different platforms.

由上述可知,本發明之虛擬機主控台管理系統、方法及其電腦可讀媒介,主要透過虛擬化管理裝置所提供之瀏覽器操作介面建立虛擬資料中心,且藉由跨平台介接模組能與各種廠牌或類型的虛擬機監視器(Hypervisor)進行主控台連線,進而令使用者能利用虛擬化管理裝置所提供之瀏覽器操作介面,以在虛擬資源中心內管理各平台的虛擬機監視器。是以,本發明能提供使用者快速、便利地監控各平台的虛擬機監視器下的虛擬機,且大幅減少使用者的時間成本,以及提升虛擬機的管理效率。 As can be seen from the above, the virtual machine console management system, method and computer-readable medium of the present invention mainly establish a virtual data center through the browser operating interface provided by the virtualization management device, and through the cross-platform interface module It can connect to the console of various brands or types of virtual machine monitors (Hypervisors), allowing users to use the browser operating interface provided by the virtualization management device to manage various platforms in the virtual resource center. Virtual machine monitor. Therefore, the present invention can provide users with fast and convenient monitoring of virtual machines under the virtual machine monitors of various platforms, significantly reduce the user's time cost, and improve the management efficiency of the virtual machines.

1:虛擬機主控台管理系統 1: Virtual machine console management system

10:虛擬化管理裝置 10:Virtualization management device

101:使用者介面模組 101:User interface module

102:認證授權模組 102:Authentication and authorization module

103:資源管理模組 103: Resource management module

104:跨平台介接模組 104: Cross-platform interface module

20:虛擬監視器 20:Virtual monitor

21:虛擬機 21:Virtual machine

S21至S211:步驟 S21 to S211: steps

圖1係為本發明之虛擬機主控台管理系統之架構示意圖。 Figure 1 is a schematic diagram of the architecture of the virtual machine console management system of the present invention.

圖2係為本發明之虛擬機主控台管理方法之流程示意圖。 Figure 2 is a schematic flow chart of the virtual machine console management method of the present invention.

以下藉由特定的具體實施例說明本發明之實施方式,熟悉此技藝之人士可由本說明書所揭示之內容輕易地瞭解本發明之其他優點及功效。 The following describes the implementation of the present invention through specific embodiments. Those familiar with the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification.

須知,本說明書所附圖式所繪示之結構、比例、大小等,均僅用以配合說明書所揭示之內容,以供熟悉此技藝之人士之瞭解與閱讀,並非用以限定本發明可實施之限定條件,故不具技術上之實質意義,任何結 構之修飾、比例關係之改變或大小之調整,在不影響本發明所能產生之功效及所能達成之目的下,均應仍落在本發明所揭示之技術內容得能涵蓋之範圍內。同時,本說明書中所引用之如「一」、「第一」、「第二」、「上」及「下」等之用語,亦僅為便於敘述之明瞭,而非用以限定本發明可實施之範圍,其相對關係之改變或調整,在無實質變更技術內容下,當視為本發明可實施之範疇。 It should be noted that the structures, proportions, sizes, etc. shown in the drawings attached to this specification are only used to coordinate with the content disclosed in the specification for the understanding and reading of those familiar with the art, and are not used to limit the implementation of the present invention. restrictive conditions, so it has no technical substantive significance, and any conclusion Modifications of the structure, changes in proportions, or adjustments in size should still fall within the scope of the technical content disclosed in the present invention, as long as they do not affect the effects that the present invention can produce and the purposes that can be achieved. At the same time, terms such as "a", "first", "second", "upper" and "lower" cited in this specification are only for convenience of description and are not used to limit the scope of the present invention. Changes or adjustments in the scope of implementation and relative relationships shall be regarded as the scope within which the present invention can be implemented without substantially changing the technical content.

圖1係為本發明之虛擬機主控台管理系統1之架構示意圖,其中,該虛擬機主控台管理系統1係包括:一虛擬化管理裝置10、通訊(或電性)連接該虛擬化管理裝置10之複數虛擬監視器(Hypervisor)20、以及通訊(或電性)連接該複數虛擬監視器20之複數虛擬機(Virtual Machine,VM)21,其中,該虛擬化管理裝置10、該複數虛擬監視器20與該之間藉由有線或無線方式相互通訊(或電性)連接,且於此不限通訊(或電性)連接方式。 Figure 1 is a schematic structural diagram of the virtual machine console management system 1 of the present invention. The virtual machine console management system 1 includes: a virtualization management device 10, a communication (or electrical) connection to the virtualization management device 10. A plurality of virtual monitors (Hypervisors) 20 of the management device 10, and a plurality of virtual machines (Virtual Machines, VMs) 21 communicatively (or electrically) connected to the plurality of virtual monitors 20, wherein the virtualization management device 10, the plurality of The virtual monitor 20 is connected to each other through wired or wireless communication (or electrical) connection, and the communication (or electrical) connection method is not limited here.

所述之虛擬化管理裝置10更包括:一使用者介面模組101、一認證授權模組102、一資源管理模組103及一跨平台介接模組104,且該些模組之間藉由有線或無線方式相互通訊(或電性)連接,並於此不限該些模組之通訊連接(或電性)方式。在一實施例中,該跨平台介接模組104為一種跨平台遠程桌面閘道(如Apache Guacamole),且支援標準協定連線,例如:VNC、RDP及SSH等,以供該虛擬化管理裝置10與跨平台之該複數虛擬機監視器20及其該複數虛擬機21進行主控台連線。 The virtualization management device 10 further includes: a user interface module 101, an authentication and authorization module 102, a resource management module 103 and a cross-platform interface module 104, and these modules are interconnected by Mutual communication (or electrical) connection by wired or wireless means, and this is not limited to the communication connection (or electrical) method of these modules. In one embodiment, the cross-platform interface module 104 is a cross-platform remote desktop gateway (such as Apache Guacamole) and supports standard protocol connections, such as VNC, RDP and SSH, etc. for the virtualization management. The device 10 performs a console connection with the plurality of cross-platform virtual machine monitors 20 and the plurality of virtual machines 21 .

在一實施例中,所述之複數虛擬機監視器20可為基於核心的虛擬機器(Kernel-based Virtual Machine,KVM)(為基於Linux的虛擬機監 視器)、Hyper-V(為微軟公司所提供的虛擬機監視器)或/及VMware(威睿公司所提供的虛擬機監視器)等虛擬機監視器,且該複數虛擬機監視器20彼此間可為相同或不同的廠牌或類型,其中,該複數虛擬機監視器20提供其底下之複數虛擬機21給該虛擬化管理裝置10,以建立使用者所需之虛擬機21。 In one embodiment, the plurality of virtual machine monitors 20 may be Kernel-based Virtual Machine (KVM) (a Linux-based virtual machine monitor). monitor), Hyper-V (a virtual machine monitor provided by Microsoft Corporation) and/or VMware (a virtual machine monitor provided by VMware Corporation), and the plurality of virtual machine monitors 20 are mutually exclusive with each other. The virtual machine monitors 20 may be of the same or different brands or types. The plurality of virtual machine monitors 20 provide the plurality of virtual machines 21 under them to the virtualization management device 10 to create the virtual machines 21 required by the user.

具體而言,該虛擬化管理裝置10、該複數虛擬監視器20及該複數虛擬機可建立於相同(或不同)伺服器(如通用型伺服器、檔案型伺服器、儲存單元型伺服器等)及電腦(如個人電腦、筆記型電腦、平板電腦等)等具有適當演算機制之電子設備中。再者,該虛擬化管理裝置10中之模組(如該使用者介面模組101、該認證授權模組102、該資源管理模組103及該跨平台介接模組104)均可為軟體、硬體或韌體;若為硬體,則可為具有資料處理與運算能力之處理單元、處理器、電腦或伺服器;若為軟體或韌體,則可包括處理單元、處理器、電腦或伺服器可執行之指令,且可安裝於同一硬體裝置或分布於不同的複數硬體裝置。 Specifically, the virtualization management device 10, the plurality of virtual monitors 20 and the plurality of virtual machines can be established on the same (or different) servers (such as general-purpose servers, file servers, storage unit servers, etc.) ) and computers (such as personal computers, laptops, tablets, etc.) and other electronic devices with appropriate computing mechanisms. Furthermore, the modules in the virtualization management device 10 (such as the user interface module 101, the authentication and authorization module 102, the resource management module 103 and the cross-platform interface module 104) can all be software. , hardware or firmware; if it is hardware, it can be a processing unit, processor, computer or server with data processing and computing capabilities; if it is software or firmware, it can include a processing unit, processor, computer Or instructions that can be executed by the server and can be installed on the same hardware device or distributed on multiple different hardware devices.

圖2係為本發明之虛擬機主控台管理方法之流程示意圖,且一併參閱圖1說明之,其中,該虛擬機主控台管理方法係包含下列步驟S21至步驟S211: Figure 2 is a schematic flow chart of the virtual machine console management method of the present invention, which is explained with reference to Figure 1 . The virtual machine console management method includes the following steps S21 to S211:

於步驟S21中,一虛擬化管理裝置10提供一使用者利用一使用者裝置(如電腦或智慧型手機等)登入,其中,該虛擬化管理裝置10中之使用者介面模組101提供一瀏覽器操作介面給該使用者,以由該瀏覽器操作介面供該使用者建立一虛擬資料中心,且該使用者介面模組101發出一虛擬資源中心之建立請求。 In step S21, a virtualization management device 10 provides a user to log in using a user device (such as a computer or a smartphone, etc.), wherein the user interface module 101 in the virtualization management device 10 provides a browsing A browser operating interface is provided to the user so that the user can create a virtual data center through the browser operating interface, and the user interface module 101 issues a creation request for a virtual resource center.

在一實施例中,該虛擬資料中心須設定之參數係至少包含虛擬資料中心名稱、虛擬資料中心所在地區、虛擬資料中心綁定系統名稱、虛擬資料中心歸屬組織、虛擬資料中心標籤與描述等,其中,該虛擬資料中心為虛擬資源邏輯的分群,且唯具有該虛擬資料中心的操作權限之使用者能對該虛擬資料中心內之虛擬資源進行操作,例如:建立虛擬機與連線虛擬機主控台。 In one embodiment, the parameters that must be set for the virtual data center include at least the name of the virtual data center, the region where the virtual data center is located, the name of the system bound to the virtual data center, the organization to which the virtual data center belongs, the label and description of the virtual data center, etc. Among them, the virtual data center is a logical grouping of virtual resources, and only users with the operation permissions of the virtual data center can operate the virtual resources in the virtual data center, such as creating virtual machines and connecting virtual machine hosts. AA.

於步驟S22中,該虛擬化管理裝置10中之認證授權模組102接收來自該使用者介面模組101之虛擬資源中心之建立請求,以驗證該虛擬資源中心之建立請求是否正確。 In step S22, the authentication and authorization module 102 in the virtualization management device 10 receives the virtual resource center creation request from the user interface module 101 to verify whether the virtual resource center creation request is correct.

於步驟S23中,於該虛擬資源中心之建立請求通過驗證後,將該虛擬資源中心之建立請求傳送給該虛擬化管理裝置10中之資源管理模組103,以授權該資源管理模組103建立該虛擬資料中心。 In step S23, after the establishment request of the virtual resource center passes the verification, the establishment request of the virtual resource center is sent to the resource management module 103 in the virtualization management device 10 to authorize the resource management module 103 to establish. The virtual data center.

於步驟S24中,於該資源管理模組13建立完成該虛擬資料中心後,該資源管理模組13產生一虛擬資料中心之唯一識別碼,且該虛擬化管理裝置10中之跨平台介接模組104依據該虛擬資料中心之唯一識別碼建立相對應之一連線帳號,以由該跨平台介接模組104利用該連線帳號連線該複數虛擬機監視器20。 In step S24, after the resource management module 13 completes establishing the virtual data center, the resource management module 13 generates a unique identification code of the virtual data center, and the cross-platform interface module in the virtualization management device 10 The group 104 creates a corresponding connection account based on the unique identification code of the virtual data center, so that the cross-platform interface module 104 uses the connection account to connect to the plurality of virtual machine monitors 20 .

於步驟S25中,該使用者介面模組101之該瀏覽器操作介面提供該使用者於該虛擬資料中心中建立該複數虛擬機監視器20及其該複數虛擬機21,且該使用者介面模組101發出一虛擬機之建立請求。 In step S25, the browser operating interface of the user interface module 101 provides the user to create the plurality of virtual machine monitors 20 and the plurality of virtual machines 21 in the virtual data center, and the user interface module Group 101 issues a creation request for a virtual machine.

在一實施例中,該瀏覽器操作介面提供該使用者於該虛擬資料中心中設定該複數虛擬機監視器20的廠牌或類型,再於該複數虛擬機監 視器20中選擇至少一主機,以設定該主機之處理器之核心數、記憶體大小等硬體需求規格,藉此建立該複數虛擬機21,且該使用者介面模組101發出該虛擬機之建立請求。 In one embodiment, the browser operating interface provides the user to set the brands or types of the plurality of virtual machine monitors 20 in the virtual data center, and then configure the plurality of virtual machine monitors 20 in the virtual data center. Select at least one host in the browser 20 to set the hardware requirement specifications such as the number of processor cores and memory size of the host, thereby creating the plurality of virtual machines 21, and the user interface module 101 issues the virtual machine to create a request.

於步驟S26中,該認證授權模組102接收來自該使用者介面模組101之虛擬機之建立請求,以驗證該虛擬機之建立請求是否正確。 In step S26, the authentication and authorization module 102 receives the virtual machine creation request from the user interface module 101 to verify whether the virtual machine creation request is correct.

於步驟S27中,於該虛擬機之建立請求通過驗證後,將該虛擬機之建立請求傳送給該資源管理模組103,以授權該資源管理模組103於該虛擬資料中心中建立該複數虛擬機監視器20及其該複數虛擬機21。在一實施例中,於此該資源管理模組103僅是於該瀏覽器操作介面中完成該虛擬資料中心中的該複數虛擬機監視器20及其該複數虛擬機21之建立,而尚未與實際的主機進行連線。 In step S27, after the creation request of the virtual machine passes the verification, the creation request of the virtual machine is sent to the resource management module 103 to authorize the resource management module 103 to create the plurality of virtual machines in the virtual data center. Machine monitor 20 and its plurality of virtual machines 21. In one embodiment, the resource management module 103 only completes the creation of the plurality of virtual machine monitors 20 and the plurality of virtual machines 21 in the virtual data center in the browser operating interface, but has not yet connected with the virtual data center. The actual host is connected.

在一實施例中,該資源管理模組103利用一資源演算法且依據該虛擬機之建立請求中使用者給定的處理器之核心數、記憶體之大小等硬體需求規格及偏好的虛擬機監視器20,選定能夠滿足需求之虛擬機監視器20中的虛擬機進行虛擬機供裝,以建立該複數虛擬機,其中,該資源演算法之規則如下所示: In one embodiment, the resource management module 103 uses a resource algorithm and creates a virtual virtual machine based on the number of processor cores, memory size and other hardware requirements and preferences given by the user in the creation request of the virtual machine. The machine monitor 20 selects a virtual machine in the virtual machine monitor 20 that can meet the demand for virtual machine installation to create the plurality of virtual machines. The rules of the resource algorithm are as follows:

1.若使用者有偏好的虛擬機監視器20,先從使用者偏好的虛擬機監視器20進行選擇。 1. If the user has a preferred virtual machine monitor 20, first select the virtual machine monitor 20 preferred by the user.

2.優先選擇新增虛擬機後處理器及記憶體負載皆不超過70%之虛擬機監視器20。 2. Prioritize the virtual machine monitor 20 whose post-processor and memory load of the new virtual machine does not exceed 70%.

3.相同條件下選定平均負載最小之虛擬機監視器20,其中,該平均負載計算方式如下所示: 3. Select the virtual machine monitor 20 with the smallest average load under the same conditions, where the average load is calculated as follows:

Figure 111144251-A0101-12-0009-1
Figure 111144251-A0101-12-0009-1

其中,AverageLoad係為平均負載;CoreReqeust係為使用者所需之處理器核心數;CoreUsed係為虛擬機監視器20已使用之處理器核心數;TotalCore係為虛擬機監視器20之總處理器核心數;MemReqeust係為使用者所需之記憶體大小;MemUsed係為虛擬機監視器20已使用之記憶體大小;以及TotalMemory係為虛擬機監視器20之總記憶體大小。是以,透過該資源演算法能快速且準確地獲得滿足使用者需求之虛擬機。 Among them, AverageLoad is the average load; CoreReqeust is the number of processor cores required by the user; CoreUsed is the number of processor cores used by the virtual machine monitor 20; TotalCore is the total processor cores of the virtual machine monitor 20 number; MemReqeust is the memory size required by the user; MemUsed is the memory size used by the virtual machine monitor 20; and TotalMemory is the total memory size of the virtual machine monitor 20. Therefore, through this resource algorithm, virtual machines that meet user needs can be obtained quickly and accurately.

於步驟S28中,於該資源管理模組103完成該複數虛擬機監視器20及其該複數虛擬機21之建立後,該資源管理模組103依據該虛擬資料中心之唯一識別碼所相對應之該連線帳號設定該複數虛擬機監視器20及其該複數虛擬機21的主控台之連線,且發出一主控台連線請求。 In step S28, after the resource management module 103 completes the establishment of the plurality of virtual machine monitors 20 and the plurality of virtual machines 21, the resource management module 103 corresponds to the unique identification code of the virtual data center. The connection account sets up connections between the plurality of virtual machine monitors 20 and the consoles of the plurality of virtual machines 21 and issues a console connection request.

於步驟S29中,該認證授權模組102接收來自該資源管理模組103之主控台連線請求,以驗證該主控台連線請求是否正確。 In step S29, the authentication and authorization module 102 receives the console connection request from the resource management module 103 to verify whether the console connection request is correct.

於步驟S210中,於該主控台連線請求驗證通過後,該認證授權模組102依據該主控台連線請求中該虛擬資料中心之唯一識別碼所相對應之該連線帳號,以向該跨平台介接模組104取得一跨平台介接令牌(Token)。 In step S210, after the console connection request is verified, the authentication and authorization module 102 uses the connection account corresponding to the unique identification code of the virtual data center in the console connection request to Obtain a cross-platform interface token (Token) from the cross-platform interface module 104.

於步驟S211中,該使用者介面模組101利用該跨平台介接令牌,以透過該跨平台介接模組104與該複數虛擬機監視器20及其該複數虛擬機21完成主控台之連線。 In step S211 , the user interface module 101 utilizes the cross-platform interface token to complete the console through the cross-platform interface module 104 and the plurality of virtual machine monitors 20 and the plurality of virtual machines 21 of connection.

具體而言,該虛擬資料中心建立後,該跨平台介接模組104依據該虛擬資料中心之唯一識別碼作為該虛擬資料中心之虛擬機專用的連線帳號,當該虛擬資料中心內的虛擬機之建立完成後,使用該虛擬資料中心的虛擬機專用之連線帳號,以通過跨平台介接模組104認證,藉此建立虛擬機監視器20中的虛擬機的連線(支援VNC、RDP、SSH不同之連線協定)。是以,利用該連線帳號通過跨平台介接模組104認證後,取得帶有該跨平台介接令牌之虛擬機主控台連線網址,此連線網址內嵌於使用者網頁,以供使用者透過瀏覽器進行主控台連線。 Specifically, after the virtual data center is established, the cross-platform interface module 104 uses the unique identification code of the virtual data center as a dedicated connection account for the virtual machine of the virtual data center. When the virtual data center in the virtual data center After the creation of the machine is completed, use the virtual machine-specific connection account of the virtual data center to pass the cross-platform interface module 104 authentication, thereby establishing a connection to the virtual machine in the virtual machine monitor 20 (supports VNC, RDP and SSH have different connection protocols). Therefore, after using the connection account to pass the cross-platform connection module 104 authentication, the virtual machine console connection URL with the cross-platform connection token is obtained. This connection URL is embedded in the user web page. Allows users to connect to the console through a browser.

在一實施例中,於上述步驟S22、步驟S26及步驟S29中,該認證授權模組102採用JWT(JSON Web Token)機制之認證授權機制,於該使用者成功登入該虛擬化管理裝置10後,該認證授權模組102會給予一驗證令牌(Token),該驗證令牌包含該使用者被賦予的權限,即表示該使用者可以進行之動作與操作之資源,且該使用者後續所有在該虛擬化管理裝置10中的操作都會帶這一組驗證令牌,例如:該虛擬資源中心之建立請求、該虛擬機之建立請求及該主控台連線請求皆包含該驗證令牌。是以,當該認證授權模組102收到該虛擬資源中心之建立請求、該虛擬機之建立請求及該主控台連線請求時,解析該些請求中之該驗證令牌,即可驗證該使用者是否能夠進行其對應要求之操作。 In one embodiment, in the above steps S22, S26 and S29, the authentication and authorization module 102 adopts the authentication and authorization mechanism of JWT (JSON Web Token) mechanism. After the user successfully logs in to the virtualization management device 10 , the authentication and authorization module 102 will give a verification token (Token). The verification token contains the permissions granted to the user, which means the actions and operating resources that the user can perform, and all subsequent actions of the user Operations in the virtualization management device 10 will carry this set of verification tokens. For example, the creation request of the virtual resource center, the creation request of the virtual machine, and the console connection request all include the verification token. Therefore, when the authentication and authorization module 102 receives the creation request of the virtual resource center, the creation request of the virtual machine and the console connection request, it can verify the verification token by parsing the verification token in these requests. Whether the user can perform the corresponding required operations.

此外,本發明還揭示一種電腦可讀媒介,係應用於具有處理器(例如,CPU、GPU等)及/或記憶體的計算裝置或電腦中,且儲存有指令,並可利用此計算裝置或電腦透過處理器及/或記憶體執行此電腦可讀媒介,以於執行此電腦可讀媒介時執行上述之方法及各步驟。 In addition, the present invention also discloses a computer-readable medium, which is applied to a computing device or computer having a processor (eg, CPU, GPU, etc.) and/or a memory, and stores instructions, and can utilize the computing device or computer. The computer executes the computer-readable medium through the processor and/or memory to perform the above methods and steps when executing the computer-readable medium.

下列係為本發明之虛擬機主控台管理系統1之實際應實施例,且一併參閱圖1及圖2說明之。此外,此實施例與上述實施例相同處不再贅述。 The following is an actual embodiment of the virtual machine console management system 1 of the present invention, and is explained with reference to FIG. 1 and FIG. 2 . In addition, the same points between this embodiment and the above embodiment will not be described again.

於本實施例中,一使用者利用其電腦登入一虛擬化管理裝置10,且由一認證授權模組102給予該使用者一驗證令牌,再由一使用者介面模組101提供一瀏覽器操作介面供該使用者透過其電腦建立一虛擬資料中心,其中,於該使用者設定完成欲建立的虛擬資料中心後,由該使用者介面模組101發出一虛擬資源中心之建立請求(包含該驗證令牌),再由該認證授權模組102進一步驗證該虛擬資源中心之建立請求中的該驗證令牌,以確認該虛擬資源中心之建立請求是否正確。 In this embodiment, a user uses his computer to log in to a virtualization management device 10, and an authentication and authorization module 102 gives the user a verification token, and then a user interface module 101 provides a browser The operating interface allows the user to create a virtual data center through his or her computer. After the user completes the setting of the virtual data center to be created, the user interface module 101 issues a creation request for a virtual resource center (including the Verification token), and then the authentication and authorization module 102 further verifies the verification token in the creation request of the virtual resource center to confirm whether the creation request of the virtual resource center is correct.

於該虛擬資源中心之建立請求後,授權一資源管理模組103建立該虛擬資料中心,並在完成該虛擬資料中心之建立後,由該資源管理模組13產生一虛擬資料中心之唯一識別碼,例如:該虛擬資料中心之唯一識別碼係為VDC3345678。再者,由一跨平台介接模組104依據該虛擬資料中心之唯一識別碼於中建立相對應之一連線帳號,例如:該虛擬資料中心之唯一識別碼係為VDC3345678,且該連線帳號用於連線複數虛擬監視器20。 After the creation request of the virtual resource center, a resource management module 103 is authorized to create the virtual data center, and after the creation of the virtual data center is completed, the resource management module 13 generates a unique identification code of the virtual data center. , for example: the unique identification code of the virtual data center is VDC3345678. Furthermore, a cross-platform interface module 104 creates a corresponding connection account in the virtual data center based on the unique identification code. For example: the unique identification code of the virtual data center is VDC3345678, and the connection The account is used to connect to multiple virtual monitors 20.

再者,該瀏覽器操作介面供該使用者透過其電腦於該虛擬資料中心中建立不同平台的複數虛擬機監視器20及其複數虛擬機21。具言之,該使用者於該虛擬資料中心中設定虛擬機監視器(Hypervisor)的廠牌或類型,例如:設定KVM、Hyper-V及VMware等虛擬機監視器,再於KVM、Hyper-V及VMware等複數虛擬機監視器20中皆選擇至少一主機,以分 別設定該主機之處理器、記憶體等硬體需求規格,藉此建立KVM、Hyper-V及VMware下的複數虛擬機21,且該使用者介面模組101發出該虛擬機之建立請求(包含該驗證令牌)。 Furthermore, the browser operating interface allows the user to create a plurality of virtual machine monitors 20 and a plurality of virtual machines 21 of different platforms in the virtual data center through his or her computer. Specifically, the user sets the brand or type of the virtual machine monitor (Hypervisor) in the virtual data center, for example: sets KVM, Hyper-V and VMware and other virtual machine monitors, and then sets the virtual machine monitor (Hypervisor) in the virtual data center. and VMware etc., select at least one host from multiple virtual machine monitors 20 to divide The hardware requirement specifications such as processor and memory of the host are set to create multiple virtual machines 21 under KVM, Hyper-V and VMware, and the user interface module 101 issues a creation request for the virtual machine (including the verification token).

之後,由該認證授權模組102驗證該虛擬機之建立請求中的該驗證令牌,以確認該虛擬資源中心之建立請求是否正確。舉例而言,所發送的該虛擬中心或該虛擬機之建立請求皆會夾帶如JWT(JSON Web Token)之驗證令牌,且JWT是一種基於JSON的開放標準(RFC 7519)用於在雙方之間安全地將訊息作為JSON物件傳輸。再者,此訊息是經過數位簽章(Digital Signature),故可以被驗證及信任。是以,該認證授權模組102收到令牌後進行解譯,並依據解譯內容進行授權(Authorization),該認證授權模組102授權使用者是否能夠進行對應資源(也就是虛擬中心或是虛擬機)的存取,該認證授權模組102僅允許使用者存取有權限的資源。 Afterwards, the authentication and authorization module 102 verifies the verification token in the creation request of the virtual machine to confirm whether the creation request of the virtual resource center is correct. For example, the creation request sent by the virtual center or the virtual machine will carry a verification token such as JWT (JSON Web Token), and JWT is an open standard based on JSON (RFC 7519) used between the two parties. Securely transmit messages as JSON objects. Furthermore, this message is digitally signed, so it can be verified and trusted. Therefore, the authentication and authorization module 102 interprets the token after receiving it, and performs authorization (Authorization) based on the interpretation content. The authentication and authorization module 102 authorizes the user to access the corresponding resource (that is, the virtual center or the (virtual machine), the authentication and authorization module 102 only allows users to access authorized resources.

於該虛擬機之建立請求通過驗證後,該認證授權模組102將該虛擬機之建立請求傳送給該資源管理模組103,以由該資源管理模組103利用一資源演算法且依據該虛擬機之建立請求中使用者給定的處理器之核心數、記憶體之大小等硬體需求規格及偏好的虛擬機監視器20(即KVM、Hyper-V及VMware)計算出符合需求之虛擬機監視器20中的虛擬機進行虛擬機供裝,藉此於該虛擬資料中心中建立KVM、Hyper-V及VMware及其該複數虛擬機21。 After the creation request of the virtual machine passes the verification, the authentication and authorization module 102 sends the creation request of the virtual machine to the resource management module 103, so that the resource management module 103 uses a resource algorithm and based on the virtual machine In the machine creation request, the user provides the number of processor cores, memory size and other hardware requirements and preferred virtual machine monitor 20 (i.e. KVM, Hyper-V and VMware) to calculate a virtual machine that meets the requirements. The virtual machine in the monitor 20 performs virtual machine provisioning, thereby creating KVM, Hyper-V and VMware and the plurality of virtual machines 21 in the virtual data center.

接著,該資源管理模組103依據該虛擬資料中心之唯一識別碼(如VDC3345678)相對應的該連線帳號(如VDC3345678)設定該複數虛擬機監視器20及其該複數虛擬機21的主控台之連線,進而發出一主控台 連線請求(包含該驗證令牌),且同樣地該認證授權模組102驗證該主控台連線請求中的該驗證令牌,以確認該主控台連線請求是否正確。 Then, the resource management module 103 sets the plurality of virtual machine monitors 20 and the master controls of the plurality of virtual machines 21 according to the connection account (such as VDC3345678) corresponding to the unique identification code of the virtual data center (such as VDC3345678). The connection between the console and then sending out a main console The connection request (including the verification token), and similarly the authentication and authorization module 102 verifies the verification token in the console connection request to confirm whether the console connection request is correct.

最後,於該主控台連線請求驗證通過後,該認證授權模組102依據該主控台連線請求中的該連線帳號(如VDC3345678),向該跨平台介接模組104取得一跨平台介接令牌(Token),該使用者介面模組101利用該跨平台介接令牌,以透過該跨平台介接模組104與該KVM、Hyper-V及VMware及其該複數虛擬機21完成主控台之連線,藉此提供該使用者透過該虛擬化管理裝置10管理及使用不同平台下的該複數虛擬機監視器20及其該複數虛擬機21。 Finally, after the console connection request is verified, the authentication and authorization module 102 obtains a cross-platform interface module 104 based on the connection account (such as VDC3345678) in the console connection request. Cross-platform interface token (Token), the user interface module 101 uses the cross-platform interface token to communicate with the KVM, Hyper-V and VMware and the plurality of virtual machines through the cross-platform interface module 104 The computer 21 completes the connection to the main console, thereby allowing the user to manage and use the plurality of virtual machine monitors 20 and the plurality of virtual machines 21 under different platforms through the virtualization management device 10 .

綜上所述,本發明提出一虛擬機主控台管理系統、方法及其電腦可讀媒介,藉由虛擬化管理裝置所提供之瀏覽器操作介面建立虛擬資料中心,且虛擬化管理裝置中之跨平台介接模組能與各種廠牌或類型的虛擬機監視器(Hypervisor)進行主控台連線,進而令使用者能利用虛擬化管理裝置所提供之瀏覽器操作介面,以在虛擬資源中心內管理各平台的虛擬機監視器。是以,本發明能提供使用者快速、便利地監控各平台的虛擬機監視器下的虛擬機,且大幅減少使用者的時間成本,以及提升虛擬機的管理效率。 To sum up, the present invention proposes a virtual machine console management system, method and computer-readable medium, which establishes a virtual data center through the browser operating interface provided by the virtualization management device, and the virtualization management device The cross-platform interface module can connect to the console of various brands or types of virtual machine monitors (hypervisors), allowing users to use the browser operating interface provided by the virtualization management device to manage virtual resources. The center manages virtual machine monitors for each platform. Therefore, the present invention can provide users with fast and convenient monitoring of virtual machines under the virtual machine monitors of various platforms, significantly reduce the user's time cost, and improve the management efficiency of the virtual machines.

此外,本發明之虛擬機主控台管理系統、方法及其電腦可讀媒介,係具備下列優點或技術功效: In addition, the virtual machine console management system, method and computer-readable medium of the present invention have the following advantages or technical effects:

1.本發明之虛擬機主控台管理系統結合虛擬資料中心權限控制,以提供通用之瀏覽器操作介面與不同平台的虛擬機監視器進行虛擬機主控台連線操作,其中,虛擬機歸屬於使用者所設置的虛擬資料中心,只 有具備該虛擬資料中心授權的使用者才能進行虛擬機主控台連線操作,故本發明具備便利性與安全性,且能統一管理各平台之虛擬機。 1. The virtual machine console management system of the present invention combines virtual data center authority control to provide a universal browser operating interface and virtual machine monitors of different platforms for virtual machine console connection operations, where the virtual machine belongs to In the virtual data center set up by the user, only Only users authorized by the virtual data center can perform virtual machine console connection operations. Therefore, the present invention has convenience and security, and can uniformly manage virtual machines of each platform.

2.本發明藉由其認證授權模組管理控制虛擬資源之建立與虛擬機主控台連線之權限,以令使用者僅能連線其所授權的虛擬資源中心之虛擬機主控台,藉此提升使用者之安全性。詳言之,於建立虛擬資源(如虛擬資源中心、虛擬機)時,需要通過認證授權模組的認證及授權,才能使資源管理模組進行虛擬資源建立。再者,於進行虛擬機之主控台連線時,也需要虛擬資料中心之唯一識別碼作為連線帳號,以呼叫跨平台介接模組並獲取用於連線之驗證令牌(Token),使用者透過驗證令牌於虛擬化管理裝置的通用之瀏覽器操作介面進行虛擬機的主控台之連線。 2. The present invention uses its authentication and authorization module to manage and control the establishment of virtual resources and the permissions to connect to the virtual machine console, so that users can only connect to the virtual machine console of the virtual resource center they have authorized. This improves user safety. Specifically, when creating virtual resources (such as virtual resource centers and virtual machines), authentication and authorization by the authentication and authorization module are required before the resource management module can create virtual resources. Furthermore, when connecting to the console of a virtual machine, the unique identification code of the virtual data center is also required as the connection account to call the cross-platform interface module and obtain the verification token for connection. , the user uses the authentication token to connect to the virtual machine's console through the common browser operating interface of the virtualization management device.

3.本發明藉由其資源管理模組建立虛擬資料中心,產生虛擬資源中心之唯一識別碼,以依據虛擬資源中心之唯一識別碼於跨平台介接模組中建立相對應之連線帳號(即連線帳號),進而設定不同平台的虛擬機監視器及其虛擬機之主控台之連線。 3. The present invention establishes a virtual data center through its resource management module, generates a unique identification code of the virtual resource center, and establishes a corresponding connection account in the cross-platform interface module based on the unique identification code of the virtual resource center ( That is, the connection account), and then set up the connection between the virtual machine monitors of different platforms and the console of the virtual machine.

上述實施形態僅例示性說明本發明之原理及其功效,而非用於限制本發明。任何熟習此項技藝之人士均可在不違背本發明之精神及範疇下,對上述實施形態進行修飾與改變。因此,本發明之權利保護範圍應如申請專利範圍所列。 The above embodiments are only illustrative to illustrate the principles and effects of the present invention, but are not intended to limit the present invention. Anyone skilled in this art can modify and change the above embodiments without departing from the spirit and scope of the invention. Therefore, the protection scope of the present invention should be as listed in the patent application scope.

1:虛擬機主控台管理系統 1: Virtual machine console management system

10:虛擬化管理裝置 10:Virtualization management device

101:使用者介面模組 101:User interface module

102:認證授權模組 102:Authentication and authorization module

103:資源管理模組 103: Resource management module

104:跨平台介接模組 104: Cross-platform interface module

20:虛擬監視器 20:Virtual monitor

21:虛擬機 21:Virtual machine

Claims (11)

一種虛擬機主控台管理系統,係包括:具有複數虛擬機之複數虛擬監視器;以及一具有跨平台介接模組、使用者介面模組及認證授權模組之虛擬化管理裝置,係藉由該跨平台介接模組通訊連接或電性連接該複數虛擬監視器,且該使用者介面模組提供一瀏覽器操作介面給一使用者建立一虛擬資料中心,再於該虛擬資料中心中建立該複數虛擬機監視器及對應之該複數虛擬機,其中,於建立該虛擬資料中心、該複數虛擬機監視器及對應之該複數虛擬機時,該使用者介面模組分別發出一虛擬資源中心之建立請求及一虛擬機之建立請求,其中,於完成該複數虛擬機監視器及對應之該複數虛擬機之建立後,由該虛擬化管理裝置依據一連線帳號設定該複數虛擬機監視器及對應之該複數虛擬機的主控台之連線,以發出一主控台連線請求,再由該虛擬化管理裝置透過該主控台連線請求中之連線帳號向該跨平台介接模組取得一跨平台介接令牌,進而由該虛擬化管理裝置利用該跨平台介接令牌,透過該跨平台介接模組完成該虛擬化管理裝置與該複數虛擬機監視器及對應之該複數虛擬機的主控台之連線,其中,由該認證授權模組係提供一驗證令牌,且該虛擬資源中心之建立請求、該虛擬機之建立請求及該主控台連線請求皆包含該驗證令牌,以使該認證授權模組依據該驗證令牌驗證該虛擬資源中心之建立請求、該虛擬機之建立請求及該主控台連線請求是否正確。 A virtual machine console management system includes: a plurality of virtual monitors having a plurality of virtual machines; and a virtualization management device having a cross-platform interface module, a user interface module and an authentication and authorization module. The cross-platform interface module is communicatively connected or electrically connected to the plurality of virtual monitors, and the user interface module provides a browser operation interface for a user to create a virtual data center, and then in the virtual data center Create the plurality of virtual machine monitors and the corresponding plurality of virtual machines, wherein when creating the virtual data center, the plurality of virtual machine monitors and the corresponding plurality of virtual machines, the user interface module respectively issues a virtual resource The creation request of the center and the creation request of a virtual machine, wherein after completing the creation of the plurality of virtual machine monitors and the corresponding plurality of virtual machines, the virtualization management device sets the plurality of virtual machine monitors according to a connection account The server and the corresponding connections to the consoles of the plurality of virtual machines are issued to issue a console connection request, and then the virtualization management device sends a request to the cross-platform server through the connection account in the console connection request. The interface module obtains a cross-platform interface token, and then the virtualization management device uses the cross-platform interface token to complete the virtualization management device and the plurality of virtual machine monitors through the cross-platform interface module. and the corresponding connections to the consoles of the plurality of virtual machines, wherein the authentication and authorization module provides a verification token, and the creation request of the virtual resource center, the creation request of the virtual machine and the console Each connection request includes the verification token, so that the authentication and authorization module verifies whether the creation request of the virtual resource center, the creation request of the virtual machine and the console connection request are correct based on the verification token. 如請求項1所述之虛擬機主控台管理系統,其中,該瀏覽器操作介面提供該使用者於該虛擬資料中心中設定欲建立該複數虛擬機之該複數虛擬機監視器及其硬體需求規格。 The virtual machine console management system as described in request item 1, wherein the browser operating interface provides the user with the ability to set the plurality of virtual machine monitors and their hardware to create the plurality of virtual machines in the virtual data center. Requirement specifications. 如請求項1所述之虛擬機主控台管理系統,其中,該虛擬化管理裝置更包括一資源管理模組,以依據該虛擬資源中心之建立請求及該虛擬機之建立請求建立該虛擬資料中心、該複數虛擬機監視器及對應之該複數虛擬機,再由該資源管理模組產生該虛擬資料中心之唯一識別碼,以令該跨平台介接模組依據該虛擬資料中心之唯一識別碼建立相對應之該連線帳號。 The virtual machine console management system as described in claim 1, wherein the virtualization management device further includes a resource management module to create the virtual data according to the creation request of the virtual resource center and the creation request of the virtual machine. center, the plurality of virtual machine monitors and the corresponding plurality of virtual machines, and then the resource management module generates a unique identification code of the virtual data center, so that the cross-platform interface module can be based on the unique identification of the virtual data center Code to create a corresponding connection account. 如請求項3所述之虛擬機主控台管理系統,其中,該資源管理模組利用一資源演算法,以依據該虛擬機之建立請求中該使用者所設定之該複數虛擬機監視器及其硬體需求規格,選定符合需求之該複數虛擬機監視器進行虛擬機供裝,俾建立該複數虛擬機。 The virtual machine console management system as described in claim 3, wherein the resource management module uses a resource algorithm to configure the plurality of virtual machine monitors set by the user in the creation request of the virtual machine and According to the hardware requirement specifications, a plurality of virtual machine monitors that meet the requirements are selected for virtual machine installation, so as to create the plurality of virtual machines. 如請求項1所述之虛擬機主控台管理系統,其中,複數虛擬監視器係為不同平台之虛擬監視器。 The virtual machine console management system as described in claim 1, wherein the plurality of virtual monitors are virtual monitors of different platforms. 一種虛擬機主控台管理方法,係包括:由一虛擬化管理裝置透過其跨平台介接模組通訊連接或電性連接具有複數虛擬機之複數虛擬監視器;由該虛擬化管理裝置中之使用者介面模組提供一瀏覽器操作介面給一使用者建立一虛擬資料中心,再於該虛擬資料中心中建立該複數虛擬機監視器及對應之該複數虛擬機,其中,於建立該虛擬資料中心、該複數虛擬機監視器及對應之該複數虛擬機時,由該使用者介面模組分別發出一虛擬 資源中心之建立請求及一虛擬機之建立請求;於完成該複數虛擬機監視器及對應之該複數虛擬機之建立後,由該虛擬化管理裝置依據一連線帳號設定該複數虛擬機監視器及對應之該複數虛擬機的主控台之連線,以發出一主控台連線請求;由該虛擬化管理裝置透過該主控台連線請求中之連線帳號向該跨平台介接模組取得一跨平台介接令牌;以及由該虛擬化管理裝置利用該跨平台介接令牌,以透過該跨平台介接模組完成該虛擬化管理裝置與該複數虛擬機監視器及對應之該複數虛擬機的主控台之連線,其中,由該虛擬化管理裝置中之認證授權模組提供一驗證令牌,且該虛擬資源中心之建立請求、該虛擬機之建立請求及該主控台連線請求皆包含該驗證令牌,再由該認證授權模組依據該驗證令牌驗證該虛擬資源中心之建立請求、該虛擬機之建立請求及該主控台連線請求是否正確。 A virtual machine console management method includes: a virtualization management device communicates or electrically connects multiple virtual monitors with multiple virtual machines through its cross-platform interface module; The user interface module provides a browser operation interface for a user to create a virtual data center, and then creates the plurality of virtual machine monitors and the corresponding plurality of virtual machines in the virtual data center, where, when creating the virtual data When the center, the plurality of virtual machine monitors and the corresponding plurality of virtual machines are configured, the user interface module sends out a virtual The creation request of the resource center and the creation request of a virtual machine; after completing the creation of the plurality of virtual machine monitors and the corresponding plurality of virtual machines, the virtualization management device sets the plurality of virtual machine monitors according to a connection account and the corresponding connections to the consoles of the plurality of virtual machines to issue a console connection request; the virtualization management device uses the connection account in the console connection request to connect to the cross-platform The module obtains a cross-platform interface token; and the virtualization management device uses the cross-platform interface token to complete the virtualization management device and the plurality of virtual machine monitors through the cross-platform interface module and Corresponding connections to the consoles of the plurality of virtual machines, in which a verification token is provided by the authentication and authorization module in the virtualization management device, and the creation request of the virtual resource center, the creation request of the virtual machine and The console connection request includes the verification token, and the authentication and authorization module verifies whether the virtual resource center creation request, the virtual machine creation request and the console connection request are based on the verification token. correct. 如請求項6所述之虛擬機主控台管理方法更包括,由該瀏覽器操作介面提供該使用者於該虛擬資料中心中設定欲建立該複數虛擬機之該複數虛擬機監視器及其硬體需求規格。 The virtual machine console management method described in claim 6 further includes providing the user with the browser operating interface to set the plurality of virtual machine monitors and their hardware to create the plurality of virtual machines in the virtual data center. Body requirements specifications. 如請求項6所述之虛擬機主控台管理方法,更包括由該虛擬化管理裝置中之資源管理模組依據該虛擬資源中心之建立請求及該虛擬機之建立請求建立該虛擬資料中心、該複數虛擬機監視器及對應之該複數虛擬機,再由該資源管理模組產生該虛擬資料中心之唯一識別碼,以令該跨平台介接模組依據該虛擬資料中心之唯一識別碼建立相對應之該連線帳號。 The virtual machine console management method described in claim 6 further includes the resource management module in the virtualization management device establishing the virtual data center based on the creation request of the virtual resource center and the creation request of the virtual machine, The plurality of virtual machine monitors and the corresponding plurality of virtual machines are then generated by the resource management module to generate a unique identification code of the virtual data center, so that the cross-platform interface module is established based on the unique identification code of the virtual data center. Corresponding to the connection account. 如請求項8所述之虛擬機主控台管理方法,更包括由該資源管理模組利用一資源演算法,以依據該虛擬機之建立請求中該使用者所設定之該複數虛擬機監視器及其硬體需求規格,選定符合需求之該複數虛擬機監視器進行虛擬機供裝,俾建立該複數虛擬機。 The virtual machine console management method as described in claim 8 further includes using a resource algorithm by the resource management module to configure the plurality of virtual machine monitors set by the user in the creation request of the virtual machine. and hardware requirement specifications, select the plurality of virtual machine monitors that meet the requirements for virtual machine installation, so as to create the plurality of virtual machines. 如請求項6所述之虛擬機主控台管理方法,其中,複數虛擬監視器係為不同平台之虛擬監視器。 The virtual machine console management method as described in claim 6, wherein the plurality of virtual monitors are virtual monitors of different platforms. 一種電腦可讀媒介,應用於計算裝置或電腦中,係儲存有指令,以執行如請求項6至10之任一者所述之虛擬機主控台管理方法。 A computer-readable medium, used in a computing device or a computer, stores instructions to execute the virtual machine console management method described in any one of claims 6 to 10.
TW111144251A 2022-11-18 2022-11-18 A console management system and method of virtual machine and computer-readable medium thereof TWI831477B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW111144251A TWI831477B (en) 2022-11-18 2022-11-18 A console management system and method of virtual machine and computer-readable medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111144251A TWI831477B (en) 2022-11-18 2022-11-18 A console management system and method of virtual machine and computer-readable medium thereof

Publications (1)

Publication Number Publication Date
TWI831477B true TWI831477B (en) 2024-02-01

Family

ID=90824663

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111144251A TWI831477B (en) 2022-11-18 2022-11-18 A console management system and method of virtual machine and computer-readable medium thereof

Country Status (1)

Country Link
TW (1) TWI831477B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107577516A (en) * 2017-07-28 2018-01-12 华为技术有限公司 Virtual machine password remapping method, device and system
US20180260251A1 (en) * 2016-08-28 2018-09-13 Vmware, Inc. Use of nested hypervisors by a resource-exchange system to enhance data and operational security and to facilitate component installation
US20200019396A1 (en) * 2010-06-18 2020-01-16 Sweetlabs, Inc. System and Methods for Integration of an Application Runtime Environment Into a User Computing Environment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200019396A1 (en) * 2010-06-18 2020-01-16 Sweetlabs, Inc. System and Methods for Integration of an Application Runtime Environment Into a User Computing Environment
US20180260251A1 (en) * 2016-08-28 2018-09-13 Vmware, Inc. Use of nested hypervisors by a resource-exchange system to enhance data and operational security and to facilitate component installation
CN107577516A (en) * 2017-07-28 2018-01-12 华为技术有限公司 Virtual machine password remapping method, device and system

Similar Documents

Publication Publication Date Title
US10097614B2 (en) Establishing a remote desktop
US8341732B2 (en) Methods and systems for selecting a method for execution, by a virtual machine, of an application program
EP2625645B1 (en) Secure deployment of provable identity for dynamic application environments
EP2375328A2 (en) Methods and Systems for Providing Access to a Computing Environment
EP2369479A2 (en) Methods and systems for providing access to a computing environment
US10938743B1 (en) Systems and methods for continuous evaluation of workspace definitions using endpoint context
WO2007100942A9 (en) Methods and systems for providing access to a computing environment provided by a virtual machine executing in a hypervisor executing in a terminal services session
US11762750B2 (en) Systems and methods for modernizing workspace and hardware lifecycle management in an enterprise productivity ecosystem
US20060053277A1 (en) System and method for remote security enablement
WO2014075231A1 (en) Dual-factor authentication method and virtual machine device
TWI831477B (en) A console management system and method of virtual machine and computer-readable medium thereof
US20230229458A1 (en) Systems and methods for configuring settings of an ihs (information handling system)
WO2024051264A1 (en) Data processing method, proxy apparatus and related device
US20230353359A1 (en) Secure onboarding of external compute fabric in an edge horizontal platform
US20220191239A1 (en) Fleet remediation of compromised workspaces
US20230222200A1 (en) Systems and methods for transfer of workspace orchestration
WO2021136216A1 (en) Anti-cracking method and apparatus