CN102340687A - Set-top box testing system and method - Google Patents

Set-top box testing system and method Download PDF

Info

Publication number
CN102340687A
CN102340687A CN2011103138895A CN201110313889A CN102340687A CN 102340687 A CN102340687 A CN 102340687A CN 2011103138895 A CN2011103138895 A CN 2011103138895A CN 201110313889 A CN201110313889 A CN 201110313889A CN 102340687 A CN102340687 A CN 102340687A
Authority
CN
China
Prior art keywords
top box
module
order
test
stb
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
CN2011103138895A
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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN2011103138895A priority Critical patent/CN102340687A/en
Publication of CN102340687A publication Critical patent/CN102340687A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention relates to a set-top box testing system and a set-top box testing method. The system comprises a command generation unit and a set-top box execution unit which are connected. The set-top box execution unit receives a command. A case management module and a data configuration module are set in the command generation unit, and are connected with each other. The output of the data configuration module is connected to the command generation module. The command generation module is also connected with a transmission module. The set-top box execution unit comprises a command receiving module and a processing module which are connected with each other. The command receiving module is connected with the transmission unit. By the set-top box testing system and the set-top box testing method provided by the invention, set-top boxes can be tested automatically by test cases to fulfill the aim of comprehensively and deeply testing different set-top boxes, realize flow and standard testing, remarkably improve test efficiency, reduce human participation and avoid kinds of influence of factors such as experiences of testers, methods and the like on test results can be avoided.

Description

The set top box testing system and method
Technical field
The present invention relates to the set top box testing system and method.
Background technology
DTV STB test at present; At first be to write test case according to the function of STB; Then test case is managed through the Excel file; Test through manual mode according to the description of test case by the tester again, and compare according to the result of test phenomenon of being seen and use-case expectation.Not comprehensive usually to the test of STB like this; Test result tested person personnel's experience and subjectivity influence are very big; The problem that can't find out set-top-box system as much as possible and implied, and same set of test case, the result of different tester's tests also is not quite similar.Simultaneously, all use the Excel file to preserve and manage all test cases, not only efficiency of managing is low, and when the data complicacy is various, is easy to occur mistake.
Its cost of testing software of specialty is too high; And in test process,, can not meet the system business logic of tested STB fully owing to be not the special tested STB that is directed against; The result of its test can not reflect the particular problem that STB exists; Can only help the developer to search the mistake on some codings, safeguard that the human cost of getting up to need is also bigger, so professional test software be not suitable for STB is carried out deep comprehensively test.
Summary of the invention
The invention provides a kind of set top box testing system and method; Automatically STB is tested through test case; Reach the purpose of carrying out comprehensively, deeply testing to different STBs; And testing efficiency is significantly improved, and realizes procedure and standardized management to set top box testing.
Set top box testing of the present invention system; Comprise order generation unit that is connected and the STB performance element that receives order; Wherein order and have case management module and the data configuration module that is connected in the generation unit; The output of data configuration module is connected to the order generation module, and the order generation module also is connected with sending module; The STB performance element comprises order receiver module and the processing module that is connected, and wherein orders receiver module to be connected with described transmitting element.
Wherein the case management module is used for the function library of test case is managed, the basic data and the data relationship that provide system to need.The relation of various data between data configuration block configuration test case and order line that is provided resolved configuration information by the order generation module again, and data organization is got up, and generates order line.Through sending module order line is sent to the receiver module of STB, STB receives the back and carries out the order that receives by the processing module of self, accomplishes test.Through system of the present invention, set top box testing is accomplished by system automatically, and various test cases are managed by special module, realize the modularization and the procedure of test, reduced tester's subjective factor, improved the comprehensive and deep-going of test.
Preferred a kind of scheme is that the case management module comprises database that has test case and the display unit that shows test case.Utilize database that test case is managed, can conveniently call, can also retrieve, edit and make up test case flexibly so that each test case classification storage makes it logic.
Further, the order receiver module is connected with transmitting element through serial mode, and order receiver module and transmitting element carry out the transmission and the feedback of data through serial ports.
The present invention also provides a kind of set-top box test method that is used for said system, comprising:
The test case of STB and the relation between each data are provided;
Relation between configuration testing use-case and the order line;
Generate test command according to the relation between test case and the order line;
The order that is generated is sent to STB to be received;
The order that set-top box processes receives, and the result of feedback processing.
In the method; Only write test case and send the participation that test command need be artificial; Other step is all accomplished by system, has improved the standardization and the efficient of test, has avoided because the various influences that factors such as tester's experience, method produce test result.
Preferably, through database the test case of STB and the relation between each data are provided.Test case is through importing or the mode of input stores in the database, in database, can retrieve according to information such as the title of test case, types, operation such as editor.Simultaneously can also be according to the test sight, the combined test use-case generates the test command file.
Another kind of preferable methods does, through the relation between the preservation of XML (extend markup language) file and configuration testing use-case and each data.The XML file is a kind of common file format, can be applicable to various program languages and database, and can describe various information accurately.
Further, the order of generation and the feedback information of STB transmit through the serial communication mode, can also on display unit, show the result after the feedback processing simultaneously.
Set top box testing system and method for the present invention; System is tested STB through test case automatically; Reached the purpose of carrying out comprehensively, deeply testing, make test form procedure and standardization, and testing efficiency has been significantly improved to different STBs; Reduced artificial participation, avoided because the various influences that factors such as tester's experience, method produce test result.
Below in conjunction with the embodiment of accompanying drawing illustrated embodiment, foregoing of the present invention is remake further detailed description.But should this be interpreted as that the scope of the above-mentioned theme of the present invention only limits to following instance.Do not breaking away under the above-mentioned technological thought situation of the present invention, various replacements or change according to ordinary skill knowledge and customary means are made all should comprise within the scope of the invention.
Description of drawings
Fig. 1 is the block diagram of set top box testing of the present invention system.
Fig. 2 is the method flow diagram that is used for Fig. 1.
Embodiment
Embodiment 1:
Set top box testing of the present invention as shown in Figure 1 system comprises order generation unit that is connected and the STB performance element that receives order, and the order generation unit can or have similar functions equipment for computer.Wherein order to have case management module and the data configuration module that is connected in the generation unit, the case management module comprises database (not shown) that has test case and the display unit (not shown) that shows test case.Utilize database that test case is managed, can conveniently call, can also retrieve, edit and make up test case flexibly so that each test case classification storage makes it logic.The output of data configuration module is connected to the order generation module, and the order generation module also is connected with sending module; The STB performance element comprises order receiver module and the processing module that is connected, and wherein orders receiver module to be connected through serial ports with described transmitting element, carries out the transmission and the feedback of data.
The case management module is used for the function library of test case is managed, the basic data and the data relationship that provide system to need.The relation of various data between data configuration block configuration test case and order line that is provided resolved configuration information by the order generation module again, and data organization is got up, and generates order line.Through sending module order line is sent to the receiver module of STB, STB receives the back and carries out the order that receives by the processing module of self, accomplishes test, and test result is fed back to the order generation unit through serial ports.
System through present embodiment; Set top box testing is accomplished by system automatically, and various test cases are managed, realize the modularization and the procedure of test by special module; Reduce tester's subjective factor, improved the comprehensive and deep-going of test.
Embodiment 2:
Set-top box test method of the present invention as shown in Figure 2 comprises:
Through database the test case of STB and the relation between each data are provided; Test case is through importing or the mode of input stores in the database, in database, can retrieve according to information such as the title of test case, types, operation such as editor.Simultaneously can also be according to the test sight, the combined test use-case generates the test command file.
Through the relation between the preservation of XML (extend markup language) file and configuration testing use-case and each data.The XML file is a kind of common file format, can be applicable to various program languages and database, and can describe various information accurately.For example, generate the XML file of following form:
Figure BDA0000099254920000031
Figure BDA0000099254920000041
According to the test case of XML file description and the relation between the order line, resolve accordingly, related data is organized, and on display unit display result, generate test command.
The order that is generated is sent to STB through the serial communication mode to be received;
The order that set-top box processes receives through the result of serial communication mode feedback processing, can also show the result after the feedback processing equally simultaneously on display unit.
Method through present embodiment; Only when writing test case and sending test command, need artificial participation; Other step is all accomplished by system, has improved the standardization and the efficient of test, has avoided because the various influences that factors such as tester's experience, method produce test result.

Claims (7)

1. set top box testing system; It is characterized by and comprise order generation unit that is connected and the STB performance element that receives order; Wherein order and have case management module and the data configuration module that is connected in the generation unit; The output of data configuration module is connected to the order generation module, and the order generation module also is connected with sending module; The STB performance element comprises order receiver module and the processing module that is connected, and wherein orders receiver module to be connected with described transmitting element.
2. set top box testing as claimed in claim 1 system is characterized by the case management module and comprises database that has test case and the display unit that shows test case.
3. according to claim 1 or claim 2 set top box testing system is characterized by the order receiver module and is connected with transmitting element through serial mode.
4. set-top box test method is characterized by and comprises:
The test case of STB and the relation between each data are provided;
Relation between configuration testing use-case and the order line;
Generate test command according to the relation between test case and the order line;
The order that is generated is sent to STB to be received;
The order that set-top box processes receives, and the result of feedback processing.
5. set-top box test method as claimed in claim 4 is characterized by through database the test case of STB and the relation between each data is provided.
6. set-top box test method as claimed in claim 4 is characterized by through the relation between the preservation of XML file and configuration testing use-case and each data.
7. like the described set-top box test method of one of claim 4 to 6, it is characterized by the order of generation and the feedback information of STB and transmit through the serial communication mode.
CN2011103138895A 2011-10-17 2011-10-17 Set-top box testing system and method Pending CN102340687A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011103138895A CN102340687A (en) 2011-10-17 2011-10-17 Set-top box testing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103138895A CN102340687A (en) 2011-10-17 2011-10-17 Set-top box testing system and method

Publications (1)

Publication Number Publication Date
CN102340687A true CN102340687A (en) 2012-02-01

Family

ID=45516160

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103138895A Pending CN102340687A (en) 2011-10-17 2011-10-17 Set-top box testing system and method

Country Status (1)

Country Link
CN (1) CN102340687A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102665094A (en) * 2012-03-27 2012-09-12 深圳市九洲电器有限公司 Test method of set-top box and test system thereof
CN103079086A (en) * 2012-12-30 2013-05-01 广东九联科技股份有限公司 Automatic testing system for set-top box
CN105306928A (en) * 2015-11-19 2016-02-03 浪潮软件集团有限公司 Method and device for testing set top box browser
CN106210886A (en) * 2016-06-28 2016-12-07 深圳市九洲电器有限公司 A kind of network set-top box test method and system
CN110536129A (en) * 2019-08-23 2019-12-03 世纪龙信息网络有限责任公司 Set-top box test method, device, computer equipment and storage medium
CN113852808A (en) * 2021-09-24 2021-12-28 杭州国芯科技股份有限公司 Automatic testing system and testing method for set top box channel

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006087628A1 (en) * 2005-02-17 2006-08-24 Melexis Nv Testing electronic systems
CN101174240A (en) * 2006-11-03 2008-05-07 凌阳科技股份有限公司 Software testing management method and system thereof
CN101478696A (en) * 2008-12-31 2009-07-08 深圳市同洲电子股份有限公司 Automatic test method, system and multimedia device for test cases
CN101646100A (en) * 2009-08-21 2010-02-10 深圳创维数字技术股份有限公司 Method and system for testing machine top box based on serial port communication
CN101778307A (en) * 2010-02-05 2010-07-14 广东九联科技股份有限公司 Device for testing functions of set top box
CN101951529A (en) * 2010-08-31 2011-01-19 中山大学 Method and system for testing functions of set top box
CN102063355A (en) * 2010-12-20 2011-05-18 创新科存储技术有限公司 Automatic test server and system of disk array
US7990418B2 (en) * 2006-08-11 2011-08-02 Hon Hai Precision Industry Co., Ltd. Automated test measurement system and method therefor

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006087628A1 (en) * 2005-02-17 2006-08-24 Melexis Nv Testing electronic systems
US7990418B2 (en) * 2006-08-11 2011-08-02 Hon Hai Precision Industry Co., Ltd. Automated test measurement system and method therefor
CN101174240A (en) * 2006-11-03 2008-05-07 凌阳科技股份有限公司 Software testing management method and system thereof
CN101478696A (en) * 2008-12-31 2009-07-08 深圳市同洲电子股份有限公司 Automatic test method, system and multimedia device for test cases
CN101646100A (en) * 2009-08-21 2010-02-10 深圳创维数字技术股份有限公司 Method and system for testing machine top box based on serial port communication
CN101778307A (en) * 2010-02-05 2010-07-14 广东九联科技股份有限公司 Device for testing functions of set top box
CN101951529A (en) * 2010-08-31 2011-01-19 中山大学 Method and system for testing functions of set top box
CN102063355A (en) * 2010-12-20 2011-05-18 创新科存储技术有限公司 Automatic test server and system of disk array

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102665094A (en) * 2012-03-27 2012-09-12 深圳市九洲电器有限公司 Test method of set-top box and test system thereof
CN103079086A (en) * 2012-12-30 2013-05-01 广东九联科技股份有限公司 Automatic testing system for set-top box
CN105306928A (en) * 2015-11-19 2016-02-03 浪潮软件集团有限公司 Method and device for testing set top box browser
CN106210886A (en) * 2016-06-28 2016-12-07 深圳市九洲电器有限公司 A kind of network set-top box test method and system
CN110536129A (en) * 2019-08-23 2019-12-03 世纪龙信息网络有限责任公司 Set-top box test method, device, computer equipment and storage medium
CN113852808A (en) * 2021-09-24 2021-12-28 杭州国芯科技股份有限公司 Automatic testing system and testing method for set top box channel
CN113852808B (en) * 2021-09-24 2024-03-29 杭州国芯科技股份有限公司 Automatic testing method for set top box channel

Similar Documents

Publication Publication Date Title
CN102340687A (en) Set-top box testing system and method
US11681697B2 (en) Method and device for interface operation and maintenance
CN107632842A (en) Rule configuration and dissemination method, system, equipment and storage medium
CN111813804B (en) Data query method and device, electronic equipment and storage medium
US8463737B2 (en) Realtime unification management information data conversion and monitoring apparatus and method for thereof
EP2991043A1 (en) Methods for generating multiple data reports in vehicles
CN103079086A (en) Automatic testing system for set-top box
US20110235909A1 (en) Analyzing documents using stored templates
Hilliard On representing variation.
WO2014122445A1 (en) A data processing method and apparatus
CN105677567A (en) Automation testing method and system
CN104239312B (en) File management system and method
CN103645893A (en) Software requirement checking method and requirement checking system
Tambe et al. An extensible CBM architecture for naval fleet maintenance using open standards
CN107783870A (en) A kind of server-compatible test result management method and system
AU2017204753A1 (en) Automated engineering order creation
CN105843917A (en) Medical data dictionary standardization method and system based on cloud service
EP2518939A1 (en) Data acquisition method in network resource estimation and system thereof
US10877450B2 (en) Workflow-based change management and documentation system and method
US20150088565A1 (en) Method and system for logistic managing and storage media with logistic managing function
CN107291610A (en) Testing case management and device
CN110489390A (en) Log recording method and device and logger generation method and device
Cussans Hardware and software interface specification for AIDA-2020 common beam tests
KR101649676B1 (en) A search information generation system of the database server and method thereof
CN111356011B (en) Television program production monitoring probe and computer program product

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120201