CN101867841A - Automatic detection method for programme signal interrupt recovery of set top box - Google Patents

Automatic detection method for programme signal interrupt recovery of set top box Download PDF

Info

Publication number
CN101867841A
CN101867841A CN 201010146049 CN201010146049A CN101867841A CN 101867841 A CN101867841 A CN 101867841A CN 201010146049 CN201010146049 CN 201010146049 CN 201010146049 A CN201010146049 A CN 201010146049A CN 101867841 A CN101867841 A CN 101867841A
Authority
CN
China
Prior art keywords
over
data
change step
prompting
program
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
CN 201010146049
Other languages
Chinese (zh)
Other versions
CN101867841B (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.)
Fujian Newland Communication Science Technology Co Ltd
Original Assignee
Fujian Newland Communication Science Technology 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 Fujian Newland Communication Science Technology Co Ltd filed Critical Fujian Newland Communication Science Technology Co Ltd
Priority to CN201010146049XA priority Critical patent/CN101867841B/en
Publication of CN101867841A publication Critical patent/CN101867841A/en
Application granted granted Critical
Publication of CN101867841B publication Critical patent/CN101867841B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides an automatic detection method for programme signal interrupt recovery of a set top box, which is characterized by identifying various abnormal states of the front-end network programme signal by judging whether a tuner controller of the set top box is in the locking state, whether the set top box is in the TV programme playing state and in the parent lock locking state, whether the video buffer zone has data, whether the programme operated by the customer is suspended, whether the picture has had first frame data, whether the video data in ts stream are scrambling data, etc, and informing the customer of the problems, so that the after-sale service department or the customer service department can timely and rapidly handle the problems.

Description

Set-top box is interrupted the automatic testing method of recovery to programme signal
[technical field]
The present invention relates to a kind of detection technique that is applied to set-top box, especially a kind of method that is applied on the top box of digital machine programme signal be interrupted the automatic detection of recovery belongs to the digital television techniques field.
[background technology]
Fast development along with the communication technology, adopting set-top box to teleview becomes the main direction of cable TV development, set-top box enters into huge numbers of families gradually as a kind of digital network device, and in the rating process, the interaction between terminal use and the service provider seems and becomes more and more important.Programme signal that traditional digital TV set-top box occurs in the process of terminal use's TV reception is interrupted or during problem such as unusual, just do not show, promptly behind signal or program time-out, can't in time notify the user what problem has specifically taken place, cause this phenomenon to such an extent as to allow the user can't understand what reason, make the user can't be in time with the service provider after sale or customer service link up and get in touch.
[summary of the invention]
The technical problem to be solved in the present invention is to provide set-top box programme signal to be interrupted the automatic testing method that recovers, to discerning unusually automatically of occurring in the digital television receiving process, inform the user in the most easy mode, can solve and in time to notify the user to make the user understand the problem of problem state after signal that set-top box of the prior art exists or program suspend.
The present invention is by solving the problems of the technologies described above by the following technical solutions: set-top box is interrupted the automatic testing method of recovery to programme signal, wherein, comprise: the monitoring deterministic process of the various abnormalities of a plurality of identification front network programme signals: judge whether set-top box tuner is in the lock state, whether set-top box is in the state of playing TV programme, whether be in father and mother and lock locking state, judge whether screen buffer has data, judge whether that the program that the user operates suspends, judge whether picture has had first frame data to occur, judge whether the video data in the ts stream is scrambled data; And the prompting process of a plurality of display abnormality states: prompting CA system problem, cue is interrupted, and the prompting program locks, and prompting front end program suspends, and the program of prompting user operation suspends.
Further, specifically comprise the steps: step 1: monitor procedure begins; Step 2: judge that tuner is in the lock state? be to change step 3 over to; , do not change step 4 over to; Step 3: judge that screen buffer has data? be to get back to step 2 and continue monitoring; , do not change step 6 over to; Step 4: judge whether to be in the broadcast program state? be to change step 5 over to; , do not get back to step 2 and continue monitoring; Step 5: judge whether to be in father and mother and lock locking state? be to change step 11 over to; , do not change step 10 over to; Step 6: judge that ts stream is scrambled data? be to change step 7 over to; , do not change step 12 over to; Step 7: judge whether picture has had first frame data to occur? be to change step 9 over to; , do not change step 8 over to; Step 8: judge whether that the program that the user operates suspends? be to change step 13 over to; , do not change step 12 over to; Mistake appears in step 9:CA system, reads the ca improper value, prompting CA system problem; Step 10: cue is interrupted; Step 11: the prompting program locks; Step 12: prompting front end program suspends; Step 13: the program of prompting user operation suspends.
Further, specifically comprise the steps: step 1: monitor procedure begins; Step 2: judge that tuner is in the lock state? be to change step 3 over to; , do not change step 5 over to; Step 3: judge that screen buffer has data? be to get back to step 2 and continue monitoring; , do not change step 6 over to; Step 4: judge whether to be in the broadcast program state? be to change step 10 over to; , do not get back to step 2 and continue monitoring; Step 5: judge whether to be in father and mother and lock locking state? be to change step 11 over to; , do not change step 4 over to; Step 6: judge that ts stream is scrambled data? be to change step 8 over to; , do not change step 12 over to; Step 7: judge whether picture has had first frame data to occur? be to change step 12 over to; , do not change step 9 over to; Step 8: judge whether that the program that the user operates suspends? be to change step 13 over to; , do not change step 7 over to; Mistake appears in step 9:CA system, reads the ca improper value, prompting CA system problem; Step 10: cue is interrupted; Step 11: the prompting program locks; Step 12: prompting front end program suspends; Step 13: the program of prompting user operation suspends.
Further, describedly judge whether screen buffer has the method for data further to be: write call back function, global variable is set in described call back function represents whether carried out data playback, when changing the platform operation global variable being set is 0, video data was not play in expression, and described call back function registered in the video decode module, when video begins to play, call the described call back function of registration, when calling call back function global variable is changed into 1, video was play in expression, if monitor global variable is 1, judging that then screen buffer has data, is 0 if monitor global variable, judges that then screen buffer does not have data.
Further, whether the described ts of judgement stream is that the method for scrambled data further is: whenever after a while, calling the demultiplexing driving intercepts the data that ts flows, take out the ts bag of 188 bytes, find its scrambling control bit to judge, simultaneously the net load data of ts stream are judged, if pes data, then find the pes scrambling control bit in the pes data,, just think that then video data is a scrambled data if it also is a scrambled state simultaneously.
The automatic testing method that the set-top box that the present invention realized interrupts recovering to programme signal has following advantage: the Automatic Measurement Technique of programme signal being interrupted recovery is effectively convenient, be convenient to after the unusual generation of set-top box, point out various signal conditions to the user clearly, make the user make judgement at various anomalies effectively apace, getting in touch in the process of communication with the service supplier, helping after sale or the contact staff solves the problem that set-top box occurs apace.
[description of drawings]
The present invention is further illustrated in conjunction with specific embodiments with reference to the accompanying drawings.
Fig. 1 is set-top box is interrupted the automatic testing method of recovery to programme signal a first pass block diagram.
Fig. 2 is set-top box is interrupted the automatic testing method of recovery to programme signal second FB(flow block).
[embodiment]
The automatic testing method that set-top box involved in the present invention interrupts recovering to programme signal is: the monitoring deterministic process that comprises the various abnormalities of a plurality of identification front network programme signals: whether the tuner controller (tuner is the DVB-T tuner) of judging set-top box is in the lock state, whether set-top box is in the state of playing TV programme, whether be in father and mother and lock locking state, whether screen buffer has data, whether be the program pause function that the user operates, whether picture has had first frame data to occur, and whether the video data in the transport stream (ts stream) is the judgement of various states such as scrambled data; The prompting process that also comprises a plurality of display abnormality states: prompting CA system problem, cue is interrupted, and the prompting program locks, and prompting front end program suspends, and the program of prompting user operation suspends.
With reference to figure 1, the automatic testing method that set-top box interrupts recovering to programme signal specifically comprises the steps:
Step 1: monitor procedure begins;
Step 2: judge that tuner is in the lock state? be to change step 3 over to; , do not change step 4 over to;
Step 3: judge that screen buffer has data? be to get back to step 2 and continue monitoring; , do not change step 6 over to;
Step 4: judge whether to be in the broadcast program state? be to change step 5 over to; , do not get back to step 2 and continue monitoring;
Step 5: judge whether to be in father and mother and lock locking state? be to change step 11 over to; , do not change step 10 over to;
Step 6: judge that ts stream is scrambled data? be to change step 7 over to; , do not change step 12 over to;
Step 7: judge whether picture has had first frame data to occur? be to change step 9 over to; , do not change step 8 over to;
Step 8: judge whether that the program that the user operates suspends? be to change step 13 over to; , do not change step 12 over to;
Mistake appears in step 9:CA system, reads the ca improper value, prompting CA system problem;
Step 10: cue is interrupted;
Step 11: the prompting program locks;
Step 12: prompting front end program suspends;
Step 13: the program of prompting user operation suspends.
With reference to figure 2, the automatic testing method that set-top box interrupts recovering to programme signal specifically can also be following steps:
Step 1: monitor procedure begins;
Step 2: judge that tuner is in the lock state? be to change step 3 over to; , do not change step 5 over to;
Step 3: judge that screen buffer has data? be to get back to step 2 and continue monitoring; , do not change step 6 over to;
Step 4: judge whether to be in the broadcast program state? be to change step 10 over to; , do not get back to step 2 and continue monitoring;
Step 5: judge whether to be in father and mother and lock locking state? be to change step 11 over to; , do not change step 4 over to;
Step 6: judge that ts stream is scrambled data? be to change step 8 over to; , do not change step 12 over to;
Step 7: judge whether picture has had first frame data to occur? be to change step 12 over to; , do not change step 9 over to;
Step 8: judge whether that the program that the user operates suspends? be to change step 13 over to; , do not change step 7 over to;
Mistake appears in step 9:CA system, reads the ca improper value, prompting CA system problem;
Step 10: cue is interrupted;
Step 11: the prompting program locks;
Step 12: prompting front end program suspends;
Step 13: the program of prompting user operation suspends.
The monitoring of the set-top box involved in the present invention automatic testing method that interruption recovers to programme signal judges that principle is as follows: when set-top box is carried out playing programs, at first to carry out the locking work of signal, mainly required frequency is conducted the locking operations by electronic tuning unit (tuner controller) control tuner, the tuner controller amplifies the radio frequency composite video signal that receives from signal cable (or other transmission mediums), the unwanted electromagnetic wave that filtering receives disturbs the also various radiated interference of suppression receiver itself, and the frequency of required locking adjusted to unified intermediate-freuqncy signal, finish locking to signal.
Particularly, about judging that the way whether first frame data are arranged in the screen buffer is: write call back function, global variable is set in call back function represents whether carried out data playback, when changing the platform operation global variable being set is 0, and video data was not play in expression.And call back function registered in the video decode module.When video begins to play, call the call back function of our registration, we change global variable into 1 at call back function, and video was play in expression.Therefore as long as we monitor global variable is 1, then thinks and once play into the merits and demerits video.
Particularly, about judging whether be: whenever after a while to the mode of scrambled data, calling the demultiplexing driving intercepts the data that ts flows, take out the ts bag of 188 bytes, find its scrambling control bit to judge, simultaneously the net load data of ts stream are judged if the pes data then find the pes scrambling control bit in the pes data, if it also is a scrambled state simultaneously, we just think that video data is a scrambled data.
The set-top box that the present invention realized is interrupted the automatic testing method of recovery to programme signal, lock-out state by tuner controller in the monitoring equipment top box, whether set-top box is in the state of playing TV programme, whether set-top box is in father and mother and locks locking state, whether screen buffer has data, whether be the program pause function that the user operates, whether picture has had first frame data to occur, whether the video data in the ts stream is the judgement of various states such as scrambled data, discern the various abnormalities of front network programme signal, and inform the user by information, think after sale or customer service can be handled problems quickly.

