CN101969577A - Method for automatically testing set top box - Google Patents
Method for automatically testing set top box Download PDFInfo
- Publication number
- CN101969577A CN101969577A CN2010102769123A CN201010276912A CN101969577A CN 101969577 A CN101969577 A CN 101969577A CN 2010102769123 A CN2010102769123 A CN 2010102769123A CN 201010276912 A CN201010276912 A CN 201010276912A CN 101969577 A CN101969577 A CN 101969577A
- Authority
- CN
- China
- Prior art keywords
- test
- top box
- script file
- set top
- automatic test
- 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.)
- Pending
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 72
- 238000000034 method Methods 0.000 title abstract description 7
- 238000013459 approach Methods 0.000 claims description 9
- 238000001514 detection method Methods 0.000 claims description 5
- 230000008901 benefit Effects 0.000 abstract description 2
- 230000006870 function Effects 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012797 qualification Methods 0.000 description 1
- 238000013112 stability test Methods 0.000 description 1
- 238000010998 test method Methods 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention is suitable for the field of set top boxes and provides a method for automatically testing a set top box. The method comprises the following steps of: a, setting up an automatic test monitoring program; b, when mobile equipment is inserted and is effective, detecting whether a test script file with a conventional name is in the equipment or not, and if the test script file with the conventional name is in the equipment, entering a step c; c, detecting whether the contents of the script file are not empty and are effective or not, and if the contents of the script file are not empty and are effective, entering a step d; and d, reading the contents of the script file, and sending corresponding key values according to the contents so as to realize the automatic test function. Compared with the prior art, the method for automatically testing the set top box in the embodiment of the invention has the advantages of using the USB function of the set top box to perform the high intensity and large range test on the top set box by automatically sending key test instructions, greatly improving test efficiency, test intensity and test flexibility, setting test stuff or software designers free from heavy and dull manual tests, reducing labor cost and saving a great deal of time.
Description
Technical field
The present invention relates to the set-top box technique field, relate in particular to a kind of set-top box automatic test approach.
Background technology
At present, the IPTV business development is quite rapid, and set-top box provides abundant TV programme and various interactive value-added services etc. as client terminal to the user.Therefore the stability of set-top box becomes the fundamental influence factor concerning user's experience.When switching EPG (electronic program list) page that does not stop by remote controller as the user or switching TV channel, the stability of set-top box is in case bad, cause the internal memory of set-top box to overflow easily, cause set-top box to crash, the user can't continue to watch the page or TV programme.Therefore certainly will seem especially important of the stability test of set-top box.
Therefore, manufacturer needs to carry out a series of test in the set-top box software design process, wherein an important and necessary test is to send the stability that key command on a large scale in enormous quantities comes the test machine top box, existing, test mainly is to carry out artificially by tester or software developer, by remote controller the separate unit set-top box is carried out continuous button such as the tester, test a period of time (as continuous button 2 hours).This method of testing not only expends a large amount of time of tester, and labor intensity is big, human cost is high.For a long time dull uninteresting manual operation also might not reach needed test request.
Summary of the invention
The object of the present invention is to provide a kind of method of automatically testing stability of set-top box in batches repeatedly.
The embodiment of the invention is achieved in that a kind of set-top box automatic test approach, may further comprise the steps:
A: set up an automatic test monitoring program;
B: when mobile device inserted and be effective, the test script file of title of whether having an agreement in the checkout equipment if having, entered step c;
C: whether the detection script file content is not empty and effective, if enter steps d;
D: read the script file content, send corresponding key assignments, realize autorun according to content.
Wherein, also comprise before the step a: write test script file according to the test needs.
Wherein, with described test script file with the agreement name storage in mobile device.
Wherein, the descriptor format that can discern with set-top box according to testing requirement of described test script file is write.
Wherein, among the described step c,, then eject the test script unavailable emphasis if the detection script file content is empty.
Wherein, if extract mobile device midway, then provide corresponding prompting interrupt test operation after the step b.
The embodiment of the invention compared with prior art, beneficial effect is: the present invention utilizes the USB function of set-top box, by sending key testing instruction automatically set-top box is carried out hard intensity, test on a large scale.Testing efficiency, test intensity, test flexibility ratio have been improved greatly.Also allow tester or software developer broken away from heavy dullness artificial test, reduced human cost, saved the plenty of time.
Description of drawings
Fig. 1 is the inventive method flow chart.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.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.
See also shown in Figure 1ly, comprising:
Step 101: according to the test needs write test script file, and with this script file with the agreement name storage in mobile device.The descriptor format that test script can be discerned with set-top box according to testing requirement is write.
Wherein, test script can flexible, such as need being written as so by accessing the function that set-top box EPG come the search in real time of test machine top box and show EPG:
For (i=0; I<1000; I++)/this cycle-index of * can according to test request adjust */
{
Send_EPG_Key; / * analog telecommand device send EPG key command */
Delay (10); / * at interval 10 seconds */
Send_Exit_Key; / * analog telecommand device send withdraw from key command */
}
So just can test and enter and withdraw from the EPG function repeatedly 1000 times.
Step 102: set up an automatic test monitoring program.
Step 103: when mobile device inserted and be effective, the test script file of title of whether having an agreement in the checkout equipment if having, entered step 104; Otherwise finish.
Step 104: whether the detection script file content is not empty and effective, if enter step 105; Otherwise, enter step 106;
Step 105: read the script file content, send corresponding key assignments, realize autorun according to content.
Step 106: eject the test script unavailable emphasis.
Wherein, if extract mobile device midway, then provide corresponding prompting interrupt test operation.
The present invention utilizes the USB function of set-top box, by sending the key testing instruction automatically set-top box is carried out hard intensity, test on a large scale.Testing efficiency, test intensity, test flexibility ratio have been improved greatly.Also allow tester or software developer broken away from heavy dullness artificial test, reduced human cost, saved the plenty of time.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.
Claims (6)
1. a set-top box automatic test approach is characterized in that, may further comprise the steps:
A: set up an automatic test monitoring program;
B: when mobile device inserted and be effective, the test script file of title of whether having an agreement in the checkout equipment if having, entered step c;
C: whether the detection script file content is not empty and effective, if enter steps d;
D: read the script file content, send corresponding key assignments, realize autorun according to content.
2. set-top box automatic test approach as claimed in claim 1 is characterized in that, also comprises before the step a: write test script file according to the test needs.
3. set-top box automatic test approach as claimed in claim 2 is characterized in that, with described test script file with the agreement name storage in mobile device.
4. set-top box automatic test approach as claimed in claim 3 is characterized in that the descriptor format that described test script file can be discerned with set-top box according to testing requirement is write.
5. set-top box automatic test approach as claimed in claim 4 is characterized in that, among the described step c, if the detection script file content is empty, then ejects the test script unavailable emphasis.
6. as each described set-top box automatic test approach of claim 1 to 5, it is characterized in that, if extract mobile device midway, then provide corresponding prompting interrupt test operation after the step b.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010102769123A CN101969577A (en) | 2010-09-08 | 2010-09-08 | Method for automatically testing set top box |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010102769123A CN101969577A (en) | 2010-09-08 | 2010-09-08 | Method for automatically testing set top box |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101969577A true CN101969577A (en) | 2011-02-09 |
Family
ID=43548655
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010102769123A Pending CN101969577A (en) | 2010-09-08 | 2010-09-08 | Method for automatically testing set top box |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101969577A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102523475A (en) * | 2011-12-08 | 2012-06-27 | 深圳创维-Rgb电子有限公司 | Testing method and device for electronic products, and television |
CN102546296A (en) * | 2011-12-31 | 2012-07-04 | 广东电网公司信息中心 | Automatic detecting method and device for electric power industry information system networking safety evaluation |
CN102665092A (en) * | 2012-03-06 | 2012-09-12 | 四川金网通电子科技有限公司 | Test method for hardware of set top box |
CN104639938A (en) * | 2015-03-11 | 2015-05-20 | 浪潮软件集团有限公司 | Method and device for testing set top box equipment |
CN104780360A (en) * | 2015-03-18 | 2015-07-15 | 福建新大陆通信科技股份有限公司 | Set top box debugging method and set top box debugging system |
CN105141863A (en) * | 2015-07-06 | 2015-12-09 | Tcl海外电子(惠州)有限公司 | Television production debugging method and television production debugging device |
CN105704487A (en) * | 2015-04-27 | 2016-06-22 | 深圳Tcl数字技术有限公司 | Television stability testing method and device |
CN108810525A (en) * | 2018-06-05 | 2018-11-13 | 深圳市佳视百科技有限责任公司 | A kind of combined Intelligent set top box volume production test method and system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859581A (en) * | 2005-12-02 | 2006-11-08 | 华为技术有限公司 | Detecting system for IP set-top tox and realizing method |
CN1953564A (en) * | 2006-11-22 | 2007-04-25 | Ut斯达康通讯有限公司 | A test system and method for set top box |
CN101183312A (en) * | 2007-12-12 | 2008-05-21 | 中兴通讯股份有限公司 | Method for realizing version upgrade and backup of terminal by switch-in USB memory apparatus |
CN101404720A (en) * | 2008-11-13 | 2009-04-08 | 四川长虹电器股份有限公司 | Peripheral resource management method for set-top box |
CN101448172A (en) * | 2007-11-27 | 2009-06-03 | 上海未来宽带技术及应用工程研究中心有限公司 | Method for automatically testing stability of set-top box in batches |
CN101650695A (en) * | 2009-08-27 | 2010-02-17 | 深圳市同洲电子股份有限公司 | Method and digital TV receiving terminal for mounting storage device |
-
2010
- 2010-09-08 CN CN2010102769123A patent/CN101969577A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859581A (en) * | 2005-12-02 | 2006-11-08 | 华为技术有限公司 | Detecting system for IP set-top tox and realizing method |
CN1953564A (en) * | 2006-11-22 | 2007-04-25 | Ut斯达康通讯有限公司 | A test system and method for set top box |
CN101448172A (en) * | 2007-11-27 | 2009-06-03 | 上海未来宽带技术及应用工程研究中心有限公司 | Method for automatically testing stability of set-top box in batches |
CN101183312A (en) * | 2007-12-12 | 2008-05-21 | 中兴通讯股份有限公司 | Method for realizing version upgrade and backup of terminal by switch-in USB memory apparatus |
CN101404720A (en) * | 2008-11-13 | 2009-04-08 | 四川长虹电器股份有限公司 | Peripheral resource management method for set-top box |
CN101650695A (en) * | 2009-08-27 | 2010-02-17 | 深圳市同洲电子股份有限公司 | Method and digital TV receiving terminal for mounting storage device |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102523475A (en) * | 2011-12-08 | 2012-06-27 | 深圳创维-Rgb电子有限公司 | Testing method and device for electronic products, and television |
CN102546296A (en) * | 2011-12-31 | 2012-07-04 | 广东电网公司信息中心 | Automatic detecting method and device for electric power industry information system networking safety evaluation |
CN102546296B (en) * | 2011-12-31 | 2014-12-31 | 广东电网公司信息中心 | Automatic detecting method and device for electric power industry information system networking safety evaluation |
CN102665092A (en) * | 2012-03-06 | 2012-09-12 | 四川金网通电子科技有限公司 | Test method for hardware of set top box |
CN104639938A (en) * | 2015-03-11 | 2015-05-20 | 浪潮软件集团有限公司 | Method and device for testing set top box equipment |
CN104780360A (en) * | 2015-03-18 | 2015-07-15 | 福建新大陆通信科技股份有限公司 | Set top box debugging method and set top box debugging system |
CN105704487A (en) * | 2015-04-27 | 2016-06-22 | 深圳Tcl数字技术有限公司 | Television stability testing method and device |
CN105141863A (en) * | 2015-07-06 | 2015-12-09 | Tcl海外电子(惠州)有限公司 | Television production debugging method and television production debugging device |
CN108810525A (en) * | 2018-06-05 | 2018-11-13 | 深圳市佳视百科技有限责任公司 | A kind of combined Intelligent set top box volume production test method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101969577A (en) | Method for automatically testing set top box | |
CN102665093B (en) | Test method for set top box and test system thereof | |
CN107516510B (en) | Automatic voice testing method and device for intelligent equipment | |
CN109086199B (en) | Method, terminal and storage medium for automatically generating test script | |
CN104424094A (en) | Method and device for obtaining abnormal information and intelligent terminal device | |
CN103974061B (en) | A kind of method of testing and system play | |
CN104424092A (en) | Page loading time length testing method and device | |
CN102799630B (en) | Automatically the method for multimedia form, device and multimedia equipment are identified | |
CN110727587A (en) | Test data acquisition method and device, storage medium and computer equipment | |
WO2014138097A1 (en) | Mobile device monitoring and testing | |
CN102467442A (en) | Software testing method, system and equipment | |
CN101521782B (en) | Method for fast-forward and fast-backward browsing video, system and multimedia equipment | |
CN104185066A (en) | Method and device for automatically verifying electronic program menu | |
CN112652302B (en) | Voice control method, device, terminal and storage medium | |
US20070168735A1 (en) | System and method for automatic testing | |
CN103905925A (en) | Method and terminal for repeatedly playing program | |
CN103019899A (en) | Method and system for replaying intelligent terminal event as well as intelligent terminal | |
CN104090855A (en) | Method and device for making USB (universal serial bus) mode and MHL (mobile high-definition link) mode of USB interface compatible | |
CN112995749A (en) | Method, device and equipment for processing video subtitles and storage medium | |
CN103152633B (en) | A kind of recognition methods of keyword and device | |
CN109254709A (en) | Screenshotss processing method, device, equipment and machine readable media | |
CN104349173A (en) | Video repeating method and device | |
CN101572778B (en) | Method and system for broadcasting programs | |
CN106569854A (en) | Method and system for setting device firmware and realizing factory testing | |
CN101951461A (en) | Method for reading electronic book by using set top box |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20110209 |