TWI777552B - Automatic test method - Google Patents

Automatic test method Download PDF

Info

Publication number
TWI777552B
TWI777552B TW110116927A TW110116927A TWI777552B TW I777552 B TWI777552 B TW I777552B TW 110116927 A TW110116927 A TW 110116927A TW 110116927 A TW110116927 A TW 110116927A TW I777552 B TWI777552 B TW I777552B
Authority
TW
Taiwan
Prior art keywords
voice
test
sample
captured
dut
Prior art date
Application number
TW110116927A
Other languages
Chinese (zh)
Other versions
TW202139007A (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 TW110116927A priority Critical patent/TWI777552B/en
Publication of TW202139007A publication Critical patent/TW202139007A/en
Application granted granted Critical
Publication of TWI777552B publication Critical patent/TWI777552B/en

Links

Images

Landscapes

  • Automatic Analysis And Handling Materials Therefor (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

An automatic test method is configured to test functions of the device under test, including several steps shown as below. Generate a sample voice by a processor. The sample voice includes several voice data, and each voice data includes the same period. Capture the sample voice played by the DUT through a radio device. Analyze the sample voice captured by the radio device by the processor to generate a voice result. According to the voice result, generate a voice error message or a voice pass message by the processor to indicate whether the voice function of the DUT is abnormal or not.

Description

自動化測試方法automated testing methods

本揭示文件是有關於一種測試方法,特別是關於一種自動化測試待測物功能之方法。This disclosure document is about a test method, especially about a method for automatically testing the function of the DUT.

電子產品的製造過程包含出廠前的測試,用以檢測電子產品的特定功能是否正常。舉例來說,對於電視機的測試項目包含影像顯示、影音、無線通訊等項目。The manufacturing process of electronic products includes pre-delivery tests to detect whether specific functions of electronic products are normal. For example, the test items for the TV include image display, audio and video, wireless communication and other items.

然而,在測試過程中,目前是以人力之方式逐一測試待測之產品,不但造成人事成本增加,同時也提高誤判的機率。另外,對於影音功能之測試過程中,人力檢測之方式難以準確判斷立體之影音效果,且容易因廠房內之其他噪音或其他因素影響,造成測試中的判斷有誤。However, in the testing process, the products to be tested are currently tested one by one manually, which not only increases the personnel cost, but also increases the probability of misjudgment. In addition, in the process of testing the audio-visual function, it is difficult to accurately judge the three-dimensional audio-visual effect by manual inspection, and it is easy to be affected by other noises or other factors in the factory, resulting in wrong judgment in the test.

本揭示文件亦提供一種自動化測試方法,用以測試待測物之功能,包含以下之步驟。透過處理器產生樣本語音,其中樣本語音包含多個語音資料,且每一個語音資料具有相同週期。透過收音裝置擷取待測物播放之樣本語音。透過處理器分析收音裝置所擷取之樣本語音,產生語音結果。根據語音結果,透過處理器產生語音錯誤訊息或語音通過訊息,用以表示待測物之語音功能是否異常。This disclosure also provides an automated testing method for testing the function of the DUT, including the following steps. A sample speech is generated by the processor, wherein the sample speech includes a plurality of speech data, and each speech data has the same period. The sample voice played by the object to be tested is captured through the radio device. The sample speech captured by the radio device is analyzed by the processor to generate a speech result. According to the voice result, a voice error message or a voice pass message is generated by the processor to indicate whether the voice function of the test object is abnormal.

下文係舉實施例配合所附圖式作詳細說明,以更好地理解本揭示文件的態樣,但所提供之實施例並非用以限制本揭露所涵蓋的範圍,而結構操作之描述非用以限制其執行之順序,任何由元件重新組合之結構,所產生具有均等功效的裝置,皆為本揭露所涵蓋的範圍。此外,根據業界的標準及慣常做法,圖式僅以輔助說明為目的,並未依照原尺寸作圖,實際上各種特徵的尺寸可任意地增加或減少以便於說明。下述說明中相同元件將以相同之符號標示來進行說明以便於理解。The following examples are described in detail with the accompanying drawings, so as to better understand the aspect of the present disclosure. However, the provided examples are not intended to limit the scope of the present disclosure, and the description of the structure and operation is not intended to be used. In order to limit the order of its execution, any recombination of components, resulting in an apparatus with equal efficacy, is within the scope of the present disclosure. In addition, according to industry standards and common practices, the drawings are only for the purpose of auxiliary description and are not drawn according to the original size. In fact, the dimensions of various features can be arbitrarily increased or decreased for the convenience of description. In the following description, the same elements will be denoted by the same symbols to facilitate understanding.

此外,在本揭示文件中所使用的用詞『包含』、『包括』、『具有』、『含有』等等,均為開放性的用語,即意指『包含但不限於』。此外,本文中所使用之『及/或』,包含相關列舉項目中一或多個項目的任意一個以及其所有組合。In addition, the terms "comprising", "including", "having", "containing" and the like used in this disclosure document are all open-ended terms, that is, meaning "including but not limited to". In addition, the term "and/or" as used herein includes any and all combinations of one or more of the associated listed items.

於本揭示文件中,當一元件被稱為『連接』或『耦接』時,可指『電性連接』、『通訊連接』或『電性耦接』。『連接』或『耦接』亦可用以表示二或多個元件間相互搭配操作或互動。此外,雖然本文中使用『第一』、『第二』、…等用語描述不同元件,該用語僅是用以區別以相同技術用語描述的元件或操作。除非上下文清楚指明,否則該用語並非特別指稱或暗示次序或順位,亦非用以限定本發明。In this disclosure, when an element is referred to as "connected" or "coupled", it may refer to "electrical connection", "communication connection" or "electrical coupling". "Connected" or "coupled" may also be used to indicate the cooperative operation or interaction between two or more elements. In addition, although terms such as "first", "second", . . . are used herein to describe different elements, the terms are only used to distinguish elements or operations described by the same technical terms. Unless clearly indicated by the context, the terms do not specifically refer to or imply a sequence or sequence and are not intended to limit the invention.

本揭示文件之一種自動化測試系統提供測試電子產品之功能,並且利用自動化測試方法能實現自動化之測試。例如,在電子產品出貨前,利用自動化測試系統進行電子產品之基本功能檢測,能夠取代習知由人力測試的缺失。An automated testing system of the present disclosure provides the function of testing electronic products, and can realize automated testing by using the automated testing method. For example, before electronic products are shipped, using an automated testing system to perform basic function testing of electronic products can replace the lack of conventional manual testing.

請參閱第1圖,自動化測試系統100包含傳送結構120、影音設備AUD及多個自動化測試裝置110。待測的電子產品(即,待測物DUT)耦接自動化測試裝置110,且每一個自動化測試裝置110對應耦接一個待測物DUT,並皆設置於傳送結構120上。Please refer to FIG. 1 , the automated testing system 100 includes a transmission structure 120 , an audio-visual equipment AUD, and a plurality of automated testing devices 110 . The electronic product to be tested (ie, the DUT) is coupled to the automated testing device 110 , and each automated testing device 110 is coupled to a DUT to be tested, and is disposed on the transmission structure 120 .

一些實施例中,傳送結構120上可設置治具(圖中未示),用以固定設置待測物DUT。In some embodiments, a jig (not shown in the figure) may be provided on the transmission structure 120 to fix the DUT of the object to be tested.

如第1圖所示,傳送結構120用以承載多個自動化測試裝置110及對應之待測物DUT。在本實施例中,傳送結構120為輸送帶,藉由驅動裝置(圖中未示)帶動其中所設置之物品至目標處。在本實施例中,傳送結構120可承載自動化測試裝置110及對應之待測物DUT,並運送至各個功能測試處ST1、ST2、ST3…、ST n。As shown in FIG. 1 , the transmission structure 120 is used to carry a plurality of automated test devices 110 and corresponding DUTs. In this embodiment, the conveying structure 120 is a conveyor belt, which drives the articles set therein to the target by a driving device (not shown in the figure). In this embodiment, the transfer structure 120 can carry the automated test device 110 and the corresponding DUT, and transport them to the respective functional test locations ST1 , ST2 , ST3 . . . , ST n.

依據待測物DUT之種類、型號等,自動化測試系統100設有多個功能測試處STn,以對應測試待測物DUT之各種功能。本揭示文件之多個實施例中,待測物DUT是以電視機為實例說明,此待測物DUT可為一特定的品牌電視機之一特定型號產品。測試之項目包含此特定型號所屬的影像顯示功能、聲音輸出功能(語音功能)及無線傳輸功能等。一些實施例中,待測物DUT為電腦或手機,且測試之項目更包含通話功能及基本運算功能等,不以本揭示文件所提及之實施例為限。According to the type and model of the DUT under test, the automated test system 100 is provided with a plurality of functional test stations STn to correspond to various functions of the DUT under test. In various embodiments of the present disclosure, the DUT under test is described by taking a TV as an example, and the DUT under test may be a product of a specific model of a TV of a specific brand. The test items include the image display function, sound output function (voice function) and wireless transmission function of this specific model. In some embodiments, the DUT is a computer or a mobile phone, and the tested items further include call function and basic computing function, etc., which are not limited to the embodiments mentioned in this disclosure.

在一些功能測試處STn中,如第1圖中所示之功能測試處ST2,為測試待測物DUT之影像顯示以及語音功能之佈置,設有影音設備AUD。影音設備AUD耦接於自動化測試裝置110及對應之待測物DUT,用以協助測試作業中的測試訊號的取樣。In some function test stations STn, such as the function test station ST2 shown in FIG. 1, in order to test the arrangement of the image display and the voice function of the DUT under test, an audio-visual equipment AUD is provided. The audio and video equipment AUD is coupled to the automated test device 110 and the corresponding DUT to assist in sampling of test signals in the test operation.

一些測試待測物DUT之影像顯示以及語音功能之實例中,當傳送結構120將待測物DUT運送至一功能測試處(以功能測試處ST2為例)時,自動化測試裝置110可提供樣本資料給待測物DUT,影音設備AUD可記錄待測物DUT播放的樣本資料而產生對應的影音內容。後續,自動化測試裝置110可比對上述樣本資料以及紀錄的影音內容,藉以實現功能測試。In some examples of testing the image display and voice functions of the DUT, when the transmission structure 120 transports the DUT to a functional testing place (take the functional testing place ST2 as an example), the automated test device 110 can provide sample data For the DUT, the audio and video equipment AUD can record the sample data played by the DUT to generate the corresponding audio and video content. Subsequently, the automated testing device 110 may compare the above-mentioned sample data and the recorded video and audio content, thereby realizing functional testing.

在一實施例中,自動化測試裝置110包含了一儲存模組(圖中未示),可儲存對應於多種品牌的多種機型的樣本資料。當自動化測試裝置110耦接待測物DUT時,待測物可自動偵測待測物DUT的品牌與型號。In one embodiment, the automated testing device 110 includes a storage module (not shown in the figure), which can store sample data corresponding to various models of various brands. When the automated test device 110 is coupled to the DUT, the DUT can automatically detect the brand and model of the DUT.

在另一實施例中,外部電子裝置(如本實施例中的計算設備PC)可通訊連接自動化測試裝置110,用以設定該待測物DUT的品牌與型號。舉例來說,計算設備PC可透過有線的實體介面(如USB、UART或RS232介面)或無線介面(如Bluetooth或Wifi)設定該待測物DUT的品牌與型號。後續自動化測試裝置110即可依據上述品牌與型號選擇對應的樣本資料,並將此樣本資料傳送至待測物DUT。當待測物DUT依據自動化測試裝置110之測試指令播放此樣本資料時,影音設備AUD可擷取待測物DUT所播放的樣本資料而產生對應之影像及聲音等資料,並且將擷取的影像及聲音資料傳回自動化測試裝置110。接著,自動化測試裝置110依據傳回的影像資料、聲音資料以及對應於該待測物DUT的樣本資料產生影像顯示以及語音功能之測試結果,以表示待測物DUT所對應之功能是否出現異常。In another embodiment, an external electronic device (such as the computing device PC in this embodiment) can be communicatively connected to the automated test device 110 for setting the brand and model of the DUT. For example, the computing device PC can set the brand and model of the DUT through a wired physical interface (such as USB, UART or RS232 interface) or a wireless interface (such as Bluetooth or Wifi). The subsequent automated testing device 110 can select the corresponding sample data according to the brand and model, and transmit the sample data to the DUT. When the DUT under test plays the sample data according to the test command of the automated test device 110, the audio-visual equipment AUD can capture the sample data played by the DUT under test to generate corresponding data such as images and sounds, and use the captured images And the audio data are sent back to the automated testing device 110 . Next, the automated test device 110 generates image display and voice function test results according to the returned image data, audio data and sample data corresponding to the DUT to indicate whether the function corresponding to the DUT is abnormal.

當測試結果出現異常時,自動化測試裝置110會發出警示聲響,用以提醒工作人員此待測物DUT出現異常功能。當測試結果未出現異常時,傳送結構120接續將待測物DUT運送至下一個功能測試處(例如由功能測試處ST2運送至功能測試處ST3),以接續進行其他測試項目。When the test result is abnormal, the automated test device 110 will emit a warning sound to remind the staff that the DUT has abnormal function. When there is no abnormality in the test result, the transmission structure 120 continues to transport the DUT to the next functional testing location (eg, from the functional testing location ST2 to the functional testing location ST3 ), so as to continue other test items.

一些實施例中,自動化測試裝置110具有儲存、溝通及運算功能,用以儲存樣本資料、將樣本資料傳輸至待測物DUT以及分析測試過程取得的訊號(或稱為資料,如上述之擷取的影像資料或聲音資料等)並產生測試結果。In some embodiments, the automated test device 110 has storage, communication, and computing functions for storing sample data, transmitting the sample data to the DUT, and analyzing the signals (or data, as captured above) obtained during the test process. image data or audio data, etc.) and generate test results.

在一些功能測試處STn中,如第1圖中所示之功能測試處ST3,為測試待測物DUT之影像顯示以及語音功能之佈置,設有影音設備AUD及計算設備PC。影音設備AUD耦接於自動化測試裝置110及計算設備PC,用以協助擷取待測物DUT播放之訊號。計算設備PC耦接於自動化測試裝置110以及影音設備AUD,用以協助分析數據。In some function test stations STn, such as the function test station ST3 shown in FIG. 1, in order to test the arrangement of the image display and voice function of the DUT under test, there are audio-visual equipment AUD and computing equipment PC. The audio and video equipment AUD is coupled to the automated testing device 110 and the computing device PC, and is used to assist in capturing the signal played by the DUT of the object to be tested. The computing device PC is coupled to the automated testing device 110 and the audio-visual equipment AUD for assisting in analyzing data.

一些測試待測物DUT之影像顯示以及語音功能之實例中,當傳送結構120將待測物DUT運送至一功能測試處(以功能測試處ST3為例)時,計算設備PC可設定對應於待測物DUT的樣本資料,並命令自動化測試裝置110及影音設備AUD執行影像測試操作。在測試過程中,自動化測試裝置110命令待測物DUT播放樣本資料,以及命令影音設備AUD擷取待測物DUT所播放樣本資料而產生對應之影音訊號。在一實施例中,影音設備AUD將擷取之影音訊號(如,照片、聲音等)以類比的形式傳輸至計算設備PC。接著,計算設備PC分析此影音訊號及樣本資料,產生影像顯示以及語音功能之測試結果。In some examples of testing the image display and voice functions of the DUT, when the transmission structure 120 transports the DUT to a functional testing place (take the functional testing place ST3 as an example), the computing device PC can set the corresponding The sample data of the DUT is measured, and the automated test device 110 and the audio-visual equipment AUD are instructed to perform the video test operation. During the testing process, the automated testing device 110 instructs the DUT to play sample data, and instructs the audio and video equipment AUD to capture the sample data played by the DUT to generate corresponding audio and video signals. In one embodiment, the audio and video equipment AUD transmits the captured audio and video signals (eg, photos, sounds, etc.) to the computing device PC in an analogous form. Next, the computing device PC analyzes the video and audio signals and sample data to generate test results for video display and voice functions.

在另一實施例中,自動化測試裝置110除了提供樣本資料至待測物DUT外,還可由影音設備AUD取得影音訊號。自動化測試裝置110能比對預存的樣本資料以及取得的影音訊號,並產生測試結果。In another embodiment, in addition to providing sample data to the DUT, the automated testing apparatus 110 can also obtain audio and video signals from the audio and video equipment AUD. The automated testing device 110 can compare the pre-stored sample data with the acquired video and audio signals, and generate test results.

依據待測物DUT之測試項目,訊號或資料具有對應之特定傳輸方式。舉例來說,甲品牌的電視機是藉由HDMI介面傳輸影像以及聲音;乙品牌的電視機則是藉由VGA介面傳輸影像。甲品牌與以品牌之電視機對於影像訊號之傳輸方式不相同,且二者訊號也不相容。本揭示文件提供之自動化測試裝置能整合多種傳輸介面及其對應之傳輸協定,以單一個結構裝置即可對各種品牌之電視機進行測試。According to the test items of the DUT, the signal or data has a corresponding specific transmission method. For example, a TV of brand A transmits video and audio through HDMI interface; TV of brand B transmits video through VGA interface. The transmission methods of video signals for TVs of brand A and brand A are different, and the signals of the two are also incompatible. The automated testing device provided in this disclosure can integrate multiple transmission interfaces and their corresponding transmission protocols, and can test TVs of various brands with a single structural device.

第2圖為根據第1圖的自動化測試裝置之一實施例。如第2圖所示,自動化測試裝置200包含連接埠210、傳輸整合介面220及處理器230,其中各個元件之詳細說明如下。FIG. 2 is an embodiment of the automated testing apparatus according to FIG. 1 . As shown in FIG. 2 , the automated test device 200 includes a connection port 210 , a transmission integration interface 220 and a processor 230 , and the detailed description of each component is as follows.

連接埠210用以耦接待測物DUT,作為自動化測試裝置200對外之實體連接裝置。一些實施例中,連接埠210包含多個連接介面,分別具有對應的傳輸協定,用以將訊號(或稱為資料)在傳輸整合介面220與待測物DUT之間傳送。The connection port 210 is used for coupling to the DUT, which is used as a physical connection device to the outside of the automated test device 200 . In some embodiments, the connection port 210 includes a plurality of connection interfaces, each of which has a corresponding transmission protocol for transmitting signals (or data) between the transmission integration interface 220 and the DUT.

如第2圖所示,連接埠210包含二個具有互不相容的傳輸協定之連接介面,分別是具有通用序列匯流排(universal serial bus;USB)標準規範之USB連接埠211,以及具有高畫質多媒體介面(high definition multimedia interface;HDMI)規範之HDMI連接埠212。As shown in FIG. 2 , the connection port 210 includes two connection interfaces with mutually incompatible transmission protocols, namely a USB connection port 211 with a universal serial bus (USB) standard specification, and a USB connection port 211 with a high The HDMI port 212 of the high definition multimedia interface (HDMI) specification.

一些實例中,USB連接埠211為USB3.0介面,並具有UASP(USB attached SCSI protocol)傳輸協定,用以根據UASP之規範並透過USB連接埠211傳輸數位訊號。HDMI連接埠212為HDMI D Type介面,並具有HDMI 2.1傳輸協定,用以根據HDMI 2.1之規範並透過HDMI連接埠212傳輸數位訊號或類比訊號。In some examples, the USB port 211 is a USB 3.0 interface and has a UASP (USB attached SCSI protocol) protocol for transmitting digital signals through the USB port 211 according to the UASP specification. The HDMI connection port 212 is an HDMI D Type interface and has an HDMI 2.1 transmission protocol for transmitting digital signals or analog signals through the HDMI connection port 212 according to the HDMI 2.1 specification.

一些實施例中,自動化測試裝置200透過USB連接埠211或HDMI連接埠212傳輸上述測試指令,藉以設定待測物DUT的狀態,使待測物DUT進入待測模式或工廠模式,以進行上述的測試流程。In some embodiments, the automated test device 200 transmits the above-mentioned test command through the USB port 211 or the HDMI port 212 , thereby setting the state of the DUT, so that the DUT enters the test mode or the factory mode, so as to perform the above-mentioned steps. test process.

此外,連接埠210更包含第三連接介面(圖中未示)。當待測物DUT進入待測模式或工廠模式時,自動化測試裝置200可透過此第三連接介面傳輸與設定待測物DUT的狀態無關的資訊,例如傳送樣本資料或接收待測物DUT對應樣本資料產生的影音訊號(即包含影像、聲音之訊號)。此第三連接介面例如可為支援:HDMI之影音傳輸、色差端子(component video connector)(YPbPr介面)及雙聲道(audio L/R)之影音傳輸、色差端子(CVBS介面)及雙聲道(audio L/R)之影音傳輸、消費者電子控制(consumer electronics control;CEC)之無線通訊、ARC之語音傳輸、光學接口(optical)及同軸電纜(coaxial)接口之語音傳輸、類比雙聲道接口(analog L/R) 之語音傳輸、乙太網路(ethernet)之無線通訊(其中透過處理器模擬為DHCP伺服器)、無線熱點(Wi-Fi)之無線通訊(其中透過處理器設定為Wi-Fi無線存取點(wireless access point;AP))、藍芽(Bluetooth)之無線通訊以及USB On-The-Go(USB OTG)之通訊功能(其中透過處理器模擬為USB隨身碟(USB pen driver))等等的介面。In addition, the connection port 210 further includes a third connection interface (not shown in the figure). When the DUT enters the DUT mode or the factory mode, the automated test apparatus 200 can transmit information irrelevant to setting the state of the DUT through the third connection interface, such as sending sample data or receiving samples corresponding to the DUT DUT Audio and video signals (that is, signals including video and sound) generated by the data. For example, the third connection interface can support: HDMI video and audio transmission, component video connector (YPbPr interface) and dual channel (audio L/R) video and audio transmission, component video connector (CVBS interface) and dual channel (audio L/R) audio and video transmission, consumer electronics control (CEC) wireless communication, ARC voice transmission, optical interface (optical) and coaxial cable (coaxial) interface voice transmission, analog binaural Interface (analog L/R) for voice transmission, ethernet (ethernet) wireless communication (which is simulated as a DHCP server through the processor), wireless hotspot (Wi-Fi) wireless communication (which is set through the processor as a DHCP server) Wi-Fi wireless access point (AP)), Bluetooth (Bluetooth) wireless communication and USB On-The-Go (USB OTG) communication function (which is simulated by the processor as a USB flash drive (USB OTG) pen driver)) and so on.

