CN104461797A - System and method for testing notebook computer external display port - Google Patents

System and method for testing notebook computer external display port Download PDF

Info

Publication number
CN104461797A
CN104461797A CN201310429897.5A CN201310429897A CN104461797A CN 104461797 A CN104461797 A CN 104461797A CN 201310429897 A CN201310429897 A CN 201310429897A CN 104461797 A CN104461797 A CN 104461797A
Authority
CN
China
Prior art keywords
external
quick response
notebook computer
test
image
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN201310429897.5A
Other languages
Chinese (zh)
Other versions
CN104461797B (en
Inventor
朱冬波
王瑜
蒋勇杰
李华威
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Daly (shanghai) Pc Ltd
Group (shanghai) Pc Ltd
Tech Front Shanghai Computer Co Ltd
Tech Com Shanghai Computer Co Ltd
Original Assignee
Daly (shanghai) Pc Ltd
Group (shanghai) Pc Ltd
Tech Front Shanghai Computer Co Ltd
Tech Com 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 Daly (shanghai) Pc Ltd, Group (shanghai) Pc Ltd, Tech Front Shanghai Computer Co Ltd, Tech Com Shanghai Computer Co Ltd filed Critical Daly (shanghai) Pc Ltd
Priority to CN201310429897.5A priority Critical patent/CN104461797B/en
Priority to TW103130042A priority patent/TWI639916B/en
Publication of CN104461797A publication Critical patent/CN104461797A/en
Application granted granted Critical
Publication of CN104461797B publication Critical patent/CN104461797B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a system and method for testing a notebook computer external display port. The system at least comprises an external displayer, a camera device and a notebook computer. The external displayer is connected with the notebook computer through the external display port of the notebook computer and used for displaying a plurality of two-dimension code images. The camera device is connected with the notebook computer and used for shooting images displayed on the external displayer. The notebook computer is used for controlling the external displayer to display the two-dimension code images, and analyzing the images shot by the camera device so as to judge whether the external display port of the notebook computer is normal or not. According to the system and method for testing the notebook computer external display port, the display effect of the external displayer does not need to be checked by persons, and subjective judgment on the display effect is avoided; meanwhile, the external camera is utilized for analyzing the display effect of the external displayer, the testing coverage rate is increased, the testing efficiency is improved, and the labor cost is reduced.

Description

The system and method for test notebook computer external display interface
Technical field
The present invention relates to a kind of test macro and method thereof of digital device, particularly relate to a kind of system and method testing notebook computer external display interface.
Background technology
The external display interface of notebook computer includes the type such as video display adaptable interface VGA, HDMI (High Definition Multimedia Interface) HDMI, high definition digital display interface Display Port, digital display interface DVI.Need to test the display effect of the external display interface of notebook computer in notebook computer is produced.
In the test process of the external display interface of notebook computer, usually have following problem and occur:
A, external display interface damage, and cannot be switched to external-connection displayer;
B, external display interface stitch have damage, cause external display to there is heterochromatic, the problem such as striped, water ripples;
C, external display interface externally connected with display screen are unstable, cause external display to dodge screen;
D, the displacement of external display interface externally connected with display screen, can not to show completely.
In prior art, when the test of the external display interface of notebook computer, need to be connected to external-connection displayer by external display interface, utilize software by the machine screens switch to external-connection displayer, and generate a random digit, observe display effect by operator.Operator checks that whether display effect is abnormal, there whether have to be heterochromatic, and inputs viewed random digit at program window.
But above-mentioned method of testing has following shortcoming:
(1) above-mentioned method of testing needs buying and safeguards external-connection displayer, and buying and the maintenance cost of external-connection displayer are high;
(2) above-mentioned method of testing needs operator to check the display effect of external-connection displayer, and utilizes input through keyboard random digit, and this causes, and the time of test is long, efficiency is low, adds the human cost that notebook computer generates;
(3) above-mentioned method of testing mainly carries out the judgement of display result artificially, causes the subjectivity of test result excessively strong;
(4) fool proof of above-mentioned method of testing is inadequate, and operator often only can note random digit, and have ignored the observation of the display effect to external-connection displayer display.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide a kind of system and method testing notebook computer external display interface, by the display effect test adopting camera head and image analysis algorithm to carry out notebook computer, under the prerequisite ensureing stability and the accuracy that notebook computer production line is tested, the action of operator in effective minimizing test process, thus reduction human cost, enhance productivity.
For achieving the above object and other relevant objects, the invention provides a kind of system of testing notebook computer external display interface, wherein at least comprise: external-connection displayer, it is connected with notebook computer, for showing several image in 2 D code by the external display interface of notebook computer; Camera head, it is connected with notebook computer, for taking the image that described external-connection displayer shows; And whether notebook computer, shows several image in 2 D code for controlling described external-connection displayer, and analyzes the image that described camera head photographs, good to judge the external display interface of described notebook computer.
According to the system of above-mentioned test notebook computer external display interface, wherein: described camera head adopts USB camera or simulation camera.
According to the system of above-mentioned test notebook computer external display interface, wherein: in described notebook computer, store test module, whether described test module is used for analyzing the image that described camera head photographs, good to judge the external display interface of described notebook computer.
Meanwhile, the present invention also provides a kind of method of testing notebook computer external display interface, and it comprises the following steps:
Step S1: the display of notebook computer is switched to external-connection displayer display mode, external-connection displayer shows several Quick Response Codes;
Step S2: adopt the image on camera shooting external-connection displayer;
Step S3: analyze the Quick Response Code in the image captured by camera, and Quick Response Code is decoded, whether comprise all Quick Response Codes that external-connection displayer shows in the image captured by judgement simultaneously;
Step S4: all Quick Response Codes external-connection displayer shown if comprise simultaneously, then judge that the external display interface of notebook computer is good, test terminates; Otherwise, enter step S5;
Step S5: judge whether the test duration exceedes the specified test duration, if do not exceed the specified test duration, then repeats step S1-S4; If exceed the specified test duration, then judge that the external display interface of current notebook computer is bad, test terminates.
According to the method for above-mentioned test notebook computer external display interface, wherein: in step S1, four angles of external-connection displayer show four Quick Response Codes, shows a Quick Response Code in the central authorities of external-connection displayer; Wherein, the Quick Response Code of central authorities is divided into four parts, and four Quick Response Codes at four angles and the Quick Response Code of central authorities adopt following form a kind of arbitrarily:
It is white black and white Quick Response Code that four Quick Response Codes at four angles are background color, and it is red, blue, white, green color 2 D code that four parts of the Quick Response Code of central authorities are respectively background color;
It is red, blue, white, green color 2 D code that four Quick Response Codes at four angles are respectively background color, and the Quick Response Code of central authorities is background color is white black and white Quick Response Code.
Further, according to the method for above-mentioned test notebook computer external display interface, wherein: four part equal and opposite in directions of the Quick Response Code of described central authorities.
According to the method for above-mentioned test notebook computer external display interface, wherein: in step S3, the method analyzing the Quick Response Code in the image taken by camera comprises the following steps:
Rgb value according to each pixel of the Quick Response Code in taken image asks pixel weights;
If pixel weights are less than preset value, be then 0 by pixel weights value; If pixel weights are more than or equal to preset value, then pixel weights value is 255, namely obtains the gray scale image in 2 D code of image in 2 D code.
Further, according to the method for above-mentioned test notebook computer external display interface, wherein: in step S3, the method whether simultaneously comprising all Quick Response Codes that external-connection displayer shows in the image taken by judgement comprises the following steps:
The gray scale image in 2 D code generated is decoded;
If all Quick Response Codes all can be decoded, then judge in taken image, to comprise all Quick Response Codes that external-connection displayer shows simultaneously;
If there is certain or some Quick Response Codes can not decode, then judge in taken image, not comprise all Quick Response Codes that external-connection displayer shows simultaneously.
As mentioned above, the system and method for test notebook computer external display interface of the present invention, has following beneficial effect:
(1) no longer need the artificial display effect of checking external-connection displayer, avoid and the subjectivity of display effect is judged;
(2) utilize external camera head to analyze the display effect of external-connection displayer, enhance test coverage rate;
(3) testing efficiency is high, and cost of labor is low.
Accompanying drawing explanation
Fig. 1 is shown as the structural representation of the system of test notebook computer external display interface of the present invention;
Fig. 2 is shown as the process flow diagram of the method for test notebook computer external display interface of the present invention.
Element numbers explanation
1 notebook computer
2 external-connection displayers
3 camera heads
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this instructions can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this instructions also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.
It should be noted that, the diagram provided in the present embodiment only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in graphic but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
The system of test notebook computer external display interface of the present invention comprises notebook computer 1, external-connection displayer 2 and camera head 3.Wherein, external-connection displayer 2 is connected with notebook computer 1 by external display interface; Camera head 3 is connected with notebook computer 1 by data line.Notebook computer 1 to be measured controls external-connection displayer 2 and shows several Quick Response Codes, and utilize the image of test module to display on the external-connection displayer 2 taken by camera head 3 that it stores to analyze, whether good to judge the external display interface of notebook computer 1.Camera head 3 can adopt USB camera or simulation camera.
Particularly, the method for test notebook computer external display interface of the present invention comprises the following steps:
Step S1: the display of notebook computer is switched to external-connection displayer display mode, external indicator screen shows several Quick Response Codes;
Preferably, because the display effect on four angles of display is unstable, easily influenced, therefore on four angles of external-connection displayer, show four Quick Response Codes, to test the external display interface of notebook computer better.Meanwhile, a Quick Response Code is shown in the central authorities of external-connection displayer.Wherein, the Quick Response Code of central authorities is divided into four parts.Four Quick Response Codes at four angles and the Quick Response Code of central authorities can adopt following arbitrary a kind of form:
It is white black and white Quick Response Code that four Quick Response Codes at (1) four angle are background color, and it is red, blue, white, green color 2 D code that four parts of the Quick Response Code of central authorities are respectively background color;
It is red, blue, white, green color 2 D code that four Quick Response Codes at (2) four angles are respectively background color, and the Quick Response Code of central authorities is background color is white black and white Quick Response Code.
Wherein, black and white Quick Response Code offsets in order to test pattern, and color 2 D code is heterochromatic in order to test pattern.Four parts of the Quick Response Code of central authorities can wait and also can not wait greatly greatly.
Step S2: adopt the image on camera shooting external-connection displayer screen;
Step S3: analyze the Quick Response Code in the image taken by camera, and Quick Response Code is decoded, whether comprise all Quick Response Codes that external-connection displayer shows in the image taken by judgement simultaneously;
Particularly, first, the rgb value according to each pixel of the Quick Response Code in captured image asks pixel weights, i.e. pixel weights V=R/3+G/3+B/3.If V is less than preset value, be then 0 by V value; If V is more than or equal to preset value, then V value is 255.Namely the gray scale image in 2 D code of the image in 2 D code in captured image is obtained.Wherein, preset value can be determined according to the structure of operating experience or Quick Response Code.Such as, preset value can be got 40, then, as V<40, V value is 0; Work as V>=40, V value is 255.
Then, the gray scale image in 2 D code generated is decoded, if all Quick Response Codes all can be decoded, then judge in captured image, to comprise all Quick Response Codes that external-connection displayer shows simultaneously, if there is certain or some Quick Response Codes can not decode, then judge in taken image, not comprise all Quick Response Codes that external-connection displayer shows simultaneously.
Judge that the principle that can Quick Response Code carry out decoding is as follows: if the background color of Quick Response Code does not show or shows poor, then the pixel corresponding to this background color is shown as black in gray scale image in 2 D code; In gray scale image in 2 D code, the color of this background color and Quick Response Code is all expressed as black, causes gray scale image in 2 D code to decode.
Step S4: all Quick Response Codes external-connection displayer shown if comprise simultaneously, then judge that the external display interface of current notebook computer is good, test terminates; Otherwise, enter step S5;
Step S5: judge whether the test duration exceedes the specified test duration, if do not exceed the specified test duration, then repeats step S1-S4; If exceed the specified test duration, then judge that the external display interface of current notebook computer is bad, test terminates.
In sum, the system and method for test notebook computer external display interface of the present invention no longer needs the artificial display effect of checking external-connection displayer, avoids and judges the subjectivity of display effect; Meanwhile, utilize external camera to analyze the display effect of external-connection displayer, enhance test coverage rate, improve testing efficiency, reduce cost of labor.So the present invention effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.

Claims (8)

1. test a system for notebook computer external display interface, it is characterized in that, at least comprise:
External-connection displayer, it is connected with notebook computer, for showing several image in 2 D code by the external display interface of notebook computer;
Camera head, it is connected with notebook computer, for taking the image that described external-connection displayer shows;
And whether notebook computer, shows several image in 2 D code for controlling described external-connection displayer, and analyzes the image that described camera head photographs, good to judge the external display interface of described notebook computer.
2. the system of test notebook computer external display interface according to claim 1, is characterized in that: described camera head adopts USB camera or simulation camera.
3. the system of test notebook computer external display interface according to claim 1, it is characterized in that: in described notebook computer, store test module, whether described test module is used for analyzing the image that described camera head photographs, good to judge the external display interface of described notebook computer.
4. test a method for notebook computer external display interface, it is characterized in that: comprise the following steps:
Step S1: the display of notebook computer is switched to external-connection displayer display mode, external-connection displayer shows several Quick Response Codes;
Step S2: adopt the image on camera shooting external-connection displayer;
Step S3: analyze the Quick Response Code in the image captured by camera, and Quick Response Code is decoded, whether comprise all Quick Response Codes that external-connection displayer shows in the image captured by judgement simultaneously;
Step S4: all Quick Response Codes external-connection displayer shown if comprise simultaneously, then judge that the external display interface of notebook computer is good, test terminates; Otherwise, enter step S5;
Step S5: judge whether the test duration exceedes the specified test duration, if do not exceed the specified test duration, then repeats step S1-S4; If exceed the specified test duration, then judge that the external display interface of current notebook computer is bad, test terminates.
5. the method for test notebook computer external display interface according to claim 4, is characterized in that: in step S1, four angles of external-connection displayer shows four Quick Response Codes, shows a Quick Response Code in the central authorities of external-connection displayer; Wherein, the Quick Response Code of central authorities is divided into four parts, and four Quick Response Codes at four angles and the Quick Response Code of central authorities adopt following form a kind of arbitrarily:
It is white black and white Quick Response Code that four Quick Response Codes at four angles are background color, and it is red, blue, white, green color 2 D code that four parts of the Quick Response Code of central authorities are respectively background color;
It is red, blue, white, green color 2 D code that four Quick Response Codes at four angles are respectively background color, and the Quick Response Code of central authorities is background color is white black and white Quick Response Code.
6. the method for test notebook computer external display interface according to claim 5, is characterized in that: four part equal and opposite in directions of the Quick Response Code of described central authorities.
7. the method for test notebook computer external display interface according to claim 4, is characterized in that: in step S3, and the method analyzing the Quick Response Code in the image taken by camera comprises the following steps:
Rgb value according to each pixel of the Quick Response Code in taken image asks pixel weights;
If pixel weights are less than preset value, be then 0 by pixel weights value; If pixel weights are more than or equal to preset value, then pixel weights value is 255, namely obtains the gray scale image in 2 D code of image in 2 D code.
8. the method for test notebook computer external display interface according to claim 7, it is characterized in that: in step S3, the method whether simultaneously comprising all Quick Response Codes that external-connection displayer shows in the image taken by judgement comprises the following steps:
The gray scale image in 2 D code generated is decoded;
If all Quick Response Codes all can be decoded, then judge in taken image, to comprise all Quick Response Codes that external-connection displayer shows simultaneously;
If there is certain or some Quick Response Codes can not decode, then judge in taken image, not comprise all Quick Response Codes that external-connection displayer shows simultaneously.
CN201310429897.5A 2013-09-18 2013-09-18 Test the system and method for notebook computer external display interface Active CN104461797B (en)

Priority Applications (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
TW103130042A TWI639916B (en) 2013-09-18 2014-08-29 System for testing external display interface of? notebook computer and the method thereof are provided

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN104461797A true CN104461797A (en) 2015-03-25
CN104461797B CN104461797B (en) 2017-07-21

Family

ID=52907893

Family Applications (1)

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

Country Status (2)

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

Cited By (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
CN108345134A (en) * 2018-01-11 2018-07-31 福建联迪商用设备有限公司 The test method and intelligent object of display function
CN108366253A (en) * 2018-01-11 2018-08-03 福建联迪商用设备有限公司 The test method and intelligent object of camera function
CN114495773A (en) * 2020-11-11 2022-05-13 联咏科技股份有限公司 Method and test equipment for detecting functions of display device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004233350A (en) * 2003-01-31 2004-08-19 Texas Instr Inc <Ti> Method for testing a plurality of mixed loaded memory site located on computer chip and integrated circuit
CN101211302A (en) * 2006-12-26 2008-07-02 鸿富锦精密工业(深圳)有限公司 Display interface test device
CN101640812A (en) * 2008-08-01 2010-02-03 英业达股份有限公司 Test system for the video interface
US20120233502A1 (en) * 2011-03-09 2012-09-13 Hon Hai Precision Industry Co., Ltd. System and method for testing high-definition multimedia interface of computing device
CN102843575A (en) * 2011-06-22 2012-12-26 鸿富锦精密工业(深圳)有限公司 VGA (Video Graphics Array) port test device and test method thereof
CN102905161A (en) * 2012-09-28 2013-01-30 福州德州电子科技有限公司 Automatic test method and system of television flow line production

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7886978B2 (en) * 2007-09-20 2011-02-15 Microsoft Corporation Techniques for decoding images of barcodes
TW201201108A (en) * 2010-06-25 2012-01-01 Cheng Uei Prec Ind Co Ltd QR code identity system and identification method with the same
CN103207982A (en) * 2012-01-13 2013-07-17 鸿富锦精密工业(深圳)有限公司 Two-dimensional bar code scanning method and system
CN102945359A (en) * 2012-10-25 2013-02-27 苏州佳世达电通有限公司 Testing device and testing method for display panel

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004233350A (en) * 2003-01-31 2004-08-19 Texas Instr Inc <Ti> Method for testing a plurality of mixed loaded memory site located on computer chip and integrated circuit
CN101211302A (en) * 2006-12-26 2008-07-02 鸿富锦精密工业(深圳)有限公司 Display interface test device
CN101640812A (en) * 2008-08-01 2010-02-03 英业达股份有限公司 Test system for the video interface
US20120233502A1 (en) * 2011-03-09 2012-09-13 Hon Hai Precision Industry Co., Ltd. System and method for testing high-definition multimedia interface of computing device
CN102843575A (en) * 2011-06-22 2012-12-26 鸿富锦精密工业(深圳)有限公司 VGA (Video Graphics Array) port test device and test method thereof
CN102905161A (en) * 2012-09-28 2013-01-30 福州德州电子科技有限公司 Automatic test method and system of television flow line production

Cited By (6)

* 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
CN108345134A (en) * 2018-01-11 2018-07-31 福建联迪商用设备有限公司 The test method and intelligent object of display function
CN108366253A (en) * 2018-01-11 2018-08-03 福建联迪商用设备有限公司 The test method and intelligent object of camera function
CN108366253B (en) * 2018-01-11 2020-01-31 福建联迪商用设备有限公司 Camera function testing method and intelligent module
CN114495773A (en) * 2020-11-11 2022-05-13 联咏科技股份有限公司 Method and test equipment for detecting functions of display device

Also Published As

Publication number Publication date
TW201512834A (en) 2015-04-01
TWI639916B (en) 2018-11-01
CN104461797B (en) 2017-07-21

Similar Documents

Publication Publication Date Title
US9728111B2 (en) Display drive method and apparatus, and method and apparatus for generating sampling region
US10204537B2 (en) Display driving method and device and display device
US9495739B2 (en) Method and system for validating image data
CN104461797A (en) System and method for testing notebook computer external display port
CN107526504B (en) Image display method and device, terminal and storage medium
CN108682367B (en) Display self-monitoring method and display
US20160049110A1 (en) Display method and display panel
US20160300519A1 (en) Display Method, Display Panel and Display Device
KR20030010632A (en) Display device and method of displaying an image
CN105302413B (en) UI (user interface) testing method and system for control
RU2017101484A (en) METHOD AND DEVICE FOR FORMING A THREE-DIMENSIONAL IMAGE
CN108596908B (en) LED display screen detection method and device and terminal
US20170140691A1 (en) Display method and display panel
CN105227873B (en) A kind of test method and device of on-screen display data
US20160004927A1 (en) Visual matching assist apparatus and method of controlling same
CN110099224B (en) Pre-monitoring display method, device and system, computer equipment and storage medium
CN105046671A (en) Edge processing method and display device
JP2013020605A (en) Movement image area determination device or method for the same
CN104769398B (en) Two-dimensional image data processing unit, two-dimensional color luminance meter and two-dimensional image data processing method
CN105184785A (en) Method and device for extracting image contour
CN110782854B (en) Electronic equipment and reading mode identification method thereof
TWI784391B (en) System-latency-aware display device
CN110827289B (en) Method and device for extracting target image in projector definition test
US7239329B2 (en) Brush texture simulating apparatus and method
US10380865B2 (en) Monitoring apparatus, method and system of the same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant