TWI670607B - High-availability provisioning system in distributed architectures and method thereof - Google Patents

High-availability provisioning system in distributed architectures and method thereof Download PDF

Info

Publication number
TWI670607B
TWI670607B TW107100762A TW107100762A TWI670607B TW I670607 B TWI670607 B TW I670607B TW 107100762 A TW107100762 A TW 107100762A TW 107100762 A TW107100762 A TW 107100762A TW I670607 B TWI670607 B TW I670607B
Authority
TW
Taiwan
Prior art keywords
supply
message
management unit
station
work
Prior art date
Application number
TW107100762A
Other languages
Chinese (zh)
Other versions
TW201931146A (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 TW107100762A priority Critical patent/TWI670607B/en
Publication of TW201931146A publication Critical patent/TW201931146A/en
Application granted granted Critical
Publication of TWI670607B publication Critical patent/TWI670607B/en

Links

Landscapes

  • Hardware Redundancy (AREA)

Abstract

本發明為一種分散式高可用性供裝系統及其方法,分散式高可用性供裝系統採用分散式高可用性供裝流程技術,支援在分散式部署架構下,提供供裝任務工作所需之供裝流程,並由系統下複數個工作單元交互執行。本發明將滿足供裝流程之高可用性、可橫向擴展性、工作負載平衡及供裝流程執行效率最佳化,亦可依據服務實際所需運算能量部署工作單元,以達成資源利用最佳化。 The invention relates to a distributed high-availability supply system and a method thereof, and the distributed high-availability supply system adopts a distributed high-availability supply process technology, and supports the supply required for the supply task under the distributed deployment architecture. The process is executed interactively by a plurality of work units under the system. The invention satisfies the high availability of the supply process, the horizontal scalability, the workload balancing and the execution efficiency of the supply process, and can also deploy the work unit according to the actual computing energy required by the service to achieve resource utilization optimization.

Description

分散式高可用性供裝系統及其方法 Decentralized high availability supply system and method thereof

本發明係有關於服務供裝機制,詳言之,係關於一種分散式高可用性供裝系統及其方法。 The present invention relates to service provisioning mechanisms and, more particularly, to a decentralized high availability supply system and method therefor.

以往供裝技術(Provisioning Technology)都是將大系統內包含之許多小模組部屬於單一主機內,其缺點在於當某一個模組失效或失能情況下,皆會影響整個系統的運行。 In the past, Provisioning Technology used many small module parts included in a large system to belong to a single host. The disadvantage is that when a module fails or is disabled, it will affect the operation of the entire system.

目前供裝技術致力於微模型化以及分散式努力,亦即透過將大系統中之多個子模組拆解並分散式部屬於不同主機內,以降低因模組失能下對其他模組的可能影響,然而當子模組被分散設置後,緊接而來的即是模組彼此之間需要資料傳遞,若缺乏適當資料傳遞機制,恐有系統效能低落之問題。具體來說,目前供裝系統雖有分散式概念,但因為資料傳遞機制採集中式管理與部屬,導致資料傳遞主機必須承載來自複數個供裝系統主機之資訊交換請求,此導致負載量高,失能風險大,所以不符高可用性需求。 At present, the supply technology is dedicated to micro-modeling and decentralized efforts, that is, by disassembling and dispersing multiple sub-modules in a large system into different hosts to reduce the module's disability to other modules. It may affect. However, when the sub-modules are dispersed, the modules need to transmit data to each other. If there is no proper data transmission mechanism, there may be a problem of low system performance. Specifically, although the current supply system has a decentralized concept, because the data transfer mechanism collects Chinese management and subordinates, the data transfer host must carry information exchange requests from a plurality of host systems, resulting in high load and loss. It can be risky, so it does not meet high availability requirements.

由上可知,若能找出一種服務供裝機制,以使供裝系統可具高可用性管控及良好溝通技術,特別是在分散式系統下,可能因主機之間彼此資訊傳遞有高負載可能,進而導致失能風險提高及效能不佳,此將成為目前本技術領域人員急欲克服之問題。 It can be seen from the above that if a service supply mechanism can be found, so that the supply system can have high availability control and good communication technology, especially in a decentralized system, it may be because of the high load of information transmission between the hosts. As a result, the risk of disability is increased and the performance is poor, which will become an urgent problem for those skilled in the art.

本發明之目的係提出一種分散式服務供裝機制,可應用於分散式部屬架構下,提供適當供裝流程,特別是考量各主機之間彼此資訊傳遞可能有高負載的問題,故本發明提出多種訊息(event)傳遞機制,藉此降低各主機之間因高負載的溝通問題。 The object of the present invention is to provide a distributed service provisioning mechanism, which can be applied to a distributed subordinate architecture to provide an appropriate supply process, and in particular to consider the problem that information transmission between hosts can be highly loaded, so the present invention proposes A variety of event delivery mechanisms to reduce communication problems between hosts due to high load.

本發明係提出一種分散式高可用性供裝系統,包括:供裝工作管理主機群、供裝站別流程管理主機群以及供裝站別管理與設定主機群,其中,該供裝工作管理主機群包括複數第一類別主機,各該第一類別主機包括供裝工作管理單元及第一訊息管理單元,其中,該供裝工作管理單元接收來自外部系統之供裝工作,以於該供裝工作之生命週期開始時,透過該第一訊息管理單元發送第一訊息,而該供裝站別流程管理主機群包括複數第二類別主機,各該第二類別主機包括供裝站別流程管理單元及第二訊息管理單元,其中,該供裝站別流程管理單元接收該第一訊息後,由該第一訊息中擷取該供裝工作之規格參數,以透過該規格參數自該第二類別主機之資料庫取得流程執行順序,俾根據該流程執行順序執行該供裝工作中各供裝站別之供裝, 其中,該第二訊息管理單元發送記載欲執行供裝之供裝站別的第二訊息,且該供裝站別管理與設定主機群包括複數第三類別主機,各該第三類別主機包括供裝站別管理與設定單元及第三訊息管理單元,其中,該供裝站別管理與設定單元接收該第二訊息後,由該第二訊息中擷取該欲執行供裝之供裝站別的供裝站別識別碼,俾依據該供裝站別識別碼找出對應之供裝站別後執行該對應之供裝站別的供裝設定,以由該第三訊息管理單元發送回覆結束訊息至該供裝站別流程管理單元,其中,該供裝站別流程管理單元於判斷有其他供裝站別未完成供裝下,持續發送有關該其他供裝站別的該第二訊息至該供裝站別管理與設定單元,直到該其他供裝站別皆完成供裝。 The invention provides a distributed high-availability supply system, comprising: a supply work management host group, a supply station management group, and a supply station management and setting host group, wherein the supply work management host group The first category host includes a supply work management unit and a first message management unit, wherein the supply work management unit receives the supply work from the external system for the supply work At the beginning of the life cycle, the first message management unit sends a first message, and the supply station process management host group includes a plurality of second category hosts, each of the second category hosts includes a service station management unit and a a message management unit, wherein the loading station process management unit receives the first message, and the specification parameter of the loading operation is retrieved from the first message, so that the specification parameter is used from the second category host The database obtains the execution sequence of the process, and performs the supply of the supply stations in the supply work according to the execution sequence of the process. The second message management unit sends a second message describing the installation site to be installed, and the installation station management and setting host group includes a plurality of third category hosts, each of the third category hosts includes The station management and setting unit and the third message management unit, wherein the supply station management and setting unit receives the second message, and the second message extracts the installation site to be executed The installation station identification code, based on the supply station identification code, finds the corresponding supply station to execute the corresponding supply station setting, so that the third message management unit sends the reply end. Sending a message to the supply station management unit, wherein the supply station process management unit continues to send the second message to the other supply station after determining that the other supply station has not completed the installation. The supply station management and setting unit is completed until the other supply stations are completed.

於一實施例中,該供裝站別流程管理單元於判斷所有該其他供裝站別皆完成供裝時,透過該第二訊息管理單元回傳執行完畢訊息至該供裝工作管理單元,以令該供裝工作管理單元結束該供裝工作之生命週期。 In an embodiment, when the supply station management unit determines that all of the other supply stations have completed the installation, the second message management unit returns the execution completion message to the supply work management unit to The supply work management unit is caused to end the life cycle of the supply work.

於另一實施例中,該第一訊息管理單元、該第二訊息管理單元及/或第三訊息管理單元分別利用隨機負載策略、優先策略或指定工作單元策略之其中一者,傳遞該第一訊息、該第二訊息及/或第三訊息。 In another embodiment, the first message management unit, the second message management unit, and/or the third message management unit respectively transmit the first by using one of a random load policy, a priority policy, or a specified work unit policy. The message, the second message, and/or the third message.

於又一實施例中,該供裝工作管理單元更將該供裝工作之識別碼、參數、規格、執行狀態及時間資訊紀錄於該第一類別主機之資料庫中。 In another embodiment, the loading and management unit further records the identification code, parameters, specifications, execution status and time information of the loading work in the database of the first category of hosts.

另外,該流程執行順序係紀錄各該供裝站別執行供裝 之先後順序。 In addition, the execution sequence of the process records that each of the supply stations performs the loading and unloading The order of precedence.

本發明復提出分散式高可用性供裝方法,係適於供裝系統中以執行供裝程序,該供裝系統包括分別具供裝工作管理單元及第一訊息管理單元之複數第一類別主機、分別具供裝站別流程管理單元及第二訊息管理單元之複數第二類別主機、以及分別具供裝站別管理與設定單元及第三訊息管理單元之複數第三類別主機,該方法包括:令該供裝工作管理單元接收來自外部系統之供裝工作,以於該供裝工作之生命週期開始時,透過該第一訊息管理單元發送第一訊息;令該供裝站別流程管理單元接收該第一訊息後,由該第一訊息中擷取該供裝工作之規格參數,以透過該規格參數自該第二類別主機之資料庫取得流程執行順序;令該供裝站別流程管理單元根據該流程執行順序執行該供裝工作中各供裝站別之供裝,其中,該第二訊息管理單元發送記載欲執行供裝之供裝站別的第二訊息;令該供裝站別管理與設定單元接收該第二訊息後,由該第二訊息中擷取該欲執行供裝之供裝站別的供裝站別識別碼,俾依據該供裝站別識別碼找出對應之供裝站別;以及令該供裝站別管理與設定單元執行該對應之供裝站別的供裝設定,以由該第三訊息管理單元發送回覆結束訊息至該供裝站別流程管理單元,其中,該供裝站別流程管理單元於判斷有其他供裝站別未完成供裝下,持續發送有關該其他供裝站別的該第二訊息至該供裝站別管理與設定單元,直到該其他供裝站別皆完成供裝。 The present invention is directed to a distributed high availability supply method, which is suitable for the installation system to execute a supply program, the supply system comprising a plurality of first category hosts respectively having a supply work management unit and a first message management unit, Each of the plurality of second-class hosts having the installation station management unit and the second message management unit, and the plurality of third-class hosts respectively having the installation station management and setting unit and the third message management unit, the method includes: Having the supply work management unit receive the supply work from the external system to send the first message through the first message management unit at the beginning of the life cycle of the supply work; and to enable the supply station to receive the process management unit After the first message, the specification parameter of the loading operation is retrieved from the first message, so that the process execution sequence is obtained from the database of the second category host through the specification parameter; and the supply station management unit is configured According to the execution sequence of the process, the supply of each supply station in the loading operation is performed, wherein the second message management unit sends a record indicating that the supply is to be performed. a second message of the station; after the receiving station management and setting unit receives the second message, the second message is used to retrieve the installation station identification code of the installation station to be installed.找出 finding a corresponding supply station according to the installation station identification code; and causing the supply station management and setting unit to execute the corresponding installation setting of the corresponding station to be used by the third message management unit Sending a reply end message to the supply station flow management unit, wherein the supply station flow management unit continuously transmits the other relevant supply station when it is determined that another supply station has not completed the supply Two messages are sent to the supply station management and setting unit until the other supply stations complete the supply.

相較於現有技術,本發明所提出之分散式高可用性供裝系統及其方法,採用分散式高可用性供裝流程技術,支援在分散式部署架構下,提供供裝任務工作所需之供裝流程,流程中由供裝系統下不同工作單元(即複數個主機群)交互執行,藉此滿足供裝流程之高可用性、可橫向擴展性(scale out)、工作負載平衡以及供裝流程執行效率最佳化,亦可依據服務實際所需運算能量部署工作單元,以達成資源利用最佳化。 Compared with the prior art, the distributed high-availability supply system and method thereof proposed by the present invention adopts distributed high-availability supply process technology to support the supply of the required tasks for the distributed task under the distributed deployment architecture. Process, in which the different work units (ie, multiple host groups) under the installation system are executed interactively, thereby satisfying the high availability of the supply process, scale out, workload balancing, and efficiency of the installation process. Optimized, the work unit can also be deployed according to the actual computing energy required by the service to optimize resource utilization.

1‧‧‧分散式高可用性供裝系統 1‧‧‧Distributed high availability supply system

11‧‧‧供裝工作管理主機群 11‧‧‧Installation work management host group

111‧‧‧第一類別主機 111‧‧‧First class host

1111‧‧‧供裝工作管理單元 1111‧‧‧Installation work management unit

1112‧‧‧訊息管理單元 1112‧‧‧Message Management Unit

12‧‧‧供裝站別流程管理主機群 12‧‧‧Installation station process management host group

121‧‧‧第二類別主機 121‧‧‧Second category host

1211‧‧‧供裝站別流程管理單元 1211‧‧‧Site station management unit

1212‧‧‧訊息管理單元 1212‧‧‧Message Management Unit

13‧‧‧供裝站別管理與設定主機群 13‧‧‧Installation station management and setting host group

131‧‧‧第三類別主機 131‧‧‧Category of the third category

1311‧‧‧供裝站別管理與設定單元 1311‧‧‧Installation station management and setting unit

1312‧‧‧訊息管理單元 1312‧‧‧Message Management Unit

301‧‧‧主機A 301‧‧‧Host A

302‧‧‧工作單元 302‧‧‧Working unit

303‧‧‧訊息管理單元 303‧‧‧Message Management Unit

305‧‧‧主機群B 305‧‧‧Host Group B

306‧‧‧隨機選定主機B1 306‧‧‧Selected host B1 randomly

307‧‧‧工作單元 307‧‧‧Working unit

308‧‧‧訊息管理單元 308‧‧‧Message Management Unit

309‧‧‧主機B2 309‧‧‧Host B2

310‧‧‧工作單元 310‧‧‧Working unit

311‧‧‧訊息管理單元 311‧‧‧Message Management Unit

401‧‧‧高優先主機B1 401‧‧‧High priority host B1

404‧‧‧低優先主機B2 404‧‧‧Low priority host B2

501‧‧‧受指定主機B1 501‧‧‧Designated host B1

504‧‧‧非受指定主機B2 504‧‧‧Not designated host B2

S21~S25‧‧‧步驟 S21~S25‧‧‧Steps

S601~S611‧‧‧流程 S601~S611‧‧‧Process

第1圖為本發明之分散式高可用性供裝系統的系統示意架構圖;第2圖為本發明之分散式高可用性供裝方法的步驟圖;第3A-3C圖為本發明之分散式高可用性供裝系統三種訊息傳遞方式的示意圖;以及第4圖為本發明之分散式高可用性供裝方法具體實施的示意流程圖。 1 is a schematic structural diagram of a system of a distributed high availability supply system of the present invention; FIG. 2 is a step diagram of a distributed high availability supply method of the present invention; and 3A-3C is a high dispersion type of the present invention; A schematic diagram of three message delivery modes of the availability supply system; and FIG. 4 is a schematic flow chart of a specific implementation of the distributed high availability supply method of the present invention.

以下藉由特定的具體實施形態說明本發明之技術內容,熟悉此技藝之人士可由本說明書所揭示之內容輕易地瞭解本發明之優點與功效。然本發明亦可藉由其他不同的具體實施形態加以施行或應用。 The technical contents of the present invention are described below by way of specific embodiments, and those skilled in the art can easily understand the advantages and effects of the present invention from the contents disclosed in the present specification. The invention may be embodied or applied by other different embodiments.

請參照第1圖,其為本發明之分散式高可用性供裝系統的系統示意架構圖。如圖所示,分散式高可用性供裝系 統1包括供裝工作管理主機群11、供裝站別流程管理主機群12以及供裝站別管理與設定主機群13,其中,供裝工作管理主機群11即供裝工作管理單元的主機群,其包括複數第一類別主機111(主機A1-An),各該第一類別主機111包括供裝工作管理單元1111及第一訊息管理單元1112,供裝站別流程管理主機群12即供裝站別流程管理單元的主機群,其包括複數第二類別主機121(主機B1-Bn),各該第二類別主機121包括供裝站別流程管理單元1211及第二訊息管理單元1212,供裝站別管理與設定主機群13即供裝站別管理與設定單元的主機群,其包括複數第三類別主機131(主機C1-Cn),各該第三類別主機131包括供裝站別管理與設定單元1311及第三訊息管理單元1312。 Please refer to FIG. 1 , which is a schematic structural diagram of a system of a distributed high availability supply system of the present invention. Decentralized high availability supply system as shown The system 1 includes a supply work management host group 11, a supply station management group 12, and a supply station management and setting host group 13, wherein the supply work management host group 11 is a host group of the supply work management unit. It includes a plurality of first category hosts 111 (hosts A1-An), each of the first category hosts 111 includes a provisioning work management unit 1111 and a first message management unit 1112, and the loading station process management host group 12 is provided The host group of the station flow management unit includes a plurality of second category hosts 121 (hosts B1-Bn), and each of the second category hosts 121 includes a loading station flow management unit 1211 and a second message management unit 1212 for loading The station group management and setting host group 13, that is, the host group of the installation station management and setting unit, includes a plurality of third category hosts 131 (hosts C1-Cn), and each of the third category hosts 131 includes installation station management and The setting unit 1311 and the third message management unit 1312.

供裝工作管理單元1111可接收來自外部系統(圖未示)之供裝工作,以於該供裝工作之生命週期開始時,透過該第一訊息管理單元1112發送第一訊息至供裝站別流程管理單元1211。 The loading work management unit 1111 can receive the loading operation from the external system (not shown) to send the first message to the loading station through the first message management unit 1112 at the beginning of the life cycle of the loading operation. Flow management unit 1211.

供裝站別流程管理單元1211接收第一訊息後,由該第一訊息中擷取該供裝工作之規格參數,以透過該規格參數自該第二類別主機之資料庫(圖未示)取得流程執行順序,俾根據該流程執行順序執行該供裝工作中各供裝站別之供裝,其中,第二訊息管理單元1212發送記載欲執行供裝之供裝站別的第二訊息。另外,供裝工作管理單元1111更將該供裝工作之識別碼、參數、規格、執行狀態及時間資訊紀錄於第一類別主機111之資料庫中。上述流程執行順序 係紀錄各該供裝站別執行供裝之先後順序。 After receiving the first message, the loading station process management unit 1211 retrieves the specification parameter of the loading operation from the first message, and obtains the specification database from the database of the second category host (not shown). The process execution sequence is executed according to the execution sequence of the process, and the second message management unit 1212 sends a second message describing the installation site to be installed. In addition, the loading and unloading work management unit 1111 records the identification code, parameters, specifications, execution status and time information of the loading work in the database of the first category host 111. The above process execution sequence It is a record of the order in which the supply stations perform the installation.

供裝站別管理與設定單元1311接收該第二訊息後,由該第二訊息中擷取該欲執行供裝之供裝站別的供裝站別識別碼,俾依據該供裝站別識別碼找出對應之供裝站別後執行該對應之供裝站別的供裝設定,以由第三訊息管理單元1312發送回覆結束訊息至供裝站別流程管理單元1211,其中,供裝站別流程管理單元1211於判斷有其他供裝站別未完成供裝下,持續發送有關其他供裝站別的第二訊息至供裝站別管理與設定單元1311,直到該些其他供裝站別皆完成供裝。 After receiving the second message, the loading station management and setting unit 1311 retrieves the installation station identification code of the supply station to be executed from the second message, and identifies the installation station according to the supply station. After the code finds the corresponding supply station, the installation setting of the corresponding installation station is executed, so that the third message management unit 1312 sends a reply end message to the supply station process management unit 1211, wherein the supply station The process management unit 1211 continues to send the second message about the other supply stations to the supply station management and setting unit 1311 until it is determined that other supply stations have not completed the installation, until the other supply stations All are ready for installation.

上述係供裝工作包含多個供裝站別須執行供裝之型態,倘若供裝站別流程管理單元1211於第一個供裝站別供裝後,若判斷所有其他供裝站別皆完成供裝時,透過第二訊息管理單元1212回傳執行完畢訊息至供裝工作管理單元1111,以令供裝工作管理單元1111結束該供裝工作之生命週期。 The above-mentioned system loading work includes a plurality of loading stations that need to perform the loading mode. If the loading station process management unit 1211 is installed at the first supply station, if it is judged that all other supply stations are When the loading is completed, the execution completion message is returned to the supply work management unit 1111 through the second message management unit 1212, so that the supply work management unit 1111 ends the life cycle of the supply work.

另外,為了提供各主機之間訊息傳遞機制,避免因主機因資訊交換下導致負載量過高,本發明提出三種不同方式來執行訊息傳遞,分別是隨機負載策略、優先策略或指定工作單元策略,因而於本發明中,第一訊息管理單元1112傳遞第一訊息至供裝站別流程管理單元1211以及第二訊息管理單元1212傳遞第二訊息至供裝站別管理與設定單元1311及第三訊息管理單元1312發送回覆結束訊息至供裝站別流程管理單元1211時,皆可由上述三種策略中 擇一執行傳遞程序。關於三種策略,後面將透過實例說明。 In addition, in order to provide a message transmission mechanism between hosts, and avoid overloading the host due to information exchange, the present invention proposes three different ways to perform message delivery, namely a random load policy, a priority policy, or a designated work unit policy. Therefore, in the present invention, the first message management unit 1112 transmits the first message to the loading station flow management unit 1211 and the second message management unit 1212 to transmit the second message to the loading station management and setting unit 1311 and the third message. When the management unit 1312 sends the reply end message to the installation station flow management unit 1211, all of the above three strategies may be used. Choose to execute the delivery program. The three strategies will be explained later by way of example.

下面將具體說明本發明之分散式高可用性供裝系統的整體運作。 The overall operation of the distributed high availability supply system of the present invention will be specifically described below.

分散式高可用性供裝系統1負責執行供裝工作,在接收到供裝工作請求後,分散式高可用性供裝系統1可驅動不同的工作單元,如圖中主機A1、B1及C1,彼此交互分工執行以完成供裝工作,基於分散式高可用性供裝系統1的設計特性,所有執行單元均由無狀態(stateless)之工作單元組合而成。前述工作單元依照功能特性分成三種類型,分別為:供裝工作管理單元1111、供裝站別流程管理單元1211及供裝站別管理與設定單元1311。 The decentralized high availability supply system 1 is responsible for performing the loading work. After receiving the supply work request, the decentralized high availability supply system 1 can drive different work units, as shown in the figure, the hosts A1, B1 and C1 interact with each other. The division of labor is performed to complete the installation work. Based on the design characteristics of the distributed high availability supply system 1, all execution units are composed of stateless work units. The foregoing work units are classified into three types according to the functional characteristics, namely, a supply work management unit 1111, a supply station flow management unit 1211, and a supply station management and setting unit 1311.

供裝工作管理單元1111負責接收外部系統或外部模組賦予之供裝工作並管理該筆供裝工作之生命週期,供裝站別流程管理單元1211負責產生及管理供裝站別的執行順序,供裝站別管理與設定單元1311負責管理所有不同任務的供裝站別,被動接收供裝站別流程管理單元1211的訊息呼叫,以執行指定供裝站別的設定工作。 The supply work management unit 1111 is responsible for receiving the supply work given by the external system or the external module and managing the life cycle of the installation work, and the supply station flow management unit 1211 is responsible for generating and managing the execution order of the supply station. The supply station management and setting unit 1311 is responsible for managing the supply stations of all the different tasks, passively receiving the message call of the supply station flow management unit 1211 to perform the setting work of the designated supply station.

因分散式高可用性供裝系統1可同時執行複數個供裝工作,為了因應大量的供裝工作,工作單元採用分散式部署架構,分別部署於不同的主機上,不同主機上的工作單元以訊息(Event)互相溝通,因而用於傳遞訊息之第一訊息管理單元1112亦採用分散式部署,供裝工作管理主機群11每一台主機上之第一訊息管理單元1112記載各個工作單元部署主機資訊及同類型工作單元主機群組資訊,並提供設 定檔,可自行定義主機間訊息交換策略,於主機訊息交換時參照用。 Because the distributed high-availability supply system 1 can perform multiple installations at the same time, in order to cope with a large number of installation work, the work units adopt a decentralized deployment architecture, which are respectively deployed on different hosts, and the work units on different hosts use messages. The first message management unit 1112 for transmitting the message is also distributed, and the first message management unit 1112 on each host of the work management host group 11 records the host information of each work unit. And the same type of work unit host group information, and provide To determine the file, you can define the message exchange policy between hosts and use it for host message exchange.

供裝工作管理單元1111接收外部模組賦予之供裝工作後,隨即開始該筆供裝工作之生命週期,並透過第一訊息管理單元1112發出訊息,以通知供裝站別流程管理單元1211接手處理,當某一台供裝站別流程管理單元1211所屬部署主機接獲訊息後,供裝站別流程管理單元1211由該主機上之第二訊息管理單元1212取得訊息中必要的供裝工作參數,產生一組對應之供裝站別的流程執行順序,隨後負責管理供裝站別的執行順序,而每一個供裝站別即是透過訊息呼叫供裝站別管理與設定單元1311執行。 After the loading and unloading work management unit 1111 receives the supply work given by the external module, the life cycle of the penning work is started, and a message is sent through the first message management unit 1112 to notify the loading station process management unit 1211 to take over. The processing, when the deployment host of the installation station management unit 1211 receives the message, the installation station management unit 1211 obtains the necessary installation and operation parameters in the message from the second message management unit 1212 on the host. The process execution sequence of a corresponding set of supply stations is generated, and then the execution order of the supply stations is managed, and each of the supply stations is executed by the message call installation management and setting unit 1311.

供裝站別管理與設定單元1311被動接收來自供裝站別流程管理單元1211的訊息呼叫後,截取訊息中夾帶之指定供裝站別資訊,以執行該供裝站別之設定工作,完成設定後,發送回覆結束訊息至供裝站別流程管理單元1211,供裝站別流程管理單元1211將接續驅動下一個供裝站別執行,直至流程結束為止,流程結束後,將回覆執行完畢訊息至供裝工作管理單元1111,藉此結束該供裝工作之生命周期。 After the receiving station management and setting unit 1311 passively receives the message call from the loading station flow management unit 1211, the specified station loading information contained in the message is intercepted to perform the setting work of the loading station and complete the setting. After that, the reply end message is sent to the loading station flow management unit 1211, and the loading station flow management unit 1211 will continue to drive the next supply station until the end of the process. After the process ends, the reply completion message is sent to The work management unit 1111 is installed, thereby ending the life cycle of the supply work.

由於工作單元(供裝工作管理單元1111、供裝站別流程管理單元1211及供裝站別管理與設定單元1311)因採用分散式部署架構,因此同類型的工作單元可彼此複製,並可部署在多台主機上,當其中一個工作單元失效時,由同類型主機群(供裝工作管理主機群11、供裝站別流程管理 主機群12以及供裝站別管理與設定主機群13)中剩餘同類型的工作單元接手處理,以滿足供裝工作之高可用性需求。隨著業務量增加時,基於供裝工作實際所需的運行能量,亦可透過擴展工作單元的部署數量或是提高主機運算效能,藉此滿足業務擴充性需求。 Since the work unit (the supply work management unit 1111, the supply station flow management unit 1211, and the supply station management and setting unit 1311) adopts a distributed deployment architecture, the same type of work units can be copied and deployed to each other. On multiple hosts, when one of the work units fails, the same type of host group (for the work management host group 11, the supply station process management) The host group 12 and the installation station management and the remaining work units of the same type in the set host group 13) take over the processing to meet the high availability requirements of the supply work. As the volume of business increases, the operational energy required for the installation work can also meet the business scalability requirements by expanding the number of deployments of the work units or improving the computing power of the host.