連接埠210之連接介面可具多種相異傳輸介面,藉以提供多種待測物DUT或多種測試項目使用。連接介面之數量不以本揭示文件之實施例為限制。The connection interface of the connection port 210 can have various different transmission interfaces, so as to provide various DUTs or various test items for use. The number of connection interfaces is not limited by the embodiments of this disclosure.

傳輸整合介面220耦接於連接埠210及處理器230之間,作為自動化測試裝置200中訊號之溝通橋梁。如前述,由於連接埠210包含多個具有互不相容的傳輸協定之連接介面,傳輸整合介面220能藉由轉換訊號以相容多種傳輸規範。如此一來,自動測試裝置200能對多種不同廠牌或型號的待測物DUT進行測試,不需要額外針對特定的待測物DUT設置對應的轉接器。藉此,自動測試裝置200不但具有良好使用彈性,且能提升測試作業之效率。The transmission integration interface 220 is coupled between the connection port 210 and the processor 230 and serves as a communication bridge for signals in the automated test device 200 . As mentioned above, since the connection port 210 includes a plurality of connection interfaces with mutually incompatible transmission protocols, the transmission integration interface 220 can be compatible with various transmission standards by converting signals. In this way, the automatic test apparatus 200 can test DUTs of various brands or models without additionally setting corresponding adapters for specific DUTs. Thereby, the automatic test apparatus 200 not only has good flexibility in use, but also can improve the efficiency of the test operation.

如第2圖所示,傳輸整合介面220包含訊號轉換器221以及開關222、223、224A及224B。利用多個開關222、223、224A及224B之開啟或關閉以及配合訊號轉換器221之操作,可使訊號在傳輸整合介面220中轉換其傳輸格式,以相容多種傳輸規範。以下詳述本發明之傳輸整合介面220如何相容多種傳輸規範。As shown in FIG. 2 , the transmission integration interface 220 includes a signal converter 221 and switches 222 , 223 , 224A and 224B. By turning on or off the switches 222 , 223 , 224A and 224B and cooperating with the operation of the signal converter 221 , the signal can be converted into a transmission format in the transmission integration interface 220 to be compatible with various transmission standards. The following describes in detail how the transmission integration interface 220 of the present invention is compatible with various transmission specifications.

在本實施例中,處理器230僅支援UART通訊格式。也就是說,所有傳輸到處理器230的訊號須為UART通訊格式的訊號。然而,不同的待測物DUT可能會使用不同的通訊介面,用以透過不同的通訊協定與外部進行通訊溝通。In this embodiment, the processor 230 only supports the UART communication format. That is, all the signals transmitted to the processor 230 must be in the UART communication format. However, different DUTs may use different communication interfaces to communicate with the outside through different communication protocols.

一些實施例中,某些待測物DUT僅能在USB介面中的資料訊號對通道(如用以D+/D-訊號對之通道)傳輸UART訊號。藉由自動化測試裝置200能使訊號以UART之格式於前述之介面中傳輸。具體的來說,例如,自動化測試裝置200可透過USB連接埠211連接此待測物DUT,並透過由USB連接埠211、開關223、開關222與開關224B形成的路徑,以供訊號以UART格式傳輸,藉以使待測物DUT與處理器230進行通訊連接。In some embodiments, some DUTs can only transmit UART signals on the data signal pair channel (eg, the channel used for the D+/D- signal pair) in the USB interface. The automated test device 200 enables the signal to be transmitted in the aforementioned interface in the UART format. Specifically, for example, the automated test device 200 can connect the DUT through the USB port 211, and pass the path formed by the USB port 211, the switch 223, the switch 222, and the switch 224B for the signal to be in UART format transmission, so as to connect the DUT to the processor 230 for communication.

一些實施例中,待測物DUT僅能在HDMI介面的DDC通道傳輸UART訊號。自動化測試裝置200可透過HDMI連接埠212連接此待測物DUT,並透過由HDMI連接埠212、開關224A與開關224B形成的路徑,即可使待測物DUT與處理器230進行通訊連接。In some embodiments, the DUT can only transmit UART signals on the DDC channel of the HDMI interface. The automated test apparatus 200 can connect the DUT through the HDMI port 212, and can communicate with the processor 230 through the path formed by the HDMI port 212, the switch 224A and the switch 224B.

此外,開關223用以耦接另一USB連接埠213。透過USB連接埠213可接收如USB隨身碟(USB pen drive)傳輸的訊號。USB連接埠213上的訊號是以USB通訊格式進行傳輸,訊號通過USB連接埠213、開關223、開關222、訊號轉換器221與開關224B形成的路徑,使處理器230與USB隨身碟進行通訊連接。In addition, the switch 223 is used for coupling to another USB port 213 . Signals transmitted from a USB pen drive can be received through the USB connection port 213 . The signal on the USB connection port 213 is transmitted in the USB communication format. The signal passes through the path formed by the USB connection port 213, the switch 223, the switch 222, the signal converter 221 and the switch 224B, so that the processor 230 is connected to the USB flash drive for communication. .

值得注意的是,訊號轉換器221用以轉換USB與UART之間通訊格式。例如,當USB連接埠213接收USB通訊格式的訊號時,訊號可由開關223、開關222、訊號轉換器221與開關224B形成的路徑傳輸至處理器230。藉由訊號轉換器223將USB通訊格式轉換為UART通訊格式,以便於處理器230辨識與處理。反之,處理器230發出UART通訊格式的訊號亦可由訊號轉換器223轉換為USB通訊格式的訊號,以便傳輸至與USB連接埠211、213連接的設備。It is worth noting that the signal converter 221 is used for converting the communication format between the USB and the UART. For example, when the USB port 213 receives a signal in the USB communication format, the signal can be transmitted to the processor 230 through the path formed by the switch 223 , the switch 222 , the signal converter 221 and the switch 224B. The USB communication format is converted into the UART communication format by the signal converter 223, so that the processor 230 can identify and process. On the contrary, the signal in the UART communication format sent by the processor 230 can also be converted into the signal in the USB communication format by the signal converter 223 so as to be transmitted to the devices connected to the USB ports 211 and 213 .

一些實施例中,處理器230為單板電腦(single board computer),例如樹莓派(raspberry Pi),具有運算及儲存功能之處理器。一些實施例中,處理器230是指電腦,具有較樹莓派更高效能之運算及儲存功能。處理器230用以產生命令待測物DUT之測試指令,以及用以運算分析測試過程中產生的訊號(包含類比訊號,如前述所擷取的影音訊號;以及數位訊號,如將擷取的影音訊號轉換為數位格式),並產生分析結果。In some embodiments, the processor 230 is a single board computer, such as a raspberry Pi, a processor with computing and storage functions. In some embodiments, the processor 230 refers to a computer, which has higher performance computing and storage functions than the Raspberry Pi. The processor 230 is used for generating a test command for commanding the DUT of the object under test, and for calculating and analyzing the signals (including analog signals, such as the video and audio signals captured above; and digital signals, such as the video and audio signals to be captured) signal to digital format), and generate analysis results.

