TWM616624U - Dynamic management system and management host - Google Patents
Dynamic management system and management host Download PDFInfo
- Publication number
- TWM616624U TWM616624U TW110206776U TW110206776U TWM616624U TW M616624 U TWM616624 U TW M616624U TW 110206776 U TW110206776 U TW 110206776U TW 110206776 U TW110206776 U TW 110206776U TW M616624 U TWM616624 U TW M616624U
- Authority
- TW
- Taiwan
- Prior art keywords
- files
- server
- processed
- processing module
- host
- Prior art date
Links
Images
Abstract
一種動態管理系統包含多個伺服主機及一管理主機,該管理主機包括一處理模組及一通訊模組,該通訊模組電連接該處理模組,並能夠與該等伺服主機建立連線。該處理模組經由該通訊模組接收待處理的多個工作檔案,並先將該等工作檔案之其中部分者分配給該等伺服主機作處理,以計算出每一該伺服主機的一運算能力,再根據每一該伺服主機的該運算能力及剩餘待處理的該等工作檔案的數量,將剩餘待處理的該等工作檔案分配給該等伺服主機作處理,以實現一種根據每一該伺服主機的該運算能力分配該等工作檔案的動態管理系統。A dynamic management system includes a plurality of server hosts and a management host. The management host includes a processing module and a communication module. The communication module is electrically connected to the processing module and can establish connections with the server hosts. The processing module receives a plurality of work files to be processed through the communication module, and first allocates some of the work files to the server hosts for processing, so as to calculate a computing power of each server host , And then according to the computing power of each server host and the number of the remaining work files to be processed, the remaining work files to be processed are allocated to the server hosts for processing, so as to realize a process based on each of the server The computing power of the host computer allocates the dynamic management system of the work files.
Description
本新型是有關於一種管理系統及管理主機,特別是指一種有效管理伺服器資源的動態管理系統及管理主機。This model relates to a management system and a management host, in particular to a dynamic management system and a management host that effectively manage server resources.
現有的金融保險業者利用電腦處理大量案件時,最普遍的作法是採用多個伺服主機,並以其中一者作為一主控裝置(Master),藉由該主控裝置監看其餘該等伺服主機的運作狀況,以獲知哪些伺服主機處於閒置狀態,進而將所接收到的所有案件,逐一分配給處於閒置狀態的每一該伺服主機,如此持續執行監看與分配工作的運作直到所有案件處理完成,而能夠實現一種分工處理的管理系統。然而,是否存有其他更具效率以分配案件工作的管理系統便成為一個待解決的問題。When the existing financial and insurance companies use computers to handle a large number of cases, the most common method is to use multiple server hosts, and use one of them as a master, and use the master to monitor the remaining server hosts. In order to know which server hosts are idle, then all the received cases are allocated to each of the idle servers one by one, and the monitoring and distribution work will continue to be performed until all cases are processed. , And can realize a management system of division of labor. However, whether there are other management systems that are more efficient to distribute case work has become a problem to be solved.
因此,本新型的目的,即在提供一種有效管理伺服器資源的動態管理系統及管理主機。Therefore, the purpose of the present invention is to provide a dynamic management system and a management host for effectively managing server resources.
於是,本新型之一觀點,提供一種動態管理系統,包含多個伺服主機及一管理主機。該管理主機包括一處理模組及一通訊模組,該通訊模組電連接該處理模組,並能夠與該等伺服主機建立連線。Therefore, one aspect of the present invention provides a dynamic management system including a plurality of server hosts and a management host. The management host includes a processing module and a communication module. The communication module is electrically connected to the processing module and can establish connections with the server hosts.
其中,該處理模組經由該通訊模組接收待處理的多個工作檔案(Task),並先將該等工作檔案之其中部分者經由該通訊模組分配給該等伺服主機作處理,以計算出每一該伺服主機的一運算能力,再根據每一該伺服主機的該運算能力及剩餘待處理的該等工作檔案的數量,將剩餘待處理的該等工作檔案經由該通訊模組分配給該等伺服主機作處理。Wherein, the processing module receives a plurality of task files to be processed through the communication module, and first allocates some of the task files to the server hosts for processing via the communication module to calculate A computing capability of each server host is calculated, and the remaining job files to be processed are allocated to the communication module according to the computing capability of each server host and the number of remaining job files to be processed These server hosts do the processing.
在一些實施態樣中,其中,該管理主機的該處理模組將所接收且待處理的該等工作檔案依所接收的時間順序排列,並將待處理的該等工作檔案依序分配給該等伺服主機之其中尚未計算出該運算能力者,以獲知每一該伺服主機處理完成單一個該工作檔案所需要的一處理時間,進而計算出每一該伺服主機的該運算能力等於對應的該處理時間。In some implementations, the processing module of the management host arranges the received and to-be-processed work files in the order of the received time, and sequentially allocates the to-be-processed work files to the Wait for those of the server hosts that have not yet calculated the computing power to know the processing time required for each of the server hosts to process a single job file, and then calculate that the computing power of each server host is equal to the corresponding one. Processing time.
在一些實施態樣中,其中,該管理主機的該處理模組根據一第一公式及一第二公式,並以拉格朗日乘數法(Lagrange multiplier)求出要分配給每一該伺服主機的剩餘待處理的該等工作檔案的一檔案數量。該第一公式是:min(該等伺服主機所分別分配的該等檔案數量分別乘以對應的該等運算能力之和)。該第二公式是:該等伺服主機所分別分配的該等檔案數量之和=剩餘待處理的該等工作檔案之數量總和。該處理模組再根據每一該伺服主機所對應的該檔案數量,將剩餘待處理的該等工作檔案經由該通訊模組分配給該等伺服主機作處理。In some implementations, the processing module of the management host uses a first formula and a second formula, and uses the Lagrange multiplier method to obtain the distribution to each of the servos. A file quantity of the remaining work files to be processed in the host. The first formula is: min (the number of files allocated by the server hosts are respectively multiplied by the sum of the corresponding computing capabilities). The second formula is: the sum of the number of the files allocated by the server hosts = the sum of the number of the remaining work files to be processed. The processing module then allocates the remaining work files to be processed to the server hosts for processing via the communication module according to the number of files corresponding to each server host.
在一些實施態樣中,其中,該處理模組執行步驟S1及S2。In some embodiments, the processing module executes steps S1 and S2.
於步驟S1,當該處理模組判斷該等伺服主機的該等檔案數量之其中至少一者不等於整數時,將其中一個該檔案數量作四捨五入計算而獲得整數化的該檔案數量。In step S1, when the processing module determines that at least one of the file numbers of the server hosts is not equal to an integer, it rounds one of the file numbers to obtain an integerized file number.
於步驟S2,該處理模組將整數化的該檔案數量代入該第一公式及該第二公式後再以拉格朗日乘數法求出要分配給其餘的每一該伺服主機的剩餘待處理的該等工作檔案的該檔案數量。In step S2, the processing module substitutes the integerized number of files into the first formula and the second formula, and then uses the Lagrangian multiplier method to obtain the remaining waiting to be allocated to each of the remaining servo hosts. The number of the work files processed.
該處理模組重覆執行步驟S1及S2,直到每一該伺服主機所對應的該檔案數量都等於整數為止,該處理模組才將剩餘待處理且等於每一該伺服主機所對應的該檔案數量的該等工作檔案,經由該通訊模組分配給對應的該伺服主機作處理。The processing module repeats steps S1 and S2 until the number of files corresponding to each server host is equal to an integer, and then the processing module calculates the remaining files to be processed and equal to the file corresponding to each server host. A number of the work files are allocated to the corresponding server host for processing through the communication module.
於是,本新型之一觀點,提供一種管理主機,適用於多個伺服主機,並包含一處理模組及電連接該處理模組的一通訊模組。其中,該處理模組經由該通訊模組接收待處理的多個工作檔案,並先將該等工作檔案之其中部分者經由該通訊模組分配給該等伺服主機作處理,以計算出每一該伺服主機的一運算能力,再根據每一該伺服主機的該運算能力及剩餘待處理的該等工作檔案的數量,將剩餘待處理的該等工作檔案經由該通訊模組分配給該等伺服主機作處理。Therefore, one aspect of the present invention provides a management host suitable for multiple server hosts, and includes a processing module and a communication module electrically connected to the processing module. Wherein, the processing module receives a plurality of work files to be processed through the communication module, and first distributes some of the work files to the server hosts through the communication module for processing, so as to calculate each A computing capability of the server host, and then according to the computing capability of each server host and the number of remaining work files to be processed, the remaining work files to be processed are allocated to the servers through the communication module The host handles it.
在一些實施態樣中,其中,該管理主機的該處理模組將所接收且待處理的該等工作檔案依所接收的時間順序排列,並將待處理的該等工作檔案依序分配給該等伺服主機之其中尚未計算出該運算能力者,以獲知每一該伺服主機處理完成單一個該工作檔案所需要的一處理時間,進而計算出每一該伺服主機的該運算能力等於對應的該處理時間。In some implementations, the processing module of the management host arranges the received and to-be-processed work files in the order of the received time, and sequentially allocates the to-be-processed work files to the Wait for those of the server hosts that have not yet calculated the computing power to know the processing time required for each of the server hosts to process a single job file, and then calculate that the computing power of each server host is equal to the corresponding one. Processing time.
在一些實施態樣中,其中,該管理主機的該處理模組根據一第一公式及一第二公式,並以拉格朗日乘數法求出要分配給每一該伺服主機的剩餘待處理的該等工作檔案的一檔案數量。該第一公式是:min(該等伺服主機所分別分配的該等檔案數量分別乘以對應的該等運算能力之和)。該第二公式是:該等伺服主機所分別分配的該等檔案數量之和=剩餘待處理的該等工作檔案之數量總和。該處理模組再根據每一該伺服主機所對應的該檔案數量,將剩餘待處理的該等工作檔案經由該通訊模組分配給該等伺服主機作處理。In some implementations, the processing module of the management host uses a first formula and a second formula, and uses the Lagrangian multiplier method to obtain the remaining waiting to be allocated to each of the server hosts. The number of files of the work files processed. The first formula is: min (the number of files allocated by the server hosts are respectively multiplied by the sum of the corresponding computing capabilities). The second formula is: the sum of the number of the files allocated by the server hosts = the sum of the number of the remaining work files to be processed. The processing module then allocates the remaining work files to be processed to the server hosts for processing via the communication module according to the number of files corresponding to each server host.
在一些實施態樣中,其中,該處理模組執行步驟S1及S2。於步驟S1,當該處理模組判斷該等伺服主機的該等檔案數量之其中至少一者不等於整數時,將其中一個該檔案數量作四捨五入計算而獲得整數化的該檔案數量。In some embodiments, the processing module executes steps S1 and S2. In step S1, when the processing module determines that at least one of the file numbers of the server hosts is not equal to an integer, it rounds one of the file numbers to obtain an integerized file number.
於步驟S2,該處理模組將整數化的該檔案數量代入該第一公式及該第二公式後再以拉格朗日乘數法求出要分配給其餘的每一該伺服主機的剩餘待處理的該等工作檔案的該檔案數量。In step S2, the processing module substitutes the integerized number of files into the first formula and the second formula, and then uses the Lagrangian multiplier method to obtain the remaining waiting to be allocated to each of the remaining servo hosts. The number of the work files processed.
該處理模組重覆執行步驟S1及S2,直到每一該伺服主機所對應的該檔案數量都等於整數為止,該處理模組才將剩餘待處理且等於每一該伺服主機所對應的該檔案數量的該等工作檔案,經由該通訊模組分配給對應的該伺服主機作處理。The processing module repeats steps S1 and S2 until the number of files corresponding to each server host is equal to an integer, and then the processing module calculates the remaining files to be processed and equal to the file corresponding to each server host. A number of the work files are allocated to the corresponding server host for processing through the communication module.
本新型的功效在於:藉由該管理主機的該處理模組先計算出每一該伺服主機的該運算能力,再根據每一該伺服主機的該運算能力分配剩餘待處理的該等工作檔案,而能實現一種有效管理伺服器資源的動態管理系統及管理主機。The effect of the present invention is that the processing module of the management host first calculates the computing power of each server host, and then allocates the remaining work files to be processed according to the computing power of each server host. It can realize a dynamic management system and a management host for effectively managing server resources.
在本新型被詳細描述之前,應當注意在以下的說明內容中,類似的元件是以相同的編號來表示。Before the present invention is described in detail, it should be noted that in the following description, similar elements are represented by the same numbers.
參閱圖1,本新型動態管理系統之一實施例,包含多個伺服主機91~93及一管理主機1。該管理主機1包括一處理模組11及一通訊模組12,該通訊模組12電連接該處理模組11,並能夠與該等伺服主機91~93建立連線。在本實施例中,每一該伺服主機91~93及該管理主機1都屬於一銀行業者,並例如是一種伺服器設備,該處理模組11例如是一個或多個中央處理器(CPU),該通訊模組12例如是一網路卡、一網路晶片,或一無線網路模組等。Referring to FIG. 1, an embodiment of the new dynamic management system includes a plurality of server hosts 91 to 93 and a
該管理主機1的該處理模組11經由該通訊模組12接收待處理的多個工作檔案(Task),舉例來說,該通訊模組12是接收來自其他伺服主機或電腦設備的該等工作檔案,每一該工作檔案例如是該銀行業者所要處理的一紓困案的電子檔案。The
該管理主機1的該處理模組11將所接收且待處理的該等工作檔案依所接收的時間順序排列,並將待處理的該等工作檔案依序分配給該等伺服主機91~93之其中尚未計算出該運算能力者,以獲知每一該伺服主機91~93處理完成單一個該工作檔案所需要的一處理時間,進而計算出每一該伺服主機91~93的一運算能力等於對應的該處理時間。The
再參閱圖2,舉例來說,該等伺服主機#1~#5的數量是五個,該管理主機1依序所接收到的該等工作檔案W1~W17的數量是17個。在時間=0時,該處理模組11完全不知道每一該伺服主機#1~#5的該運算能力,因此,該處理模組11將該等工作檔案W1~W5依序分配給該等伺服主機#1~#5。在時間=1時,該處理模組11獲知該伺服主機#1完成該工作檔案W1,接著,依序將該等工作檔案W6~W8再次分配給該伺服主機#1。直到時間=4時,該等伺服主機#2~#5都完成該等工作檔案W2~W5。此時,該處理模組11計算而獲得該等伺服主機#1~#5的該等運算能力分別是1、4、4、4、及4。要特別強調的是時間=1是指一個單位時間,例如是5秒或其他時間。Referring to FIG. 2 again, for example, the number of the
該管理主機1的該處理模組11根據一第一公式及一第二公式,並以拉格朗日乘數法(Lagrange multiplier)求出要分配給每一該伺服主機#1~#5的剩餘待處理的該等工作檔案的一檔案數量。According to a first formula and a second formula, the
該第一公式是:min(該等伺服主機#1~#5所分別分配的該等檔案數量X1~X5分別乘以對應的該等運算能力之和),min()表示求最小值。該第二公式是:該等伺服主機#1~#5所分別分配的該等檔案數量X1~X5之和=剩餘待處理的該等工作檔案之數量總和。承續前例,舉例來說,該第一公式是min(X1*1+X2*4+X3*4+ X4*4+X5*4),該第二公式是X1+X2+X3+X4+X5=17-8=9。則以拉格朗日乘數法所求出的該等檔案數量X1~X5分別是4.5、1.125、1.125、1.125、1.125。The first formula is: min (the number of files X1 to X5 allocated by the
該處理模組11再根據每一該伺服主機#1~#5所對應的該檔案數量X1~X5,將剩餘待處理的該等工作檔案經由該通訊模組12分配給該等伺服主機#1~#5作處理。更詳細地說,該處理模組11執行步驟S1及S2。The
於步驟S1,當該處理模組11判斷該等伺服主機#1~#5的該等檔案數量X1~X5之其中至少一者不等於整數時,將其中一個該檔案數量X1~X5作四捨五入計算而獲得整數化的該檔案數量X1~X5。承續前例,舉例來說,該處理模組11將對應該伺服主機#5的該檔案數量X5(即1.125)作四捨五入而獲得整數化的該檔案數量X5(即1)。In step S1, when the
於步驟S2,該處理模組11將整數化的該檔案數量X5代入該第一公式及該第二公式後再以拉格朗日乘數法求出要分配給其餘的每一該伺服主機#1~#5的剩餘待處理的該等工作檔案的該檔案數量X1~X4。承續前例,舉例來說,更新後的該第一公式是min(X1*1+X2*4+X3*4+X4*4+1*4),更新後的該第二公式是X1+X2+X3+X4+1=9。則以拉格朗日乘數法所求出的該等檔案數量X1~X5分別是4.571、1.143、1.143、1.143、及1。In step S2, the
接著,該處理模組11重覆執行步驟S1及S2,直到每一該伺服主機#1~#5所對應的該檔案數量X1~X5都等於整數為止。承續前例,舉例來說,再次執行步驟S1將該伺服主機#4的該檔案數量X4(即1.143)作四捨五入而獲得整數化的該檔案數量X4(即1)。再次執行步驟S2獲得更新後的該第一公式是min(X1*1+X2*4+X3*4+1*4+1*4),更新後的該第二公式是X1+X2+X3+1+1=9。則以拉格朗日乘數法所求出的該等檔案數量X1~X5分別是4.67、1.17、1.17、1、及1。Then, the
接著,再次執行步驟S1將該伺服主機#3的該檔案數量X3(即1.17)作四捨五入而獲得整數化的該檔案數量X3(即1)。再次執行步驟S2獲得更新後的該第一公式是min(X1*1+X2*4+1*4+ 1*4+1*4),更新後的該第二公式是X1+X2+1+1+1=9。則以拉格朗日乘數法所求出的該等檔案數量X1~X5分別是4.8、1.2、1、1、及1。Then, step S1 is executed again to round the file number X3 (ie 1.17) of the
接著,再次執行步驟S1將該伺服主機#2的該檔案數量X2(即1.2)作四捨五入而獲得整數化的該檔案數量X2(即1)。再次執行步驟S2獲得更新後的該第一公式是min(X1*1+1*4+ 1*4+1*4+1*4),更新後的該第二公式是X1+1+1+1+1=9。則以拉格朗日乘數法所求出的該等檔案數量X1~X5分別是5、1、1、1、及1。Then, step S1 is executed again to round the number of files X2 (ie, 1.2) of the
該處理模組11才將剩餘待處理且等於每一該伺服主機#1~#5所對應的該檔案數量X1~X5的該等工作檔案,經由該通訊模組12分配給對應的該伺服主機#1~#5作處理。承續前例,舉例來說,該處理模組11根據該等伺服主機#1~#5的該等檔案數量X1~X5(即5、1、1、1、及1),將該等工作檔案W9~W13(即5個工作檔案)分配給該伺服主機#1,且將該等工作檔案W14~W17分別分配給該等伺服主機#2~#5(即各分配1個工作檔案)。The
另外要特別補充說明的是:在本實施例中,每一該工作檔案所需要的運算量都相同,而在其他的實施例中,每一該工作檔案所需要的運算量也可以是不相同。此外,每一該伺服主機#1~#5完成第一個該工作檔案的時間點也可以不相同,該管理主機1的該處理模組11能夠根據已經計算出的該至少一運算能力,動態更新該第一工作及該第二公式,以在不同的時間點隨時動態且即時地計算出如何分配剩餘的該等工作檔案給哪些該等伺服主機#1~#5。In addition, it should be noted that in this embodiment, the amount of calculation required for each work file is the same, and in other embodiments, the amount of calculation required for each work file may also be different. . In addition, each of the servo hosts #1~#5 may complete the first work file at different time points. The
綜上所述,藉由該管理主機1的該處理模組11先計算出每一該伺服主機91~93的該運算能力,再根據每一該伺服主機91~ 93的該運算能力分配剩餘待處理的該等工作檔案,進而能夠實現一種有效管理伺服器資源的動態管理系統及管理主機1,故確實能達成本新型的目的。To sum up, the
惟以上所述者,僅為本新型的實施例而已,當不能以此限定本新型實施的範圍,凡是依本新型申請專利範圍及專利說明書內容所作的簡單的等效變化與修飾,皆仍屬本新型專利涵蓋的範圍內。However, the above are only examples of the present model. When the scope of implementation of the present model cannot be limited by this, all simple equivalent changes and modifications made in accordance with the patent scope of the present model application and the contents of the patent specification still belong to This new patent covers the scope.
1:管理主機
11:處理模組
12:通訊模組
91~93:伺服主機
#1~#5:伺服主機
W1~W17:工作檔案
1: Management host
11: Processing module
12:
本新型的其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中: 圖1是一方塊圖,說明本新型動態管理系統的一實施例;及 圖2是一示意圖,示例性地說明該實施例的多個工作檔案的一種分配態樣。 The other features and effects of the present invention will be clearly presented in the embodiments with reference to the drawings, among which: Figure 1 is a block diagram illustrating an embodiment of the new dynamic management system; and FIG. 2 is a schematic diagram exemplarily illustrating a distribution mode of multiple work files in this embodiment.
1:管理主機 1: Management host
11:處理模組 11: Processing module
12:通訊模組 12: Communication module
91~93:伺服主機 91~93: Servo host
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110206776U TWM616624U (en) | 2021-06-11 | 2021-06-11 | Dynamic management system and management host |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110206776U TWM616624U (en) | 2021-06-11 | 2021-06-11 | Dynamic management system and management host |
Publications (1)
Publication Number | Publication Date |
---|---|
TWM616624U true TWM616624U (en) | 2021-09-01 |
Family
ID=78778693
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW110206776U TWM616624U (en) | 2021-06-11 | 2021-06-11 | Dynamic management system and management host |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWM616624U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI785644B (en) * | 2021-06-11 | 2022-12-01 | 中國信託商業銀行股份有限公司 | Dynamic management system and management host |
-
2021
- 2021-06-11 TW TW110206776U patent/TWM616624U/en unknown
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI785644B (en) * | 2021-06-11 | 2022-12-01 | 中國信託商業銀行股份有限公司 | Dynamic management system and management host |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103797462B (en) | A kind of method and apparatus creating virtual machine | |
WO2018149221A1 (en) | Device management method and network management system | |
US8656387B2 (en) | Method and system for workload distributing and processing across a network of replicated virtual machines | |
US11637889B2 (en) | Configuration recommendation for a microservice architecture | |
US20080229320A1 (en) | Method, an apparatus and a system for controlling of parallel execution of services | |
JP4959845B2 (en) | Method, computer program, and data processing system for calculating dispatcher share in workload manager | |
US8805978B1 (en) | Distributed cluster reconfiguration | |
KR100714760B1 (en) | Configuration size determination in logically partitioned environment | |
US10360074B2 (en) | Allocating a global resource in a distributed grid environment | |
CN109478147B (en) | Adaptive resource management in distributed computing systems | |
JP2008041093A (en) | System and method for distributing virtual input/output operation for many logical partitions | |
US20130305245A1 (en) | Methods for managing work load bursts and devices thereof | |
CN110727950A (en) | Distributed cooperative computing system and cooperative processing method | |
CN107682391A (en) | Electronic installation, server-assignment control method and computer-readable recording medium | |
TWM616624U (en) | Dynamic management system and management host | |
CN109347982A (en) | A kind of dispatching method and device of data center | |
TWI785644B (en) | Dynamic management system and management host | |
CN107071051A (en) | For ordering the method and apparatus performed | |
JP2009087213A (en) | Computer reserve capacity calculating device and computer reserve capacity calculating method | |
CN114091807A (en) | Method, device and system for distributing and scheduling tasks of multiple unmanned aerial vehicles and storage medium | |
CN110633142B (en) | Block chain consensus method, management node, electronic device, and storage medium | |
CN110391929B (en) | Fault-tolerant control method and device and fault-tolerant component | |
CN109120704B (en) | Resource monitoring method, device and equipment of cloud platform | |
CN107438834A (en) | Implementation method, device, electronic equipment and the computer program product of virtual machine function services | |
TWM610003U (en) | Process Robot Management System |