CN101448172A - Method for automatically testing stability of set-top box in batches - Google Patents

Method for automatically testing stability of set-top box in batches Download PDF

Info

Publication number
CN101448172A
CN101448172A CNA2007101711015A CN200710171101A CN101448172A CN 101448172 A CN101448172 A CN 101448172A CN A2007101711015 A CNA2007101711015 A CN A2007101711015A CN 200710171101 A CN200710171101 A CN 200710171101A CN 101448172 A CN101448172 A CN 101448172A
Authority
CN
China
Prior art keywords
top box
special descriptor
instruction
test
data
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
Application number
CNA2007101711015A
Other languages
Chinese (zh)
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.)
Shanghai B Star Co Ltd
Original Assignee
Shanghai B Star 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 Shanghai B Star Co Ltd filed Critical Shanghai B Star Co Ltd
Priority to CNA2007101711015A priority Critical patent/CN101448172A/en
Publication of CN101448172A publication Critical patent/CN101448172A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention relates to a method for automatically testing the stability of a set-top box in batches, comprising the steps as follows: a testing main-controlled computer sends special descriptor instructions for a data server; the data server receives the special descriptor instructions and inserts the instructions in a data to be sent to the set-top box so as to form a data package; the data package is sent to a specified set-top box; the set-top box receives the data package which is sent by the data server; the set-top box monitors whether the data package contains the special descriptor instructions or not in real time; if so, the set-top box analyzes the special descriptor instructions, executes the remote controller keystroke operation corresponding to the instructions and carries out the stability test; the set-top box detects whether Bug appears or not during the testing process; if so, the Bug is written in a specified log file. Compared with the prior art, the method leads the testing operation for the set-top box to save time and effort and have high efficiency.

Description