一些實施例中,處理器230耦接另一個處理器(如第1圖及第3圖所示之計算設備PC),用以協助分析測試。一些實例中,類似於第1圖所示,處理器230耦接功能測試處ST3之計算設備PC(如,電腦)。處理器230用以產生命令待測物DUT之測試指令,計算設備PC則用以運算分析測試過程中產生的類比或數位訊號,並產生分析結果。In some embodiments, the processor 230 is coupled to another processor (such as the computing device PC shown in FIGS. 1 and 3 ) to assist in analysis and testing. In some instances, similar to that shown in FIG. 1, the processor 230 is coupled to a computing device PC (eg, a computer) at the functional test site ST3. The processor 230 is used for generating a test command for instructing the DUT, and the computing device PC is used for calculating and analyzing the analog or digital signals generated in the test process, and generating the analysis result.

處理器230能依據自動測試裝置200之成本及測試項目等考量因素,設置成具有不同運算效能之裝置,如上述之多個實施例,不以此為限。The processor 230 can be configured as a device with different computing performance according to factors such as the cost and test items of the automatic test device 200 , such as the above-mentioned embodiments, which are not limited thereto.

接續上述之說明,測試指令是由處理器230命令待測物DUT之資料。測試指令包含命令待測物DUT開始測試作業之觸發訊號、進入待測模式或工廠模式的觸發訊號。Continuing the above description, the test command is the data of the DUT commanded by the processor 230 . The test command includes a trigger signal for instructing the DUT to start a test operation, a trigger signal for entering the test mode or the factory mode.

另外,測試訊號是在待測物DUT執行測試作業之過程中,由待測物DUT輸出至其他接收器之資料。接收器可以理解為第三方裝置,用以模擬成使用者在觀看電視機能接收到的聲音或影像。In addition, the test signal is the data output from the DUT to other receivers during the test operation of the DUT. The receiver can be understood as a third-party device, which is used to simulate the sound or image that the user can receive while watching the TV.

一些實施例中,接收裝置為自動化測試裝置200,藉由連接埠210的第三連接介面(圖中未示)接收待測物DUT輸出的資料。例如,透過音頻回傳通道(audio return channel;ARC)接收來自待測物DUT播放之音訊資料。在另一實施例中,接收裝置為如第3圖所示之麥克風RMIC、LMIC及照相機CAM。麥克風RMIC、LMIC及照相機CAM擷取待測物DUT播放之影像及音訊資料後傳輸到計算設備PC。In some embodiments, the receiving device is the automated test device 200 , which receives the data output by the DUT of the object under test through the third connection interface (not shown in the figure) of the connection port 210 . For example, the audio data played from the DUT is received through an audio return channel (ARC). In another embodiment, the receiving devices are microphones RMIC, LMIC and camera CAM as shown in FIG. 3 . The microphone RMIC, LMIC and camera CAM capture the image and audio data played by the DUT of the object to be tested and transmit it to the computing device PC.

綜上所述,藉由傳輸整合介面220以及連接埠210(包含USB連接埠211以及HDMI連接埠212)傳輸測試指令給不同品牌或不同型號的待測物DUT,藉以相容待測物DUT之多種訊號輸出格式。接著,透過連接埠210傳送樣本資料給待測物DUT,以進行測試。連接埠210或其他接收裝置(如照相機或麥克風等)能接收待測物DUT於測試過程所播放的聲音及/或影像等影音訊號,並藉由自動化測試裝置200或計算設備PC分析比對樣本資料與影音訊號,用以產生影像顯示及/或語音功能之測試結果。To sum up, through the transmission integration interface 220 and the connection port 210 (including the USB connection port 211 and the HDMI connection port 212 ), the test command is transmitted to the DUT of different brands or models, so as to be compatible with the DUT of the DUT. Various signal output formats. Next, the sample data is sent to the DUT through the connection port 210 for testing. The connection port 210 or other receiving devices (such as cameras or microphones) can receive audio and video signals such as sound and/or images played by the DUT during the test process, and analyze and compare the samples by the automated test device 200 or the computing device PC Data and audio-visual signals used to generate test results for video display and/or voice functions.

一些實施例中,待測物DUT的影像與聲音測試項目是由計算設備PC進行分析比對。只有透過線材傳輸的訊號(例如Aux/Opt/Coaxial/ARC)是直接由待測物DUT回傳到自動化測試裝置200進行比對。In some embodiments, the image and sound test items of the DUT are analyzed and compared by the computing device PC. Only the signals transmitted through the wire (eg Aux/Opt/Coaxial/ARC) are directly returned from the DUT to the automated test device 200 for comparison.

在自動化測試裝置200進行分析比對的實施例中,自動化測試裝置200可透過連接埠210傳輸測試結果,使待測物DUT顯示此測試結果。在計算設備PC進行分析比對的實施例中,可在計算設備PC上顯示測試結果。In the embodiment in which the automated test apparatus 200 performs analysis and comparison, the automated test apparatus 200 can transmit the test result through the connection port 210, so that the DUT of the object under test can display the test result. In embodiments where the computing device PC performs the analysis and comparison, the test results may be displayed on the computing device PC.

上述之自動化測試裝置200藉由傳輸整合介面220整合多種互不相容資料格式之訊號,以根據對應之傳輸協定傳送訊號。同時,藉由處理器230產生測試指令,以使待測物DUT進行測試作業。如此一來,自動化測試裝置200能測試各種廠牌或型號之待測物DUT,藉以同時提高測試作業之效能,且降低測試作業之成本。因此,自動化測試系統100能有效取代傳統人力作業,並可避免習知之缺失。The above-mentioned automated test apparatus 200 integrates signals of a variety of mutually incompatible data formats through the transmission integration interface 220 to transmit the signals according to the corresponding transmission protocol. At the same time, the processor 230 generates a test command, so that the DUT can perform the test operation. In this way, the automated test apparatus 200 can test DUTs of various brands or models, thereby simultaneously improving the performance of the test operation and reducing the cost of the test operation. Therefore, the automated testing system 100 can effectively replace traditional manual operations, and can avoid the lack of conventional knowledge.

根據第1圖之自動化測試系統100,其中功能測試處ST3之部分之一實施例繪示於第3圖。在此實施例中,說明測試待測物DUT之影像顯示以及語音功能是否正常。第3圖中所示的自動化測試裝置300相似於第2圖所示的自動化測試裝置200或第1圖所示的自動化測試裝置100,在此不贅述相同處。According to the automated test system 100 of FIG. 1 , an embodiment of a portion of the functional test site ST3 is shown in FIG. 3 . In this embodiment, it is explained whether the image display and voice function of the DUT of the test object are normal. The automated test apparatus 300 shown in FIG. 3 is similar to the automated test apparatus 200 shown in FIG. 2 or the automated test apparatus 100 shown in FIG. 1 , and the same points are not repeated here.

如第3圖所示,自動化測試裝置300耦接待測物DUT後,傳送測試指令至待測物DUT,用以觸發待測物DUT開始進行測試作業。影音設備AUD包含左麥克風LMIC、右麥克風RMIC以及照相機CAM,耦接於待測物DUT及計算設備PC。一些實施例中,左麥克風LMIC、右麥克風RMIC為指向性麥克風,藉以提升收音之準確性。As shown in FIG. 3 , after the automated test device 300 is coupled to the DUT, a test command is sent to the DUT to trigger the DUT to start a test operation. The audio-visual equipment AUD includes a left microphone LMIC, a right microphone RMIC and a camera CAM, and is coupled to the DUT and the computing device PC. In some embodiments, the left microphone LMIC and the right microphone RMIC are directional microphones, so as to improve the accuracy of sound collection.

如前述,影音設備AUD用來協助測試作業,例如用以擷取來自待測物DUT所產生之影音訊號,並將影音訊號傳送至計算設備PC,以供計算設備PC分析而產生測試結果。As mentioned above, the audio and video equipment AUD is used to assist in testing operations, for example, to capture audio and video signals generated by the DUT, and transmit the audio and video signals to the computing device PC for analysis by the computing device PC to generate test results.

請同時參閱第4圖,第4圖為應用於第3圖之自動化測試方法400之一實施例之流程圖。Please also refer to FIG. 4 , which is a flowchart of an embodiment of the automated testing method 400 applied to FIG. 3 .

如第4圖所示,方塊410中,開始自動化測試方法400,包含影像顯示功能以及語音功能之測試。As shown in FIG. 4, in block 410, the automated testing method 400 is started, including the testing of the image display function and the voice function.

方塊420中,透過計算設備PC判斷樣本資料是否已建立,用以確認測試過程中需要待測物DUT輸出之資料(如,樣本影片或樣本語音)是否已經製作完成。樣本資料表示為預設的比對資料,即無異常的待測物DUT能夠輸出的訊號。一些實施例中,樣本資料為連續的彩色照片。一些實施例中,樣本資料為一段連續的音頻。一些實施例中,樣本資料為連續的影片與聲音之資料。舉例來說,樣本資料表示為正常的電視機能夠顯示的影像,或是能夠播放的聲音。In block 420, the computing device PC is used to determine whether the sample data has been created, so as to confirm whether the data (eg, sample video or sample voice) required to be output by the DUT during the test process has been produced. The sample data is expressed as the preset comparison data, that is, the signal that can be output by the DUT without abnormality. In some embodiments, the sample data are continuous color photographs. In some embodiments, the sample data is a continuous piece of audio. In some embodiments, the sample data is continuous video and audio data. For example, the sample data is represented as an image that a normal TV can display, or a sound that can be played.

若樣本資料尚未建立,執行方塊430。If the sample data has not been created, block 430 is performed.

方塊430中,透過計算設備PC製作樣本資料,接著重新執行方塊410。In block 430, sample data is created by the computing device PC, and then block 410 is re-executed.

若樣本資料已建立,執行方塊440。If sample data has been created, block 440 is performed.

在方塊440中,透過計算設備PC判斷影音設備AUD是否安裝正確。一些實施例中,如第3圖所示,計算設備PC會同時判斷左麥克風LMIC、右麥克風RMIC以及照相機CAM是否設置正確。例如,判斷左麥克風LMIC及右麥克風RMIC是否安裝相反、照相機CAM是否能確實錄製待測物DUT之整體顯示畫面等等。In block 440, it is determined by the computing device PC whether the audio and video device AUD is installed correctly. In some embodiments, as shown in FIG. 3 , the computing device PC will simultaneously determine whether the left microphone LMIC, the right microphone RMIC and the camera CAM are set correctly. For example, it is determined whether the left microphone LMIC and the right microphone RMIC are installed oppositely, whether the camera CAM can actually record the overall display screen of the DUT, and so on.

若影音設備AUD未安裝正確,執行方塊450。If the audio-visual equipment AUD is not installed correctly, block 450 is executed.

方塊450中,計算裝置PC用以驅動影音設備AUD,並調整影音設備AUD為適當的安裝方式。一些實例中,藉由計算設備PC之感測器(圖中未示),能偵測影音設備AUD相對待測物DUT之位置,並利用計算設備PC之驅動器(圖中未示)調整影音設備AUD至符合此測試作業之設置方式。In block 450, the computing device PC is used to drive the audio-visual equipment AUD, and adjust the audio-visual equipment AUD to an appropriate installation mode. In some instances, the sensor of the computing device PC (not shown in the figure) can detect the position of the audio-visual device AUD relative to the DUT, and use the driver of the computing device PC (not shown in the figure) to adjust the audio-visual device. AUD to match the setting method of this test operation.

方塊450接續重新執行方塊440,直到方塊440之判斷結果為影音設備AUD已安裝正確,執行方塊460。Block 450 continues to re-execute block 440 until the determination result in block 440 is that the audio-visual equipment AUD has been installed correctly, and block 460 is executed.

若影音設備AUD已經安裝正確,執行方塊460。If the audio-visual equipment AUD has been installed correctly, block 460 is executed.

方塊460中,透過自動化測試裝置300及影音設備AUD執行待測物DUT的功能測試,包含待測物DUT的影像顯示以及語音功能之測試。In block 460, a functional test of the DUT is performed through the automated test device 300 and the audio-visual equipment AUD, including the image display of the DUT and the test of the voice function.

接續執行方塊470,透過計算設備PC進行分析比對並產生測試結果,以表示此待測物DUT之功能是否有異常。Then, block 470 is executed, analysis and comparison are performed through the computing device PC and a test result is generated to indicate whether the function of the DUT is abnormal.

第6圖為根據第4圖之的一實施例,為針對待測物之影像顯示功能之測試方法流程圖。如第6圖所示,透過連續地且自動地進行多種顯示功能之測試,包含異物偵測、彩色影像及輪廓影像等,藉以達到良好測試效率之功效。FIG. 6 is a flow chart of a testing method for the image display function of the DUT according to an embodiment of FIG. 4 . As shown in Figure 6, by continuously and automatically performing tests of various display functions, including foreign object detection, color image and contour image, etc., a good test efficiency can be achieved.

方塊610中,對應於待測物的廠牌或型號,自動化測試裝置或計算機設備根據待測物的多個初步樣本影像產生初步樣本影片及初步樣本照片,用以作為後續多個待測物的比對標準。In block 610, corresponding to the brand or model of the object to be tested, the automated testing device or computer equipment generates a preliminary sample video and a preliminary sample photo according to a plurality of preliminary sample images of the object to be tested, which are used as the subsequent images of the plurality of objects to be tested. comparison standard.

在一實例中,針對某種特定廠牌及型號的一個待測物,首先透過計算設備將此待測物之特徵影像傳送至待測物,並使此待測物播放這些特徵影像,同時透過照相機擷取不同時間點之影像而產生多張特徵照片。In an example, for a test object of a certain brand and model, the characteristic image of the test object is firstly transmitted to the test object through the computing device, and the test object is made to play these characteristic images, and at the same time through the The camera captures images at different time points to generate a plurality of characteristic photos.

特徵影像反應了此待測物的多個靜態影像顯示的特徵,包含顯示圖案的定位、中心點位置等。特徵照片的一些實例如第5A圖所示,為待測物之定位影像501。The characteristic image reflects the characteristics displayed by multiple static images of the object to be tested, including the positioning of the display pattern, the position of the center point, and the like. Some examples of characteristic photos are shown in FIG. 5A, which is a positioning image 501 of the object under test.

如第5A圖所示,定位影像501包含至少一個定位圖案a、b、c。定位圖案a、b、c中的至少二者對應於待測物之顯示畫面中的相異的位置,且具有不同的大小。As shown in FIG. 5A , the positioning image 501 includes at least one positioning pattern a, b, and c. At least two of the positioning patterns a, b, and c correspond to different positions on the display screen of the object to be tested, and have different sizes.

接續上述之說明,特徵照片被傳送至計算裝置,且透過計算裝置根據這些特徵照片產生多張初步樣本影像。接著,透過計算裝置再將這些初步樣本影像串接而產生初步樣本影片。Following the above description, the characteristic photos are transmitted to the computing device, and a plurality of preliminary sample images are generated by the computing device according to the characteristic photos. Then, through the computing device, the preliminary sample images are concatenated to generate a preliminary sample video.

