201003089 九、發明說明: 【發明所屬之技術領域】 本U係關於種測試方法,尤指—種用於測試電子 產品圖像顯示功能之自動測試方法。 【先前技術】 田7社會同度流行之數碼電子產品通常都設置有可 像之顯示設備’用以方便用戶操作或增強娛樂效 =為了給最終用戶提供品質穩定可靠之產品,這些產品 在出,叙各項功能都要經過嚴格之檢測。圖像顯示裝置 之功能測S式係其中必不可少之s々 、s A + 4 J夕之椒卽。為了確保功能正常, 檀w之主機板功场測站,即要進行®像顯示功能 統之圖像顯示功能職係透過人眼判斷設備播放 之圖像或視頻。這種測試方法伟盟 认命, 〜万去間早,惟,其最大之問題在 於而要人工手動測試,需要人工判斷測試結果,效率低, 工人容易疲勞’導致測試出錯。 【發明内容】 鑒於以上内容,有必尊挺也 #Ig - , ,t . ^ , k供一種用於測試電子產品之 圖像顯不功能之自動測試方法。 -種®像顯示測試方法,包括如下步驟:將— 電子設備與-個電腦純相連,所、 圖像自動播放程式,所述電腦系#士電子fl又備δ又有一 細糸統内設有一個樣本圖像及 一個圖像比對測試程式;所述電 備發出播放圖像之指令;所述待測電子設 行所述圖像自動播放程式,備回應指令並執 J守輸出數位圖像信號;所述 201003089 獲取所述數位圖像信號,將所述 原成圖像,並與樣本圖像進行像素比對 結果在允許之誤差範圍内,則圖像測試通過; 束;若比對分析結果超過允許之誤差範圍,= 新測試’若選擇係’則重複前述測 ^ 測試過程結束。 右璉擇否,則 本發明為用戶提供了 —種用於測試f子產品 顯不功能之自動測試方法。本 測試程式控制,無需人工干預;不會==全由 節省測試時間及成本。 了測試準確率’ 【實施方式】 ::閱::’本發明圖像顯示自動測試方法用以測試 3二 ==示之電子設備1〇。實現本發明圖像顯* 自動以方法$要—台與所述電子設# 統2〇。所述待測電子設備10具有一個資 f 個設置於所述電子設備1G内之圖像顯示晶片13,所述圖 像顯不晶片13具有一個圖像信號輸出端15。所述電腦系 統20八#個串列介面21及—個通用串列介面(usb介 面)23。一條資料線30分別連接所述電腦系統20之串列 w面1及所述資料傳輸埠1:1。所述圖像顯示晶片U透過 ’個USB控制器5〇連接至所述電腦***<脚介面 23。所述待測電子設備1G中設置—個圖像自動播放程式。 所述電腦糸統20中設置一個樣本圖像及一個圖像測試程 201003089 式0 請參閱圖2’所述圖像顯示自動測試方法之測試步驟 如下所述: ^哪 百先,將所述待測電子設備10與電腦系統20按上述 方式連接。测試開始,所述電腦线20内之圖像測試程式 ^串列介面21進行初始化。然:後,電腦系統2G透過串列 二=21向待測電子設備1〇發出測試圖像顯示晶片13之測 j指令。所述待測電子設備10接收到所述測試指令後,執 仃圖像播放程式並開始播放圖像。同時,所述圖像顯示晶 片p之圖像信號輸出端15輪出與播放圖像對應之數位圖 像仏號。所述數位圖像信號透過所述USB控制器5〇傳輪 到電腦系統20之USB介面23。所述電腦系統20透過讀 取所述USB控制器50獲得數位圖像信號,並將所述數位 圖像信號還原成圖像,與所述樣本圖像進行像素比對分 析。如果比對結果在電腦系統2〇設定之誤差範圍内,則圖 像測試通過’並將測試結果顯示在電腦系統之顯示器 上’測試結束;如果比對結果超過系統設定之誤差範圍, 則圖像測試失敗’說明待測電子設備1〇之圖像顯示功能不 合格,測試結果顯示在電腦系統2〇之顯示器上,並選擇是 否重新進入測試程式。如果重新測試,則重複前述步驟; 如果不重新進入測試程式,則測試過程結束。 本發明圖像顯不自動測試方法適於測試各種具有圖 像顯示功能之電子產品。其測試過程完全由測試程式控 制,無需人工干預;不會出現因為測試員之疲勞或測試治 8 201003089 具之脫線而誤測之情況;提高了測試準確率,節省測試時 間及成本。 【圖式簡單說明】 圖1係實現本發明圖像顯示測試方法之設備框圖。 圖2係本發明圖像顯示測試方法之工作流程圖。 【主要元件符號說明】 9201003089 IX. Description of the invention: [Technical field to which the invention pertains] This U is a test method, in particular, an automatic test method for testing an image display function of an electronic product. [Prior Art] The digital electronic products that are popular in the field of the 7th society are usually equipped with display devices that can be used to facilitate user operations or enhance entertainment effects. In order to provide end users with stable and reliable products, these products are in the process. All functions are subject to rigorous testing. The function of the image display device S is the essential s々, s A + 4 J 之 卽 卽. In order to ensure the function is normal, the motherboard function field of the Tan W is to perform the image display function of the image display function to judge the image or video played by the device through the human eye. This kind of test method Weimeng admitted, ~ 10,000 to go early, but the biggest problem is that manual manual testing, manual judgment of test results, low efficiency, workers are prone to fatigue, resulting in test errors. SUMMARY OF THE INVENTION In view of the above, there is a need for an exclusive test method for testing the visual display function of an electronic product. #Ig - , , t . - A kind of image display test method, including the following steps: the electronic device is connected to a computer, and the image is automatically played. The computer system is equipped with a fine system and a fine system. a sample image and an image comparison test program; the electric device issues an instruction to play an image; the electronic device to be tested sets the image automatic playing program, prepares a response command, and executes a digital image a signal; the 201003089 acquires the digital image signal, and compares the original image into a pixel with the sample image within an allowable error range, and the image test passes; the beam; if the comparison analysis The result exceeds the allowable error range, = new test 'If you select ', then repeat the above test ^ test process ends. Right or no, the present invention provides the user with an automatic test method for testing the display function of the sub-product. This test program is controlled without manual intervention; it does not == all saves test time and cost. The test accuracy rate is as follows: [Embodiment]: Read:: The image display automatic test method of the present invention is used to test the electronic device 1 =. The image display of the present invention is implemented automatically by the method $1 and the electronic device. The electronic device 10 to be tested has an image display chip 13 disposed in the electronic device 1G, and the image display chip 13 has an image signal output terminal 15. The computer system 20 has a serial interface 21 and a universal serial interface (usb interface) 23. A data line 30 is connected to the serial w side 1 of the computer system 20 and the data transmission 埠 1:1. The image display wafer U is connected to the computer system <foot interface 23 via 'USB controllers'. An image automatic playing program is set in the electronic device 1G to be tested. A sample image and an image test process are set in the computer system 20 201003089. The test steps of the image display automatic test method shown in FIG. 2' are as follows: ^When the first, the The electronic measuring device 10 is connected to the computer system 20 in the manner described above. At the beginning of the test, the image test program in the computer line 20 is initialized by the serial interface 21. After that, the computer system 2G sends a test image display chip 13 command to the electronic device 1 to be tested through the serial two=21. After receiving the test instruction, the electronic device under test 10 executes the image playing program and starts playing the image. At the same time, the image signal output terminal 15 of the image display wafer p rotates the digital image nickname corresponding to the playback image. The digital image signal is transmitted through the USB controller 5 to the USB interface 23 of the computer system 20. The computer system 20 obtains a digital image signal by reading the USB controller 50, and restores the digital image signal to an image, and performs pixel contrast analysis with the sample image. If the comparison result is within the error range set by the computer system 2, the image test passes 'and the test result is displayed on the display of the computer system'. The test ends; if the comparison result exceeds the error range set by the system, the image The test failed. 'The image display function of the electronic device under test is not qualified. The test result is displayed on the display of the computer system and select whether to re-enter the test program. If retesting, repeat the previous steps; if you do not re-enter the test program, the test process ends. The image display non-automatic test method of the present invention is suitable for testing various electronic products having image display functions. The testing process is completely controlled by the test program, no manual intervention is required; there is no misjudgment due to the fatigue of the tester or the off-line of the 201003089; the test accuracy is improved, the test time and cost are saved. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram of an apparatus for implementing the image display test method of the present invention. 2 is a flow chart showing the operation of the image display test method of the present invention. [Main component symbol description] 9