A kind of method of automatically testing stability of set-top box in batches
Technical field
The present invention relates to the test automation technology, particularly relate to the method for the automatically testing stability of set-top box in batches of a kind of IPTV of being used for.
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.
In existing stability of set-top box test, mainly contain 2 kinds of methods.The manual testing be burnt in the set-top box test automatically.
The manual testing finishes the operation of remote controller key is manual by the tester, 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 after Bug (mistake) occurring, difficulty is found out the reproduction rule, because do not known that how to operate in the front.
The autotest program (as the switching of Menu/EPG) that is burnt in the set-top box test automatically and is analog telecommand device button is burnt in the set-top box in advance, then some button of remote controller is decided to be that test program begins, end key, starts, finish test automatically by remote controller key.The problem that this kind method of testing is brought is:
1. if there is large batch of set-top box to need test, all burning test programs of every box, cause time-consuming, effort.
2. in case automatic test case upgrades, and all needs to be burnt to again in the set-top box, causes the duplication of labour, efficient is not high.As: current autotest program is upwards to cut platform once at the channel interface every 30 seconds, needs now test in that to cut platform intact, carries out quiet/non-quiet handover operation.Carry out above test and then the new quiet/non-quiet autotest program that comprises can only be burnt in the set-top box again, carry out test.
3. the test environment to changing can not be made corresponding reaction.Interrupt as code stream, the test program of cutting platform does not automatically still miss according to operation, easily causes the flow process disorder of back program, and is unfavorable to searching Bug.
Summary of the invention
Purpose of the present invention is exactly the method that a kind of automatically testing stability of set-top box in batches is provided for the defective that overcomes above-mentioned prior art existence.
Purpose of the present invention can be achieved through the following technical solutions: a kind of method of automatically testing stability of set-top box in batches is characterized in that this method may further comprise the steps:
100. the test main control computer sends special descriptor instruction to data server;
110. after data server receives special descriptor instruction, this instruction is inserted into to be sent giving in the data of set-top box, forms packet, and send to the set-top box of appointment;
120. set-top box receives the packet that data server sends over;
130. whether special descriptor instruction is arranged in the set-top box periodic monitor packet; If no, then return step 120;
140. if monitor special descriptor instruction, then set-top box is resolved special descriptor instruction, and execution command corresponding remote controller button operation carries out stability test;
150. set-top box is monitored it in test process, Bug whether occurs; If no, then return step 120;
If, then Bug is write specific journal file 160. monitor Bug.
Described special descriptor instruction is the combination of special descriptor.
Described special descriptor is and the corresponding letter or number of each button operation of remote controller that described special descriptor freely forms special descriptor instruction, with the continued operation of expression remote controller key.
Described data to set-top box to be sent are electronic program guide web pages data or video stream data.
Described packet is the Section bag.
Described special descriptor instruction can be added, delete or revise in the test main control computer by the tester.
Compared with prior art, the present invention has following advantage:
1. the tester only need be provided with special descriptor instruction, has alleviated tester's working strength, has reduced tester's operating time;
Test job can be in batches, finish automatically, time saving and energy saving, the efficient height;
3. wanting the refresh test use-case only to need to set in the test main control computer gets final product.
Description of drawings
Fig. 1 is a flow chart of the present invention;
Fig. 2 is the procedure chart of the replacing automatic test case of embodiments of the invention;
Fig. 3 is a hardware configuration schematic diagram of the present invention.
Embodiment
The invention will be further described below in conjunction with accompanying drawing.
As Fig. 1~shown in Figure 3, present embodiment provides a kind of method of automatically testing stability of set-top box in batches, realizes once just testing automatically the stability of many set-top box simultaneously.
Before test, the tester need stipulate the instruction of special descriptor, this special descriptor instruction be used for and remote controller on button be mapped.Set-top box 3 will be carried out the corresponding remote controller button operation after receiving this special descriptor instruction; Simultaneously special descriptor can independent assortment be represented the continued operation of remote controller key.
Table 1 is the remote controller key operation and special descriptor correspondence table of present embodiment; For the ease of writing of test program, wherein by [OK] key with 0 as cue mark; With 1 as cue mark, by that analogy, button operation also can directly adopt alphabetic flag by [UP] key.
The remote controller operation Cue mark
By [OK] 0
By [UP] 1
By [DOWN] 2
By [Menu] 3
By [VOL+] 4
By [VOL-] 5
..... .....
Table 1
Table 2 is the continued operation and the special descriptor instruction correspondence table of the remote controller key of present embodiment; In order to simulate the stability that the remote controller button comes test machine top box 3 of passing through of not stopping, remote controller operation and special descriptor corresponding relation according to table 1 make up various continuous button operations, and represent with the mode of set.For example, 320 expressions access main menu by [Menu] earlier, choose subordinate's menu by [DOWN] again, enter by [OK] again.
The remote controller operation Instruction set Explanation
By [Menu]-[DOWN]-[OK] 320 Access main menu by [Menu] earlier, choose subordinate's menu by [DOWN] again, enter by [OK] again
By [DOWN]-[OK] 20 By [DOWN], enter by [OK] more earlier
...... ......
Table 2
Present embodiment also comprises test main control computer 1, is used for sending test instruction, and nominative testing set-top box 3 is carried out batch testing.The tester is the form of special descriptor instruction with test case definition on test main control computer 1.The tester can carry out following operation on main control computer:
1. add, delete test case (as: adding enquiry machine top box internal memory operating position test case etc.).
2. modification test case, modify instruction combination (as: the key combination mode that edit key order, modification have existed).
3. specifying special descriptor instruction to send to which set-top box, can be all set-top box or part set-top box (as: sending to the set-top box of numbering 1-100).
Present embodiment also comprises data server, data server 2 is responsible for the special descriptor instruction that acceptance test main control computer 1 sends to set-top box 3, and instruction of special descriptor and other data (as EPG webpage or video stream data) are beaten in Section wraps, and send to set-top box 3.
During test, test main control computer 1 sends to data server 2 to special descriptor instruction earlier, by data server 2 special descriptor instruction is inserted in the Section bag that sends to set-top box 3, is handed down to set-top box 3 by Network Transmission then; All set-top box or part set-top box timing (as every 1 minute) are collected the Section bag and are detected whether special descriptor instruction is arranged from network.If have then and resolved, and carry out its corresponding remote controller button operation, test automatically.In the test process,, then write down Bug, be written in the particular log file if find that Bug is arranged.Idiographic flow is as follows:
As shown in Figure 1,
Shown in flow process 100, the test main control computer sends special descriptor instruction to data server;
Shown in flow process 110, data server is inserted into them in other data (as EPG webpage or video stream data) after receiving special descriptor instruction, forms the Section bag; And send to set-top box;
Shown in flow process 120, set-top box receives the Section bag that data server sends over;
Shown in flow process 130, whether special descriptor instruction is arranged in the set-top box periodic monitor Section bag, if do not have, change flow process 120 over to;
Shown in flow process 140, set-top box has been judged special descriptor instruction, and then set-top box is resolved special descriptor instruction, and execution command corresponding remote controller button operation carries out the stability test flow process automatically.Such as, enter menu repeatedly; Switching channels etc. repeatedly;
Shown in flow process 150, in the test process, whether set-top box bug occurs, if do not have, changes flow process 120 over to;
Shown in flow process 160, test writes specific journal file with bug after finding bug.
If the tester increases on test main control computer 1 or has revised test case, and need change the test case of set-top box, the tester only need resend new test case to data server 2, break into new Section bag by data server 2, after set-top box 3 receives, resolve and begin the automatic test of new test case again.Detailed process is as follows:
As shown in Figure 2,
Shown in flow process 200, at the beginning, set-top box is moved automatic monitoring facilities and is monitored whether special descriptor instruction is arranged;
Shown in flow process 210, on the test main control computer, the tester adds automatic test case 1 instruction;
Shown in flow process 220, instruction 1 is sent to data server;
Shown in flow process 230, data server breaks into the Section bag to instruction 1;
Shown in flow process 240, data server is passed to set-top box to the Section bag by network;
Shown in flow process 250, set-top box receives special descriptor instruction, resolves;
Shown in flow process 260, carry out the corresponding key operation, test automatically;
Shown in flow process 270, on the test main control computer, the tester has revised automatic test case n instruction;
Shown in flow process 280, again instruction n is sent to data server;
Shown in flow process 290, data server breaks into the Section bag again to instruction n;
Shown in flow process 300, data server is passed to set-top box to the Section bag by network;
Shown in flow process 310, set-top box receives special descriptor instruction, resolves, and carries out the corresponding key operation, tests automatically.
As mentioned above, the tester only need just can carry out different test operations by special descriptor in the test main control computer 1 change test case, and need not test case is burnt in every set-top box 3.Simultaneously also can assign all or part set-top box to test automatically.
Above-mentioned test main control computer 1, data server 2 and set-top box 3 are connected by broadband cabled television network network, as shown in Figure 3.