初步樣本影片(及初步樣本影像)反應了此待測物的多個動態影像顯示特徵,包含顯示背景色塊的改變、顏色及拖影影像等。初步樣本影片是由多張不同的初步影像照片串接而成。可以理解為,初步樣本影片之某個時間點的畫面即為某一張初步樣本影像。初步樣本影像的一個實例如第5B圖所示,為色塊定位影像502。The preliminary sample video (and preliminary sample image) reflects a plurality of dynamic image display characteristics of the object to be tested, including the change of the background color block, the color, and the smear image. The preliminary sample video is composed of several different preliminary image photos concatenated together. It can be understood that a frame of a certain time point of the preliminary sample video is a certain preliminary sample image. An example of a preliminary sample image is shown in FIG. 5B , which is a patch positioning image 502 .

如第5B圖所示,色塊定位影像502包含與前述之特徵照片(即定位影像501)中的定位圖案a對應之定位圖案a’,其中定位圖案a’具有一個圓形圖案a1。色塊定位影像502更包含多個色塊d1、d2、d3、d4以及位於色塊中間處的彩色區塊e。色塊d1、d2、d3、d4分別具有不同的顏色,作為影像之背景色塊。色塊d1、d2、d3、d4分別為相異色域之顏色。彩色區塊e具有多個連續色域之顏色。另外其他的色塊定位影像502是以第5B圖所示之色塊定位影像502為基礎而產生之變化影像。舉例來說,色塊d1、d2、d3、d4具有不同的設置方式,且圓形圖案a1與定位圖案a’之相對位置亦不同。例如,另一張色塊定位影像502中的色塊順時針依序排列為d1、d3、d2、d4。As shown in Figure 5B, the color patch positioning image 502 includes a positioning pattern a' corresponding to the positioning pattern a in the aforementioned feature photo (ie, positioning image 501), wherein the positioning pattern a' has a circular pattern a1. The color patch positioning image 502 further includes a plurality of color patches d1, d2, d3, d4 and a color block e located in the middle of the color patches. The color blocks d1, d2, d3, and d4 have different colors respectively, and serve as the background color blocks of the image. The color blocks d1, d2, d3, and d4 are colors of different color gamuts. The color block e has a plurality of continuous color gamut colors. The other color patch positioning images 502 are changed images generated based on the color patch positioning image 502 shown in FIG. 5B . For example, the color blocks d1, d2, d3, and d4 have different arrangements, and the relative positions of the circular pattern a1 and the positioning pattern a' are also different. For example, the color patches in another color patch positioning image 502 are arranged clockwise as d1, d3, d2, and d4.

一些實施例中,初步樣本影片中的色塊d1、d2、d3、d4及/或定位圖案a’隨著播放時間拉長而變化。一些實例中,初步樣本影片中的色塊d1、d2、d3、d4隨著播放時間拉長而順時針旋轉。一些實施例中,初步樣本影片中的圓形圖案a1隨著播放時間拉長而水平地在定位圖案a’中來回移動。一些實施例中,初步樣本影片隨著播放時間拉長而其中的色塊d1、d2、d3、d4為順時針旋轉,同時圓形圖案a1自定位圖案a’之最左側移動至最右側,又再回到最左側。前述之圖案變化所需的時間為一個週期,初步樣本影片會以此週期重複多張初步樣本照片。因此,藉由初步樣本影片中的圖案之變化以及圖案本身的設計,能用來測試影像顯示功能。In some embodiments, the color blocks d1, d2, d3, d4 and/or the positioning pattern a' in the preliminary sample video change as the playback time increases. In some examples, the color blocks d1 , d2 , d3 , and d4 in the preliminary sample video rotate clockwise as the playback time increases. In some embodiments, the circular pattern a1 in the preliminary sample film moves back and forth horizontally in the positioning pattern a' as the playback time increases. In some embodiments, the color blocks d1, d2, d3, and d4 of the preliminary sample video are rotated clockwise as the playback time increases, and the circular pattern a1 moves from the leftmost to the rightmost of the positioning pattern a', and then Go back to the far left. The time required for the aforementioned pattern change is a cycle, and the preliminary sample video will repeat a plurality of preliminary sample photos in this cycle. Therefore, the change of the pattern in the preliminary sample video and the design of the pattern itself can be used to test the image display function.

在另一實例中,某種特定廠牌及型號的一個待測物的多張特徵影像已包含如第5A圖之定位影像501及第5B圖之色塊定位影像502,並使待測物播放這些特徵影像。相似於前述之實例,透過照相機擷取不同時間點之影像並產生初步樣本影像,進而產生初步樣本影片。In another example, a plurality of characteristic images of a test object of a certain brand and model already include the positioning image 501 in Fig. 5A and the color patch positioning image 502 in Fig. 5B, and the test object is played these characteristic images. Similar to the aforementioned example, the camera captures images at different time points and generates preliminary sample images, thereby generating preliminary sample videos.

接續上述之二個實例之操作,待測物播放初步樣本影片,並透過照相機擷取不同時間點之影像而產生初步樣本照片,用以作為比對標準的圖示。Continuing the operations of the above two examples, the object to be tested plays a preliminary sample video, and captures images at different time points through a camera to generate preliminary sample photos, which are used as icons for comparison standards.

因此,初步樣本照片為由照相機擷取待測物播放的初步樣本影片中某些時間點的畫面,幾乎等同於初步樣本影像(假設待測物無異常)。也就是說,初步樣本照片之一些實例為第5A圖或第5B圖所示之圖示。Therefore, the preliminary sample photo is a frame at certain time points in the preliminary sample video captured by the camera and played by the object to be tested, which is almost identical to the preliminary sample image (assuming that the object to be tested is not abnormal). That is, some examples of preliminary sample photos are the diagrams shown in Figure 5A or Figure 5B.

接續執行方塊615。方塊615中,根據多個初步樣本照片以及至少一個輔助樣本照片產生上機樣本影片。上述初步樣本照片為彩色影像,輔助樣本照片為灰階影像。Block 615 is then executed. In block 615, a computer sample video is generated according to the plurality of preliminary sample photos and at least one auxiliary sample photo. The above-mentioned preliminary sample photos are color images, and the auxiliary sample photos are grayscale images.

如上所述,初步樣本照片為如第5A圖或第5B圖所示之彩色影像,且初步樣本照片分別具有不同的彩色圖案設置方式。另外,輔助樣本照片可為單色灰階之影像。As mentioned above, the preliminary sample photos are color images as shown in FIG. 5A or FIG. 5B , and the preliminary sample photos respectively have different color patterns. In addition, the auxiliary sample photo may be a monochrome grayscale image.

在本實施例中,初步樣本影片以及上機樣本影片是由計算機設備產生。在另一實施中,計算機設備可將上述多張初步樣本照片以及輔助樣本照片傳送至自動化測試裝置中。接著由自動化測試裝置產生初步樣本影片以及上機樣本影片,本揭示文件不以前述之方式為限。In this embodiment, the preliminary sample video and the computer sample video are generated by computer equipment. In another implementation, the computer equipment may transmit the above-mentioned plurality of preliminary sample photos and auxiliary sample photos to the automated testing device. Next, the automated testing device generates a preliminary sample video and a computer sample video, but the present disclosure is not limited to the foregoing methods.

一些實施例中,結合初步樣本照片及輔助樣本照片是將多張輔助樣本照片分別插入多張初步樣本照片之間。由於初步樣本照片為彩色影像,且輔助樣本照片為灰階影像,因此上機樣本影片包含彩色影像以及灰階影像。In some embodiments, combining the preliminary sample photos and the auxiliary sample photos is to insert multiple auxiliary sample photos between the multiple preliminary sample photos respectively. Since the preliminary sample photo is a color image and the auxiliary sample photo is a grayscale image, the computer sample video includes a color image and a grayscale image.

一些實施例中,初步樣本照片為具有週期性重複一套相同圖案變化的多張照片。藉由在一個週期中,平均地插入輔助樣本照片至初步樣本照片之間。例如,初步樣本照片之重複圖案變化之週期為2.2秒,每0.2秒插入一張輔助樣本照片至每一個週期之初步樣本照片中,因此上機樣本影片之每一個週期中具有12張輔助樣本照片。In some embodiments, the preliminary sample photo is a plurality of photos with a periodically repeating set of the same pattern variation. By inserting evenly between the auxiliary sample photos and the preliminary sample photos in one cycle. For example, the cycle of the repeated pattern change of the preliminary sample photo is 2.2 seconds, and an auxiliary sample photo is inserted into the preliminary sample photo of each cycle every 0.2 seconds, so there are 12 auxiliary sample photos in each cycle of the on-camera sample video .

接著執行方塊620。自動化測試裝置命令待測物播放方塊615中所製作之上機樣本影片。同時,照相機擷取待測物所播放對應於上機樣本影片的內容,並產生測試照片。例如,照相機每隔250毫秒(msec)拍攝一張照片,並每一個週期中會連續拍攝十張照片。也就是說,照相機能在待測物進行影像顯示功能的過程中,拍攝待測物在不同時間點的上機樣本影片的多張照片,這些照片即為照相機所取樣之測試照片。接著,照相機會將測試照片傳送至計算設備,並接續方塊625。Block 620 is then executed. The automated testing device instructs the DUT to play the on-board sample video produced in the block 615 . At the same time, the camera captures the content corresponding to the sample video played by the object to be tested, and generates a test photo. For example, the camera takes a picture every 250 milliseconds (msec) and continuously takes ten pictures in each cycle. That is to say, the camera can take a plurality of pictures of the sample video of the object under test at different time points during the process of displaying the image of the object under test, and these pictures are the test pictures sampled by the camera. The camera then transmits the test photo to the computing device, and block 625 continues.

方塊625中,計算設備比對方塊620中的測試照片及方塊615中的初步樣本照片,判斷測試照片是否符合初步樣本照片。In block 625, the computing device compares the test photo in block 620 with the preliminary sample photo in block 615 to determine whether the test photo conforms to the preliminary sample photo.

一些實施例中,比對測試照片及初步樣本照片之操作是將每一張測試照片依序與多張初步樣本照片比對,用以比對測試照片是否符合任一張初步樣本照片。一些實例中,前述比對可依據測試照片是否與初步樣本照片為模板匹配(Template Matching)。In some embodiments, the operation of comparing the test photos and the preliminary sample photos is to compare each test photo with a plurality of preliminary sample photos in sequence, so as to compare whether the test photos conform to any one of the preliminary sample photos. In some examples, the aforementioned comparison may be based on whether the test photo is template matching with the preliminary sample photo.

當測試照片不符合任一張初步樣本照片時,表示此張測試照片不為如第5A圖之定位影像501或第5B圖之色塊定位影像502所對應的照片。假設待測物具有正常的影像顯示功能,此張測試照片可能是對應於前述的輔助樣本照片,導致測試照片與所有初步樣本照片都不符合。另一方面,假設待測物不具有正常的影像顯示功能,照相機拍攝到的這張測試照片可能不同於上機樣本影片的內容,進而導致測試照片與初步樣本照片不符。When the test photo does not match any of the preliminary sample photos, it means that the test photo is not the photo corresponding to the positioning image 501 in Fig. 5A or the color patch positioning image 502 in Fig. 5B. Assuming that the object to be tested has a normal image display function, this test photo may correspond to the aforementioned auxiliary sample photo, resulting in that the test photo does not match all the preliminary sample photos. On the other hand, assuming that the object under test does not have a normal image display function, the test photo captured by the camera may be different from the content of the sample video on the machine, resulting in a discrepancy between the test photo and the preliminary sample photo.

當測試照  片不符合初步樣本照片時,執行方塊630。When the test photo does not match the preliminary sample photo, block 630 is performed.

方塊630中,計算設備對測試照片執行異物偵測,用以比對測試照片中是否出現異常的圖像或斑點。在下文及第7圖中,另外更詳細說明異物偵測之方法。In block 630, the computing device performs foreign object detection on the test photos to compare whether abnormal images or spots appear in the test photos. In the following and FIG. 7, the method of foreign object detection is further explained in more detail.

接續執行方塊640,透過計算機設備判斷待測物是否出現異常,也就是判斷此待測物是否通過異物偵測。Then, block 640 is executed to determine whether the object to be tested is abnormal through the computer equipment, that is, to determine whether the object to be tested has passed the foreign object detection.

當計算設備判斷測試照片通過異物偵測時,也就是判斷結果為無異常時,執行方塊650。When the computing device determines that the test photo has passed the foreign object detection, that is, when the determination result is no abnormality, block 650 is executed.

當計算設備判斷測試照片未通過異物偵測時,也就是判斷結果為有異常時,執行方塊645,透過計算設備產生顯示功能錯誤訊息。一些實例中,方塊645中,透過計算設備使待測物的顯示模組上顯示提示訊息,以通知操作人員此待測物未通過影像顯示功能的測試。When the computing device determines that the test photo fails the foreign object detection, that is, when the determination result is abnormal, block 645 is executed, and a display function error message is generated through the computing device. In some examples, in block 645, a prompt message is displayed on the display module of the object to be tested through the computing device to notify the operator that the object to be tested has not passed the test of the image display function.

接續方塊625,當測試照片符合初步樣本照片時,執行方塊630。也就是說,測試照片與初步樣本照片其中至少一張相互匹配。Following block 625, when the test photo matches the preliminary sample photo, block 630 is executed. That is, at least one of the test photos and the preliminary sample photos match each other.

方塊635中,計算設備執行彩色影像測試以及輪廓影像測試,用以比對測試照片中是否出現顯示顏色的異常,以及比對測試照片中是否出現異常輪廓的圖案。In block 635, the computing device performs a color image test and a contour image test to compare whether there is an abnormal display color in the test photo, and whether there is an abnormal contour pattern in the test photo.

接續執行方塊640,透過計算機設備判斷待測物是否出現異常,也就是判斷此待測物是否通過彩色影像測試以及輪廓影像測試。Then, block 640 is executed to determine whether the object to be tested is abnormal through the computer equipment, that is, to determine whether the object to be tested has passed the color image test and the contour image test.

當計算設備判斷測試照片通過彩色影像測試以及輪廓影像測試時,執行方塊650。當計算設備判斷測試照片未通過彩色影像測試以及輪廓影像測試時,執行方塊645,如上所述,透過計算設備產生顯示功能錯誤訊息。Block 650 is performed when the computing device determines that the test photo passes the color image test and the outline image test. When the computing device determines that the test photo fails the color image test and the outline image test, block 645 is executed, and a display function error message is generated by the computing device as described above.

一些實施例中,方塊635中,由於測試照片為如第5B圖所示之彩色照片。透過比對測試照片與初步樣本照片中之對應的彩色區塊e,能得知顏色是否有異常。In some embodiments, in block 635, since the test photo is a color photo as shown in FIG. 5B. By comparing the corresponding color block e in the test photo and the preliminary sample photo, it can be known whether the color is abnormal.

另外,輪廓影像測試過程中,透過比對測試照片與初步樣本照片中之對應的各個圖案,能得知圖案的輪廓是否有異常,如扭曲或斷裂等情形。In addition, during the contour image test, by comparing the respective patterns in the test photo and the preliminary sample photo, it can be known whether the contour of the pattern is abnormal, such as distortion or breakage.

