TWI750509B - Automatic test method for reliability and functionality of electronic device - Google Patents

Automatic test method for reliability and functionality of electronic device Download PDF

Info

Publication number
TWI750509B
TWI750509B TW108132771A TW108132771A TWI750509B TW I750509 B TWI750509 B TW I750509B TW 108132771 A TW108132771 A TW 108132771A TW 108132771 A TW108132771 A TW 108132771A TW I750509 B TWI750509 B TW I750509B
Authority
TW
Taiwan
Prior art keywords
test
electronic device
host
log record
action
Prior art date
Application number
TW108132771A
Other languages
Chinese (zh)
Other versions
TW202111529A (en
Inventor
謝金霖
翁御庭
王哲成
鄭哲聖
Original Assignee
英業達股份有限公司
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 英業達股份有限公司 filed Critical 英業達股份有限公司
Priority to TW108132771A priority Critical patent/TWI750509B/en
Publication of TW202111529A publication Critical patent/TW202111529A/en
Application granted granted Critical
Publication of TWI750509B publication Critical patent/TWI750509B/en

Links

Images

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

An automatic test method for reliability and functionality of electronic device is provided to deploy an robotic arm to perform reliability test on a tested component. In the meantime, the test host can directly access the generic log files generated by the tested electronic device without the need of using a third-party test utility on the tested electronic device. Analysis is carried out by the test host using the log files to determine whether each test round generates functional result to the tested component so that data of the functionality can be collected.

Description

電子設備的可靠性與功能性自動化測試方法 Reliability and functional automation testing method of electronic equipment

本發明有關一種自動化測試方法,尤指一種電子設備的可靠性與功能性自動化測試方法。 The present invention relates to an automatic testing method, in particular to a reliability and functional automatic testing method of electronic equipment.

現有如伺服器、筆記型電腦、桌上型電腦、行動電話等電子裝置在生產組裝後進行自動化的設備測試時,通常使用傳統的機械手臂或以機械手臂夾持相對應的測試連接器來進行可靠度或耐用度測試。測試過程中,機械手臂由氣壓設備驅動而產生前後或上下移動,以推動、按壓按鍵、開關,或是帶動測試連接器對電子裝置的輸出入埠進行重複插拔的動作。 When the existing electronic devices such as servers, notebook computers, desktop computers, mobile phones and other electronic devices are automatically tested after production and assembly, traditional mechanical arms are usually used or the corresponding test connectors are clamped by the mechanical arms. Reliability or durability testing. During the test, the mechanical arm is driven by the pneumatic device to move back and forth or up and down to push, press buttons, switches, or drive the test connector to repeatedly plug and unplug the input and output ports of the electronic device.

然而,現有的測試機構僅能對受測對象進行可靠度(reliability,或稱耐用性)測試,在多次的物理性插拔或按鍵按壓、開關切換後,仍需要進行功能上的測試以檢視其功能是否正常,從而判斷是否通過前述的可靠度測試。雖然可靠度測試中的物理性插拔、按鍵按壓、開關切換...等操作可以由機器自動完成,但目前此種物理性測試裝置無法涵蓋功能性測試,例如:資料是否正確傳輸、電源訊號是否正常供應...等,必須另外以人工操作、檢視的方式去判斷電子元件、連接埠的功能運作是否正常。 However, the existing testing institutions can only perform reliability (or durability) tests on the tested objects, and after repeated physical plugging and unplugging, button pressing, and switch switching, functional tests are still required to check Whether its function is normal, it can be judged whether it has passed the aforementioned reliability test. Although the physical insertion and removal, button pressing, switch switching, etc. in the reliability test can be completed automatically by the machine, the current physical testing device cannot cover the functional testing, such as: whether the data is transmitted correctly, the power signal Whether the supply is normal... etc., it is necessary to manually operate and inspect to determine whether the functions of electronic components and connecting ports are operating normally.

為了解決上述的問題,本發明提供了一種電子設備的可靠性與功能性自動化測試方法。 In order to solve the above problems, the present invention provides an automatic testing method for reliability and functionality of electronic equipment.

根據本發明的實施例,一種電子設備的可靠性與功能性自動化測試方法包含步驟:於一測試主機與受測的一電子設備之間建立連線;該測試主機讀取該電子設備所產生的一第一日誌記錄的內容;該測試主機控制一測試治具對該電子設備的一受測元件進行一測試動作;於該測試動作狀態下,該測試主機讀取該電子設備所產生的一第二日誌記錄並比較該第一日誌記錄與該第二日誌記錄;以及依據該第一日誌記錄與該第二日誌記錄的比較結果判斷該測試動作的功能性是否正常。其中對該受測元件進行該測試動作以及解除該測試動作係對該受測元件進行可靠性測試,依據該第一日誌記錄與該第二日誌記錄的比較結果判斷該測試動作的功能性是否正常係對該受測元件進行功能性測試。 According to an embodiment of the present invention, an automated testing method for reliability and functionality of an electronic device includes the steps of: establishing a connection between a test host and an electronic device under test; the test host reading a data generated by the electronic device The content of a first log record; the test host controls a test fixture to perform a test action on a tested element of the electronic device; in the test action state, the test host reads a first log generated by the electronic device two log records and compare the first log record and the second log record; and determine whether the functionality of the test action is normal according to the comparison result of the first log record and the second log record. Performing the test action on the tested element and releasing the test action is to perform a reliability test on the tested element, and according to the comparison result between the first log record and the second log record, it is judged whether the function of the test action is normal or not. The device under test is functionally tested.

根據本發明的實施例,自動化測試方法另包含步驟:該測試主機對該測試治具進行初始化設置。 According to an embodiment of the present invention, the automated testing method further includes the step of: the testing host initializes the testing fixture.

根據本發明的實施例,自動化測試方法另包含步驟:該測試主機依據該電子設備設定與該電子設備相關的參數。 According to an embodiment of the present invention, the automated testing method further includes the step of: the testing host sets parameters related to the electronic device according to the electronic device.

根據本發明的實施例,該第一日誌記錄以及該第二日誌記錄係該電子設備原生的日誌記錄。 According to an embodiment of the present invention, the first log record and the second log record are native log records of the electronic device.

根據本發明的實施例,該測試主機讀取該第一日誌記錄的內容包含步驟:該測試主機傳送一旗標給該電子設備;以及該電子設備依據該旗標執行一命令以產生該第一日誌記錄並回傳給該測試主機。其中該旗標包含檢測該受測元件的訊息。 According to an embodiment of the present invention, reading the content of the first log record by the test host includes steps: the test host sends a flag to the electronic device; and the electronic device executes a command according to the flag to generate the first log Log and pass back to the test host. Wherein the flag contains the information of detecting the device under test.

根據本發明的實施例,該測試主機讀取該第二日誌記錄的內容包含步驟:該測試主機傳送一旗標給該電子設備;以及該電子設備依據該旗標執行一命令以產生該第二日誌記錄並回傳給該測試主機。其中該旗標包含檢測於該測試動作狀態下的該受測元件的訊息。 According to an embodiment of the present invention, the test host reading the content of the second log record includes steps: the test host transmits a flag to the electronic device; and the electronic device executes a command according to the flag to generate the second log Log and pass back to the test host. Wherein the flag includes the information of the tested element detected in the test action state.

根據本發明的實施例,對該受測元件進行可靠性測試係對該受測元件進行複數次該測試動作以及解除該測試動作,對該受測元件進行功能性測試包含記錄該複數次該測試動作以及解除該測試動作中具有功能性異常的結果。 According to an embodiment of the present invention, performing a reliability test on the device under test includes performing the test action for the device under test a plurality of times and releasing the test action, and performing a functional test on the device under test includes recording the test multiple times. action and the result of a functional abnormality in the removal of this test action.

根據本發明的實施例,於該測試主機與該電子設備之間建立連線係包含至少下列之一:建立該測試主機以及該電子設備可存取的共用網路儲存裝置、以有線連接直接連接該測試主機以及該電子設備、以無線網路連接該測試主機以及該電子設備。 According to an embodiment of the present invention, establishing a connection between the test host and the electronic device includes at least one of the following: establishing a shared network storage device accessible to the test host and the electronic device, directly connecting with a wired connection The test host and the electronic device are connected to the test host and the electronic device by a wireless network.

根據本發明的實施例,該測試治具為機械手臂,該受測元件為按鍵或開關,該測試動作係以該測試治具按壓或切換該受測元件。 According to an embodiment of the present invention, the test fixture is a robotic arm, the tested element is a button or a switch, and the test action is performed by pressing or switching the tested element with the test fixture.

根據本發明的實施例,該測試治具為機械手臂以及測試連接器,該受測元件為該電子設備的連接埠,該測試動作係以該測試治具插入該受測元件。 According to an embodiment of the present invention, the test fixture is a robot arm and a test connector, the component under test is a connection port of the electronic device, and the test operation is performed by inserting the test fixture into the component under test.

本發明的實施例揭露的電子設備的可靠性與功能性自動化測試方法,針對伺服器、筆記型電腦、桌上型電腦或行動電話...等電子設備進行自動化測試時,除了以機械手臂進行電子設備的連接埠、輸出入介面、開關進行可靠性測試外,在不需要另外安裝測試工具程式下,測試主機透過直接讀取受測電子設備所產生的原生日誌記錄,以判斷每一次的元件/連接埠在進行連接/致動時,是否產生有效的功能資訊,以測試該連接埠、按鍵或開關的功能性是否正常。透過此一自動化過程以取代大量的人工進行功能性測試,可顯著減少人工測試所耗費的成本與時間,並能針對可靠性測試提供更完整的功能狀態異常的記錄,以供後續分析與改進。 The reliability and functional automation testing method for electronic equipment disclosed in the embodiments of the present invention is not only used for automatic testing of electronic equipment such as servers, notebook computers, desktop computers, mobile phones, etc. In addition to the reliability test of the connecting ports, I/O interfaces, and switches of the electronic equipment, the test host can directly read the native log records generated by the electronic equipment under test to determine each component without the need to install additional test tools. / Whether the port generates valid functional information when connected/actuated to test the functionality of the port, button or switch. Using this automated process to replace a large number of manual functional tests can significantly reduce the cost and time spent on manual testing, and provide a more complete record of abnormal functional states for reliability testing for subsequent analysis and improvement.

10:測試主機 10: Test the host

100:方法 100: Method

110~200:步驟 110~200: Steps

20:電子設備 20: Electronics

30:測試治具 30: Test fixture

40:無線存取站 40: Wireless Access Station

第1圖為本發明用來對電子設備的可靠性與功能性進行自動化測試方法的一實施例的流程圖。 FIG. 1 is a flow chart of an embodiment of a method for automatic testing of reliability and functionality of electronic equipment according to the present invention.

第2圖至第5圖為本發明中的測試主機、電子設備以及測試治具之間的連線型態的實施例的示意圖。 FIG. 2 to FIG. 5 are schematic diagrams of an embodiment of a connection type between a test host, an electronic device, and a test fixture in the present invention.

在說明書及後續的申請專利範圍當中使用了某些詞彙來指稱特定的元件。所屬領域中具有通常知識者應可理解,製造商可能會用不同的名詞來稱呼同一個元件。本說明書及後續的申請專利範圍並不以名稱的差異來作為區分元件的方式,而是以元件在功能上的差異來作為區分的準則。在通篇說明書及後續的請求項當中所提及的「包含」係為一開放式的用語,故應解釋成「包含 但不限定於」。此外,「耦接」或「連接」一詞在此係包含任何直接及間接的電氣或結構連接手段。因此,若文中描述一第一裝置耦接/連接於一第二裝置,則代表該第一裝置可直接電氣/結構連接於該第二裝置,或透過其他裝置或連接手段間接地電氣/結構連接至該第二裝置。 Certain terms are used in the specification and subsequent claims to refer to particular elements. It should be understood by those of ordinary skill in the art that manufacturers may refer to the same element by different nouns. The scope of this specification and subsequent applications does not take the difference in name as a way to distinguish elements, but takes the difference in function of the elements as a criterion for distinguishing. The reference to "comprising" throughout the specification and subsequent claims is an open-ended term and should be interpreted as "comprising" But not limited to". Furthermore, the term "coupled" or "connected" herein includes any direct and indirect electrical or structural means of connection. Therefore, if a first device is described as being coupled/connected to a second device, it means that the first device can be directly electrically/structurally connected to the second device, or indirectly electrically/structurally connected through other devices or connecting means to the second device.

請參考第1圖,第1圖為本發明用來對電子設備進行可靠性與功能性的自動化測試方法的一實施例的流程圖。電子設備的可靠性與功能性自動化測試方法100包含下列步驟:步驟110:由一測試主機對一測試治具進行初始化設置;步驟120:於該測試主機與受測的一電子設備之間建立連線;步驟130:該測試主機設定該電子設備相關的參數;步驟140:該測試主機讀取該電子設備所產生的一第一日誌記錄的內容;步驟150:該測試主機控制該測試治具對該電子設備的一受測元件進行一測試動作;步驟160:該測試主機讀取該電子設備所產生的一第二日誌記錄的內容;步驟170:該測試主機比較該第一日誌記錄與該第二日誌記錄,並依據該第一日誌記錄與該第二日誌記錄的比較結果判斷該測試動作的功能性是否正常;步驟180:解除該測試動作;步驟190:解除該測試動作並記錄該次測試動作的功能性為異常;步驟200:記錄複數次測試動作以及解除測試動作中的功能性為異 常的結果。 Please refer to FIG. 1 . FIG. 1 is a flowchart of an embodiment of an automated testing method for reliability and functionality of an electronic device according to the present invention. The reliability and functionality automated testing method 100 of electronic equipment includes the following steps: Step 110: Initialize a test fixture by a test host; Step 120: Establish a connection between the test host and an electronic device under test Step 130: The test host sets the parameters related to the electronic device; Step 140: The test host reads the content of a first log record generated by the electronic device; Step 150: The test host controls the test fixture to A tested element of the electronic device performs a test action; Step 160: The test host reads the content of a second log record generated by the electronic device; Step 170: The test host compares the first log record with the first log record Two log records, and according to the comparison result of the first log record and the second log record to determine whether the functionality of the test action is normal; Step 180: cancel the test action; Step 190: cancel the test action and record the test The functionality of the action is abnormal; Step 200: Recording multiple test actions and releasing the functionality in the test action is abnormal usual results.

請一併參考第2圖至第5圖,第2圖至第5圖為本發明中的測試主機、電子設備以及測試治具之間的連線型態的實施例的示意圖。測試主機10與電子設備20以及測試治具30之間可以以有線或無線的方式建立連線,例如在第2圖中,測試主機10、受測的電子設備20以及測試治具30均透過無線存取站40(wireless access point,AP)以於彼此之間建立連線,並且由無線存取站40另外連接共用網路存取裝置或是無線存取站40內建共用網路存取裝置作為資料的儲存點。在第3圖的實施例中,測試主機10分別以直接無線通訊(例如wifi無線網路界面)與受測的電子設備20以及測試治具30建立連線。在第4圖的實施例中,測試主機10與受測的電子設備20透過無線存取站40建立連線,而測試主機10以實體USB界面(或其他可行的實體傳輸界面)與測試治具30連接。在第5圖的實施例中,測試主機10與受測電子設備20之間也可以實體的網路電纜(NIC cable)直接建立連線。 Please refer to FIG. 2 to FIG. 5 together. FIG. 2 to FIG. 5 are schematic diagrams of an embodiment of the connection type between the test host, the electronic device and the test fixture in the present invention. The connection between the test host 10, the electronic device 20 and the test fixture 30 can be established in a wired or wireless manner. For example, in Figure 2, the test host 10, the electronic device 20 under test, and the test fixture 30 are connected by wireless The access station 40 (wireless access point, AP) establishes a connection with each other, and the wireless access station 40 is additionally connected to a shared network access device or the wireless access station 40 has a built-in shared network access device as a storage point for data. In the embodiment of FIG. 3 , the test host 10 establishes a connection with the electronic device 20 under test and the test fixture 30 through direct wireless communication (eg, a wifi wireless network interface). In the embodiment of FIG. 4, the test host 10 and the electronic device 20 under test establish a connection through the wireless access station 40, and the test host 10 uses a physical USB interface (or other feasible physical transmission interface) to communicate with the test fixture 30 connections. In the embodiment shown in FIG. 5 , a physical network cable (NIC cable) can also be directly established between the test host 10 and the electronic device 20 under test.

根據第1圖的流程,在本發明的方法100中,首先由測試主機10對測試治具30進行初始化設置(步驟110),測試主機10與測試治具30(機械手臂或機械手臂夾持測試連接器)以有線或無線進行連線,並由測試主機10對測試治具30進行初始化,如過電啟動、設定測試治具30參數、設定測試種類、測試行程...等,使測試治具30可執行測試主機10所要求的每一次測試動作,例如插拔輸出入連接埠、按壓按鍵、切換開關等。接著在步驟120中,在測試主機10與受測的電子設備20之間建立連線。如前所述,電子設備20透過無線網路界面或實體網路電纜與測試主機10連線後,即可在測試主機10與電子設備20之間傳遞所需的資料。在步驟120建立連線之後,接著於步驟130中,測試主機10即可依據 所連接電子設備20以及電子設備20中所具有的各受測元件,設定相關的受測參數,例如測試主機10自身設定受測元件的類型、物理尺寸、模組...等,與步驟110相比,步驟110係對測試治具30進行初始化設置,而步驟130則相當於對電子設備20中待測的一受測元件進行相關的初始化以及參數設置,使測試主機10在後續步驟能取得並分析與該受測元件有關的日誌內容。 According to the flow of FIG. 1, in the method 100 of the present invention, the test host 10 firstly initializes the test fixture 30 (step 110), and the test host 10 and the test fixture 30 (robot or mechanical arm clamp test connector) is wired or wireless, and the test host 10 initializes the test fixture 30, such as over-power start, setting the parameters of the test fixture 30, setting the test type, test stroke, etc., so that the test The tool 30 can perform every test action required by the test host 10 , such as plugging and unplugging the input and output ports, pressing buttons, switching switches, and the like. Next, in step 120, a connection is established between the test host 10 and the electronic device 20 under test. As mentioned above, after the electronic device 20 is connected to the test host 10 through a wireless network interface or a physical network cable, the required data can be transmitted between the test host 10 and the electronic device 20 . After the connection is established in step 120, then in step 130, the test host 10 can The connected electronic device 20 and each tested element in the electronic device 20 are set with relevant tested parameters, for example, the test host 10 itself sets the type, physical size, module, etc. of the tested element, etc., and step 110 In contrast, step 110 is to initialize and set the test fixture 30 , while step 130 is equivalent to performing relevant initialization and parameter settings on a component under test in the electronic device 20 to be tested, so that the test host 10 can obtain the And analyze the log content related to the component under test.

在前述測試環境相關設定完成後,接著測試主機10開始進行受測元件的可靠性以及功能性測試。於步驟140中,測試主機10嘗試讀取電子設備20的日誌記錄,透過對電子設備20下指令,由電子設備20的作業系統(OS)內建指令主動產生測試的日誌記錄。於一實施例中,測試主機10傳送檢測該受測元件的訊息的旗標(flag)給電子設備20,電子設備20於收到該旗標時回傳收到旗標的確認訊號並依據該旗標由本身的作業系統執行一命令以產生並回傳一第一日誌記錄,由測試主機10透過步驟120所建立的連線讀取。特別說明的是,若測試主機10未收到電子設備20回傳的確認訊號則持續發出旗標給電子設備20(重複步驟140)。電子設備20所產生的該第一日誌記錄至少包含電子設備20中與該受測元件有關的未啟動/未開啟/未連接連接器或一特定狀態時的狀態記錄,即尚未執行步驟150的測試動作前的狀態。 After the above-mentioned setting of the test environment is completed, the test host 10 starts to perform reliability and functional tests of the device under test. In step 140 , the test host 10 attempts to read the log records of the electronic device 20 , and by instructing the electronic device 20 , the built-in commands of the operating system (OS) of the electronic device 20 actively generate the test log records. In one embodiment, the test host 10 transmits a flag for detecting the information of the device under test to the electronic device 20, and when the electronic device 20 receives the flag, the electronic device 20 returns a confirmation signal of receiving the flag and according to the flag The target executes a command by its own operating system to generate and return a first log record, which is read by the test host 10 through the connection established in step 120 . Specifically, if the test host 10 does not receive the confirmation signal returned by the electronic device 20, it continues to send a flag to the electronic device 20 (repeat step 140). The first log record generated by the electronic device 20 at least includes a state record of the electronic device 20 related to the component under test when the connector is not activated/unconnected/connected or a specific state, that is, the test in step 150 has not been performed state before the action.

接著於步驟150中,測試主機10控制測試治具30對電子設備20的該受測元件進行一測試動作。於一實施例中,測試治具30可以是機械手臂,以3D列印或機械製造而具有測試頭,而該受測元件為電子設備20的其中一個按鍵、開關、電源鍵、音量控制鍵...等,該測試動作則為以機械手臂按壓按鍵或是切換開關位置,並且測試主機10以軟體控制測試治具30自動完成上述的測試動作。於另一實施例中,當受測元件為電子設備20的其中一個連接埠時,測試治具30 則為機械手臂另外夾持相對應的測試連接器,該測試動作則為機械手臂帶動測試連接器插入該連接埠中。 Next, in step 150 , the test host 10 controls the test fixture 30 to perform a test operation on the component under test of the electronic device 20 . In one embodiment, the test fixture 30 can be a robotic arm, and has a test head by 3D printing or mechanical manufacturing, and the tested element is one of the buttons, switches, power buttons, and volume control buttons of the electronic device 20. .. etc., the test action is to press the button or switch the position of the switch with the mechanical arm, and the test host 10 controls the test fixture 30 with software to automatically complete the above test action. In another embodiment, when the component under test is one of the connection ports of the electronic device 20, the test fixture 30 The robot arm additionally clamps the corresponding test connector, and the test action is that the robot arm drives the test connector to insert into the connection port.

在上述步驟150進行該測試動作的狀態下,接著步驟160中,測試主機10再次讀取電子設備20的日誌記錄,透過對電子設備20下指令,由電子設備20的作業系統(OS)內建指令主動產生測試的日誌記錄。測試主機10同樣傳送檢測該受測元件的訊息的旗標(flag)給電子設備20,電子設備20於收到該旗標時回傳收到旗標的確認訊號並依據該旗標由本身的作業系統執行一命令以產生並回傳一第二日誌記錄,由測試主機10透過步驟120所建立的連線讀取。此時若該受測元件的功能性正常,則該受測元件的狀態能反應該測試動作而發生改變,因此電子設備20所產生的該第二日誌記錄至少包含電子設備20中與該受測元件有關的啟動/開啟/連接連接器或另一特定狀態時的狀態記錄。 In the state where the test operation is performed in the above step 150 , in the next step 160 , the test host 10 reads the log records of the electronic device 20 again, and is built into the operating system (OS) of the electronic device 20 by issuing an instruction to the electronic device 20 . Directives actively generate log records for tests. The test host 10 also transmits a flag for detecting the information of the device under test to the electronic device 20. When the electronic device 20 receives the flag, the electronic device 20 returns a confirmation signal of receiving the flag and operates its own operation according to the flag. The system executes a command to generate and return a second log record, which is read by the test host 10 through the connection established in step 120 . At this time, if the function of the device under test is normal, the state of the device under test can be changed in response to the test action, so the second log record generated by the electronic device 20 at least includes the electronic device 20 and the device under test. A state record when a component is activated/opened/connected to a connector or another specific state.

特別說明的是,由於本發明的測試方法並未於受測的電子設備20中另外安裝外來的測試程式,因此當測試主機10控制測試治具30對電子設備20進行測試動作時,所讀取的第一日誌記錄以及第二日誌記錄均為電子設備20的作業系統本身既有的控制命令與作業所產生的記錄。換言之,第一日誌記錄以及第二日誌記錄係電子設備20原生的日誌記錄。接著於步驟170中,測試主機10比較原生的第一日誌記錄以及第二日誌記錄中,與該受測元件狀態有關的日誌內容,並據以判斷在執行該測試動作時,該受測元件的功能性是否正常。若功能性正常,則執行步驟180,直接解除該測試動作,即取消按壓按鍵、切換開關位置至原來位置或帶動測試連接器自該連接埠拔出。若功能性異常,則執行步驟190以解除該測試動作,同時記錄該次測試動作的功能性為異常。 In particular, since the test method of the present invention does not install an external test program in the electronic device 20 under test, when the test host 10 controls the test fixture 30 to test the electronic device 20, the read The first log record and the second log record are both records generated by the existing control commands and operations of the operating system of the electronic device 20 . In other words, the first log record and the second log record are native log records of the electronic device 20 . Next, in step 170, the test host 10 compares the log content related to the state of the device under test in the original first log record and the second log record, and judges accordingly when the test action is executed, the Is the functionality normal. If the function is normal, step 180 is executed to directly cancel the test action, that is, cancel pressing the button, switch the switch position to the original position, or drive the test connector to be pulled out from the connection port. If the function is abnormal, step 190 is executed to cancel the test action, and at the same time, the functionality of the test action is recorded as abnormal.

在本發明的方法中,步驟150的執行測試動作以及後續的步驟180、190的解除測試動作係對該受測元件進行物理性的可靠性測試,並且在每一次的測試動作中所得到的第一日誌記錄以及第二日誌記錄的比較結果則可判斷該次測試動作的功能性是否正常以進行功能性測試。而不論是功能性正常時的解除測試動作(步驟180)或是功能性異常時的解除測試動作(步驟190),在未達預定的測試次數前,均重複步驟150~180(或190),以對該受測元件進行複數次的測試動作以及解除測試動作,因此本發明的可靠性測試表示一連串的物理性測試,而功能性測試則為這一連串的物理性測試的同時,判斷並記錄每一次的測試中其功能是否產生異常。最後在預定的測試次數滿足後,在步驟200將此複數次的測試記錄具有功能性異常的結果記錄並產生報告,可供後續備份或進行相關分析。 In the method of the present invention, the execution test action in step 150 and the release test action in the subsequent steps 180 and 190 are physical reliability tests for the component under test, and the first test obtained in each test action The comparison result of the first log record and the second log record can determine whether the functionality of the test action is normal to perform the functional test. Regardless of whether the function is normal (step 180 ) or the function is abnormal (step 190 ), steps 150 to 180 (or 190 ) are repeated before the predetermined number of tests is reached. In order to perform a plurality of test actions and release test actions on the tested element, the reliability test of the present invention represents a series of physical tests, while the functional test is a series of physical tests. Whether its function produces an exception in a test. Finally, after the predetermined number of tests are satisfied, in step 200, the results of the multiple test records having functional abnormality are recorded and a report is generated, which can be used for subsequent backup or related analysis.

本發明的實施例揭露的電子設備的可靠性與功能性自動化測試方法,針對伺服器、筆記型電腦、桌上型電腦或行動電話...等電子設備進行自動化測試時,除了以機械手臂進行電子設備的連接埠、輸出入介面、開關進行可靠性測試外,在不需要另外安裝測試工具程式,使受測的電子設備的表現接近使用者的使用經驗的環境下,測試主機透過直接讀取受測電子設備所產生的原生日誌記錄,以判斷每一次的元件/連接埠在進行連接/致動時,是否產生有效的功能資訊,以測試該連接埠、按鍵或開關的功能性是否正常。 The reliability and functional automation testing method for electronic equipment disclosed in the embodiments of the present invention is not only used for automatic testing of electronic equipment such as servers, notebook computers, desktop computers, mobile phones, etc. In addition to the reliability test of the connection ports, I/O interfaces, and switches of the electronic equipment, there is no need to install a test tool program, so that the performance of the electronic equipment under test is close to the user's experience. The native log records generated by the electronic device under test are used to determine whether each component/port is connected/actuated, whether valid functional information is generated, so as to test whether the function of the port, button or switch is normal.

以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。 The above descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made according to the scope of the patent application of the present invention shall fall within the scope of the present invention.

100:方法 100: Method

110~200:步驟 110~200: Steps

Claims (9)

一種電子設備的可靠性與功能性自動化測試方法,包含步驟:於一測試主機與受測的一電子設備之間建立連線;該測試主機讀取該電子設備所產生的一第一日誌記錄的內容;該測試主機控制一測試治具對該電子設備的一受測元件進行一測試動作;於該測試動作狀態下,該測試主機讀取該電子設備所產生的一第二日誌記錄並比較該第一日誌記錄與該第二日誌記錄;以及依據該第一日誌記錄與該第二日誌記錄的比較結果判斷該測試動作的功能性是否正常;其中對該受測元件進行該測試動作以及解除該測試動作係對該受測元件進行可靠性測試,依據該第一日誌記錄與該第二日誌記錄的比較結果判斷該測試動作的功能性是否正常係對該受測元件進行功能性測試;其中該測試主機讀取該第一日誌記錄的內容包含步驟:該測試主機傳送一旗標給該電子設備;以及該電子設備依據該旗標執行一命令以產生該第一日誌記錄並回傳給該測試主機;其中該旗標包含檢測該受測元件的訊息。 An automatic testing method for reliability and functionality of electronic equipment, comprising the steps of: establishing a connection between a test host and an electronic device under test; the test host reading a first log record generated by the electronic device content; the test host controls a test fixture to perform a test action on a tested element of the electronic device; in the test action state, the test host reads a second log record generated by the electronic device and compares the the first log record and the second log record; and according to the comparison result of the first log record and the second log record to determine whether the function of the test action is normal; wherein the test action is performed on the tested element and the release of the test action is performed. The test action is to perform a reliability test on the tested element, and according to the comparison result of the first log record and the second log record, judging whether the function of the test action is normal is to perform a functional test on the tested element; wherein the Reading the content of the first log record by the test host includes steps: the test host sends a flag to the electronic device; and the electronic device executes a command according to the flag to generate the first log record and return it to the tester a host; wherein the flag contains a message for detecting the device under test. 如請求項1所述的方法,另包含步驟:該測試主機對該測試治具進行初始化設置。 The method according to claim 1, further comprising the step of: the test host initializes the test fixture. 如請求項1所述的方法,另包含步驟:該測試主機依據該電子設備設定與該電子設備相關的參數。 The method according to claim 1, further comprising the step of: the test host sets parameters related to the electronic device according to the electronic device. 如請求項1所述的方法,其中該第一日誌記錄以及該第二日誌記錄係該電子設備原生的日誌記錄。 The method of claim 1, wherein the first log record and the second log record are native log records of the electronic device. 如請求項1所述的方法,其中該測試主機讀取該第二日誌記錄的內容包含步驟:該測試主機傳送另一旗標給該電子設備;以及該電子設備依據該另一旗標執行另一命令以產生該第二日誌記錄並回傳給該測試主機;其中該另一旗標包含檢測於該測試動作狀態下的該受測元件的訊息。 The method of claim 1, wherein the test host reads the content of the second log record comprising the steps of: the test host transmits another flag to the electronic device; and the electronic device executes another flag according to the other flag A command to generate the second log record and send it back to the test host; wherein the other flag includes the information of the device under test detected in the test action state. 如請求項1所述的方法,其中對該受測元件進行可靠性測試係對該受測元件進行複數次該測試動作以及解除該測試動作,對該受測元件進行功能性測試包含記錄該複數次該測試動作以及解除該測試動作中具有功能性異常的結果。 The method of claim 1, wherein performing the reliability test on the device under test comprises performing the test action on the device under test a plurality of times and releasing the test action, and performing the functional test on the device under test comprises recording the plurality of times This test action and the result of removing the functional abnormality in this test action. 如請求項1所述的方法,其中於該測試主機與該電子設備之間建立連線係包含至少下列之一:建立該測試主機以及該電子設備可存取的共用網路儲存裝置、以有線連接直接連接該測試主機以及該電子設備、以無線網路連接該測試主機以及該電子設備。 The method of claim 1, wherein establishing a connection between the test host and the electronic device comprises at least one of the following: establishing a shared network storage device accessible to the test host and the electronic device, using a wired The connection directly connects the test host and the electronic device, and connects the test host and the electronic device through a wireless network. 如請求項1所述的方法,其中該測試治具為機械手臂,該受測元件為按鍵或開關,該測試動作係以該測試治具按壓或切換該受測元件。 The method of claim 1, wherein the test fixture is a robotic arm, the tested element is a button or a switch, and the test action is to press or switch the tested element with the test fixture. 如請求項1所述的方法,其中該測試治具為機械手臂以及測試連接 器,該受測元件為該電子設備的連接埠,該測試動作係以該測試治具插入該受測元件。 The method of claim 1, wherein the test fixture is a robotic arm and a test connection The device under test is the connection port of the electronic device, and the test device is inserted into the device under test in the test action.
TW108132771A 2019-09-11 2019-09-11 Automatic test method for reliability and functionality of electronic device TWI750509B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108132771A TWI750509B (en) 2019-09-11 2019-09-11 Automatic test method for reliability and functionality of electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108132771A TWI750509B (en) 2019-09-11 2019-09-11 Automatic test method for reliability and functionality of electronic device

Publications (2)

Publication Number Publication Date
TW202111529A TW202111529A (en) 2021-03-16
TWI750509B true TWI750509B (en) 2021-12-21

Family

ID=76035705

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108132771A TWI750509B (en) 2019-09-11 2019-09-11 Automatic test method for reliability and functionality of electronic device

Country Status (1)

Country Link
TW (1) TWI750509B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI780910B (en) * 2021-09-15 2022-10-11 英業達股份有限公司 Testing tool

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201115329A (en) * 2009-10-30 2011-05-01 Inventec Corp A test method and an accessing test method for the bus interface at the PCIE slot of a host
CN105372584A (en) * 2015-10-28 2016-03-02 广东小天才科技有限公司 Microswitch testing method, device and system
CN107870271A (en) * 2016-11-03 2018-04-03 珠海市杰理科技股份有限公司 Automated testing method and device
CN207352604U (en) * 2017-10-23 2018-05-11 南京大全电气研究院有限公司 A kind of intelligent distribution transformer terminals automatization test system based on LUA scripts
CN109995617A (en) * 2019-04-11 2019-07-09 苏州浪潮智能科技有限公司 Automated testing method, device, equipment and the storage medium of Host Administration characteristic

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201115329A (en) * 2009-10-30 2011-05-01 Inventec Corp A test method and an accessing test method for the bus interface at the PCIE slot of a host
CN105372584A (en) * 2015-10-28 2016-03-02 广东小天才科技有限公司 Microswitch testing method, device and system
CN107870271A (en) * 2016-11-03 2018-04-03 珠海市杰理科技股份有限公司 Automated testing method and device
CN207352604U (en) * 2017-10-23 2018-05-11 南京大全电气研究院有限公司 A kind of intelligent distribution transformer terminals automatization test system based on LUA scripts
CN109995617A (en) * 2019-04-11 2019-07-09 苏州浪潮智能科技有限公司 Automated testing method, device, equipment and the storage medium of Host Administration characteristic

Also Published As

Publication number Publication date
TW202111529A (en) 2021-03-16

Similar Documents

Publication Publication Date Title
CN103149526B (en) PCBA board test macro and method
US7231553B2 (en) System and method for testing computing devices
CN101996121B (en) Universal serial bus (USB) port testing device and testing method
CN101656974A (en) SIM card compatibility automated test method and device
EP3179321B1 (en) System and method for testing configuration and operation of i/o devices
TWI750509B (en) Automatic test method for reliability and functionality of electronic device
CN115083510B (en) Solid state disk testing method and device, storage medium, power supply and electronic equipment
CN109428783B (en) Network equipment testing method and device
CN111651232A (en) One-machine multi-control method, device and system and electronic equipment
WO2020087956A1 (en) Method, apparatus, device and system for capturing trace of nvme hard disc
CN113238904B (en) Interface switching device, interface testing method and interface switching system
WO2010008367A1 (en) System for injecting protocol specific errors during the certification of components in a storage area network
CN112557001A (en) Automatic reliability and functionality testing method for electronic equipment
CN112867044A (en) Base station simulation test terminal, test method and device
CN112559266A (en) Solid state disk testing method and device, readable storage medium and electronic equipment
CN112905403A (en) Batch synchronous detection method and system for multiple computers
CN109446002B (en) Jig plate, system and method for grabbing SATA hard disk by server
CN111341379A (en) Method and equipment for testing storage device
KR101452959B1 (en) Mount-type test equipment and method thereof
KR100709067B1 (en) Test jig for mobile communication terminals and remote test system using the same
US20070201372A1 (en) Automated Switching For Executing Tests Involving Electronic Devices
KR101648969B1 (en) Server and method for testing based on captured messages
CN109491846B (en) Method and system for capturing SATA hard disk trace by server
CN114019357A (en) Management method of test pin of logic processing module and related assembly
CN102455959A (en) Method for testing multiple adapter cards