TWI738583B - High-availability message management system and method with dynamic expansion and computer readable medium - Google Patents

High-availability message management system and method with dynamic expansion and computer readable medium Download PDF

Info

Publication number
TWI738583B
TWI738583B TW109143049A TW109143049A TWI738583B TW I738583 B TWI738583 B TW I738583B TW 109143049 A TW109143049 A TW 109143049A TW 109143049 A TW109143049 A TW 109143049A TW I738583 B TWI738583 B TW I738583B
Authority
TW
Taiwan
Prior art keywords
message system
message
cluster
connection information
system cluster
Prior art date
Application number
TW109143049A
Other languages
Chinese (zh)
Other versions
TW202224384A (en
Inventor
林永為
鄭仁賢
Original Assignee
中華電信股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中華電信股份有限公司 filed Critical 中華電信股份有限公司
Priority to TW109143049A priority Critical patent/TWI738583B/en
Application granted granted Critical
Publication of TWI738583B publication Critical patent/TWI738583B/en
Publication of TW202224384A publication Critical patent/TW202224384A/en

Links

Images

Abstract

The present invention is a high-availability message management system and method with dynamic expansion, which performs the following steps: recording a connection information of message system clusters that are installed; generating an installation script based on the connection information of message system clusters and the number of message system clusters; and executing the supply or change of each message system cluster according to the installation script through the automated execution process for each message system cluster. In the present invention, deploy and management can automatically be processed, a high-availability message system can be built dynamically and quickly and can connect and communicate with the existing message system, so that information system can exchange messages through the message system. The present invention further provides a computer-readable medium for performing a high-availability message management method with dynamic expansion.

Description

具動態擴展之高可用訊息管理系統、方法及電腦可讀媒介 High-availability information management system, method and computer readable medium with dynamic expansion

本發明係關於訊息管理系統之技術,尤指一種具動態擴展之高可用訊息管理系統、方法及電腦可讀媒介。 The present invention relates to the technology of a message management system, in particular to a high-availability message management system, method and computer-readable medium with dynamic expansion.

近年來,越來越多的資訊系統透過訊息系統來傳遞交換資訊,因而建構一個高可用且簡易快速擴充的訊息系統是重要的議題,目前市面上雖然有很多的第三方套件可提供高可用性之訊息系統,並且具有可擴充性,但在常見的容器管理調度平臺(例如kubernetes)環境下,往往局限於某個機房或區域,若情境擴展到多雲環境時,將會有單點失效的問題。 In recent years, more and more information systems have used information systems to transmit and exchange information. Therefore, it is an important issue to construct a highly available, simple and fast-expanding information system. Although there are many third-party packages on the market that can provide high-availability The messaging system is scalable, but in the environment of common container management scheduling platforms (such as kubernetes), it is often limited to a certain computer room or area. If the scenario is extended to a multi-cloud environment, there will be a single point of failure.

如前所述,現行常見的容器管理調度平臺(例如kubernetes)中,當機房發生故障時,唯一的解決方式就是停用並進行維修,此時導致服務中止,亦即現有佈署於單一機房之機制,可能會遇到單點失效的問題;再者,現行在多雲環境下,缺乏自動化佈署管理機制,換言之,現在不管是新增、更動或刪除訊息系統都須人工來執行,不僅可能有人為因素之錯誤發生,也需要相當的人力維運 成本;另外,如前所述,因為缺乏自動化管理機制,若要新增、調整或刪除訊息系統都須人工來執行,如此則無法自動化執行,因而若有使用量調整需求,則無法即時更動,恐會影響效能或增加運算資源。 As mentioned above, in the current common container management scheduling platform (such as kubernetes), when the computer room fails, the only solution is to stop and repair it, which causes the service to be suspended, that is, the existing deployment in a single computer room The mechanism may encounter the problem of single point of failure. Moreover, in the current multi-cloud environment, there is a lack of automated deployment management mechanism. In other words, whether adding, changing, or deleting information systems must be performed manually, not only may be someone Because the error of the factor occurs, it also requires considerable manpower maintenance Cost; In addition, as mentioned above, because of the lack of an automated management mechanism, adding, adjusting or deleting information systems must be performed manually. This cannot be automated. Therefore, if there is a demand for usage adjustment, it cannot be changed in real time. It may affect performance or increase computing resources.

有鑑於此,如何提供一種建構訊息管理系統之技術,能讓使用者於多雲環境中,快速布建新的高可用性訊息系統,並且能自動化、快速且精確地完成各訊息系統間之設定,此將成為目前本技術領域人員努力追求之目標。 In view of this, how to provide a technology for constructing a message management system that allows users to quickly deploy a new high-availability message system in a multi-cloud environment, and to automatically, quickly and accurately complete the settings between various message systems? Become the goal that people in this technical field strive to pursue.

為解決上述現有技術之問題,本發明提出一種建構訊息管理系統之技術,使用者可快速於多雲環境中布建新的高可用性訊息系統,並且能與既有的訊息系統可互相連通傳遞訊息,藉此達到自動化與快速且精確地動態擴展之目的。 In order to solve the above-mentioned problems in the prior art, the present invention proposes a technology for constructing a message management system. Users can quickly deploy a new high-availability message system in a multi-cloud environment, and can communicate with existing message systems to transmit messages. This achieves the purpose of automation and rapid and accurate dynamic expansion.

本發明提出一種具動態擴展之高可用訊息管理系統,係包括:訊息系統叢集連線資訊單元,係用於儲存已供裝過之訊息系統叢集連線資訊;訊息系統叢集佈署腳本產生器,係用於依據該訊息系統叢集連線資訊以及所設定之訊息系統叢集數量以產生供裝腳本;以及訊息系統應用程式介面,係連接該訊息系統叢集連線資訊單元及該訊息系統叢集佈署腳本產生器,用於提供各訊息系統叢集之自動化執行流程,以依據該供裝腳本執行各該訊息系統叢集之供裝或異動。 The present invention provides a high-availability message management system with dynamic expansion, which includes: a message system cluster connection information unit for storing information system cluster connection information that has been installed; a message system cluster deployment script generator, It is used to generate an installation script based on the message system cluster connection information and the set number of message system clusters; and a message system application program interface, which connects the message system cluster connection information unit and the message system cluster deployment script The generator is used to provide an automated execution process of each message system cluster, so as to execute the supply or change of each message system cluster according to the installation script.

於一實施例中,該訊息系統應用程式介面執行該訊息系統叢集之佈署時,係令新佈署的訊息系統進行初始化以組成叢集並連線至現有的訊息系統叢集以及依據新佈署的訊息系統叢集連線資訊更新該訊息系統叢集連線資 訊,藉以依據更新後之該訊息系統叢集連線資訊產生新的供裝腳本,以更新現有所有訊息系統叢集的連線資訊。 In one embodiment, when the message system application program interface executes the deployment of the message system cluster, the newly deployed message system is initialized to form the cluster and connect to the existing message system cluster and based on the newly deployed message system. Message system cluster connection information updates the message system cluster connection information Information, by which a new installation script is generated based on the updated connection information of the message system cluster to update the connection information of all existing message system clusters.

於一實施例中,該訊息系統應用程式介面執行該訊息系統叢集之更新時,係令該訊息系統叢集佈署腳本產生器產生新的供裝腳本以更新現有的訊息系統叢集數量以及修改該訊息系統叢集連線資訊單元之訊息系統叢集連線資訊,以使該新的供裝腳本更新現有所有訊息系統叢集的連線資訊。 In one embodiment, when the message system application program interface executes the update of the message system cluster, it makes the message system cluster deployment script generator generate a new installation script to update the number of existing message system clusters and modify the message The message system cluster connection information of the system cluster connection information unit enables the new installation script to update the connection information of all existing message system clusters.

於前述實施例中,該新的供裝腳本係依據該訊息系統叢集數量之改變需求而產生者。 In the foregoing embodiment, the new installation script is generated based on the change demand of the number of clusters of the message system.

於一實施例中,該訊息系統應用程式介面執行該訊息系統叢集之刪除時,係令該訊息系統叢集佈署腳本產生器產生新的供裝腳本以刪除選定的訊息系統叢集以及修改該訊息系統叢集連線資訊單元之訊息系統叢集連線資訊,以使該新的供裝腳本更新現有所有訊息系統叢集的連線資訊。 In one embodiment, when the message system application program interface executes the deletion of the message system cluster, the message system cluster deployment script generator is made to generate a new installation script to delete the selected message system cluster and modify the message system The message system cluster connection information of the cluster connection information unit, so that the new installation script updates the connection information of all existing message system clusters.

於前述實施例中,該新的供裝腳本係依據該選定的訊息系統叢集之刪除需求而產生者。 In the foregoing embodiment, the new installation script is generated based on the deletion request of the selected message system cluster.

本發明復提出一種具動態擴展之高可用訊息管理方法,係包括:紀錄已供裝過之訊息系統叢集連線資訊;依據該訊息系統叢集連線資訊以及所設定之訊息系統叢集數量產生供裝腳本;以及透過用於各訊息系統叢集之自動化執行流程,以依據該供裝腳本執行各該訊息系統叢集之供裝或異動。 The present invention further proposes a high-availability message management method with dynamic expansion, which includes: recording the connection information of the message system cluster that has been installed; generating the message system cluster connection information according to the message system cluster connection information and the set number of message system clusters Script; and through the automated execution process for each message system cluster, to execute the installation or transaction of each message system cluster according to the installation script.

於一實施例中,該自動化執行流程包括令新佈署的訊息系統進行初始化以組成叢集並連線至現有的訊息系統叢集以及依據新佈署的訊息系統叢集連線資訊更新該訊息系統叢集連線資訊,利用更新後之該訊息系統叢集連線 資訊產生新的供裝腳本,以更新現有所有訊息系統叢集的連線資訊,俾完成各訊息系統叢集之佈署。 In one embodiment, the automated execution process includes initializing the newly deployed message system to form a cluster and connecting to the existing message system cluster, and updating the message system cluster connection based on the newly deployed message system cluster connection information Line information, use the updated information system cluster connection The information generates a new installation script to update the connection information of all existing information system clusters to complete the deployment of each information system cluster.

於一實施例中,該自動化執行流程包括依據該訊息系統叢集數量之改變需求產生新的供裝腳本以更新現有的訊息系統叢集數量以及修改該訊息系統叢集連線資訊單元之訊息系統叢集連線資訊,以使該新的供裝腳本更新現有所有訊息系統叢集的連線資訊,俾完成各訊息系統叢集之更新。 In one embodiment, the automated execution process includes generating a new installation script to update the existing information system cluster quantity and modifying the information system cluster connection of the information system cluster connection information unit according to the change demand of the information system cluster quantity Information, so that the new installation script updates the connection information of all existing message system clusters, so as to complete the update of each message system cluster.

於一實施例中,該自動化執行流程包括依據該訊息系統叢集之刪除需求產生新的供裝腳本以更新現有的訊息系統叢集數量以及修改該訊息系統叢集連線資訊單元之訊息系統叢集連線資訊,以使該新的供裝腳本更新現有所有訊息系統叢集的連線資訊,俾完成各訊息系統叢集之刪除。 In one embodiment, the automated execution process includes generating a new installation script based on the deletion requirement of the message system cluster to update the number of existing message system clusters and modifying the message system cluster connection information of the message system cluster connection information unit , So that the new installation script updates the connection information of all existing message system clusters, so as to complete the deletion of each message system cluster.

本發明復提供一種電腦可讀媒介,應用於計算裝置或電腦中,係儲存有指令,以執行上述之具動態擴展之高可用訊息管理方法。 The present invention further provides a computer-readable medium used in a computing device or a computer, which stores instructions to execute the above-mentioned high-availability message management method with dynamic expansion.

綜上可知,本發明為一種具動態擴展之高可用訊息管理系統、方法及電腦可讀媒介,能動態快速建置高可用訊息系統並與既有的訊息系統連接互通,讓資訊系統可透過訊息系統互相傳遞交換訊息,以能自動化佈署管理,藉以建立跨機房的高可用訊息系統,故能解決現行不論是新增、更動或刪除訊息系統都須人工來執行,而有人為錯誤或是高人力維運成本等問題,並可快速且精確地完成各訊息系統間之設定;另外,本發明可自動化動態調整訊息系統伺服器數量,因而若有使用量調整需求,亦能即時更動,故能減少效能受影響的情況。 In summary, the present invention is a high-availability information management system, method, and computer-readable medium with dynamic expansion, which can dynamically and quickly build a high-availability information system and connect and communicate with existing information systems, so that the information system can pass through the information system Exchange messages to each other to automate the deployment and management to establish a high-availability message system across computer rooms. Therefore, it can solve the problem that the current system of adding, changing or deleting messages requires manual execution, and human error or high manpower Maintenance costs and other issues, and can quickly and accurately complete the settings between the information systems; in addition, the present invention can automatically and dynamically adjust the number of information system servers, so if there is a demand for usage adjustment, it can also be changed in real time, so it can reduce Circumstances in which performance is affected.

1、100:訊息管理系統 1.100: Information Management System

11、101:訊息系統叢集連線資訊單元 11, 101: Information unit of information system cluster connection

12、102:訊息系統叢集佈署腳本產生器 12.102: Message system cluster deployment script generator

13、103:訊息系統應用程式介面 13, 103: Information system application program interface

200、300、400:訊息系統叢集 200, 300, 400: Message system cluster

201-203、301-303、401-403:訊息系統 201-203, 301-303, 401-403: message system

501-506:流程 501-506: Process

701-704:流程 701-704: Process

801-804:流程 801-804: Process

S41-S43:步驟 S41-S43: steps

圖1為本發明之具動態擴展之高可用訊息管理系統的架構圖。 FIG. 1 is a structural diagram of the highly available information management system with dynamic expansion of the present invention.

圖2為本發明之具動態擴展之高可用訊息管理系統一具體實施例的架構圖。 2 is a structural diagram of a specific embodiment of the highly available message management system with dynamic expansion of the present invention.

圖3A和3B為本發明中連線資訊以及供裝腳本的資料示意圖。 3A and 3B are schematic diagrams of connection information and data for installation scripts in the present invention.

圖4為本發明之具動態擴展之高可用訊息管理方法的步驟圖。 FIG. 4 is a step diagram of the highly available message management method with dynamic expansion of the present invention.

圖5為本發明所述方法中佈署訊息系統的流程圖。 Figure 5 is a flow chart of deploying a message system in the method of the present invention.

圖6A-6C為本發明於一佈署實施例中連線資訊及供裝腳本的資料示意圖。 6A-6C are data diagrams of connection information and installation scripts in a deployment embodiment of the present invention.

圖7為本發明所述方法中更新訊息系統叢集數量的流程圖。 FIG. 7 is a flowchart of updating the number of information system clusters in the method of the present invention.

圖8為本發明所述方法中刪除訊息系統叢集數量的流程圖。 FIG. 8 is a flowchart of deleting the number of message system clusters in the method of the present invention.

以下藉由特定的具體實施形態說明本發明之技術內容,熟悉此技藝之人士可由本說明書所揭示之內容輕易地瞭解本發明之優點與功效。然本發明亦可藉由其他不同的具體實施形態加以施行或應用。 The following describes the technical content of the present invention with specific specific embodiments. Those familiar with 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 by other different specific embodiments.

圖1為本發明之具動態擴展之高可用訊息管理系統的架構圖。如圖所示,本發明係建立一個能自動化動態擴展且具高可用之訊息管理系統1,藉以快速且精確地控制或管理各訊息系統,包括訊息系統之佈署、變更或刪除等,其中,訊息管理系統1包括訊息系統叢集連線資訊單元11、訊息系統叢集佈署腳本產生器12以及訊息系統應用程式介面13。 FIG. 1 is a structural diagram of the highly available information management system with dynamic expansion of the present invention. As shown in the figure, the present invention establishes a message management system 1 that can be automatically and dynamically expanded and has high availability, so as to quickly and accurately control or manage various message systems, including the deployment, modification, or deletion of message systems. Among them, The message management system 1 includes a message system cluster connection information unit 11, a message system cluster deployment script generator 12, and a message system application program interface 13.

訊息系統叢集連線資訊單元11用於儲存已供裝過之訊息系統叢集連線資訊。易言之,訊息系統叢集連線資訊單元11存放有已供裝過的訊息系統 叢集連線資訊,其記載各訊息系統叢集以及其中訊息系統的連線資訊,以供後續供裝腳本的產生。 The message system cluster connection information unit 11 is used to store the message system cluster connection information that has been installed. In other words, the message system cluster connection information unit 11 stores the installed message system Cluster connection information, which records the connection information of each message system cluster and the message systems in it, for subsequent generation of installation scripts.

訊息系統叢集佈署腳本產生器12用於依據該訊息系統叢集連線資訊以及所設定之訊息系統叢集數量以產生供裝腳本。簡言之,訊息系統叢集佈署腳本產生器12能提供訊息系統叢集供裝腳本產生之機制,產生的供裝腳本可以供裝出訊息系統叢集,其中,產生供裝腳本需要兩個參數,其中一者為已供裝過的訊息系統叢集連線資訊,另一者為訊息系統叢集數量。 The message system cluster deployment script generator 12 is used to generate an installation script based on the message system cluster connection information and the set number of message system clusters. In short, the message system cluster deployment script generator 12 can provide a mechanism for generating an installation script for a message system cluster. The generated installation script can be used to install a message system cluster. Two parameters are required to generate the installation script. One is the connection information of the installed message system cluster, and the other is the number of the message system cluster.

訊息系統應用程式介面13係連接該訊息系統叢集連線資訊單元11及該訊息系統叢集佈署腳本產生器12,該訊息系統應用程式介面13用於提供各訊息系統叢集之自動化執行流程,以依據該供裝腳本執行各該訊息系統叢集之供裝或異動。簡言之,訊息系統應用程式介面13能提供自動化佈署/刪除/異動訊息系統叢集流程,也能動態增減訊息系統,藉以組成跨叢集的高可用性訊息系統。 The message system application program interface 13 is connected to the message system cluster connection information unit 11 and the message system cluster deployment script generator 12, and the message system application program interface 13 is used to provide the automated execution process of each message system cluster according to The installation script executes the installation or transaction of each information system cluster. In short, the message system application program interface 13 can provide an automated deployment/delete/change message system cluster process, and it can also dynamically add or subtract message systems to form a cross-cluster high-availability message system.

透過訊息系統應用程式介面13自動化佈署/刪除/異動訊息系統叢集,特別是,若某一些叢集訊息系統發生異常時,現有訊息系統之架構會導致所有的通訊都異常而無法使用,然本發明所提出之機制則是剩餘的訊息系統依舊能正常運作通訊;另外,在佈署/刪除/異動時僅須提供訊息系統叢集名稱、訊息系統數量與佈署標地物,透過此應用程式介面(API)不但能自動動態異動,還能免除人工介入設定,減少設定出錯導致系統通訊異常的可能。 Automatically deploy/delete/change message system clusters through the message system application program interface 13, especially if some cluster message systems are abnormal, the structure of the existing message system will cause all communications to be abnormal and unusable. However, the present invention The proposed mechanism is that the remaining messaging systems can still operate normally; in addition, only the cluster name of the messaging system, the number of messaging systems, and the deployment landmarks need to be provided when deploying/deleting/transforming, through this application interface ( API) can not only automatically change dynamically, but also avoid manual intervention settings, reducing the possibility of system communication abnormalities caused by setting errors.

如前所述,本發明之訊息系統應用程式介面13能自動化地執行訊息系統叢集之佈署/刪除/異動,其中,於訊息系統應用程式介面13執行訊息系統叢集之佈署時,令新佈署的訊息系統進行初始化以組成叢集並連線至現有的訊息系統叢集以及依據新佈署的訊息系統叢集連線資訊更新該訊息系統叢集連線 資訊,藉以依據更新後之該訊息系統叢集連線資訊產生新的供裝腳本以更新現有所有訊息系統叢集的連線資訊。換言之,新佈署的訊息系統被要求初始化並組成叢集,接著,將新佈署的訊息系統的連線資訊與現有的訊息系統的連線資訊的統整,產生新的供裝腳本,最後更新所有訊息系統叢集之連線資訊即可完成佈署。 As mentioned above, the message system application program interface 13 of the present invention can automatically execute the deployment/delete/transition of the message system cluster. When the message system application program interface 13 executes the deployment of the message system cluster, the new deployment The deployed message system is initialized to form a cluster and connected to the existing message system cluster, and the message system cluster connection is updated based on the newly deployed message system cluster connection information Information, by which a new installation script is generated based on the updated connection information of the message system cluster to update the connection information of all existing message system clusters. In other words, the newly deployed message system is required to initialize and form a cluster. Then, the connection information of the newly deployed message system is integrated with the connection information of the existing message system to generate a new installation script, and finally update The connection information of all message system clusters can be deployed.

其次,於訊息系統應用程式介面13執行訊息系統叢集之更新時,令訊息系統叢集佈署腳本產生器12產生新的供裝腳本以更新現有的訊息系統叢集數量以及修改訊息系統叢集連線資訊單元11之訊息系統叢集連線資訊,以使該新的供裝腳本更新現有所有訊息系統叢集的連線資訊。簡言之,若有任何一個訊息系統叢集內的訊息系統數量要改變,則訊息系統叢集佈署腳本產生器12將依據訊息系統叢集數量之改變需求,產生新的供裝腳本,之後,再利用新的供裝腳本更新現有所有訊息系統叢集的連線資訊,以使所有的訊息系統叢集有新的連線資訊,亦即各訊息系統能正確與其他訊息系統連線。 Secondly, when the message system application program interface 13 executes the update of the message system cluster, the message system cluster deployment script generator 12 is made to generate a new installation script to update the number of existing message system clusters and modify the message system cluster connection information unit 11's message system cluster connection information, so that the new installation script updates the connection information of all existing message system clusters. In short, if the number of message systems in any message system cluster needs to be changed, the message system cluster deployment script generator 12 will generate a new provisioning script based on the demand for the change in the number of message system clusters, and then reuse it. The new installation script updates the connection information of all existing message system clusters, so that all message system clusters have new connection information, that is, each message system can correctly connect with other message systems.

另外,於訊息系統應用程式介面13執行訊息系統叢集之刪除時,令訊息系統叢集佈署腳本產生器12產生新的供裝腳本以刪除選定的訊息系統叢集以及修改訊息系統叢集連線資訊單元11之訊息系統叢集連線資訊,以使該新的供裝腳本更新現有所有訊息系統叢集的連線資訊。易言之,若要刪除一個訊息系統叢集,則訊息系統叢集佈署腳本產生器12將依據所選定的訊息系統叢集之刪除需求,產生新的供裝腳本,之後,再利用新的供裝腳本更新現有所有訊息系統叢集的連線資訊,以使所有的訊息系統叢集有新的連線資訊,即各訊息系統能正確與其他訊息系統連線。 In addition, when the message system application program interface 13 executes the deletion of the message system cluster, the message system cluster deployment script generator 12 is made to generate a new installation script to delete the selected message system cluster and modify the message system cluster connection information unit 11 The connection information of the message system cluster to enable the new installation script to update the connection information of all existing message system clusters. In other words, if you want to delete a message system cluster, the message system cluster deployment script generator 12 will generate a new installation script based on the deletion requirements of the selected message system cluster, and then use the new installation script. Update the connection information of all existing message system clusters, so that all message system clusters have new connection information, that is, each message system can correctly connect with other message systems.

圖2為本發明之具動態擴展之高可用訊息管理系統一具體實施例的架構圖。如圖所示,訊息管理系統100用來佈署訊息系統並紀錄連線資訊,訊息管理系統100之訊息系統叢集連線資訊單元101係用於紀錄供裝過的訊息系統叢集連線資訊,訊息管理系統100之訊息系統叢集佈署腳本產生器102可透過訊息系統叢集連線資訊單元101產生供裝腳本,訊息管理系統100之訊息系統應用程式介面103為訊息系統佈署/刪除/異動API,使用者可透過該訊息系統應用程式介面103自動化供裝/刪除訊息系統叢集。 2 is a structural diagram of a specific embodiment of the highly available message management system with dynamic expansion of the present invention. As shown in the figure, the message management system 100 is used to deploy a message system and record connection information. The message system cluster connection information unit 101 of the message management system 100 is used to record the installed message system cluster connection information. The message system cluster deployment script generator 102 of the management system 100 can generate installation scripts through the message system cluster connection information unit 101, and the message system application program interface 103 of the message management system 100 is the message system deployment/delete/change API. The user can automatically install/delete the message system cluster through the message system application program interface 103.

訊息系統叢集200由訊息系統201、訊息系統202、訊息系統203組成,訊息系統叢集300由訊息系統301、訊息系統302、訊息系統303組成,訊息系統叢集400由訊息系統401、訊息系統402、訊息系統403組成,由上可知,數個訊息系統可組成叢集,具備高可用性,且其中,叢集內訊息系統數量至少為三,三以下則不具備高可用性。訊息系統叢集200、300、400互相連線,形成一個更大的叢集,使用者可連線至叢集內任何訊息系統傳遞接收訊息,其中,訊息系統叢集200、300、400可互相備援,當訊息系統叢集200、300、400任一個叢集故障時,剩餘叢集仍可以正常運作。 The message system cluster 200 is composed of a message system 201, a message system 202, and a message system 203. The message system cluster 300 is composed of a message system 301, a message system 302, and a message system 303. The message system cluster 400 consists of a message system 401, a message system 402, and a message system. The system 403 is composed. From the above, it can be seen that several message systems can form a cluster with high availability, and among them, the number of message systems in the cluster is at least three, and the number of message systems in the cluster does not have high availability. The message system clusters 200, 300, and 400 are connected to each other to form a larger cluster. Users can connect to any message system in the cluster to transmit and receive messages. Among them, the message system clusters 200, 300, and 400 can support each other. When any of the message system clusters 200, 300, and 400 fails, the remaining clusters can still operate normally.

圖3A和3B為本發明中連線資訊以及供裝腳本的資料示意圖,請一併參考圖2。如圖3A所示,圖2所示之訊息系統叢集連線資訊單元101,其內儲存有訊息系統叢集連線資訊,該訊息系統叢集連線資訊紀錄了訊息系統名稱、訊息系統網際協定(IP)連線資訊以及所屬訊息系統叢集,以第一筆為例,係記載訊息系統201相關資訊,包括訊息系統201的名稱、其IP以及訊息系統201所屬的訊息系統叢集,其餘資料則類推。透過訊息系統叢集連線資訊所示資訊,可清楚知悉每一個叢集、每一個訊息系統的組成和關聯性。 3A and 3B are schematic diagrams of connection information and data for installation scripts in the present invention, please refer to FIG. 2 together. As shown in FIG. 3A, the message system cluster connection information unit 101 shown in FIG. 2 stores therein message system cluster connection information. The message system cluster connection information records the message system name, the message system Internet protocol (IP ) Connection information and the message system cluster to which it belongs. Taking the first one as an example, it records information about the message system 201, including the name of the message system 201, its IP, and the message system cluster to which the message system 201 belongs, and the rest of the data is analogous. Through the information shown in the message system cluster connection information, you can clearly know the composition and relevance of each cluster and each message system.

如圖3B所示,係示意訊息系統叢集供裝腳本,其中紀錄了訊息統叢集名稱、訊息系統數量以及其它訊息系統連線資訊IP,以圖中訊息系統叢集400為例,訊息系統叢集400其訊息系統數量為3,也就是圖2中的訊息系統401、訊息系統402、訊息系統403,另外,訊息系統叢集供裝腳本內還會記載與其它訊息系統的連線資訊,此範例中包含6筆資料,分別與訊息系統201、202、203、301、302、303存在連線關係,故紀錄上述6個訊息系統的IP。 As shown in Figure 3B, the system shows a message system cluster installation script, which records the message system cluster name, the number of message systems, and other message system connection information IP. Take the message system cluster 400 in the figure as an example, and the message system cluster 400 includes The number of message systems is 3, that is, message system 401, message system 402, and message system 403 in Figure 2. In addition, the message system cluster installation script will also record the connection information with other message systems. This example contains 6 The data has a connection relationship with the message systems 201, 202, 203, 301, 302, and 303, so the IPs of the above 6 message systems are recorded.

圖4為本發明之具動態擴展之高可用訊息管理方法的步驟圖。 FIG. 4 is a step diagram of the highly available message management method with dynamic expansion of the present invention.

於步驟S41,紀錄已供裝過之訊息系統叢集連線資訊。於本步驟中,係蒐集既有訊息系統叢集的連線資訊,也就是訊息管理系統將供裝過的訊息系統叢集連線資訊紀錄起來。 In step S41, record the connection information of the message system cluster that has been installed. In this step, the connection information of the existing message system cluster is collected, that is, the message management system records the connection information of the installed message system cluster.

於步驟S42,依據該訊息系統叢集連線資訊以及所設定之訊息系統叢集數量產生供裝腳本。於本步驟中,係設定訊息系統叢集供裝腳本,即訊息管理系統透過前述步驟S41的連線資訊產生供裝腳本。 In step S42, an installation script is generated according to the connection information of the message system cluster and the set number of message system clusters. In this step, the installation script for the message system cluster is set, that is, the message management system generates the installation script through the connection information in step S41.

於步驟S43,透過用於各訊息系統叢集之自動化執行流程,以依據該供裝腳本執行各該訊息系統叢集之供裝或異動。於本步驟中,係供裝訊息系統叢集,即透過步驟S42的供裝腳本供裝訊息系統叢集,如此,若有任何更動,例如新增、調整訊息系統數量或是刪除訊息系統叢集等,都可以透過建立新的供裝腳本,透過自動化執行流程來完成訊息系統的佈署。 In step S43, through the automated execution process for each message system cluster, the supply or change of each message system cluster is executed according to the supply script. In this step, the message system cluster is installed, that is, the message system cluster is installed through the installation script of step S42. In this way, if there are any changes, such as adding, adjusting the number of message systems, or deleting the message system cluster, etc. The deployment of the message system can be completed by creating a new script for installation and automating the execution process.

如前所述,自動化執行流程可包括新增訊息系統叢集、更新訊息系統叢集以及刪除訊息系統叢集。 As mentioned above, the automated execution process may include adding a message system cluster, updating a message system cluster, and deleting a message system cluster.

於新增訊息系統叢集的實施例中,係令新佈署的訊息系統進行初始化以組成叢集並連線至現有的訊息系統叢集以及依據新佈署的訊息系統叢集 連線資訊更新該訊息系統叢集連線資訊,利用更新後之該訊息系統叢集連線資訊產生新的供裝腳本以更新現有所有訊息系統叢集的連線資訊,藉以完成各訊息系統叢集之佈署。簡言之,整個系統要加入新佈署的訊息系統,故先令新佈署的訊息系統初始化並組成叢集以及連線至現有的訊息系統叢集,接著,依據新佈署的訊息系統叢集連線資訊更新舊有的訊息系統叢集連線資訊,再利用更新後的訊息系統叢集連線資訊產生新的供裝腳本,以利用新的供裝腳本來更新現有所有訊息系統叢集的連線資訊,如此可將新佈署的訊息系統納入原本的整個系統中。 In the embodiment of adding a message system cluster, the newly deployed message system is initialized to form a cluster and connect to the existing message system cluster and based on the newly deployed message system cluster The connection information updates the connection information of the message system cluster, and uses the updated connection information of the message system cluster to generate a new installation script to update the connection information of all existing message system clusters, thereby completing the deployment of each message system cluster . In short, the entire system needs to be added to the newly deployed message system, so first order the newly deployed message system to initialize and form a cluster and connect to the existing message system cluster, and then connect according to the newly deployed message system cluster Information updates the connection information of the old message system cluster, and then uses the updated message system cluster connection information to generate a new installation script, so that the new installation script is used to update the connection information of all existing message system clusters, so The newly deployed message system can be incorporated into the original entire system.

於更新訊息系統叢集的實施例中,係依據訊息系統叢集數量之改變需求產生新的供裝腳本以更新現有的訊息系統叢集數量以及修改該訊息系統叢集連線資訊單元之訊息系統叢集連線資訊,以使該新的供裝腳本更新現有所有訊息系統叢集的連線資訊,藉以完成各訊息系統叢集之更新。易言之,依據數量變更需求,可產生新的供裝腳本來更新現有的訊息系統叢集數量,同時也修改訊息系統叢集連線資訊,之後,新的供裝腳本可更新現有所有訊息系統叢集的連線資訊,如此在某一個訊息系統叢集其內部訊息系統數量有改變時,透過更新供裝腳本,而使所有的訊息系統叢集皆更新為最新的連線資訊。 In the embodiment of updating the message system cluster, a new installation script is generated according to the change demand of the message system cluster quantity to update the existing message system cluster quantity and modify the message system cluster connection information of the message system cluster connection information unit , So that the new installation script updates the connection information of all existing message system clusters, so as to complete the update of each message system cluster. In other words, according to the quantity change requirement, a new installation script can be generated to update the number of existing message system clusters, and at the same time, the connection information of the message system cluster can be modified. After that, the new installation script can update all existing message system clusters. Connection information, so that when the number of internal information systems in a certain information system cluster changes, all the information system clusters are updated with the latest connection information by updating the installation script.

於刪除訊息系統叢集的實施例中,係依據該訊息系統叢集之刪除需求產生新的供裝腳本以更新現有的訊息系統叢集數量以及修改該訊息系統叢集連線資訊單元之訊息系統叢集連線資訊,以使該新的供裝腳本更新現有所有訊息系統叢集的連線資訊,藉以完成各訊息系統叢集之刪除。易言之,依據訊息系統叢集之刪除需求,可產生新的供裝腳本來更新現有的訊息系統叢集的連線資訊,同樣地也會修改訊息系統叢集連線資訊,如此,新的供裝腳本可更新現有 所有訊息系統叢集的連線資訊,故在某一個訊息系統叢集刪除下,其他訊息系統叢集的連線資訊也會被更新,不會導致連線失敗的情況。 In the embodiment of deleting a message system cluster, a new installation script is generated based on the deletion requirement of the message system cluster to update the number of existing message system clusters and modify the message system cluster connection information of the message system cluster connection information unit , So that the new installation script updates the connection information of all existing message system clusters, so as to complete the deletion of each message system cluster. In other words, according to the deletion requirements of the message system cluster, a new installation script can be generated to update the connection information of the existing message system cluster, and the connection information of the message system cluster will also be modified. In this way, the new installation script Can update existing The connection information of all message system clusters, so when a certain message system cluster is deleted, the connection information of other message system clusters will also be updated, which will not cause connection failure.

圖5為本發明所述方法中佈署訊息系統的流程圖。如圖所示,請一併參考圖2,管理員透過訊息系統應用程式介面103自動化佈署一個訊息系統叢集,佈屬時僅需提供訊息系統名稱、訊息系統數量、佈署標地,佈署標地在此以Google K8S(kubernetes)叢集(cluster)為例,但不以此為限,其它訊息系統連線資訊會透過以下訊息系統應用程式介面103之自動化流程完成。 Figure 5 is a flow chart of deploying a message system in the method of the present invention. As shown in the figure, please also refer to Figure 2. The administrator deploys a message system cluster automatically through the message system application program interface 103. When deploying, only the message system name, the number of message systems, and the deployment target are required. The target here takes the Google K8S (kubernetes) cluster as an example, but it is not limited to this. Other information system connection information will be completed through the automated process of the following information system application program interface 103.

於流程501,訊息管理系統100透過訊息系統叢集連線資訊單元101蒐集目前已供裝的訊息系統叢集連線資訊。 In the process 501, the information management system 100 collects the currently installed information system cluster connection information through the information system cluster connection information unit 101.

於流程502,訊息管理系統100透過訊息系統叢集佈署腳本產生器102將現有訊息系統叢集連線資訊更新到供裝腳本,並且設定訊息系統叢集數量,以透過供裝腳本來供裝訊息系統。 In the process 502, the message management system 100 updates the existing message system cluster connection information to the installation script through the message system cluster deployment script generator 102, and sets the number of message system clusters to install the message system through the installation script.

於流程503,新佈署的訊息系統進行初始化組成叢集並連線至現有的訊息系統叢集。 In process 503, the newly deployed message system is initialized to form a cluster and connected to the existing message system cluster.

於流程504,訊息管理系統100依據新佈署的訊息系統叢集的連線資訊更新訊息系統叢集連線資訊單元101紀錄的連線資訊。 In the process 504, the message management system 100 updates the connection information recorded by the message system cluster connection information unit 101 according to the connection information of the newly deployed message system cluster.

於流程505,訊息管理系統100透過訊息系統叢集連線資訊單元101之訊息系統叢集連線資訊與訊息系統叢集佈署腳本產生器102產生之供裝腳本,以更新現有所有訊息系統叢集的連線資訊。 In the process 505, the message management system 100 updates the connections of all existing message system clusters through the message system cluster connection information of the message system cluster connection information unit 101 and the installation script generated by the message system cluster deployment script generator 102 News.

於流程506,現有所有訊息系統叢集連線至新佈署的訊息系統叢集。 In process 506, all existing message system clusters are connected to the newly deployed message system cluster.

依據上述步驟與實例,管理員可以透過訊息系統應用程式介面103自動化佈署一個訊息系統叢集,新的訊息系統叢集將會與既有的訊息系統叢集互相連通傳遞訊息,如要再佈署新的訊息系統叢集,重複以上步驟即可不斷擴展訊息系統叢集的規模。另外,管理員可在不同機房或Kubernetes cluster內佈署新的訊息系統叢集,並與舊有的訊息系統叢集相互連接,如此可互相傳遞接收訊息,若某一機房或Kubernetes cluster故障異常,其它剩餘的訊息系統還是可以正常運作,不受影響。相較於現有機制,若缺乏本發明所述之自動流程,每當需要佈署新的訊息系統叢集,皆須人為介入設定,況且在多雲環境下,服務器數量極為龐大,不但設定繁瑣,極易出錯,一但設定異常,極有可能造成系統通訊異常。此外,本發明亦可快速且精確地控制或管理各訊息系統。 Based on the above steps and examples, the administrator can automatically deploy a message system cluster through the message system application program interface 103. The new message system cluster will communicate with the existing message system cluster to transmit messages. If you want to deploy a new message system cluster, Information system cluster, repeat the above steps to continuously expand the size of the information system cluster. In addition, administrators can deploy new message system clusters in different computer rooms or Kubernetes clusters, and connect with the old message system clusters, so that they can transmit and receive messages to each other. If a computer room or Kubernetes cluster fails abnormally, the rest will remain 'S messaging system can still operate normally and will not be affected. Compared with the existing mechanism, if there is no automatic process described in the present invention, whenever a new message system cluster needs to be deployed, manual intervention is required. Moreover, in a multi-cloud environment, the number of servers is extremely large, which is not only complicated and easy to configure If there is an error, once the setting is abnormal, it is very likely that the system communication will be abnormal. In addition, the present invention can also quickly and accurately control or manage various information systems.

下面透過一實際案例來說明本發明,請一併參考圖2。假設目前訊息系統叢集數量為2,包含訊息系統叢集200與訊息系統叢集300,每一訊息系統叢集內服務器數量為3,訊息系統叢集連線資訊如圖6A所示,此時使用者想要動態加入新的訊息系統叢集400,新加入的訊息系統叢集內訊息系統數量為3,故使用者將會呼叫訊息系統應用程式介面103來將新的訊息系統叢集加入,可對應圖5之流程,說明如下。 Hereinafter, the present invention will be explained through a practical case, please refer to FIG. 2 together. Assuming that the current number of message system clusters is 2, including message system cluster 200 and message system cluster 300, the number of servers in each message system cluster is 3, and the message system cluster connection information is shown in Figure 6A. At this time, the user wants to be dynamic Add a new message system cluster 400, the number of message systems in the newly added message system cluster is 3, so the user will call the message system application program interface 103 to add the new message system cluster, which corresponds to the flow in Figure 5, description as follows.

對應流程501,訊息管理系統100將圖6A的連線資訊蒐集起來,也就是除了要新加入的訊息系統叢集400外,目前既有的訊息系統叢集即是訊息系統叢集200和訊息系統叢集300,而上述訊息系統叢集200、300內分別包含3個訊息系統。 Corresponding to the process 501, the message management system 100 collects the connection information of FIG. 6A, that is, in addition to the newly added message system cluster 400, the current existing message system clusters are the message system cluster 200 and the message system cluster 300. The aforementioned message system clusters 200 and 300 respectively include three message systems.

對應流程502,訊息管理系統100透過訊息系統叢集佈署腳本產生器102,將圖6A之訊息系統叢集連線資訊更新到供裝腳本,並設定訊息系統叢集數量,例如圖3B所示,即訊息系統叢集400要連線的對象。 Corresponding to the process 502, the message management system 100 updates the message system cluster connection information of FIG. 6A to the installation script through the message system cluster deployment script generator 102, and sets the number of message system clusters, for example, as shown in FIG. 3B, that is, message The object to be connected to by the system cluster 400.

對應流程503,透過供裝腳本供裝,新佈署的訊息系統叢集400進行初始化組成叢集並連線至現有的訊息系統叢集。 Corresponding to the process 503, the newly deployed message system cluster 400 is initialized to form a cluster and connected to the existing message system cluster through the installation script for installation.

對應流程504,訊息管理系統100依據新佈署的訊息系統叢集連線資訊更新訊息系統叢集連線資訊單元101之連線資訊,例如圖3A所示。 Corresponding to the process 504, the message management system 100 updates the connection information of the message system cluster connection information unit 101 according to the newly deployed message system cluster connection information, as shown in FIG. 3A, for example.

對應流程505,訊息管理系統100透過訊息系統叢集連線資訊單元101之訊息系統叢集連線資訊與訊息系統叢集佈署腳本產生器102產生之供裝腳本更新現有所有訊息系統叢集的供裝腳本連線資訊,如圖6B所示,為訊息系統叢集200的供裝腳本,圖6C為訊息系統叢集300的供裝腳本。 Corresponding to the process 505, the information management system 100 updates the installation script connections of all existing information system clusters through the information system cluster connection information of the information system cluster connection information unit 101 and the installation script generated by the information system cluster deployment script generator 102 The line information, as shown in FIG. 6B, is the installation script of the information system cluster 200, and FIG. 6C is the installation script of the information system cluster 300.

對應流程506,透過供裝腳本供裝,將現有所有訊息系統叢集連線至新佈署的訊息系統叢集,將會形成如圖2的訊息系統架構。 Corresponding to the process 506, all the existing message system clusters are connected to the newly deployed message system cluster through the installation script for installation, and the message system architecture as shown in FIG. 2 will be formed.

圖7為本發明所述方法中更新訊息系統叢集數量的流程圖。如圖所示,請一併參考圖2,管理員透過訊息系統應用程式介面103自動化更新現有訊息系統叢集數量,具體流程如下。 FIG. 7 is a flowchart of updating the number of information system clusters in the method of the present invention. As shown in the figure, please refer to Figure 2 together. The administrator automatically updates the number of existing message system clusters through the message system application program interface 103. The specific process is as follows.

於流程701,訊息管理系統100透過訊息系統叢集佈署腳本產生器102產生供裝腳本,以更新現有訊息系統叢集數量。於本流程中,基於更新需求產生新的供裝腳本。 In the process 701, the message management system 100 generates an installation script through the message system cluster deployment script generator 102 to update the number of existing message system clusters. In this process, a new installation script is generated based on the update requirements.

於流程702,修改訊息系統叢集連線資訊單元101之訊息系統叢集連線資訊。於本流程中,新的供裝腳本紀錄新的連線資訊,故要更新訊息系統叢集連線資訊單元101內的訊息系統叢集連線資訊。 In the process 702, the message system cluster connection information of the message system cluster connection information unit 101 is modified. In this process, the new installation script records the new connection information, so the message system cluster connection information in the message system cluster connection information unit 101 needs to be updated.

於流程703,訊息管理系統100透過訊息系統叢集連線資訊單元101之訊息系統叢集連線資訊與訊息系統叢集佈署腳本產生器102產生之供裝腳本更新現有所有訊息系統叢集的連線資訊。 In the process 703, the message management system 100 updates the connection information of all existing message system clusters through the message system cluster connection information of the message system cluster connection information unit 101 and the installation script generated by the message system cluster deployment script generator 102.

於流程704,現有所有訊息管理系統叢集連線至新的訊息系統叢集。於本流程中,待所有訊息系統叢集都連線資訊都更新後,所有訊息管理系統叢集將可相互連線。 In process 704, all existing message management system clusters are connected to the new message system cluster. In this process, after the connection information of all message system clusters is updated, all message management system clusters will be able to connect to each other.

透過上述步驟,本發明可依據使用量,快速動態更新叢集內訊息系統的數量,如此能降低每一個訊息系統負擔或是節省不必要的運算資源。另外,上述流程中包含了供裝腳本的更動,類似前述圖5之流程502和503,於此不再贅述。 Through the above steps, the present invention can quickly and dynamically update the number of message systems in the cluster according to the usage amount, which can reduce the burden on each message system or save unnecessary computing resources. In addition, the above process includes changes to the installation script, which are similar to the processes 502 and 503 in FIG. 5, and will not be repeated here.

圖8為本發明所述方法中刪除訊息系統叢集數量的流程圖。如圖所示,請一併參考圖2,管理員透過訊息系統應用程式介面103自動化刪除現有訊息系統叢集,具體流程如下。 FIG. 8 is a flowchart of deleting the number of message system clusters in the method of the present invention. As shown in the figure, please refer to Figure 2 together. The administrator automatically deletes the existing message system cluster through the message system application program interface 103. The specific process is as follows.

於流程801,訊息管理系統100透過訊息系統叢集佈署腳本產生器102產生腳本刪除訊息系統叢集。於本流程中,基於刪除需求產生新的供裝腳本。 In the process 801, the message management system 100 generates a script to delete the message system cluster through the message system cluster deployment script generator 102. In this process, a new installation script is generated based on the deletion requirement.

於流程802,修改訊息系統叢集連線資訊單元101之訊息系統叢集連線資訊。於本流程中,即修改訊息系統叢集連線資訊。 In the process 802, the message system cluster connection information of the message system cluster connection information unit 101 is modified. In this process, the connection information of the message system cluster is modified.

於流程803,訊息管理系統100透過訊息系統叢集連線資訊單元101之訊息系統叢集連線資訊與訊息系統叢集佈署腳本產生器102產生之供裝腳本更新現有所有訊息系統叢集的連線資訊。 In the process 803, the message management system 100 updates the connection information of all existing message system clusters through the message system cluster connection information of the message system cluster connection information unit 101 and the installation script generated by the message system cluster deployment script generator 102.

於流程804,現有所有訊息管理系統叢集連線至新的訊息系統叢集。於本流程中,待所有訊息系統叢集都連線資訊都更新後,所有訊息管理系統叢集將可相互連線。 In process 804, all existing message management system clusters are connected to the new message system cluster. In this process, after the connection information of all message system clusters is updated, all message management system clusters will be able to connect to each other.

透過上述步驟,可自動化動態快速刪除訊息系統,並調整剩餘的連線資訊。另外,上述流程中包含了供裝腳本的更動,類似前述圖5之流程502和503,於此不再贅述。 Through the above steps, the message system can be automatically deleted dynamically and quickly, and the remaining connection information can be adjusted. In addition, the above process includes changes to the installation script, which are similar to the processes 502 and 503 in FIG. 5, and will not be repeated here.

如前述圖5、圖7、圖8所示之流程,本發明所述之系統及方法,能動態快速且精確地佈署、調整訊息系統叢集數量,並具有高可用性機制,如此令使用者不會因某區域的機房停機而無法使用訊息系統,另外,對於機房管理人員而言,也可以動態的新增、刪除、更新訊息系統數量,讓在流量大時增加訊息系統效能或在流量減少時節省運算資源。 Like the processes shown in Figures 5, 7, and 8, the system and method of the present invention can dynamically, quickly and accurately deploy and adjust the number of message system clusters, and has a high-availability mechanism, so that users will not The information system cannot be used because the computer room in a certain area is down. In addition, for computer room managers, the number of information systems can also be dynamically added, deleted, and updated to increase the efficiency of the information system when the traffic is large or save when the traffic is reduced Computing resources.

本發明之具動態擴展之高可用訊息管理系統之各單元可於包括微處理器及記憶體之電腦設備或伺服器中運行,演算法、資料、程式等係儲存記憶體或晶片內,微處理器可從記憶體或晶片載入資料或演算法或程式進行資料分析或計算等處理,在此不予贅述。 The units of the highly-available information management system with dynamic expansion of the present invention can be run in computer equipment or servers including microprocessors and memory. Algorithms, data, programs, etc. are stored in memory or chips, and micro-processing The device can load data or algorithms or programs from memory or chip to perform data analysis or calculations, which will not be repeated here.

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

綜上所述,本發明為一種具動態擴展之高可用訊息管理系統、方法及電腦可讀媒介,係一種能動態快速建置高可用訊息系統並與既有的訊息系統連接互通,讓資訊系統可透過訊息系統互相傳遞交換訊息,本發明可具備下述 優點,包括提供跨機房的高可用訊息系統、自動化佈署管理以及可動態調整訊息系統伺服器數量等。另外,跨機房的高可用性可以在機房故障時,將原本使用者的連線切換至剩餘機房的訊息系統繼續使用,解決過去佈署在單一機房可能會遇到單點失效的問題,而自動化佈署管理可以在多雲環境下,更快速布建新的訊息系統至新環境,這可減少人工介入,減少人為因素的錯誤發生與降低人力維運成本。此外,各機房的訊息系統還可針對使用量,動態調整訊息系統伺服器數量,增進效能或減少運算資源。 In summary, the present invention is a high-availability information management system, method, and computer-readable medium with dynamic expansion, which can dynamically and quickly build a high-availability information system and connect and intercommunicate with existing information systems, so that the information system can be Through the message system to transfer and exchange messages, the present invention can have the following Advantages include providing a highly available message system across computer rooms, automated deployment management, and the ability to dynamically adjust the number of message system servers. In addition, the high availability across computer rooms can switch the original user’s connection to the message system of the remaining computer room to continue to use when the computer room fails. Departmental management can deploy new information systems to the new environment more quickly in a multi-cloud environment, which can reduce manual intervention, reduce human errors and reduce human maintenance costs. In addition, the information system of each computer room can dynamically adjust the number of information system servers according to the usage amount to improve performance or reduce computing resources.

上述實施例僅為例示性說明,而非用於限制本發明。任何熟習此項技藝之人士均可在不違背本發明之精神及範疇下,對上述實施例進行修飾與改變。因此,本發明之權利保護範圍係由本發明所附之申請專利範圍所定義,只要不影響本發明之效果及實施目的,應涵蓋於此公開技術內容中。 The above-mentioned embodiments are only illustrative descriptions, and are not used to limit the present invention. Anyone who is familiar with this technique can modify and change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the rights of the present invention is defined by the scope of the patent application attached to the present invention. As long as it does not affect the effect and implementation purpose of the present invention, it should be covered in the technical content of this disclosure.

1:訊息管理系統 1: Information Management System

11:訊息系統叢集連線資訊單元 11: Message system cluster connection information unit

12:訊息系統叢集佈署腳本產生器 12: Message system cluster deployment script generator

13:訊息系統應用程式介面 13: Messaging system application program interface

Claims (11)

一種具動態擴展之高可用訊息管理系統,係包括:訊息系統叢集連線資訊單元,係用於儲存已供裝過之訊息系統叢集連線資訊;訊息系統叢集佈署腳本產生器,係用於依據該訊息系統叢集連線資訊以及所設定之訊息系統叢集數量產生供裝腳本;以及訊息系統應用程式介面,係連接該訊息系統叢集連線資訊單元及該訊息系統叢集佈署腳本產生器,用於提供各訊息系統叢集之自動化執行流程,以依據該供裝腳本執行各該訊息系統叢集之供裝或異動。 A high-availability message management system with dynamic expansion, which includes: a message system cluster connection information unit, which is used to store the message system cluster connection information that has been installed; a message system cluster deployment script generator, which is used The installation script is generated based on the information system cluster connection information and the set number of information system clusters; and the information system application program interface is connected to the information system cluster connection information unit and the information system cluster deployment script generator, The automated execution process of each information system cluster is provided to execute the installation or change of each information system cluster according to the installation script. 如請求項1所述之具動態擴展之高可用訊息管理系統,其中,該訊息系統應用程式介面執行該訊息系統叢集之佈署時,係令新佈署的訊息系統進行初始化以組成叢集並連線至現有的訊息系統叢集以及依據新佈署的訊息系統叢集連線資訊更新該訊息系統叢集連線資訊,以依據更新後之該訊息系統叢集連線資訊產生新的供裝腳本,更新現有所有訊息系統叢集的連線資訊。 The highly available message management system with dynamic expansion as described in claim 1, wherein when the message system application program interface executes the deployment of the message system cluster, the newly deployed message system is initialized to form the cluster and connect Wire to the existing message system cluster and update the message system cluster connection information based on the newly deployed message system cluster connection information, to generate a new installation script based on the updated message system cluster connection information, and update all existing Connection information of the message system cluster. 如請求項1所述之具動態擴展之高可用訊息管理系統,其中,該訊息系統應用程式介面執行該訊息系統叢集之更新時,係令該訊息系統叢集佈署腳本產生器產生新的供裝腳本以更新現有的訊息系統叢集數量,及修改該訊息系統叢集連線資訊單元之訊息系統叢集連線資訊,以使該新的供裝腳本更新現有所有訊息系統叢集的連線資訊。 The high-availability message management system with dynamic expansion as described in claim 1, wherein when the message system application program interface executes the update of the message system cluster, the message system cluster deployment script generator is made to generate a new installation The script updates the number of existing message system clusters, and modifies the message system cluster connection information of the message system cluster connection information unit, so that the new installation script updates the connection information of all existing message system clusters. 如請求項3所述之具動態擴展之高可用訊息管理系統,其中,該新的供裝腳本係依據該訊息系統叢集數量之改變需求而產生者。 The high-availability message management system with dynamic expansion as described in claim 3, wherein the new installation script is generated according to the change demand of the message system cluster quantity. 如請求項1所述之具動態擴展之高可用訊息管理系統,其中, 該訊息系統應用程式介面執行該訊息系統叢集之刪除時,係令該訊息系統叢集佈署腳本產生器產生新的供裝腳本以刪除選定的訊息系統叢集,及修改該訊息系統叢集連線資訊單元之訊息系統叢集連線資訊,以使該新的供裝腳本更新現有所有訊息系統叢集的連線資訊。 The highly available message management system with dynamic expansion as described in claim 1, wherein: When the message system application program interface executes the deletion of the message system cluster, the message system cluster deployment script generator is made to generate a new installation script to delete the selected message system cluster and modify the message system cluster connection information unit The connection information of the message system cluster to enable the new installation script to update the connection information of all existing message system clusters. 如請求項5所述之具動態擴展之高可用訊息管理系統,其中,該新的供裝腳本係依據該選定的訊息系統叢集之刪除需求而產生者。 The high-availability message management system with dynamic expansion according to claim 5, wherein the new installation script is generated based on the deletion requirement of the selected message system cluster. 一種具動態擴展之高可用訊息管理方法,係包括:紀錄已供裝過之訊息系統叢集連線資訊;依據該訊息系統叢集連線資訊以及所設定之訊息系統叢集數量產生供裝腳本;以及透過用於各訊息系統叢集之自動化執行流程,依據該供裝腳本執行各該訊息系統叢集之供裝或異動。 A high-availability message management method with dynamic expansion includes: recording the connection information of the message system cluster that has been installed; generating an installation script based on the message system cluster connection information and the set number of message system clusters; and For the automated execution process of each information system cluster, the supply or change of each information system cluster is executed according to the installation script. 如請求項7所述之具動態擴展之高可用訊息管理方法,其中,該自動化執行流程包括令新佈署的訊息系統進行初始化以組成叢集並連線至現有的訊息系統叢集以及依據新佈署的訊息系統叢集連線資訊更新該訊息系統叢集連線資訊,俾利用更新後之該訊息系統叢集連線資訊產生新的供裝腳本,以更新現有該訊息系統叢集的連線資訊而完成各訊息系統叢集之佈署。 The high-availability message management method with dynamic expansion as described in claim 7, wherein the automated execution process includes initializing the newly deployed message system to form a cluster and connecting to the existing message system cluster and according to the new deployment Update the connection information of the message system cluster to use the updated connection information of the message system cluster to generate a new installation script to update the connection information of the existing message system cluster to complete each message The deployment of system clusters. 如請求項7所述之具動態擴展之高可用訊息管理方法,其中,該自動化執行流程包括依據該訊息系統叢集數量之改變需求產生新的供裝腳本以更新現有的訊息系統叢集數量以及修改該訊息系統叢集連線資訊,以使該新的供裝腳本更新現有所有訊息系統叢集的連線資訊,俾完成各訊息系統叢集之更新。 The high-availability message management method with dynamic expansion as described in claim 7, wherein the automated execution process includes generating a new installation script to update the existing message system cluster quantity and modifying the message system cluster quantity according to the change requirement of the message system cluster quantity. Message system cluster connection information, so that the new installation script updates the connection information of all existing message system clusters to complete the update of each message system cluster. 如請求項7所述之具動態擴展之高可用訊息管理方法,其中,該自動化執行流程包括依據該訊息系統叢集之刪除需求產生新的供裝腳本以更新現有的訊息系統叢集數量以及修改該訊息系統叢集連線資訊,以使該新的供裝腳本更新現有所有訊息系統叢集的連線資訊,俾完成各訊息系統叢集之刪除。 The high-availability message management method with dynamic expansion as described in claim 7, wherein the automated execution process includes generating a new installation script according to the deletion requirement of the message system cluster to update the number of existing message system clusters and to modify the message System cluster connection information, so that the new installation script updates the connection information of all existing message system clusters to complete the deletion of each message system cluster. 一種電腦可讀媒介,應用於計算裝置或電腦中,係儲存有指令,以執行如請求項7至10之任一者所述之具動態擴展之高可用訊息管理方法。 A computer-readable medium, used in a computing device or computer, is stored with instructions to execute the highly-available message management method with dynamic expansion as described in any one of request items 7 to 10.
TW109143049A 2020-12-07 2020-12-07 High-availability message management system and method with dynamic expansion and computer readable medium TWI738583B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW109143049A TWI738583B (en) 2020-12-07 2020-12-07 High-availability message management system and method with dynamic expansion and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109143049A TWI738583B (en) 2020-12-07 2020-12-07 High-availability message management system and method with dynamic expansion and computer readable medium

Publications (2)

Publication Number Publication Date
TWI738583B true TWI738583B (en) 2021-09-01
TW202224384A TW202224384A (en) 2022-06-16

Family

ID=78777915

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109143049A TWI738583B (en) 2020-12-07 2020-12-07 High-availability message management system and method with dynamic expansion and computer readable medium

Country Status (1)

Country Link
TW (1) TWI738583B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI519943B (en) * 2014-10-24 2016-02-01 Virtual machine automatic expansion system and method
CN106201527A (en) * 2016-07-15 2016-12-07 北京首都在线科技股份有限公司 A kind of Application Container framework of logic-based subregion
TWI594131B (en) * 2016-03-24 2017-08-01 Chunghwa Telecom Co Ltd Cloud batch scheduling system and batch management server computer program products

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI519943B (en) * 2014-10-24 2016-02-01 Virtual machine automatic expansion system and method
TW201616359A (en) * 2014-10-24 2016-05-01 Chunghwa Telecom Co Ltd Virtual machine automatic expansion system and method
TWI594131B (en) * 2016-03-24 2017-08-01 Chunghwa Telecom Co Ltd Cloud batch scheduling system and batch management server computer program products
TW201734827A (en) * 2016-03-24 2017-10-01 Chunghwa Telecom Co Ltd Cloud batch scheduling system and batch management server computer program product thereof used for assigning the jobs of the execution server according to the measured data, the blueprint job file and the group classification setting file
CN106201527A (en) * 2016-07-15 2016-12-07 北京首都在线科技股份有限公司 A kind of Application Container framework of logic-based subregion

Also Published As

Publication number Publication date
TW202224384A (en) 2022-06-16

Similar Documents

Publication Publication Date Title
US8843561B2 (en) Common cluster model for configuring, managing, and operating different clustering technologies in a data center
US9311160B2 (en) Elastic cloud networking
WO2015131696A1 (en) Method and device for virtual network function management
US20110099147A1 (en) Provisioning and managing replicated data instances
CN107357571B (en) Maintenance method and system for equipment component program
US10230567B2 (en) Management of a plurality of system control networks
US7987394B2 (en) Method and apparatus for expressing high availability cluster demand based on probability of breach
CN109347681A (en) Self refresh function in distributed system
CN106657167B (en) Management server, server cluster, and management method
US20080059735A1 (en) Method of improving efficiency of replication monitoring
US20110179170A1 (en) "Local Resource" Type As A Way To Automate Management Of Infrastructure Resources In Oracle Clusterware
JP2016508349A (en) Service migration across cluster boundaries
WO2019086011A1 (en) Method and device for managing services in network function virtualization architecture
US11636016B2 (en) Cloud simulation and validation system
WO2016078362A1 (en) Method and device for upgrade board by board in dual master control isolation
CN112835604B (en) System gray version release management method, system, equipment and medium
US20070044077A1 (en) Infrastructure for verifying configuration and health of a multi-node computer system
CN113515316A (en) Novel edge cloud operating system
WO2024021469A1 (en) System operation and maintenance management method and apparatus, and electronic device
US20080281954A1 (en) Capability requirements for group membership
JP5708078B2 (en) Verification device, verification method, and verification program
US9098334B2 (en) Special values in oracle clusterware resource profiles
CN105988898A (en) System backup device and backup method
TWI738583B (en) High-availability message management system and method with dynamic expansion and computer readable medium
CN115766405B (en) Fault processing method, device, equipment and storage medium