CN111866581B - Method for rapidly switching digital television programs - Google Patents

Method for rapidly switching digital television programs Download PDF

Info

Publication number
CN111866581B
CN111866581B CN202010717379.3A CN202010717379A CN111866581B CN 111866581 B CN111866581 B CN 111866581B CN 202010717379 A CN202010717379 A CN 202010717379A CN 111866581 B CN111866581 B CN 111866581B
Authority
CN
China
Prior art keywords
pointer
playing
digital television
parameters
video
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.)
Active
Application number
CN202010717379.3A
Other languages
Chinese (zh)
Other versions
CN111866581A (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.)
Hangzhou Nationalchip Science & Technology Co ltd
Original Assignee
Hangzhou Nationalchip 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 Hangzhou Nationalchip Science & Technology Co ltd filed Critical Hangzhou Nationalchip Science & Technology Co ltd
Priority to CN202010717379.3A priority Critical patent/CN111866581B/en
Publication of CN111866581A publication Critical patent/CN111866581A/en
Application granted granted Critical
Publication of CN111866581B publication Critical patent/CN111866581B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving MPEG packets from an IP network
    • H04N21/4383Accessing a communication channel
    • H04N21/4384Accessing a communication channel involving operations to reduce the access time, e.g. fast-tuning for reducing channel switching latency
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs

Abstract

The invention discloses a method for rapidly switching digital television programs. The digital television consumes a long time when programs are switched. In the method, a recorder stores effective data of a current frequency point to an annular cache region, and a demultiplexer reads the data for playing; and a write pointer, a read pointer and a rollback pointer are arranged in the annular cache region, and the read pointer, the rollback pointer and the write pointer keep following. Under the same frequency point, after receiving a channel switching instruction, modifying a reading pointer into a backspacing pointer position, configuring audio and video filtering parameters of a new program, starting filtering, configuring video parameters, starting video playing, configuring audio parameters after a first frame is played by the video, and starting audio playing. Under the condition of different frequency points, after a channel switching instruction is received, a current frequency point data path is cut off, a write pointer, a read pointer and a rollback pointer are cleared, the parameters of a new program are configured, audio and video playing is started, and asynchronous frequency locking is carried out. The method of the invention fundamentally improves the channel changing speed and improves the user experience.

Description