Claims (6)

1. the method for an automatically testing stability of set-top box in batches is characterized in that, this method may further comprise the steps:
100. the test main control computer sends special descriptor instruction to data server;
110. after data server receives special descriptor instruction, this instruction is inserted into to be sent giving in the data of set-top box, forms packet, and send to the set-top box of appointment;
120. set-top box receives the packet that data server sends over;
130. whether special descriptor instruction is arranged in the set-top box periodic monitor packet; If no, then return step 120;
140. if monitor special descriptor instruction, then set-top box is resolved special descriptor instruction, and execution command corresponding remote controller button operation carries out stability test;
150. set-top box is monitored it in test process, Bug whether occurs; If no, then return step 120;
If, then Bug is write specific journal file 160. monitor Bug.
2. the method for a kind of automatically testing stability of set-top box in batches according to claim 1 is characterized in that, described special descriptor instruction is the combination of special descriptor.
3. the method for a kind of automatically testing stability of set-top box in batches according to claim 2, it is characterized in that, described special descriptor is the corresponding letter or number of each button operation with remote controller, described special descriptor freely forms special descriptor instruction, with the continued operation of expression remote controller key.
4. the method for a kind of automatically testing stability of set-top box in batches according to claim 1 is characterized in that, described data to set-top box to be sent are electronic program guide web pages data or video stream data.
5. the method for a kind of automatically testing stability of set-top box in batches according to claim 1 is characterized in that, described packet is the Section bag.
6. the method for a kind of automatically testing stability of set-top box in batches according to claim 1 and 2 is characterized in that, described special descriptor instruction can be added, delete or revise in the test main control computer by the tester.
CNA2007101711015A 2007-11-27 2007-11-27 Method for automatically testing stability of set-top box in batches Pending CN101448172A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007101711015A CN101448172A (en) 2007-11-27 2007-11-27 Method for automatically testing stability of set-top box in batches

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007101711015A CN101448172A (en) 2007-11-27 2007-11-27 Method for automatically testing stability of set-top box in batches