接著,當異物偵測(對應方塊630)以及彩色影像測試及輪廓影像測試(對應方塊635)之測試結果皆為通過時,分別執行方塊650。Next, when the test results of the foreign object detection (corresponding to block 630 ) and the color image test and the contour image test (corresponding to block 635 ) are all passed, block 650 is executed respectively.

方塊650中,透過計算設備執行拖曳影像測試及卡頓影像測試,用以比對測試照片是否出現多個異常的圖案,或是缺少部分的圖案等異常,例如測試照片中的某一個圖案出現多重影子。In block 650, a drag image test and a stuck image test are performed through the computing device to compare whether there are multiple abnormal patterns in the test photo, or if there are abnormalities such as missing part of the pattern, for example, a certain pattern in the test photo appears multiple times. shadow.

如前述之實施例中,初步樣本照片包含如5B圖之圖示,且多張連續的初步樣本照片以一定的週期重複一套連續的圖案變化。因此,照相機所擷取之測照照片為若干的時間點的上機樣本影片的照片,且為根據上機樣本影片播放時間拉長而依序擷取到的照片。As in the above-mentioned embodiment, the preliminary sample photos include the illustration shown in Figure 5B, and a plurality of consecutive preliminary sample photos repeat a set of continuous pattern changes with a certain period. Therefore, the survey photos captured by the camera are photos of the sample video on the computer at several time points, and are sequentially captured according to the extension of the playing time of the sample video on the computer.

如此一來,拖曳影像測試過程中,將照相機取得的連續多張測試照片與初步樣本照片進行比對,能得知圓形圖案a1在變化過程中是否有異常。例如,在同一張測試照片中,出現多個不完全的圓形圖案a1(即,定位圖案a’之拖曳殘影;也就是影像發生拖曳);可理解為,待測物在播放上機樣本影片時,影片雖可以順利播放,但於過程中部分的圖案會有多個殘影。In this way, during the drag image test process, a plurality of consecutive test photos obtained by the camera are compared with the preliminary sample photos, and it can be known whether there is any abnormality in the changing process of the circular pattern a1. For example, in the same test photo, there are multiple incomplete circular patterns a1 (that is, the drag afterimage of the positioning pattern a'; that is, the image is dragged); it can be understood that the object to be tested is playing the sample on the computer During the video, although the video can be played smoothly, there will be multiple afterimages in some patterns during the process.

另外,卡頓影像測試過程中,相同地,亦能得知色塊d1、d2、d3、d4在變化過程中是否有異常。例如,色塊d1、d2、d3、d4之間相對位置的設置在每一張測試照片中皆相同(即,影像發生卡頓);可理解為,待測物在播放上機樣本影片時,影片卡在同一個畫面無法順利輸出。In addition, during the stuck image test process, it is also possible to know whether there is any abnormality in the changing process of the color blocks d1, d2, d3, and d4. For example, the relative positions of the color blocks d1, d2, d3, and d4 are the same in each test photo (that is, the image freezes); The video is stuck on the same screen and cannot be output smoothly.

接續執行方塊655,透過計算設備判斷待測物是否出現異常,也就是判斷此待測物是否通過拖曳影像測試及卡頓影像測試。Then, block 655 is executed to determine whether the object to be tested is abnormal through the computing device, that is, to determine whether the object to be tested has passed the drag image test and the stuck image test.

當計算設備判斷測試照片通過拖曳影像測試及卡頓影像測試時,也就是判斷結果為無異常時,執行方塊660。當計算設備判斷測試照片未通過拖曳影像測試及卡頓影像測試時,也就是判斷結果為有異常時,執行方塊645,如上所述,透過計算設備產生顯示功能錯誤訊息。When the computing device determines that the test photo has passed the drag image test and the stuck image test, that is, when the determination result is no abnormality, block 660 is executed. When the computing device determines that the test photo fails the drag image test and the stuck image test, that is, when the determination result is abnormal, block 645 is executed, as described above, the display function error message is generated by the computing device.

方塊660中,計算設備根據前述之判斷結果,產生顯示功能通過訊息,表示此待測物不具有異常的影像顯示功能。In block 660, the computing device generates a display function pass message according to the aforementioned judgment result, indicating that the object to be tested does not have an abnormal image display function.

回到方塊630中的異物偵測操作,請一併參閱第7圖,為異物偵測方法之流程圖。Returning to the foreign object detection operation in block 630, please also refer to FIG. 7, which is a flowchart of the foreign object detection method.

如第7圖所示,方塊710,開始執行異物偵測。As shown in FIG. 7, block 710, the foreign object detection is started.

方塊715中,計算設備根據測試照片取得測試照片的初步邊界輪廓及畫面中心點,分別如第8A、8B圖中所示之初步邊界ED0及中心點CE0。In block 715, the computing device obtains a preliminary boundary outline and a screen center point of the test photo according to the test photo, which are the preliminary border ED0 and the center point CE0 shown in Figures 8A and 8B, respectively.

接續執行方塊720,計算設備根據畫面中心點,在測試照片中產生多個X軸方向之掃描線資料。其中掃描線資料是由照片中間處向初步邊界輪廓延伸之一維資料線。After executing block 720, the computing device generates a plurality of scan line data in the X-axis direction in the test photo according to the center point of the frame. The scan line data is a one-dimensional data line extending from the middle of the photo to the preliminary boundary outline.

一些實施例中,如第8A圖所示,在測試照片中首先取得通過中心點CE0之X軸方向上之第一條掃描線資料SCANX0。接著,在測試照片中取得平行於第一條掃描線資料SCANX0的其他掃描線資料SCANX。因此,第一條掃描線資料為通過中心點CE0之掃描線資料SCANX0,其他的掃描線資料SCANX則平行於掃描線資料SCANX0分布於整個測試照片。In some embodiments, as shown in FIG. 8A , the first scan line data SCANX0 in the X-axis direction passing through the center point CE0 is obtained in the test photo. Next, other scan line data SCANX parallel to the first scan line data SCANX0 is obtained in the test photo. Therefore, the first scan line data is the scan line data SCANX0 passing through the center point CE0, and the other scan line data SCANX are distributed in the entire test photo in parallel with the scan line data SCANX0.

接續執行方塊725,透過計算設備判斷測試照片是否已完成X軸方向之掃描線資料。當判斷結果為尚未完成時,重複執行方塊720。當判斷結果為已完成時,執行方塊730。Then, block 725 is executed, and it is determined by the computing device whether the scan line data in the X-axis direction has been completed in the test photo. When it is determined that the result is not completed, block 720 is repeatedly executed. When the determination result is completed, block 730 is executed.

方塊730中,計算設備根據畫面中心點,在測試照片中,產生多個Y軸方向之掃描線資料,其中掃描線資料是由照片中間處向初步邊界輪廓延伸之一維資料線。In block 730, the computing device generates a plurality of scan line data in the Y-axis direction in the test photo according to the center point of the frame, wherein the scan line data is a one-dimensional data line extending from the middle of the photo to the preliminary boundary outline.

一些實施例中,如第8B圖所示,在測試照片中首先取得通過中心點CE0之Y軸方向上之第一條掃描線資料SCANY0。接著,在測試照片中取得平行於第一條掃描線資料SCANY0的其他掃描線資料SCANY。因此,第一條掃描線資料為通過中心點CE0之掃描線資料SCANY0,其他的掃描線資料SCANY則平行於掃描線資料SCANY0分布於整個測試照片。In some embodiments, as shown in FIG. 8B , the first scan line data SCANY0 in the Y-axis direction passing through the center point CE0 is obtained in the test photo. Next, other scan line data SCANY parallel to the first scan line data SCANY0 is obtained in the test photo. Therefore, the first scan line data is the scan line data SCANY0 passing through the center point CE0, and the other scan line data SCANY are distributed in the entire test photo in parallel with the scan line data SCANY0.

接續執行方塊735,透過計算設備判斷測試照片是否已完成Y軸方向之掃描線資料。當判斷結果為尚未完成時,重複執行方塊730。當判斷結果為已完成時,執行方塊740。Then, block 735 is executed, and it is determined by the computing device whether the scan line data in the Y-axis direction has been completed in the test photo. When it is determined that the result is not completed, block 730 is repeatedly executed. When the determination result is completed, block 740 is executed.

方塊740中,計算設備根據測試照片中的二個相異方向上的多條掃描線資料,取得此測試照片之實際邊界輪廓。In block 740, the computing device obtains the actual boundary contour of the test photo according to data of a plurality of scan lines in two different directions in the test photo.

一些實施例中,測試照片之實際邊界輪廓之部分如第8C圖所示。利用第8A圖中的多條掃描線資料SCANX描繪出實際測試照片的輪廓,即對應於待測物在執行影像顯示功能時,實際畫面在Y方向上的畫面輪廓。相似地,測試照片之實際邊界輪廓之部分如第8D圖所示。利用第8B圖中的多條掃描線資料SCANY描繪出實際測試照片的輪廓,即對應於待測物在執行顯示功能時,實際畫面在X方向上的畫面輪廓。In some embodiments, the portion of the actual boundary contour of the test photo is shown in Figure 8C. Using the multiple scan line data SCANX in Fig. 8A, the outline of the actual test photo is drawn, that is, the outline of the actual image in the Y direction corresponding to the object under test when the image display function is performed. Similarly, a portion of the actual boundary contour of the test photo is shown in Figure 8D. Using the multiple scan line data SCANY in Figure 8B, the outline of the actual test photo is drawn, that is, the outline of the actual image in the X direction corresponding to the object to be tested when the display function is performed.

一些實施例中,如第8B圖及第8D圖所示,當待測物之顯示模組所顯示畫面中有異物(如第8D圖所示之黑點ER)時,待測物在播放上機樣本影片時,顯示畫面會出現錯誤影像。因此,照相機所擷取之測試照片亦具有此異物。當掃描線資料SCANY之任一端碰到此異物時,會認定為此端點為畫面邊界而終止延伸。如此一來,第8B圖中所示之掃描線資料SCANY1之長度異於其他的掃描線資料SCANY,使得後續所取得之實際邊界輪廓出現異常,如第8D圖所示,即判定有異物。In some embodiments, as shown in Figures 8B and 8D, when there is a foreign object (such as the black dot ER shown in Figure 8D) on the screen displayed by the display module of the object to be tested, the object to be tested is playing When downloading a sample video from the camera, the display will show an incorrect image. Therefore, the test photos captured by the camera also have this foreign matter. When either end of the scan line data SCANY encounters the foreign object, it will be regarded as the boundary of the screen and the extension will be terminated. As a result, the length of the scan line data SCANY1 shown in FIG. 8B is different from that of other scan line data SCANY, so that the actual boundary contour obtained subsequently is abnormal. As shown in FIG. 8D, it is determined that there is a foreign object.

藉此,計算設備取得測試照片在Y軸方向上的邊界資訊,如第8C圖所示之邊界輪廓EDX。相同地,計算設備取得測試照片在X軸方向上的邊界資訊,如第8D圖所示之邊界輪廓EDY。因此,綜合邊界輪廓括EDX及邊界輪廓括EDY,即可得知測試照片整體之實際邊界輪廓。Thereby, the computing device obtains the boundary information of the test photo in the Y-axis direction, such as the boundary outline EDX shown in FIG. 8C . Similarly, the computing device obtains the boundary information of the test photo in the X-axis direction, such as the boundary outline EDY shown in FIG. 8D . Therefore, by synthesizing the boundary outline including EDX and the boundary outline including EDY, the actual boundary outline of the entire test photo can be known.

接續執行方塊745,計算設備根據實際邊界輪廓,取得待測物之顯示畫面測試資訊。可以理解為,由實際上待測物可以執行的測試結果轉換成對應的顯示畫面資訊,即顯示畫面測試資訊,包含待測物之顯示畫面尺寸、錯誤影像之尺寸及錯誤影像相對於整個顯示畫面之位置等資訊。相似地,正常顯示功能之待測物亦具有對應之顯示畫面預設資訊。Then, block 745 is executed, and the computing device obtains the test information of the display screen of the object to be tested according to the actual boundary contour. It can be understood that the actual test result that can be performed by the DUT is converted into the corresponding display screen information, that is, the display screen test information, including the display screen size of the DUT, the size of the error image, and the error image relative to the entire display screen. location and other information. Similarly, the DUT with normal display function also has corresponding preset information of the display screen.

接續執行方塊750,透過計算設備比對顯示畫面測試資訊以及顯示畫面預設資訊。Then, block 750 is executed, and the display image test information and the display image preset information are compared through the computing device.

一些實施例中,計算設備比對顯示畫面測試資訊以及顯示畫面預設資訊中對應之長寬比、面積等參數。In some embodiments, the computing device compares the display screen test information and the corresponding parameters such as aspect ratio and area in the display screen preset information.

方塊755,透過計算設備判斷顯示畫面測試資訊是否符合顯示畫面預設資訊,也就是判斷此待測物是否通過異物偵測。In block 755, it is determined by the computing device whether the test information of the display screen conforms to the preset information of the display screen, that is, it is determined whether the object to be tested has passed the foreign object detection.

一些實施例中,當顯示畫面測試資訊之長寬比以及面積皆位在顯示畫面預設資訊之對應值之誤差內,計算設備判斷為兩者相符,即此待測物通過異物測試;反之則為不通過。In some embodiments, when the aspect ratio and area of the test information of the display screen are both within the error of the corresponding values of the preset information of the display screen, the computing device determines that the two are consistent, that is, the object to be tested passes the foreign object test; to fail.

當計算設備判斷顯示畫面測試資訊未符合顯示畫面預設資訊時,執行方塊760,透過計算設備產生顯示功能錯誤訊息。一些實例中,方塊760中,透過計算設備使待測物的顯示模組上顯示提示訊息,以通知操作人員此待測物未通過異物偵測的測試。When the computing device determines that the display image test information does not conform to the display image preset information, block 760 is executed to generate a display function error message through the computing device. In some examples, in block 760, a prompt message is displayed on the display module of the object to be tested through the computing device to notify the operator that the object to be tested has not passed the foreign object detection test.

當計算設備判斷顯示畫面測試資訊符合顯示畫面預設資訊時,也就是當異物偵測之測試結果為通過時,執行方塊765。When the computing device determines that the test information of the display screen conforms to the preset information of the display screen, that is, when the test result of the foreign object detection is passed, block 765 is executed.

方塊765,透過計算設備根據前述之測試結果,產生異物偵測通過訊息,表示此待測物所顯示之畫面不具異物。接續回到第6圖之方塊640,以接續後續之其他顯示功能測試。In block 765, a foreign object detection pass message is generated by the computing device according to the aforementioned test result, indicating that the screen displayed by the object to be tested does not contain foreign objects. Continue back to block 640 in FIG. 6 to continue other subsequent display function tests.

綜合上述關於顯示功能之測試,藉由第6圖及第7圖所示之方法,對待測物之影像顯示功能進行測試,包含異物測試、彩色影像測試及輪廓影像測試、拖曳影像測試及卡頓影像測試。藉此,能夠連續測試多種影像顯示功能,因此提升測試作業之效率。Based on the above tests on display function, the image display function of the object to be tested is tested by the methods shown in Figure 6 and Figure 7, including foreign object test, color image test and contour image test, drag image test and freeze video test. In this way, multiple image display functions can be continuously tested, thereby improving the efficiency of testing operations.

第9A、9B、9C圖繪示本發明之語音功能測試方法之流程圖,亦為根據第4圖之一實施例之自動化測試方法之流程圖。Figures 9A, 9B, and 9C show the flow chart of the voice function testing method of the present invention, which is also the flow chart of the automated testing method according to an embodiment of Figure 4 .

方塊910中,透過自動化測試裝置或計算設備產生樣本語音,用以作為後續多個待測物的比對標準。In block 910, a sample speech is generated by an automated testing device or a computing device, which is used as a comparison standard for subsequent multiple DUTs.

一些實施例中,樣本語音包含聲道標記及聲道資料,且語音樣本為多段重複的語音資料,每一段語音資料具有相同的週期。聲道標記包含左聲道標記以及右聲道標記,用以分別作為待測物的左聲道測試及右聲道測試的觸發訊號。聲道資料包含左聲道資料以及右聲道資料,用以分別作為待測物的左聲道測試及右聲道測試的比對內容。In some embodiments, the sample speech includes channel markers and channel data, and the speech samples are multiple pieces of repeated speech data, and each piece of speech data has the same period. The channel markers include a left channel marker and a right channel marker, which are respectively used as trigger signals for the left channel test and the right channel test of the object under test. The channel data includes left channel data and right channel data, which are respectively used as comparison contents for the left channel test and the right channel test of the object to be tested.

一些實施例中,樣本語音包含左聲道語音以及右聲道語音。左聲道語音包含左聲道標記、右聲道標記以及左聲道資料。右聲道語音包含左聲道標記、右聲道標記以及右聲道資料。在一個週期中,左聲道語音隨著播放時間拉長而依序為左聲道標記、左聲道資料、右聲道標記。此外,在前述之週期中,右聲道語音隨著播放時間拉長而依序為左聲道標記、右聲道標記以及右聲道資料。左聲道資料用以測試待測物之左側語音輸出功能,例如為測試待測物的左側喇叭播放功能是否正常。右聲道資料用以測試待測物之右側語音輸出功能,例如為測試待測物的右側喇叭播放功能是否正常。藉此,在一個週期中,能夠同時對待測物之左側及右側之語音輸出功能進行測試。In some embodiments, the sample speech includes left channel speech and right channel speech. Left channel speech contains left channel markers, right channel markers, and left channel data. The right channel speech contains left channel markers, right channel markers, and right channel data. In one cycle, the left channel voice is sequentially marked as left channel mark, left channel data, and right channel mark as the playback time increases. In addition, in the aforementioned period, the audio of the right channel becomes the left channel mark, the right channel mark and the right channel data in sequence as the playback time increases. The left channel data is used to test the left voice output function of the DUT, for example, to test whether the playback function of the left speaker of the DUT is normal. The right channel data is used to test the right voice output function of the DUT, for example, to test whether the playback function of the right speaker of the DUT is normal. Thereby, in one cycle, the voice output function of the left and right sides of the object to be tested can be tested at the same time.

第10A圖為本發明所示之左聲道語音之一實施例。在一個週期(時間t1與t2,且圖中之時間t1、t2、t3之間隔大小相等)中,隨時間拉長而資料內容依序為左聲道標記、左聲道資料、右聲道標記以及空白。或者可以理解為,左聲道語音的週期包含左取樣週期t1及右取樣週期t2。左取樣週期t1中,資料內容包含左聲道標記以及左聲道資料;右取樣週期t2中,資料內容則包含右聲道標記以及空白。FIG. 10A is an embodiment of the left channel speech shown in the present invention. In a cycle (times t1 and t2, and the interval between times t1, t2, and t3 in the figure is equal), the data content is sequentially marked as left channel mark, left channel data, and right channel mark as time elongates and blank. Alternatively, it can be understood that the period of the left channel speech includes a left sampling period t1 and a right sampling period t2. In the left sampling period t1, the data content includes the left channel mark and the left channel data; in the right sampling period t2, the data content includes the right channel mark and blank.

相似地,第10B圖為本發明所示之右聲道語音之一實施例。在一個週期(時間t1與t2)中,隨時間拉長而資料內容依序為左聲道標記、空白、右聲道標記以及右聲道資料。同理,右聲道語音包含左取樣週期t1及右取樣週期t2。左取樣週期t1中,資料內容包含左聲道標記以及空白;右取樣週期t2中,資料內容則包含右聲道標記以及右聲道資料。Similarly, Figure 10B is an embodiment of the right channel speech shown in the present invention. In one cycle (times t1 and t2 ), the data contents are sequentially left channel mark, blank, right channel mark and right channel data as time elongates. Similarly, the right channel speech includes a left sampling period t1 and a right sampling period t2. In the left sampling period t1, the data content includes the left channel mark and blank; in the right sampling period t2, the data content includes the right channel mark and the right channel data.

左聲道語音提供待測物之左側語音裝置輸出,且右聲道語音提供待測物之右側語音裝置輸出。利用上述之左、右聲道語音分別由待測物的左側與右側語音裝置播放,以及左、右聲道語音的資料設計方式,能提高分別對於左、右側語音裝置功能測試的準確度,且亦可用以測試左、右側語音裝置是否裝設相反。The left channel voice provides the output of the left voice device of the object under test, and the right channel voice provides the output of the right voice device of the object under test. Using the above-mentioned left and right channel voices to be played by the left and right voice devices of the object to be tested, and the data design method of the left and right channel voices, can improve the accuracy of the function test of the left and right voice devices respectively, and It can also be used to test whether the left and right voice devices are installed in opposite directions.

如第9A圖至第9C圖所示,方塊915中,透過開啟影音設備的左麥克風及右麥克風,使左、右麥克風錄製由待測物播放之樣本語音,並產生測試語音。As shown in FIGS. 9A to 9C, in block 915, by turning on the left and right microphones of the audio-visual equipment, the left and right microphones record the sample voice played by the DUT, and generate a test voice.

如前述之實施例中,待測物之左側語音裝置輸出左聲道語音,且同時待測物之右側語音裝置輸出右聲道語音。因此,左麥克風以及右麥克風會同時錄製到待測物所輸出之左聲道語音以及右聲道語音,並分別產生左測試語音及右測試語音,合稱為測試語音。As in the aforementioned embodiment, the left-side voice device of the object to be tested outputs the left-channel voice, and at the same time, the right-side voice device of the test object outputs the right-channel voice. Therefore, the left microphone and the right microphone will simultaneously record the left channel voice and the right channel voice output by the DUT, and generate the left test voice and the right test voice respectively, which are collectively referred to as test voices.

相似地,假設測試物的語音裝置的語音播放功能以及麥克風的錄製功能皆正常時,測試語音之內容會對應於樣本語音之內容。也就是說,左測試語音以及右測試語音分別包含對應於樣本語音之左聲道標記、右聲道標記、左聲道資料以及右聲道資料。Similarly, assuming that the voice playback function of the voice device of the test object and the recording function of the microphone are both normal, the content of the test voice will correspond to the content of the sample voice. That is to say, the left test voice and the right test voice respectively include left channel markers, right channel markers, left channel data and right channel data corresponding to the sample voices.

接續執行方塊920,透過計算設備分析麥克風裝置(即,左麥克風及右麥克風)所錄製的測試語音,用以判斷麥克風裝置是否能正常錄製聲音。當麥克風裝置無法正常錄製聲音時,執行方塊925。Then, block 920 is executed, and the test voice recorded by the microphone device (ie, the left microphone and the right microphone) is analyzed by the computing device, so as to determine whether the microphone device can record the sound normally. When the microphone device cannot record sound normally, block 925 is executed.

方塊925中,透過計算設備產生語音功能錯誤訊息,表示麥克風裝置無法正常錄製聲音,需再次架設或設定麥克風。一些實例中,方塊925中,計算設備的顯示模組上會顯示提示訊息,以通知操作人員此麥克風裝置無法接續進行待測物的語音功能測試。In block 925, a voice function error message is generated through the computing device, indicating that the microphone device cannot record sound normally, and the microphone needs to be set up or set up again. In some instances, in block 925, a prompt message is displayed on the display module of the computing device to notify the operator that the microphone device cannot continue to perform the voice function test of the DUT.

當麥克風裝置可以正常錄製聲音時,執行方塊930。When the microphone device can record sound normally, block 930 is executed.

方塊930中,計算設備取得左、右麥克風分別錄製的測試語音(即左測試語音及右測試語音),接續進行測試語音分析。測試語音中所對應的左聲道標記以及右聲道標記,出現在測試語音中的的某些時間處,分別作為左側及右側的語音測試的觸發標記。In block 930, the computing device obtains the test voices (ie, the left test voice and the right test voice) respectively recorded by the left and right microphones, and then analyzes the test voices. The corresponding left channel mark and right channel mark in the test voice appear at certain times in the test voice, and serve as trigger marks for the left and right voice tests, respectively.

如前述之實施例中,待測物之左側語音裝置及右側語音裝置是分別且同時播放左聲道語音以及右聲道語音,因此左麥克風及右麥克風皆會錄製到由待測物左側及右側語音裝置所輸出之聲音,因此各自產生左測試語音以及右測試語音。計算設備針對左麥克風及右麥克風分別錄製的測試語音進行後續之分析,接續且同時執行方塊935以及方塊960。方塊935、940、945、950、955是針對左麥克風錄製之測試語音進行分析。方塊960、965、970、975、980是針對右麥克風錄製之測試語音進行分析。As in the above-mentioned embodiment, the left voice device and the right voice device of the DUT play the left channel voice and the right channel voice respectively and simultaneously, so both the left microphone and the right microphone are recorded from the left and right sides of the DUT. The sound output by the voice device thus generates a left test voice and a right test voice respectively. The computing device performs subsequent analysis on the test speech recorded by the left microphone and the right microphone, respectively, and then executes block 935 and block 960 simultaneously. Blocks 935, 940, 945, 950, 955 are for analyzing the test speech recorded by the left microphone. Blocks 960, 965, 970, 975, 980 are for analyzing the test speech recorded by the right microphone.

如第9B圖所示,對於左麥克風錄製之測試語音分析,首先方塊935中,透過計算設備判斷左麥克風所擷取之左測試語音是否為有效資料。As shown in FIG. 9B , for the analysis of the test voice recorded by the left microphone, first in block 935 , it is determined by the computing device whether the left test voice captured by the left microphone is valid data.

舉例而言,當由左麥克風錄製的左測試語音包含左聲道標記或右聲道標記,其中在左聲道標記或右聲道標記之後分別出現的左聲道資料或右聲道資料持續的時間大於一預設值時,判斷此左聲道資料為有效資料。For example, when the left test speech recorded by the left microphone contains a left channel marker or a right channel marker, where the left channel data or right channel data appearing after the left channel marker or the right channel marker, respectively, persists. When the time is greater than a preset value, it is determined that the left channel data is valid data.

方塊935中對於確認左麥克風錄製的測試語音為有效資料的操作可以理解為,確定左麥克風所擷取的這些訊號(即測試語音的內容)都是對應於樣本語音中有意義的訊號,且這些訊號為連續、穩定地存在於一個週期中的資料,而非其他聲音或雜訊。一些實例中,計算設備判斷在一個週期中聲道標記後的聲道資料是否持續一段時間,藉以判斷此麥克風錄製到的測試語音為待測物所播放的樣本語音或測試環境中的雜音。The operation of confirming that the test voice recorded by the left microphone is valid data in block 935 can be understood as determining that these signals captured by the left microphone (that is, the content of the test voice) are all meaningful signals corresponding to the sample voice, and these signals Data that exists continuously and stably in a cycle, not other sounds or noise. In some examples, the computing device determines whether the channel data after the channel marking lasts for a period of time in one cycle, so as to determine that the test voice recorded by the microphone is the sample voice played by the object under test or the noise in the test environment.

當左麥克風所擷取之左測試語音不是有效資料時,執行方塊985。When the left test speech captured by the left microphone is not valid data, block 985 is executed.

方塊985中,透過麥克風裝置繼續錄製由待測物播放之樣本語音,並產生測試語音。此外,當樣本語音播放的時間超出預設值時,可透過計算設備產生超時(timeout)訊息,並顯示在計算設備的顯示模組上,以通知操作人員重新執行語音功能測試或設定語音功能測試為不通過。In block 985, continue to record the sample voice played by the DUT through the microphone device, and generate a test voice. In addition, when the sample voice playback time exceeds the preset value, a timeout message can be generated through the computing device and displayed on the display module of the computing device to notify the operator to re-execute the voice function test or set the voice function The test is failed.

當左麥克風所擷取之左測試語音為有效資料時,接續執行方塊940。When the left test voice captured by the left microphone is valid data, block 940 is executed next.

方塊940中,透過計算設備計算左麥克風所擷取之左聲道資料在一個週期(如第10A、10B圖之時間t1與t2)中聲道資料之訊號強度總和。此聲道資料之訊號強度總和表示左聲道資料具有意義資料之音量大小。在一個週期中,計算設備判斷左麥克風所擷取之左聲道資料之訊號強度總和是否高於右麥克風所擷取之左聲道資料之訊號強度總和,用以確定左麥克風收到左側語音裝置之音量大小是否確實大於右麥克風所收到之音量大小,藉以確定左側語音裝置與右側語音裝置是否為相反設置。In block 940, the computing device calculates the sum of the signal strengths of the left channel data captured by the left microphone in one cycle (eg, times t1 and t2 in Figures 10A and 10B). The sum of the signal strength of the channel data indicates the volume level of the meaningful data of the left channel data. In one cycle, the computing device determines whether the sum of the signal strengths of the left channel data captured by the left microphone is higher than the sum of the signal strengths of the left channel data captured by the right microphone, so as to determine whether the left microphone receives the left voice device Whether the volume of the voice device on the left is actually greater than the volume received by the right microphone, so as to determine whether the voice device on the left and the voice device on the right are set in opposite directions.

當左麥克風所擷取之左聲道資料之訊號強度總和未高於右麥克風所擷取之左聲道資料之訊號強度總和時,表示實際上右麥克風錄製到左側語音裝置所播放之樣本語音。也就是說,待測物之左側語音裝置及右側語音裝置裝設相反。接續執行方塊945。When the sum of the signal strengths of the left channel data captured by the left microphone is not higher than the sum of the signal strengths of the left channel data captured by the right microphone, it means that the right microphone actually records the sample voice played by the left voice device. That is to say, the left voice device and the right voice device of the object to be tested are installed in opposite directions. Block 945 is then executed.

方塊945中,透過計算設備產生語音功能錯誤訊息,表示此待測物具有異常的語音輸出功能。In block 945, a voice function error message is generated by the computing device, indicating that the DUT has an abnormal voice output function.

當左麥克風所擷取之左聲道資料之訊號強度總和高於右麥克風所擷取之左聲道資料之訊號強度總和,表示實際上左麥克風確實錄製到左側語音裝置所播放之樣本語音。也就是說,待測物之左側語音裝置及右側語音裝置裝設正確。When the sum of the signal strengths of the left channel data captured by the left microphone is higher than the sum of the signal strengths of the left channel data captured by the right microphone, it means that the left microphone actually records the sample voice played by the left voice device. That is to say, the left voice device and the right voice device of the object to be tested are installed correctly.

此外,當左麥克風所擷取之左聲道資料之訊號強度總和高於右麥克風所擷取之左聲道資料之訊號強度總和時,可在一計數器中增加一合格次數,並接續執行方塊950。In addition, when the sum of the signal strengths of the left channel data captured by the left microphone is higher than the sum of the signal strengths of the left channel data captured by the right microphone, a qualified number of times may be added to a counter, and the block 950 is executed continuously. .

方塊950中,透過計算設備判斷合格次數是否超過預設次數。透過計算設備判斷左麥克風所擷取之左聲道資料之合格次數是否高於預設次數,用以確定待測物的左側語音裝置能穩定且正確地輸出語音訊號。In block 950, it is determined by the computing device whether the number of qualified times exceeds the preset number of times. Determine whether the qualified times of the left channel data captured by the left microphone are higher than the preset times through the computing device, so as to determine that the left voice device of the object under test can output the voice signal stably and correctly.

當左麥克風所擷取之左聲道資料之合格次數未高於預設之合格次數時,表示左麥克風在一段時間中無法持續地錄製到左側語音裝置所播放之樣本語音。也就是說,待測物之左側語音裝置之語音功能有異常,或者是左麥克風之錄製時間不足,重回方塊985。When the qualified times of the left channel data captured by the left microphone is not higher than the preset qualified times, it means that the left microphone cannot continuously record the sample voice played by the left voice device for a period of time. That is to say, if the voice function of the left voice device of the object to be tested is abnormal, or the recording time of the left microphone is insufficient, return to block 985 .

當左麥克風所擷取之左聲道資料之合格次數高於預設之合格次數時,表示左麥克風在一段時間中能夠持續地錄製到左側語音裝置所播放之樣本語音。接續執行方塊955。When the qualified times of the left channel data captured by the left microphone is higher than the preset qualified times, it means that the left microphone can continuously record the sample voice played by the left voice device for a period of time. Block 955 is then executed.

方塊955中,透過計算設備產生左側語音裝置通過訊息,表示此待測物之左側語音裝置通過語音功能測試。In block 955, a left voice device passing message is generated by the computing device, indicating that the left voice device of the DUT has passed the voice function test.

如第9C圖所示,對於右麥克風錄製之測試語音分析,首先方塊960中,計算設備判斷右麥克風所擷取之右測試語音是否為有效資料。As shown in FIG. 9C , for the analysis of the test voice recorded by the right microphone, first in block 960 , the computing device determines whether the right test voice captured by the right microphone is valid data.

舉例而言,當由右麥克風錄製的右測試語音包含左聲道標記或右聲道標記,其中左聲道標記或右聲道標記之後分別出現的左聲道資料或右聲道資料持續的時間大於上述預設值(如第9B圖之方塊935之舉例說明)時,判斷此右聲道資料為有效資料。For example, when the right test speech recorded by the right microphone contains a left channel marker or a right channel marker, the duration of the left channel data or right channel data appearing after the left channel marker or right channel marker, respectively When it is greater than the above-mentioned default value (as illustrated by the block 935 in Fig. 9B), it is determined that the right channel data is valid data.

相似的,方塊960所執行確認為有效資料的操作可以理解為,確定右麥克風所擷取的這些訊號都是對應於樣本語音中有意義的訊號,且這些訊號為連續、穩定地存在於此週期中的資料,而其他聲音或雜訊。一些實例中,計算設備判斷在一個週期中聲道標記後的聲道資料是否持續一段時間,藉以判斷此麥克風錄製到的測試語音為待測物所播放的樣本語音或測試環境中的雜音。Similarly, the operation of confirming valid data performed by block 960 can be understood as determining that the signals captured by the right microphone are all meaningful signals corresponding to the sample speech, and these signals are continuous and stable in this period. data, and other sounds or noise. In some examples, the computing device determines whether the channel data after the channel marking lasts for a period of time in one cycle, so as to determine that the test voice recorded by the microphone is the sample voice played by the object under test or the noise in the test environment.

當右麥克風所擷取之右測試語音不是有效資料時,表示右麥克風錄製之時間長度不足,執行方塊985。When the right test voice captured by the right microphone is not valid data, it means that the recording time of the right microphone is insufficient, and block 985 is executed.

方塊985中,麥克風繼續錄製由待測物播放之樣本語音,並產生測試語音。相似地,當樣本語音播放的時間超出上述的預設值時,可透過計算設備產生超時訊息,並顯示在計算設備的顯示模組上,以通知操作人員重新執行語音功能測試或設定語音功能測試為不通過。In block 985, the microphone continues to record the sample speech played by the DUT, and generates a test speech. Similarly, when the time of sample voice playback exceeds the above-mentioned preset value, a timeout message can be generated through the computing device and displayed on the display module of the computing device to notify the operator to re-execute the voice function test or set the voice function. The test is failed.

當右麥克風所擷取之右測試語音為有效資料時,接續執行方塊965。When the right test voice captured by the right microphone is valid data, block 965 is executed next.

方塊965中,透過計算設備計算右麥克風所擷取之右聲道資料在一個週期(如第10A、10B圖之時間t1與t2)中聲道資料之訊號強度總和。此聲道資料之訊號強度總和表示右聲道資料具有意義資料之音量大小。在一個週期中,計算設備判斷右麥克風所擷取之右聲道資料之訊號強度總和是否高於左麥克風所擷取之右聲道資料之訊號強度總和,用以確定右麥克風收到右側語音裝置之音量大小是否確實大於左麥克風所收到之音量大小,藉以確定右側語音裝置與左側語音裝置是否為相反設置。In block 965, the computing device calculates the sum of the signal strengths of the right channel data captured by the right microphone in a period (eg, times t1 and t2 in Figures 10A and 10B). The sum of the signal strength of the channel data indicates the volume level of the meaningful data of the right channel data. In one cycle, the computing device determines whether the sum of the signal strengths of the right channel data captured by the right microphone is higher than the sum of the signal strengths of the right channel data captured by the left microphone, so as to determine whether the right microphone receives the right voice device Whether the volume of the voice device on the right is actually greater than the volume received by the left microphone, so as to determine whether the voice device on the right and the voice device on the left are set in opposite directions.

當右麥克風所擷取之右聲道資料之訊號強度總和未高於左麥克風所擷取之右聲道資料之訊號強度總和時,表示實際上左麥克風錄製到右側語音裝置所播放之樣本語音。也就是說,待測物之右側語音裝置及左側語音裝置裝設相反。接續執行方塊970。When the sum of the signal strengths of the right channel data captured by the right microphone is not higher than the sum of the signal strengths of the right channel data captured by the left microphone, it means that the left microphone actually records the sample voice played by the right voice device. That is to say, the right voice device and the left voice device of the object to be tested are installed in opposite directions. Block 970 is then executed.

方塊970中,透過計算設備產生語音功能錯誤訊息,表示此待測物具有異常的語音輸出功能。In block 970, a voice function error message is generated by the computing device, indicating that the DUT has an abnormal voice output function.

當右麥克風所擷取之右聲道資料之訊號強度總和高於左麥克風所擷取之右聲道資料之訊號強度總和,表示實際上右麥克風確實錄製到右側語音裝置所播放之樣本語音。也就是說,待測物之右側語音裝置及左側語音裝置裝設正確。When the sum of the signal strengths of the right channel data captured by the right microphone is higher than the sum of the signal strengths of the right channel data captured by the left microphone, it means that the right microphone actually records the sample voice played by the right voice device. That is to say, the right voice device and the left voice device of the object to be tested are installed correctly.

此外,當右麥克風所擷取之右聲道資料之訊號強度總和高於左麥克風所擷取之左聲道資料之訊號強度總和時,可在計數器中增加一合格次數,並接續執行方塊975。In addition, when the sum of the signal strengths of the right channel data captured by the right microphone is higher than the sum of the signal strengths of the left channel data captured by the left microphone, a qualified number of times may be added to the counter, and block 975 is executed.

方塊975中,透過計算設備判斷合格次數是否超過預設次數。透過計算設備判斷右麥克風所擷取之右聲道資料之合格次數是否高於預設次數,用以確定待測物的右側語音裝置能穩定且正確地輸出語音訊號。In block 975, it is determined by the computing device whether the number of qualified times exceeds the preset number of times. Determine whether the qualified times of the right channel data captured by the right microphone are higher than the preset times through the computing device, so as to determine that the right voice device of the object under test can output the voice signal stably and correctly.

當右麥克風所擷取之右聲道資料之合格次數未高於預設之合格次數時,表示右麥克風在一段時間中無法持續地錄製到右側語音裝置所播放之樣本語音。也就是說,待測物之右側語音裝置之語音功能有異常,或者是右麥克風之錄製時間不足,重回方塊985。When the qualified times of the right channel data captured by the right microphone is not higher than the preset qualified times, it means that the right microphone cannot continuously record the sample voice played by the right voice device for a period of time. That is to say, if the voice function of the right voice device of the object to be tested is abnormal, or the recording time of the right microphone is insufficient, return to block 985 .

當右麥克風所擷取之右聲道資料之合格次數高於預設之合格次數時,表示右麥克風在一段時間中能夠持續地錄製到右側語音裝置所播放之樣本語音。接續執行方塊980。When the qualified times of the right channel data captured by the right microphone is higher than the preset qualified times, it means that the right microphone can continuously record the sample voice played by the right voice device for a period of time. Block 980 is then executed.

方塊980中,透過計算設備產生右側語音裝置通過訊息,表示此待測物之右側語音裝置通過語音功能測試。In block 980, a right voice device passing message is generated by the computing device, indicating that the right voice device of the DUT has passed the voice function test.

方塊955、980中,計算設備分別產生左側、右側裝置語音通過訊息,表示此待測物之左側語音裝置以及右測語音裝置分別不具異常的語音功能。In blocks 955 and 980, the computing device generates voice pass messages for the left and right devices, respectively, indicating that the left voice device and the right voice device of the object to be tested do not have abnormal voice functions, respectively.

綜合上述關於語音功能之測試,藉由第9A、9B、9C圖所示之方法,能對待測物之語音輸出功能進行測試,包含分別對左側語音裝置及右測語音裝置之聲音輸出功能測試及對左側、右側語音裝置之相對裝設位置測試。藉此,利用設計過的樣本語音,能同時分析左、右側之語音裝置,因此提升測試作業之效率。Based on the above tests on the voice function, the method shown in Figures 9A, 9B, and 9C can test the voice output function of the object under test, including the voice output function test of the left voice device and the right voice device respectively. Test the relative installation position of the left and right voice devices. In this way, by using the designed sample voice, the left and right voice devices can be analyzed at the same time, thus improving the efficiency of the test operation.

一些實施例中,左聲道標記之頻率高於左聲道資料,如第10A、10B圖所示之頻率fL,作為左麥克風分析時之觸發訊號。右聲道標記之頻率高於右聲道資料,如第10A、10B圖所示之頻率fR,作為右麥克風分析時之觸發訊號。另外,右聲道標記之頻率(fR)相異於左聲道標記之頻率(fL),藉以在分析時,能有效區隔左麥克風及右麥克風所擷取之訊號。In some embodiments, the frequency of the left channel marker is higher than that of the left channel data, such as the frequency fL shown in Figs. 10A and 10B, as a trigger signal for the analysis of the left microphone. The frequency of the right channel marker is higher than the right channel data, such as the frequency fR shown in Figures 10A and 10B, which is used as the trigger signal for the analysis of the right microphone. In addition, the frequency (fR) of the right channel marker is different from the frequency (fL) of the left channel marker, so that the signals captured by the left microphone and the right microphone can be effectively separated during analysis.

一些實施例中,右聲道標記及左聲道標記之頻率(fL、fR)介於20,000Hz與15,000 Hz之間。考量到一般揚聲器、麥克風在20,000 Hz內頻率響應較平坦,超過20,000Hz後頻率響應降低。此外人耳對於高頻聲音相對不靈敏。因此我們採用高於15,000 Hz 且低於20,000 Hz此段人耳較不敏感而一般揚聲器、麥克風頻響仍正常之頻段作為訊號頻段。In some embodiments, the frequencies (fL, fR) of the right and left channel markers are between 20,000 Hz and 15,000 Hz. Considering that the frequency response of general speakers and microphones is relatively flat within 20,000 Hz, and the frequency response decreases after 20,000 Hz. In addition, the human ear is relatively insensitive to high-frequency sounds. Therefore, we use the frequency range above 15,000 Hz and below 20,000 Hz, which the human ear is less sensitive to and the frequency response of general speakers and microphones is still normal as the signal frequency band.

綜上所述,藉由自動化測試系統對待測物進行多種功能測試,能增加整體測試作業之效能。自動化測至裝置具有多種相容之傳輸協定,以符合各種相異廠牌或型號之待測物,藉以提升測試過程之效率。自動化測試方法包含待測物之影像顯示功能及語音功能之測試,其中運用於自動化測試系統中,藉以縮短測試作業之時間,並同時具有良好準確度。To sum up, performing various functional tests on the object under test by the automated test system can increase the efficiency of the overall test operation. The automated test-to-device has a variety of compatible transmission protocols to match different brands or models of DUTs, thereby improving the efficiency of the test process. The automated test method includes the test of the image display function and the voice function of the object under test, which is used in the automated test system to shorten the time of the test operation and have good accuracy at the same time.

雖然本揭示文件已以實施例揭露如上,然其並非用以限定本揭示文件,任何熟習此技藝者,在不脫離本揭示文件之精神和範圍內,當可作各種之更動與潤飾,因此本揭示文件之保護範圍當視後附之申請專利範圍所界定者為準。Although the present disclosure has been disclosed above with examples, it is not intended to limit the present disclosure. Anyone skilled in the art can make various changes and modifications without departing from the spirit and scope of the present disclosure. The scope of protection of the disclosure document shall be determined by the scope of the patent application attached hereto.

100:自動化測試系統 110:自動化測試裝置 120:傳送結構 DUT:待測物 ST1:功能測試處 ST2:功能測試處 ST3:功能測試處 STn:功能測試處 300:自動化測試裝置 CAM:照相機 RMIC:右麥克風 LMIC:左麥克風 410,420,430,440:方塊 450,460,470:方塊 501:定位影像 502:色塊定位影像 A,b,c:定位圖案 a’:定位圖案 a1:圓形圖案 d1,d2,d3,d4:色塊 e:彩色區塊 910,915,920,925:方塊 930,935,940,945:方塊 950,955,960,965:方塊 970,975,980:方塊 fR,fL,fdata:頻率 t1,t2,t3:時間 AUD:影音設備 PC:計算設備 200:自動化測試裝置 210:連接埠 211:USB連接埠 212:HDMI連接埠 213:USB連接埠 220:傳輸整合介面 221:訊號轉換器 222:開關 223:開關 224A:開關 224B:開關 230:處理器 610,615,620:方塊 625,630,635,640:方塊 645,650,655,660:方塊 710,715,720,725:方塊 730,735,740,745:方塊 750,755,760,765:方塊 CE0:中心點 ED0:初步邊界 SCANX0,SCANX:掃描線資料 SCANY0,SCANY,SCANY1:掃描線資料 ER:黑點 EDX,EDY:邊界輪廓100: Automated Test Systems 110: Automated test equipment 120: Teleportation Structure DUT: object to be tested ST1: Functional test place ST2: Functional Test Office ST3: Functional Test Office STn: functional test place 300: Automated Test Equipment CAM: camera RMIC: Right Microphone LMIC: Left microphone 410, 420, 430, 440: Blocks 450, 460, 470: Blocks 501: Positioning Image 502: Color block positioning image A,b,c: positioning pattern a': positioning pattern a1: circular pattern d1,d2,d3,d4: color blocks e: color block 910, 915, 920, 925: Blocks 930,935,940,945: Blocks 950,955,960,965: Blocks 970,975,980: Blocks fR,fL,fdata: frequency t1,t2,t3: time AUD: Audio and video equipment PC: computing device 200: Automated Test Equipment 210: port 211:USB port 212: HDMI port 213:USB port 220: Transmission Integration Interface 221: Signal Converter 222: switch 223: switch 224A: switch 224B: switch 230: Processor 610, 615, 620: Blocks 625, 630, 635, 640: Blocks 645, 650, 655, 660: Blocks 710, 715, 720, 725: Blocks 730, 735, 740, 745: Blocks 750,755,760,765: Blocks CE0: center point ED0: Preliminary boundary SCANX0, SCANX: Scan line data SCANY0, SCANY, SCANY1: Scan line data ER: black dot EDX,EDY: Boundary outline

為讓本揭示之上述和其他目的、特徵、優點與實施例能夠更明顯易懂,所附圖式之說明如下: 第1圖繪示根據本揭示文件之一實施例的自動化測試系統之方塊圖; 第2圖繪示根據第1圖之自動化測試裝置之一實施例之方塊圖; 第3圖繪示根據第1圖之自動化測試系統之部分之一實施例之方塊圖; 第4圖繪示根據本揭示文件之一實施例之自動化測試方法之流程圖; 第5A圖繪示根據本揭示文件之一實施例之定位影像之示意圖; 第5B圖繪示根據本揭示文件之一實施例之色塊定位影像之示意圖; 第6圖繪示根據第4圖之一實施例之自動化測試方法之流程圖; 第7圖繪示根據第6圖之一實施例之錯誤影像測試之流程圖; 第8A圖繪示根據第7圖之一實施例之測試照片之一實施例之示意圖 第8B圖繪示根據第7圖之一實施例之測試照片之一實施例之示意圖; 第8C圖繪示根據第8A圖之一實施例之測試照片之一實施例之示意圖; 第8D圖繪示根據第8B圖之一實施例之測試照片之一實施例之示意圖; 第9A、9B、9C圖繪示根據第4圖之一實施例之自動化測試方法之流程圖; 第10A圖繪示根據第9A、9B、9C圖之樣本語音之一實施例之示意圖;以及 第10B圖繪示根據第9A、9B、9C圖之樣本語音之一實施例之示意圖。In order to make the above and other objects, features, advantages and embodiments of the present disclosure more clearly understood, the accompanying drawings are described as follows: FIG. 1 shows a block diagram of an automated testing system according to an embodiment of the present disclosure; FIG. 2 shows a block diagram of an embodiment of the automated testing apparatus according to FIG. 1; Figure 3 shows a block diagram of one embodiment of a portion of the automated test system according to Figure 1; FIG. 4 illustrates a flowchart of an automated testing method according to an embodiment of the present disclosure; FIG. 5A shows a schematic diagram of a positioning image according to an embodiment of the present disclosure; 5B is a schematic diagram of a color patch positioning image according to an embodiment of the present disclosure; FIG. 6 shows a flowchart of an automated testing method according to an embodiment of FIG. 4; FIG. 7 shows a flow chart of false image testing according to an embodiment of FIG. 6; FIG. 8A shows a schematic diagram of an embodiment of a test photo according to an embodiment of FIG. 7 FIG. 8B shows a schematic diagram of an embodiment of a test photo according to an embodiment of FIG. 7; Figure 8C shows a schematic diagram of an embodiment of a test photo according to an embodiment of Figure 8A; Figure 8D shows a schematic diagram of an embodiment of a test photo according to an embodiment of Figure 8B; Figures 9A, 9B, and 9C illustrate a flowchart of an automated testing method according to an embodiment of Figure 4; Figure 10A shows a schematic diagram of one embodiment of the sample speech according to Figures 9A, 9B, 9C; and Figure 10B shows a schematic diagram of one embodiment of the sample speech according to Figures 9A, 9B, and 9C.

610,615,620,625,630,635,640,645:方塊 610, 615, 620, 625, 630, 635, 640, 645: Blocks

650,655,660:方塊 650,655,660: Blocks

Claims (8)

一種自動化測試方法,用以測試一待測物之功能,包含:透過一第一處理器產生一樣本語音,其中該樣本語音包含複數語音資料,且該等語音資料之每一者具有相同週期,該第一處理器透過一第一連接埠耦接該待測物以透過該連接埠傳送該樣本語音給該待測物;透過一收音裝置擷取該待測物播放之該樣本語音;透過一第二處理器分析該收音裝置所擷取之該樣本語音,產生一語音結果,該第二處理器透過一第二連接埠耦接該收音裝置以透過該第二連接埠接收該收音裝置所擷取之該樣本語音;以及根據該語音結果,透過該第二處理器產生語音錯誤訊息或語音通過訊息,用以表示該待測物之語音功能是否異常。 An automated testing method for testing the function of a test object, comprising: generating a sample voice through a first processor, wherein the sample voice includes plural voice data, and each of the voice data has the same period, The first processor is coupled to the object under test through a first port to transmit the sample voice to the object under test through the port; captures the sample voice played by the object under test through a radio device; The second processor analyzes the sample voice captured by the radio device to generate a voice result, the second processor is coupled to the radio device through a second port to receive the audio captured by the radio device through the second port The sample voice is obtained; and according to the voice result, a voice error message or a voice pass message is generated by the second processor to indicate whether the voice function of the object to be tested is abnormal. 如請求項1所述的自動化測試方法,其中該等語音資料之每一者依序包含一左聲道標記、一左聲道資料、一右聲道標記及一右聲道資料。 The automated testing method of claim 1, wherein each of the voice data sequentially includes a left channel marker, a left channel data, a right channel marker, and a right channel data. 如請求項2所述的自動化測試方法,其中分析該收音裝置所擷取之該樣本語音之步驟包含:判斷該收音裝置所擷取之該樣本語音是否為有效資料;以及 當該收音裝置所擷取之該樣本語音不是有效資料時,透過該收音裝置繼續擷取該待測物所播放之該樣本語音。 The automated testing method according to claim 2, wherein the step of analyzing the sample voice captured by the radio device comprises: judging whether the sample voice captured by the radio device is valid data; and When the sample voice captured by the sound-receiving device is not valid data, the sample voice played by the object to be tested is continuously captured through the sound-receiving device. 如請求項2所述的自動化測試方法,其中分析該收音裝置所擷取之該樣本語音之步驟更包含:判斷該收音裝置之左側裝置所擷取之該左聲道資料之訊號強度是否大於該收音裝置之右側裝置所擷取之該左聲道資料之訊號強度;當該收音裝置之左側裝置所擷取之該左聲道資料之訊號強度小於或等於該收音裝置之右側裝置所擷取之該左聲道資料之訊號強度時,產生具有錯誤之該語音結果;判斷該收音裝置之右側裝置所擷取之該右聲道資料之訊號強度是否大於該收音裝置之左側裝置所擷取之該右聲道資料之訊號強度;以及當該收音裝置之右側裝置所擷取之該右聲道資料之訊號強度小於或等於該收音裝置之左側裝置所擷取之該右聲道資料之訊號強度時,產生具有錯誤之該語音結果。 The automated testing method according to claim 2, wherein the step of analyzing the sample speech captured by the radio device further comprises: judging whether the signal strength of the left channel data captured by the left device of the radio device is greater than the signal strength of the The signal strength of the left channel data captured by the right device of the radio device; when the signal strength of the left channel data captured by the left device of the radio device is less than or equal to the signal intensity captured by the right device of the radio device When the signal strength of the left channel data is used, the voice result with an error is generated; it is determined whether the signal strength of the right channel data captured by the right device of the radio device is greater than the signal intensity captured by the left device of the radio device. The signal strength of the right channel data; and when the signal strength of the right channel data captured by the right device of the radio device is less than or equal to the signal strength of the right channel data captured by the left device of the radio device , producing the speech result with an error. 如請求項4所述的自動化測試方法,其中分析該收音裝置所擷取之該樣本語音之步驟更包含:當該收音裝置之左側裝置所擷取之該左聲道資料之訊號強度大於該收音裝置之右側裝置所擷取之該左聲道資料之訊號強度時,計算一左側合格次數;判斷該左側合格次數是否超過一左側預設次數; 當該左側合格次數未超過該左側預設次數時,透過該收音裝置繼續擷取該待測物所播放之該樣本語音;當該收音裝置之右側裝置所擷取之該右聲道資料之訊號強度大於該收音裝置之左側裝置所擷取之該右聲道資料之訊號強度時,計算一右側合格次數;以及當該右側合格次數未超過一右側預設次數時,透過該收音裝置繼續擷取該待測物所播放之該樣本語音。 The automated testing method as claimed in claim 4, wherein the step of analyzing the sample speech captured by the audio pickup device further comprises: when the signal strength of the left channel data captured by the left device of the audio pickup device is greater than that of the audio pickup When the signal strength of the left channel data captured by the right device of the device is obtained, calculate a left pass count; determine whether the left pass count exceeds a left preset count; When the left-side qualified number does not exceed the left-side preset number of times, continue to capture the sample voice played by the DUT through the radio device; when the right-hand device of the radio device captures the signal of the right channel data When the strength is greater than the signal strength of the right channel data captured by the left device of the radio device, calculate a right pass count; and when the right pass count does not exceed a right preset count, continue to capture through the radio device The sample voice played by the DUT. 如請求項5所述的自動化測試方法,其中分析該收音裝置所擷取之該樣本語音之步驟更包含:當該左側合格次數超過該左側預設次數時,產生具有通過之該語音結果;以及當該右側合格次數超過該右側預設次數時,產生具有通過之該語音結果。 The automated testing method as claimed in claim 5, wherein the step of analyzing the sample voice captured by the audio pickup device further comprises: when the number of passes on the left side exceeds the preset number of times on the left side, generating the voice result having a pass; and When the right pass number exceeds the right preset number, the voice result with pass is generated. 如請求項2所述的自動化測試方法,其中在相同週期中,該左聲道資料之訊號長度大於該左聲道標記之訊號長度,且該右聲道資料之訊號長度大於該右聲道標記之訊號長度。 The automated testing method of claim 2, wherein in the same period, the signal length of the left channel data is greater than the signal length of the left channel mark, and the signal length of the right channel data is greater than the right channel mark signal length. 如請求項2所述的自動化測試方法,其中該左聲道標記之頻率相異於該該右聲道標記之頻率。 The automated testing method of claim 2, wherein the frequency of the left channel marker is different from the frequency of the right channel marker.
TW110116927A 2019-12-04 2019-12-04 Automatic test method TWI777552B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110116927A TWI777552B (en) 2019-12-04 2019-12-04 Automatic test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110116927A TWI777552B (en) 2019-12-04 2019-12-04 Automatic test method

Publications (2)

Publication Number Publication Date
TW202139007A TW202139007A (en) 2021-10-16
TWI777552B true TWI777552B (en) 2022-09-11

Family

ID=79600932

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110116927A TWI777552B (en) 2019-12-04 2019-12-04 Automatic test method

Country Status (1)

Country Link
TW (1) TWI777552B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103578463A (en) * 2012-07-27 2014-02-12 腾讯科技(深圳)有限公司 Automatic testing method and automatic testing device
TW201409227A (en) * 2012-08-29 2014-03-01 Hon Hai Prec Ind Co Ltd Testing device and testing method of the Disc-Player timbre
CN106324475A (en) * 2015-06-30 2017-01-11 中兴通讯股份有限公司 Automatic test method and device for board card
CN109145813A (en) * 2018-08-20 2019-01-04 北京京东金融科技控股有限公司 A kind of image matching algorithm test method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103578463A (en) * 2012-07-27 2014-02-12 腾讯科技(深圳)有限公司 Automatic testing method and automatic testing device
TW201409227A (en) * 2012-08-29 2014-03-01 Hon Hai Prec Ind Co Ltd Testing device and testing method of the Disc-Player timbre
CN106324475A (en) * 2015-06-30 2017-01-11 中兴通讯股份有限公司 Automatic test method and device for board card
CN109145813A (en) * 2018-08-20 2019-01-04 北京京东金融科技控股有限公司 A kind of image matching algorithm test method and device

Also Published As

Publication number Publication date
TW202139007A (en) 2021-10-16

Similar Documents

Publication Publication Date Title
TWI710778B (en) Automatic test system and device thereof
US20180091898A1 (en) Electronic device, peripheral devices and control method therefor
US9659548B2 (en) Automatic installation method for video wall and related system
CN106488226B (en) Automated detection method and device on a kind of production line
CN109686385B (en) Video and audio device test system
CN112218070A (en) Stray light detection method and device, storage medium and electronic equipment
CN103973979A (en) Method and device for configuring shooting parameters
US20170163979A1 (en) Testing device of display devices and testing method thereof
US20160021475A1 (en) Systems and methods for identifying noises with wireless transducer
US9215454B2 (en) Testing system and method for audio/video processing function of audio/video playback apparatus
TWI748297B (en) Automatic test method
EP2261792A1 (en) Screen data transmission system and acquired user setting information
TWI777552B (en) Automatic test method
TWI405079B (en) Output test method, system and platform for electrical device
KR102550834B1 (en) System for Inspecting Black Box
US20150098577A1 (en) Systems and methods for identifying noises
CN111163310B (en) Television audio test method, device, equipment and computer readable storage medium
CN114339413A (en) Method and system for monitoring screen playing content
US20150116486A1 (en) Terminal device, image measuring system and method of inspection of workpiece
CN114422773A (en) Customized image debugging system and method
US20240267508A1 (en) System and method to test television device
CN111610400B (en) Detection system and detection method
US20140049649A1 (en) Portable device and signal converting method thereof
US11782093B2 (en) Detection system and detection method
TW201424343A (en) Method and apparatus for testing video signals

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent