CN101202877B - Set-top box and method and apparatus for program switch - Google Patents

Set-top box and method and apparatus for program switch Download PDF

Info

Publication number
CN101202877B
CN101202877B CN200710075311A CN200710075311A CN101202877B CN 101202877 B CN101202877 B CN 101202877B CN 200710075311 A CN200710075311 A CN 200710075311A CN 200710075311 A CN200710075311 A CN 200710075311A CN 101202877 B CN101202877 B CN 101202877B
Authority
CN
China
Prior art keywords
program
map table
program map
module
frequency
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
CN200710075311A
Other languages
Chinese (zh)
Other versions
CN101202877A (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 Coship Electronics Co Ltd
Original Assignee
Shenzhen Coship Electronics 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 Coship Electronics Co Ltd filed Critical Shenzhen Coship Electronics Co Ltd
Priority to CN200710075311A priority Critical patent/CN101202877B/en
Publication of CN101202877A publication Critical patent/CN101202877A/en
Application granted granted Critical
Publication of CN101202877B publication Critical patent/CN101202877B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention is applicable to the technical field of digital televisions and provides a set top box and a program switch method and a device. The program switch method comprises the following steps:when a first program of the frequency point is played, the program related table of the frequency point is analyzed and the corresponding program mapping table of all programs under the frequency point is obtained; the obtained program mapping table is stored; when switching programs under the frequency point, the program mapping table corresponding to the program is read from the stored program mapping table and sent to a conditional receiving module. When the first program of a new frequency point is played, the invention obtains the program mapping table corresponding to all programs underthe frequency point and stores, and when switching programs under the frequency point, the invention reads the program mapping table corresponding to the program from the stored program mapping tableand sends to the conditional receiving module to descramble, thus saving the time waiting for the PMT table searching.

Description

A kind of set-top box and program switching method thereof and device
Technical field
The invention belongs to the digital television techniques field, relate in particular to a kind of set-top box and program switching method thereof and device.
Background technology
Digital Television is that audience has been brought colourful TV programme.Wherein, (Conditional Access, CA) technology also provides various quality services for being authorized to the user when having guaranteed benefits of operators in the condition reception.
Current program needs Program Map Table (Program Map Table, PMT) the middle relevant information of describing when descrambling.In each broadcast ciphered program, the digital received system all will search for the central pairing PMT of current program of code stream in real time, wait for the PMT search, after PMT searches out, give Conditional Access Module and carry out descrambling, cause the broadcasting speed of ciphered program to be lower than the broadcasting speed of clear stream program.
Like this, when switching, wait for that the search time of PMT is long, cause unnecessary time waste with program under the frequency.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of program switching method, is intended to solve when carrying out the program switching in the prior art under current frequency, slatterns the PMT problem of search time of waiting for.
The embodiment of the invention is achieved in that a kind of program switching method, said method comprising the steps of:
Whether the frequency of judging current playing program is new frequency, if, then when playing the top line of this new frequency, resolve the Program Association Table of this new frequency, obtain the Program Map Table of the correspondence of all programs under this new frequency;
The Program Map Table that storage is obtained;
When under this new frequency, carrying out the program switching, from the Program Map Table of storage, read the Program Map Table corresponding, send to Conditional Access Module with this program.
Another purpose of the embodiment of the invention is to provide a kind of program switching device shifter, and described device comprises:
The frequency judge module is used to judge whether the frequency of current playing program is new frequency;
The Program Map Table acquisition module is used for when the frequency of current playing program is new frequency, when playing the top line of this new frequency, resolves the Program Association Table of this new frequency, obtains the Program Map Table of the correspondence of all programs under this new frequency;
The Program Map Table memory module is used to store the Program Map Table that obtains; And
The Program Map Table sending module when being used for carrying out the program switching under this new frequency, is read the Program Map Table corresponding with this program from the Program Map Table of storage, send to Conditional Access Module.
The another purpose of the embodiment of the invention is to provide a kind of set-top box, comprises Conditional Access Module and program switching device shifter, and described program switching device shifter comprises:
The frequency judge module is used to judge whether the frequency of current playing program is new frequency;
The Program Map Table acquisition module is used for when the frequency of current playing program is new frequency, when playing the top line of this new frequency, resolves the Program Association Table of this new frequency, obtains the Program Map Table of the correspondence of all programs under this new frequency;
The Program Map Table memory module is used to store the Program Map Table that obtains; And
The Program Map Table sending module when being used for carrying out the program switching under this new frequency, is read the Program Map Table corresponding with this program from the Program Map Table of storage, send to Conditional Access Module.
The embodiment of the invention is by when playing the top line of frequency, obtain the Program Map Table and the storage of the correspondence of all programs under this new frequency, when under this new frequency, carrying out the program switching, from the Program Map Table of storage, read the Program Map Table corresponding with this program, send to Conditional Access Module, saved the time of waiting for the pmt table search.
Description of drawings
Fig. 1 is the flow chart of the program switching method that provides of the embodiment of the invention;
Fig. 2 is the structure chart of the program switching device shifter that provides of the embodiment of the invention;
Fig. 3 is the structure chart of the set-top box that provides of the embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The embodiment of the invention is by when playing the top line of new frequency, obtain the Program Map Table and the storage of the correspondence of all programs under this new frequency, when under this new frequency, carrying out the program switching, from the Program Map Table of storage, read the Program Map Table corresponding, send to Conditional Access Module with this program.
Fig. 1 shows the flow process of the program switching method that the embodiment of the invention provides, and details are as follows.
In step S101, judge whether the frequency of current playing program is new frequency.
Wherein, judge whether the frequency of current playing program is new frequency, judge just whether current frequency is come by other frequency switching.When the frequency of current playing program was not new frequency, as existing technology, whether the PMT that at first searches for this frequency had storage, when storage, carried out step S102: read the PMT of buffer memory and send to Conditional Access Module from buffer memory; When the frequency of current playing program is new frequency, carry out step S103.
In step S103, discharge the memory headroom that PMT that the last frequency of this new frequency asks accounts for.Like this, the memory headroom of the last frequency dynamic assignment by discharging this new frequency is for current new frequency has been vacateed enough memory spaces.
In step S104, (Program Association Table PAT), obtains the PMT of all program correspondences under this frequency to resolve the Program Association Table of current frequency.
In step S105, the PMT that storage is obtained.
In specific implementation process, at first resolve the described program number of this frequency PMT, and the length of each program, according to the program number of this frequency and the length of each program, dynamic assigning memory.
Certainly, after PMT is stored, be not that PMT is deposited always, but the real-time PMT to storage upgrades, renewal process is: the version that reads this PMT correspondence in code stream, judge according to this PMT corresponding version in code stream whether needs upgrade this PMT, when judging that this PMT need upgrade, then upgrade the PMT that has stored.
In step S106, when under current frequency, carrying out the program switching, from the PMT of storage, read the PMT corresponding with this program, send to Conditional Access Module, by Conditional Access Module the PMT that receives is carried out descrambling.
Fig. 2 shows the structure of the program switching device shifter 10 that the embodiment of the invention provides.
Frequency judge module 11 judges whether the frequency of current playing program is new frequency.
When frequency judge module 11 judges that the frequency of current playing program is new frequency, the memory headroom that the pmt table that the last frequency that internal memory release module 12 discharges this new frequency is asked accounts for.
Program Map Table acquisition module 13 is resolved the PAT of this new frequency, obtains the PMT of the correspondence of all programs under this new frequency;
The PMT that 14 storages of Program Map Table memory module are obtained.
As embodiments of the invention, this Program Map Table memory module 14 further comprises Program Association Table parsing module 141 and memory allocating module 142, Program Association Table parsing module 141 is resolved the described program number of this frequency PMT, and the length of each program, memory allocating module 142 is according to the program number of this frequency and the length of each program, dynamic assigning memory.
In specific implementation process, Program Map Table version read module 15 reads the version of this PMT correspondence in code stream, and Program Map Table judge module 16 judges according to this PMT corresponding version in code stream whether needs upgrade this PMT.
When judging that this PMT need upgrade, Program Map Table update module 17 is upgraded the PMT that has stored.
When carrying out the program switching under current frequency, Program Map Table sending module 18 is read the PMT corresponding with this program from the PMT of storage, send to Conditional Access Module, by Conditional Access Module the PMT that receives is carried out descrambling.
Fig. 3 shows the structure chart of the set-top box that the embodiment of the invention provides, this set-top box comprises program switching device shifter 10 and Conditional Access Module 20, wherein, the internal structure of program switching device shifter 10 and state at preamble with the interaction theory of Conditional Access Module 20 repeats no more herein.
The embodiment of the invention is by when playing the top line of new frequency, obtain the Program Map Table and the storage of the correspondence of all programs under this new frequency, when under this new frequency, carrying out the program switching, from the Program Map Table of storage, read the Program Map Table corresponding with this program, send to Conditional Access Module and carry out descrambling, solved and under same frequency, carried out program in the prior art when switching, PMT search time long problem.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a program switching method is characterized in that, said method comprising the steps of:
Whether the frequency of judging current playing program is new frequency, if, then when playing the top line of this new frequency, resolve the Program Association Table of this new frequency, obtain the Program Map Table of the correspondence of all programs under this new frequency;
The Program Map Table that storage is obtained;
When under this new frequency, carrying out the program switching, from the Program Map Table of storage, read the Program Map Table corresponding, send to Conditional Access Module with this program.
2. program switching method as claimed in claim 1 is characterized in that, before the Program Association Table of the new frequency of described parsing, described method further comprises:
Discharge the memory headroom that Program Map Table that the last frequency of this new frequency asks accounts for.
3. program switching method as claimed in claim 1 is characterized in that, the step of the Program Map Table that described storage is obtained further comprises:
Resolve the described program number of this new frequency Program Association Table, and the program length of each program;
According to the program number of this new frequency and the program length of each program, dynamic assigning memory.
4. program switching method as claimed in claim 1 is characterized in that, after the Program Map Table that storage is obtained, described method further comprises:
Read the version of described Program Map Table correspondence in code stream;
Judge according to described Program Map Table corresponding version in code stream whether needs upgrade this Program Map Table;
When judging that this Program Map Table need upgrade, upgrade the Program Map Table of having stored.
5. a program switching device shifter is characterized in that, described device comprises:
The frequency judge module is used to judge whether the frequency of current playing program is new frequency;
The Program Map Table acquisition module is used for when the frequency of current playing program is new frequency, when playing the top line of this new frequency, resolves the Program Association Table of this new frequency, obtains the Program Map Table of the correspondence of all programs under this new frequency;
The Program Map Table memory module is used to store the Program Map Table that obtains; And
The Program Map Table sending module when being used for carrying out the program switching under this new frequency, is read the Program Map Table corresponding with this program from the Program Map Table of storage, send to Conditional Access Module.
6. program switching device shifter as claimed in claim 5 is characterized in that, described device further comprises:
The internal memory release module is used for when the frequency of current playing program is new frequency, discharges the memory headroom that Program Map Table that the last frequency of this new frequency asks accounts for;
Described internal memory release module connects described frequency judge module.
7. program switching device shifter as claimed in claim 5 is characterized in that, described Program Map Table memory module further comprises:
The Program Association Table parsing module is used for resolving the described program number of this new frequency Program Association Table, and the length of each program; And
Memory allocating module is used for according to the program number of this new frequency and the length of each program, dynamic assigning memory;
Described Program Association Table parsing module is connected with memory allocating module.
8. program switching device shifter as claimed in claim 5 is characterized in that, described program switching device shifter further comprises:
Program Map Table version read module is used for reading described Program Map Table at the corresponding version of code stream;
The Program Map Table judge module is used for judging at the corresponding version of code stream whether needs upgrade this Program Map Table according to described Program Map Table; And
The Program Map Table update module is used for upgrading the Program Map Table of having stored when judging that this Program Map Table need upgrade;
Described Program Map Table version read module is connected between Program Map Table memory module and the Program Map Table judge module, and described Program Map Table judge module is connected between Program Map Table version read module and the Program Map Table update module.
9. a set-top box comprises Conditional Access Module, it is characterized in that, described set-top box also comprises the program switching device shifter, and described program switching device shifter comprises:
The frequency judge module is used to judge whether the frequency of current playing program is new frequency;
The Program Map Table acquisition module is used for when the frequency of current playing program is new frequency, when playing the top line of this new frequency, resolves the Program Association Table of this new frequency, obtains the Program Map Table of the correspondence of all programs under this new frequency;
The Program Map Table memory module is used to store the Program Map Table that obtains; And
The Program Map Table sending module when being used for carrying out the program switching under this new frequency, is read the Program Map Table corresponding with this program from the Program Map Table of storage, send to Conditional Access Module.
10. set-top box as claimed in claim 9 is characterized in that, described program switching device shifter further comprises:
Program Map Table version read module is used for reading described Program Map Table at the corresponding version of code stream;
The Program Map Table judge module is used for judging at the corresponding version of code stream whether needs upgrade this Program Map Table according to described Program Map Table; And
The Program Map Table update module is used for upgrading the Program Map Table of having stored when judging that this Program Map Table need upgrade;
Described Program Map Table version read module is connected between Program Map Table memory module and the Program Map Table judge module, and described Program Map Table judge module is connected between Program Map Table version read module and the Program Map Table update module.
CN200710075311A 2007-07-25 2007-07-25 Set-top box and method and apparatus for program switch Expired - Fee Related CN101202877B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200710075311A CN101202877B (en) 2007-07-25 2007-07-25 Set-top box and method and apparatus for program switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710075311A CN101202877B (en) 2007-07-25 2007-07-25 Set-top box and method and apparatus for program switch

Publications (2)

Publication Number Publication Date
CN101202877A CN101202877A (en) 2008-06-18
CN101202877B true CN101202877B (en) 2010-05-26

Family

ID=39517807

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710075311A Expired - Fee Related CN101202877B (en) 2007-07-25 2007-07-25 Set-top box and method and apparatus for program switch

Country Status (1)

Country Link
CN (1) CN101202877B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101667208B (en) * 2009-09-25 2013-06-26 深圳创维数字技术股份有限公司 Digital television receiver and methods for searching and switching programs thereof
CN102377963B (en) * 2010-08-19 2014-08-20 深圳Tcl新技术有限公司 Method for displaying television programs
CN101986712A (en) * 2010-11-23 2011-03-16 华亚微电子(上海)有限公司 Digital television receiving device and channel conversion method thereof
CN102158752A (en) * 2011-01-26 2011-08-17 深圳创维数字技术股份有限公司 Digital television terminal, and data descrambling method and device thereof
CN102149013B (en) * 2011-03-29 2013-06-26 深圳创维数字技术股份有限公司 Data processing system and method for digital television as well as digital television receiving terminal
CN103024539B (en) * 2012-11-12 2016-06-01 北京奇虎科技有限公司 For managing method and the device of intelligent television system
CN103763577B (en) * 2013-12-31 2017-06-27 华为技术有限公司 The player method of media file, apparatus and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030027514A (en) * 2001-09-28 2003-04-07 엘지전자 주식회사 Method And Apparatus for switching channels in digital television
WO2003088646A2 (en) * 2002-04-08 2003-10-23 Thomson Licensing S.A. Apparatus and method for data caching to reduce channel change delay
CN1691762A (en) * 1999-10-06 2005-11-02 Lg电子株式会社 Channel control apparatus of digital television and method thereof
KR20050115656A (en) * 2004-06-04 2005-12-08 엘지전자 주식회사 Method for changing channel in digital cable set top box
CN1941845A (en) * 2005-09-29 2007-04-04 上海乐金广电电子有限公司 Channel conversion in digital cable set-top box

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1691762A (en) * 1999-10-06 2005-11-02 Lg电子株式会社 Channel control apparatus of digital television and method thereof
KR20030027514A (en) * 2001-09-28 2003-04-07 엘지전자 주식회사 Method And Apparatus for switching channels in digital television
WO2003088646A2 (en) * 2002-04-08 2003-10-23 Thomson Licensing S.A. Apparatus and method for data caching to reduce channel change delay
KR20050115656A (en) * 2004-06-04 2005-12-08 엘지전자 주식회사 Method for changing channel in digital cable set top box
CN1941845A (en) * 2005-09-29 2007-04-04 上海乐金广电电子有限公司 Channel conversion in digital cable set-top box

Also Published As

Publication number Publication date
CN101202877A (en) 2008-06-18

Similar Documents

Publication Publication Date Title
CN101202877B (en) Set-top box and method and apparatus for program switch
CN101098445B (en) Television program receiving equipment and method for receiving and broadcasting television program
KR100262845B1 (en) Digital broadcasting system using virtual channel
CN101667208B (en) Digital television receiver and methods for searching and switching programs thereof
US9807432B2 (en) Method for transmitting services information in different types of broadcasting networks and unit for processing said information
CN100521750C (en) Digital TV and channel setting method
CN102026031B (en) Set top box
CN102316372B (en) Television program playing control method, set-top box and server
US20070067813A1 (en) Method and device for receiving digital braodcasts
CN1754149A (en) Broadcasting of software packages
CN101800842A (en) Method for upgrading software of set-top box
CN101436915A (en) Method and apparatus for receiving and playing multimedia program by mobile terminal
JP2004520764A (en) Recording interactive applications
CN104053056A (en) Television program searching method and system of digital television set-top box
US9176724B2 (en) Firmware update method and apparatus of set-top box for digital broadcast system
US9271045B2 (en) Method and apparatus of channel switching using pre-acquisited PSI table
CN102244819B (en) Digital television receiving terminal, frequency locking system based on QAM (Queued Access Method) and frequency locking method
CN101771803A (en) Method for receiving electronic program guide data
CN102523478A (en) Method and device for testing digital television terminal
CN102202238A (en) Program transmission system, digital set-top box and program filtering method for digital set-top box
CN101883232A (en) Quick channel search method of set top box
CN108289240A (en) Method, terminal and the computer-readable medium of DTV fast channel switching
US8978082B2 (en) Method of switching digital TV application
CN101291189B (en) Method and apparatus for transmitting electronic service guide
KR101597360B1 (en) - apparatus and method for non-network channel scanning in digital video broadcasting system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
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: 20100526

Termination date: 20150725

EXPY Termination of patent right or utility model