CN101646098B - Automatic test method and automatic test system - Google Patents

Automatic test method and automatic test system Download PDF

Info

Publication number
CN101646098B
CN101646098B CN200810142334A CN200810142334A CN101646098B CN 101646098 B CN101646098 B CN 101646098B CN 200810142334 A CN200810142334 A CN 200810142334A CN 200810142334 A CN200810142334 A CN 200810142334A CN 101646098 B CN101646098 B CN 101646098B
Authority
CN
China
Prior art keywords
remote control
test
control command
remote
tested product
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.)
Expired - Fee Related
Application number
CN200810142334A
Other languages
Chinese (zh)
Other versions
CN101646098A (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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN200810142334A priority Critical patent/CN101646098B/en
Publication of CN101646098A publication Critical patent/CN101646098A/en
Application granted granted Critical
Publication of CN101646098B publication Critical patent/CN101646098B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention is applied in the technical field of electronic product test and provides an automatic test system. The system comprises a test box, a camera and a PC, wherein the test box is connected with the PC and is used for transmitting a remote control signal to a tested product according to a remote control instruction transmitted by the PC, and the remote control signal is used for controlling the operation of the tested product; the camera is connected with the PC and used for photographing an image displayed by the tested product and transmitting the photographed image to the PC; and the PC is used for transmitting the remote control instruction to the test box according to an automatic test operation flow and analyzing the image transmitted by the camera to acquire a test result. In the technical scheme provided by the invention, as the PC can automatically and cyclically execute the test on the tested product and monitor the test result, the repeated test work of testers can be reduced, and the test efficiency and the test quality can be improved.

Description

A kind of automated testing method and system
Technical field
The invention belongs to technical field of measurement and test, relate in particular to a kind of method and system of tv product being carried out automatic test.
Background technology
In the research and development of electronic product, producing, all be unable to do without and test this link.The behavioral test that a lot of repeatability are arranged in the test job, typical test as the pressure test that television set is changed platform, searches platform, this test need carry out changing platform, search the platform operation, to find the less serious problems of probability, as crashing, leak platform repeatedly.
At present, this kind tool content measurement aspect is more single, and concerning TV, most instruments only to changing the platform operation, are contained faciostenosis; Operating procedure also relative complex is loaded down with trivial details, needs more manual operation before the test execution, comes instrument is set; The result of test is also directly directly perceived inadequately, needs artificial regularly the observation to judge.
Therefore, be necessary to provide a kind of technical scheme, can carry out automatic test, reduce tester's repeated labor electronic product.
Summary of the invention
The object of the present invention is to provide a kind of automated testing method and system, be intended to solve the not high enough problem of electronic product test process automation degree that exists in the prior art.
The present invention is achieved in that a kind of automatization test system, and described system comprises testing cassete, camera and PC, wherein:
Said testing cassete comprises that remote control receives head, remote-control transmitting head and MCU; At learning phase, said remote control receives head and is used for receiving the remote signal that the tester launches to tested product through the tested product remote controller in the artificial test operating procedure, and said remote signal is transferred to said MCU; Said MCU is used for said remote signal is resolved; The remote control command that parses is transferred to said PC, and PC sets up automatic test operation flow storage according to the time interval of each remote control command and each remote control command of PC reception, and said testing cassete links to each other with said PC; Automatic test phase; Said PC transmits remote control command to testing cassete according to the automatic test operation flow process of storage, and testing cassete sends remote signal according to the remote control command of said PC transmission to tested product, and said remote signal is used for controlling said tested product operation;
Said camera links to each other with said PC, is used for absorbing said tested product images displayed, and is used for the image that is absorbed is transferred to said PC;
Said PC is used for transmitting remote control command according to automatic test operation flow process to said testing cassete, and is used for said camera image transmitted is analyzed, and obtains test result.
At learning phase, described PC also is used for writing down the time of said remote control command and generation thereof, and calculates the time interval between each remote control command, sets up said automatic test operation flow process according to said remote control command and the time interval and stores in advance.
At automatic test phase, the MCU of said testing cassete is used for controlling said remote-control transmitting hair and penetrates the remote signal corresponding with said remote control command.
Said tested product is a television set, and described test is for repeatedly repeating to change the pressure test of platform or repeatedly repeating to search the pressure test of platform or export trade machines that a plurality of country is selected are searched the platform test or detected whether normal conventionally test of each information source channel.
The present invention also provides a kind of automated testing method, and described method comprises the steps:
A0, testing cassete are resolved the remote signal that the tester launches to tested product through the tested product remote controller in manual testing's operating procedure; The remote control command that parses is transferred to PC, PC according to each remote control command and between the time interval set up automatic test operation flow process and store in advance;
A, PC are according to the test operation flow process is to said testing cassete transmission remote control command automatically, and said testing cassete is launched remote signal according to said remote control command to tested product;
B, said tested product respond said remote signal, and said video camera absorbs said tested product images displayed, and said image is transferred to said PC;
C, said PC analyze said image, obtain test result.
Wherein step a specifically comprises:
The step that needs execution in a1, the said automatic test operation flow process of selection; Said PC transmits remote control command according to the step that needs in the selected automatic test operation flow process are carried out to said testing cassete, and said testing cassete is launched remote signal according to said remote control command to tested product.
Wherein step a also comprises: the number of times of said automatic test operation flow process circulation is set, and said PC carries out said automatic test operation flow process by said number of cycles.
The present invention overcomes the deficiency of prior art; Form test macro by testing cassete, PC and camera, PC perhaps designs automatic test operation flow storage in PC by the tester in advance through the study of manual testing's operating procedure being set up automatic test operation flow process; PC is according to the test of this automatic test operation flow performing to electronic product; Camera is made a video recording to electronic product to be tested, is transferred to PC after catching the image of test product, and PC accomplishes the analysis to the test product image automatically.In the technical scheme provided by the invention, PC Automatic Cycle as required carries out test and test results monitored to tested product, can reduce tester's reperformance test work, improves the quality of testing efficiency and test.
Description of drawings
Fig. 1 is the test macro block diagram that the embodiment of the invention provides;
Fig. 2 is an embodiment of the invention flow chart.
Embodiment
Technical scheme provided by the invention is: form test macro by testing cassete, PC and camera; PC is through setting up automatic test operation flow process to the study of manual testing's operating procedure; Perhaps design automatic test operation flow storage in advance in PC by the tester, PC is according to the test of this automatic test operation flow performing to electronic product, and camera is made a video recording to electronic product to be tested; Be transferred to PC after catching the image of test product, PC accomplishes the analysis to the test product image automatically.
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
Fig. 1 is the test macro block diagram that the embodiment of the invention provides, and comprising: testing cassete box, camera and PC.
Wherein, testing cassete comprises that remote control receives head, remote-control transmitting head and microprocessor MCU three parts.
At learning phase, the tester will carry out a manual testing's operating process, give tested product through remote controller emission remote signal, and remote control receives head and is used to receive the remote signal that remote controller sends, and send MCU with this remote signal.
MCU is used for the remote signal that receives from the transmission of remote control reception head is parsed remote control command, gives PC storage through the serial ports transmission, and PC sets up automatic test operation flow storage according to the remote control command and the time interval thereof.
At test phase; PC will be according to automatic test operation flow process; The time interval according to remote control command is transferred to testing cassete MCU in regular turn with each remote control command; Testing cassete MCU will control the remote-control transmitting hair according to remote control command and penetrate remote signal to tested product, and tested product will respond remote signal, carry out the corresponding function of remote control command.
At test phase; Camera receives the instruction of PC; Product to be tested is made a video recording, and catches the image of test product, and the image information of absorbing is transferred to PC; Regularly there is this image information in PC under the file of appointment, and this document name contains if having time, carries out information such as automatic inferior number of testing, test function keyword.
At learning phase, in the time interval of each remote control command of PC record and reception thereof, set up automatic test operation flow process according to the time interval of remote control command and reception thereof.Can in the PC system, directly get the current time at interval writing time here, perhaps use the timer of PC microprocessor internal.Preserve above-mentioned instruction and time interval data in a script file, be assumed to * .ope file.At test phase, PC calls above-mentioned * .ope file, sends remote control command by the time sequencing that is write down to testing cassete MCU, after testing cassete MCU receives remote control command, goes out remote signal through the remote-control transmitting hair and gives test product.In addition, PC also controls camera the survey product is carried out camera operation, and this camera operation also is provided with through * .ope file.
PC also is used for the image information of camera picked-up is carried out discriminance analysis, draws the needed data of test, and the data according to obtaining analyze test result.
Concrete when using technical scheme provided by the invention; PC is except obtaining through the mode of study the time interval of the corresponding remote control command of test operation and each instruction; The remote control command that also can test operation is corresponding and the time interval of each instruction are designed to corresponding test operation process program automatically, directly carry out this program at test phase by PC.
In practical application, the connected mode of testing cassete and PC is not limit, generally with the mode of serial ports as the connection communication.Because as the remote control of television set reception is first quite a few kinds of carrier frequency types are arranged; For making that test macro provided by the invention can compatible a plurality of products; The remote control of testing cassete receives the convenience that head needs to consider replacing, be convenient for changing into the remote control head of tested product same size.
The test macro that the embodiment of the invention provides can be used for the test to television set, as repeatedly repeating to change the pressure test of platform, repeatedly repeating to search the export trade machine that the pressure test of platform, a plurality of country select and search the platform test, detect whether normal conventionally test etc. of each information source channel.Repeatedly repeating to change in the pressure test of platform; The automatic test operation flow process that remote control command when PC changes platform operation manual testing according to record and the time interval of each instruction set up; The control testing cassete sends remote signal to television set; Control camera picked-up TV images simultaneously, once repeating above-mentioned operation automatically after the completion of test operation flow process automatically, till satisfying test request.Repeatedly repeat to search platform test and other test, its principle is with repeatedly to repeat to change the platform testing principle basic identical, and this does not give unnecessary details.
Embodiment of the invention flow chart is as shown in Figure 2, specifically comprises following step:
1, the remote control with testing cassete and television set receives the parallel placement of head, makes that the remote control reception head on the testing cassete can receive the remote signal that remote controller sends to television set;
2, start Record (record) function of PC, opening entry manual testing's operating procedure;
3, carry out artificial testing process, the testing cassete remote control receives the remote signal that a reception remote controller sends to television set, remote signal is transferred to testing cassete MCU resolves, and testing cassete MCU is transferred to PC with the remote control command that parses;
4, PC writes down the remote control command of testing cassete transmission, obtains the clock information of its operating system simultaneously, in the time interval of calculating and last remote control command, sets up automatic test operation flow process according to the remote control command and the time interval;
Does 5, the manual testing finish? If change step 6, otherwise change step 3;
6, close the Record function, open automatic test operation flow process, automatic operational testing flow process is carried out the human-edited;
7, get into automatic test phase, PC calls automatic test operation process flow operation, and PC is transferred to the MCU of testing cassete with remote control command, and MCU penetrates remote signal according to remote control command control remote-control transmitting hair;
8, television set to be tested receives remote signal, carries out operation accordingly, and PC controls camera shooting TV images, and the image that is absorbed is transferred to the PC storage;
9, move automatic test operation flow process according to the number of cycles of setting;
Wherein, the number of times of test operation flow process circular flow can be set by the tester automatically, as: 1 time, 10 times, N time, Infinite Cyclic etc.; In addition, the tester also can select the step that needs in the automatic test operation flow process to carry out, and selects which test operating procedure when testing automatically, to need to carry out, and which does not need is carried out.
10, PC analyzes the camera image transmitted, obtains test result.
As when repeatedly repeating to search the pressure test of platform, camera picked-up TV set to search programmes menu image is transferred to PC, searches the platform result in the PC analysis image; Judge whether search out platform, perhaps whether leak platform, rule of thumb; Search platform like wired signal, generally can search out 45 platforms, it is 45 that normal platform number is set; The platform number that searches out provided result, the time of Fail less than 45 o'clock.
As detect in the whether normal conventionally test of each information source channel, camera televising machine picture signal, PC analyzes the image file of being clapped; When finding that the color of image range of information is very big; Judging has image, less as finding the color of image range of information, thinks no signal.Because under no signal condition, television image is generally solid color, color gamut is a certain relative definite value.This can be used as the judgment basis that each information source has no signal.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (7)

1. an automatization test system is characterized in that, described system comprises testing cassete, camera and PC, wherein:
Said testing cassete comprises that remote control receives head, remote-control transmitting head and MCU; At learning phase, said remote control receives head and is used for receiving the remote signal that the tester launches to tested product through the tested product remote controller in the artificial test operating procedure, and said remote signal is transferred to said MCU; Said MCU is used for said remote signal is resolved; The remote control command that parses is transferred to said PC, and PC sets up automatic test operation flow storage according to the time interval of each remote control command and each remote control command of PC reception, and said testing cassete links to each other with said PC; Automatic test phase; PC transmits remote control command to testing cassete according to the automatic test operation flow process of storage, and testing cassete sends remote signal according to the remote control command of said PC transmission to tested product, and said remote signal is used for controlling said tested product operation;
Said camera links to each other with said PC, is used for absorbing said tested product images displayed, and is used for the image that is absorbed is transferred to said PC;
Said PC is used for transmitting remote control command according to automatic test operation flow process to said testing cassete, and is used for said camera image transmitted is analyzed, and obtains test result.
2. system according to claim 1; It is characterized in that; At learning phase; Described PC also is used for writing down the time of said remote control command and generation thereof, and calculates the time interval between each remote control command, sets up said automatic test operation flow process according to said remote control command and the time interval and stores in advance.
3. system according to claim 2 is characterized in that, at automatic test phase, the MCU of said testing cassete is used for controlling said remote-control transmitting hair and penetrates the remote signal corresponding with said remote control command.
4. system according to claim 1; It is characterized in that; Said tested product is a television set, and described test is for repeatedly repeating to change the pressure test of platform or repeatedly repeating to search the pressure test of platform or export trade machines that a plurality of country is selected are searched the platform test or detected whether normal conventionally test of each information source channel.
5. automated testing method, described method comprises the steps:
A0, testing cassete are resolved the remote signal that the tester launches to tested product through the tested product remote controller in manual testing's operating procedure; The remote control command that parses is transferred to PC, said PC according to each remote control command and between the time interval set up automatic test operation flow process and store in advance;
A, PC are according to the test operation flow process is to said testing cassete transmission remote control command automatically, and said testing cassete is launched remote signal according to said remote control command to tested product;
B, said tested product respond said remote signal, and video camera absorbs said tested product images displayed, and said image is transferred to said PC;
C, said PC analyze said image, obtain test result.
6. method according to claim 5 is characterized in that, wherein step a specifically comprises:
The step that needs execution in a1, the said automatic test operation flow process of selection; Said PC transmits remote control command according to the step that needs in the selected automatic test operation flow process are carried out to said testing cassete, and said testing cassete is launched remote signal according to said remote control command to tested product.
7. method according to claim 5 is characterized in that, wherein step a also comprises:
The number of times of said automatic test operation flow process circulation is set, and said PC carries out said automatic test operation flow process by said number of cycles.
CN200810142334A 2008-08-08 2008-08-08 Automatic test method and automatic test system Expired - Fee Related CN101646098B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810142334A CN101646098B (en) 2008-08-08 2008-08-08 Automatic test method and automatic test system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810142334A CN101646098B (en) 2008-08-08 2008-08-08 Automatic test method and automatic test system

Publications (2)

Publication Number Publication Date
CN101646098A CN101646098A (en) 2010-02-10
CN101646098B true CN101646098B (en) 2012-10-10

Family

ID=41657770

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810142334A Expired - Fee Related CN101646098B (en) 2008-08-08 2008-08-08 Automatic test method and automatic test system

Country Status (1)

Country Link
CN (1) CN101646098B (en)

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873511A (en) * 2010-07-09 2010-10-27 四川长虹电器股份有限公司 Test system for panel TV set and method thereof
CN102256156B (en) * 2011-07-13 2013-04-24 广东长虹电子有限公司 Method and system for controlling power-on and power-off test of television
CN102523475B (en) * 2011-12-08 2015-03-25 深圳创维-Rgb电子有限公司 Testing method and device for electronic products, and television set
CN103179429B (en) * 2011-12-20 2015-06-24 晨星软件研发(深圳)有限公司 Test method and device for television system
CN103516557B (en) * 2012-06-26 2018-09-18 腾讯科技(深圳)有限公司 test method and system
CN102833577A (en) * 2012-08-15 2012-12-19 深圳Tcl新技术有限公司 Method and device for automatically testing function of television
CN103631248B (en) * 2012-08-21 2016-08-24 珠海格力电器股份有限公司 The test device of air-conditioner unit, method of testing and test system
CN102905161A (en) * 2012-09-28 2013-01-30 福州德州电子科技有限公司 Automatic test method and system of television flow line production
CN103092188B (en) * 2012-12-28 2018-01-12 派芬自控(上海)股份有限公司 A kind of method of testing and system
CN103118283A (en) * 2013-02-06 2013-05-22 冠捷显示科技(厦门)有限公司 Implementation method of virtual remote controller
CN104181452A (en) * 2013-05-22 2014-12-03 富泰华工业(深圳)有限公司 Circuit board test system and method
CN105141947B (en) * 2015-08-25 2017-10-24 深圳创维-Rgb电子有限公司 A kind of pressure test equipment and its method
CN105100796A (en) * 2015-08-26 2015-11-25 深圳创维-Rgb电子有限公司 Television test method, device and system
CN106937169B (en) * 2015-12-30 2018-09-21 研祥智能科技股份有限公司 Signal generation apparatus, signal pickup assembly and test system
CN106412568A (en) * 2016-09-26 2017-02-15 四川长虹电器股份有限公司 Automatic pressure test method of intelligent television
CN107370965A (en) * 2017-08-28 2017-11-21 深圳市巨潮科技股份有限公司 Display terminal automatic test approach
RU2693636C1 (en) * 2017-12-19 2019-07-03 Общество с ограниченной ответственностью "Научно-производственное объединение "Юнисап" Hardware-software system for emulation and testing
RU2691831C1 (en) * 2018-02-26 2019-06-18 Александр Борисович Коновалов Geographically distributed test complex (gdtc)
CN111385568A (en) * 2018-12-29 2020-07-07 青岛海尔多媒体有限公司 Automatic detection method and device for electronic equipment, electronic equipment and storage medium
CN110584695B (en) * 2019-09-12 2023-12-12 上海联影医疗科技股份有限公司 Pressure testing method, device and equipment for medical imaging equipment and storage medium
CN110830791B (en) * 2019-09-17 2021-10-15 广州朗国电子科技股份有限公司 Automatic testing method, device and system for software function of television complete machine
CN111064953B (en) * 2019-12-16 2021-07-27 贝壳技术有限公司 Method and device for testing wireless function stability of 3D camera

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1206995A (en) * 1998-05-01 1999-02-03 四川长虹电子集团公司 White balance automatic adjusting system for color TV set
CN1976526A (en) * 2006-11-15 2007-06-06 华为技术有限公司 Mobile telephone automation testing system and testing method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1206995A (en) * 1998-05-01 1999-02-03 四川长虹电子集团公司 White balance automatic adjusting system for color TV set
CN1976526A (en) * 2006-11-15 2007-06-06 华为技术有限公司 Mobile telephone automation testing system and testing method

Also Published As

Publication number Publication date
CN101646098A (en) 2010-02-10

Similar Documents

Publication Publication Date Title
CN101646098B (en) Automatic test method and automatic test system
CN106776294B (en) Automatic android mobile phone testing method and system
CN102034071B (en) Automatic test system and automatic test method for testing bar code identification device
CN108307021B (en) Parallel following test equipment, cloud real machine and method for mobile terminal
CN102905034A (en) Electronic device testing system and electronic device testing method
CN103678105A (en) Page code testing method and device
CN110830791B (en) Automatic testing method, device and system for software function of television complete machine
EP3295311B1 (en) Method and system for automating the process of testing of software application
US20060036907A1 (en) Area-and product-independent test automation system and method for automatically synchronizing tests of multiple devices
CN111610393A (en) Automatic test system and method for multi-channel broadband microwave integrated component
CN102244806A (en) Method and system for automatically testing reception performance parameters of digital television
CN102546012A (en) Optical module test device and method
CN106708528A (en) Script generating method and device
CN106778955A (en) The system and method that car-mounted terminal is tested automatically is realized based on Quick Response Code identification
CN110833693B (en) Game running method and device, storage medium and electronic device
TWI443347B (en) Testing method and testing apparatus for tv system
CN103237108A (en) Test method and test terminal for mobile terminal
CN104216823A (en) Automatic testing method and master control device
CN113126993B (en) Automatic test method and system applied to vehicle detection software
CN106713908B (en) Device and control method for the test of multichannel CCD camera
CN109788066B (en) Image-based material detection test process recording system and method
CN106844211A (en) A kind of method for testing software, apparatus and system
CN103179429B (en) Test method and device for television system
CN116973729A (en) Board card testing method, testing jig, testing equipment and medium
CN113419932B (en) Equipment performance analysis method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121010