Claims (5)

1. set-top box is characterized in that: comprising the automatic testing method of programme signal interruption recovery:
The monitoring deterministic process of the various abnormalities of a plurality of identification front network programme signals: judge whether set-top box tuner is in the lock state, whether set-top box is in the state of playing TV programme, whether be in father and mother and lock locking state, judge whether screen buffer has data, judge whether that the program that the user operates suspends, judge whether picture has had first frame data to occur, judge whether the video data in the ts stream is scrambled data; And
The prompting process of a plurality of display abnormality states: prompting CA system problem, cue is interrupted, and the prompting program locks, and prompting front end program suspends, and the program of prompting user operation suspends.
2. the automatic testing method that set-top box according to claim 1 is interrupted recovery to programme signal is characterized in that: specifically comprise the steps:
Step 1: monitor procedure begins;
Step 2: judge that tuner is in the lock state? be to change step 3 over to; , do not change step 4 over to;
Step 3: judge that screen buffer has data? be to get back to step 2 and continue monitoring; , do not change step 6 over to;
Step 4: judge whether to be in the broadcast program state? be to change step 5 over to; , do not get back to step 2 and continue monitoring;
Step 5: judge whether to be in father and mother and lock locking state? be to change step 11 over to; , do not change step 10 over to;
Step 6: judge that ts stream is scrambled data? be to change step 7 over to; , do not change step 12 over to;
Step 7: judge whether picture has had first frame data to occur? be to change step 9 over to; , do not change step 8 over to;
Step 8: judge whether that the program that the user operates suspends? be to change step 13 over to; , do not change step 12 over to;
Mistake appears in step 9:CA system, reads the ca improper value, prompting CA system problem;
Step 10: cue is interrupted;
Step 11: the prompting program locks;
Step 12: prompting front end program suspends;
Step 13: the program of prompting user operation suspends.
3. the automatic testing method that set-top box according to claim 1 is interrupted recovery to programme signal is characterized in that: specifically comprise the steps:
Step 1: monitor procedure begins;
Step 2: judge that tuner is in the lock state? be to change step 3 over to; , do not change step 5 over to;
Step 3: judge that screen buffer has data? be to get back to step 2 and continue monitoring; , do not change step 6 over to;
Step 4: judge whether to be in the broadcast program state? be to change step 10 over to; , do not get back to step 2 and continue monitoring;
Step 5: judge whether to be in father and mother and lock locking state? be to change step 11 over to; , do not change step 4 over to;
Step 6: judge that ts stream is scrambled data? be to change step 8 over to; , do not change step 12 over to;
Step 7: judge whether picture has had first frame data to occur? be to change step 12 over to; , do not change step 9 over to;
Step 8: judge whether that the program that the user operates suspends? be to change step 13 over to; , do not change step 7 over to;
Mistake appears in step 9:CA system, reads the ca improper value, prompting CA system problem;
Step 10: cue is interrupted;
Step 11: the prompting program locks;
Step 12: prompting front end program suspends;
Step 13: the program of prompting user operation suspends.
4. according to each described set-top box of claim 1 to 3 programme signal is interrupted the automatic testing method of recovery, it is characterized in that: describedly judge whether screen buffer has the method for data further to be: write call back function, global variable is set in described call back function represents whether carried out data playback, when changing the platform operation global variable being set is 0, video data was not play in expression, and described call back function registered in the video decode module, when video begins to play, call the described call back function of registration, when calling call back function, global variable is changed into 1, video was play in expression, if monitor global variable is 1, judging that then screen buffer has data, is 0 if monitor global variable, judges that then screen buffer does not have data.
5. according to each described set-top box of claim 1 to 3 programme signal is interrupted the automatic testing method of recovery, it is characterized in that: whether the described ts of judgement stream is that the method for scrambled data further is: whenever after a while, calling the demultiplexing driving intercepts the data that ts flows, take out the ts bag of 188 bytes, find its scrambling control bit to judge, simultaneously the net load data of ts stream are judged, if pes data, then find the pes scrambling control bit in the pes data, if it also is a scrambled state simultaneously, just think that then video data is a scrambled data.
CN201010146049XA 2010-04-12 2010-04-12 Automatic detection method for programme signal interrupt recovery of set top box Expired - Fee Related CN101867841B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010146049XA CN101867841B (en) 2010-04-12 2010-04-12 Automatic detection method for programme signal interrupt recovery of set top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010146049XA CN101867841B (en) 2010-04-12 2010-04-12 Automatic detection method for programme signal interrupt recovery of set top box