供裝工作管理單元1111、供裝站別流程管理單元1211及供裝站別管理與設定單元1311等不同類型的工作單元欲進行訊息交換時,可根據預先定義於第一、第二訊息管理單元1112、1212的訊息傳送策略,進行系統負載最佳化。 When the different types of work units, such as the supply work management unit 1111, the supply station management unit 1211, and the supply station management and setting unit 1311, are to exchange information, they may be pre-defined in the first and second message management units. 1112, 1212 message delivery strategy for system load optimization.

訊息傳送策略包括隨機負載策略、優先策略或指定工作單元策略等三種策略。當採用隨機負載策略時,第一、第二訊息管理單元1112、1212進行訊息傳送前,會根據第一、第二訊息管理單元1112、1212中記載之同類型工作單元主機群組資訊,隨機挑選一台工作單元進行訊息傳送,以達成供裝工作於工作單元間之動態負載平衡。若採用優先策略時,第一、第二訊息管理單元1112、1212同樣依據記載之同類型工作單元主機之優先順序,挑選優先序最高的工作單元主機傳送,高優先工作單元主機可提供較高運算,以滿足供裝工作處理必要運算能力需求。若採用指定工作單元策略時,第一、第二訊息管理單元1112、1212中記載各個工作單元部署主機資訊,可從中取得目標指定工作單元主機並傳送訊息,此策略適用於預先訊息路由規劃,提供大量訊息路由優化與供裝工作分流。 The messaging policy includes three strategies: random load policy, priority policy, or specified work unit policy. When the random load policy is adopted, the first and second message management units 1112 and 1212 randomly select the host group information of the same type of work units recorded in the first and second message management units 1112 and 1212 before performing the message transmission. A work unit performs message transfer to achieve dynamic load balancing between the work units and the work units. If the priority policy is adopted, the first and second message management units 1112 and 1212 also select the highest priority work unit host transmission according to the priority order of the same type of work unit host, and the high priority work unit host can provide higher operation. To meet the necessary computing power requirements for the supply work. If the specified work unit policy is adopted, the first and second message management units 1112 and 1212 record the work information of each work unit, and the target work unit host can be obtained and the message is transmitted. The policy is applicable to the pre-message routing plan. A large number of message routing optimization and supply work diversion.

