515945 A7 五、發明說明(i ; [發明領域] 本發明係有關於一種資訊技術,特別是有關於一種跨 平台預警系統及方法,其可適用於搭配至網路系統中的伺 服器群組,且該伺服器群組中的各台伺服器係採用不同的 工作平台,用以在該伺服器群組中之任何一台伺服器發生 一系統異常狀況時,例如為程式執行失敗或磁碟空間不足 時’發出一預警訊息來通告所有相關之系統管理人員及使 用者。 [發明背景] 網路系統係採用伺服斋(servers)來控制其中的各種資 料傳輸功能。常用之伺服器型式包括網際網路飼服器(Web server)、檔案伺服器(file server)、檔案傳輸伺服器(FTp server)、電子郵件伺服器(E-mail server)、應用程式伺服器 (application server)、資料庫伺服器(database server)、等 等。 公司的内部網路系統一般係由一群各式不同之伺服 |§所組成。此些饲服不只其功能不相同,且其所採用之 工作平台亦不相同。舉例來說,典型之伺服器群組例如包 括 Oracle 資料庫伺服器、SQL(Structured Query Language) 資料庫伺服器、UNIX伺服器、AS/400伺服器、12引擎伺 服器、SAP伺服器、網際網路伺服器(Web server)、電子資 料交換(Electronic Data Exchange,EDI)伺服器、等等。 伺服器於系統運作時,若有異常狀況發生,例如為程 式執行失敗或磁碟空間不足時,則一般均會產生一錯誤狀 本纸張尺度適用中國國家標!(CNSM4規格(210x297 ) (請先閱讀背面之注意事項再填寫本頁) n n fn ^^1 n tl^— m —flt ^ϋ-a BIBt HI mV I Λ9, 經濟部智慧財產局員工消費合作社印製 16419 515945 A7 五、發明說明(2 況記錄檔(error log file)或一警示檔(alen file),藉此而將 異常狀況告知系統管理人員。 但由於此些各式不同之伺服器具有不同的工作平 口,因此其於系統異常狀況時所產生的錯誤狀況記錄檔或 警示檔的袼式也不相同,使得異常狀況訊息無法統一轉達 給系統管理人員。若伺服器群組中的任何一台伺服器發生 系統異吊狀況,則系統管理人員只能在發現伺服器的使用 上有異常現象時,例如發現資料處理結果不正確時,逐一 檢視伺服器群組中的各台伺服器,以藉此而找出那一台飼 服器有發生系統異常狀況,再對該台伺服器進行必要之維 護工作。 然而上述之作法顯然極為費時費力,使得系統維護的 效率不高。此外,並非所有的系統異常狀況均能被系統管 理人員或使用者察覺;因此在此情況下,網路使用者將可 能持續接收錯誤之資料,進而作出錯誤之管理決策。 [發明概述] 本發明之主要目的便是在於提供一種跨平台預警系 統及方法,其可在伺服器群組中之任何一台飼服器發生— 系統異常狀況時,立即自動發出一預警訊息給所有相關之 系統管理人員及使用者。 本發明之跨平台預警系統 %久的特點在於分別設 置一系統偵測模組於伺服器群細 服恣砰組中的各台伺服器中,用以 偵測各台伺服器是否發生系 ^ ^ ^ ^ 4 共爷狀况,並可在偵測到一 系統異节狀況時產生一對應之奉 a 一 尔統異吊狀況顯示檔,並將 [氏張尺度_巾關家鮮(CNSM4㈣(21^^^) 2 16419 ----------------- (請先閱讀背面之注意事項再填寫本頁) 訂· .線. 經濟部替慧財•產局員工消費合作社印製 515945 經濟部智慧財產局員工消費合作社印製 A7 五、發明說明(3 ) 此系統異常狀況顯示-值1衣 检傳达至一預警訊息資料庫;其中該 預警訊息資料庫係用以M ^ ^ 以錯存一組預設之預警訊息及該些預 預'訊心與系統異常狀況顯示槽的對應關係,且其可 接收到該二系統偵測模組所產生的系統異常狀況顯示檔 =輸出該系統異常狀況顯示構所對應之預警訊息至一預 〜發达模組’例如為一電子郵件伺服器,藉此而將該 電子郵件方式透過m统而傳送至一群預 、,作平0亦即所有相關的系統管理人員及使用者的 乍平〇以讓系統管理人員及使用者採取必要之維護及 防備工作。 本發明之跨平台預警系統及方法可於伺服器群組中 的任何口伺服器發生系統異常狀況時,立即自動發出一 警不=息,藉此而通告所有的系統管理人員及使用者,讓 系統吕理人貝不必使用人工逐台檢視即可知道伺服器群組 中的那一台伺服器發生系統異常狀況,立即可針對該異常 的伺服斋進行維護工作。本發明因此較習知作法具有更佳 之進步性及實用性。 [圖式簡述] 本發明之實質技術内容及其實施例已用圖解方式詳 細揭路繪製於本說明書所附之圖式之中。此些圖式之内 簡述如下: 第1圖為一系統架構示意圖,其中顯示本發明之跨平 台預警系統的基本系統架構; 第2圖為一流程圖,其中顯示本發明之跨平台預馨系 -----------裝'-------訂--------- (請先閱讀背面之注意事項再填寫本頁) 515945 A7 B7 五、發明說明(4 ) 統所執行之程序步驟。 [圖式標號說明] 經 濟 部 慧 財 差 局 員 工 >月 費 合 作 社 ίρ 10 伺服器群組 11 Oracle資料庫伺服器 12 SQL資料庫伺服器 13 UNIX伺服器 14 AS/400伺服器 15 12引擎伺服器 16 SAP伺服器 17 網際網路伺服器 18 EDI伺服器 100 本發明之跨平台預警系統 111 系統偵測模組 112 系統偵測摸組 113 系統偵測模組 114 系統偵測模組 115 系統偵測模組 116 系統偵測模組 117 系統偵測模組 118 系統偵測模組 120 預警訊息資料庫 130 預警訊息發送模組 200 網路系統 300 工作平台 (請先閱讀背面之注意事項再填寫本頁) 衣紙張尺度適用中國國家標準(CNSM4規格(210x 297公f ) 16419 515945515945 A7 V. Description of the invention (i; [Field of the Invention] The present invention relates to an information technology, and in particular, to a cross-platform early warning system and method, which can be applied to a server group configured in a network system. And each server in the server group uses a different working platform, which is used when a system abnormal condition occurs on any of the servers in the server group, such as program execution failure or disk space. When it is insufficient, an alert message is issued to notify all relevant system administrators and users. [Background of the Invention] Network systems use servers to control various data transmission functions. Common server types include the Internet Road server (Web server), file server (file server), file transfer server (FTp server), e-mail server (E-mail server), application server (application server), database server (Database server), etc. The company's internal network system is generally composed of a group of different servos. The same, and the working platforms they use are also different. For example, typical server groups include Oracle database server, SQL (Structured Query Language) database server, UNIX server, AS / 400 server Server, 12-engine server, SAP server, Internet server (Web server), Electronic Data Exchange (EDI) server, etc. If an abnormal condition occurs when the server is operating, For example, when the program fails to run or there is insufficient disk space, an error will usually occur. The paper size is applicable to the Chinese national standard! (CNSM4 specification (210x297)) (Please read the precautions on the back before filling this page) nn fn ^^ 1 n tl ^ — m —flt ^ ϋ-a BIBt HI mV I Λ9, printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs 16419 515945 A7 V. Description of the invention (2 error log file or a warning) File (alen file) to inform the system administrator of the abnormal situation. However, because these different servers have different working levels, they are used when the system is abnormal. The format of the generated error status record file or warning file is also different, so that the abnormal status information cannot be transmitted to the system management personnel in a unified manner. If any server in the server group has a system suspension condition, the system management personnel Only when you find that there is an abnormality in the use of the server, for example, when you find that the data processing results are incorrect, check each server in the server group one by one to find out which feeder has occurred. If the system is abnormal, perform necessary maintenance on the server. However, the above method is obviously extremely time-consuming and labor-intensive, making the system maintenance inefficient. In addition, not all system abnormalities can be detected by system administrators or users; therefore, in this case, network users may continue to receive incorrect data and make incorrect management decisions. [Summary of the Invention] The main purpose of the present invention is to provide a cross-platform early warning system and method, which can automatically send an early warning message to any system in the server group when an abnormal situation occurs in the feeder. All relevant system administrators and users. The cross-platform early warning system of the present invention is characterized by setting a system detection module in each server in the server group and the server group to detect whether each server has a system ^ ^ ^ ^ 4 common status, and can generate a corresponding display of the system ’s unique hanging status display when a system abnormal condition is detected, and the [氏 张 平面 __ 巾 关 家 鲜 (CNSM4㈣ (21 ^^^) 2 16419 ----------------- (Please read the notes on the back before filling out this page) Order. Printed by the Consumer Cooperative 515945 Printed by the Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economy A7 Printed by the Consumer Cooperative V. 5. Description of the invention (3) The abnormal status display of this system-value 1 The clothing inspection is transmitted to a warning information database; Take M ^ ^ to misstore a set of preset warning messages and the corresponding relationship between the pre-warnings and the system abnormal status display slot, and it can receive the system abnormal status generated by the two system detection modules. Display file = output the warning message corresponding to the abnormal display structure of the system to a pre-developed module ' For example, it is an e-mail server, through which the e-mail method is transmitted to a group of pre-sets, which is equal to 0, that is, all related system administrators and users. The user takes necessary maintenance and precautionary work. The cross-platform early warning system and method of the present invention can automatically issue a warning message immediately when a system abnormal condition occurs in any server in the server group, thereby informing All system administrators and users can let the system user know that the server in the server group has a system abnormal condition without having to manually check it one by one, and can immediately perform maintenance on the abnormal server. Therefore, the present invention has better progress and practicability than the conventional method. [Brief Description of the Drawings] The essential technical content of the present invention and its embodiments have been illustrated in detail in the drawings attached to this specification. The brief description of these drawings is as follows: Figure 1 is a schematic diagram of a system architecture, which shows the basic system framework of the cross-platform early warning system of the present invention. Figure 2 is a flowchart showing the cross-platform pre-installation system of the present invention ----------- install '------- order --------- ( Please read the precautions on the back before filling out this page) 515945 A7 B7 V. Procedures of the invention description (4). [Schematic labeling instructions] Employees of the Ministry of Economic Affairs and Financial Affairs Bureau > Monthly Fee Cooperative ίρ 10 Servo Server Group 11 Oracle Database Server 12 SQL Database Server 13 UNIX Server 14 AS / 400 Server 15 12 Engine Server 16 SAP Server 17 Internet Server 18 EDI Server 100 Cross-platform of the invention Early warning system 111 system detection module 112 system detection module 113 system detection module 114 system detection module 115 system detection module 116 system detection module 117 system detection module 118 system detection module 120 Warning message database 130 Warning message sending module 200 Network system 300 Work platform (please read the precautions on the back before filling this page) The size of the paper is applicable to the Chinese national standard (CNSM4 specification (210x 297 male f) 16419 515945
經濟部智慧財產局員工消費合作社印製 [發明實施例] 以下即配合所附圖式之第丨圖及第2圖,詳細揭露說 明本發明之跨平台預警系統及方法的實施例。 請首先參閱第1圖,本發明之跨平台預警系統(如標號 1〇〇所指之虛線框所包含之部分)係用以搭配至一伺服器群u 組10,其中包括複數台伺服器,且此些伺服器具有不同之 工作平台。於第1圖所示之實施例中,此伺服器群組工〇 例如包括一 Oracle資料庫伺服器i!、一 SQL (structuredPrinted by the Employees' Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs [Invention Embodiments] The following describes in detail the embodiments of the cross-platform early warning system and method of the present invention in conjunction with Figures 丨 and 2 of the attached drawings. Please refer to FIG. 1 first. The cross-platform early warning system of the present invention (as shown by the dashed box indicated by reference numeral 100) is used to match a server group u group 10, including a plurality of servers, And these servers have different working platforms. In the embodiment shown in FIG. 1, the server group worker includes, for example, an Oracle database server i !, a SQL (structured
Query Language)資料庫伺服器12、一 UNIX伺服器13、 一 AS/400伺服器14、一 12引擎伺服器(12 Engine Server)15、一 SAP伺服器16、一網際網路伺服器(Web serVe〇17 ' 以及一電子資料交換(Electr〇nic Data Exchange, EDI)伺服器18、等等。 本發明之跨平台預警系統100可在該伺服器群組10 中之任何一台伺服器11、12、13、14、15、16、17、18 發生一系統異常狀況時,例如為程式執行失敗或磁碟空間 不足時’發出一預警訊息;並將此預警訊息透過一網路系 統200 ’例如為網際網路(Internet)或公司内部網路系統 (Intranet) ’而傳送給所有相關之系統管理人員及使用者的 工作平台300。 本發明之跨平台預警系統100至少包含以下功能模 組:⑷複數個系統偵測模組111、112、113、114、115、116、 117、118 ; (b)一預警訊息資料庫120 ;以及(c)一預警訊息 發送模組1 3 〇。 . 衣纸爪U適射13國家標準(CNS)A4 ^(2iQx297公餐) 16419 Μ —------訂---- f靖先閱讀背面之沒*事項再填寫本頁) 515945 經 濟 部 % 慧 財 差 局 員 工 消 費 合 作 社 印 製Query Language) database server 12, a UNIX server 13, an AS / 400 server 14, a 12 Engine Server 15, a SAP server 16, an Internet server (Web serVe 〇17 ', and an Electronic Data Exchange (EDI) server 18, etc. The cross-platform early warning system 100 of the present invention can be in any one of the servers 11 and 12 in the server group 10 , 13,14,15,16,17,18 When a system abnormal condition occurs, such as when a program fails to run or there is not enough disk space, a warning message is issued; and the warning message is transmitted through a network system 200, such as The Internet or the company's intranet system ("Intranet") is transmitted to all relevant system managers and users' working platforms 300. The cross-platform early warning system 100 of the present invention includes at least the following functional modules: System detection modules 111, 112, 113, 114, 115, 116, 117, 118; (b) an early warning message database 120; and (c) an early warning message sending module 130.. U Shi13 National Standard (CNS) A 4 ^ (2iQx297 public meal) 16419 Μ ------- order ---- f Jing first read the matter on the back * fill in this page) 515945 Printed by the Ministry of Economic Affairs% Huicai Bureau of Consumer Affairs Cooperatives
A7 五、發明說明(6 系統摘測模組 1Π、112、113、114、115、116、117、 118係分別整合至伺服器群組1〇中的各台伺服器u、12、 13、14、15、16、17、18的作業系統之中,用以偵測其所 屬之飼服器11、12、13、14、15 ' 16 ' 17、18是否正常運 作,亚可在偵測到一系統異常狀況時,例如為程式執行失 敗或磁碟空間不足時,產生一系統異常狀況顯示檔,其可 丨例如為一錯誤狀況記錄檔(err〇r 1〇g file)或一警示檔(^㊁讨 file),並接著立即將此系統異常狀況顯示檔傳送至預警訊 息貧料庫120。此系統異常狀況顯示檔的格式為文字檔, 並可藉由網際網路之標準檔案傳輸協定(File Transfer Protocol,FTP)而傳送至預警訊息資料庫12()。 舉例來說,若伺服器群組10中的υΝΙχ伺服器13發 生一程式執行失敗狀況,則整合於υΝΙχ作業系統中的系 統偵測模組113便會自動產生一錯誤狀況記錄檔(err〇ri〇g file)作為刖述之系統異常狀況顯示檔,並接著將此系統異 常狀況顯示檔#自FTP播案傳輸協《而傳送至預警訊息資 料庫12 0。 另再舉例來說,若伺服器群組10中的網際網路伺服 器17發生一磁碟空間不足狀況,則整合於該網際網路伺服 器17之作業系統中的系統偵測模組117便會自動產生一文 字格式之警告檔(alertfile)作為前述之系統異常狀況顯示 檔並接著將此系統異常狀況顯示檔藉由FTp檔案傳輸協 定而傳送至預警訊息資料庫12〇。 預警訊息資料庫120係用以儲存一組預設之預警訊息 ^--------- (請先閱讀背面之注意事項再填寫本頁) 515945 A7A7 V. Description of the invention (6 System test module 1Π, 112, 113, 114, 115, 116, 117, 118 are respectively integrated into each server u, 12, 13, 14 in server group 10 , 15, 16, 17, 18 operating systems to detect whether the feeders 11, 12, 13, 14, 15 '16' 17, 18 that it belongs to are operating normally. When the system is abnormal, for example, when a program fails to run or the disk space is insufficient, a system abnormal status display file is generated, which can be, for example, an error status record file (err〇r 10g file) or a warning file (^ (Discuss file), and then immediately send this system abnormal condition display file to the warning information poverty storage 120. The format of this system abnormal condition display file is a text file, which can be transmitted through the Internet's standard file transfer protocol (File Transfer Protocol (FTP) and send it to the warning message database 12 (). For example, if a program execution failure occurs in the υΝχ server 13 in the server group 10, the system detection integrated in the υΝχ operating system Module 113 will automatically generate an error condition The file (erroriog file) is described as the system abnormal status display file, and then this system abnormal status display file # is sent from the FTP broadcast transmission agreement to the warning information database 12 0. Another example That is to say, if an insufficient disk space occurs on the Internet server 17 in the server group 10, the system detection module 117 integrated in the operating system of the Internet server 17 will automatically generate a text A format alert file is used as the aforementioned system abnormal status display file, and then the system abnormal status display file is transmitted to the early warning information database 120 through the FTp file transfer protocol. The early warning information database 120 is used to store a Preset warning message for the group ^ --------- (Please read the precautions on the back before filling this page) 515945 A7
頁 I 1 j 請 先 閱 讀 背 面 之 注 意 事 項 再攀 填零 寫裝 本衣 訂 # 515945 經濟部智慧財•產局員工消費合作社印製 A7 五、發明說明(8 ) 自接著進行步驟S5,令預警訊息發送模組13〇將警示訊 1 乂電子郵件方式透過網路系統200而傳送至所有相 關=系統&理人員及使用者的卫作平台3GG,#此而讓系 、*’吕理人員對伺服器群組1G中發生系統異常狀況的飼服 器進行維護工作。 相較於習知技術,本發明之跨平台預警系統及方法可 於飼服器群組中的任何—台伺服器發生系統異常狀況時, P自動發出一警不訊息’藉此而通告所有的系統管理人 員及使用纟,讓系統管理人員不必使用人工逐台檢視即可 知道伺服器群組中的那一台伺服器發生系統異常狀況,立 即可針對該異常的伺服器進行維護工作。本發明因此較習 知作法具有更佳之進步性及實用性。 以上所述僅為本發明之較佳實施例而已,並非用以限 定本發明質技術内》㈣圍。I發明之ι質技術内容 係廣義地定義於下述之申請專利範圍中。任何他人所完成 之技術實體或方法,若是與下述之申請專利範圍所定2者 為完全相同、或是為-種等效之變更’均將被視為涵蓋於 此專利範圍之中。 衣紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) 16419 . ---^--------- (請先閱讀背面之注意事項再填寫本頁)Page I 1 j Please read the precautions on the back before filling in the zero-book book. # 515945 Printed by the Ministry of Economic Affairs, Intellectual Property, Industry Bureau, and Consumer Cooperatives. A. V. Description of the invention (8) Then proceed to step S5 for warning. The message sending module 13 will transmit the warning message 1 via email system 200 to all relevant = system & management personnel and user's health platform 3GG. Perform maintenance work on the feeders in which the system abnormal condition occurs in the server group 1G. Compared with the conventional technology, the cross-platform early-warning system and method of the present invention can automatically send a warning no message when any server in the feeder group has a system abnormal condition, thereby notifying all System administrators and users can let system administrators know which server in the server group has a system abnormality without using manual inspection one by one, and can immediately perform maintenance on the abnormal server. Therefore, the present invention has better progress and practicability than the conventional method. The above descriptions are merely preferred embodiments of the present invention, and are not intended to limit the scope of the present invention. The technical content of the invention is broadly defined in the scope of the following patent applications. Any technical entity or method completed by others, if it is the same as the two specified in the scope of patent application below, or is an equivalent change 'will be considered to be covered by this patent scope. The size of the clothing paper applies to the Chinese National Standard (CNS) A4 (210 X 297 mm) 16419. --- ^ --------- (Please read the precautions on the back before filling this page)