Publications (2)

Publication Number Publication Date
CN101867841A true CN101867841A (en) 2010-10-20
CN101867841B CN101867841B (en) 2011-08-10

Family

ID=42959355

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010146049XA Expired - Fee Related CN101867841B (en) 2010-04-12 2010-04-12 Automatic detection method for programme signal interrupt recovery of set top box

Country Status (1)

Country Link
CN (1) CN101867841B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075811A (en) * 2010-12-14 2011-05-25 中山大学 System and method for self-checking of set-top box
CN103596047A (en) * 2013-11-08 2014-02-19 上海大亚科技有限公司 Method for achieving fast restoration under abnormal conditions of set top box tuner
CN103634685A (en) * 2013-12-13 2014-03-12 乐视致新电子科技(天津)有限公司 Information promoting method and device
CN104735515A (en) * 2013-12-19 2015-06-24 乐视网信息技术(北京)股份有限公司 Method and terminal for displaying video state
CN113141525A (en) * 2021-03-16 2021-07-20 福建星网智慧科技有限公司 Online video cut-off continuous playing method and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1130332A (en) * 1994-11-11 1996-09-04 大宇电子株式会社 Method for self diagnosis of TV receiver
CN1528090A (en) * 2001-03-20 2004-09-08 汤姆森许可公司 Method and system for remote diagnostics
CN101453551A (en) * 2007-11-29 2009-06-10 上海未来宽带技术及应用工程研究中心有限公司 Collecting method for set-top box failure information
CN201319650Y (en) * 2008-11-27 2009-09-30 青岛海信电器股份有限公司 Fault detection circuit and electronic equipment
CN101594553A (en) * 2009-06-30 2009-12-02 中兴通讯股份有限公司 A kind of system and method for positioning network failures of set top box
CN101605073A (en) * 2009-07-01 2009-12-16 中兴通讯股份有限公司 A kind of method, Apparatus and system that the IPTV user terminal is tested
CN101626520A (en) * 2008-07-11 2010-01-13 鸿富锦精密工业(深圳)有限公司 Method for returning error of set-top box

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1130332A (en) * 1994-11-11 1996-09-04 大宇电子株式会社 Method for self diagnosis of TV receiver
CN1528090A (en) * 2001-03-20 2004-09-08 汤姆森许可公司 Method and system for remote diagnostics
CN101453551A (en) * 2007-11-29 2009-06-10 上海未来宽带技术及应用工程研究中心有限公司 Collecting method for set-top box failure information
CN101626520A (en) * 2008-07-11 2010-01-13 鸿富锦精密工业(深圳)有限公司 Method for returning error of set-top box
US20100011406A1 (en) * 2008-07-11 2010-01-14 Hon Hai Precision Industry Co., Ltd. Method for feeding back failures of set-top boxes
CN201319650Y (en) * 2008-11-27 2009-09-30 青岛海信电器股份有限公司 Fault detection circuit and electronic equipment
CN101594553A (en) * 2009-06-30 2009-12-02 中兴通讯股份有限公司 A kind of system and method for positioning network failures of set top box
CN101605073A (en) * 2009-07-01 2009-12-16 中兴通讯股份有限公司 A kind of method, Apparatus and system that the IPTV user terminal is tested

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075811A (en) * 2010-12-14 2011-05-25 中山大学 System and method for self-checking of set-top box
CN103596047A (en) * 2013-11-08 2014-02-19 上海大亚科技有限公司 Method for achieving fast restoration under abnormal conditions of set top box tuner
CN103634685A (en) * 2013-12-13 2014-03-12 乐视致新电子科技(天津)有限公司 Information promoting method and device
CN104735515A (en) * 2013-12-19 2015-06-24 乐视网信息技术(北京)股份有限公司 Method and terminal for displaying video state
CN113141525A (en) * 2021-03-16 2021-07-20 福建星网智慧科技有限公司 Online video cut-off continuous playing method and system
CN113141525B (en) * 2021-03-16 2022-05-17 福建星网智慧科技有限公司 Online video cut-off continuous playing method and system