另外,如圖所示,因同一類型工作單元可複製部署至多台主機成為主機群組,隨著系統業務量增加時,工作單元主機可隨之增加,賦與系統之可擴充性。當主機群組中之一台主機失效時,此時供裝工作可由另一台主機之工作單元接手處理,故使本發明具備高可用性。 In addition, as shown in the figure, because the same type of work unit can be replicated and deployed to multiple hosts as a host group, as the system traffic increases, the work unit host can be increased, giving the system scalability. When one host in the host group fails, the loading and unloading work can be handled by the working unit of another host, so that the present invention has high availability.

由上可知,在供裝流程設計階段時,因考量分散式高可用性供裝系統1的特性,所有執行流程皆由無狀態(stateless)工作單元組合而成並個別部署於運算主機上,供裝進行時,可將一個龐大的供裝流程切分為小的工作單元,並交付不同主機上的工作單元執行,藉此達成高可用性、可擴展性、負載平衡與執行流程效率最佳化等特性。 It can be seen from the above that in the design stage of the supply process, considering the characteristics of the distributed high availability supply system 1, all execution processes are combined by stateless work units and individually deployed on the computing host for installation. In progress, a large supply process can be divided into small work units and delivered to work units on different hosts for high availability, scalability, load balancing, and optimization of execution process efficiency. .

