CN105187822A - Set-top box debugging method and system - Google Patents

Set-top box debugging method and system Download PDF

Info

Publication number
CN105187822A
CN105187822A CN201510577887.5A CN201510577887A CN105187822A CN 105187822 A CN105187822 A CN 105187822A CN 201510577887 A CN201510577887 A CN 201510577887A CN 105187822 A CN105187822 A CN 105187822A
Authority
CN
China
Prior art keywords
top box
debugging message
set top
pid
debugging
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.)
Granted
Application number
CN201510577887.5A
Other languages
Chinese (zh)
Other versions
CN105187822B (en
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.)
Shenzhen Jiuzhou Electric Appliance Co Ltd
Original Assignee
Shenzhen Jiuzhou Electric Appliance 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 Shenzhen Jiuzhou Electric Appliance Co Ltd filed Critical Shenzhen Jiuzhou Electric Appliance Co Ltd
Priority to CN201510577887.5A priority Critical patent/CN105187822B/en
Publication of CN105187822A publication Critical patent/CN105187822A/en
Application granted granted Critical
Publication of CN105187822B publication Critical patent/CN105187822B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to a set-top box debugging method and a set-top box debugging system. The set-top box debugging method comprises the steps of collecting debugging information when a set-top box is a Release version, packaging the debugging information into TS streams of different PID, and distributing the TS streams to an external terminal. Thus, the set-top box can feed back the debugging information for debugging and testing the set-top box, great convenience is brought to the debugging and test of functions of the set-top box, a problem point can be positioned quickly when a problem of the set-top box occurs, the problem solving time is greatly reduced, and development efficiency is increased.

Description

Set Top Box adjustment method and system
Technical field
The present invention relates to the communications field, particularly relate to a kind of Set Top Box adjustment method and system.
Background technology
At present, in set-top box functionality development process, or when the function point of test machine top box, need in code, add some type informations, convenient can show these Debugging message when debug machine top box, can better tracking problem point, auxiliary judgment Set Top Box whether normal operation, thisly comprise Debugging message, and do not do any optimization, the version being convenient to debug is referred to as Debug version.Meanwhile, carried out various optimization this, program is all optimum at code size and the speed of service, and user-friendly version is called Release version.
But when Set Top Box is Release version, Set Top Box needs debugging, when test machine set top box functions, Set Top Box can not feed back Debugging message, this brings very large development difficulty will to debugging and test machine set top box functions, obtaining the Debugging message less than needing, bringing great difficulty to functional development or test function.If Set Top Box goes wrong, be difficult to orientation problem point, delayed the time of dealing with problems, greatly reduced development efficiency.
Summary of the invention
In view of this, be necessary for above-mentioned Set Top Box it is that Release version can not feed back Debugging message, bring the problem of extreme difficulties to development& testing, a kind of Set Top Box adjustment method and system are provided.
The invention provides a kind of Set Top Box adjustment method, comprise the steps:
S10: when Set Top Box is Release version, the Debugging message in real-time collecting Set Top Box;
S20: the TS stream becoming PID different according to grade packaging the Debugging message of collection;
S30: the TS flow point be packaged into is dealt into exterior terminal, receives TS by exterior terminal and flows and resolve, the Debugging message needed for obtaining according to the PID of Debugging message.
Further, described step S10 is specially: the Debugging message in real-time collecting Set Top Box, and is stored in the index file of .m3u8 by the index information of Debugging message.
Further, described step S20 is specially: the TS stream becoming PID different according to grade packaging the Debugging message of collection, and the address in being flowed by PID and TS of different brackets Debugging message is stored in the index file of .m3u8.
The present invention also provides a kind of Set Top Box debug system, comprising:
Collector unit, when Set Top Box is Release version, the Debugging message in real-time collecting Set Top Box;
Encapsulation unit, by the TS stream that the Debugging message of collection becomes PID different according to grade packaging;
Dispatching Unit, is dealt into exterior terminal by the TS flow point be packaged into, and receives TS flow and resolve by exterior terminal, the Debugging message needed for obtaining according to the PID of Debugging message.
Further, the Debugging message in described collector unit real-time collecting Set Top Box, and the index information of Debugging message is stored in the index file of .m3u8.
Further, the TS stream that the Debugging message of collection becomes PID different according to grade packaging by described encapsulation unit, and the address in being flowed by PID and TS of different brackets Debugging message is stored in the index file of .m3u8.
Set Top Box adjustment method of the present invention and system, when being packaged into the different TS stream of PID for collecting Debugging message during Release version, and be distributed to exterior terminal, make Set Top Box can feed back Debugging message debug Set Top Box and test, this brings convenience just to debugging and test machine set top box functions, when Set Top Box goes wrong, and can very fast orientation problem point, substantially reduce the time of dealing with problems, improve development efficiency.
Accompanying drawing explanation
Fig. 1 is the flow chart of the Set Top Box adjustment method in an embodiment.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Fig. 1 is the flow chart of the Set Top Box adjustment method in an embodiment, and as shown in Figure 1, the method comprises the steps:
S10: when Set Top Box is Release version, the Debugging message in real-time collecting Set Top Box.
When Set Top Box is Release version, in Set Top Box, Debugging message conductively-closed cannot outgoing be fed back, and commissioning staff can not be obtained.In this embodiment, in real time the Debugging message in Set Top Box is collected, be convenient to post-processed.
In further mode, this step is specially: the Debugging message in real-time collecting Set Top Box, and is stored in the index file of .m3u8 by the index information of Debugging message.
S20: the TS stream becoming PID (data segment mark) different according to grade packaging the Debugging message of collection.
After have collected the Debugging message in Set Top Box, need the Debugging message of collection to feed back away to commissioning staff.Debugging message has multiple grade, such as: have debug information (Debugging message), warning information (information), info information (information), error information (error message) and fatal information (fatal information) five grades.Because Set Top Box externally terminal can send TS stream (transport stream) data, therefore in this embodiment, according to the grade residing for Debugging message, Debugging message is packaged into the TS stream that PID is different, makes Set Top Box Debugging message can be fed back to commissioning staff.
In further mode, this step is specially: the TS stream becoming PID different according to grade packaging the Debugging message of collection, and the address in being flowed by PID and TS of different brackets Debugging message is stored in the index file of .m3u8, just can index required Debugging message like this according to index file.
S30: the TS flow point be packaged into is dealt into exterior terminal, receives TS by exterior terminal and flows and resolve, the Debugging message needed for obtaining according to the PID of Debugging message.
After the TS stream becoming PID different according to grade packaging the Debugging message of collection, need the TS stream distribution of encapsulation to go out, use to enable commissioning staff.In this embodiment, by Set Top Box, the TS flow point be packaged into is dealt into exterior terminal (PC or mobile terminal etc.), receive TS by exterior terminal flow and resolve, the PID that the Debugging message of different brackets is corresponding different, thus required Debugging message can be obtained according to different PID, even if so just make Set Top Box be Release version, also can feed back Debugging message, can debug Set Top Box and test.
This Set Top Box adjustment method, when being packaged into the different TS stream of PID for collecting Debugging message during Release version, and be distributed to exterior terminal, make Set Top Box can feed back Debugging message debug Set Top Box and test, this brings convenience just to debugging and test machine set top box functions, when Set Top Box goes wrong, and can very fast orientation problem point, substantially reduce the time of dealing with problems, improve development efficiency.
Meanwhile, the present invention also provides a kind of Set Top Box debug system, and this system comprises:
Collector unit, when Set Top Box is Release version, the Debugging message in real-time collecting Set Top Box.
When Set Top Box is Release version, in Set Top Box, Debugging message conductively-closed cannot outgoing be fed back, and commissioning staff can not be obtained.In this embodiment, the Debugging message in Set Top Box collects by collector unit in real time, is convenient to post-processed.
Debugging message in further mode in collector unit real-time collecting Set Top Box, and the index information of Debugging message is stored in the index file of .m3u8.
Encapsulation unit, by the TS stream that the Debugging message of collection becomes PID (package identification) different according to grade packaging.
After have collected the Debugging message in Set Top Box, encapsulation unit needs the Debugging message of collection to feed back away to commissioning staff.Debugging message has multiple grade, such as: have debug information (Debugging message), warning information (information), info information (information), error information (error message) and fatal information (fatal information) five grades.Because Set Top Box externally terminal can send TS stream (transport stream) data, therefore in this embodiment, Debugging message, according to the grade residing for Debugging message, is packaged into the TS stream that PID is different, makes Set Top Box Debugging message can be fed back to commissioning staff by encapsulation unit.
In further mode, the TS stream that the Debugging message of collection becomes PID different according to grade packaging by encapsulation unit, and the address in being flowed by PID and TS of different brackets Debugging message is stored in the index file of .m3u8, just can index required Debugging message like this according to index file.
Dispatching Unit, is dealt into exterior terminal by the TS flow point be packaged into, and receives TS flow and resolve by exterior terminal, the Debugging message needed for obtaining according to the PID of Debugging message.
After the TS stream becoming PID different according to grade packaging the Debugging message of collection, need the TS stream distribution of encapsulation to go out, use to enable commissioning staff.In this embodiment, the TS flow point be packaged into is dealt into exterior terminal (PC or mobile terminal etc.) by Dispatching Unit, receive TS by exterior terminal flow and resolve, the PID that the Debugging message of different brackets is corresponding different, thus required Debugging message can be obtained according to different PID, even if so just make Set Top Box be Release version, also can feed back Debugging message, can debug Set Top Box and test.
This Set Top Box debug system, when being packaged into the different TS stream of PID for collecting Debugging message during Release version, and be distributed to exterior terminal, make Set Top Box can feed back Debugging message debug Set Top Box and test, this brings convenience just to debugging and test machine set top box functions, when Set Top Box goes wrong, and can very fast orientation problem point, substantially reduce the time of dealing with problems, improve development efficiency.
Set Top Box adjustment method of the present invention and system, when being packaged into the different TS stream of PID for collecting Debugging message during Release version, and be distributed to exterior terminal, make Set Top Box can feed back Debugging message debug Set Top Box and test, this brings convenience just to debugging and test machine set top box functions, when Set Top Box goes wrong, and can very fast orientation problem point, substantially reduce the time of dealing with problems, improve development efficiency.
These are only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1. a Set Top Box adjustment method, is characterized in that, comprises the steps:
S10: when Set Top Box is Release version, the Debugging message in real-time collecting Set Top Box;
S20: the TS stream becoming PID different according to grade packaging the Debugging message of collection;
S30: the TS flow point be packaged into is dealt into exterior terminal, receives TS by exterior terminal and flows and resolve, the Debugging message needed for obtaining according to the PID of Debugging message.
2. Set Top Box adjustment method according to claim 1, is characterized in that, described step S10 is specially: the Debugging message in real-time collecting Set Top Box, and is stored in the index file of .m3u8 by the index information of Debugging message.
3. Set Top Box adjustment method according to claim 2, it is characterized in that, described step S20 is specially: the TS stream becoming PID different according to grade packaging the Debugging message of collection, and the address in being flowed by PID and TS of different brackets Debugging message is stored in the index file of .m3u8.
4. a Set Top Box debug system, is characterized in that, comprising:
Collector unit, when Set Top Box is Release version, the Debugging message in real-time collecting Set Top Box;
Encapsulation unit, by the TS stream that the Debugging message of collection becomes PID different according to grade packaging;
Dispatching Unit, is dealt into exterior terminal by the TS flow point be packaged into, and receives TS flow and resolve by exterior terminal, the Debugging message needed for obtaining according to the PID of Debugging message.
5. Set Top Box debug system according to claim 4, is characterized in that, the Debugging message in described collector unit real-time collecting Set Top Box, and is stored in the index file of .m3u8 by the index information of Debugging message.
6. Set Top Box debug system according to claim 5, it is characterized in that, the TS stream that the Debugging message of collection becomes PID different according to grade packaging by described encapsulation unit, and the address in being flowed by PID and TS of different brackets Debugging message is stored in the index file of .m3u8.
CN201510577887.5A 2015-09-11 2015-09-11 Set top box adjustment method and system Expired - Fee Related CN105187822B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510577887.5A CN105187822B (en) 2015-09-11 2015-09-11 Set top box adjustment method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510577887.5A CN105187822B (en) 2015-09-11 2015-09-11 Set top box adjustment method and system

Publications (2)

Publication Number Publication Date
CN105187822A true CN105187822A (en) 2015-12-23
CN105187822B CN105187822B (en) 2017-10-17

Family

ID=54909641

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510577887.5A Expired - Fee Related CN105187822B (en) 2015-09-11 2015-09-11 Set top box adjustment method and system

Country Status (1)

Country Link
CN (1) CN105187822B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183333A (en) * 2007-12-12 2008-05-21 腾讯科技(深圳)有限公司 Method for outputting diary of debugging program, device and system
CN102073581A (en) * 2009-11-23 2011-05-25 新奥特(北京)视频技术有限公司 Method and system for outputting debug information
CN102073489A (en) * 2009-11-23 2011-05-25 新奥特(北京)视频技术有限公司 Method and device for generating debug log
CN102665093A (en) * 2012-03-13 2012-09-12 深圳市九洲电器有限公司 Test method for set top box and test system thereof
CN102915272A (en) * 2012-11-15 2013-02-06 青岛海信宽带多媒体技术有限公司 Software testing method, software testing system and television terminal
CN103002318A (en) * 2012-12-05 2013-03-27 深圳创维数字技术股份有限公司 Automatic test method and automatic test system of digital television receiving terminal
CN103257916A (en) * 2012-02-15 2013-08-21 深圳市金蝶友商电子商务服务有限公司 Method and system for displaying debugging information
CN103702171A (en) * 2013-12-12 2014-04-02 乐视网信息技术(北京)股份有限公司 Method for downloading video stream and electronic equipment
CN104780360A (en) * 2015-03-18 2015-07-15 福建新大陆通信科技股份有限公司 Set top box debugging method and set top box debugging system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183333A (en) * 2007-12-12 2008-05-21 腾讯科技(深圳)有限公司 Method for outputting diary of debugging program, device and system
CN102073581A (en) * 2009-11-23 2011-05-25 新奥特(北京)视频技术有限公司 Method and system for outputting debug information
CN102073489A (en) * 2009-11-23 2011-05-25 新奥特(北京)视频技术有限公司 Method and device for generating debug log
CN103257916A (en) * 2012-02-15 2013-08-21 深圳市金蝶友商电子商务服务有限公司 Method and system for displaying debugging information
CN102665093A (en) * 2012-03-13 2012-09-12 深圳市九洲电器有限公司 Test method for set top box and test system thereof
CN102915272A (en) * 2012-11-15 2013-02-06 青岛海信宽带多媒体技术有限公司 Software testing method, software testing system and television terminal
CN103002318A (en) * 2012-12-05 2013-03-27 深圳创维数字技术股份有限公司 Automatic test method and automatic test system of digital television receiving terminal
CN103702171A (en) * 2013-12-12 2014-04-02 乐视网信息技术(北京)股份有限公司 Method for downloading video stream and electronic equipment
CN104780360A (en) * 2015-03-18 2015-07-15 福建新大陆通信科技股份有限公司 Set top box debugging method and set top box debugging system

Also Published As

Publication number Publication date
CN105187822B (en) 2017-10-17

Similar Documents

Publication Publication Date Title
CN104065163B (en) Delivery method on a kind of intelligent substation warning information
CN101877659B (en) Method, device and system for monitoring packet loss
CN105264898B (en) Method for upgrading software, device and equipment
CN102790912A (en) Channel information and menu information updating method of set-top box
CN104639370A (en) Method for obtaining PCI-E equipment information of system by out-of-band management
CN105589410A (en) Workshop monitoring and management system based on Android platform
CN107294778A (en) A kind of method that industrial equipment collection is realized based on cloud Internet of Things platform
CN104809907B (en) Automatic bus route diversion acquisition method
CN103208087A (en) Power distribution network data checking method based on international electrotechnical commission (IEC) 61968 standard
CN104506943A (en) Set top box software customized upgrading method
CN104639386A (en) Fault positioning system and method
CN103366245A (en) OSB (operation sevice bus)-based power grid fault information distribution method and system
CN105591471A (en) Transformer station and main station data consistency comparison and calibration method
CN108965282B (en) Non-invasive cross-safety-area message tracking and monitoring system and method
CN105187822A (en) Set-top box debugging method and system
CN113973240B (en) Optical fiber resource management method, system and storage medium
CN102148702B (en) Method for managing network by utilizing network configuration protocol
WO2011096744A3 (en) Method and apparatus for performing measurement in an extension carrier
CN105763382A (en) Realization method and device based on end-to-end service monitoring
CN104361437A (en) Quality inspection and management method of diversified data interfaces and quality inspection and management system of diversified data interfaces
CN103123583A (en) Realizing method for automatically recording software version number
CN103072386B (en) Multi-packaging code assigning method for complementary code error correction
CN204791902U (en) LED display screen fault detection system
CN112822034B (en) Service subscription mode-based data transmission method and system between main and distribution network systems
CN104362740B (en) Direct-current power transmission system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171017

Termination date: 20210911