Method for rapidly switching digital television programs
Technical Field
The invention belongs to the technical field of digital multimedia, and particularly relates to a method for quickly switching digital television programs.
Background
At present, the popularity of digital televisions is higher and higher, the digital televisions are easy to have a pause phenomenon when different channels are switched, the time from pressing a remote controller to a new picture is longer, sometimes the phenomenon is serious, and the channel switching time lags by more than 1 second. End users have increasingly demanded the speed of digital television channel change. The conventional channel switching method generally has the following defects, which result in the channel switching speed not being fast enough:
1. when channels are changed at different frequency points, the configuration sequences of frequency locking, frequency demultiplexing, decoders and the like are carried out without parallelism;
2. when the same-frequency point is switched, data is not cached, so that decoding can be carried out only when new data arrives;
3. when the channel switching is carried out at the same frequency point, even if cache data exists, a large amount of data is copied due to the problem of system design, and the channel switching speed is greatly influenced;
4. the audio and the video are configured simultaneously, certain software and hardware resources are consumed for the configuration and the work of the audio, and the slow video playing speed is increased.
The above factors result in a channel switching time that is too long.
Disclosure of Invention
The invention aims to provide a method for rapidly switching digital television programs aiming at the defects of the prior art.
In the method, the digital television receives the current frequency point data, the recorder discards the empty packet in the current frequency point data, the effective data is stored in the annular buffer area of the DDR, the demultiplexer reads the data in the buffer area for playing, and the played data is covered by the frequency point data stored in the later period.
The annular cache region is internally provided with a write pointer, a read pointer and a backspace pointer, the recorder stores data according to the position appointed by the write pointer, the demultiplexer reads the data according to the position appointed by the read pointer, the backspace pointer and the write pointer keep following states, and the read pointer is positioned between the backspace pointer and the write pointer.
If the programs before and after switching are the same frequency point, that is, the current program and the program to be switched are forwarded through the same transponder, the switching method specifically comprises the following steps:
step (1), after receiving a channel switching instruction, the digital television suspends filtering, suspends decoding and suspends playing;
step (2), the digital television main chip modifies the position of the reading pointer into the position of the backspacing pointer;
step (3), configuring audio and video filtering parameters of a new program by a main chip of the digital television, and starting filtering;
step (4), configuring video decoding and playing parameters by a digital television main chip and starting video playing;
and (5) after the video is played out of the first frame, configuring audio decoding and playing parameters and starting audio playing.
If the programs before and after switching are different frequency points, namely the current program and the program to be switched are respectively forwarded through different repeaters, the switching method specifically comprises the following steps:
after receiving a channel switching instruction, the digital television cuts off a current frequency point data path;
suspending filtering, suspending decoding, suspending playing, and resetting a write pointer, a read pointer and a rollback pointer;
step (c), configuring the filtering parameters, decoding parameters and playing parameters of the new program by the digital television main chip, and starting audio and video playing; and simultaneously configuring the frequency point parameters of the new program to perform frequency locking.
Furthermore, the backspacing pointer and the writing pointer keep a following state with a distance of 0.3-1.0 second.
The method of the invention avoids copying a large amount of data, reads the cache data for playing, sets the backspacing pointer in the annular cache region, can instantly filter out the audio and video data of the target program for decoding, and does not need to wait for the front end data. Meanwhile, the parallelism of the system is improved on the premise of not losing the speed, the channel changing speed is fundamentally improved, and the user experience is improved.
Drawings
FIG. 1 is a schematic diagram of data flow of program playing in the present invention;
FIG. 2 is a diagram illustrating the locations of a write pointer, a read pointer, and a back pointer in a ring cache;
FIG. 3 is a simplified flow diagram of the present invention.
Detailed Description
The technical solution of the present invention is further described below with reference to the accompanying drawings and examples. It is noted that the drawings are designed solely for the purposes of illustration and not as a definition of the limits of the patent. Meanwhile, the present invention may be implemented in various forms and should not be limited by the embodiments set forth herein. The following embodiments are provided so that this disclosure will be understood more readily and will fully convey the scope of the invention to those skilled in the art.
A method for rapidly switching digital television programs is disclosed, wherein the data stream of the program playing in the method is shown in figure 1. The digital television receives the current frequency point data, the recorder discards the empty packet in the current frequency point data, the effective data is stored in an annular buffer area of a DDR (double data rate) memory, the demultiplexer reads the data in the buffer area for playing, and the played data is covered by the frequency point data stored in the later period. As shown in fig. 2, a write pointer, a read pointer, and a rollback pointer are disposed in the ring buffer, and a hollow arrow in the figure indicates a data flow direction. The recorder stores data according to the position designated by the write pointer, the demultiplexer reads data according to the position designated by the read pointer, the read pointer and the write pointer keep a following state, the backoff pointer and the write pointer keep a following state which is 0.3-1.0 seconds away from each other (in the embodiment, the backoff pointer and the write pointer are set to be 0.5 seconds apart), and the read pointer is located between the backoff pointer and the write pointer.
As shown in fig. 3, different methods are used for the same frequency point and different frequency points. The same frequency point condition means that the current program and the program to be switched are forwarded through the same transponder, and the different frequency point condition means that the current program and the program to be switched are respectively forwarded through different transponders.
The same frequency point condition switching method specifically comprises the following steps:
step (1), after receiving a channel switching instruction, the digital television suspends filtering, suspends decoding and suspends playing;
step (2), the digital television main chip modifies the position of the reading pointer into the position of the backspacing pointer;
step (3), configuring audio and video filtering parameters of a new program by a main chip of the digital television, and starting filtering;
step (4), configuring video decoding and playing parameters by a digital television main chip and starting video playing;
and (5) after the video is played out of the first frame, configuring audio decoding and playing parameters and starting audio playing.
Under the condition of the same frequency point, useful data of all programs of the current frequency point are cached, so that enough cached data are used for demultiplexing at the time of channel switching among the programs of the same frequency point, audio and video data of a target program can be filtered instantly for decoding, and front-end data does not need to be waited. In order to make the demultiplexing efficiency extremely high, empty packets are discarded when data is cached, and only useful data is cached. In order to avoid copying of a large amount of data, during switching, only the read pointer of the demultiplexing read cache data is pulled back, and original data copying is not carried out. The burden of the CPU is reduced, and the consumption of the memory is reduced. Finally, considering that the user generally pays more attention to the time of the first frame video, the attention to the audio is not so high, and the channel change time of the audio is much less than that of the video, the configuration of the audio and the video is not performed simultaneously, the configuration of the video is performed first, the configuration of the audio is performed after the first frame video is played, and software and hardware resources at the channel change moment are all given up to the video. In this way, the speed of zapping is optimized to be extreme.
The method for switching different frequency point conditions specifically comprises the following steps:
step (1), after receiving a channel switching instruction, the digital television cuts off a current frequency point data path;
step (2), pausing filtering, pausing decoding, pausing playing, and resetting a write pointer, a read pointer and a rollback pointer;
step (3), configuring a filtering parameter, a decoding parameter and a playing parameter of a new program by a digital television main chip, and starting audio and video playing; and simultaneously configuring the frequency point parameters of the new program to perform frequency locking.
Under the condition of different frequency points, the bottleneck of channel switching speed is in the locking of a new frequency point. The configuration of frequency locking and new programs in the conventional process is serial, and considering that the locking of frequency points generally needs more time, the data of old frequency points are firstly cut off during switching, the locking of new frequency points is put into a new thread for asynchronous frequency locking, and a filter, a decoder and the like of new programs are configured. That is, the frequency locking and the configuration of the new program are parallel, and the time consumption of channel switching is greatly reduced.

