五、發明說明(1) 【發明的應用範圍】 本發明係有關一種電牆檢測方法與裝置,特別是一種 可透過區域網路同時對電腦生產線上之多部電腦進行自動 I測,並可將檢測結果進行彙總和顯更之ϋ檢趔方法。 【發明背景】 在今日瞬息萬變的時代,消費者的品質意識高漲、商 品競爭日益激烈,產品品質已廣泛地被企業視為提昇競爭 力之有效利器,過.去品質管理實務上極為流行之品質保證 理念也已逐漸演變為以顧客為導向之全面品質管理 (Total Quality Management’ TQM)理念。因此,企業在 面對顧客之高品質、低價格、交貨期短等需求的全面性產 業競爭下,常需透過全面品質管理 (TQM)的推動以健全 公司體質並強化其競爭力,進而創造及維持市場的競爭優 勢。 雖然全面品質管理(TQΜ)已蔚為品質活動的主要方法 與理念,且攸關全面品質管理(TQM)之論述亦述明TQM已不 僅是純粹技術面問題,其亦涉及各種管理層面問題,但不 可否認地,技術面之品質管理仍為全面品質管理中極為重 要之一環。而在技術面之品質管理中,目前廣為學術界及 實務界肯定與推薦的便是電腦化之整合與應用。 以電腦生產線為例,傳統之電腦生產過程中,每台出 場之電腦,都必須由檢測工程師利用手工進行各項檢測流 程之控制,以及觀測、紀錄等工作。不僅工作效率差、誤 差多、檢測工作耗時長,且檢測工程師還必須具有儀器操V. Description of the invention (1) [Scope of application of the invention] The present invention relates to an electric wall detection method and device, particularly an automatic I-test for multiple computers on a computer production line through a local network at the same time. The test results are summarized and displayed. [Background of the Invention] In today's fast-changing era, consumers' quality awareness is rising, and product competition is becoming increasingly fierce. Product quality has been widely regarded by enterprises as an effective weapon to improve competitiveness. Quality assurance is extremely popular in quality management practices. The concept has gradually evolved into a customer-oriented Total Quality Management (TQM) concept. Therefore, in the face of comprehensive industrial competition facing the needs of customers for high quality, low prices, short delivery times, etc., companies often need to promote total quality management (TQM) to improve the company's physique and strengthen its competitiveness, thereby creating And maintain the competitive advantage of the market. Although Total Quality Management (TQM) has become the main method and concept of quality activities, and the discussion related to Total Quality Management (TQM) also states that TQM is not only a purely technical issue, it also involves various management level issues, but Undeniably, technical quality management is still a very important part of total quality management. In technical quality management, the integration and application of computerization is affirmed and recommended by academia and practical circles. Take the computer production line as an example. In the traditional computer production process, each computer on the scene must be manually controlled by the inspection engineer, as well as observe and record. Not only the work efficiency is poor, there are many errors, the test takes a long time, and the test engineer must also have instrument operation
4444 63 五、發明說明(2) 作、電腦程式語言、程式設計等經驗,並且必須了解 IEEE-488理念、檢測系統軟硬體介面整合、以及儀器GPIB 之命令意義與結構,薪資成本方面亦所費不貲。且傳統由 人工進行之流程控制,如果一旦改變檢測流程,便會影響 到整個生產線的佈置以及人員訓練,不僅缺乏彈性,更造 成生產資源的浪費。 【發明之目的與概述】4444 63 V. Description of the invention (2) Experience in operation, computer programming language, programming, etc., and must understand the IEEE-488 concept, integration of software and hardware interface of the detection system, and the command significance and structure of the instrument GPIB, as well as salary costs. No expense. Moreover, the traditional manual process control, once the detection process is changed, it will affect the layout of the entire production line and personnel training, which not only lacks flexibility, but also causes waste of production resources. [Objective and Summary of the Invention]
有鑑於此,本發明之主要目的在於提供一種電腦檢測 方法與裝置,可同時對電腦生產線上之多部電腦進行自動 化檢測與控制,並且利声一個蜱本(S t項檢測的内容和結果,以對檢測結果進。 透過此電腦檢測方法,不僅能減少勞動人力並降低薪資成 本,還能提高產品品質,在面對生產流程的變動時亦能更 具彈性。 為達上述目的,本發明揭露一種電腦檢測方法,其步 驟包括有:建立一關聯式伺服器;電連接關聯式伺服器以 及複數台待測電腦;根據待測f腦所傳送之指令請求,由 關聯式伺取器.土讀_取相應的集;根據指令集之内容控 制待測電腦執行相應之檢測指令;接收並分析檢測指令之 ~~— -_-—"-— 執行結果;顯示執行結果。 有關本發明之詳細内容及技術,茲就配合圖式說明如 下: 【圖式簡單說明】 第1圖,為本發明之電腦檢測裝置圖;In view of this, the main object of the present invention is to provide a computer detection method and device, which can automatically detect and control multiple computers on a computer production line at the same time, and sharpen the content and results of one tick The computer test method can not only reduce labor and labor costs, but also improve product quality. It can also be more flexible in the face of changes in the production process. To achieve the above purpose, the present invention discloses A computer testing method includes the steps of: establishing an associated server; electrically connecting the associated server and a plurality of computers to be tested; and according to a command request transmitted by the brain to be tested, an associated server. _ Take the corresponding set; control the computer under test to execute the corresponding detection instructions according to the contents of the instruction set; receive and analyze the detection instructions ~~-----"--executionresults; display the execution results. Details of the invention The content and technology are described below in conjunction with the drawings: [Simplified description of the drawings] Figure 1 is a diagram of the computer detection device of the present invention;
4 44 4 6 3 五、發明說明(3) 第2 A圖,為本發明之電腦檢測方法之控制流程圖; 第2 B圖,為本發明之電腦檢測方法之控制流程圖; 第3圖,為本發明之電腦檢測方法之指令集的資料結 構圖;以及 第4圖,為本發明之電腦檢測方法之待測電腦端操作 流程圖。 【發明之詳細說明】 本發明之電腦檢測裝置,請參考「第1圖」所示,包 括有:一關聯式祠服器(S Q L S e r v e r ) 1 1,用以儲存一指令 資料庫;一輕元1 2 )用以由指令資料庫中讀取一指令 集,並控制複數台待測電腦1 3執行此指令集;一檔案伺服 器1 4,用以儲存執行指'令#所需之相關檔案;一頁示車元 1 5,用以顯示此指令集之執行結果;且關聯式伺服器Π、 控制單元1 2、待測電腦1 3、檔案伺服器1 4、以及顯示單元 1 5係透過區域網路(L A Ν )相互連接。 本發明之電腦檢測方法之詳細控制流程,請參考「第 2 A、2 B圖」所示。首先,建立一指令資料庫 (Database),用以儲存控制流程的指令集(步驟1 01 ),請 參考「第3圖」所示,此指令集係以腳本(S c r i p t )之方式 寫成,並儲存有流程中所要運行的各種指令資料,包括: 指令名稱(Tool Name)以及指令參數(Tool Parameter) 等,其中,指令名稱即為各檢測指令之名稱,指令參數則 指出存有各檢測指令執行參數之腳本(S c r i p 1;),運行時間 (T i m e 0 u t)欄代表運行時間之上限,重複次數(R e p e a 1:4 44 4 6 3 V. Description of the invention (3) Figure 2A is a control flowchart of the computer detection method of the present invention; Figure 2B is a control flowchart of the computer detection method of the present invention; Figure 3, FIG. 4 is a data structure diagram of the instruction set of the computer detection method of the present invention; and FIG. 4 is a flowchart of the computer end operation of the computer detection method of the present invention. [Detailed description of the invention] The computer detection device of the present invention, please refer to the "Figure 1", including: an associated temple server (SQLServer) 1 1 for storing a command database; a light dollar 1 2) is used to read an instruction set from the instruction database and control a plurality of computers under test 13 to execute this instruction set; a file server 14 is used to store the relevant files required to execute the instruction 'command # ; One page shows the car element 15 to display the execution result of this instruction set; and the associated server Π, the control unit 1 2, the computer to be tested 1, 3, the file server 1 4, and the display unit 15 are transmitted through The local area networks (LA Ν) are interconnected. For the detailed control flow of the computer detection method of the present invention, please refer to "Figures 2A and 2B". First, establish a command database (Database) to store the command set of the control flow (step 1 01). Please refer to "Figure 3". This command set is written in the form of a script, and Stores various command data to be run in the process, including: Command Name (Tool Name) and Command Parameters (Tool Parameter), etc. Among them, the command name is the name of each test instruction, and the command parameter indicates that each test instruction is executed. The parameter script (S crip 1;), the running time (T ime 0 ut) column represents the upper limit of the running time, the number of repetitions (R epea 1:
五、發明說明w)V. Description of invention w)
Count)則代表此檢測指令重複檢測的次數,而遇錯停止 (S t ο ρ 0 η E r r 〇 r )攔之狀態值若設定為Y e s,則表示當檢測 指令產生錯誤或是檢測指令運行時間超過運行時間上限 時,必須停止下一個檢測指令之運作;接著,透過區域網 路取得待測電腦之一溝通訊號(步驟1 〇 2 );判斷此溝通訊 號是否為要求取得下一檢測指令之一指令請求(步驟 1 0 3);於溝通訊號為指令請求時,判斷此指令請求所對應 之一指令集是否已經載入(Load)(步驟1 04);於指令集尚 未載入(Load)時,由指令資料庫中加載指令集(步驟 105);於指令集已經載入(Load )時,則省略步驟1 0 5 ;接 著傳送目前控制指標所指之檢測指令至待測電腦(步驟 10 6);此時,取得代表指令集執行結果之一字符串 (s t r i ng ),並判斷此字符串是否為一結束標誌(步驟 10 7);於此字符串顯示結束標誌時,亦即目前此指令集中 所有的檢測指令都已經運行完畢時,則釋放指令集(步驟 108);最後,結束此電腦檢測方法(步驟1 0 9 )。其中,若 步驟1 0 7之判斷結果顯示此字符串非結束標誌時,則判斷 是否可取得下一檢測指令(步驟Π 0 );於指令集中尚有下 一檢測指令時,將目前控制指標指向下一檢測指令(步驟 111) ;並結束此電腦檢測方法(步驟1 0 9 );但若指令集中 已無下一檢測指令時,則將字符串設定為結束標誌(步驟 112) ;接著亦結束此電腦檢測方法(步驟1 0 9 )。但到此步 驟為止,僅僅是中止對其中一部待檢測電腦之檢測作業, 檢測程序將返回取得該溝通訊號的步驟等侍下一個電腦的Count) represents the number of repeated detections of this detection instruction, and if the status value of Stop (S t ο ρ 0 η E rr 〇r) is set to Yes, it means that when the detection instruction generates an error or the detection instruction runs When the time exceeds the upper limit of the running time, the operation of the next detection instruction must be stopped; then, a channel communication number of the computer to be tested is obtained through the local network (step 102); it is judged whether this channel communication number is the one that requires the next detection instruction An instruction request (step 103); when the ditch communication number is an instruction request, determine whether one of the instruction sets corresponding to the instruction request has been loaded (step 1 04); and the instruction set has not been loaded (load) When the instruction set is loaded from the instruction database (step 105); when the instruction set is already loaded (step 105), step 105 is omitted; and then the detection instruction indicated by the current control indicator is transmitted to the computer to be tested (step 10) 6); At this time, obtain a string (stri ng) representing the execution result of the instruction set, and determine whether this string is an end mark (step 10 7); when the end mark is displayed in this string, that is, the current When all of the detection command instruction set have been finished running, the instruction set is released (step 108); and finally, the computer detecting the end of this process (step 109). Among them, if the judgment result of step 107 indicates that the character string is not the end flag, it is judged whether the next detection instruction can be obtained (step Π 0); when there is the next detection instruction in the instruction set, the current control index is pointed to The next detection instruction (step 111); and the computer detection method is ended (step 109); but if there is no next detection instruction in the instruction set, the character string is set as the end flag (step 112); then it also ends This computer detection method (step 10 9). However, up to this step, it is only to suspend the test operation on one of the computers to be tested. The test program will return to the step of obtaining the communication number of the trench to wait for the next computer.
ill ^ 第7頁 4444 63 五、發明說明(5) 指令請求,以繼續進行檢測作業。 若步驟1 0 3之判斷結果顯示溝通訊號非一指令請求 時,則判斷此溝通訊號是否為報告執行開始之一執行訊號 (步驟U 3 );於此溝通訊號為一執行訊號時,根據此溝通 訊號内容顯示目前之檢測狀態(步驟1 1 4 );最後,結束此 電腦檢測方法(步驟1 0 9 )。其中,若步驟1 1 3之判斷結果顯 示此溝通訊號非執行訊號時,判斷此溝通訊號是否為報告 檢測指令執行結束之.一結束訊號(步驟1 1 5 );於溝通訊號 為結束訊號時,根據此溝通訊號内容顯示目前之檢測狀態 (步驟11 4 );然後結束此電腦檢測方法。但若此溝通訊號 亦非結東訊號時,則判斷此溝通訊號是否為報告檢測指令 錯誤之一錯誤訊號(步驟1 1 6 );於溝通訊號為錯誤訊號 時,根據此溝通訊號内容顯示目前之檢測狀態(步驟 114);於溝通訊號非錯誤訊號時,則將此溝通訊號視為無 效(步驟1 1 7 );最後亦結束此電腦檢測方法(步驟1 0 9 )。 根據上述電腦檢測方法之控制流程,生產過程中只須 在每台待測電腦1 3的軟碟中插入一張存放有控制待測電腦 .丨丨 1 、. — __丨丨— |T, — ~·' " 1 3與雙fL.單元_ 1 2以及禕案伺服器1 4連接程序之磁片,則當 待測電腦1 3啟動後,便立_.自動向控制單元1 2要求檢測指 令,艮瘦由樓案伺服器1 4中下載檢測 携^執行所需之相關檔案,直至指令集中戶[有檢測指令均 運行完畢。待測電腦端之詳細操作流程,請參考「第4 圖」所示。首先,連接至區域網路(LAN)(步驟201 );取得 目前控制指標所指之下一個檢測指令(步驟2 0 2 );取得代ill ^ page 7 4444 63 5. Description of the invention (5) The instruction request to continue the inspection operation. If the judgment result of step 103 indicates that the groove communication number is not an instruction request, it is judged whether the groove communication number is an execution signal of the report execution start (step U 3); when the groove communication number is an execution signal, the communication is performed according to this The signal content shows the current detection status (step 1 1 4); finally, the computer detection method is ended (step 10 9). Among them, if the judgment result of step 1 1 3 shows that the groove signal is non-executing signal, it is judged whether the groove signal is the end of the report detection instruction execution.-End signal (step 1 15); when the groove signal is the end signal, The current detection status is displayed according to the content of this ditch communication number (step 11 4); then the computer detection method is ended. However, if the signal of this channel is not the signal of the East, it is judged whether the signal of this channel is an error signal that reports a detection command error (step 1 16). When the signal of the channel is an error signal, the current signal is displayed according to the content of this channel Detection status (step 114); when the groove communication number is not an error signal, the groove communication number is regarded as invalid (step 1 1 7); and finally, the computer detection method is ended (step 10 9). According to the control flow of the computer detection method described above, during the production process, only one of the computer 13 to be tested needs to be inserted into a floppy disk containing the computer to be tested. 丨 丨 1 、. — __ 丨 丨 — | T, — ~ · '&Quot; 1 3 and the dual fL. Unit _ 1 2 and the case server 14 are connected to the magnetic disk of the program, when the computer under test 1 3 starts, it will _. Automatically request the control unit 12 The detection instructions are downloaded from the building case server 14 to download the relevant files required for the execution of the detection instructions, until the instruction concentrators [the detection instructions are all completed. For the detailed operation flow of the computer under test, please refer to "Figure 4". First, connect to a local area network (LAN) (step 201); obtain the next detection instruction indicated by the current control index (step 2 0 2); obtain the proxy
五、發明說明(6) 表指令集執行結果之一字符串,並判斷此字符串是否為一 結束標誌(步驟2 0 3 );若字符串為結束標誌時,則代表所 有檢測指令都已經運行完畢,此時,顯示最終運行結果 (步驟2 0 4 );若字符串非一結束標誌時,取得檢測指令的 相關檔案(步驟2 0 5 );接著,執行檢測指令(步驟2 0 6);報 告檢測指令的執行結果(步驟2 0 7 );最後,繼續取得下一 個檢測指令(步驟2 0 2 );直至所有檢測指令都運行完畢為 止 0 雖 然 本 發 明 已 以 — 較 佳 實 施 例 揭 露 如 上 然 其 並 非 用 以限 定 本 發 明 任 何 熟 習 此 技 藝 者 在 不 脫 離 本 發 明 之 jjii. m 神和 範 圍 内 當 可 作 jib 許 之 更 動 與 潤 飾 J 因 此 本 發 明 之 保 護範 圍 當 視 後 附 之 中 請 專 利 範 圍 所 界 定 者 為 準 0 【圖 示 符 號 說 明 ] 11 關 聯 式 飼 服 器 12 控 制 早 元 13 待 測 腦 14 權 案 伺 服 器 15 顯 示 單 元V. Description of the invention (6) Table 1 shows a string of execution results of the instruction set, and determines whether the string is an end flag (step 203); if the string is an end flag, it means that all detection instructions have been run When finished, at this time, the final running result is displayed (step 204); if the character string is not an end flag, the relevant file of the detection instruction is obtained (step 2 0 5); then, the detection instruction is executed (step 2 0 6); Report the execution result of the detection instruction (step 207); finally, continue to obtain the next detection instruction (step 202); until all detection instructions have been completed 0 Although the present invention has been disclosed as-the preferred embodiment as above It is not intended to limit any person skilled in the present invention who can make changes to jib without deviating from the scope and spirit of the present invention. Therefore, the scope of protection of the present invention shall be included in the appended patent scope. Defined as standard 0 [Illustration of Symbols] 11 Associated Feeder 12 control early yuan 13 brain under test 14 right case server 15 display unit