另外,不同主機以訊息互相溝通,為滿足系統整體之分散式部署架構,因此每台部署主機皆需有一個訊息管理單元(Event Manager Unit)來進行訊息調配。如此亦能克服各主機之間資訊量高負載的問題。 In addition, different hosts communicate with each other through messages. To meet the decentralized deployment architecture of the system as a whole, each deployment host needs an Event Manager Unit for message provisioning. This can also overcome the problem of high load of information between the hosts.

請參照第2圖,其為本發明之分散式高可用性供裝方法的步驟圖。分散式高可用性供裝方法係適於供裝系統中以執行供裝程序,供裝系統可包括分別具供裝工作管理單元及第一訊息管理單元之複數第一類別主機、分別具供裝站別流程管理單元及第二訊息管理單元之複數第二類別主機、以及分別具供裝站別管理與設定單元及第三訊息管理單元之複數第三類別主機。 Please refer to FIG. 2, which is a step diagram of the distributed high availability supply method of the present invention. The decentralized high availability supply method is suitable for the installation system to perform the installation procedure, and the supply system may include a plurality of first category hosts respectively having a supply work management unit and a first message management unit, respectively having a supply station A plurality of second-class hosts of the process management unit and the second message management unit, and a plurality of third-class hosts respectively having a supply station management and setting unit and a third message management unit.

如圖所示,於步驟S21中,令供裝工作管理單元接收來自外部系統之供裝工作,以於該供裝工作之生命週期開 始時,透過第一訊息管理單元發送第一訊息。 As shown in the figure, in step S21, the supply work management unit is configured to receive the supply work from the external system to open the life cycle of the supply work. Initially, the first message is sent through the first message management unit.

於一實施例中,供裝工作管理單元更將該供裝工作之識別碼、參數、規格、執行狀態及時間資訊紀錄於第一類別主機之資料庫中。 In an embodiment, the supply management unit further records the identification code, parameters, specifications, execution status, and time information of the installation work in the database of the first category of hosts.

於步驟S22中,令供裝站別流程管理單元接收該第一訊息後,由該第一訊息中擷取該供裝工作之規格參數,以透過該規格參數自第二類別主機之資料庫取得流程執行順序。其中,流程執行順序係紀錄各供裝站別執行供裝之先後順序。 In step S22, after the loading station process management unit receives the first message, the specification parameter of the loading operation is retrieved from the first message, and the specification parameter is obtained from the database of the second category host. The order in which the processes are executed. Among them, the process execution sequence records the order in which the supply stations perform the installation.

於步驟S23中,令供裝站別流程管理單元根據該流程執行順序執行該供裝工作中各供裝站別之供裝,其中,第二訊息管理單元發送記載欲執行供裝之供裝站別的第二訊息。 In step S23, the loading station flow management unit executes the loading and unloading of the loading stations in the loading operation according to the execution sequence of the flow, wherein the second message management unit sends the loading station that records the installation to be performed. Another second message.

於步驟S24中,令供裝站別管理與設定單元接收該第二訊息後,由該第二訊息中擷取該欲執行供裝之供裝站別的供裝站別識別碼,俾依據該供裝站別識別碼找出對應之供裝站別。 In step S24, after the loading station management and setting unit receives the second message, the second station message retrieves the installation station identification code of the installation station to be installed, according to the The station identification code is used to find the corresponding supply station.

於步驟S25中,令供裝站別管理與設定單元執行該對應之供裝站別的供裝設定,以由第三訊息管理單元發送回覆結束訊息至供裝站別流程管理單元,其中,供裝站別流程管理單元於判斷有其他供裝站別未完成供裝下,持續發送有關該其他供裝站別之第二訊息至供裝站別管理與設定單元,直到該其他供裝站別皆完成供裝。 In step S25, the installation station management and setting unit executes the supply setting of the corresponding supply station to send a reply end message to the supply station flow management unit by the third message management unit, wherein The station maintenance process management unit continues to send the second message about the other supply station to the supply station management and setting unit until it is determined that other supply stations have not completed the supply until the other supply station All are ready for installation.

另外,當供裝站別流程管理單元於判斷所有其他供裝 站別皆完成供裝時,透過第二訊息管理單元回傳執行完畢訊息至供裝工作管理單元,以令供裝工作管理單元結束該供裝工作之生命週期。 In addition, when the supply station process management unit determines all other supplies When the station completes the installation, the second message management unit returns the execution completion message to the supply work management unit to cause the supply work management unit to end the life cycle of the supply work.

如前所述,本案提出三種訊息傳遞策略,包括隨機負載策略、優先策略及指定工作單元策略。據此,第一訊息管理單元及第二訊息管理單元可分別利用隨機負載策略、優先策略或指定工作單元策略之其中一者,傳遞第一訊息及第二訊息至供裝站別流程管理單元及供裝站別管理與設定單元。 As mentioned earlier, this paper proposes three messaging strategies, including random load policies, priority policies, and designated work unit policies. According to the above, the first message management unit and the second message management unit can respectively transmit the first message and the second message to the installation station and the process management unit by using one of a random load policy, a priority policy or a designated work unit policy. Supply station management and setting unit.

請參照第3A-3C圖,其為本發明之分散式高可用性供裝系統三種訊息傳遞方式的示意圖。當分散式高可用性供裝系統中工作單元之間,例如供裝工作管理單元及供裝站別流程管理單元供裝站別管理與設定單元等,欲進行訊息交換時,可由各主機上之訊息管理單元協助傳送,訊息管理單元可支援三種策略模式,策略模式需預先設定至訊息管理單元之設定檔案中,當訊息傳送時,依據供裝工作的規格所需之策略進行傳送。 Please refer to FIG. 3A-3C, which is a schematic diagram of three types of message transmission modes of the distributed high availability supply system of the present invention. When the work units in the decentralized high availability supply system, such as the supply work management unit and the supply station management unit, the station management and setting unit, etc., when the message exchange is performed, the messages on each host can be used. The management unit assists in the transmission. The message management unit can support three policy modes. The policy mode needs to be preset to the configuration file of the message management unit. When the message is transmitted, it is transmitted according to the strategy required for the specification of the installation work.