Publications (1)

Publication Number Publication Date
CN101448172A true CN101448172A (en) 2009-06-03

Family

ID=40743515

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007101711015A Pending CN101448172A (en) 2007-11-27 2007-11-27 Method for automatically testing stability of set-top box in batches

Country Status (1)

Country Link
CN (1) CN101448172A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101969577A (en) * 2010-09-08 2011-02-09 康佳集团股份有限公司 Method for automatically testing set top box
CN102098534A (en) * 2010-12-22 2011-06-15 中兴通讯股份有限公司 Method and system for detecting network television set top box
CN101778307B (en) * 2010-02-05 2012-08-08 广东九联科技股份有限公司 Device for testing functions of set top box
CN102662785A (en) * 2012-04-12 2012-09-12 青岛海信移动通信技术股份有限公司 Method and device for acquiring kernel error messages of Android system
CN102892029A (en) * 2011-07-18 2013-01-23 深圳市龙视传媒有限公司 Digital television testing method, system and terminal testing equipment
CN103002318A (en) * 2012-12-05 2013-03-27 深圳创维数字技术股份有限公司 Automatic test method and automatic test system of digital television receiving terminal
CN103067737A (en) * 2012-12-21 2013-04-24 深圳创维数字技术股份有限公司 Automated testing method and system
CN103605604A (en) * 2013-11-21 2014-02-26 四川九洲电器集团有限责任公司 Method for batch testing of set-top box software stability
CN104022921A (en) * 2014-06-26 2014-09-03 北京安兔兔科技有限公司 Method and device for testing performance of device
CN104331369A (en) * 2014-11-21 2015-02-04 北京奇虎科技有限公司 Browser-based webpage detection method and device, and server
CN104918043A (en) * 2014-03-12 2015-09-16 北京市博汇科技股份有限公司 Program broadcast testing method and device
CN108650501A (en) * 2018-03-29 2018-10-12 深圳市九洲电器有限公司 A kind of method, apparatus and electronic equipment of test stability of set-top box
CN112532966A (en) * 2019-08-27 2021-03-19 中兴通讯股份有限公司 Set top box testing method and device, set top box and computer readable storage medium
WO2023045720A1 (en) * 2021-09-24 2023-03-30 晶晨半导体(上海)股份有限公司 Multimedia product burn-in apparatus

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101778307B (en) * 2010-02-05 2012-08-08 广东九联科技股份有限公司 Device for testing functions of set top box
CN101969577A (en) * 2010-09-08 2011-02-09 康佳集团股份有限公司 Method for automatically testing set top box
CN102098534B (en) * 2010-12-22 2014-12-17 中兴通讯股份有限公司 Method and system for detecting network television set top box
CN102098534A (en) * 2010-12-22 2011-06-15 中兴通讯股份有限公司 Method and system for detecting network television set top box
CN102892029A (en) * 2011-07-18 2013-01-23 深圳市龙视传媒有限公司 Digital television testing method, system and terminal testing equipment
CN102662785A (en) * 2012-04-12 2012-09-12 青岛海信移动通信技术股份有限公司 Method and device for acquiring kernel error messages of Android system
CN102662785B (en) * 2012-04-12 2020-09-25 青岛海信移动通信技术股份有限公司 Method and device for acquiring kernel error information of Android system
CN103002318B (en) * 2012-12-05 2015-02-04 深圳创维数字技术股份有限公司 Automatic test method and automatic test system of digital television receiving terminal
CN103002318A (en) * 2012-12-05 2013-03-27 深圳创维数字技术股份有限公司 Automatic test method and automatic test system of digital television receiving terminal
CN103067737A (en) * 2012-12-21 2013-04-24 深圳创维数字技术股份有限公司 Automated testing method and system
CN103605604A (en) * 2013-11-21 2014-02-26 四川九洲电器集团有限责任公司 Method for batch testing of set-top box software stability
CN103605604B (en) * 2013-11-21 2016-06-29 四川九洲电器集团有限责任公司 A kind of method of batch testing set-top box software stability
CN104918043A (en) * 2014-03-12 2015-09-16 北京市博汇科技股份有限公司 Program broadcast testing method and device
CN104918043B (en) * 2014-03-12 2017-06-16 北京市博汇科技股份有限公司 Program dial testing method and device
CN104022921B (en) * 2014-06-26 2019-01-08 北京安兔兔科技有限公司 A kind of equipment performance test method and device
CN104022921A (en) * 2014-06-26 2014-09-03 北京安兔兔科技有限公司 Method and device for testing performance of device
CN104331369A (en) * 2014-11-21 2015-02-04 北京奇虎科技有限公司 Browser-based webpage detection method and device, and server
CN104331369B (en) * 2014-11-21 2019-10-15 北京奇虎科技有限公司 Page detection method and device, server based on browser
CN108650501A (en) * 2018-03-29 2018-10-12 深圳市九洲电器有限公司 A kind of method, apparatus and electronic equipment of test stability of set-top box
CN112532966A (en) * 2019-08-27 2021-03-19 中兴通讯股份有限公司 Set top box testing method and device, set top box and computer readable storage medium
WO2023045720A1 (en) * 2021-09-24 2023-03-30 晶晨半导体(上海)股份有限公司 Multimedia product burn-in apparatus

Similar Documents

Publication Publication Date Title
CN101448172A (en) Method for automatically testing stability of set-top box in batches
CN101175284B (en) Function testing method of portable electronic apparatus
CN102665093B (en) Test method for set top box and test system thereof
EP1478193A2 (en) Generation of test streams for testing digital TV software
CN100361079C (en) Method for testing synchronous automatic installation for system including multiple complete computers
CN108459951B (en) Test method and device
CN111104315A (en) Test script generation method and device and computer readable storage medium
CN101944059A (en) Automatic analysis method and device of crash information of computer software
CN201123074Y (en) Testing device for detecting stability of set-top box
CN101174237B (en) Automatic test method, system and test device
US20140176728A1 (en) Receiver and a transmitter
CN112328489A (en) Test case generation method and device, terminal equipment and storage medium
CN101969577A (en) Method for automatically testing set top box
CN113010473B (en) Method and equipment for editing YAML file
CN114238081A (en) Method and system suitable for small satellite batch test
CN113419969A (en) Interface automatic formation power guarantee method based on browser plug-in
CN114546862A (en) Dialogue test method and device, electronic equipment and computer readable storage medium
CN101500071B (en) Method for debugging index parameter of digital set-top box
CN103220579A (en) Automatic processing method of time shift programme
CN102902610A (en) Method for debugging Widget application program by simulator
CN101710952B (en) Method and system for storing and displaying EPG data in XML format
CN105893047B (en) A kind of bilingual moonlet test macro
CN109274449B (en) Broadcast single management control method for active broadcast station
CN100450158C (en) Chinese EPG playbill data editing method and apparatus
CN113127332A (en) Graphical user interface testing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20090603