Also Published As

Publication number Publication date
CN101867841B (en) 2011-08-10

Similar Documents

Publication Publication Date Title
CN101867841B (en) Automatic detection method for programme signal interrupt recovery of set top box
CN105659617A (en) Broadcast receiving apparatus and method for displaying notification message using same
US20110187928A1 (en) Electronic appliance status notification via a home entertainment system
JP4777351B2 (en) Apparatus and method for diagnosing and processing conditions related to cable card in open cable system, open cable host apparatus, and open cable receiving apparatus
CN105763824A (en) Method Used For Recording Media Programs In Remote Device And System Used For Recording Media Program To Play Back
CN103260084B (en) A kind of DTV STB starting-up method and system
CN103563356B (en) Method for displaying service list and image display device using the same
CN202334788U (en) Set top box with fault detecting function
CN103731729A (en) Media player of smart television, exception handling method of media player of smart television and smart television
CN102176747A (en) Video monitoring system based on intelligent web television
CN105323644A (en) Method for checking playback authorization of program recorded by digital television
CN101014108A (en) Broadcast receiver, data structure and method for sending a diagnostic information
CN105791818A (en) Fully-automatic digital television set top box test system
KR100804036B1 (en) Monitering system of digital broadcasting
CN103795971B (en) Possess identifing source and automatically change DVR and the method for reseptance thereof of image received device
US8863210B2 (en) Cable broadcast program receiver and a diagnostic method of the cable broadcast program receiver
CN106331868B (en) Digital television program control method for playing back, terminal set top box and front end broadcasting system
US10616525B2 (en) Control method and device of signal source switching
EP2399383A1 (en) Method and apparatus to detect preview of encrypted content
JP4928525B2 (en) Receiver
CN112399097B (en) Signal interference processing method, digital television and storage medium
CN103812853A (en) Network congestion video self-adaptive system
CN202334796U (en) Internet protocol television (IPTV) supervising device
CN105657525A (en) Channel switching method and device
JP2002135813A (en) Broadcasting receiver and electronic equipment

Legal Events

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

Granted publication date: 20110810

Termination date: 20190412

CF01 Termination of patent right due to non-payment of annual fee