CN105472454A - Signal format automatic detection method for decoder - Google Patents
Signal format automatic detection method for decoder Download PDFInfo
- Publication number
- CN105472454A CN105472454A CN201511023839.8A CN201511023839A CN105472454A CN 105472454 A CN105472454 A CN 105472454A CN 201511023839 A CN201511023839 A CN 201511023839A CN 105472454 A CN105472454 A CN 105472454A
- Authority
- CN
- China
- Prior art keywords
- signal
- signal format
- decoder
- rule
- user
- 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
Links
- 238000001514 detection method Methods 0.000 title abstract description 3
- 238000000034 method Methods 0.000 claims abstract description 31
- 238000004458 analytical method Methods 0.000 claims abstract description 7
- 238000012360 testing method Methods 0.000 claims description 7
- 230000003044 adaptive effect Effects 0.000 claims description 4
- 230000002452 interceptive effect Effects 0.000 claims description 4
- 230000000284 resting effect Effects 0.000 claims description 3
- 230000006266 hibernation Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000010223 real-time analysis Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/438—Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
- H04N21/4385—Multiplex stream processing, e.g. multiplex stream decrypting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/8166—Monomedia components thereof involving executable data, e.g. software
- H04N21/8193—Monomedia components thereof involving executable data, e.g. software dedicated tools, e.g. video decoder software or IPMP tool
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Input From Keyboards Or The Like (AREA)
Abstract
The invention discloses a signal format automatic detection method for a decoder. The method comprises the following steps: (1) after system startup, performing initialization and creating an analyzing thread and a processing thread; (2) after the processing thread is created, entering a hibernation state, awakening the processing thread after the occurrence of a signal format change event, and performing processing according to a generated specific event through a rule set by a user or a default rule; (3) in the analyzing thread, firstly judging whether a signal is locked by the decoder or not, and if the signal is locked, acquiring a relevant information parameter; (4) judging whether signal streams are saved lastly or not according to relevant information, if so, performing a further analysis, and otherwise, saving a relevant parameter; and (5) performing a parameter comparison, and analyzing a signal format change situation. Through adoption of the method, the problem that the decoder cannot decode normally due to signal format changes is solved.
Description
Technical field
The present invention relates to a kind of signal format automatic testing method for decoder, the mainly intellectuality of front end audio/video decoder, can be applied in broadcasting and TV headend equipment product.
Background technology
Traditional decoder is first tuning, the form of data in analytic signal, again according to the format configuration decoding chip of signal, decode, if in the process play, the form of signal source there occurs change, then decoded portion may be caused due to the appearance of the decoding discontinuities of the not corresponding generation of form or the partial decoding of h situation such as unsuccessfully.Such as: play process in, the Audio Stream type of signal source creates change, now decoding chip can because arrange decoding parametric not to and cause audio decoder failure, cause audio frequency no-output.
Summary of the invention
The object of the present invention is to provide a kind of signal format automatic testing method for decoder, solve the problem that the change due to signal format causes decoders decode normally not carry out.
In order to solve the problem of above-mentioned technology, the technical solution used in the present invention is: a kind of for decoder can the method for automatic detection signal form, said method comprising the steps of:
(1), during system boot, create after initialization completes and analyze thread and processing threads;
(2) processing threads enters resting state after creating, and after there is the event of signal format change, processing threads can be waken up, and according to the concrete event produced, the rule arranged by user or default rule are processed;
(3) analyze thread and first judge decoder whether locking signal, if locking signal, then obtain relevant information parameter;
(4) again according to whether saving the relevant information of signal stream last time, if preserve, then next step analysis is carried out, otherwise, then preserve relevant parameter;
(5) parameter compares, and analyzes the situation of change of signal format, if signal no change, does not then process; If signal changes, produce corresponding event, then wake up process thread carries out processing and preserves current signal correction information;
As a preferred embodiment of the present invention, processing threads described in step (5) carries out processing and comprises system and automatically do adaptive process or notify user by interactive interface.
As a preferred embodiment of the present invention, step (5) is if signal changes, produce corresponding event, then wake up process thread carries out processing and also comprises after preserving current signal correction information: if user is provided with rule, then arrange rule by user to carry out, if user does not arrange rule, then press default rule process.
As a preferred embodiment of the present invention, described default rule is for giving notice or warning.
The inventive method by the change of real-time analysis signal format, thus takes certain process, the problem this change due to signal format can being avoided to the full extent to cause decoders decode can not normally carry out; The realization that the present invention solves is divided into several part: (1) signal analysis (2) user policy (3) event handling;
Wherein, signal analysis, by the form of the thread execution timing analysis signal in system, obtains relevant parameter.By the parameter obtained compared with the parameter of preserving before, analyze signal format and whether change.If signal format there occurs change, then retain new signal format parameter, and produce corresponding event, wake up process thread processes.
User policy defines the processing method of different event, can be that system does adaptive process automatically, also can be notify user by the interactive interface of similar webmaster etc.
Event handling, equally by the thread execution in system, when there being event to produce, processes according to the rule that user is arranged.If user does not arrange rule, then press default rule process, such as, produce notice or alarm.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms a application's part, does not form inappropriate limitation of the present invention, in the accompanying drawings:
Fig. 1 is present system block diagram.
Fig. 2 is the schematic flow sheet of the inventive method.
Embodiment
Describe the present invention in detail below in conjunction with accompanying drawing and specific embodiment, be used for explaining the present invention in this illustrative examples of the present invention and explanation, but not as a limitation of the invention.
With reference to figure 1,2, decoder signal form automatic identifying method of the present invention, said method comprising the steps of:
(1), during system boot, create after initialization completes and analyze thread and processing threads;
(2) processing threads enters resting state after creating, and after there is the event of signal format change, processing threads can be waken up, and according to the concrete event produced, the rule arranged by user or default rule are processed; Concrete, if user is provided with rule, then rule is set by user and carries out, if user does not arrange rule, then press default rule process; Concrete, described default rule is for giving notice to user interface or warning etc.
(3) analyze thread and first judge decoder whether locking signal, if locking signal, then obtain relevant information parameter;
(4) again according to whether saving the relevant information of signal stream last time, if preserve, then next step analysis is carried out, otherwise, then preserve relevant parameter;
(5) parameter compares, and analyzes the situation of change of signal format, if signal no change, does not then process; If signal changes, produce corresponding event, then wake up process thread carries out processing and preserves current signal correction information;
Concrete, processing threads carries out processing and comprises system and automatically do adaptive process or notify user by interactive interface.
Above the technical scheme that the embodiment of the present invention provides is described in detail, apply specific case herein to set forth the principle of the embodiment of the present invention and execution mode, the explanation of above embodiment is only applicable to the principle helping to understand the embodiment of the present invention; Meanwhile, for one of ordinary skill in the art, according to the embodiment of the present invention, embodiment and range of application all will change, and in sum, this description should not be construed as limitation of the present invention.
Claims (4)
1., for a signal format automatic testing method for decoder, it is characterized in that, said method comprising the steps of:
(1), during system boot, create after initialization completes and analyze thread and processing threads;
(2) processing threads enters resting state after creating, and after there is the event of signal format change, processing threads can be waken up, and according to the concrete event produced, the rule arranged by user or default rule are processed;
(3) analyze thread and first judge decoder whether locking signal, if locking signal, then obtain relevant information parameter;
(4) again according to whether saving the relevant information of signal stream last time, if preserve, then next step analysis is carried out, otherwise, then preserve relevant parameter;
(5) parameter compares, and analyzes the situation of change of signal format, if signal no change, does not then process; If signal changes, produce corresponding event, then wake up process thread carries out processing and preserves current signal correction information.
2. a kind of signal format automatic testing method for decoder according to claim 1, is characterized in that: processing threads described in step (5) carries out processing and comprises system and automatically do adaptive process or notify user by interactive interface.
3. a kind of signal format automatic testing method for decoder according to claim 1, it is characterized in that: step (5) is if signal changes, produce corresponding event, then wake up process thread carries out processing and also comprises after preserving current signal correction information: if user is provided with rule, then arrange rule by user to carry out, if user does not arrange rule, then press default rule process.
4. a kind of signal format automatic testing method for decoder according to claim 3, is characterized in that: described default rule is for giving notice or warning.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511023839.8A CN105472454A (en) | 2015-12-29 | 2015-12-29 | Signal format automatic detection method for decoder |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511023839.8A CN105472454A (en) | 2015-12-29 | 2015-12-29 | Signal format automatic detection method for decoder |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105472454A true CN105472454A (en) | 2016-04-06 |
Family
ID=55609665
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511023839.8A Pending CN105472454A (en) | 2015-12-29 | 2015-12-29 | Signal format automatic detection method for decoder |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105472454A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1249619A (en) * | 1998-07-02 | 2000-04-05 | 索尼公司 | TV Receiver |
CN1294816A (en) * | 1997-09-18 | 2001-05-09 | 汤姆森消费电子有限公司 | Digital television apparatus for controlling peripheral devices via a digital bus |
CN1325231A (en) * | 2000-03-31 | 2001-12-05 | 松下电器产业株式会社 | Method for making high-legibility TV signal form variation and screen display synchronous |
-
2015
- 2015-12-29 CN CN201511023839.8A patent/CN105472454A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1294816A (en) * | 1997-09-18 | 2001-05-09 | 汤姆森消费电子有限公司 | Digital television apparatus for controlling peripheral devices via a digital bus |
CN1249619A (en) * | 1998-07-02 | 2000-04-05 | 索尼公司 | TV Receiver |
CN1325231A (en) * | 2000-03-31 | 2001-12-05 | 松下电器产业株式会社 | Method for making high-legibility TV signal form variation and screen display synchronous |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105227988B (en) | A kind of method and device that smart television is arranged according to scene display system | |
AU2018292286B2 (en) | Techniques for detecting media playback errors | |
US20160366204A1 (en) | Video information playing system and method | |
WO2020038127A1 (en) | Decoding method and apparatus, electronic device, and storage medium | |
KR100963211B1 (en) | Method and apparatus for signaling and decoding different version ABS1-P2 bitstreams | |
US20160371545A1 (en) | Automatic extraction of closed caption data from frames of an audio video (av) stream using image clipping | |
CN104093017A (en) | Method for monitoring three-channel signals through comparison | |
CN103167221B (en) | Switching method capable of guaranteeing broadcast safety through quality supervision comparison | |
US8422859B2 (en) | Audio-based chapter detection in multimedia stream | |
CN107277645A (en) | Error correction method and device for subtitle content | |
CN105472454A (en) | Signal format automatic detection method for decoder | |
US9582244B2 (en) | Using mute/non-mute transitions to output an alert indicating a functional state of a back-up audio-broadcast system | |
CN102098450B (en) | Method for automatically detecting real-time signals or streams to realize full-automatic recording | |
CN100435588C (en) | Block effect removing method for video compression | |
CN202652435U (en) | A digital TV set-top box that automatically generates subtitles | |
CN101252649A (en) | Digital television program rapid channel switching method | |
CN111385044B (en) | System, method and device for emergency broadcast in display terminal | |
CN104796732A (en) | Audio and video editing method and device | |
US20060233244A1 (en) | Method and system for detecting weak or invalid signals in data streams | |
CN109788357B (en) | A method and device for playing media files | |
CN108600805A (en) | A kind of set-top box and its method of removal television broadcast sounds source interference | |
CN112788407A (en) | Method for awakening emergency broadcast by subcarrier, cable television set top box and system | |
CN106101822A (en) | H.264 video reorientation method and device of based on Windows system | |
CN112788412A (en) | Method for awakening emergency broadcast by subcarrier, DTMB set top box and system | |
CN112788393A (en) | Method for responding to emergency broadcast by DRM (digital rights management), IPTV (Internet protocol television) set top box and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160406 |
|
RJ01 | Rejection of invention patent application after publication |