第3A圖為採用隨機負載策略,即訊息管理單元將隨機挑選一台工作單元主機進行訊息傳送,使得供裝工作於工作單元間得以動態負載平衡。如圖所示,主機A 301包括工作單元302和訊息管理單元303,當其要傳遞訊息至另外主機群B 305中的某一主機時,例如,包括工作單元307和訊息管理單元308之隨機選定主機B1 306,或是包括工作單元310和訊息管理單元311之主機B2 309,因為 採用隨機負載策略,故主機A之訊息管理單元隨機選定一台主機,例如隨機選定主機B1 306,以由隨機選定主機B1 306來接收訊息並由隨機選定主機B1 306之工作單元307來處理訊息所交辦事項,當隨機選定一台主機後,其餘主機例如主機B2 309則不會收到訊息。 Figure 3A shows the random load strategy, that is, the message management unit randomly selects a work unit host for message transmission, so that the supply work can be dynamically load balanced between the work units. As shown, host A 301 includes a work unit 302 and a message management unit 303 that, when it wants to deliver a message to a host of another host group B 305, for example, includes a random selection of work unit 307 and message management unit 308. Host B1 306, or host B2 309 including work unit 310 and message management unit 311, because Using a random load policy, the message management unit of host A randomly selects a host, such as randomly selected host B1 306, to receive messages by randomly selected host B1 306 and to process messages by randomly selected host B1 306 work unit 307. To do so, when a host is randomly selected, the other hosts, such as host B2 309, will not receive the message.

第3B圖為採用優先策略,即將挑選同類型工作單元主機中最高優先序的工作單元主機傳送,高優先工作單元主機可部署高運算能力硬體,滿足供裝工作處理必要運算能力需求。如圖所示,主機A 301包括工作單元302和訊息管理單元303,當其要傳遞訊息至另外主機群B 305中的某一主機時,因為採用優先策略,故主機A之訊息管理單元是將訊息傳遞至高優先權的高優先主機B1 401,以由高優先主機B1 401來接收訊息並由高優先主機B1 401之工作單元來處理訊息所交辦事項,在此策略中,其餘主機例如低優先主機B2 404則不會收到訊息。 The third figure shows that the priority strategy is adopted, that is, the highest-priority work unit host in the same type of work unit host is selected for transmission, and the high-priority work unit host can deploy high computing capability hardware to meet the necessary computing capability of the supply work processing. As shown, the host A 301 includes a work unit 302 and a message management unit 303. When it wants to deliver a message to one of the other host groups B 305, because the priority policy is adopted, the message management unit of the host A is The message is passed to the high priority high priority host B1 401 to receive the message by the high priority host B1 401 and to process the message delivery by the work unit of the high priority host B1 401. In this strategy, the remaining hosts are, for example, low priority hosts. B2 404 will not receive the message.

第3C圖為採用指定工作單元策略,即將指定某一工作單元主機接收訊息,此策略適用於預先訊息路由規劃,支援大量訊息分流與路由優化。如圖所示,主機A 301包括工作單元302和訊息管理單元303,當其要傳遞訊息至另外主機群B 305中的某一主機時,因為採用指定工作單元策略,故主機A之訊息管理單元是將訊息傳遞至已被指定之受指定主機B1 501,以由受指定主機B1 501來接收訊息並由受指定主機B1 501之工作單元來處理訊息所交辦事項,在此策略中,其餘主機例如非受指定主機B2 504 等不會收到訊息。 Figure 3C shows the use of the specified work unit policy, which will specify a work unit host to receive messages. This policy is applicable to pre-message routing planning and supports a large number of message offloading and route optimization. As shown, the host A 301 includes a work unit 302 and a message management unit 303. When it wants to deliver a message to one of the other host groups B 305, the message management unit of the host A is used because of the specified work unit policy. The message is delivered to the designated host B1 501 that has been designated to receive the message by the designated host B1 501 and processed by the working unit of the designated host B1 501. In this strategy, the remaining hosts are, for example, Non-designated host B2 504 I won't receive the message.

請參照第4圖,其為本發明之分散式高可用性供裝方法具體實施的示意流程圖。 Please refer to FIG. 4, which is a schematic flow chart of a specific implementation of the distributed high availability feeding method of the present invention.

如圖所示,在流程S601中,供裝工作管理單元接受到來自外部系統之請求後,供裝工作管理單元針對此筆供裝工作紀錄其識別碼、參數、規格、執行狀態及時間資訊至資料庫中,以維持工作單元之無狀態性,隨即將此筆供裝工作之執行狀態改為執行中,代表供裝工作的生命週期開始。 As shown in the figure, in the process S601, after the supply work management unit receives the request from the external system, the supply work management unit records its identification code, parameters, specifications, execution status and time information for the pen work. In the database, in order to maintain the statelessness of the work unit, the execution status of the supply work is changed to execution, which represents the beginning of the life cycle of the supply work.

在流程S602中,供裝工作管理單元將發送訊息呼叫供裝站別流程管理單元接續處理,發送訊息前,可參照供裝工作的規格參數,透過本案前述之三種訊息傳送策略來進行傳送,因而依據不同策略,會前進至流程S603、S604、S605的其中一者。 In the process S602, the installation work management unit will continue to process the sending message call installation station flow management unit, and before transmitting the message, refer to the specification parameters of the supply work, and transmit through the foregoing three message transmission strategies in the present case, thus According to different strategies, one of the processes S603, S604, and S605 is advanced.

當供裝站別流程管理單元接收來自供裝工作管理單元的訊息呼叫後,供裝站別流程管理單元從訊息中截取出此筆供裝工作之規格,依據規格參數,由資料庫中查詢取得一組對應之供裝站別的流程執行順序,隨後依照此順序管理供裝站別的執行,如圖中所示,可由第一個供裝站別執行供裝。當其中一個供裝站別執行完畢後,供裝站別流程管理單元將取得由供裝站別回覆之執行結束訊息,並進入流程S606。 After the loading station process management unit receives the message call from the supply work management unit, the supply station process management unit intercepts the specification of the installation work from the message, and obtains the query according to the specification parameter. A set of process execution sequences corresponding to the installation station, and then the execution of the installation station is managed in this order, as shown in the figure, the installation can be performed by the first supply station. After one of the supply stations has been executed, the supply station process management unit will obtain an execution end message replied by the supply station, and proceeds to process S606.

於流程S606中,係判斷此供裝站別在執行順序中是否已是最後一個供裝站別,若是,則表示所有供裝站別皆 執行完畢,前進至流程S611,即執行流程結束,並由供裝站別流程管理單元透過訊息通知供裝工作管理單元,以結束供裝工作之生命週期,若否,則需要接續發送呼叫訊息以執行下一個供裝站別。同理,如流程S607所示,呼叫訊息也是三種訊息策略擇一進行傳送,並依據不同策略,會前進至流程S608、S609、S610的其中一者。 In the process S606, it is determined whether the supply station is the last supply station in the execution sequence, and if so, it indicates that all the supply stations are all installed. After the execution is completed, the process proceeds to process S611, that is, the execution process ends, and the supply station management unit sends a message to the installation work management unit to terminate the life cycle of the supply work. If not, the call message needs to be sent continuously. Perform the next supply station. Similarly, as shown in the process S607, the call message is also transmitted by three message policies, and according to different strategies, it proceeds to one of the processes S608, S609, and S610.