Claims (2)

1. A method for fast switching digital television programs is characterized in that: in the method, a digital television receives current frequency point data, a recorder discards empty packets in the current frequency point data, effective data is stored in a DDR annular buffer area, a demultiplexer reads data in the buffer area for playing, and the played data is covered by frequency point data stored in a later period;
a write pointer, a read pointer and a backspace pointer are arranged in the annular cache region, the recorder stores data according to the position designated by the write pointer, the demultiplexer reads the data according to the position designated by the read pointer, the backspace pointer and the write pointer keep following states, and the read pointer is positioned between the backspace pointer and the write pointer;
if the programs before and after switching are the same frequency point, that is, the current program and the program to be switched are forwarded through the same transponder, the switching method specifically comprises the following steps:
step (1), after receiving a channel switching instruction, the digital television suspends filtering, suspends decoding and suspends playing;
step (2), the digital television main chip modifies the position of the reading pointer into the position of the backspacing pointer;
step (3), configuring audio and video filtering parameters of a new program by a main chip of the digital television, and starting filtering;
step (4), configuring video decoding and playing parameters by a digital television main chip and starting video playing;
step (5), after the video is played out of the first frame, configuring audio decoding and playing parameters and starting audio playing;
if the programs before and after switching are different frequency points, namely the current program and the program to be switched are respectively forwarded through different repeaters, the switching method specifically comprises the following steps:
after receiving a channel switching instruction, the digital television cuts off a current frequency point data path;
suspending filtering, suspending decoding, suspending playing, and resetting a write pointer, a read pointer and a rollback pointer;
step (c), configuring the filtering parameters, decoding parameters and playing parameters of the new program by the main chip of the digital television, and starting audio and video playing; and simultaneously configuring the frequency point parameters of the new program to perform frequency locking.
2. The method for rapidly switching digital television programs according to claim 1, wherein: the backspacing pointer and the writing pointer keep a following state with a distance of 0.3-1.0 second.
CN202010717379.3A 2020-07-23 2020-07-23 Method for rapidly switching digital television programs Active CN111866581B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010717379.3A CN111866581B (en) 2020-07-23 2020-07-23 Method for rapidly switching digital television programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010717379.3A CN111866581B (en) 2020-07-23 2020-07-23 Method for rapidly switching digital television programs

Publications (2)

Publication Number Publication Date
CN111866581A CN111866581A (en) 2020-10-30
CN111866581B true CN111866581B (en) 2022-08-23

Family

ID=72949839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010717379.3A Active CN111866581B (en) 2020-07-23 2020-07-23 Method for rapidly switching digital television programs

Country Status (1)

