TW201512834A - System for testing external display interface of notebook computer and the method thereof are provided - Google Patents

System for testing external display interface of notebook computer and the method thereof are provided Download PDF

Info

Publication number
TW201512834A
TW201512834A TW103130042A TW103130042A TW201512834A TW 201512834 A TW201512834 A TW 201512834A TW 103130042 A TW103130042 A TW 103130042A TW 103130042 A TW103130042 A TW 103130042A TW 201512834 A TW201512834 A TW 201512834A
Authority
TW
Taiwan
Prior art keywords
external display
notebook computer
dimensional code
display interface
test
Prior art date
Application number
TW103130042A
Other languages
Chinese (zh)
Other versions
TWI639916B (en
Inventor
Tung-Po Chu
Yu Wang
Yung-Chieh Chiang
hua-wei Li
Original Assignee
Tech Front Shanghai Computer Co Ltd
Tech Com Shanghai Comp Co Ltd
Tech Giant Shanghai Comp Co Ltd
Tech Lead Shanghai Comp Co Ltd
Tech Trend Shanghai Computer Co Ltd
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 Tech Front Shanghai Computer Co Ltd, Tech Com Shanghai Comp Co Ltd, Tech Giant Shanghai Comp Co Ltd, Tech Lead Shanghai Comp Co Ltd, Tech Trend Shanghai Computer Co Ltd filed Critical Tech Front Shanghai Computer Co Ltd
Publication of TW201512834A publication Critical patent/TW201512834A/en
Application granted granted Critical
Publication of TWI639916B publication Critical patent/TWI639916B/en

Links

Abstract

A system for testing an external display interface of a notebook computer and the method thereof are provided. The system includes an external display for displaying a plurality of 2D (two-dimensional) code pictures; a camera device for taking the picture displayed on the external display; and a notebook computer for controlling the external display to display the plurality 2D code pictures. The notebook computer further analyzes the pictures taken by the camera device to determine the quality of the external display interface of the notebook computer. The invention does not need any person to check the display effect of the external display such that subjective determination for display effect is avoided. Also, the external camera is used to analyze the display effect of the external display for enhancing test coverage and increasing test efficiency.

Description

測試筆記型電腦外接顯示介面的系統及方法System and method for testing notebook external display interface

本發明是有關於一種數位設備的測試系統及方法,更詳而言之,係關於一種測試筆記型電腦外接顯示介面的系統及方法。The present invention relates to a test system and method for a digital device, and more particularly to a system and method for testing an external display interface of a notebook computer.

筆記型電腦外接顯示介面包括有視頻顯示適配介面VGA、高清晰度多媒體介面HDMI、高清晰度數字顯示介面Display Port、數字顯示介面DVI等類型。在筆記型電腦生產中需要對筆記型電腦外接顯示介面的顯示效果進行測試。The external display interface of the notebook computer includes a video display adaptation interface VGA, a high-definition multimedia interface HDMI, a high-definition digital display interface Display Port, and a digital display interface DVI. In the production of notebook computers, it is necessary to test the display effect of the external display interface of the notebook computer.

在筆記型電腦外接顯示介面的測試過程中,通常會有如下問題出現:During the test of the external display interface of the notebook, the following problems usually occur:

(1)外接顯示介面損壞,無法切換到外接顯示器;(1) The external display interface is damaged and cannot be switched to the external display;

(2)外接顯示介面針腳有損壞,造成外接顯示存在異色、條紋、水波紋等問題;(2) The external display interface pins are damaged, causing problems such as different colors, stripes, water ripples, etc. in the external display;

(3)外接顯示介面外接顯示幕不穩定,造成外接顯示閃屏;(3) The external display interface of the external display interface is unstable, resulting in an external display splash screen;

(4)外接顯示介面外接顯示幕位移、不能完全顯示。(4) The external display interface is externally connected to the display screen and cannot be fully displayed.

現有技術中,在筆記型電腦外接顯示介面的測試時,需要係通過外接顯示介面連接到外接顯示器,利用軟體將本機螢幕切換到外接顯示器,並生成一個隨機數字,由操作員來觀察顯示效果。操作員查看顯示效果是否異常、是否有異色,並在程式視窗輸入所觀察到的隨機數字。In the prior art, when testing the external display interface of the notebook computer, it is necessary to connect to the external display through the external display interface, and switch the local screen to the external display by using the software, and generate a random number, and the operator observes the display effect. . The operator checks whether the display is abnormal, has a different color, and enters the observed random number in the program window.

然而,上述測試方法具有以下缺點:However, the above test method has the following disadvantages:

(1)上述測試方法需要採購和維護外接顯示器,外接顯示器的採購和維護成本高;(1) The above test method requires purchasing and maintaining an external display, and the cost of procurement and maintenance of the external display is high;

(2)上述測試方法需要操作員查看外接顯示器的顯示效果,並利用鍵盤輸入隨機數字,這導致測試的時間長、效率低,增加了筆記型電腦生成的人力成本;(2) The above test method requires the operator to view the display effect of the external display and input random numbers by using the keyboard, which results in long test time and low efficiency, and increases the labor cost generated by the notebook computer;

(3)上述測試方法主要是人為地進行顯示結果判斷,導致測試結果的主觀性過強;(3) The above test method is mainly to artificially judge the display result, which leads to the subjectivity of the test result is too strong;

(4)上述測試方法的防呆性不夠,操作員經常會只注意隨機數字,而忽略了對外接顯示器顯示的顯示效果的觀察。(4) The above test method has insufficient foolproofness, and the operator often only pays attention to the random number, and ignores the observation of the display effect displayed on the external display.

有鑑於此,本發明之目的在於提供一種測試筆記型電腦外接顯示介面的系統及方法,係通過採用攝像裝置和圖像分析演算法來進行筆記型電腦的顯示效果測試,在保證筆記型電腦生產流水線上測試的穩定性和準確性的前提下,有效減少測試過程中操作員的動作,從而降低人力成本,提高生產效率。In view of this, the object of the present invention is to provide a system and method for testing an external display interface of a notebook computer, which adopts a camera device and an image analysis algorithm to perform a display effect test of a notebook computer, and ensures the production of a notebook computer. Under the premise of the stability and accuracy of the pipeline test, the operator's actions during the test process are effectively reduced, thereby reducing labor costs and improving production efficiency.

為達到上述目的及其他目的,本發明提供一種測試筆記型電腦外接顯示介面的系統,其中,該系統包括:筆記型電腦;外接顯示器,其係通過該筆記型電腦的外接顯示介面與該筆記型電腦相連,係用於顯示複數二維碼圖像;攝像裝置,其與該筆記型電腦相連,係用於拍攝該外接顯示器上顯示的圖像;其中,該筆記型電腦係用於控制該外接顯示器顯示複數二維碼圖像,並對該攝像裝置拍攝到的圖像進行分析,以判斷該筆記型電腦的外接顯示介面是否良好。To achieve the above and other objects, the present invention provides a system for testing an external display interface of a notebook computer, wherein the system includes: a notebook computer; an external display through an external display interface of the notebook computer and the notebook type The computer is connected to display a plurality of two-dimensional code images; the camera device is connected to the notebook computer for capturing an image displayed on the external display; wherein the notebook computer is used for controlling the image The external display displays a plurality of two-dimensional code images, and analyzes the image captured by the camera to determine whether the external display interface of the notebook is good.

在本發明之一實施例中,該攝像裝置採用USB攝像頭或類比攝像頭。In an embodiment of the invention, the camera device employs a USB camera or an analog camera.

在本發明之一實施例中,該筆記型電腦內存儲有測試模組,該測試模組用於對該攝像裝置拍攝到的圖像進行分析,以判斷該筆記型電腦的外接顯示介面是否良好。In an embodiment of the present invention, a test module is stored in the notebook computer, and the test module is configured to analyze an image captured by the camera device to determine whether the external display interface of the notebook computer is good. .

本發明復提供一種測試筆記型電腦外接顯示介面的方法,其中,該方法包括以下步驟:步驟S1:將筆記型電腦的顯示切換到外接顯示器顯示模式,在外接顯示器上顯示複數二維碼;步驟S2:採用該攝像頭拍攝外接顯示器上的圖像;步驟S3:分析該攝像頭所拍攝的圖像中的二維碼,並對該二維碼進行解碼,判斷所拍攝的圖像中是否同時包括該外接顯示器上顯示的所有的二維碼;步驟S4:若同時包括該外接顯示器上顯示的所有的二維碼,則判斷該筆記型電腦的外接顯示介面良好,測試結束;否則,進入步驟S5; 步驟S5:判斷測試時間是否超過額定測試時間,若未超過額定測試時間,則重複步驟S1-S4;若超過額定測試時間,則判斷當前筆記型電腦的外接顯示介面不良,測試結束。The present invention provides a method for testing an external display interface of a notebook computer, wherein the method comprises the following steps: Step S1: switching the display of the notebook computer to the external display mode, and displaying the complex two-dimensional code on the external display; Step S2: using the camera to capture an image on the external display; Step S3: analyzing the two-dimensional code in the image captured by the camera, and decoding the two-dimensional code to determine whether the captured image includes both All the two-dimensional codes displayed on the external display; step S4: if all the two-dimensional codes displayed on the external display are included, it is determined that the external display interface of the notebook computer is good, and the test ends; otherwise, the process proceeds to step S5. Step S5: Determine whether the test time exceeds the rated test time. If the rated test time is not exceeded, repeat steps S1-S4; if the rated test time is exceeded, it is determined that the external display interface of the current notebook computer is bad, and the test ends.

在本發明之一實施例中,該步驟S1中,在該外接顯示器的四個角上顯示四個二維碼,在該外接顯示器的中央顯示一個二維碼;其中,中央的二維碼分為四個部分,四個角的四個二維碼和中央的二維碼採用以下任意的一種的格式:四個角的四個二維碼均為底色為白的黑白二維碼,中央的二維碼的四個部分分別為底色為紅、藍、白、綠的彩色二維碼;四個角的四個二維碼分別為底色為紅、藍、白、綠的彩色二維碼,中央的二維碼為底色為白的黑白二維碼。In an embodiment of the present invention, in the step S1, four two-dimensional codes are displayed on the four corners of the external display, and a two-dimensional code is displayed in the center of the external display; wherein, the central two-dimensional code For the four parts, the four two-dimensional codes of the four corners and the central two-dimensional code adopt one of the following formats: the four two-dimensional codes of the four corners are black and white two-dimensional codes whose base color is white, and the center The four parts of the two-dimensional code are respectively colored two-dimensional codes of red, blue, white and green; the four two-dimensional codes of the four corners are respectively colored red, blue, white and green. The dimension code, the central two-dimensional code is a black and white two-dimensional code with a white background.

在本發明之一實施例中,該中央的二維碼的四個部分大小相等。In one embodiment of the invention, the four portions of the central two-dimensional code are equal in size.

在本發明之一實施例中,該步驟S3中,分析攝像頭所拍攝到的圖像中的二維碼的方法包括以下步驟:根據所拍攝到的圖像中的二維碼的每個圖元點的RGB值求像素權值;如果像素權值小於預設值,則將像素權值取值為0;如果像素權值大於等於預設值,則像素權值取值為255,即得到二維碼圖像的灰度二維碼圖像。In an embodiment of the present invention, in the step S3, the method for analyzing the two-dimensional code in the image captured by the camera comprises the following steps: according to each primitive of the two-dimensional code in the captured image. The RGB value of the point is the pixel weight; if the pixel weight is less than the preset value, the pixel weight is 0; if the pixel weight is greater than or equal to the preset value, the pixel weight is 255, that is, two A gray-scale two-dimensional code image of a dimensional image.

在本發明之一實施例中,該步驟S3中,判斷所拍攝到的圖像中是否同時包括外接顯示器上顯示的所有的二維碼的方法包括以下步驟:對生成的灰度二維碼圖像進行解碼;若所有二維碼均可進行解碼,則判斷所拍攝到的圖像中同時包括外接顯示器上顯示的所有二維碼;若存在某個或某些二維碼不能進行解碼,則判斷所拍攝到的圖像中沒有同時包括外接顯示器上顯示的所有二維碼。In an embodiment of the present invention, in the step S3, the method for determining whether the captured image includes all the two-dimensional codes displayed on the external display simultaneously comprises the following steps: generating the generated grayscale two-dimensional code map For decoding, if all the two-dimensional codes can be decoded, it is judged that the captured image includes all the two-dimensional codes displayed on the external display; if one or some two-dimensional codes cannot be decoded, It is judged that all the two-dimensional codes displayed on the external display are not included in the captured image.

基於上述,本發明提供之測試筆記型電腦外接顯示介面的系統及方法具有以下有益效果:Based on the above, the system and method for testing the external display interface of the test notebook computer provided by the present invention have the following beneficial effects:

(1)不再需要人為的查看外接顯示器的顯示效果,避免了對顯示效果的主觀性判斷;(1) It is no longer necessary to manually view the display effect of the external display, and avoid subjective judgment on the display effect;

(2)利用外接攝像裝置來分析外接顯示器的顯示效果,增強了測試涵蓋率;(2) Using an external camera to analyze the display effect of the external display, and enhancing the test coverage;

(3)測試效率高,人工成本低。(3) High test efficiency and low labor cost.

為讓本發明之上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。The above described features and advantages of the present invention will be more apparent from the following description.

以下藉由特定的具體實施例說明本發明之實施方式,熟悉此技術領域之人士可由本說明書所揭示之內容輕易地瞭解本發明之其他優點及功效。本發明亦可藉由其它不同的具體實施例加以施行或應用,本說明書中的各項細節亦可基於不同觀點與應用,在不背離本發明之精神下進行各種修飾與變更。The embodiments of the present invention are described below by way of specific embodiments, and those skilled in the art can readily appreciate the other advantages and advantages of the present invention. The present invention may be embodied or applied in various other specific embodiments, and various modifications and changes may be made without departing from the spirit and scope of the invention.

須知,本說明書所附圖式中所繪示之結構、比例、大小等,均僅用以配合說明書所揭示之內容,以供熟悉此技術領域之人士之瞭解與閱讀,並非用以限定本發明可實施之限定條件,故不具技術上之實質意義,任何結構之修飾、比例關係之改變或大小之調整,在不影響本發明所能產生之功效及所能達成之目的下,均應仍落在本發明所揭示之技術內容得能涵蓋之範圍內。同時,本說明書中所引用之如“上”、“下”、“一”及“底部”等之用語,亦僅為便於敘述之明瞭,而非用以限定本發明可實施之範圍,其相對關係之改變或調整,於無實質變更技術內容下,當亦視為本發明可實施之範疇。It should be understood that the structures, the proportions, the sizes, and the like, which are illustrated in the specification of the present specification, are used for the purpose of understanding and reading by those skilled in the art, and are not intended to limit the present invention. The conditions that can be implemented are not technically meaningful, and any modification of the structure, change of the proportional relationship or adjustment of the size should be continued without affecting the effects and objectives of the present invention. It is within the scope of the technical contents disclosed in the present invention. In the meantime, the terms "upper", "lower", "one" and "bottom" are used in the description, and are not intended to limit the scope of the invention. Changes or adjustments to the relationship are considered to be within the scope of the invention as a result of the absence of material changes.

請參閱圖1及圖2,圖1顯示為本發明的測試筆記型電腦外接顯示介面的系統的結構示意圖;圖2顯示為本發明的測試筆記型電腦外接顯示介面的方法的流程圖。如圖所示,本發明的測試筆記型電腦外接顯示介面的系統包括筆記型電腦1、外接顯示器2和攝像裝置3。其中,外接顯示器2係通過外接顯示介面與筆記型電腦1相連;攝像裝置3係通過資料線與筆記型電腦1相連。待測筆記型電腦1控制外接顯示器2顯示複數二維碼,並利用其上存儲的測試模組對攝像裝置3所拍攝到的外接顯示器2上顯示的圖像進行分析,以判斷筆記型電腦1的外接顯示介面是否良好。攝像裝置3可採用USB攝像頭或類比攝像頭。Please refer to FIG. 1 and FIG. 2 . FIG. 1 is a schematic structural diagram of a system for testing an external display interface of a test notebook according to the present invention; FIG. 2 is a flow chart showing a method for testing an external display interface of the notebook according to the present invention. As shown in the figure, the system for testing the external display interface of the test notebook of the present invention comprises a notebook computer 1, an external display 2 and a camera device 3. The external display 2 is connected to the notebook computer 1 through an external display interface; the camera device 3 is connected to the notebook computer 1 through a data line. The notebook computer 1 to be tested controls the external display 2 to display a plurality of two-dimensional codes, and analyzes the image displayed on the external display 2 captured by the camera device 3 by using the test module stored thereon to determine the notebook computer. 1 The external display interface is good. The camera device 3 can employ a USB camera or an analog camera.

具體地,本發明的測試筆記型電腦外接顯示介面的方法包括以下步驟:Specifically, the method for testing the external display interface of the test notebook of the present invention comprises the following steps:

步驟S1:將筆記型電腦的顯示切換到外接顯示器顯示模式,在外接顯示器螢幕上顯示複數二維碼;Step S1: switching the display of the notebook computer to the external display mode, and displaying the plural two-dimensional code on the external display screen;

優選地,由於顯示器的四個角上的顯示效果不穩定,易受影響,故在外接顯示器的四個角上顯示四個二維碼,以更好地測試筆記型電腦的外接顯示介面。同時,在外接顯示器的中央顯示一個二維碼。其中,中央的二維碼分為四個部分。四個角的四個二維碼和中央的二維碼可採用以下任意的一種格式:Preferably, since the display effects on the four corners of the display are unstable and susceptible, four four-dimensional codes are displayed on the four corners of the external display to better test the external display interface of the notebook. At the same time, a two-dimensional code is displayed in the center of the external display. Among them, the central two-dimensional code is divided into four parts. The four QR codes of the four corners and the central two-dimensional code can be in any of the following formats:

(1)四個角的四個二維碼均為底色為白的黑白二維碼,中央的二維碼的四個部分分別為底色為紅、藍、白、綠的彩色二維碼;(1) The four two-dimensional codes of the four corners are black and white two-dimensional codes whose base color is white, and the four parts of the central two-dimensional code are respectively colored two-dimensional codes of red, blue, white and green. ;

(2)四個角的四個二維碼分別為底色為紅、藍、白、綠的彩色二維碼,中央的二維碼為底色為白的黑白二維碼。(2) The four two-dimensional codes of the four corners are respectively colored two-dimensional codes of red, blue, white and green, and the central two-dimensional code is a black and white two-dimensional code whose base is white.

其中,黑白二維碼用以測試圖像偏移,彩色二維碼用以測試圖像異色。中央的二維碼的四個部分可以等大也可以不等大。Among them, the black and white two-dimensional code is used to test the image offset, and the color two-dimensional code is used to test the image heterochromatic. The four parts of the central two-dimensional code can be equal or large.

步驟S2:採用攝像頭拍攝外接顯示器螢幕上的圖像;Step S2: using a camera to capture an image on an external display screen;

步驟S3:分析攝像頭所拍攝到的圖像中的二維碼,並對二維碼進行解碼,判斷所拍攝到的圖像中是否同時包括外接顯示器上顯示的所有的二維碼;Step S3: analyzing the two-dimensional code in the image captured by the camera, and decoding the two-dimensional code, and determining whether the captured image includes all the two-dimensional codes displayed on the external display at the same time;

具體地,首先,根據所拍攝的圖像中的二維碼的每個圖元點的RGB值求像素權值,即像素權值V=R/3 + G/3 + B/3。如果V小於預設值,則將V取值為0;如果V大於等於預設值,則V取值為255。即得到所拍攝的圖像中的二維碼圖像的灰度二維碼圖像。其中,預設值可根據操作經驗或二維碼的結構來確定。例如,可將預設值取40,則當V<40時,V取值為0;當V>=40,V取值為255。Specifically, first, the pixel weight is obtained from the RGB values of each primitive point of the two-dimensional code in the captured image, that is, the pixel weight V=R/3 + G/3 + B/3. If V is less than the preset value, V is 0; if V is greater than or equal to the preset value, V is 255. That is, a grayscale two-dimensional code image of the two-dimensional code image in the captured image is obtained. The preset value may be determined according to an operation experience or a structure of a two-dimensional code. For example, if the preset value is 40, then when V<40, V takes a value of 0; when V>=40, V takes a value of 255.

接著,對生成的灰度二維碼圖像進行解碼,若所有二維碼均可進行解碼,則判斷所拍攝的圖像中同時包括外接顯示器上顯示的所有二維碼,若存在某個或某些二維碼不能進行解碼,則判斷所拍攝到的圖像中沒有同時包括外接顯示器上顯示的所有二維碼。Then, the generated gray-scale two-dimensional code image is decoded, and if all the two-dimensional codes can be decoded, it is determined that the captured image includes all the two-dimensional codes displayed on the external display, if there is one or Some two-dimensional codes cannot be decoded, and it is judged that all the two-dimensional codes displayed on the external display are not included in the captured image.

判斷二維碼能否進行解碼的原理如下:如果二維碼的底色沒有顯示或顯示較差,則該底色所對應的圖元點在灰度二維碼圖像中顯示為黑色;在灰度二維碼圖像中,該底色與二維碼的顏色均表示為黑色,導致灰度二維碼圖像無法進行解碼。The principle of judging whether the two-dimensional code can be decoded is as follows: if the background color of the two-dimensional code is not displayed or displayed poorly, the pixel point corresponding to the background color is displayed as black in the gray-scale two-dimensional code image; In the two-dimensional code image, the color of the ground color and the two-dimensional code are both represented as black, which causes the gray-scale two-dimensional code image to be unable to be decoded.

步驟S4:若同時包括外接顯示器上顯示的所有的二維碼,則判斷當前筆記型電腦的外接顯示介面良好,測試結束;否則,進入步驟S5;Step S4: If all the two-dimensional codes displayed on the external display are included, it is judged that the external display interface of the current notebook computer is good, and the test ends; otherwise, the process proceeds to step S5;

步驟S5:判斷測試時間是否超過額定測試時間,若未超過額定測試時間,則重複步驟S1-S4;若超過額定測試時間,則判斷當前筆記型電腦的外接顯示介面不良,測試結束。Step S5: determining whether the test time exceeds the rated test time. If the rated test time is not exceeded, the steps S1-S4 are repeated; if the rated test time is exceeded, it is determined that the external display interface of the current notebook computer is bad, and the test ends.

綜上所述,本發明的測試筆記型電腦外接顯示介面的系統及方法不再需要人為的查看外接顯示器的顯示效果,避免了對顯示效果的主觀性判斷;同時,利用外接攝像頭來分析外接顯示器的顯示效果,增強了測試涵蓋率,提高了測試效率,降低了人工成本。所以,本發明有效克服了現有技術中的種種缺點而具高度產業利用價值。In summary, the system and method for testing the external display interface of the test notebook computer of the present invention no longer need to manually view the display effect of the external display, and avoid subjective judgment on the display effect; meanwhile, the external camera is used to analyze the external display. The display effect enhances test coverage, improves test efficiency, and reduces labor costs. Therefore, the present invention effectively overcomes various shortcomings in the prior art and has high industrial utilization value.

上述實施例係用以例示性說明本發明之原理及其功效,而非係用於限制本發明。任何熟習此項技術領域之人士均可在不違背本發明之精神及範疇下,對上述實施例進行修改。因此本發明之權利保護範圍,應如後述之申請專利範圍所列。The above-described embodiments are intended to illustrate the principles of the invention and its effects, and are not intended to limit the invention. Any of the above-described embodiments can be modified by those skilled in the art without departing from the spirit and scope of the invention. Therefore, the scope of protection of the present invention should be as set forth in the appended claims.

1‧‧‧筆記型電腦
2‧‧‧外接顯示器
3‧‧‧攝像裝置
S1-S5‧‧‧步驟
1‧‧‧Note Computer
2‧‧‧External display
3‧‧‧ camera
S1-S5‧‧‧ steps

圖1顯示為本發明的測試筆記型電腦外接顯示介面的系統的結構示意圖;以及1 is a schematic structural view showing a system for testing an external display interface of a notebook of the present invention;

圖2顯示為本發明的測試筆記型電腦外接顯示介面的方法的流程圖。2 is a flow chart showing a method of testing a notebook external display interface of the present invention.

S1-S5‧‧‧步驟 S1-S5‧‧‧ steps

Claims (8)

一種測試筆記型電腦外接顯示介面的系統,其中,該系統包括: 筆記型電腦; 外接顯示器,其係通過該筆記型電腦的外接顯示介面與該筆記型電腦相連,係用於顯示複數二維碼圖像;以及 攝像裝置,其與該筆記型電腦相連,係用於拍攝該外接顯示器上顯示的圖像; 其中,該筆記型電腦係用於控制該外接顯示器顯示複數二維碼圖像,並對該攝像裝置拍攝到的圖像進行分析,以判斷該筆記型電腦的外接顯示介面是否良好。A system for testing an external display interface of a notebook computer, wherein the system comprises: a notebook computer; an external display connected to the notebook computer through an external display interface of the notebook computer for displaying a plurality of two-dimensional a code image; and a camera device connected to the notebook computer for capturing an image displayed on the external display; wherein the notebook computer is configured to control the external display to display a plurality of two-dimensional code images And analyzing the image captured by the camera device to determine whether the external display interface of the notebook computer is good. 如申請專利範圍第1項所述之測試筆記型電腦外接顯示介面的系統,其中,該攝像裝置採用USB攝像頭或類比攝像頭。For example, the system for testing the external display interface of the test notebook computer according to the first aspect of the patent application, wherein the camera device adopts a USB camera or an analog camera. 如申請專利範圍第1項所述之測試筆記型電腦外接顯示介面的系統,其中,該筆記型電腦內存儲有測試模組,該測試模組用於對該攝像裝置拍攝到的圖像進行分析,以判斷該筆記型電腦的外接顯示介面是否良好。The system for testing an external display interface of the test notebook according to the first aspect of the patent application, wherein the notebook computer stores a test module, wherein the test module is configured to analyze an image captured by the camera device. To determine if the external display interface of the notebook is good. 一種測試筆記型電腦外接顯示介面的方法,其中,該方法包括以下步驟: 步驟S1:將筆記型電腦的顯示切換到外接顯示器顯示模式,在外接顯示器上顯示複數二維碼; 步驟S2:採用該攝像頭拍攝外接顯示器上的圖像; 步驟S3:分析該攝像頭所拍攝的圖像中的二維碼,並對該二維碼進行解碼,判斷所拍攝的圖像中是否同時包括該外接顯示器上顯示的所有的二維碼; 步驟S4:若同時包括該外接顯示器上顯示的所有的二維碼,則判斷該筆記型電腦的外接顯示介面良好,測試結束;否則,進入步驟S5; 步驟S5:判斷測試時間是否超過額定測試時間,若未超過額定測試時間,則重複步驟S1-S4;若超過額定測試時間,則判斷當前筆記型電腦的外接顯示介面不良,測試結束。A method for testing a display interface of a notebook computer, wherein the method comprises the following steps: Step S1: switching a display of the notebook computer to an external display mode, displaying a plurality of two-dimensional codes on the external display; Step S2: adopting The camera captures an image on the external display; Step S3: analyzing the two-dimensional code in the image captured by the camera, and decoding the two-dimensional code to determine whether the captured image includes the external display at the same time All the two-dimensional codes displayed; Step S4: If all the two-dimensional codes displayed on the external display are included, it is judged that the external display interface of the notebook computer is good, and the test ends; otherwise, the process proceeds to step S5; Step S5: Determine whether the test time exceeds the rated test time. If the rated test time is not exceeded, repeat steps S1-S4; if the rated test time is exceeded, it is judged that the external display interface of the current notebook is defective, and the test ends. 如申請專利範圍第4項所述之測試筆記型電腦外接顯示介面的方法,其中,步驟S1中,在該外接顯示器的四個角上顯示四個二維碼,在該外接顯示器的中央顯示一個二維碼;其中,中央的二維碼分為四個部分,四個角的四個二維碼和中央的二維碼採用以下任意的一種的格式: 四個角的四個二維碼均為底色為白的黑白二維碼,中央的二維碼的四個部分分別為底色為紅、藍、白、綠的彩色二維碼; 四個角的四個二維碼分別為底色為紅、藍、白、綠的彩色二維碼,中央的二維碼為底色為白的黑白二維碼。The method for testing an external display interface of the test notebook according to claim 4, wherein in step S1, four two-dimensional codes are displayed on four corners of the external display, and one center is displayed in the center of the external display. a two-dimensional code; wherein the central two-dimensional code is divided into four parts, four four-dimensional codes of the four corners and the central two-dimensional code adopt one of the following formats: four four-dimensional codes of four corners For the black and white two-dimensional code whose background color is white, the four parts of the central two-dimensional code are respectively colored two-dimensional codes of red, blue, white and green; the four two-dimensional codes of the four corners are respectively bottom The color is a red, blue, white, and green color two-dimensional code, and the central two-dimensional code is a black and white two-dimensional code whose white color is white. 如申請專利範圍第5項所述之測試筆記型電腦外接顯示介面的方法,其中,該中央的二維碼的四個部分大小相等。The method for externally displaying a display interface of the test notebook computer according to claim 5, wherein the four portions of the central two-dimensional code are equal in size. 如申請專利範圍第4項所述之測試筆記型電腦外接顯示介面的方法,其中,步驟S3中,分析攝像頭所拍攝到的圖像中的二維碼的方法包括以下步驟: 根據所拍攝到的圖像中的二維碼的每個圖元點的RGB值求像素權值; 如果像素權值小於預設值,則將像素權值取值為0;如果像素權值大於等於預設值,則像素權值取值為255,即得到二維碼圖像的灰度二維碼圖像。The method for externally displaying a display interface of the test notebook computer according to claim 4, wherein, in step S3, the method for analyzing the two-dimensional code in the image captured by the camera comprises the following steps: The RGB value of each primitive point of the two-dimensional code in the image is obtained as a pixel weight; if the pixel weight is less than the preset value, the pixel weight is 0; if the pixel weight is greater than or equal to the preset value, Then, the pixel weight value is 255, that is, the gray-scale two-dimensional code image of the two-dimensional code image is obtained. 如申請專利範圍第7項所述之測試筆記型電腦外接顯示介面的方法,其中,步驟S3中,判斷所拍攝到的圖像中是否同時包括外接顯示器上顯示的所有的二維碼的方法包括以下步驟: 對生成的灰度二維碼圖像進行解碼; 若所有二維碼均可進行解碼,則判斷所拍攝到的圖像中同時包括外接顯示器上顯示的所有二維碼; 若存在某個或某些二維碼不能進行解碼,則判斷所拍攝到的圖像中沒有同時包括外接顯示器上顯示的所有二維碼。The method for testing the external display interface of the test notebook according to claim 7 , wherein in step S3, the method for determining whether the captured image includes all the two-dimensional codes displayed on the external display includes The following steps: decoding the generated gray-scale two-dimensional code image; if all the two-dimensional codes can be decoded, determining that the captured image includes all the two-dimensional codes displayed on the external display; If some or some of the two-dimensional codes cannot be decoded, it is judged that all the two-dimensional codes displayed on the external display are not included in the captured image.
TW103130042A 2013-09-18 2014-08-29 System for testing external display interface of? notebook computer and the method thereof are provided TWI639916B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310429897.5A CN104461797B (en) 2013-09-18 2013-09-18 Test the system and method for notebook computer external display interface
??201310429897.5 2013-09-18

Publications (2)

Publication Number Publication Date
TW201512834A true TW201512834A (en) 2015-04-01
TWI639916B TWI639916B (en) 2018-11-01

Family

ID=52907893

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103130042A TWI639916B (en) 2013-09-18 2014-08-29 System for testing external display interface of? notebook computer and the method thereof are provided

Country Status (2)

Country Link
CN (1) CN104461797B (en)
TW (1) TWI639916B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713904A (en) * 2016-12-20 2017-05-24 郑州云海信息技术有限公司 VGA interface test method, apparatus and system
CN107543994A (en) * 2017-08-31 2018-01-05 华勤通讯技术有限公司 The test system of Type C interface
CN108366253B (en) * 2018-01-11 2020-01-31 福建联迪商用设备有限公司 Camera function testing method and intelligent module
CN108345134A (en) * 2018-01-11 2018-07-31 福建联迪商用设备有限公司 The test method and intelligent object of display function
US11355040B2 (en) * 2020-11-11 2022-06-07 Novatek Microelectronics Corp. Method and test equipment for inspecting functionality of display device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7155637B2 (en) * 2003-01-31 2006-12-26 Texas Instruments Incorporated Method and apparatus for testing embedded memory on devices with multiple processor cores
CN101211302A (en) * 2006-12-26 2008-07-02 鸿富锦精密工业(深圳)有限公司 Display interface test device
US7886978B2 (en) * 2007-09-20 2011-02-15 Microsoft Corporation Techniques for decoding images of barcodes
CN101640812B (en) * 2008-08-01 2011-06-15 英业达股份有限公司 Test system for the video interface
TW201201108A (en) * 2010-06-25 2012-01-01 Cheng Uei Prec Ind Co Ltd QR code identity system and identification method with the same
CN102685542B (en) * 2011-03-09 2015-06-24 鸿富锦精密工业(深圳)有限公司 High definition multimedia interface testing system and method
CN102843575A (en) * 2011-06-22 2012-12-26 鸿富锦精密工业(深圳)有限公司 VGA (Video Graphics Array) port test device and test method thereof
CN103207982A (en) * 2012-01-13 2013-07-17 鸿富锦精密工业(深圳)有限公司 Two-dimensional bar code scanning method and system
CN102905161A (en) * 2012-09-28 2013-01-30 福州德州电子科技有限公司 Automatic test method and system of television flow line production
CN102945359A (en) * 2012-10-25 2013-02-27 苏州佳世达电通有限公司 Testing device and testing method for display panel

Also Published As

Publication number Publication date
CN104461797B (en) 2017-07-21
TWI639916B (en) 2018-11-01
CN104461797A (en) 2015-03-25

Similar Documents

Publication Publication Date Title
TWI639916B (en) System for testing external display interface of? notebook computer and the method thereof are provided
US20210174489A1 (en) Method and apparatus for detecting a screen, and electronic device
US10096290B2 (en) Display apparatus, method of driving the same and vision inspection apparatus for the same
US9875682B2 (en) Display method and display panel
WO2019061883A1 (en) Method and structure for generating image compensation signal, and restoration system
US8238640B2 (en) Display testing apparatus and method
CN103780797A (en) Image color enhancement method and device
TWI390483B (en) Apparatus and method for contrast control
CN110910333B (en) Image processing method and image processing apparatus
CN109600605B (en) Detection method of 4K ultra-high-definition video, electronic device and computer program product
US10115333B2 (en) Image display method and display apparatus
WO2016070455A1 (en) Liquid crystal panel and pixel unit setting method thereof
CN109856824B (en) Display picture detection method and detection system thereof
JP2015091010A (en) Automatic correction function determination device and program
CN115330789A (en) Screen defect detection method, device, equipment and readable storage medium
KR101215666B1 (en) Method, system and computer program product for object color correction
CN104679462A (en) System and method for detecting screen
TWI485694B (en) Image color adjusting method and electronic apparatus thereof
TWI510092B (en) Electronic device and method for enhancing readability of an image thereof
TWI758630B (en) Image zooming method and device
KR101279576B1 (en) Method for generating panorama image within digital image processing apparatus
TWM496777U (en) Display interface test system based on two-dimensional code
CN103037268B (en) Method and device for watermark adding
WO2021008187A1 (en) Detection method and system for display interface switching function
WO2019061655A1 (en) Driving method and system for liquid crystal display, and computer-readable medium