供裝站別管理與設定單元負責管理所有類型供裝站別,當供裝站別管理與設定單元接收來自供裝站別流程管理單元的訊息呼叫後,截取訊息中所夾帶的供裝站別識別碼,並由供裝站別管理與設定單元所管理之供裝站別中取得對應之供裝站後執行之,並進行訊息中之參數截取與供裝設定。 The supply station management and setting unit is responsible for managing all types of supply stations. When the supply station management and setting unit receives a message call from the process management unit of the installation station, the supply station is intercepted in the interception message. The identification code is executed by the supply station that is managed by the installation station and managed by the setting unit, and the parameter interception and supply setting in the message are performed.

最後,回到流程S606,判斷此供裝站別在執行順序中是否已是最後一個供裝站別,若是,則前進至流程S611,即執行流程結束,若否,則需要接續發送呼叫訊息以執行下一個供裝站別,即重複前述流程。 Finally, returning to process S606, it is determined whether the feeding station is the last feeding station in the execution order, and if yes, proceeding to process S611, that is, the execution flow ends, and if not, the call message needs to be continuously sent. Repeat the previous process by executing the next supply station.

綜上所述,本發明所提出之分散式高可用性供裝系統及其方法,其中工作單元皆可複製並擴充部署於多台主機中,當多筆工作同時進行供裝時,訊息管理單元可主動採用負載平衡策略來分配供裝工作,藉此達到供裝工作的負載平衡並增進供裝效能,另外,當單一工作單元失效時,其餘同類型工作單元可接手處理,故可滿足供裝高可用性。本發明可依據供裝工作實際需求運算能量,部署各種工作單元的主機數量,亦可預先規劃供裝流程之部署主機間分 流執行策略,將高運算需求之供裝工作導向高效能部署主機上執行,藉此達成資源利用最佳化與執行流程效率最佳化特性。 In summary, the distributed high-availability loading system and the method thereof are provided, wherein the working unit can be copied and expanded and deployed in multiple hosts, and when multiple jobs are simultaneously installed, the message management unit can Actively adopt a load balancing strategy to distribute the loading and unloading work, thereby achieving load balancing of the supply work and improving the supply efficiency. In addition, when a single work unit fails, the remaining work units of the same type can be handled, so that the supply height can be satisfied. Availability. The invention can calculate the energy of the actual demand of the supply work, deploy the number of hosts of various work units, and pre-plan the deployment of the installation process. The flow execution strategy directs the provisioning of high computing requirements to the high-performance deployment host to achieve resource utilization optimization and execution process efficiency optimization features.

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

Claims (10)

一種分散式高可用性供裝系統,包括:供裝工作管理主機群,其包括複數第一類別主機,各該第一類別主機包括供裝工作管理單元及第一訊息管理單元,其中,該供裝工作管理單元接收來自外部系統之供裝工作,以於該供裝工作之生命週期開始時,透過該第一訊息管理單元發送第一訊息;供裝站別流程管理主機群,其包括複數第二類別主機,各該第二類別主機包括供裝站別流程管理單元及第二訊息管理單元,其中,該供裝站別流程管理單元接收該第一訊息後,由該第一訊息中擷取該供裝工作之規格參數,以透過該規格參數自該第二類別主機之資料庫取得流程執行順序,俾根據該流程執行順序執行該供裝工作中各供裝站別之供裝,其中,該第二訊息管理單元發送記載欲執行供裝之供裝站別的第二訊息;以及供裝站別管理與設定主機群,其包括複數第三類別主機,各該第三類別主機包括供裝站別管理與設定單元及第三訊息管理單元,其中,該供裝站別管理與設定單元接收該第二訊息後,由該第二訊息中擷取該欲執行供裝之供裝站別的供裝站別識別碼,俾依據該供裝站別識別碼找出對應之供裝站別後執行該對應之供裝站別的供裝設定,以由該第三訊息管理單元發送回覆結束訊息至該供裝站別流程管理單元,其中,該供裝站別流程管理單元於判斷有其他供 裝站別未完成供裝下,持續發送有關該其他供裝站別的該第二訊息至該供裝站別管理與設定單元,直到該其他供裝站別皆完成供裝。 A decentralized high availability supply system includes: a supply work management host group including a plurality of first category hosts, each of the first category hosts including a supply work management unit and a first message management unit, wherein the supply The work management unit receives the supply work from the external system to send the first message through the first message management unit at the beginning of the life cycle of the supply work; the maintenance station process management host group includes the second a class host, each of the second class hosts includes a loading station process management unit and a second message management unit, wherein the loading station process management unit receives the first message and then extracts the first message The specification parameter of the loading work, the process execution sequence is obtained from the database of the second category host through the specification parameter, and the supply station of the supply station is performed according to the execution sequence of the process, wherein The second message management unit sends a second message describing the installation site to be installed; and the installation station management and setting host group, which includes the plurality of The category host, each of the third category hosts includes a loading station management and setting unit and a third message management unit, wherein the second station message is received by the loading station management and setting unit after receiving the second message Taking the installation station identification code of the installation station to be installed, and determining the supply setting of the corresponding supply station after finding the corresponding installation station according to the installation station identification code, Sending a reply end message to the supply station flow management unit by the third message management unit, wherein the supply station flow management unit determines that there is another supply The installation station does not complete the installation, and continuously sends the second message about the other supply station to the supply station management and setting unit until the other supply stations complete the supply. 如申請專利範圍第1項所述之分散式高可用性供裝系統,其中,該供裝站別流程管理單元於判斷所有該其他供裝站別皆完成供裝時,透過該第二訊息管理單元回傳執行完畢訊息至該供裝工作管理單元,以令該供裝工作管理單元結束該供裝工作之生命週期。 The distributed high availability supply system of claim 1, wherein the supply station management unit passes the second message management unit when determining that all of the other supply stations are ready for installation. The execution completion message is returned to the supply work management unit to cause the supply work management unit to end the life cycle of the supply work. 如申請專利範圍第1項所述之分散式高可用性供裝系統,其中,該第一訊息管理單元、該第二訊息管理單元或該第三訊息管理單元分別利用隨機負載策略、優先策略或指定工作單元策略之其中一者,傳遞該第一訊息、該第二訊息或第三訊息。 The distributed high availability provisioning system of claim 1, wherein the first message management unit, the second message management unit, or the third message management unit utilizes a random load policy, a priority policy, or a designated One of the work unit policies, the first message, the second message, or the third message is delivered. 如申請專利範圍第1項所述之分散式高可用性供裝系統,其中,該供裝工作管理單元更將該供裝工作之識別碼、參數、規格、執行狀態及時間資訊紀錄於該第一類別主機之資料庫中。 The distributed high availability supply system according to claim 1, wherein the supply work management unit records the identification code, parameters, specifications, execution status and time information of the installation work in the first In the category host's database. 如申請專利範圍第1項所述之分散式高可用性供裝系統,其中,該流程執行順序係紀錄各該供裝站別執行供裝之先後順序。 The distributed high availability supply system according to claim 1, wherein the execution sequence of the process records the order in which the supply stations perform the installation. 一種分散式高可用性供裝方法,係適於供裝系統中以執行供裝程序,該供裝系統包括分別具供裝工作管理單元及第一訊息管理單元之複數第一類別主機、分別具供裝站別流程管理單元及第二訊息管理單元之複數第二類 別主機、以及分別具供裝站別管理與設定單元及第三訊息管理單元之複數第三類別主機,該方法包括:令該供裝工作管理單元接收來自外部系統之供裝工作,以於該供裝工作之生命週期開始時,透過該第一訊息管理單元發送第一訊息;令該供裝站別流程管理單元接收該第一訊息後,由該第一訊息中擷取該供裝工作之規格參數,以透過該規格參數自該第二類別主機之資料庫取得流程執行順序;令該供裝站別流程管理單元根據該流程執行順序執行該供裝工作中各供裝站別之供裝,其中,該第二訊息管理單元發送記載欲執行供裝之供裝站別的第二訊息;令該供裝站別管理與設定單元接收該第二訊息後,由該第二訊息中擷取該欲執行供裝之供裝站別的供裝站別識別碼,俾依據該供裝站別識別碼找出對應之供裝站別;以及令該供裝站別管理與設定單元執行該對應之供裝站別的供裝設定,以由該第三訊息管理單元發送回覆結束訊息至該供裝站別流程管理單元,其中,該供裝站別流程管理單元於判斷有其他供裝站別未完成供裝下,持續發送有關該其他供裝站別的該第二訊息至該供裝站別管理與設定單元,直到該其他供裝站別皆完成供裝。 A decentralized high-availability supply method is suitable for the installation system to execute a supply program, the supply system comprising a plurality of first-class hosts respectively provided with a supply work management unit and a first message management unit, respectively The second category of the station management unit and the second message management unit And a plurality of third-class hosts respectively having a supply station management and setting unit and a third message management unit, the method comprising: causing the supply work management unit to receive the supply work from the external system, so as to At the beginning of the life cycle of the loading operation, the first message management unit sends the first message; after the receiving station process management unit receives the first message, the loading and receiving work is captured by the first message. a specification parameter, wherein the process execution sequence is obtained from the database of the second category host through the specification parameter; and the supply station management unit performs the supply of the supply stations in the supply work according to the execution sequence of the process The second message management unit sends a second message describing the installation site to be installed; and the receiving station management and setting unit receives the second message, and then the second message is captured by the second message. The installation station identification code of the installation station to be installed, and the corresponding installation station according to the installation station identification code; and the installation station management and setting unit executes the The supply station setting of the supply station is configured to send a reply end message to the supply station flow management unit by the third message management unit, wherein the supply station process management unit determines that there are other supply stations After the installation is not completed, the second message about the other supply station is continuously sent to the supply station management and setting unit until the other supply stations complete the installation. 如申請專利範圍第6項所述之分散式高可用性供裝方 法,其中,該供裝站別流程管理單元於判斷所有該其他供裝站別皆完成供裝時,透過該第二訊息管理單元回傳執行完畢訊息至該供裝工作管理單元,以令該供裝工作管理單元結束該供裝工作之生命週期。 Decentralized high availability supply party as described in claim 6 The method, wherein the supply station management unit returns the execution completion message to the supply work management unit through the second message management unit when determining that all the other supply stations have completed the installation, so that the The supply work management unit ends the life cycle of the supply work. 如申請專利範圍第6項所述之分散式高可用性供裝方法,其中,該第一訊息管理單元、該第二訊息管理單元或該第三訊息管理單元分別利用隨機負載策略、優先策略或指定工作單元策略之其中一者,傳遞該第一訊息、該第二訊息或第三訊息。 The distributed high availability supply method according to claim 6, wherein the first message management unit, the second message management unit, or the third message management unit respectively utilize a random load policy, a priority policy, or a specified One of the work unit policies, the first message, the second message, or the third message is delivered. 如申請專利範圍第6項所述之分散式高可用性供裝方法,其中,該供裝工作管理單元更將該供裝工作之識別碼、參數、規格、執行狀態及時間資訊紀錄於該第一類別主機之資料庫中。 The distributed high availability supply method according to claim 6, wherein the supply work management unit records the identification code, parameters, specifications, execution status and time information of the supply work in the first In the category host's database. 如申請專利範圍第6項所述之分散式高可用性供裝方法,其中,該流程執行順序係紀錄各該供裝站別執行供裝之先後順序。 The distributed high availability supply method according to claim 6, wherein the execution sequence of the process records the order in which the supply stations perform the supply.
TW107100762A 2018-01-09 2018-01-09 High-availability provisioning system in distributed architectures and method thereof TWI670607B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107100762A TWI670607B (en) 2018-01-09 2018-01-09 High-availability provisioning system in distributed architectures and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107100762A TWI670607B (en) 2018-01-09 2018-01-09 High-availability provisioning system in distributed architectures and method thereof

