TW201019223A - Automatic program real-time update method and system for remote test unit - Google Patents

Automatic program real-time update method and system for remote test unit Download PDF

Info

Publication number
TW201019223A
TW201019223A TW97143286A TW97143286A TW201019223A TW 201019223 A TW201019223 A TW 201019223A TW 97143286 A TW97143286 A TW 97143286A TW 97143286 A TW97143286 A TW 97143286A TW 201019223 A TW201019223 A TW 201019223A
Authority
TW
Taiwan
Prior art keywords
program
update
test unit
remote test
message
Prior art date
Application number
TW97143286A
Other languages
Chinese (zh)
Other versions
TWI385578B (en
Inventor
Jian-Xing Lin
shao-cheng Lv
Original Assignee
Chunghwa Telecom Co Ltd
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 Chunghwa Telecom Co Ltd filed Critical Chunghwa Telecom Co Ltd
Priority to TW97143286A priority Critical patent/TWI385578B/en
Publication of TW201019223A publication Critical patent/TW201019223A/en
Application granted granted Critical
Publication of TWI385578B publication Critical patent/TWI385578B/en

Links

Landscapes

  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

An automatic program real-time update method and system for remote test unit is composed of a program control server, a data center, a message processing server, a file transmitting server, and a remote test unit. The program control server has an embedded main program that can issue a program update command of XML format to the distributed remote test units for instantly notifying each remote test unit to retrieve a new-version of update program automatically through internet. After updating the program, the update status information is responded to a master control program to determine whether the updating is finished. Finally, an auxiliary alarm program is provided for notifying the system administrator of the message related to failure in updating the remote test unit. The invention can effectively reduce the time required for sequentially updating the remote test units, decreasing the error in manually updating the program, and further achieving the purpose of automatically and instantly updating the program of the remote test unit.

Description

201019223 九、發明說明: 【發明所屬之技術領域】 本發明係關於一種遠端測試單元自動化程式即時更新方法及系統,特 別是指一種透過主控程式模組自動化流程控制的步驟,將測試系統的更新 程式以即時且有效率的方式更新到每一台遠端測試單元上,可大幅減少人 工更新程式所耗費的時間成本。 【先前技術】201019223 IX. Description of the Invention: [Technical Field] The present invention relates to a method and system for updating an automatic test program of a remote test unit, in particular, a step of automatic flow control through a main control program module, which will test the system The update program updates to each remote test unit in an instant and efficient manner, which significantly reduces the time and cost of manually updating the program. [Prior Art]

傳統的遠端測試單元程式更新方式通常都是由程式開發人員或程式建 置人員手祕㈣喊放職制財元域的執行環境巾,由於測試系 統的架構«要將程式建置到多部遠端測試主機上,因此必須耗費相當多 人力逐-更新遠端測試主機上的程式;此種作法既沒效率又浪費時間,更 容易因為人為疏漏而發生錯誤,造成遠端測試程式版本不—致的現象; 目前有些資訊祕’改採用中控程式逐—檢查遠端測試程式的版本, -旦發現版本不-致’則由中控程式取得新版程式後,發送給每—部遠端The traditional remote test unit program update method is usually implemented by the program developer or the program builder. (4) Calling the execution environment of the financial system. Because of the architecture of the test system, the program should be built into multiple remote areas. The test is on the host, so it takes a lot of manpower to update the program on the remote test host. This method is neither efficient nor time consuming, and it is easier to make mistakes due to human error, causing the remote test program version not to be Phenomenon; At present, some information secrets are changed to use the central control program to check the version of the remote test program. Once the version is not found, the new version of the program is obtained by the central control program and sent to each remote end.

測試主機;這種作法雖然較傳統作法有效率, 但中控程式需要針對每一部 遠端測試主機檢絲式版本是否㈣,版本檢查的動作常會耗去不少時 間’再加上更新程式是統-由巾餘式送出,料造射控程式的工作負 載升高,進而導致遠端測試主機的程式更新時間延長,影響程式更新的速 度;而另外有些其他线採Μ節點麟的方絲實_端程式更新動 作,從根節闕始發送更新訊息給其子節點,逐—更新到所有的葉節點, 此作法雖具及擴紐,但容㈣鱗—上層節錄/魏出錯問題,而 201019223 導致其下所屬的大批葉節點都沒有進行程式更新。 由此可見,上述習用方式仍有諸多缺失,實非一良善之設計,而鱗 加以改良。 本案發明人胁上述㈣式簡生的各顿點,乃μ加以改良創 新’並經多年苦錢騎叫錢,終於柄聲完縣件綱測試單元 自動化程式即時更新方法及系統。 【發明内容】 本發明之目的即在於提供—種遠端測試單元自動化程式即時更新方法 及系統,能有效減少人工更新程式所耗關人力成本,加快遠端測試程式 的更新速度’並進―步確保賴職程式的—致性。 可達成上述發明目的之遠端測試單元自動化程式即時更新方法及系 統,係由程式控_服n、龍中心、訊息處理·器、職傳送伺服器、 及遠端測試單元触成,其巾歸射心由程式·人㈣更新程式置入 其中的程式儲存空間中,放置完畢後觸發程式控制伺服器上的主控程式模 組,此時主控程式模組則會自動產生一個新的版本編號,並將更新程式連 同版本編號一併包裝完成後,置入檔案傳送伺服器中;後續主控程式模組 會依據所有遠端測試單元產生XML格式之更新程式訊息,藉由訊息處理伺 服器廣播通知每一台遠端測試單元,而該遠端測試單元在收到更新訊息 時’先解析訊息内容以取得更新程式的相關資訊,再使用Fxp檔案傳輸協 定至樓案傳送伺服器上取得更新程式,待完成程式更新後,再透過訊息傳 送飼服器將更新程式的結果回報至主控程式模組;而主控程式模組可以判 201019223 斷各遠端測試單元的回報狀態,若有遠端測試單元更新失敗或未於時間内 回報更新結果訊息,則可主動再針對未更新成功的遠端測試單元,重贿 送更新程式訊息,直到所有遠端職單元皆啸完成或遠端測試單元超過 更新程式的次數上限為止;最後,主控程式模組再針對超過更新次數上限 的遠端測試單元,發送告警訊息給系統管理人員,以利系統管理者針對更 新失敗的_職單元進_簡除;本發岐龄se_ 及_ μ的觀念,由主控程式模組發送XML格式的訊息,通知遠端測試程式自 • 動至射位置取得更新程式,再針對更新不成功的遠端職主機發出告警 訊息給系統管理者,以方便系統管理者進行管制。 【實施方式】 請參閱圖-,為本發明遠端測試單元自動化程式即時更新方法及系統 之架構示意圖,由圖中可知,其中至少包含: 一程式控制飼服器1,係與標案傳送伺服器2相介接,其中内含了主 控程式模纟且,來控制自動錄式即時更騎㈣運作及更新失敗之告警訊 Φ 息發送; 權案傳送飼服器2,係與程式控制伺服器1及遠端測試單元9相介 接,以作為程式控制伺服器丨與遠端測試單元9間的檔案傳送處理; 一訊息處理伺服器3,係與程式控制伺服器1及遠端測試單元9相介 接以作為程式控制祠服器1及遠端測試單元9間之訊息傳送及訊息接收 的溝通介面; 一資料中心4’負責儲存更新程式及觸發主控程式模組之運作; 7 201019223 遠端測辟it 9 ’軸獅解元9健職舰舰$ 2及訊息 處理飼服器3相介接’其中具有執行程式模組,以接收更新訊息並下載執 行更新程式及更新回報; 本發明採贱訊息處理值H 3料訊息傳送及触的溝通介面,訊 息處理飼服器3的溝通介面—般可分為先進先纽廣播兩觀式,然而廣 播的模式並靴紐訊息的送達,故本發明結合先進先出及麟兩種模式 來判斷遠端測試單元9是否更新成功,若遠端測試單元9於設定時間内未 ❹ 使用先進先出的溝賴式回傳更新結果,則遠端測試單元9㈣之主控程 式模組會再騎未回傳的遠端職主機重新發送更新程式的廣播訊息以 確保每一台遠端測試主機皆能收到更新程式的指令; 雖然訊息處理伺服器可提供一種保證送達的訊息溝通模式 (DURABLE) ’減種作法需要騎遠制試單元9逐—蚊唯__的訊息 溝通模式(DURABLE)名稱’並於每增加一台遠端測試單元主機,就得在 訊息處理飼服器上新增-項設定,但也會因此增加訊息處理祠服器3維護 φ 之工作負擔。 請參閱圖二’為本發明遠端測試單元自動化程式即時更新方法及系統 之程式模組架構圖’由圖中可知,其中該程式控制伺服器具有主控程式模 組’而該遠端測試單元上具有執行程式模組;其中該程式控制伺服器之主 控程式模組,其中包含有: 一流程控制模組Π,執行更新流程之控制,當開發人員放入更新程式 於資料中心後,該資料中心隨即觸發程式控制伺服器之主控程式模組的運 201019223 ~匕=自動產生版本編號,並將所有置於資料中傾存㈣的更新程式 包裝為單一權案後’置於構案傳送飼服器之特定目錄供遠端主機連線取 得;接著再主動產生XML才各式的程式更新訊息,透過廣播訊息傳送模組將 更新程式的命令送至遠端測試單元; 一廣播訊息傳送模組12 ’負責送出程式控綱服器之观[格式的更 新程式命令至訊息處理飼服器中,而舰息處理舰器會將該訊息以廣播 的方式送出給每一部遠測試單元; φ 先進先出訊息接收模組13,負責接收訊息,並處理遠端測試單元回 傳的程式來更新回覆訊息; 一告警訊息模組14,負責送出遠端測試單元更新失敗的告警訊息。 另外本發明之遠端測試單元上的執行程式模組模組,其中包含有: _廣播訊息接收模組91,負責接收訊息處理伺服器中,以廣播方式發 送出的程式控制伺服器來更新程式命令; 一命令解析模組92,解譯程式控制伺服器傳入的更新程式命令,根據 φ 不同的指令,主動叫起相對應的程式模組進行處理。以更新程式命令為例, 會呼叫即時更新模組開始進行程式更新動作; 一即時更新模組SB,依照程式控制伺服器傳入的FTP相關主動連結至 檔案傳送伺服器以取得最新版本的更新程式壓縮檔,執行解壓縮並覆蓋原 始程式後,自動重新啟動遠端測試程式以套用新版程式設定; 201019223 一先進先出訊息傳送模組料,負責送出遠端測試單元的更新程式(職 格式之執行縣喊訊息)至訊息纽値_巾,_ xml料之執行結 果回覆訊息如圖四所示。 4參閱圖二’為本發明遠端測試單元自動化程式即時更新方法及系統 之主控程式模組發送的狐格式的程式更新訊息 ,由圖中可知,其中該 卿標籤的ID屬性代表每一台遠端測試單元的身份,心飢代表每— 。遠端測試單70都要進行程式更新,更新程式所需要的資關接在後續的 ❹城屬性巾,而親此設計方法,當測竭統擁有大量的遠端測試單元時, 可乂具備阿度的擴充性,主控程式模组可以讓不同的遠端測試單元連到不 同的標案傳送伺服器以取得最新程式,避免多部遠端測試單元同時連進同 個標案傳送伺服器所造成的飼服器效能降低丨此外,观[訊息中的命令 欄位後續也可再行擴充,並;^限於料更新動作。 凊參閱圖五’為本發明遠端測試單元自動化程式即時更新方法及系統 之程式開發人員操作流程示意圖,由圖中可知,其步驟為程式開發人員將 籲更新程式置入資料中心的程式儲存空間中,並於放置完畢後,觸發程式控 制伺服器上的主控程式模組。 口月參閱圖八’為本發明遠端測試單元自動化程式即時更新方法及系統 之程式控制伺服器之主控程式模組流程示意圖,由圖中可知,其步驟為: 步驟1:主控程式模組自動產生-個新的版本編號,並將更新程式連同 版本編號-併包裝完成後,置入槽案傳送飼服器中; 201019223 步驟2. ±控程式模組取得所有需更新的遠端測試單元,並產生观l 格式之更新程式訊心’藉由訊息處理飼服器廣播通知每一台遠端測試單元; 步驟3 ·遠端測試單元完成程式更新後,透過訊息傳送舰器將更新程 式的結果回報至主控程式模組。 步驟4 :主控程式模组可以判斷各遠端測試單元的回報狀態,若有遠端 測試單元更新失敗或未於時間内回報更新結果訊息則可主動再針對未更 新成功的遠端測試單元,重新發送更新喊訊息,直酬有遠端測試單元 ❹ 皆回報完成或遠端峨單元超過更新程式的次數上限為止; 步驟5 .主控程式模組可針對超過更新次數上限的遠端測試單元,發送 〇 錄理人貞m錄理者針對更新失敗的遠端測試單元 進行問題排除。 «月參閱圖七,為本發明遠端測試單元自動化程式即時更新方法及系統 之遠端測試單元程式流程示意圖,由圖中可知,其步驟為·· 步驟1:遠端測試單元在收到更新訊息時,先解析訊息内容以取得更新 曇程式的相關資訊,再使用FTP播案傳輸協定至構案傳送倾器上取得更新 程式; 步驟2 .遠端測试單元完成程式更新後,透過訊息傳送飼服器將更新程 式的結果回報至主控程式模組。 本發明所提供之遠端測試單元自動化程切時更新方法及彡統,與其 他習用技術相互比較時,更具備下列優點: 1.本發明可簡化程式更新步驟,有麟少人為更絲式所造成的疏 11 201019223 漏’維持遠端測試程式的-致性,·並可經由自動化即時更新所有遠 端測試程式,來大幅降低人賤程式所耗_時間成本。 2. 本發明係由主控程式餘產生版本資訊,可簡化程式版本的比對時 間,並採用XML格式作為溝通語言,具備有高度擴充性;另外本 發明還可針對更新失敗的遠端測試單元來發送告警訊息。 3. 本發明結合了 Server驗及⑶邮puu兩種概念由主控程式模 組通知遠端測試單元進行程式更新(Seryer push);由遠端測試單 ❹ 以行至觀傳辆㈣上取«新程式(aientPull),來大幅降 低主控程式模組的工作負載。 4·本發明運用訊息處理値器的兩種訊息交換模式,結合了主控程式 模組,以確保遠端測試主機皆能收到更新指令; 上列詳細說明係針對本發明之一可行實施例之具體說明,惟該實施例 並非用以限制本發明之專利範圍,凡未脫離本發明技藝精神所為之等效實 施或變更’均應包含於本案之專利範圍中。 ❿ 綜上所述,本案不但在技術思想上確屬_,並錄㈣物品增進上 述多項功效,應以充分符合新雛及進步性之法定㈣專利要件,袭依法 提出申請,懇it貴局核准本件發明專利申請案,以勵發明,至感德便。 【圖式簡單說明】 圖-為本發明遠端測試單元自動化程式㈣更新方法及錢之架構示 意圖; 圖二為本發明遠端测試單元自動化程式即時更新方法及系統之程式模 12 201019223 組架構圖; 圖三為本發明遠翁m單元自動化程式即日蚊新方法及純之主控程 式模組發送的XML格式的程式更新訊息; 圖四為本發明遠端測試單元自動化程式即時更新方法及系統之遠端程 式模組發送的XML格式的更新程式回覆訊息; 圓五為本發明遠端測試單元自動化程式即時更新方法及系統之程式開 發人員操作流程示意圖; • 0六為本發明遠端測試單元自動化程式即時更新方法及系統之程式控 制伺服器之主控程式模組流程示意圖;以及 圖七為本發明遠端測試單元自動化程式即時更新方法及系統之遠端測 試單元程式流程示意圖。 【主要元件符號說明】 1 程式控制伺服器 11 流程控制模組 12 廣播訊息傳送模組 13 先進先出訊息接收模組 14 告警訊息模組 2 擋案傳送伺服器 3 訊息處理伺服器 4 資料中心 9 遠端測試單元 13 201019223Test the host; this method is more efficient than the traditional method, but the central control program needs to check the core detection version of each remote test (4), the version check action often takes a lot of time' plus the update program is The system is sent out by the towel, and the workload of the production control program is increased, which leads to the extension of the program update time of the remote test host, which affects the speed of the program update; and other lines of the line picking node The _end program updates the action, sending the update message to its child nodes from the root node, and updating to all the leaf nodes one by one. This method has the expansion and expansion, but the volume (four) scale-upper level excerpt/wei error problem, and 201019223 The program does not update the bulk of the leaf nodes it belongs to. It can be seen that there are still many shortcomings in the above-mentioned conventional methods, which is not a good design, but the scale is improved. The inventor of the case threatened each of the above-mentioned (four)-style simplifications, and improved the innovation by μ, and after several years of hard money riding and calling money, finally finished the method and system for updating the automatic program of the county-level test unit. SUMMARY OF THE INVENTION The object of the present invention is to provide an instant update method and system for a remote test unit automation program, which can effectively reduce the labor cost of the manual update program and speed up the update speed of the remote test program. The nature of the program. The method and system for updating the remote test unit automation program that can achieve the above object is controlled by the program control, the service center, the message processing device, the job delivery server, and the remote test unit. The shooting center is loaded into the program storage space by the program (4) update program. After the placement, the trigger program controls the main control program module on the server. At this time, the main control program module will automatically generate a new version number. And the update program is packaged together with the version number, and then placed in the file transfer server; the subsequent main control program module generates an update program message in XML format according to all remote test units, and the message processing server broadcasts Notifying each remote test unit, and when receiving the update message, the remote test unit first parses the message content to obtain information about the update program, and then uses the Fxp file transfer protocol to obtain an update program on the report delivery server. After the program is updated, the result of the update program is reported back to the main control module through the message delivery device; and the main control program The module can determine the return status of each remote test unit in 201019223. If the remote test unit fails to update or returns the update result message within the time limit, it can actively re-brittle the remote test unit that has not been successfully updated. Send the update program message until all the remote units are completed or the remote test unit exceeds the upper limit of the update program. Finally, the main control module sends an alarm message to the remote test unit that exceeds the upper limit of the update number. The system administrator, in order to facilitate the system administrator to update the failure of the _ job unit _ simple; the concept of the age of se_ and _ μ, the master program module sends an XML format message, notify the remote test program • Move to the location to obtain an update program, and then send an alarm message to the system administrator for the remote host that is not successfully updated to facilitate system administrators to control. [Embodiment] Please refer to FIG. 3, which is a schematic diagram of an instant update method and system of a remote test unit automation program according to the present invention. It can be seen from the figure that at least: a program control feeding device 1, a system and a standard transmission servo Device 2 is connected, which contains the main control program module, and controls the automatic recording and instant riding (4) operation and update failure alarm information transmission; the right case transmission feeding device 2, the system and the program control servo The device 1 and the remote test unit 9 are connected to serve as a file transfer process between the program control server and the remote test unit 9; a message processing server 3, a program control server 1 and a remote test unit The 9-phase interface is used as a communication interface for the message transmission and message reception between the server 1 and the remote test unit 9; a data center 4' is responsible for storing the update program and triggering the operation of the main control module; 7 201019223 Far-end Detective It 9 'Axis lion Jieyuan 9 health-fighting ship $2 and message processing feeder 3-interface' with an execution program module to receive update messages and download execution updates and updates The invention adopts the communication interface of the message processing value H 3 material information transmission and touch, and the communication interface of the message processing feeder 3 can be generally divided into the advanced first-new broadcast two-view type, but the broadcast mode and the boots-up message The present invention combines the first-in-first-out and the lining modes to determine whether the remote test unit 9 is updated successfully. If the remote test unit 9 fails to use the first-in-first-out aging backhaul update result within the set time Then, the remote control unit 9 (4) of the main control module will re-send the broadcast message of the update program by riding the unreturned remote host to ensure that each remote test host can receive the update program command; The message processing server can provide a message communication mode (DURABLE) to ensure delivery. The method of subtracting the need to ride the remote test unit 9-the mosquito-only __ message communication mode (DURABLE) name and add each remote end The test unit host has to add a new item to the message processing server, but it also increases the workload of the message processing server 3 to maintain φ. Please refer to FIG. 2 'the instant update method of the remote test unit automation program of the present invention and the program module architecture diagram of the system. It can be seen from the figure that the program control server has the main control program module' and the remote test unit There is an execution program module, wherein the program controls a server main control program module, which comprises: a process control module, performing control of the update process, and when the developer puts the update program in the data center, The data center then triggers the program control server's main control program module to ship the 201019223 ~ 匕 = automatically generate the version number, and all the update programs placed in the data dump (four) are packaged as a single right after the 'construction transfer The specific directory of the feeding device is obtained by the remote host connection; then the XML is generated by the program to update the program, and the command of the updating program is sent to the remote testing unit through the broadcast message transmitting module; Group 12 'Responsible for sending the program control device view [format update command to the message processing feeder, and the ship handling ship will The message is sent to each remote test unit in a broadcast manner; φ FIFO message receiving module 13 is responsible for receiving the message and processing the program sent back by the remote test unit to update the reply message; an alarm message module 14, Responsible for sending out the alarm message that the remote test unit failed to update. In addition, the execution module module on the remote test unit of the present invention includes: a broadcast message receiving module 91, which is responsible for receiving a program control server sent by the broadcast processing server to update the program. Command; a command parsing module 92, the interpreter program controls the update program command sent by the server, and actively calls the corresponding program module for processing according to different instructions of φ. Taking the update program command as an example, the instant update module will be called to start the program update operation; an instant update module SB, according to the FTP control related to the program control server, actively connects to the file transfer server to obtain the latest version of the update program. After the file is compressed and the original program is unpacked, the remote test program is automatically restarted to apply the new program settings. 201019223 A first-in-first-out message transmission module is responsible for sending the update program of the remote test unit. The county shouts the message) to the message 値 _ towel, _ xml material execution result reply message as shown in Figure 4. 4 Refer to FIG. 2' is a program update message of the fox format sent by the remote test unit automation program and the main control program module of the system. It can be seen from the figure that the ID attribute of the clear label represents each unit. The identity of the remote test unit, hunger represents each. The remote test list 70 must be updated with the program. The required information for updating the program is connected to the subsequent Yucheng property towel, and the design method is used. When the test system has a large number of remote test units, it can be equipped with a large number of remote test units. Degree of scalability, the main control program module allows different remote test units to connect to different standard delivery servers to get the latest program, avoiding multiple remote test units connected to the same standard delivery server at the same time. The resulting effect of the feeding device is reduced. In addition, the [command field in the message can be further expanded afterwards; and ^ is limited to the material update action.凊 图 图 ' ' ' ' ' ' ' ' ' 远端 远端 远端 远端 远端 远端 远端 远端 远端 远端 远端 远端 远端 远端 远端 远端 远端 远端 远端 远端 远端 远端 远端 远端 远端 远端 远端 远端 远端 远端 远端 远端 远端 远端 远端 远端 远端 远端In the middle, and after the placement is completed, the trigger program controls the main control module on the server. Figure 8 is a schematic diagram of the process of the remote control unit automation program instant update method and the program control server of the system. The steps are as follows: Step 1: The master program module The group automatically generates a new version number and updates the program along with the version number - and then packages it into the slot feed server; 201019223 Step 2. The control module gets all the remote tests that need to be updated. Unit, and generate an update program in the format of the message. 'Telegate each remote test unit by means of the message processing feeder broadcast; Step 3 · After the remote test unit completes the program update, the program will be updated by the message transmission ship. The result is reported back to the main control module. Step 4: The main control program module can determine the return status of each remote test unit. If the remote test unit fails to update or fails to report the update result in time, the active test unit can be actively applied to the remote test unit that has not been successfully updated. Resend the update call message, the remote test unit has the remote test unit 皆 all return or the remote unit exceeds the upper limit of the update program; Step 5. The main control module can be used for the remote test unit exceeding the upper limit of the update number. Sending a video recorder to the remote test unit for the failed update. «May refer to Figure VII, which is a schematic diagram of the remote update method of the remote test unit automation program and the remote test unit program flow of the system. It can be seen from the figure that the steps are... Step 1: The remote test unit receives the update. In the case of a message, first parse the message content to obtain information about the updated program, and then use the FTP broadcast transmission protocol to obtain the update program on the configuration transfer device; Step 2. After the remote test unit completes the program update, the message is transmitted. The feeder returns the results of the update program to the main control module. The method and the system for updating the automatic test unit of the remote test unit provided by the invention have the following advantages when compared with other conventional technologies: 1. The invention can simplify the program updating step, and the lesser person is a more silk type The resulting 11 201019223 leaks 'maintains the remote test program's -, and can automatically update all remote test programs via automation to greatly reduce the cost of time spent on human programs. 2. The invention generates version information by the main control program, can simplify the comparison time of the program version, and adopts the XML format as the communication language, and has high scalability; the invention can also be directed to the remote test unit with failed update. To send an alert message. 3. The invention combines the server verification and (3) the postal puu two concepts are notified by the main control program module to the remote test unit for the program update (Seryer push); the remote test unit is used to go to the observation vehicle (four) to take « The new program (aientPull), to greatly reduce the workload of the main control module. 4. The present invention utilizes two message exchange modes of the message processing device, and combines the main control program module to ensure that the remote test host can receive the update command; the above detailed description is directed to one possible embodiment of the present invention. The detailed description of the present invention is not intended to limit the scope of the invention, and the equivalents and modifications of the invention are intended to be included in the scope of the invention.综 In summary, this case is not only technically _, but also recorded (4) items to enhance the above-mentioned multiple functions, should be in full compliance with the new and progressive legal (four) patent requirements, in accordance with the law to apply, 恳it your approval This invention patent application, in order to invent invention, to the sense of virtue. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 2 is a schematic diagram of an update method and a structure of a remote test unit for a remote test unit according to the present invention; FIG. 2 is a schematic diagram of a remote update method and system for a remote test unit of the present invention. Figure 3 is a program update message in XML format sent by the new method of the instant m unit automation program and the pure master control module of the invention; FIG. 4 is a method and system for updating the remote test unit automation program in real time according to the present invention; The remote program module sends an XML format update program reply message; the fifth is the remote test unit automation program instant update method and the program developer operation flow chart of the invention; The automatic program update method and the system program control server main control program module flow diagram; and FIG. 7 is a schematic diagram of the remote test unit automation program instant update method and the system remote test unit program flow. [Main component symbol description] 1 Program control server 11 Flow control module 12 Broadcast message transmission module 13 First in first out message receiving module 14 Alarm message module 2 File transmission server 3 Message processing server 4 Data center 9 Remote test unit 13 201019223

91 廣播訊息傳送模組 92 命令解析模組 93 即時更新模組 94 先進先出訊息傳送模組 1491 Broadcast Messaging Module 92 Command Resolution Module 93 Instant Update Module 94 First In First Out Message Delivery Module 14

Claims (1)

201019223 十、申請專利範圍: λ, 一種遠端測試單元自動化程式即時更新系統,係包括: 一程式控制飼服n,係與财傳送伺服器相介接,其中内含了主抑程 式模組,來控制自動化程式即時更新流程的運作及更新失敗之告馨訊 息發送; 一資料中心,負責儲存更新程式並觸發主控程式之運作; -訊息處糊服^,係與程式控侧㈣及遠端峨單元相介接,以 . 料程式控制舰狀遠端測解元間之訊息傳觀訊息接收的溝通 介面; -檔案傳送伺服器’係與程式控制飼服器及遠端測試單元相介接,以 作為程式控制伺服器與遠端測試單元間的檔案傳送處理; -遠端測試單元,該遠酬試單祕錢案傳送舰^舰息處理飼 服器相介接,其中具有執行程式模組,以接收更新訊息並下載執行更 新程式及更新回報。 _ 2·如申請專利範圍第1項所述之遠端測試單元自動化程式即時更新系 統,其中該程式控制伺服器之主控程式模組,該主控程式模組中包含: 一流程控制模組,執行更新流程之控制; 一廣播訊息傳送模組,負責送出程式控制伺服器丨之格式的更 新程式命令至訊息處理伺服器中; 一先進先出訊息接收模組,負責接收訊息處理伺服器上遠端測試單元 回傳的程式更新回覆訊息; 一告警訊息模組,負責送出遠端測試單元更新失敗的告警訊息,告知 15 201019223 系統管理者。 3·如申請專利範圍第2項所述之遠端測試單元自動化程式即時更新系 統’其中該流程控制模組於更新程式被放人資料中心後,隨即被觸發 開始運打’其巾包含自動產生版本職,並與置㈣料巾心儲存空間 的更新程式包裝為單一播案後,置於樓案傳送伺服器之特定目錄供遠 端主機連線取得;接著再絲產生格式邮式更新訊息,透過 廣播訊息傳送模組將更新程式的命令送至遠端測試單元。 • 4·如申請專利範圍第1項所述之遠端測試單元自動化程式即時更新系 統’其中該訊息處理伺服器係結合先進先出及廣播兩種模式來判斷遠 端測試單元是否更新成功,若遠端測試單元於設定時間内未使用先進 先出的溝職式回傳更賴果’社控程式會再針對未回傳的遠端測 試單元重新發送更新程式的_訊息,以確保每__台遠刺試單元皆 能收到更新程式的指令。 S·如申請專利範圍第!項所述之遠端測試單元自動化程式即時更新系 • 統,其中該遠端測試單元内含執行程式模組,該執行程式模組中包含: 一廣播訊息接收模組,負責接收訊息處理伺服器中,以廣播方式發送 出的程式控制伺服器之更新程式命令; 一命令解析模組,解譯程式控制伺服器傳入的更新程式命令並根據 不同的指令,主動叫起相對應的程式模組進行處理; 一即時更新模組’依照程式控制伺服器傳入的FTp相關參數,主動連 結至檔案傳送伺服器以取得最新版本的更新程式壓縮播,執行解屢縮 16 201019223 並覆蓋原始程式後,自動重新啟動遠端測試程式以套用新版程式設定; 一先進先出訊息傳送模組,負責送出遠端測試單元的更新程式執行結 果至訊息處理伺服器中。 6· 一種遠端測試單元自動化程式即時更新方法’由主控程式即時發送 XML格式的命令語言給多個遠端測試單元,通知各個遠端測試單元自 動透過網路以取得新版更新程式,其步驟包含: 步驟1 :程式開發人員將更新程式置人資料中心的程式儲存空間,即 觸發程式控制伺服器上的主控程式; 步驟2:主控程式自動產生-個新的版本編號,並將更新程式連同版 本編號一併包裝完成後,置入檔案傳送伺服器中; 步驟3 :主控程式取得所有需更新的遠端測試單元,並產生观[格式 之更新程式訊息’藉由訊息處理飼服器廣播通知每一台遠端測試單元·, 步驟4:遠端測試單元在收到更新訊息時,先解析訊息内容以取得更 新程式的相關資訊,再使用FTP儲傳輸協定至職傳送伺服器上取 得更新程式; ί/驟5 .遠端測料元完絲^更新後,透過訊息傳賴顧將更新 程式的結果回報至主控程式; 步驟6:主控程式可以判斷各遠端測試單元的回報狀態,若有遠端測 試單元更新失敗或未於__報更新結果訊息m動再針對未 更新成功的遠端測試單元,重新發送更新程式訊息,直到所有遠端測 試單元皆回報完成或遠端測試單元超過更新程式的次數上限為止; 17 201019223 V 步驟7 :主控程式可騎觸更新次數上_遠端職單元,發送告 警訊息給系統管理人員,以利系統管理者針對更新失敗的遠端測試單 元進行問題排除。 7·如申請專利範圍第6項所述之遠端測試單元自動化程式即時更新方 法,其中該XML格式指令可由訊息處理飼服器以廣播方式通知遠端 測試單元進行即時更新,更新完畢後再由訊息處理舰器以先進先出 的方式以XML格式回覆結果給主控程式。 • 8· #申請專利範圍第6項所述之遠端測試單元自動化程式即時更新方 法’其中該訊息處理伺服器的廣播及先進先出兩種訊息交換模式,係 用來判斷遠端測試單元是否更新成功,若遠端測試單元於設定時間内 未使用先進先出的溝通模式回傳更新結果,則主控程式會再針對未回 傳的遠端職單元重新發送更式的廣播訊息,以確保每―台遠端 測試單元皆能收到更新程式的指令。 9.如申請專利範圍第6項所述之遠端測試單元自動化程式即時更新方 ❹ 法,其中該主控程式會通知遠端測試單it進行程式更新,另外遠端測 試單會自行至擋案傳送伺服器上取得更新程式。 10·如巾請補細第6項所述之遠端測試單元自動化程式即時更新方 法其中該主控程式自動產生程式版本編號,簡化逐一比對遠端主機 程式版本的步驟。 11.如中請專職HJ第6項所述之遠劇試單元自動化程式即時更新方 法,其中該主控程式可針對更新失敗的遠端測試單元發送告警訊息。201019223 X. Patent application scope: λ, a remote test unit automation program instant update system, which includes: a program control feeding service n, which is connected with a payment server, and includes a main suppression program module, To control the operation of the automatic update process of the automation program and the failure of the update message; a data center that is responsible for storing the update program and triggering the operation of the main control program; - the message is confused, and the program control side (four) and remote The unit is connected to each other to control the communication interface of the message transmission information between the remote sensing elements. The file transfer server is connected to the program control feeder and the remote test unit. As a program to control the file transfer processing between the server and the remote test unit; - the remote test unit, the far-paid test case secret money case transmission ship ^ ship-rate processing feeder device interface, which has an execution program Group to receive update messages and download execution updates and update returns. _ 2 · The remote test unit automation program instant update system as described in claim 1 wherein the program controls the server's main control program module, the main control program module includes: a process control module Controlling the update process; a broadcast message transfer module is responsible for sending the program control server format update command to the message processing server; a first in first out message receiving module is responsible for receiving the message processing server The program sent back by the remote test unit updates the reply message; an alarm message module is responsible for sending an alarm message that the remote test unit fails to update, and informs the system administrator of 201019223. 3. The remote test unit automation program instant update system as described in item 2 of the patent application scope, wherein the process control module is triggered to start the operation after the update program is released into the data center, and the towel contains automatically generated The version of the job, and the update program of the set (4) towel storage space is packaged as a single broadcast, placed in a specific directory of the project delivery server for remote host connection; then the formatted postal update message is generated. The command to update the program is sent to the remote test unit through the broadcast messaging module. • 4. The remote test unit automation program instant update system as described in item 1 of the patent application scope. The message processing server combines the first-in first-out and broadcast modes to determine whether the remote test unit is updated successfully. The remote test unit does not use the FIFO-based backhaul within the set time. The social control program will resend the _ message of the update program for the remote test unit that has not been returned to ensure that each __ The Taiyuan Tattoo Unit can receive instructions to update the program. S·If you apply for a patent scope! The remote test unit is an instant update system, wherein the remote test unit includes an execution program module, and the execution program module includes: a broadcast message receiving module, which is responsible for receiving the message processing server The broadcast program sends the program control server update program command; a command parsing module, the interpreter controls the server to send the update program command and actively calls the corresponding program module according to different instructions. Processing; an instant update module 'according to the FTp related parameters sent by the program control server, actively linking to the file transfer server to obtain the latest version of the update program compression broadcast, executing the solution 16 201019223 and overwriting the original program, The remote test program is automatically restarted to apply the new program settings; a first-in first-out message transfer module is responsible for sending the update program execution result of the remote test unit to the message processing server. 6. A remote test unit automation program instant update method 'The main control program instantly sends the XML format command language to multiple remote test units, notifying each remote test unit to automatically obtain a new version of the update program through the network. Including: Step 1: The program developer will update the program to the program storage space of the data center, that is, the trigger program controls the host program on the server; Step 2: The master program automatically generates a new version number and will update it. After the package is packaged together with the version number, it is placed in the file transfer server. Step 3: The master program obtains all the remote test units to be updated, and generates a view [format update program message] by message processing. The device broadcasts each remote test unit. Step 4: When receiving the update message, the remote test unit first parses the message content to obtain the information about the update program, and then uses the FTP storage transfer protocol to transmit to the server. Get the update program; ί/骤5. After the remote measurement is completed, the result will be updated by the message. Report to the main control program; Step 6: The main control program can judge the return status of each remote test unit. If there is a remote test unit update failure or not, the __ report update result message is moved to the remote end that has not been successfully updated. The test unit resends the update program message until all remote test units have returned or the remote test unit exceeds the maximum number of update programs; 17 201019223 V Step 7: The main control program can ride the number of updates on the remote The unit sends an alert message to the system administrator to facilitate the system administrator to troubleshoot the remote test unit that failed to update. 7. The method for updating the remote test unit automation program according to item 6 of the patent application scope, wherein the XML format instruction can be notified to the remote test unit by the message processing feeder to perform an immediate update, and then updated. The message processing engine replies the result to the host program in XML format in a first-in, first-out manner. • 8·#Application for the remote test unit automation program described in item 6 of the patent scope] The broadcast processing and the first-in first-out message exchange mode of the message processing server are used to determine whether the remote test unit is If the update is successful, if the remote test unit does not use the first-in-first-out communication mode to return the update result within the set time, the host program will resend the broadcast message to the remote station that has not been sent back to ensure that the broadcast message is sent. Each remote test unit can receive an instruction to update the program. 9. The remote test unit automation program instant update method as described in claim 6 of the patent application scope, wherein the main control program notifies the remote test list to update the program, and the remote test list will self-disclose the program. Get the update program on the delivery server. 10. In the case of a towel, please refer to the remote test unit automation program instant update method described in item 6. The master program automatically generates the program version number, simplifying the steps of comparing the remote host program versions one by one. 11. In the case of the full-time HJ item 6, the remote program test unit automation program instant update method, wherein the main control program can send an alarm message to the remote test unit that failed to update.
TW97143286A 2008-11-10 2008-11-10 Remote test unit automation program real - time update method and system TWI385578B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97143286A TWI385578B (en) 2008-11-10 2008-11-10 Remote test unit automation program real - time update method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97143286A TWI385578B (en) 2008-11-10 2008-11-10 Remote test unit automation program real - time update method and system

Publications (2)

Publication Number Publication Date
TW201019223A true TW201019223A (en) 2010-05-16
TWI385578B TWI385578B (en) 2013-02-11

Family

ID=44831657

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97143286A TWI385578B (en) 2008-11-10 2008-11-10 Remote test unit automation program real - time update method and system

Country Status (1)

Country Link
TW (1) TWI385578B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI502373B (en) * 2014-01-09 2015-10-01 Data exchange management system and method
TWI631477B (en) * 2016-03-29 2018-08-01 上捷國際電訊股份有限公司 Software development system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4408033B2 (en) * 2002-09-24 2010-02-03 株式会社リコー Remote management system
TW200426598A (en) * 2003-05-20 2004-12-01 Jia-Lian Weng Remote monitoring system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI502373B (en) * 2014-01-09 2015-10-01 Data exchange management system and method
TWI631477B (en) * 2016-03-29 2018-08-01 上捷國際電訊股份有限公司 Software development system

Also Published As

Publication number Publication date
TWI385578B (en) 2013-02-11

Similar Documents

Publication Publication Date Title
CN105245373B (en) A kind of container cloud platform system is built and operation method
CN102355426B (en) Method for transmitting off-line file and system
CN108040034A (en) Distributing real communication middleware
CN103838878B (en) A kind of distributed tones processing system for video and processing method
US20100057865A1 (en) Transferable Debug Session in a Team Environment
CN109743358A (en) Asynchronous message interface fusing control method, device, computer equipment and storage medium
CN108712501A (en) Sending method, device, computing device and the storage medium of information
JP5537181B2 (en) Message system
CN111427521B (en) Electronic face sheet printing method, server, system and equipment
CN110752943B (en) Distributed fault diagnosis system and method for power transmission line
CN103440142A (en) GPRS (General Packet Radio Service)-based remote upgrade and dynamic loading method
WO2017049927A1 (en) Message dispatching method, device and system
CN114253748B (en) Message processing system and message processing method
CN107688512A (en) One kind optimization virtual-machine data backup method and system
US20200012545A1 (en) Event to serverless function workflow instance mapping mechanism
TW201019223A (en) Automatic program real-time update method and system for remote test unit
CN105450733B (en) A kind of business datum distribution processing method and system
CN114816785A (en) Service data processing method and device, electronic equipment and storage medium
CN110191027A (en) A kind of communication mistake diagnostic method between CCU and MCU
CN107819831B (en) Metaq and mns-based universal message system
CN116366644A (en) Message sending method and device, electronic equipment and storage medium
CN103581254A (en) Content issuing method and content distribution server
CN101378538B (en) Method and system for processing group-emitting message
JP2002175236A (en) Data registration system
CN103841106B (en) A kind of server data update method and device

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees