TW571209B - Method and system of forwarding system diagnostic message - Google Patents
Method and system of forwarding system diagnostic message Download PDFInfo
- Publication number
- TW571209B TW571209B TW90110217A TW90110217A TW571209B TW 571209 B TW571209 B TW 571209B TW 90110217 A TW90110217 A TW 90110217A TW 90110217 A TW90110217 A TW 90110217A TW 571209 B TW571209 B TW 571209B
- Authority
- TW
- Taiwan
- Prior art keywords
- message
- diagnostic
- code
- messages
- scope
- Prior art date
Links
Abstract
Description
571209 經濟部智慧財產局員工消費合作社印製571209 Printed by the Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs
^,丨丨丨丨丨丨丨訂丨 丨請先閱讀背面之 A7 五、發明說明(/ )^, 丨 丨 丨 丨 丨 丨 Order 丨 丨 Please read the A7 on the back. V. Invention Description (/)
【本發明之領域J 本發明係闕於系統診斷訊息發送之方法及其系統。 【本發明之背景】 一般電腦程式或是網路舰器在 設計錯誤或因接受使用去 予了犯因為裎支 —。當1—=產/執行時的錯誤(〜 錯誤而使效料低甚幻^0使料為處理此-在系統主機上或只7。而傳統電腦錯誤只顯示 員並無法及時得知此:;Γ 系統檀案中’系統管理 是管理者自行Mi 須透過使用者發現通知或 系統紀錄檔案方能發現問題,因此需 有一個此夠監視網站或程式運作的系統來通知管理者2 便能夠即時處理問題維持網站正常運作。 供服一圖’系統95為一偵測伺服器,系統9〇為提 供服務之飼服器其上包含應用程式9卜木馬程式92(ί 、=應:系統95之偵測訊息);系統9〇與系統95透過網路 連接。官理者"由系、統95上發出訊息經由網路經系統9〇 上之木馬程式92回應系統狀態訊息。管理者99可藉由系 統95 了解系統9〇的狀態。然而管理者”雖然可以不必在 系、、先9 0但仍需要一系統9 5來進行債測,亦需隨時待在系 統95才旎夠接收到訊息,此外木馬程式”所能提供資訊 。若系統90包含之木馬程式92無法回應系統%的訊 息時,系統95僅知系統9〇發生問題但無從得知問題所 在,管理員必須到系統9〇所在檢查後才能知道 因此解決上述問題是有必要的。 在。[Field of the invention J The present invention relates to a method and a system for transmitting system diagnostic messages. [Background of the invention] General computer programs or network warships have been misdesigned or accepted for use due to misuse. When 1— = production / execution error (~ error makes the effect very low ^ 0 makes the material to handle this-on the system host or only 7. The traditional computer error only shows the staff and can not know this in time: ; Γ In the system case, 'system management is the manager's own Mi. Only by user discovery notice or system log file can problems be found, so a system that can monitor the operation of the website or program to notify the manager 2 can be real-time Handle the problem to maintain the normal operation of the website. Supply a picture 'System 95 is a detection server, System 90 is a feeding device for providing services, which contains the application program 9 trojan horse program 92 (ί, = 应: System 95 of (Detection message); system 90 and system 95 are connected through the network. The official manager "responds to the system status message sent by the department 95 and the system 95 through the Trojan Horse 92 on the system 90. The manager 99 can Through the system 95 to understand the status of the system 90. However, the manager "may not need to be in the system, first 90, but still need a system 95 to carry out debt testing, and also need to stay in the system 95 at any time to receive the message In addition to the Trojan horse " For information. If the Trojan horse program 92 included in the system 90 cannot respond to the message of the system%, the system 95 only knows that the system 90 has a problem but cannot know the problem. The administrator must go to the system 90 to check to find out how to solve the above. The question is necessary.
本纸張尺度適用中各⑵0 X 297公釐) 571209 A7 五 經濟部智慧財產局員工消費合作社印製 、發明說明(2) 【本發明之概述】 本U之主要目的係在提供—可發送診斷訊 統,該系統會主動自共从I t t 尔 曰動自我移斷出程式、邏輯、或操作錯誤, 在_生時發送電子郵件(偏)、ICQ(網路 :)、傳呼器(BBCal。、手機簡訊給所有設定好的㈣ ^透過主動即時的自我診斷以及結合現代各種通訊裝備 ;:ΓΠ輕鬆的在最短時間獲知錯誤通報,而: 象匕去樣,*一般使用者操作時發現錯誤後, 關客服人員後,再間接轉達仏 修復。 受辨運、、,口負貝工私師或糸統管理者來 開於ίίΓ之另—主要目的係在大幅加速程式開發,能在 幵:广王中,結合診斷訊息處理模組化程式而開發的應用 即使應用程式尚未完成,亦可發送各種除錯資訊, 至主動告知開發者錯在哪裡,使開發者輕鬆收集錯誤訊 心’迅速撰寫程式。這種方式讓除錯的成本減輕到最低。 且由,軟體開發過程所收集的程式錯誤訊息,可以統計 出大家常犯的錯誤,並針對問題來施行教育訓練。 士本發明之次一目的在於開發應用程式(或軟體系統) 1,、不需做很大的改變,只要在應用程式的部分或全部之 私式組加上外包偵測指令以及診斷訊息產生指令即可。 為達成上述之目的,本發明可發送診斷訊息之系統包 Ά用程式以及诊斷訊息處理模組化程式,使得當系、統發 生=況時會主動將診斷訊息透過網路發送出去,:便遠端 之監控者可以藉由訊息接收器(如電子郵件、 接到診斷訊息。 機間 ^ 尺度適⑵。: 571209 A7 五、發明說明(3 ) 其中應用程式(此所指之應用程式泛指提供服務之軟 體’因此包括軟體系統)包括複數之程式組,其中至少部 分之程式組具有外包偵測指令以及診斷訊息產生指令,該 外包偵測指令係處理所對應程式組在執行時出現不正常之 狀況而設計,而診斷訊息產生指令係當不正常之狀況產生 時系統所產生之系統診斷訊息。 而診斷訊息處理模組化程式,包括下列之程式碼: 系統診斷訊息接收碼:用以接收診斷訊息; 註解訊息紀錄碼,用以根據系統診斷訊息而設定之 5主解sfL息; 紀錄診斷訊息碼,用以紀錄診斷訊息於可發送診斷 訊息之系統内; 訊息接收器紀錄碼,用以紀錄或設定接收診斷訊息 之訊息接收器之相關資訊;以及 發送註解訊息碼,用以發動發送部分或全部之系統 診斷訊息至訊息接收器。 由於本發明構造新穎,能提供產業上利用,且確有增 進功效,故依法申請發明專利。 【圖式簡單說明】 第1圖係習知監控伺服器運作是否正常之示意圖。 第2圖係本發明可發送診斷訊息之系統之示意圖。 第3圖係本發明關於系統診斷訊息發送之流程圖。 第4圖係本發明關於應用程式之軟體架構圖。 (請先閱讀背面之注意事項再9本頁) 訂: 線_ 經濟部智慧財產局員工消費合作社印製(The size of this paper is 0 X 297 mm.) 571209 A7 Printed by the Consumers ’Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs, and the description of the invention (2) [Summary of the invention] The main purpose of this U is to provide-can send diagnosis Informatics, the system will actively remove program, logic, or operation errors from it, and send e-mails (partial), ICQ (network :), and pager (BBCal) at birth. 、 Mobile newsletter to all the settings㈣ ^ Through active real-time self-diagnosis and the combination of modern communication equipment;: ΓΠ easily get the error notification in the shortest time, and: like a dagger, when the general user finds an error during operation After you contact the customer service staff, you will indirectly pass on the repair. You are identified by a private worker or a system administrator to open another one. The main purpose is to greatly accelerate the development of the program, which can Wang Zhong, an application developed in combination with a diagnostic message processing modular program can send various debugging information even if the application has not been completed, to proactively inform the developer of what went wrong, so that the developer can easily collect The error message is written quickly. This method reduces the cost of debugging to the minimum. And the program error messages collected during the software development process can be used to count the common mistakes made by everyone and implement education and training for the problems. The second purpose of the present invention is to develop application programs (or software systems). 1. No major changes are required, as long as some or all of the private groups of the application program are added with outsourced detection instructions and diagnostic message generation instructions. In order to achieve the above-mentioned object, the present invention can send a diagnostic message system package application program and a diagnostic message processing module program, so that when the system or system occurs, the diagnostic message will be actively sent through the network. : The remote monitor can use a message receiver (such as e-mail, receive a diagnostic message. Inter-machine ^ scale is appropriate.) 571209 A7 V. Description of the invention (3) Among them, the application (the application referred to here) Broadly refers to software that provides services' and therefore includes software systems) including plural program groups, at least some of which have outsourcing detection instructions to The diagnostic message generating instruction is designed to deal with abnormal conditions that occur when the corresponding program group is executed, and the diagnostic message generating instruction is a system diagnostic message generated by the system when abnormal conditions occur. The message processing module program includes the following codes: System diagnostic message receiving code: used to receive diagnostic messages; Annotation message record code, which is used to set 5 main solutions sfL information based on system diagnostic messages; Record diagnostic message codes, Used to record diagnostic messages in a system that can send diagnostic messages; Message receiver log codes to record or set relevant information of the message receivers that receive diagnostic messages; and to send annotation message codes to initiate the sending of some or all of the The system diagnoses the message to the message receiver. Because the invention has a novel structure, can provide industrial use, and indeed has enhanced efficacy, it has applied for an invention patent in accordance with the law. [Brief description of the diagram] Figure 1 is a schematic diagram of whether the monitoring server is operating normally. FIG. 2 is a schematic diagram of a system capable of sending diagnostic messages according to the present invention. FIG. 3 is a flowchart of sending a system diagnostic message according to the present invention. FIG. 4 is a software architecture diagram of an application program according to the present invention. (Please read the precautions on the back and then 9 pages) Order: Line _ Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs
571209 A7 五、發明說明(+ ) 第5圖係本發明關於診斷訊6 ^ a < 1 1也恩處理杈組化程式之軟體架構 圖。 【圖號說明 可發送診斷訊息之系統1〇應用程式3〇 外包偵測指令3 2 診斷訊息處理模組化程式40 註解訊息紀錄碼4 2 訊息接收器紀錄碼4 4 sfl息接收器6 〇 程式組3 1 a〜3 1 e 診斷訊息產生指令3 3 系統診斷訊息接收碼4 1 紀錄診斷訊息碼4 3 發送註解訊息碼4 5 可接收電子郵件之裝置6 1 可接收ICQ(網路訊息傳呼)裝置62 經濟部智慧財產局員工消費合作社印製 可接收簡訊之手機6 3 訊息接收伺服器7 0 IC Q伺服器7 2 BBCall伺月艮器74 伺服器9 0 木馬程式9 2 管理者9 9 傳呼器(BBCall ) 64 電子郵件伺服器7 1 手機伺服器7 3 網際網路8 0 應用程式9 1 監控電腦9 5 較佳具體實施例之詳細說明 為能讓貴審查委員能更瞭解本發明之技術内容,特 舉較佳具體實施例說明如下。 571209 A7571209 A7 V. Description of the invention (+) Figure 5 is a software architecture diagram of the present invention regarding diagnostic information 6 ^ a < 1 1 [Figure No. illustrates a system that can send diagnostic messages. 10 applications. 3 outsourcing detection instructions. 3 2 diagnostic message processing module program. 40 annotation message record code. 4 2 message receiver record code. 4 4 sfl message receiver. 6 program. Group 3 1 a ~ 3 1 e Diagnosis message generation instruction 3 3 System diagnosis message reception code 4 1 Record diagnosis message code 4 3 Send comment message code 4 5 Device that can receive email 6 1 Can receive ICQ (Internet message paging) Device 62 Printed by the consumer property cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs, a mobile phone that can receive SMS 6 3 Message receiving server 7 0 IC Q server 7 2 BBCall server 74 Server 9 0 Trojan program 9 2 Manager 9 9 Paging (BBCall) 64 E-mail server 7 1 Mobile phone server 7 3 Internet 8 0 Application 9 1 Monitoring computer 9 5 The detailed description of the preferred embodiment is to enable your review committee to better understand the technology of the present invention The contents, and specific preferred embodiments are described below. 571209 A7
571209 A7 ___B7 五、發明說明(6 數位助理PDA,可上網手機等),可接收簡訊之手機^ ,及傳呼器(BBCall) 64等等;而對應訊息接收器⑼之 汛息接收伺服器70如電子郵件伺服器7l,icq伺服器 7 2手機伺服器7 3以及B B C a 11伺服器7 4。 二以下即詳細說明本發明之應用程式3 〇的特徵以及診斷 訊息處理模組化程式4〇,而在本說明書亦附上以^以語 法寫的程式範例,分別為『A.程式組範例』及『β·診斷訊 息處理模組化程式範例』,請與圖式一併參 (請先閱讀背面之注意事項再本頁) I.衣 經濟部智慧財產局員工消費合作社印製 請參考第4圖關於本發明應用程式3〇之軟體架構圖。 本發明之應用程式3G與傳統之應用程式相同包括有複數個 程式組3 1,每-程式組通常由複數個程式指令碼所組成, 通#為爾後方便維護程式或是為撰寫成具有邏輯或模組化 之程式’ t组化之程式組是有必要的。纟中第4圖顯示程 式組3 1a,3 1b,3 1C,3 Id以及3 le。而本發明之應用程式 3 0的特被在於應用程式3 〇的部分或全部之程式組3 1包括 有外包偵測指令32以及診斷訊息產生指令33,譬如在實 施例中’程式組3la,31b以及31d具有外包㈣指令32a, 32b以及32d,以及診斷訊息產生指令33a, 33b以及 33d 〇 外包偵測指令32之意義在於如果其負責之程式組3i 發生錯誤’外包摘測指令32可以使程式組川兆離錯誤 點’繼續執行應用程式’並交由料訊息產生指令33處 理,因此就不會造成系統無法運作之嚴重情況。這種程式 組31在執行上的錯誤(譬如邏輯上之錯誤),可能是因為 • H ϋ 1 ϋ n < -\·§τ· -線- 本紙張尺度適用中國國家標準(CNS)A4規格(210 297 0釐) 571209 A7571209 A7 ___B7 V. Description of the invention (6 digital assistant PDA, mobile phone with internet access, etc.), mobile phone that can receive text messages ^, pager (BBCall) 64, etc .; and the flood receiving server 70 corresponding to the message receiver ⑼ Email server 7l, icq server 7 2 mobile phone server 7 3 and BBC a 11 server 74. The following is a detailed description of the features of the application program 30 of the present invention and the diagnostic message processing module program 40, and a program example written in ^ in grammar is attached to this specification, which is "A. Program Group Example" And "β · diagnostic message processing module program example", please refer to the diagram together (please read the precautions on the back before this page) I. Printed by the employee consumer cooperative of the Intellectual Property Bureau of the Ministry of Clothing and Economy, please refer to Section 4 FIG. Is a software architecture diagram of the application program 30 of the present invention. The application program 3G of the present invention is the same as the traditional application program, and includes a plurality of program groups 31. Each program group is usually composed of a plurality of program instruction codes. It is convenient to maintain the program or to write a logical or Modular programs are not necessary. Figure 4 in the figure shows the program groups 3 1a, 3 1b, 3 1C, 3 Id, and 3 le. The application program 30 of the present invention is characterized in that part or all of the program group 31 of the application program 30 includes an outsourcing detection instruction 32 and a diagnostic message generation instruction 33. For example, in the embodiment, the 'program group 3la, 31b' And 31d has outsourcing instructions 32a, 32b, and 32d, and diagnostic message generation instructions 33a, 33b, and 33d. The significance of outsourcing detection instructions 32 is that if an error occurs in the program group 3i responsible for it, 'outsourcing test instructions 32 can make the program group Chuan Zhaoli's error point 'continue to run the application program' and hand it over to the information message generation instruction 33, so it will not cause a serious situation that the system cannot operate. This program group 31's execution error (such as a logical error) may be due to • H ϋ 1 ϋ n <-\ · §τ · -line-This paper standard applies to China National Standard (CNS) A4 (210 297 0%) 571209 A7
五、發明說明(7 ) 式指ΐ碼在撰寫時沒有考慮到某些狀況, ^且 生邏輯上之錯誤而有可能造成應用程式 3 0錯亂’甚至造成系統} Q無法運作之嚴重情況。表 程^組31範例』中,指令即為Java語法寫的外包债 測札令32,而{}所包住之複數個程式指令碼都為外、 測指令3 2所監控。 貝 0斷Λ息產生指令3 3之意義在於外包偵測指令3 2所 監控之程式組31若在執行上發生錯誤,則進行診斷訊 生指令33。在『Α.程式組31範例』中,catch()(取得: 斷訊息’並呼叫診斷訊息處理模組化程式4〇 }即為語 法寫的診斷訊息產生指令3 3。 第5圖係本發明關於診斷訊息處理模組化程式4〇之軟 體架構圖。診斷訊息處理模組化程式4()包括有系統診斷訊 息接收碼41,註解訊息紀錄碼42,紀錄診斷訊息碼43, 訊息接收器紀錄碼4 4,以及發送註解訊息碼4 5。關於診 斷汛息處理模組化程式4 0之說明於敘述第3圖關於系統診 斷訊息發送之流程圖一併說明。 以下請參考第3圖: 步驟30 1 : 一旦具有外包積測指令32以及診斷訊息產生指令33 之程式組3 1在執行上發生錯誤時,則由系統診斷訊息接收 碼4 1接收系統診斷訊息(系統診斷訊息為系統本身^生之 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297必每) — (請先閱讀背面之注意事項本頁) 訂 線 經濟部智慧財產局員工消費合作社印製 571209 A7 發明說明(8) 診斷訊息,譬如以java語法寫的程式在執行上發生錯誤 時,自己會產生如java.lang Nullp〇interExcepti〇n 的系統診斷訊息)。在『B ·診斷訊息處理模組化程式範 例』中有標示系統診斷訊息接收碼4丨之指令,請一併參 考。 步驟3 02 : 依據#斷訊息讀取註解訊息。由於系統診斷訊息不一 定能清楚說明產生錯誤之原因,因此有時候程式設計師可 以根據系統診斷訊息撰寫註解訊息,此部分即為註解訊息 紀錄碼42,註解訊息紀錄碼42之内容可包含程式指令編 號、產生曰期及時間’可產生如Server Name: http: "awms-yes.netforce.com/awms/ve s.Entry?nii11 Log一doRun.class: doPost: Exception 的註解訊息。 在 B · δ乡斷訊息處理模組化程式範例』中有標示註解訊息 紀錄碼4 2,請一併參考。 步驟3 03 : 紀錄系統診斷訊息以及註解訊息以形成診斷訊息,此 部分由紀錄診斷訊息碼43負責,在本說明書診斷訊息之定 義包括系統診斷訊息以及註解訊息,此步驟之用意僅是單 純將系統診斷訊息以及註解訊息紀錄下來,以便日後追蹤 或查詢等目的之用。在『Β ·診斷訊息處理模組化程式範 例』中有標示紀錄診斷訊息碼4 3,請一併參考。 步驟3 04 : 本紙張尺度綱巾0目家標準(CNS)A4規格(210 X 297战) (請先閱讀背面之注意事項再本頁)V. Description of the invention (7) The formula refers to a serious situation in which the code was not considered when writing, and a logical error may cause an application program 30 to be confused ’or even cause the system to fail. In Schedule ^ Group 31 Example ", the instruction is the outsourcing debt test instruction 32 written in Java syntax, and the multiple program instruction codes enclosed by {} are monitored by the external test instruction 32. The significance of the command 3 3 is to generate a command 33 if the program group 31 monitored by the outsourcing detection command 32 is wrong, and then execute a diagnostic command 33. In "A. Program Group 31 Example", catch () (Get: Break message 'and call the diagnostic message processing module program 40) is to generate a command for the diagnostic message written by the syntax 33. Figure 5 is the present invention The software architecture diagram of the diagnostic message processing module program 40. The diagnostic message processing module program 4 () includes a system diagnostic message receiving code 41, an annotation message record code 42, a diagnostic message record code 43, and a message receiver record. Code 4 4 and sending comment message code 4 5. The description of the diagnostic flood processing module program 40 is described in the description of Figure 3 and the flowchart of the system diagnostic message sending. Please refer to Figure 3 below: Steps 30 1: Once there is a program group 3 with outsourced accumulation measurement instruction 32 and diagnostic message generation instruction 33 1 when an error occurs in execution, the system diagnostic message receiving code 4 1 receives the system diagnostic message (the system diagnostic message is generated by the system itself) The paper size of this paper applies the Chinese National Standard (CNS) A4 specification (210 X 297 must be) — (Please read the precautions on the back page first). 571209 A7 Description of the invention (8) Diagnostic messages. For example, when a program written in the Java syntax has an error in execution, it will generate a system diagnostic message such as java.lang Nullpinterintercepti). In "B · Diagnostic Message Processing Module There is an instruction in the "Programming Example" that indicates the system diagnostic message receiving code 4 丨, please refer to it together. Step 3 02: Read the comment message according to # 断 信息. Since the system diagnostic message may not clearly explain the cause of the error, Therefore, sometimes a programmer can write a comment message based on the system diagnostic message. This part is the comment message record code 42. The content of the comment message record code 42 can include the program instruction number, the date and time of generation. 'Server Name: http: " awms-yes.netforce.com/awms/ve s.Entry? nii11 Log-doRun.class: doPost: Exception comment message. It is marked in "B · δ Countryside Message Processing Modular Program Example" Note message record code 4 2, please refer to it together. Step 3 03: Record system diagnostic messages and annotation messages to form diagnostic messages. Message code 43 is responsible. The definition of diagnostic messages in this manual includes system diagnostic messages and annotation messages. The purpose of this step is to simply record the system diagnostic messages and annotation messages for future tracking or query purposes. · The diagnostic message processing module program example "has a record of the diagnostic message code 4 3, please refer to it together. Step 3 04: This paper size outlines the 0 standard (CNS) A4 specification (210 X 297) ( (Please read the notes on the back before this page)
--線_ 經濟部智慧財產局員工消費合作社印製 571209 B7 五、發明說明(f ) 上所f取:f:診斷訊息之訊息接收器60之相闕資訊。如 斤述,u妾收器60譬如可為可接收電子郵件之 :1 ;可接二CQ(網路訊息傳啤)裝置62,可接收簡訊 機3?及傳呼器(BB⑽)“等;因此訊息接心 之相關資訊可分別為電子郵件地址,吻 呼;,號碼手機號碼以及BBCaU號碼,此部分訊息: 紀錄碼4 4負責。名『η,齡ώ^ ^ 、、 ·σ》斷汛心處理模組化程式範例』中 有知不訊息接收器紀錄碼44,請一併參考。 步驟3 05 : 發動發送診斷訊息至訊息接收請。由於透過步驟 3〇4即知道要將診斷訊息送到哪一位管理者的訊息接收写 Μ 此發送註解訊息碼45所要做的工作即是呼叫寄送 U式碼’將訊息傳給訊息接收伺服器。纟『Β .診 U理拉組化程式範例』中有標示註解訊息碼4 $之 子,請一併參考。 系統1〇亦可包含電子郵件伺服器71,此時由系統10 σ不透過、”罔b網路8 〇直接將訊號傳送到在系統1 0上的電 子郵件伺服器71,電子郵件接收器61便可以直接連上系 統10上的電子郵件伺服器71接收,減少因系統1〇與電子 郵件伺服器71間網路發生問題而無法將訊息送出的機會。 乂、、、亦可包含1 C Q伺服器7 2,此時由系統1 〇可經由網 際、’’罔路8〇直接將訊號傳送給IC Q接收裝置62,減少因系統 IC Q伺服為72間網路發生問題而無法將訊息送出的機 注 意 事 頁 經濟部智慧財產局員工消費合作社印製--Line_ Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs 571209 B7 V. f taken from the description of the invention (f): f: relative information of the message receiver 60 of the diagnostic message. As mentioned above, the u receiver 60 can be, for example, capable of receiving e-mail: 1; it can be connected to two CQ (Internet Message Passing) devices 62, can receive SMS 3? And pager (BB⑽), etc .; The relevant information of the message contact can be email address, kiss, number, mobile phone number and BBCaU number, this part of the message: record code 4 4 is responsible. Name "η , 龄 ώ ^ ^ ,, · σ" There is an information receiver record code 44 in the "Processing Modified Program Example". Please refer to it together. Step 3 05: Start sending a diagnostic message to the message receiver. Because you know that you want to send the diagnostic message to step 304. Which manager's message is received and written? The job of sending a comment message code 45 is to call and send a U-code to send the message to the message receiving server. "The son of the comment message code 4 $, please refer to it together. System 10 can also include an email server 71. At this time, the system 10 σ does not pass through," 罔 b network 8 〇 directly sends the signal to the Email server 71 on system 10, email 61 can receive e-mail system on the server directly connected on 71 of 10 receives, reducing the chance because of a problem with the system occurs 1〇 electronic mail server 71 network and messages can not be sent.乂 ,,, and may also include 1 CQ server 72. At this time, the system 10 can directly transmit the signal to the IC Q receiving device 62 via the Internet, and 罔 路 80, reducing the number of IC Q servos for the system to 72. A machine that cannot send messages due to a problem with the Internet. Pages printed by the Intellectual Property Bureau of the Ministry of Economic Affairs.
本紙張尺㈣《τϊϋ^^)Α4規格(21〇_ χ 297公釐) 571209 A7Size of this paper "τϊϋ ^^) A4 size (21〇_ χ 297 mm) 571209 A7
五、發明說明(/£?) 『A ·程式組3 1翁.你h : 主要係判斷使用者為前端或後端,決定程式内的參 數該取用哪種類型。 * <p>Constructor將時間變數、session初始化 < 〇 /p> * <p>判斷該使用者為前端或後端,決定程式内的 參數該取用哪種類型</p> */ public Log(HttpS ervletRequest request, HttpServletResponse response,long plTime —Start) throws IOException,SQLException { //外包偵測指令32起始 try { SO = new Shared_Obj ect(request, response); conn = SO.getDb_Connect(0); this.lTime_Start = plTime_Start; SO.getNow_Date(new java.util.Date(), saNow); ^紙張尺度適用中國國家標準(CNS)A4規格(210 X 297 4½ ) ------------^^裝--- (請先閱讀背面之注音?事項^^^寫本頁) 一*0, ·- -丨線. 經濟部智慧財產局員工消費合作社印製 571209 A7V. Description of the invention (/ £?) "A · Program group 3 1 Weng. You h: It is mainly to determine whether the user is the front end or the back end, and decide which type of parameters to use in the program. * < p > Constructor initializes time variables and sessions < 〇 / p > * < p > determines whether the user is a front-end or back-end, and decides which type of parameters in the program to use < / p > * / public Log (HttpS ervletRequest request, HttpServletResponse response, long plTime —Start) throws IOException, SQLException {// start outsourcing detection instruction 32 try {SO = new Shared_Obj ect (request, response); conn = SO.getDb_Connect (0 ); this.lTime_Start = plTime_Start; SO.getNow_Date (new java.util.Date (), saNow); ^ The paper size applies the Chinese National Standard (CNS) A4 specification (210 X 297 4½) -------- ---- ^^ Installation --- (Please read the phonetic on the back? Matters ^^^ Write this page) One * 0, ·--丨 line. Printed by the Consumers ’Cooperative of Intellectual Property Bureau of the Ministry of Economic Affairs 571209 A7
五、發明說明(") sDate_Now = saNow[0]; sTime_Now = s aN o w [ 1 ]; sYY = saNo w[0]. substring( 05 4); sMM = saNow[0]. substring(5 , 7); sDD = s aNo w [ 0 ]. s ub s tr i ng ( 8 , 10); sHH = saNow[l].substring(0, 2); sMM_T = saNow[l].substring(3,5); sSS = s aN o w [ 1 ] · s u b s t r i n g (6,8); sess = request.getSession(true); // out = response . get Writer(); sServer —Type = request.getRequestURI(); if(sServer_Type ! = null) { if(sServer — Type.toUpperCase().indexOf(’’WEB") ! =-1) sServer —Type =丨丨 WEB 丨丨; else sServer_Type = nAWMS”; 經濟部智慧財產局員工消費合作社印製 } //end if(sServer_Type ! = null) sess = request. getS ession(true);5. Description of the invention (") sDate_Now = saNow [0]; sTime_Now = s aN ow [1]; sYY = saNo w [0]. Substring (05 4); sMM = saNow [0]. Substring (5, 7 ); sDD = s aNo w [0]. s ub s tr i ng (8, 10); sHH = saNow [l] .substring (0, 2); sMM_T = saNow [l] .substring (3,5) ; sSS = s aN ow [1] · substring (6, 8); sess = request.getSession (true); // out = response. get Writer (); sServer —Type = request.getRequestURI (); if (sServer_Type ! = null) {if (sServer — Type.toUpperCase (). indexOf ('' WEB ")! = -1) sServer —Type = 丨 丨 WEB 丨 丨; else sServer_Type = nAWMS ” Printed by the cooperative} // end if (sServer_Type! = Null) sess = request. GetS ession (true);
String sNode_No = SH.TranslateEncoding(request.getParameter(,fiNod 本紙張尺度適用中國國家標準(CNS)A4規格(·210 x 297 ) 571209 A7 ___B7_ 五、發明說明(/7 ) e_No’’),EO.sAwms_Server_Encode_Type, EO.sPage_Encode_Type); (請先閱讀背面之注意事項再本頁) if (!sNode_No.equals(nn)) { iNode —No = Integer.parseInt(sNode_No); sFunction_Name 二 objTree.getTreeNodeName(objTree.getTreeNodeFa therNo(iNode_No)); sess.putValue(’’sFunction_Name’’, sFunction_Name); sess.putValue(’’sNode_No’’,sNode — No); } else { sFunction_Name = (String) sess.getValue(ffsFunction_Namef,); sNo de_No = SH.TranslateEncoding((String) sess.getValue(" sNode — No"), EO.sPage Encode Type,EO.sPage Encode Type); if (!sNode_No.equals("丨丨)){ iNo de_No = 經濟部智慧財產局員工消費合作社印製String sNode_No = SH.TranslateEncoding (request.getParameter (, fiNod) This paper size applies to Chinese National Standard (CNS) A4 specifications (· 210 x 297) 571209 A7 ___B7_ V. Description of the invention (/ 7) e_No '', EO.sAwms_Server_Encode_Type , EO.sPage_Encode_Type); (Please read the notes on the back first and then this page) if (! SNode_No.equals (nn)) {iNode —No = Integer.parseInt (sNode_No); sFunction_Name two objTree.getTreeNodeName (objTree.getTreeNodeFa therNo (iNode_No)); sess.putValue (`` sFunction_Name '', sFunction_Name); sess.putValue (`` sNode_No '', sNode — No);} else {sFunction_Name = (String) sess.getValue (ffsFunction_Namef,); sNo de_No = SH.TranslateEncoding ((String) sess.getValue (" sNode — No "), EO.sPage Encode Type, EO.sPage Encode Type); if (! sNode_No.equals (" 丨 丨)) {iNo de_No = Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs
Integer.parseInt(sNode__No); } / /1 r v,外包偵測指令3 2結東 //診斷訊息產生指令3 3起始 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297 4½ ) 571209 Λ7 B7 五、發明說明(〃) catch(Exception e) { //System, out.println(e.getMessage〇); //上述做法僅產生系統訊息 SO.Error__Handler( 1 , request, response,11 Ref. class: Constructor: ’’,e.toString〇); / /呼叫並將錯誤訊息傳遞到E r r o r H a n 1 d e r W/catch,診斷訊息產生指令33結東 } "public L o g () ///////////////////////////////////////////////////////// ///////// ///////////////////////////////////////////////////////// ///////// ///////////////////////////////////////////////////////// ///////// (請先閱讀背面之注意事項再本頁) f -線· 『B .診斷訊息處理模組化裎式4 0範例』: 經濟部智慧財產局員工消費合作社印製 * <p>發生Exception或任何錯誤時,需要完成的動 作。</p> * <p> 包括·· </p> * <li> reset所有變數</li> * <li>資料庫重新建立連線<Hi> 本紙張尺度適用中國國家標準(CNS)A4規格mo X 297 4¾ ) 571209 A7 __ B7 五、發明說明(/夺) * <li> 紀錄 Error Log File</li> * <li>傳遞訊息給管理者</li> */ , (請先閱讀背面之注意事項本頁) //系統診斷訊息接收碼4 1 public void Error —Handler(int iType,String sError —Message,String sException) { // iType = 1:送訊息給管理者,重連資料庫,重新 更新版型,重讀ini檔,紀錄Log File // iType = 2:Debug用,不送送訊息給管理者,不 重連資料庫,不更新版型,只紀錄Log File // iType = 3:送訊息給管理者,不重連資料庫,不 更新版型,紀錄L 〇 g F i 1 e // iType = 4:重連資料庫用:不送訊息給管理者, 重連資料庫,不更新版型,紀錄Log File // System. out.println(sError —Message); // System.out.println(MException: ’’ + sException); 經濟部智慧財產局員工消費合作社印製 try { synchronized (this) { ///////////////////////////////// //1.將錯誤訊息送入Log檔 //////////////////////////////// 本紙張尺度適用中國國家標準(CNS)A4規格(210 χ 297 d釐) 571209 A7 _B7_ 五、發明說明(A )Integer.parseInt (sNode__No);} / / 1 rv, outsourcing detection instruction 3 2 end east // diagnostic message generation instruction 3 3 start This paper size applies the Chinese National Standard (CNS) A4 specification (210 X 297 4½) 571209 Λ7 B7 V. Description of the invention (〃) catch (Exception e) {// System, out.println (e.getMessage〇); // The above method only generates system messages SO.Error__Handler (1, request, response, 11 Ref. class: Constructor: '' , e.toString〇); // Call and pass the error message to Error H an 1 der W / catch, diagnostic message generation instruction 33 东) " public L og () /// ///////////////////////////////////////////////////////// //// ////////// ////////////////////////////////////////// /////////////////////////////// ///////////////////////// ///////////////////////////////////////////////// (Please read the back first (Notes on this page) f-line · "B. Diagnostic Message Processing Modularization Model 4 0 Example": Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs * < p > When an exception or any error occurs, you need Completed action. < / p > * < p > Includes < / p > * < li > reset all variables < / li > * < li > Re-establish database connection < Hi > This paper standard applies China National Standard (CNS) A4 specification mo X 297 4¾) 571209 A7 __ B7 V. Description of Invention (/) * < li > Record Error Log File < / li > * < li > Pass the message to the manager < / li > * /, (Please read the caution page on the back first) // System diagnostic message receiving code 4 1 public void Error —Handler (int iType, String sError —Message, String sException) {// iType = 1: Send the message to the manager, reconnect the database, re-update the version, re-read the ini file, record Log File // iType = 2: Debug, do not send the message to the manager, do not re-connect the database, do not update the version Only record Log File // iType = 3: send messages to the manager, do not reconnect the database, do not update the version, record L 〇g F i 1 e // iType = 4: reconnect the database: do not send Message to the manager, reconnect to the database, do not update the version, record Log File // System. Out.println (sError —Message); // System. out.println (MException: '' + sException); Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economy try {synchronized (this) {////////////////////// ///////////// // 1. Send error message to log file ///////////////////////////////// ///// This paper size is applicable to the Chinese National Standard (CNS) A4 specification (210 χ 297 d centimeters) 571209 A7 _B7_ V. Description of the invention (A)
Insert — Error — Log — To_File(sError_Message + ’’\n + sException); ///////////////////////////////// //發送註解訊息碼4 5 送訊息給管理者 ///////////////////////////////// if ((iType == 1) || (iType == 3)) { Send_Message —To —Adm(4, sError_Message,sException); (請先閱讀背面之注意事項再 it—— 本頁) 訂: ///////////////////////////////// //3.重新Initial EO中所有環境變數 //////////////////////////////// if (iType ==1)( EO.Initial(request,response); //////////////////////////////// //4.直接重設資料庫連線 //////////////////////////////// if ((iType == 1) II (iType == 4)) { // resetDb_Connect(l); -w- 本紙張尺度適用中國國家標準(CNS)A4規格(210 x 297公釐) --線- 經濟部智慧財產局員工消費合作社印製 571209 A7 _ B7 五、發明說明(Μ ) } ///////////////////////////////// ' / / 5 .重抓一次版型 //////////////////////////////// if ((iType == 1 )&&(isConn —Ok)) {Insert — Error — Log — To_File (sError_Message + '' \ n + sException); //////////////////////////////////// // // Send comment message code 4 5 Send message to manager ///////////////////////////////////// if (( iType == 1) || (iType == 3)) {Send_Message —To —Adm (4, sError_Message, sException); (Please read the precautions on the back before it—— this page) Order: ///// ////////////////////////////// // 3. Restart all environmental variables in Initial EO ///////////// ////////////////////// if (iType == 1) (EO.Initial (request, response); ////////////// //////////////////////// 4.Reset database connection directly /////////////////////// /////////////// if ((iType == 1) II (iType == 4)) {// resetDb_Connect (l); -w- This paper size applies Chinese National Standard (CNS) A4 specification (210 x 297 mm)-line-printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs 571209 A7 _ B7 V. Description of the invention (Μ)} //////////////// /////////////////// / 5. Re-grabbing the version once /////////////////////////// /////////// if ((iType == 1) & & (isConn —Ok)) {
Refresh_Template objRefresh_Template =new Re fr e sh_Temp 1 ate (); objRefresh_Template.doRefreshTemplate(); } // end of synchronized (this) { } catch (Exception e) {Refresh_Template objRefresh_Template = new Re fr e sh_Temp 1 ate (); objRefresh_Template.doRefreshTemplate ();} // end of synchronized (this) {} catch (Exception e) {
System.out.println(,f Exception:丨’ + eSystem.out.println (, f Exception: 丨 ’+ e
Insert_Error_Log_To_File(’’S〇.Error_Hander Err or ! ’’); } // end of try } 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297 ά% ) 請 先 閱 讀 背 面 之 注 意 事 項Insert_Error_Log_To_File (’’ S〇.Error_Hander Err or! ’’);} // end of try} This paper size applies the Chinese National Standard (CNS) A4 specification (210 X 297 ά%) Please read the notes on the back first
經濟部智慧財產局員工消費合作社印製 571209 A7 ------ B7 五、發明說明(π ) //////////////////////////////////////////////// //寫入執行過程的Error Log //////////////////////////////////////////////// public voidPrinted by the Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs 571209 A7 ------ B7 V. Description of Invention (π) /////////////////////////// /////////////////////////// Write the Error Log of the execution process /////////////////// /////////////////////////////////// public void
Insert —Error— Log —To —File(String sAction) { synchronized (this) { S tring [] saNow = new String [2]; getNow_Date(new java.util.Date(), saNow);Insert —Error— Log —To —File (String sAction) {synchronized (this) {S tring [] saNow = new String [2]; getNow_Date (new java.util.Date (), saNow);
String sFile_Name = EO.sDir_Error一Log + saNow[0] + 丨丨.errlog’1;String sFile_Name = EO.sDir_Error_Log + saNow [0] + 丨 丨 .errlog’1;
String sLog 二丨"’;String sLog II 丨 "’;
Random AccessFile rafLog_F ile = null; try { rafLog_File = newRandom AccessFile rafLog_F ile = null; try {rafLog_File = new
RandomAccessFile(new File(sFile_Name)5 ’’rw’’); rafLog_File.seek(rafLog_File.length〇); sLog = saNow[0] + ’’ 丨’ + saNow[l] + ’’ n + sAction + 丨’\n'丨; rafLog_File.write(sLog.getBytes〇); } catch(Exception e) {RandomAccessFile (new File (sFile_Name) 5 `` rw ''); rafLog_File.seek (rafLog_File.length〇); sLog = saNow [0] + '' 丨 '+ saNow [l] +' 'n + sAction + 丨' \ n '丨; rafLog_File.write (sLog.getBytes〇);} catch (Exception e) {
System.out.println(MShared__Object: Insert_Error_Log_To_File:System.out.println (MShared__Object: Insert_Error_Log_To_File:
Insert Error Log_To_File: IOException’’); 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297 ) (請先閱讀背面之注意事項再 :本頁.. 經濟部智慧財產局員工消費合作社印製 571209 A7 B7 五、發明說明(β) } finally { try { 、 rafLog__File.close(); } catch (Exception e) { System.out.println(” Shared —Object: Insert Error Log To File:Insert Error Log_To_File: IOException ''); This paper size applies the Chinese National Standard (CNS) A4 specification (210 X 297) (Please read the precautions on the back before: this page: printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs 571209 A7 B7 V. Description of the invention (β)} finally {try {, rafLog__File.close ();} catch (Exception e) {System.out.println (”Shared —Object: Insert Error Log To File:
Insert — Error — Log — To — File: IOException’’); --------------裝--- (請先閱讀背面之注意事項寫本頁) · * <p>傳遞訊息給管理者。</p> •線. * <P> 包括:</p> * <li> Email</li> * <li> ICQ </li> * <li> BBCall </li> 經濟部智慧財產局員工消費合作社印製 * <p>管理者的資料由Environment_Object來定 義。 </p> * @see yes.share.Environment_Object */ public void Send_Message_To_Adm(int iType,String sError,String sException) { 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297 ) 571209 A7 B7 五、發明說明(β) // iType = 1:送eMail給管理者2:送ICQ給管理 者3:送BBCall給管理者4:送eMail,ICQ給管理者5:送 eMail,ICQ,BBCall 給管理者Insert — Error — Log — To — File: IOException ''); -------------- Install --- (Please read the precautions on the back to write this page) · * < p > Pass the message to the manager. < / p > • line. * < P > includes: < / p > * < li > Email < / li > * < li > ICQ < / li > * < li > BBCall < / li > Printed by the Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs * < p > The manager's information is defined by Environment_Object. < / p > * @see yes.share.Environment_Object * / public void Send_Message_To_Adm (int iType, String sError, String sException) {This paper size applies the Chinese National Standard (CNS) A4 specification (210 X 297) 571209 A7 B7 5 Description of the invention (β) // iType = 1: Send eMail to the manager 2: Send ICQ to the manager 3: Send BBCall to the manager 4: Send eMail, ICQ to the manager 5: Send eMail, ICQ, BBCall to the manager By
String[] saNow = new String[2]; getNow —Date(new j ava.util .Date(), saNow);String [] saNow = new String [2]; getNow —Date (new j ava.util .Date (), saNow);
String sTitle = EO.sMerchant —Title + 丨丨錯 誤通知:,,+ saNow[0] +,’,’ + saNow[l];String sTitle = EO.sMerchant —Title + 丨 丨 Error notification: ,, + saNow [0] +, ’,’ + saNow [l];
StringBuffer sbSendBody = new StringBuffer(,,,,);StringBuffer sbSendBody = new StringBuffer (,,,,);
StringBuffer sbError_Format = new StringBuffer(,’丨丨);StringBuffer sbError_Format = new StringBuffer (, ’丨 丨);
StringBuffer sbError_Network = new StringBuffer(丨丨1 丨);StringBuffer sbError_Network = new StringBuffer (丨 丨 1 丨);
Enumeration enuError; sbSendBody.setLength(O); 經濟部智慧財產局員工消費合作社印製 sbSendBody.append(,?Error_Message : \r\n" + s E r r o r + ’’ \ r \ n ’’); / / 註解訊息紀錄碼 4 2 sbSendBody.append(11 Exception : \r\nM + sException + n \ r \ n ’’); / / 紀錄診斷訊息碼 4 3 "sbSendBody.append(” 中文涓丨H式”);Enumeration enuError; sbSendBody.setLength (O); printed by sbSendBody.append (,? Error_Message: \ r \ n " + s E rror + '' \ r \ n ''); / / Annotation message record code 4 2 sbSendBody.append (11 Exception: \ r \ nM + sException + n \ r \ n ''); // record diagnostic message code 4 3 " sbSendBody.append ("Chinese trick 丨 H type" );
String sSendBody = sbSendBody.toString(); 本紙張尺度適用中國國家標準(CNS)A4規格(2】0 x 297 4¾ ) ' " 571209 A7 _ B7 五、發明說明(办)String sSendBody = sbSendBody.toString (); This paper size applies Chinese National Standard (CNS) A4 specifications (2) 0 x 297 4¾) '" 571209 A7 _ B7 V. Description of the invention (office)
String sTitle_Awms = SH.TranslateEncoding(sTitle.toString(),’丨 MS950’’, EO.sAwms_Server_Encode_Type);String sTitle_Awms = SH.TranslateEncoding (sTitle.toString (), ’丨 MS950’ ’, EO.sAwms_Server_Encode_Type);
String sSendBody_Awms = sSendBody;String sSendBody_Awms = sSendBody;
String sTitle_8 859 = SH.TranslateEncoding(sTitle.toString()5 ’丨 MS950’’, ’丨 I S 0 - 8 8 5 9 - 1 n);String sTitle_8 859 = SH.TranslateEncoding (sTitle.toString () 5 ’丨 MS950’ ’,’ 丨 I S 0-8 8 5 9-1 n);
String s S e n dB o dy _ 8 8 5 9 = SH.TranslateEncoding(sSendBody, EO.sAwms_Server_Encode_Type,’丨 ISO-8859-1’’);String s Se n dB o dy _ 8 8 5 9 = SH.TranslateEncoding (sSendBody, EO.sAwms_Server_Encode_Type, ’丨 ISO-8859-1’ ’);
String sTitle_Big5 = s T i 11 e . t o S t r i n g (); String s S endB ody_B ig5 = SH.TranslateEncoding(sSendBody, EO.sAwms_Server_Encode_Type5 ’’MS950 丨丨); inti; if ((iType -= 1) || (iType == 4) || (iType ===5)) { //寄信給管理者 String sTo = for (i = 〇; i < EO. v Adm_Email.size(); i + + ) 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297 ) (請先閱讀背面之注意事項再If寫本頁) 一.- -丨線: 經濟部智慧財產局員工消費合作社印製 571209 A7 _ B7 五、發明說明(2/) sTo += (String) ΕΟ . v Adm_Emai 1. get(i) + ,,,,· (請先閱讀背面之注意事項再If寫本頁) 、 } ' // 參數p 1 =email_addr,p2 = subj ect, p3 = mail_content,p4 = mail_mode,p 5 = smtp_server // Title 為 BIG5,SendBody 為 Big5 if(!NH.sendMail(EO.vAdm_Email, EO.sFrom_Email,sTitle_Big5,sSendBody_Big5, 1 丨 txt’,,EO.sSmtp —Server)) {String sTitle_Big5 = s T i 11 e. To S tring (); String s S endB ody_B ig5 = SH.TranslateEncoding (sSendBody, EO.sAwms_Server_Encode_Type5 '' MS950 丨 丨); inti; if ((iType-= 1) || (iType == 4) || (iType === 5)) {// Send a letter to the manager String sTo = for (i = 〇; i < EO. v Adm_Email.size (); i + +) this The paper size applies the Chinese National Standard (CNS) A4 specification (210 X 297) (Please read the precautions on the back before writing this page) One.--丨: Printed by the Consumers ’Cooperative of Intellectual Property Bureau of the Ministry of Economic Affairs 571209 A7 _ B7 V. Description of the invention (2 /) sTo + = (String) ΕΟ. V Adm_Emai 1. get (i) + ,,,, · (Please read the precautions on the back before writing this page if),} '// Parameters p 1 = email_addr, p2 = subj ect, p3 = mail_content, p4 = mail_mode, p 5 = smtp_server // Title is BIG5, SendBody is Big5 if (! NH.sendMail (EO.vAdm_Email, EO.sFrom_Email, sTitle_Big5, sSendBody_ig , 1 丨 txt ',, EO.sSmtp —Server)) {
Error_Handler(2? 11 Shared_Obj ect: S e n d_M e s s a g e —T o —A dm : Send Mail toError_Handler (2? 11 Shared_Obj ect: S e n d_M e s s a g e —T o —A dm: Send Mail to
Administator Fail! (To: ’,+ sTo + 丨,)ff,,,NA,丨); } } //end of if (iType == 1) { if ((iType == 2) || (iType == 4) || (iType =-5)) { 經濟部智慧財產局員工消費合作社印製 //寄ICQ給管理者 String sTo = ’丨丨’; for (i = 0 ; i < E O · v A dm_I c q · s i ze (); i + + ) { sTo += (String) EO.vAdm —Icq.get(i) + 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297 @ ) 571209 Λ7 B7 經濟部智慧財產局員工消費合作社印製 五、發明說明(刀) / / 參數 p 1 = s F r 〇 m,p 2 == s F r 〇 m — E m a i 1, p3 = sSubject,p4 = sBody, p5 = vTo,p6 = iType (iType=l :GET? 2:P0ST)//必須直接使用系統原始編碼,轉換編碼問題由NH完成 if(!NH.sendICQ(EO.sFrom —Icq, EO.sFrom —Email,sTitle_Awms , sSendBody —Awms, EO.vAdm —Icq,1)) { Error —Handler(2,’’Shared一Object: Send一Message —To一Adm: Send ICQ to Administator Fail! (To: M + sTo +f,)n5 ,fNAf,); } } //end of if (iType == 2) {///////////////////////寄AlphaCall給管理者 ///////////////////// sSendBody = EO. sMerchant_Title + ff -Error · ’’ + sError; if ((iType == 3) || (iType == 5)) { long INow = System.currentTimeMillis(); long 1 Yesterday = INow - 86400 * 1 000; String sNo = (請先閱讀背面之注意事項再^寫本頁) :ia ·» 訂· 線」 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297 ) 571209 A7 __ B7 五、發明說明(23) for (i = 〇 ; i < Ε Ο · v A dm_B b c a 11 _ s ize (); i + + ) { , sNo += (String) EO. vAdm_Bbcall.get(i) + ”,丨; } "參婁i:pl=dateSend,p2 = vCoId,p3=vID, p4 = vName5 p5=vFriendPassword, p6 = sMsg, p7 = iType (iType= 1 : GET, 2:POST) "SendBody為BIG5 // if(NH.sendAlpha_Call((new java.util.Date(lYesterday)), EO.vAdm_Bbcall? EO.vAdm —Bbcall_Name,EO.vAdm_Bbcall_Pwd, sSendBody —Big5,2)) {//訊息接收器紀錄碼4 4 if(!NH.sendAlpha_Call((new java.util.Date(lYesterday)), (String) EO_vAdm_Bbcall.get(0),(String) EO.vAdm__Bbcall_Name.get(0)3 (String) EO.vAdm —Bbcall一Pwd.get(O),sSendBody一Big5,2)) {Administator Fail! (To: ', + sTo + 丨,) ff ,,, NA, 丨);}} // end of if (iType == 1) {if ((iType == 2) || (iType = = 4) || (iType = -5)) {Printed by the Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economy // Send ICQ to the manager String sTo = '丨 丨'; for (i = 0; i < EO · v A dm_I cq · si ze (); i + +) {sTo + = (String) EO.vAdm —Icq.get (i) + This paper standard applies to China National Standard (CNS) A4 (210 X 297 @) 571209 Λ7 B7 Printed by the Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs V. Invention description (knife) // Parameter p 1 = s F r 〇m, p 2 == s F r 〇m — E mai 1, p3 = sSubject, p4 = sBody, p5 = vTo, p6 = iType (iType = l: GET? 2: P0ST) // The system's original encoding must be used directly. The conversion encoding problem is completed by NH if (! NH.sendICQ (EO.sFrom —Icq, EO .sFrom —Email, sTitle_Awms, sSendBody —Awms, EO.vAdm —Icq, 1)) {Error —Handler (2, `` Shared-Object: Send-Message —To-Adm: Send ICQ to Administator Fail! (To: M + sTo + f,) n5, fNAf,);}} // end of if (iType == 2) (//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// In order to send the AlphaCall to the manager the AlphaCall to be sent to the manager the Alpha call to the manager // = / 2 /); //// sSendBody = EO. sMerchant_Title + ff -Error · '' + sError; if ((iType == 3) || (iType == 5)) {long INow = System.currentTimeMillis (); long 1 Yesterday = INow-86400 * 1 000; String sNo = (Please read the precautions on the back before writing this page): ia · »order · line" This paper size applies to China National Standard (CNS) A4 (210 X 297) 571209 A7 __ B7 V. Description of the invention (23) for (i = 〇; i < Ε Ο · v A dm_B bca 11 _ s ize (); i + +) {, sNo + = (String) EO. VAdm_Bbcall.get (i) + ”, 丨;} " Refer to i: pl = dateSend, p2 = vCoId, p3 = vID, p4 = vName5 p5 = vFriendPassword, p6 = sMsg, p7 = iType (iType = 1: GET, 2: POST) " SendBody is BIG5 // if (NH.sendAlpha_Call ((new java.util.Date (lYesterday)), EO.vAdm_Bbcall? EO.vAdm —Bbcall_Name, EO.vAdm_Bbcall_Pwd, sSendBody —Big5, 2)) {/ / Message receiver record code 4 4 if (! NH.sendAlpha_Call ((new java.util.Date (lYesterday)), (String) EO_vAdm_Bbcall.get (0) (String) EO.vAdm__Bbcall_Name.get (0) 3 (String) EO.vAdm -Bbcall a Pwd.get (O), sSendBody a Big5,2)) {
Error —Handler(2,’’Shared— Object: Send_Message_To_Adm: Send B.B.Call to Administator Fail! (To: f’ + sNo + 丨丨)丨’,丨丨 NA 丨,); } } //end of if (iType == 3) { 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公礙) 請 先 閱 讀 背 經濟部智慧財產局員工消費合作社印製 之 注 意 事 項Error —Handler (2, `` Shared— Object: Send_Message_To_Adm: Send BBCall to Administator Fail! (To: f '+ sNo + 丨 丨) 丨', 丨 丨 NA 丨,);}} // end of if ( iType == 3) {This paper size applies to Chinese National Standard (CNS) A4 (210 X 297). Please read the precautions printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs.
發明說明(%) ,=的是,上述料實施例,而非限制於實施例。 部的系統診斷訊心註解訊息’或是部分或全 太名丨或全部的註解訊息。此不脫離 土木構者,皆應為本專利所主張之權利範圍,而 應以專利申請範圍為準。 經濟部智慧財產局員工消費合作社印製 適 度 尺 張 紙 本 格 規 Α4 S) Ν (C 準 標 家 ¥Description of the invention (%), = The examples described above are not limited to the examples. The system ’s system diagnostics heart ’s annotation message ’or some or all of the name ’s or all annotation messages. Those who do not deviate from civil construction shall all be within the scope of the rights claimed by this patent, and shall be subject to the scope of patent application. Printed by the Consumers' Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs. Moderate rule on paper Α4 S) Ν (C Standard bid ¥
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW90110217A TW571209B (en) | 2001-04-27 | 2001-04-27 | Method and system of forwarding system diagnostic message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW90110217A TW571209B (en) | 2001-04-27 | 2001-04-27 | Method and system of forwarding system diagnostic message |
Publications (1)
Publication Number | Publication Date |
---|---|
TW571209B true TW571209B (en) | 2004-01-11 |
Family
ID=32590160
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW90110217A TW571209B (en) | 2001-04-27 | 2001-04-27 | Method and system of forwarding system diagnostic message |
Country Status (1)
Country | Link |
---|---|
TW (1) | TW571209B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10915925B2 (en) | 2017-03-09 | 2021-02-09 | Alibaba Group Holding Limited | Method and apparatus for guiding service flow |
-
2001
- 2001-04-27 TW TW90110217A patent/TW571209B/en not_active IP Right Cessation
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10915925B2 (en) | 2017-03-09 | 2021-02-09 | Alibaba Group Holding Limited | Method and apparatus for guiding service flow |
US11062353B2 (en) | 2017-03-09 | 2021-07-13 | Advanced New Technologies Co., Ltd. | Method and apparatus for service diversion in connection with mobile payment transactions |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8909978B2 (en) | Remote access diagnostic mechanism for communication devices | |
JP5571847B2 (en) | Anomaly detection system that detects anomalies in multiple control systems | |
CN108134708B (en) | Method and device for monitoring third-party interface | |
US6772376B1 (en) | System and method for reporting detected errors in a computer system | |
US9888084B2 (en) | Automatic network domain diagnostic repair and mapping | |
JP2011060147A (en) | Outgoing email check system, check data providing apparatus, check data inspecting apparatus, outgoing email check method, check data providing program and check data inspection program | |
TW571209B (en) | Method and system of forwarding system diagnostic message | |
US7739420B2 (en) | Communication error information output method, communication error information output device and recording medium therefor | |
JP3920892B2 (en) | Terminal device | |
JP2005149267A (en) | Evidence screen storage program, evidence screen storage method, and evidence screen storage system | |
JPWO2012093457A1 (en) | Relay device, ATM system, information relay method, and program | |
JP3190880B2 (en) | Standby system, standby method, and recording medium | |
KR101901644B1 (en) | Apparatus for managing universal subscriber identity module and monitoring program | |
JP2009187474A (en) | Semiconductor device, portable electronic equipment, self-diagnosis method, and self-diagnosis program | |
US7640337B1 (en) | Framework for application monitoring and management | |
JP4918696B2 (en) | Server monitoring system and program therefor | |
CN114490217B (en) | Fault testing method, device and equipment for ME and BIOS interaction and readable medium | |
US10901826B2 (en) | Image processing apparatus, control method of image processing apparatus to import setting file and analyze setting value for determining whether communication test is require to execute | |
US11429457B2 (en) | System and method to securely exchange system diagnostics information between firmware, operating system and payload | |
JP2010026948A (en) | Communication equipment | |
US7500154B2 (en) | Method and system for generating a console log | |
JP2015080044A (en) | Information processing system, service provision system and processing result recording method | |
JP4414874B2 (en) | Fault notification system | |
JP2000029807A (en) | Maintenance management system, its method, printer and record medium | |
CN116614345A (en) | Communication method, application system, storage medium and program product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GD4A | Issue of patent certificate for granted invention patent | ||
MK4A | Expiration of patent term of an invention patent |