Publications (2)

Publication Number Publication Date
TW201931146A TW201931146A (en) 2019-08-01
TWI670607B true TWI670607B (en) 2019-09-01

Family

ID=68315688

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107100762A TWI670607B (en) 2018-01-09 2018-01-09 High-availability provisioning system in distributed architectures and method thereof

Country Status (1)

Country Link
TW (1) TWI670607B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8122289B2 (en) * 2009-04-09 2012-02-21 Telefonaktiebolaget L M Ericsson (Publ) Load balancing and high availability of compute resources
TW201335863A (en) * 2012-02-22 2013-09-01 Chunghwa Telecom Co Ltd Service change method and system capable of retaining information system setting values
US20150156080A1 (en) * 2013-12-04 2015-06-04 International Business Machines Corporation Dynamic system level agreement provisioning
TWI591488B (en) * 2015-11-27 2017-07-11 Chunghwa Telecom Co Ltd Intelligent supply of resources to distribute modules and cloud services for the installation system
TWI608443B (en) * 2016-12-29 2017-12-11 Chunghwa Telecom Co Ltd Confluence service for data exchange system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8122289B2 (en) * 2009-04-09 2012-02-21 Telefonaktiebolaget L M Ericsson (Publ) Load balancing and high availability of compute resources
TW201335863A (en) * 2012-02-22 2013-09-01 Chunghwa Telecom Co Ltd Service change method and system capable of retaining information system setting values
US20150156080A1 (en) * 2013-12-04 2015-06-04 International Business Machines Corporation Dynamic system level agreement provisioning
TWI591488B (en) * 2015-11-27 2017-07-11 Chunghwa Telecom Co Ltd Intelligent supply of resources to distribute modules and cloud services for the installation system
TWI608443B (en) * 2016-12-29 2017-12-11 Chunghwa Telecom Co Ltd Confluence service for data exchange system

Also Published As

Publication number Publication date
TW201931146A (en) 2019-08-01

Similar Documents

Publication Publication Date Title
CN102158386B (en) Distributed load balance for system management program
US9154382B2 (en) Information processing system
CN100389392C (en) Method for realizing load uniform in clustering system, system and storage controller
US11526276B2 (en) Upgrade management method and scheduling node, and storage system
CN102025630A (en) Load balancing method and load balancing system
WO2015074396A1 (en) Automatic configuration method, device and system of software defined network
WO2013163865A1 (en) Virtual machine hot migration and deployment method, server and cluster system
JP2014519300A (en) Method and apparatus for supplying electrical energy
JP5628510B2 (en) System and method for decentralized job scheduling and distributed execution in a network of multifunction devices
WO2018171465A1 (en) Method, apparatus and system for managing network slice instance
WO2018121201A1 (en) Distributed cluster service structure, node cooperation method and device, terminal and medium
CN103312605A (en) Gateway device identity setting method and management gateway device
CN104283774A (en) AC pool implementation method and device
CN110061855A (en) A kind of method for processing business, system and device
WO2020124930A1 (en) Method and apparatus for scheduling and processing resource
EP3864824A1 (en) Methods and apparatuses for balancing utilization of computer resources
WO2017197983A1 (en) Traffic processing method and system, storage medium, switch
EP2439881B1 (en) Cluster system and request message distribution method for processing multi-node transaction
CN108282526A (en) Server dynamic allocation method and system between double clusters
JP5702747B2 (en) Service order system, service order apparatus, service order method, and service order program
CN108366087B (en) ISCSI service realization method and device based on distributed file system
CN112422251B (en) Data transmission method and device, terminal and storage medium
TWI670607B (en) High-availability provisioning system in distributed architectures and method thereof
CN111200518B (en) Decentralized HPC computing cluster management method and system based on paxos algorithm
EP3435615B1 (en) Network service implementation method, service controller, and communication system