Summary of the invention
In order to solve the problem that prior art exists, the invention provides a kind of video equipment test macro, comprise control device, signal generation apparatus and Devices to test, described control device is controlled signal generation apparatus by a control signal; Signal generation apparatus produces corresponding video signals according to described control signal, and sends the vision signal that produces to Devices to test; Devices to test receives described vision signal and it is handled; Wherein: described vision signal is off-gauge vision signal, and described control signal comprises the nonstandard parameter of described vision signal.
Above-mentioned control device can be a computer, and this computer comprises an application program, and described control signal is produced by described application program.
Above-mentioned nonstandard parameter can be predefined and be stored in the described computer that described application program is by calling the described control signal of described nonstandard parameter generating.
Above-mentioned application program also can comprise a personal-machine interactive interface, and described nonstandard parameter is determined by the data that read described human-computer interaction interface.
Above-mentioned Devices to test comprises display screen, and described video equipment test macro can comprise a surveillance equipment, and described surveillance equipment detects and will detect data to the display screen of described Devices to test and sends described computer to.
Further, the present invention also provides a kind of video apparatus test method, comprising:
Determine test channel;
Determine nonstandard parameter;
According to the corresponding non-standard video signal of nonstandard parameter generating;
Devices to test is handled the non-standard video signal;
Judge test result.
Above-mentioned nonstandard signal can be predefined, also can determine by the related data that reads nonstandard parameter setting interface.
During above-mentioned video apparatus test method can also may further comprise the steps one or more: whether judgement is tested when prepass finishes, and does not finish if current test channel is tested, and turns back to step and determines nonstandard parameter; Judging whether all passages are tested finishes, if all passages not test do not finish, turn back to step and determine test channel; Output test result.
Video equipment test macro of the present invention and method can be set the nonstandard parameter of various vision signals easily, and the adaptive capacity of the non-standard signal of video equipments such as television set is tested.
Embodiment
In order to make those skilled in the art person understand the present invention program better, and above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
Figure 1 shows that the schematic diagram of an embodiment of video equipment test macro of the present invention.As shown in the figure, videoequipment test macro 100 comprisescontrol device 110,signal generation apparatus 120 and Devices to test 130.Control device 110 produces a control signal, and control signal is sent tosignal generation apparatus 120, is used for the signal thatsignal generation apparatus 120 is produced is controlled;Signal generation apparatus 120 produces corresponding video signals according to the control signal thatcontrol device 110 sends, and sends the vision signal that produces to Devices to test 130; The vision signal that Devices to test 130 receivedsignal generating meanss 120 send and to processing such as it show.
Because Devices to test 130 needs the project of detection to have much generally speaking,control device 110 sends a series of control signal according to certain sequence and givessignal generation apparatus 120,signal generation apparatus 120 order in view of the above produces corresponding video signals and sends it to Devices to test 130, and Devices to test 130 receives these vision signals and shows.Because the video interface test macro of present embodiment is mainly used in the test to non-standard signal, therefore the control signal sent ofcontrol device 110 comprises the series of parameters of non-standard signal,signal generation apparatus 120 produces an off-gauge vision signal according to this series of parameters, Devices to test 130 receives this off-gauge vision signal and it is handled, will show this vision signal if Devices to test 130 can be discerned this vision signal, otherwise will keep states such as blank screen or blue screen.The tester can judge the adaptive capacity of 130 pairs of a certain non-standard video signals of this Devices to test according to the reality of Devices to test 130.
Thecontrol device 110 here can be a PC, also can be equipment such as work station.Devices to test 130 can be a television set or a display or the like.Be that computer, Devices to test 130 are that to be example describe the course of work of videointerface test macro 100 television set withcontrol device 110 below.
As shown in Figure 2, computer 111 comprises an application program, this application program comprises that the parameter of the multiple non-standard signal of various video signal is (in order to narrate conveniently, hereinafter to be referred as nonstandard parameter), this application program also can comprise a personal-machine interactive interface, is used for the relevant nonstandard parameter of acceptance test personnel input.When needs were testedtelevision set 131, application program began to start.Application program determines that atfirst television set 131 needs the passage of test and the nonstandard parameter that each passage needs.
The passage that needs test is generally determined according to the kind and the quantity of the video interface oftelevision set 131, suppose thattelevision set 131 comprises a Video interface, VGA interface, HDMI interface and two DVI interfaces totally 5 interfaces, application program just need be tested respectively these 5 interfaces.Application program generally can preestablish a testing sequence, a plurality of passages that this testing sequence comprises all video channels or may need to test.Suppose that the predefined testing sequence of application program is: Video interface, S-Video interface, DVI interface, HDMI interface, SMART interface, VGA interface, YpbPr interface and YcbCr interface, then each passage oftelevision set 131 will carry out in the following sequence: Video interface, a DVI interface, the 2nd DVI interface, HDMI interface and VGA interface.Certainly, need the passage of test and the testing sequence of each passage can determine that also this is very useful under some special situations by the input of recipient's machine interactive interface.For example,television set 131 is detected after a complete test that the VGA passage has problem and other tunnel condition is good, then further can only select the VGA channel is being tested in the test.
The parameter of the non-standard signal that each passage needs can be by preestablishing or determining by the input of recipient's machine interactive interface.For each signalling channel, predefined nonstandard parameter can have a cover or many covers, and every cover nonstandard signal can be determined a complete vision signal.For example for the Video channel, can preestablish the nonstandard parameter of many covers, the Video channel generally is used for receiving the CVBS signal, the nonstandard parameter of every cover can be determined a complete CVBS signal, and the CVBS signal that these nonstandard parameters are determined and the CVBS signal of standard are compared some differences are all arranged.For example frequency of the amplitude of the amplitude of synchronizing signal, colour burst, vision signal or the like all may be different with the CVBS signal of standard or the like.And for digital signals such as HDMI, the number of parameters of nonstandard parameter and project can be different with analog video signal, and for digital signal, the nonstandard parameter here may comprise that the error rate etc. is applicable to off-gauge parameter of digital signal.
Then determine by the nonstandard parameter that the input of recipient's machine interactive interface is determined according to the data that receive.The human-computer interaction interface here generally comprises the parameter inputting interface that test channel is selected interface and various signals.Application program is after beginning the test beginning, at first show test channel selection interface, input by read test channel selecting interface determines which channel is tested, and before a certain lane testing, application software shows the parameter inputting interface of this signal, determines the nonstandard parameter of this signal by the data that read the parameter inputting interface.
Nonstandard parameter generally can determine according to the industry standard that some countries formulate, for example SJ/T10365-93 " TV-set broadcasting receiver is in basic parameter and specification requirement under the non-standard broadcast singal condition " and GB/T12857-91 " method of measurement of TV-set broadcasting receiver under non-standard broadcast singal condition " or the like.Like this, just can satisfy the requirement of these standards by the television set of the nonstandard parameter testing of this cover.Product adaptation ability stronger all the formulated company standard of being correlated with of a lot of television set production firms in order to make oneself, nonstandard parameter also can be determined with reference to these standards.
Computer 111 sends tosignal generation apparatus 120 according to current test channel and control signal of corresponding nonstandard parameter generating with this control signal.Signal generation apparatus 120 produces corresponding nonstandard signal according to this control signal.Signal generation apparatus 120 can be according to the difference oftelevision set 131 and difference, can video signal displayed as long as can producetelevision set 131.
The nonstandard signal thatsignal generation apparatus 120 produces is sent totelevision set 131 through corresponding interface, andtelevision set 131 at first switching channels receives this nonstandard signal to current test channel.Iftelevision set 131 can be discerned this nonstandard signal,television set 131 shows this nonstandard signal through normal Video processing; Iftelevision set 131 can not be discerned this nonstandard signal, thentelevision set 131 may be in blue screen and blank screen state.Can judge the performance oftelevision set 131 in this test by the display screen of observation television machine 131.In order more easily test result to be judged and record, the video equipment test macro of present embodiment can also comprise a surveillance equipment, for example video camera or camera or the like.Surveillance equipment is used to detect the display screen oftelevision set 131, according to certain frequency the display screen oftelevision set 131 is taken, send the picture that photographs to computer 111, computer 111 can be judged the test result oftelevision set 131 according to this picture that photographs.For example, computer 111 has sent tosignal generation apparatus 120 with a nonstandard parameter control signal that comprises DVI, controlsignal generating means 120 sends totelevision set 131 with this off-gauge DVI signal, at this moment, if the picture that surveillance equipment photographs is a blue screen or blank screen, then can judgetelevision set 131 and can't show this test crash the DVI signal of this nonstandard parameter; Otherwise, if surveillance equipment photographs is the picture of an activity, then can judge the DVI signal thattelevision set 131 can identify this nonstandard parameter, this test is passed through.Computer 111 carries out record with this test result, and next that then begins same channel overlapped the test of nonstandard parameter or begun the test of next passage, finishes until test.After whole test process finished, computer 111 may produce a test record, printed for your guidance or was stored in the relevant file, for consulting.
From above explanation as can be seen, videoequipment test macro 100 can be set the nonstandard parameter of various vision signals easily, and the adaptive capacity of the non-standard signal of video equipments such as television set is detected.
Figure 3 shows that the flow chart of an embodiment of video apparatus test method of the present invention.
As shown in the figure, the method for testing of present embodiment may further comprise the steps:
Step 310: determine testing sequence.For different Devices to tests, because its project difference that need test, its testing sequence may have difference, andstep 310 is used for determining the testing sequence of Devices to test, this testing sequence comprises the order of lane testing, also can comprise the testing sequence of the different nonstandard signals of each passage.Testing sequence can be determined by the data of human-computer interaction interface.If predefined testing sequence is arranged, then this step can be omitted.
Step 320: Devices to test switches to test channel.This step can be finished by control Devices to test itself, also can finish by sending corresponding instruction by test macro to Devices to test.Some equipment can adaptively come switching channels according to signal input, and for such Devices to test, this step can be finished automatically by Devices to test.
Step 330: determine nonstandard parameter.By above-mentioned two steps, current test channel is determined.Step 330 is used for the nonstandard signal when prepass is determined.Nonstandard parameter can be preset parameters, also can determine by the data that read human-computer interaction interface.If determine nonstandard parameter by the data that read human-computer interaction interface, then this step can comprise following two steps: show nonstandard parameter setting interface; Read nonstandard parameter correlation data.
Step 340: produce nonstandard signal.A nonstandard signal according to the definite current channel of nonstandard parameter generating ofstep 330.
Step 350: Devices to test shows nonstandard signal.The nonstandard signal that Devices to test receivingstep 340 produces is also handled it.Because criteria of right and wrong vision signal, possibly of Devices to test can't be to its normal demonstration.If Devices to test can be discerned this nonstandard signal, Devices to test shows this nonstandard signal through normal Video processing; If Devices to test can not be discerned this nonstandard signal, then Devices to test may be in blue screen and blank screen state.
Step 360: detect test result.According to the current show state of Devices to test, can judge the test result of current this test.If Devices to test can show the nonstandard signal of current input, then current this test of decidable is passed through; Devices to test still is in states such as blue screen or blank screen after receiving nonstandard signal else if, then current this test crash of decidable.
Step 370: whether judgement is tested when prepass finishes.If do not finish when prepass has test, turn back tostep 330, redefine nonstandard parameter, carry out new test; If current lane testing finishes, then carry out next step processing.If each passage only need be tested the vision signal that the nonstandard parameter of a cover is determined, then this step can be omitted.
Step 380: judging whether all passages are tested finishes.If also have the not passage of test, returnstep 320, Devices to test switches to next passage, begins new passage is tested; Finish if all passages have been tested, then carry out next step processing.If only need test a passage, then this step can be omitted.
Step 390: output test result.Test result can comprise all information in the whole test process, testing sequence for example, and the nonstandard parameter and the test result of every test, and the problem that may occur or the like.
Video apparatus test method shown in Figure 3 can be set the nonstandard parameter of various vision signals easily, adaptive capacity to the non-standard signal of video equipments such as television set detects, because whole test process can be finished automatically, this can't make things convenient for the problem of test fast with regard to having solved prior art for nonstandard signal.
Abovely video apparatus test method provided by the invention and device are described in conjunction with preferred embodiment; being familiar with these those skilled in the art should not break away under spirit of the present invention and the principle; the present invention is carried out the change and the modification of equivalent purpose; this equivalence change with revise, all should be covered by among the protection range that the present invention defines.