TWI777552B - Automatic test method - Google Patents
Automatic test method Download PDFInfo
- 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
Links
Images
Landscapes
- Automatic Analysis And Handling Materials Therefor (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
Abstract
Description
本揭示文件是有關於一種測試方法,特別是關於一種自動化測試待測物功能之方法。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
一些實施例中,傳送結構120上可設置治具(圖中未示),用以固定設置待測物DUT。In some embodiments, a jig (not shown in the figure) may be provided on the
如第1圖所示,傳送結構120用以承載多個自動化測試裝置110及對應之待測物DUT。在本實施例中,傳送結構120為輸送帶,藉由驅動裝置(圖中未示)帶動其中所設置之物品至目標處。在本實施例中,傳送結構120可承載自動化測試裝置110及對應之待測物DUT,並運送至各個功能測試處ST1、ST2、ST3…、ST n。As shown in FIG. 1 , the
依據待測物DUT之種類、型號等,自動化測試系統100設有多個功能測試處STn,以對應測試待測物DUT之各種功能。本揭示文件之多個實施例中,待測物DUT是以電視機為實例說明,此待測物DUT可為一特定的品牌電視機之一特定型號產品。測試之項目包含此特定型號所屬的影像顯示功能、聲音輸出功能(語音功能)及無線傳輸功能等。一些實施例中,待測物DUT為電腦或手機,且測試之項目更包含通話功能及基本運算功能等,不以本揭示文件所提及之實施例為限。According to the type and model of the DUT under test, the
在一些功能測試處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
一些測試待測物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
在一實施例中,自動化測試裝置110包含了一儲存模組(圖中未示),可儲存對應於多種品牌的多種機型的樣本資料。當自動化測試裝置110耦接待測物DUT時,待測物可自動偵測待測物DUT的品牌與型號。In one embodiment, the
在另一實施例中,外部電子裝置(如本實施例中的計算設備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
當測試結果出現異常時,自動化測試裝置110會發出警示聲響,用以提醒工作人員此待測物DUT出現異常功能。當測試結果未出現異常時,傳送結構120接續將待測物DUT運送至下一個功能測試處(例如由功能測試處ST2運送至功能測試處ST3),以接續進行其他測試項目。When the test result is abnormal, the
一些實施例中,自動化測試裝置110具有儲存、溝通及運算功能,用以儲存樣本資料、將樣本資料傳輸至待測物DUT以及分析測試過程取得的訊號(或稱為資料,如上述之擷取的影像資料或聲音資料等)並產生測試結果。In some embodiments, the
在一些功能測試處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
一些測試待測物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
在另一實施例中,自動化測試裝置110除了提供樣本資料至待測物DUT外,還可由影音設備AUD取得影音訊號。自動化測試裝置110能比對預存的樣本資料以及取得的影音訊號,並產生測試結果。In another embodiment, in addition to providing sample data to the DUT, the
依據待測物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
連接埠210用以耦接待測物DUT,作為自動化測試裝置200對外之實體連接裝置。一些實施例中,連接埠210包含多個連接介面,分別具有對應的傳輸協定,用以將訊號(或稱為資料)在傳輸整合介面220與待測物DUT之間傳送。The
如第2圖所示,連接埠210包含二個具有互不相容的傳輸協定之連接介面,分別是具有通用序列匯流排(universal serial bus;USB)標準規範之USB連接埠211,以及具有高畫質多媒體介面(high definition multimedia interface;HDMI)規範之HDMI連接埠212。As shown in FIG. 2 , the
一些實例中,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
一些實施例中,自動化測試裝置200透過USB連接埠211或HDMI連接埠212傳輸上述測試指令,藉以設定待測物DUT的狀態,使待測物DUT進入待測模式或工廠模式,以進行上述的測試流程。In some embodiments, the
此外,連接埠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
連接埠210之連接介面可具多種相異傳輸介面,藉以提供多種待測物DUT或多種測試項目使用。連接介面之數量不以本揭示文件之實施例為限制。The connection interface of the
傳輸整合介面220耦接於連接埠210及處理器230之間,作為自動化測試裝置200中訊號之溝通橋梁。如前述,由於連接埠210包含多個具有互不相容的傳輸協定之連接介面,傳輸整合介面220能藉由轉換訊號以相容多種傳輸規範。如此一來,自動測試裝置200能對多種不同廠牌或型號的待測物DUT進行測試,不需要額外針對特定的待測物DUT設置對應的轉接器。藉此,自動測試裝置200不但具有良好使用彈性,且能提升測試作業之效率。The
如第2圖所示,傳輸整合介面220包含訊號轉換器221以及開關222、223、224A及224B。利用多個開關222、223、224A及224B之開啟或關閉以及配合訊號轉換器221之操作,可使訊號在傳輸整合介面220中轉換其傳輸格式,以相容多種傳輸規範。以下詳述本發明之傳輸整合介面220如何相容多種傳輸規範。As shown in FIG. 2 , the
在本實施例中,處理器230僅支援UART通訊格式。也就是說,所有傳輸到處理器230的訊號須為UART通訊格式的訊號。然而,不同的待測物DUT可能會使用不同的通訊介面,用以透過不同的通訊協定與外部進行通訊溝通。In this embodiment, the
一些實施例中,某些待測物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
一些實施例中,待測物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
此外,開關223用以耦接另一USB連接埠213。透過USB連接埠213可接收如USB隨身碟(USB pen drive)傳輸的訊號。USB連接埠213上的訊號是以USB通訊格式進行傳輸,訊號通過USB連接埠213、開關223、開關222、訊號轉換器221與開關224B形成的路徑,使處理器230與USB隨身碟進行通訊連接。In addition, the
值得注意的是,訊號轉換器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
一些實施例中,處理器230為單板電腦(single board computer),例如樹莓派(raspberry Pi),具有運算及儲存功能之處理器。一些實施例中,處理器230是指電腦,具有較樹莓派更高效能之運算及儲存功能。處理器230用以產生命令待測物DUT之測試指令,以及用以運算分析測試過程中產生的訊號(包含類比訊號,如前述所擷取的影音訊號;以及數位訊號,如將擷取的影音訊號轉換為數位格式),並產生分析結果。In some embodiments, the
一些實施例中,處理器230耦接另一個處理器(如第1圖及第3圖所示之計算設備PC),用以協助分析測試。一些實例中,類似於第1圖所示,處理器230耦接功能測試處ST3之計算設備PC(如,電腦)。處理器230用以產生命令待測物DUT之測試指令,計算設備PC則用以運算分析測試過程中產生的類比或數位訊號,並產生分析結果。In some embodiments, the
處理器230能依據自動測試裝置200之成本及測試項目等考量因素,設置成具有不同運算效能之裝置,如上述之多個實施例,不以此為限。The
接續上述之說明,測試指令是由處理器230命令待測物DUT之資料。測試指令包含命令待測物DUT開始測試作業之觸發訊號、進入待測模式或工廠模式的觸發訊號。Continuing the above description, the test command is the data of the DUT commanded by the
另外,測試訊號是在待測物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
綜上所述,藉由傳輸整合介面220以及連接埠210(包含USB連接埠211以及HDMI連接埠212)傳輸測試指令給不同品牌或不同型號的待測物DUT,藉以相容待測物DUT之多種訊號輸出格式。接著,透過連接埠210傳送樣本資料給待測物DUT,以進行測試。連接埠210或其他接收裝置(如照相機或麥克風等)能接收待測物DUT於測試過程所播放的聲音及/或影像等影音訊號,並藉由自動化測試裝置200或計算設備PC分析比對樣本資料與影音訊號,用以產生影像顯示及/或語音功能之測試結果。To sum up, through the
一些實施例中,待測物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
在自動化測試裝置200進行分析比對的實施例中,自動化測試裝置200可透過連接埠210傳輸測試結果,使待測物DUT顯示此測試結果。在計算設備PC進行分析比對的實施例中,可在計算設備PC上顯示測試結果。In the embodiment in which the
上述之自動化測試裝置200藉由傳輸整合介面220整合多種互不相容資料格式之訊號,以根據對應之傳輸協定傳送訊號。同時,藉由處理器230產生測試指令,以使待測物DUT進行測試作業。如此一來,自動化測試裝置200能測試各種廠牌或型號之待測物DUT,藉以同時提高測試作業之效能,且降低測試作業之成本。因此,自動化測試系統100能有效取代傳統人力作業,並可避免習知之缺失。The above-mentioned
根據第1圖之自動化測試系統100,其中功能測試處ST3之部分之一實施例繪示於第3圖。在此實施例中,說明測試待測物DUT之影像顯示以及語音功能是否正常。第3圖中所示的自動化測試裝置300相似於第2圖所示的自動化測試裝置200或第1圖所示的自動化測試裝置100,在此不贅述相同處。According to the
如第3圖所示,自動化測試裝置300耦接待測物DUT後,傳送測試指令至待測物DUT,用以觸發待測物DUT開始進行測試作業。影音設備AUD包含左麥克風LMIC、右麥克風RMIC以及照相機CAM,耦接於待測物DUT及計算設備PC。一些實施例中,左麥克風LMIC、右麥克風RMIC為指向性麥克風,藉以提升收音之準確性。As shown in FIG. 3 , after the
如前述,影音設備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
方塊420中,透過計算設備PC判斷樣本資料是否已建立,用以確認測試過程中需要待測物DUT輸出之資料(如,樣本影片或樣本語音)是否已經製作完成。樣本資料表示為預設的比對資料,即無異常的待測物DUT能夠輸出的訊號。一些實施例中,樣本資料為連續的彩色照片。一些實施例中,樣本資料為一段連續的音頻。一些實施例中,樣本資料為連續的影片與聲音之資料。舉例來說,樣本資料表示為正常的電視機能夠顯示的影像,或是能夠播放的聲音。In
若樣本資料尚未建立,執行方塊430。If the sample data has not been created, block 430 is performed.
方塊430中,透過計算設備PC製作樣本資料,接著重新執行方塊410。In
若樣本資料已建立,執行方塊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
方塊450接續重新執行方塊440,直到方塊440之判斷結果為影音設備AUD已安裝正確,執行方塊460。
若影音設備AUD已經安裝正確,執行方塊460。If the audio-visual equipment AUD has been installed correctly, block 460 is executed.
方塊460中,透過自動化測試裝置300及影音設備AUD執行待測物DUT的功能測試,包含待測物DUT的影像顯示以及語音功能之測試。In
接續執行方塊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
在一實例中,針對某種特定廠牌及型號的一個待測物,首先透過計算設備將此待測物之特徵影像傳送至待測物,並使此待測物播放這些特徵影像,同時透過照相機擷取不同時間點之影像而產生多張特徵照片。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
如第5A圖所示,定位影像501包含至少一個定位圖案a、b、c。定位圖案a、b、c中的至少二者對應於待測物之顯示畫面中的相異的位置,且具有不同的大小。As shown in FIG. 5A , the
接續上述之說明,特徵照片被傳送至計算裝置,且透過計算裝置根據這些特徵照片產生多張初步樣本影像。接著,透過計算裝置再將這些初步樣本影像串接而產生初步樣本影片。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
如第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
一些實施例中,初步樣本影片中的色塊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
接續上述之二個實例之操作,待測物播放初步樣本影片,並透過照相機擷取不同時間點之影像而產生初步樣本照片,用以作為比對標準的圖示。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中,根據多個初步樣本照片以及至少一個輔助樣本照片產生上機樣本影片。上述初步樣本照片為彩色影像,輔助樣本照片為灰階影像。
如上所述,初步樣本照片為如第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。
方塊625中,計算設備比對方塊620中的測試照片及方塊615中的初步樣本照片,判斷測試照片是否符合初步樣本照片。In
一些實施例中,比對測試照片及初步樣本照片之操作是將每一張測試照片依序與多張初步樣本照片比對,用以比對測試照片是否符合任一張初步樣本照片。一些實例中,前述比對可依據測試照片是否與初步樣本照片為模板匹配(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
當測試照 片不符合初步樣本照片時,執行方塊630。When the test photo does not match the preliminary sample photo, block 630 is performed.
方塊630中,計算設備對測試照片執行異物偵測,用以比對測試照片中是否出現異常的圖像或斑點。在下文及第7圖中,另外更詳細說明異物偵測之方法。In
接續執行方塊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
接續方塊625,當測試照片符合初步樣本照片時,執行方塊630。也就是說,測試照片與初步樣本照片其中至少一張相互匹配。Following
方塊635中,計算設備執行彩色影像測試以及輪廓影像測試,用以比對測試照片中是否出現顯示顏色的異常,以及比對測試照片中是否出現異常輪廓的圖案。In
接續執行方塊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,如上所述,透過計算設備產生顯示功能錯誤訊息。
一些實施例中,方塊635中,由於測試照片為如第5B圖所示之彩色照片。透過比對測試照片與初步樣本照片中之對應的彩色區塊e,能得知顏色是否有異常。In some embodiments, in
另外,輪廓影像測試過程中,透過比對測試照片與初步樣本照片中之對應的各個圖案,能得知圖案的輪廓是否有異常,如扭曲或斷裂等情形。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
如前述之實施例中,初步樣本照片包含如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
回到方塊630中的異物偵測操作,請一併參閱第7圖,為異物偵測方法之流程圖。Returning to the foreign object detection operation in
如第7圖所示,方塊710,開始執行異物偵測。As shown in FIG. 7, block 710, the foreign object detection is started.
方塊715中,計算設備根據測試照片取得測試照片的初步邊界輪廓及畫面中心點,分別如第8A、8B圖中所示之初步邊界ED0及中心點CE0。In
接續執行方塊720,計算設備根據畫面中心點,在測試照片中產生多個X軸方向之掃描線資料。其中掃描線資料是由照片中間處向初步邊界輪廓延伸之一維資料線。After executing
一些實施例中,如第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
一些實施例中,如第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
一些實施例中,測試照片之實際邊界輪廓之部分如第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
一些實施例中,當顯示畫面測試資訊之長寬比以及面積皆位在顯示畫面預設資訊之對應值之誤差內,計算設備判斷為兩者相符,即此待測物通過異物測試;反之則為不通過。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
當計算設備判斷顯示畫面測試資訊符合顯示畫面預設資訊時,也就是當異物偵測之測試結果為通過時,執行方塊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
綜合上述關於顯示功能之測試,藉由第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
一些實施例中,樣本語音包含聲道標記及聲道資料,且語音樣本為多段重複的語音資料,每一段語音資料具有相同的週期。聲道標記包含左聲道標記以及右聲道標記,用以分別作為待測物的左聲道測試及右聲道測試的觸發訊號。聲道資料包含左聲道資料以及右聲道資料,用以分別作為待測物的左聲道測試及右聲道測試的比對內容。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
如前述之實施例中,待測物之左側語音裝置輸出左聲道語音,且同時待測物之右側語音裝置輸出右聲道語音。因此,左麥克風以及右麥克風會同時錄製到待測物所輸出之左聲道語音以及右聲道語音,並分別產生左測試語音及右測試語音,合稱為測試語音。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
當麥克風裝置可以正常錄製聲音時,執行方塊930。When the microphone device can record sound normally, block 930 is executed.
方塊930中,計算設備取得左、右麥克風分別錄製的測試語音(即左測試語音及右測試語音),接續進行測試語音分析。測試語音中所對應的左聲道標記以及右聲道標記,出現在測試語音中的的某些時間處,分別作為左側及右側的語音測試的觸發標記。In
如前述之實施例中,待測物之左側語音裝置及右側語音裝置是分別且同時播放左聲道語音以及右聲道語音,因此左麥克風及右麥克風皆會錄製到由待測物左側及右側語音裝置所輸出之聲音,因此各自產生左測試語音以及右測試語音。計算設備針對左麥克風及右麥克風分別錄製的測試語音進行後續之分析,接續且同時執行方塊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.
如第9B圖所示,對於左麥克風錄製之測試語音分析,首先方塊935中,透過計算設備判斷左麥克風所擷取之左測試語音是否為有效資料。As shown in FIG. 9B , for the analysis of the test voice recorded by the left microphone, first in
舉例而言,當由左麥克風錄製的左測試語音包含左聲道標記或右聲道標記,其中在左聲道標記或右聲道標記之後分別出現的左聲道資料或右聲道資料持續的時間大於一預設值時,判斷此左聲道資料為有效資料。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
當左麥克風所擷取之左測試語音不是有效資料時,執行方塊985。When the left test speech captured by the left microphone is not valid data, block 985 is executed.
方塊985中,透過麥克風裝置繼續錄製由待測物播放之樣本語音,並產生測試語音。此外,當樣本語音播放的時間超出預設值時,可透過計算設備產生超時(timeout)訊息,並顯示在計算設備的顯示模組上,以通知操作人員重新執行語音功能測試或設定語音功能測試為不通過。In
當左麥克風所擷取之左測試語音為有效資料時,接續執行方塊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
當左麥克風所擷取之左聲道資料之訊號強度總和未高於右麥克風所擷取之左聲道資料之訊號強度總和時,表示實際上右麥克風錄製到左側語音裝置所播放之樣本語音。也就是說,待測物之左側語音裝置及右側語音裝置裝設相反。接續執行方塊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.
方塊945中,透過計算設備產生語音功能錯誤訊息,表示此待測物具有異常的語音輸出功能。In
當左麥克風所擷取之左聲道資料之訊號強度總和高於右麥克風所擷取之左聲道資料之訊號強度總和,表示實際上左麥克風確實錄製到左側語音裝置所播放之樣本語音。也就是說,待測物之左側語音裝置及右側語音裝置裝設正確。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
方塊950中,透過計算設備判斷合格次數是否超過預設次數。透過計算設備判斷左麥克風所擷取之左聲道資料之合格次數是否高於預設次數,用以確定待測物的左側語音裝置能穩定且正確地輸出語音訊號。In
當左麥克風所擷取之左聲道資料之合格次數未高於預設之合格次數時,表示左麥克風在一段時間中無法持續地錄製到左側語音裝置所播放之樣本語音。也就是說,待測物之左側語音裝置之語音功能有異常,或者是左麥克風之錄製時間不足,重回方塊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.
方塊955中,透過計算設備產生左側語音裝置通過訊息,表示此待測物之左側語音裝置通過語音功能測試。In
如第9C圖所示,對於右麥克風錄製之測試語音分析,首先方塊960中,計算設備判斷右麥克風所擷取之右測試語音是否為有效資料。As shown in FIG. 9C , for the analysis of the test voice recorded by the right microphone, first in
舉例而言,當由右麥克風錄製的右測試語音包含左聲道標記或右聲道標記,其中左聲道標記或右聲道標記之後分別出現的左聲道資料或右聲道資料持續的時間大於上述預設值(如第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
相似的,方塊960所執行確認為有效資料的操作可以理解為,確定右麥克風所擷取的這些訊號都是對應於樣本語音中有意義的訊號,且這些訊號為連續、穩定地存在於此週期中的資料,而其他聲音或雜訊。一些實例中,計算設備判斷在一個週期中聲道標記後的聲道資料是否持續一段時間,藉以判斷此麥克風錄製到的測試語音為待測物所播放的樣本語音或測試環境中的雜音。Similarly, the operation of confirming valid data performed by
當右麥克風所擷取之右測試語音不是有效資料時,表示右麥克風錄製之時間長度不足,執行方塊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
當右麥克風所擷取之右測試語音為有效資料時,接續執行方塊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
當右麥克風所擷取之右聲道資料之訊號強度總和未高於左麥克風所擷取之右聲道資料之訊號強度總和時,表示實際上左麥克風錄製到右側語音裝置所播放之樣本語音。也就是說,待測物之右側語音裝置及左側語音裝置裝設相反。接續執行方塊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.
方塊970中,透過計算設備產生語音功能錯誤訊息,表示此待測物具有異常的語音輸出功能。In
當右麥克風所擷取之右聲道資料之訊號強度總和高於左麥克風所擷取之右聲道資料之訊號強度總和,表示實際上右麥克風確實錄製到右側語音裝置所播放之樣本語音。也就是說,待測物之右側語音裝置及左側語音裝置裝設正確。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
當右麥克風所擷取之右聲道資料之合格次數未高於預設之合格次數時,表示右麥克風在一段時間中無法持續地錄製到右側語音裝置所播放之樣本語音。也就是說,待測物之右側語音裝置之語音功能有異常,或者是右麥克風之錄製時間不足,重回方塊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.
方塊980中,透過計算設備產生右側語音裝置通過訊息,表示此待測物之右側語音裝置通過語音功能測試。In
方塊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)
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)
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 |
-
2019
- 2019-12-04 TW TW110116927A patent/TWI777552B/en active
Patent Citations (4)
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 |