CN105187822B - Set top box adjustment method and system - Google Patents

Set top box adjustment method and system Download PDF

Info

Publication number
CN105187822B
CN105187822B CN201510577887.5A CN201510577887A CN105187822B CN 105187822 B CN105187822 B CN 105187822B CN 201510577887 A CN201510577887 A CN 201510577887A CN 105187822 B CN105187822 B CN 105187822B
Authority
CN
China
Prior art keywords
top box
debugging message
set top
debugging
pid
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.)
Expired - Fee Related
Application number
CN201510577887.5A
Other languages
Chinese (zh)
Other versions
CN105187822A (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

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The present invention relates to a kind of set top box adjustment method and system, Debugging message is collected when for Release versions and is packaged into the different TS streams of PID, and it is distributed to exterior terminal, enable set top box to feed back Debugging message set top box is debugged and tested, this is just to debugging and test set-top box functionality brings convenience, when set top box goes wrong, being capable of orientation problem point quickly, the time solved the problems, such as is substantially reduced, development efficiency is improved.

Description

Set top box adjustment method and system
Technical field
The present invention relates to the communications field, more particularly to a kind of set top box adjustment method and system.
Background technology
At present, in set-top box functionality development process, or in the function point of test set top box, it is necessary to add in code Enter some type informations, it is convenient to show these Debugging message when debugging set top box, can more preferable tracking problem point, it is auxiliary Help judge set top box whether normal operation, it is this to include Debugging message, and do not do any optimization, be easy to the version of debugging to be referred to as For Debug versions.Meanwhile, various optimizations are carried out this, program is all optimal in code size and the speed of service, be easy to use The version that family is used is called Release versions.
But when set top box is Release versions, set top box needs debugging, when test set-top box functionality, set top box Debugging message can not be fed back, this will to debugging and test set-top box functionality bring very big development difficulty, obtain less than The Debugging message needed, great difficulty is brought to functional development or test function.If set top box goes wrong, it is difficult to fixed Position problem points, have delayed to solve the time of problem, to greatly reduce development efficiency.
The content of the invention
In view of this, it is necessary to for above-mentioned set top box be that Release versions can not feed back Debugging message, to exploitation and survey There is provided a kind of set top box adjustment method and system for the problem of try carrys out extreme difficulties.
The present invention provides a kind of set top box adjustment method, comprises the following steps:
S10:When set top box is Release versions, the Debugging message in real-time collecting set top box;
S20:The Debugging message of collection is flowed according to grade packaging into TS different PID;
S30:The TS flow points being packaged into are dealt into exterior terminal, is flowed and is parsed by exterior terminal reception TS, according to tune The PID for trying information obtains required Debugging message.
Further, the step S10 is specially:Debugging message in real-time collecting set top box, and by Debugging message Index information is stored into .m3u8 index file.
Further, the step S20 is specially:By the Debugging message of collection according to grade packaging into TS different PID Stream, and the address in the PID of different brackets Debugging message and TS streams is stored into .m3u8 index file.
The present invention also provides a kind of set top box debugging system, including:
Collector unit, when set top box is Release versions, the Debugging message in real-time collecting set top box;
Encapsulation unit, the Debugging message of collection is flowed according to grade packaging into TS different PID;
Dispatching Unit, exterior terminal is dealt into by the TS flow points being packaged into, and is flowed and is parsed, root by exterior terminal reception TS Debugging message needed for being obtained according to the PID of Debugging message.
Further, the Debugging message in the collector unit real-time collecting set top box, and the index of Debugging message is believed Breath storage is into .m3u8 index file.
Further, the encapsulation unit flows the Debugging message of collection according to grade packaging into TS different PID, and will Address in PID and the TS stream of different brackets Debugging message is stored into .m3u8 index file.
Set top box adjustment method and system of the present invention, Debugging message is collected when for Release versions and is packaged into PID differences TS streams, and be distributed to exterior terminal so that set top box can feed back Debugging message and set top box is debugged and tested, This is just to debugging and test set-top box functionality brings convenience, when set top box goes wrong, can orientation problem point quickly, The time solved the problems, such as is substantially reduced, development efficiency is improved.
Brief description of the drawings
Fig. 1 is the flow chart of the set top box adjustment method in one embodiment.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the present invention, not For limiting the present invention.
Fig. 1 is the flow chart of the set top box adjustment method in one embodiment, as shown in figure 1, this method includes following step Suddenly:
S10:When set top box is Release versions, the Debugging message in real-time collecting set top box.
When set top box is Release versions, in set top box Debugging message by shielding can not outgoing fed back so that tune Examination personnel can not obtain.In the embodiment, the Debugging message in set top box is collected in real time, is easy to post-processing.
In further mode, the step is specially:Debugging message in real-time collecting set top box, and by Debugging message Index information store into .m3u8 index file.
S20:The Debugging message of collection is flowed according to grade packaging into TS different PID (data segment identification).
, it is necessary to which the Debugging message of collection is fed back away to debugging people after it have collected the Debugging message in set top box Member.Debugging message has multiple grades, for example:With debug information (Debugging message), warning information (prompt message), Info information (information), five grades of error information (error message) and fatal information (fatal information).Due to machine top Box can send TS stream (transport stream) data to exterior terminal, therefore in this embodiment, will according to the grade residing for Debugging message Debugging message is packaged into the different TS streams of PID so that Debugging message can be fed back to commissioning staff by set top box.
In further mode, the step is specially:The Debugging message of collection is different into PID according to grade packaging TS flows, and the address in the PID of different brackets Debugging message and TS streams is stored into .m3u8 index file, such basis Index file can just index required Debugging message.
S30:The TS flow points being packaged into are dealt into exterior terminal, is flowed and is parsed by exterior terminal reception TS, according to tune The PID for trying information obtains required Debugging message.
, it is necessary to by the TS stream distributions of encapsulation after the Debugging message of collection is different into PID according to grade packaging TS streams Go out, so that commissioning staff can use.In the embodiment, the TS flow points being packaged into are dealt into exterior terminal (PC by set top box Or mobile terminal etc.), flowed and parsed by exterior terminal reception TS, the different PID of different grades of Debugging message correspondence, So as to result in required Debugging message according to different PID, even if it is Release versions so to allow for set top box, also can Feed back Debugging message, set top box can be debugged and tested.
The set top box adjustment method, Debugging message is collected when for Release versions and is packaged into the different TS streams of PID, and It is distributed to exterior terminal so that set top box can feed back Debugging message and set top box is debugged and tested, this is just to tune Examination and test set-top box functionality bring convenience, when set top box goes wrong, can orientation problem point quickly, greatly shorten The time of the problem of solution, improve development efficiency.
Meanwhile, the present invention also provides a kind of set top box debugging system, and the system includes:
Collector unit, when set top box is Release versions, the Debugging message in real-time collecting set top box.
When set top box is Release versions, in set top box Debugging message by shielding can not outgoing fed back so that tune Examination personnel can not obtain.In the embodiment, collector unit in real time collects the Debugging message in set top box, is easy at the later stage Reason.
Debugging message in further mode in collector unit real-time collecting set top box, and by the index of Debugging message Information is stored into .m3u8 index file.
Encapsulation unit, the Debugging message of collection is flowed according to grade packaging into TS different PID (package identification).
After it have collected the Debugging message in set top box, encapsulation unit need by the Debugging message of collection feed back away to Commissioning staff.Debugging message has multiple grades, for example:With debug information (Debugging message), warning information (prompting letter Breath), info information (information), five grades of error information (error message) and fatal information (fatal information).Due to Set top box can send TS stream (transport stream) data to exterior terminal, therefore in this embodiment, encapsulation unit is according to Debugging message Residing grade, is packaged into the different TS of PID by Debugging message and flows so that set top box can feed back to Debugging message debugging people Member.
In further mode, encapsulation unit flows the Debugging message of collection according to grade packaging into TS different PID, And store the address in the PID of different brackets Debugging message and TS streams into .m3u8 index file, so according to index text Part can just index required Debugging message.
Dispatching Unit, exterior terminal is dealt into by the TS flow points being packaged into, and is flowed and is parsed, root by exterior terminal reception TS Debugging message needed for being obtained according to the PID of Debugging message.
, it is necessary to by the TS stream distributions of encapsulation after the Debugging message of collection is different into PID according to grade packaging TS streams Go out, so that commissioning staff can use.In the embodiment, the TS flow points being packaged into are dealt into exterior terminal (PC by Dispatching Unit Or mobile terminal etc.), flowed and parsed by exterior terminal reception TS, the different PID of different grades of Debugging message correspondence, So as to result in required Debugging message according to different PID, even if it is Release versions so to allow for set top box, also can Feed back Debugging message, set top box can be debugged and tested.
The set top box debugging system, Debugging message is collected when for Release versions and is packaged into the different TS streams of PID, and It is distributed to exterior terminal so that set top box can feed back Debugging message and set top box is debugged and tested, this is just to tune Examination and test set-top box functionality bring convenience, when set top box goes wrong, can orientation problem point quickly, greatly shorten The time of the problem of solution, improve development efficiency.
Set top box adjustment method and system of the present invention, Debugging message is collected when for Release versions and is packaged into PID differences TS streams, and be distributed to exterior terminal so that set top box can feed back Debugging message and set top box is debugged and tested, This is just to debugging and test set-top box functionality brings convenience, when set top box goes wrong, can orientation problem point quickly, The time solved the problems, such as is substantially reduced, development efficiency is improved.
These are only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and Any modifications, equivalent substitutions and improvements made within principle etc., should be included in the scope of the protection.

Claims (6)

1. a kind of set top box adjustment method, it is characterised in that comprise the following steps:
S10:When set top box is Release versions, the Debugging message in real-time collecting set top box;
S20:The Debugging message of collection is flowed according to the grade packaging residing for Debugging message into TS different PID;
S30:The TS flow points being packaged into are dealt into exterior terminal, is flowed and is parsed by exterior terminal reception TS, it is different grades of The different PID of Debugging message correspondence, the Debugging message according to needed for being obtained the PID of Debugging message.
2. set top box adjustment method according to claim 1, it is characterised in that the step S10 is specially:Real-time collecting Debugging message in set top box, and the index information of Debugging message is stored into .m3u8 index file.
3. set top box adjustment method according to claim 2, it is characterised in that the step S20 is specially:By collection Debugging message is flowed according to grade packaging into TS different PID, and the address in the PID of different brackets Debugging message and TS streams is deposited In the index file for storing up .m3u8.
4. a kind of set top box debugging system, it is characterised in that including:
Collector unit, when set top box is Release versions, the Debugging message in real-time collecting set top box;
Encapsulation unit, the Debugging message of collection is flowed according to the grade packaging residing for Debugging message into TS different PID;
Dispatching Unit, exterior terminal is dealt into by the TS flow points being packaged into, and is flowed and is parsed by exterior terminal reception TS, not on an equal basis The different PID of Debugging message correspondence of level, the Debugging message required according to the PID of Debugging message acquisitions.
5. set top box debugging system according to claim 4, it is characterised in that the collector unit real-time collecting set top box Interior Debugging message, and the index information of Debugging message is stored into .m3u8 index file.
6. set top box debugging system according to claim 5, it is characterised in that the encapsulation unit believes the debugging of collection Cease and flowed according to grade packaging into TS different PID, and the address storage in the PID of different brackets Debugging message and TS streams is arrived .m3u8 in index file.
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 CN105187822A (en) 2015-12-23
CN105187822B true 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
CN105187822A (en) 2015-12-23

Similar Documents

Publication Publication Date Title
CN103578154B (en) Based on the implementation method of the power equipment intelligent patrol detection of PDA
CN105264898B (en) Method for upgrading software, device and equipment
CN103678124B (en) Video surveillance platform auto-test method and device based on continuous integrated environment
CN103002318B (en) Automatic test method and automatic test system of digital television receiving terminal
CN104516732A (en) Application crash report method and system
CN104991777B (en) Realize that web application automatic test view melts the system and method for hair
CN102693132A (en) Method for automatically sorting application program based on Android
CN108521339A (en) A kind of reaction type node failure processing method and system based on cluster daily record
CN106155769B (en) A kind of workflow processing method, device and workflow engine
CN104778118A (en) Improvement method for automatic testing technology
CN103870382A (en) Code risk detection method and device
CN105808417A (en) Automated testing method and proxy server
CN101764717B (en) Network management warning data checking method and system
CN103077093B (en) Substation configuration description (SCD) calibration method based on model objectification semantics
CN104298677A (en) Method and system of identifying dependency relationship of concerns
CN105338564B (en) A kind of client adaptation method, client, server and system
CN103208087A (en) Power distribution network data checking method based on international electrotechnical commission (IEC) 61968 standard
CN105187822B (en) Set top box adjustment method and system
CN109274178A (en) A kind of automatic analysis system and method for the preposition operation information of power scheduling
CN104639386A (en) Fault positioning system and method
CN108986723A (en) A kind of self-sensing method and equipment of visual screen display device
CN106294132B (en) A kind of method and device managing log
CN105763382A (en) Realization method and device based on end-to-end service monitoring
CN102420724A (en) Method and device for testing north-orientation performance index
CN109032582A (en) A kind of method and device generating server O&M script

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