Device for testing functions of set top box
The present invention relates to and utilize computer to accomplish industrial test control technology field, have and relate to a kind of device that utilizes computer program to realize testing functions of set top box.
In the STB production process, before dispatching from the factory the test of critical data and the function of STB be must through a step; Conventional test methods is the AV mouth that the tester connects television set and STB, through check each item function of STB each item information and test machine top box one by one by the remote controller keyboard.This kind way wastes time and energy, and causes tester's fatigue easily, and is easy to generate erroneous judgement.
The efficient of utilizing computer program solution conventional test methodologies to bring is low, the problem of poor accuracy
Summary of the invention
Problem to be solved by this invention provides a kind of computer program that utilizes and realizes the device to testing functions of set top box, and this device can reduce tester's burden, increases substantially testing efficiency.
The present invention realizes through following technical scheme:
A kind of device for testing functions of set top box comprises:
Set top box testing functional module and the AV display unit that is used to show test data,
Be used to send the testing service apparatus of test command,
The set top box testing interface display module,
Be used for the set top box testing message processing module with testing service apparatus, set top box testing interface display module information interaction,
The test instruction that set top box testing message processing module acceptance test server unit sends is called the set top box testing functional module and is returned test data to the testing service apparatus, and the test data that the testing server device analysis returns also shows test data,
The set top box testing message processing module sends instructions to the set top box testing interface display module, and the scheduling of set top box testing interface display module responder top box detecting information processing module shows synchronously that with testing server relevant test data is in the AV display unit.
Functional modules of set-top box described in the said apparatus comprises STB software and hardware information inquiry module, and factory reset module, CA card reader card reading module, network interface detection module, U mouth detect, the HDMI data are sent and received and the tuner test module.Said testing service apparatus also is used for analyzing test data and generates test log.
As the optimization to said apparatus, said testing service apparatus also includes data analysis module, and data analysis module is analyzed information data and function, performance test data that testing server receives, judges inspection machine top box information data correctness.Said testing service apparatus also includes set top box testing information preparatory function module; Set top box testing information preparatory function module; Testing server calculates the expected information of next STB automatically according to the rule of producing flowing water, and presets, for test next time is prepared.
The present invention compared with prior art has following remarkable result:
The present invention utilizes computer program to realize can reducing tester's burden to the functional test of machine top, increases substantially testing efficiency.This device can also realize that testing server and television interface show test results simultaneously simultaneously, thereby improves the accuracy of test.
In addition, this testing apparatus can also generate test log, is convenient to analysis management, further improves the test effect.
Description of drawings
Fig. 1 is the program flow diagram that set-top box performance testing device of the present invention is realized test.
Through embodiment the present invention is made further detailed description below in conjunction with accompanying drawing.
Referring to Fig. 1, the hardware of device for testing functions of set top box of the present invention is made up of testing server, STB and AV display unit television set.Be connected with Serial Port Line between testing server and the STB, the video output of STB is connected with the AV mouth of television set, and test operation is carried out on testing server.
Testing server adopts the computer that test function software is installed, and testing server software comprises transmission test instruction module, acceptance test data module, analyzes demonstration test data module and generate the test log module.Testing server sends test instruction and gives STB, the test data that reception and display machines top box return, and analysis shows that test data generates test log.
Be integrated with set top box testing message processing module and test interface display module in the STB program; The set top box testing message processing module is realized carrying out serial communication with testing server; The functional module that acceptance test instruction calls STB is corresponding is returned test data, and is sent instructions to the set top box testing interface display module; The corresponding function module comprises STB software and hardware information inquiry module in the STB program, and factory reset module, CA card reader card reading module, network interface detection module, U mouth detect, the HDMI data are sent and received and the tuner test module.The STB program module can realize that sequence number of set top box detects, MAC Address detects, software version number detects, hardware version numbers detects, produces tame code detection, Loader version detection, download date information, the test of CA Card Reader, factory reset test, video output conversion testing (S terminal, CVBS, component vide), network interface test, the test of U mouth, HDMI test, connect the test of radiofrequency signal realization tuner, DAB test etc.
The scheduling of set top box testing interface display module responder top box detecting information processing module shows relevant test data synchronously with testing server on television set.
The concrete testing process of testing apparatus of the present invention is following:
The test beginning, the testing service apparatus sends the test instruction data to STB, after the set top box testing message processing module receives the test instruction data, calls the test function module of corresponding test instruction, and corresponding function, the performance of STB are tested.The set top box testing functional module reads sequence number, software version number, MAC Address or the like information from the correlation unit of STB memory device; Call the IC-card operational module and read the IC card numbers that insert draw-in groove; Carry out network interface, the detection of U mouth, the record testing result; Send handover operation order, recording operation result to relevant audio frequency and video output module; Call the factory reset order, the recording operation result; This all information is packed according to the predetermined data protocol of test macro and is returned to testing server from serial ports, is used to analyze, handle, write down the test result of this STB.When drawing test data behind the set top box testing and send to the testing service apparatus, generate the test result page, give the set top box testing interface display module, export image to AV display device (television set).Then acceptance test data of testing service apparatus show each item test result after analyzing, and the generation test log provides alarm simultaneously.The testing server analytic process is following: for the data of one type of information; Server preset various information (such as; The IC-card number of test usefulness, the software version number of this a collection of STB; STB serial number of testing or the like), compares or the respective counts mathematical operations, to judge inspection machine top box information correctness with the reading of data result who returns from STB; For function, performance one class testing interpretation of result, what the set top box testing module was returned is that the final result of testing representes that testing server makes an explanation to the result and shows, reminds and come out to get final product.The set top box testing interface display module also shows the test data that receives with testing server on television set synchronously.On television set and testing server, show test data synchronously, can improve the accuracy of test.On the streamline; STB generally can pass through this test zone according to producing flowing water in proper order, therefore, and after a STB is accomplished in every test; Testing server calculates the expected information of next STB automatically according to the rule of producing flowing water, and is predisposed to test next time and prepares.
For improving testing efficiency, the automatic isolated operation of set top box testing module of the present invention can improve toggle speed and carry out efficient.After test is accomplished, before dispatching from the factory, wipes voluntarily STB through order; Next time, operation was with starter motor top box main program.
The foregoing description is a preferred implementation of the present invention, and in addition, the present invention can also have other implementations.That is to say that under the prerequisite that does not break away from the present invention's design, any conspicuous replacement also should fall within protection scope of the present invention.