Country Link
CN (1) CN111866581B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113727160A (en) * 2021-08-31 2021-11-30 杭州国芯科技股份有限公司 Method for supporting multi-language starting picture of set top box

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1868367B1 (en) * 2006-06-06 2015-12-09 Alcatel Lucent Fast video channel change
US20080120648A1 (en) * 2006-11-21 2008-05-22 Carlson Michael P System and method to change stations and start programming at beginning of segments
CN101132521A (en) * 2007-09-25 2008-02-27 华为技术有限公司 Method and device for switching IPTV channels
CN101257600B (en) * 2007-09-28 2010-06-02 深圳市同洲电子股份有限公司 Real time digital television program replaying method
US8776157B2 (en) * 2008-11-21 2014-07-08 Ericsson Television Inc. Methods and systems for a current channel buffer for network based personal video recording
CN101521777B (en) * 2009-03-31 2011-02-16 深圳创维数字技术股份有限公司 DTV frequency channel switching method, DTV frequency channel switching system and DTV receiving terminal
CN101834978B (en) * 2009-12-23 2011-09-28 福建新大陆通信科技股份有限公司 Method for optimizing digital set-top box EPG system
CN102223511B (en) * 2011-06-13 2014-03-12 Tcl集团股份有限公司 Television program recording and broadcasting method and system, and television device
CN104375952A (en) * 2013-08-14 2015-02-25 南宁市跃龙科技有限公司 Method for reading data from ring buffer
JP2016130921A (en) * 2015-01-13 2016-07-21 富士通オプティカルコンポーネンツ株式会社 Transmission device and method for controlling fifo circuit
CN106331820B (en) * 2015-06-29 2020-01-07 成都鼎桥通信技术有限公司 Audio and video synchronization processing method and device
CN106658162A (en) * 2015-11-03 2017-05-10 中兴通讯股份有限公司 Channel changing method, channel changing device and set-top box
AU2016203305A1 (en) * 2016-05-20 2017-12-07 Canon Kabushiki Kaisha Method, apparatus and system for encoding and decoding video data
CN108737886B (en) * 2017-04-25 2021-02-26 澜至电子科技(成都)有限公司 System and method for quickly switching digital programs and digital set top box
CN111257637B (en) * 2020-02-21 2022-05-20 深圳市中电电力技术股份有限公司 Ultra-high harmonic measurement method and system

Also Published As

Publication number Publication date
CN111866581A (en) 2020-10-30

Similar Documents

Publication Publication Date Title
CN103051955B (en) Flow media playing method and device
WO2019223040A1 (en) Method and device for synthesizing audio and video data stream
CA2660725C (en) Method and apparatus for receiving, storing, and presenting multimedia programming without indexing prior to storage
EP1708506B1 (en) Rapid media channel changing mechanism and access network node comprising same
EP2757779B1 (en) Method and terminal for video processing
US9852771B2 (en) Method of timebase management for MPEG decoding with personal video recording functionality
US20110075985A1 (en) Unified Recording and Pause Buffer Format
US10104449B1 (en) Systems and methods for causing a stunt switcher to run a bug-overlay DVE
US20080040537A1 (en) Digital video recorder having hierarchical memories and method for implementing hierarchical memories
CN100484213C (en) More user friendly time-shift buffer
CN102137275B (en) Method and device for rapidly pushing unicast stream in rapid channel switching
US20030202775A1 (en) Live picture presentation while digital video recording
CN111866581B (en) Method for rapidly switching digital television programs
JP2007515108A (en) Method and system for preventing display disturbance due to poor quality reception
JP4891847B2 (en) Recording apparatus, recording / reproducing system, and recording method
JP5496548B2 (en) Semiconductor integrated circuit
CN108924634A (en) A kind of TS stream method for quickly identifying and device
JP5063944B2 (en) Digital broadcast receiver with recording function
KR20040019091A (en) Entertainment schedule adapter
KR20090080419A (en) Method and apparatus for processing additional data of broadcasting signal, method and apparatus for recording broadcasting signal, method and apparatus for reproducing recorded broadcasting signal
US20070201825A1 (en) Method for time shift and television receiver
CN106131655B (en) A kind of playback method based on real-time video and smooth catch-up playback method
US20080091438A1 (en) Audio signal decoder and resource access control method
JP2010028447A (en) Digital broadcast receiving apparatus
KR101350691B1 (en) Control method of internal power supply on record and broadcast receiving apparatus using the same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant