[go: up one dir, main page]

CN105430489B - A kind of switching method of television channel, device and equipment - Google Patents

A kind of switching method of television channel, device and equipment Download PDF

Info

Publication number
CN105430489B
CN105430489B CN201410479928.2A CN201410479928A CN105430489B CN 105430489 B CN105430489 B CN 105430489B CN 201410479928 A CN201410479928 A CN 201410479928A CN 105430489 B CN105430489 B CN 105430489B
Authority
CN
China
Prior art keywords
channel
switching
candidate
data stream
operation instruction
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
CN201410479928.2A
Other languages
Chinese (zh)
Other versions
CN105430489A (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.)
Hisense Broadband Multimedia Technology Co Ltd
Original Assignee
Hisense Broadband Multimedia 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 Hisense Broadband Multimedia Technology Co Ltd filed Critical Hisense Broadband Multimedia Technology Co Ltd
Priority to CN201410479928.2A priority Critical patent/CN105430489B/en
Publication of CN105430489A publication Critical patent/CN105430489A/en
Application granted granted Critical
Publication of CN105430489B publication Critical patent/CN105430489B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The invention discloses a kind of method, device and equipments of television channel switching.Its method includes: the data flow for demodulating and transmitting on the corresponding frequency point of candidate handover channel;The data flow of the candidate handover channel is descrambled from the data flow transmitted on the frequency point;When receive be switched to the candidate handover channel operational order after, the data flow of the candidate handover channel is decoded.Technical solution provided in an embodiment of the present invention the processing such as is demodulated to candidate handover channel, is descrambled, to recognize the data flow of candidate handover channel when playing the program of current channel;When receive be switched to the candidate handover channel operational order after, recognize the data flow of candidate handover channel due to having passed through pretreatment, the channel can be quickly switched into, the time needed for saving switching channels.

Description

Television channel switching method, device and equipment
Technical Field
The present invention relates to the field of digital television technologies, and in particular, to a method, an apparatus, and a device for switching television channels.
Background
At present, the channel switching speed of a digital television set top box or a digital television all-in-one machine is slower than the channel switching speed of an analog television. The reason is that the digital television set-top box or the digital television all-in-one machine is based on the scheme of single-path demodulation, single-path descrambling and single-path decoding. The digital television set-top box or the digital television all-in-one machine can only demodulate and descramble after receiving an operation instruction of switching channels so as to identify the data stream of the channel to be switched; and decoding the data stream of the channel to play the program of the channel.
Disclosure of Invention
The invention aims to provide a method, a device and equipment for switching television channels, which aim to solve the problem of low channel switching speed.
The purpose of the invention is realized by the following technical scheme:
a method of television channel switching, comprising:
when the program of the current channel is played, demodulating the data stream transmitted on the frequency point corresponding to the candidate switching channel;
descrambling the data stream of the candidate switching channel from the data stream transmitted on the frequency point;
and after receiving an operation instruction of switching to the candidate switching channel, decoding the data stream of the candidate switching channel and updating the candidate switching channel.
Preferably, after descrambling the data stream of the candidate zapping channel and before receiving an operation instruction for zapping to the candidate zapping channel, the method further comprises:
determining an audio and video coding format of the data stream of the candidate switching channel;
and selecting idle audio and video decoding resources corresponding to the audio and video coding format, and initializing the idle audio and video decoding resources.
Based on any of the above method embodiments, preferably, before demodulating the data stream transmitted on the frequency point corresponding to the candidate handover channel, the method further includes:
selecting a channel switching mode according to a channel switching operation instruction received within a first preset time period, wherein the number of the channel switching operation instructions received within the first preset time period reaches a first preset number; or selecting a channel switching mode according to a second preset number of recently received channel switching operation instructions;
determining a candidate switching channel according to the selected channel switching mode;
and determining the frequency point corresponding to the candidate switching channel.
Preferably, the selecting the channel switching mode according to the channel switching operation command received within the first predetermined time period includes:
comparing the number of channel switching operation instructions corresponding to each channel switching mode in a first preset time period, and selecting the channel switching mode with the largest number of channel switching operation instructions; or,
selecting a channel switching mode according to a second preset number of recently received channel switching operation instructions, comprising:
and comparing the number of the channel switching operation instructions corresponding to each channel switching mode in the second preset number of the recently received channel switching operation instructions, and selecting the channel switching mode with the largest number of the channel switching operation instructions.
Preferably, determining the candidate zapping channel according to the selected zapping mode comprises:
if the channel switching mode corresponding to the non-sequential channel switching operation instruction is selected, determining at least one candidate switching channel according to the descending order of the time length of the output and display of the channel data in a second preset time period;
and if the channel switching mode corresponding to the sequential channel switching operation instruction is selected, determining at least one candidate switching channel based on the current channel according to the ascending order and/or the descending order of the channel numbers.
Based on the same inventive concept as the method, an embodiment of the present invention further provides a device for switching television channels, including:
the demodulation module is used for demodulating data streams transmitted on frequency points corresponding to the candidate switching channels when the programs of the current channel are played;
a descrambling module, configured to descramble the data stream of the candidate channel from the data stream transmitted on the frequency point;
the display output module is used for decoding the data stream of the candidate switching channel after receiving the operation instruction of switching to the candidate switching channel;
and the predicting module is used for updating the candidate switching channel after receiving the operation instruction of switching to the candidate switching channel.
Preferably, the decoding device further comprises a decoding preparation module for:
after the data stream of the candidate switching channel is obtained and before the operation instruction of switching to the candidate switching channel is received, determining the audio and video coding format of the data stream of the candidate switching channel;
and selecting idle audio and video decoding resources corresponding to the audio and video coding format, and initializing the idle audio and video decoding resources.
Based on any of the apparatus embodiments described above, preferably, the prediction module is specifically configured to:
selecting a channel switching mode according to a preset number of recently received channel switching operation instructions, wherein the number of the received channel switching operation instructions in the first preset time period reaches a first preset number; or selecting a channel switching mode according to a second preset number of recently received channel switching operation instructions;
determining a candidate switching channel according to the selected channel switching mode;
and determining the frequency point corresponding to the candidate switching channel.
Preferably, when the channel switching mode is selected according to a channel switching operation instruction received within a first predetermined time period, the prediction module is configured to:
comparing the number of channel switching operation instructions corresponding to each channel switching mode in a first preset time period, and selecting the channel switching mode with the largest number of channel switching operation instructions; or,
when the channel switching mode is selected according to the second preset number of recently received channel switching operation instructions, the prediction module is configured to:
and comparing the number of the channel switching operation instructions corresponding to each channel switching mode in the second preset number of the recently received channel switching operation instructions, and selecting the channel switching mode with the largest number of the channel switching operation instructions.
Preferably, when determining a candidate channel for switching according to the selected channel switching mode, the prediction module is configured to:
if the channel switching mode corresponding to the non-sequential channel switching operation instruction is selected, determining at least one candidate switching channel according to the descending order of the time length of the output and display of the channel data in a second preset time period;
and if the channel switching mode corresponding to the sequential channel switching operation instruction is selected, determining at least one candidate switching channel based on the current channel according to the ascending order and/or the descending order of the channel numbers.
Based on the same inventive concept as the method, an embodiment of the present invention further provides a device for switching television channels, including:
the system comprises a processor, N tuners, N demodulators, a demultiplexer and a descrambler, wherein N is an integer not less than 2;
when the program of the current channel is played, the processor selects an idle tuner and triggers the selected tuner to tune the data stream transmitted on the frequency point corresponding to the candidate switching channel;
the processor triggers the demodulator corresponding to the selected tuner to demodulate the tuned data stream;
the processor selects an idle channel of the demultiplexer, and triggers the demultiplexer to acquire the control word of the candidate switching channel from the demodulated data stream through the selected idle channel;
the processor triggers a descrambler to descramble the data stream of the candidate switching channel from the demodulated data stream according to the control word;
and after receiving the operation instruction of switching to the candidate switching channel, the processor decodes the data stream of the candidate switching channel and updates the candidate switching channel.
Preferably, a multi-channel decoder is also included;
the processor determines the audio and video coding format of the data stream of the candidate switching channel;
and the processor selects idle audio and video decoding resources corresponding to the audio and video coding format in the multi-channel decoder and initializes the idle audio and video decoding resources.
Preferably, the processor selects the channel switching mode according to a channel switching operation instruction received within a first predetermined time period or a second predetermined number of recently received channel switching operation instructions; determining a candidate switching channel according to the selected channel switching mode; and determining frequency points corresponding to the candidate switching channels, wherein the number of the received switching channel operation instructions in the first preset time period reaches a first preset number.
According to the technical scheme provided by the embodiment of the invention, when the program of the current channel is played, the candidate switching channel is demodulated, descrambled and the like, so that the data stream of the candidate switching channel is identified; after receiving the operation instruction of switching to the candidate switching channel, the data stream of the candidate switching channel is identified through preprocessing, so that the channel can be switched quickly, and the time required for switching the channel is saved.
Drawings
FIG. 1 is a flow chart of a method provided by an embodiment of the present invention;
FIG. 2 is a schematic diagram of an apparatus according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an apparatus provided by an embodiment of the present invention;
fig. 4 is a schematic diagram of an apparatus according to another embodiment of the present invention.
Detailed Description
The technical solutions provided by the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
The television channel switching method provided by the embodiment of the invention is shown in fig. 1, and specifically comprises the following operations:
step 100, when the program of the current channel is played, demodulating the data stream transmitted on the frequency point corresponding to the candidate switching channel.
In the embodiment of the present invention, the data stream transmitted on the frequency point may be, but is not limited to, a TS stream.
And 110, descrambling the data stream of the candidate switching channel from the data stream transmitted on the frequency point.
And step 120, after receiving the operation instruction of switching to the candidate switching channel, decoding the data stream of the candidate switching channel, and updating the candidate switching channel.
According to the technical scheme provided by the embodiment of the invention, when the program of the current channel is played, the candidate switching channel is demodulated, descrambled and the like, so that the data stream of the candidate switching channel is identified; after receiving the operation instruction of switching to the candidate switching channel, the data stream of the candidate switching channel is identified through preprocessing, so that the channel can be switched quickly, and the time required for switching the channel is saved.
Preferably, after descrambling the data stream of the candidate switching channel and before receiving the operation instruction of switching to the candidate switching channel, determining the audio/video coding format of the data stream of the candidate switching channel; and selecting idle audio and video decoding resources corresponding to the audio and video coding format, and initializing the idle audio and video decoding resources.
In the embodiment of the present invention, the audio/video decoding resources may include, but are not limited to, resources of an audio/video decoder and memory resources.
By allocating the audio and video decoding resources in advance, the speed of channel switching can be further improved.
In the embodiment of the present invention, if the audio/video decoding resources are not allocated in advance, in the decoding process of step 120, the audio/video decoding resources are allocated first, and then decoding is performed.
If there are two or more candidate zapping channels and there are multiple idle demodulation and descrambling resources (optionally including audio/video decoding resources), then the preprocessing can be performed in parallel on the multiple idle resources according to the implementation manner described in the above embodiments.
Based on any of the above method embodiments, preferably, before demodulating the data stream transmitted on the frequency point corresponding to the candidate switching channel, the channel switching mode is selected according to the channel switching operation instruction received within the first predetermined time period or the second predetermined number of recently received channel switching operation instructions; determining a candidate switching channel according to the selected channel switching mode; and determining the frequency point corresponding to the candidate switching channel. And the number of the received channel switching operation instructions in the first preset time period reaches a first preset number.
According to the implementation scheme for switching the channels, the candidate switching channels are predicted before preprocessing. The inventor finds that the user can change the station in various ways in the process of implementing the invention. For example, the channel may be switched by pressing the channel number key, the program may be switched by pressing the program switch key, the channel may be switched by pressing the up-switch key or the down-switch key, the channel may be switched by displaying the up-switch icon or the down-switch icon on the menu, the channel may be switched by displaying the channel number icon or the program content icon on the menu, and the like. Different channel switching modes can be configured in advance according to different channel switching habits of users. In the embodiment of the present invention, two channel switching modes may be divided, one is a channel switching mode corresponding to the sequential channel switching operation instruction, and the other is a channel switching mode corresponding to the non-sequential channel switching operation instruction.
The operation instruction for switching channels in sequence may be, but is not limited to, an operation instruction generated by a user according to an ascending channel switching key, a descending channel switching key, an ascending channel switching icon on a trigger display menu, and a descending channel switching icon on the trigger display menu.
The non-sequential channel switching operation instruction may be, but is not limited to, an operation instruction generated by pressing a channel number key, pressing a program switching key, triggering a channel number icon on a display menu, and triggering a program content icon on the display menu.
It should be noted that the manner of dividing the channel switching mode is not limited to the above implementation. For example, it can be further divided into: the channel switching mode corresponding to the operation instruction generated by pressing the channel number key, the channel switching mode corresponding to the operation instruction generated by pressing the program switching key, the channel number icon on the display menu is triggered, the channel switching mode corresponding to the operation instruction generated by triggering the program content icon on the display menu, the channel switching mode corresponding to the operation instruction generated by pressing the zapping key in the ascending order and the zapping key in the descending order, the channel switching mode corresponding to the operation instruction generated by pressing the zapping icon in the ascending order and the zapping icon in the descending order on the display menu, and the like. The invention is not limited in this regard.
Preferably, the implementation manner of selecting the channel switching mode may be: and comparing the number of the channel switching operation instructions corresponding to each channel switching mode in the first preset time period, and selecting the channel switching mode with the largest number of the channel switching operation instructions. It can also be: and comparing the number of the channel switching operation instructions corresponding to each channel switching mode in the second preset number of the recently received channel switching operation instructions, and selecting the channel switching mode with the largest number of the channel switching operation instructions.
The maximum value of the number of the continuously received operation instructions can be compared with the number of the channel switching operation instructions corresponding to other channel switching modes. Taking the above two channel switching modes as an example, assuming that the maximum number of the operation instructions generated by the zapping key in ascending order is continuously received within the first predetermined time period is 3, the maximum number of the operation instructions generated by the zapping key in descending order is continuously received is 4, the maximum number of the operation instructions generated by the zapping icon in ascending order on the trigger display menu is continuously received is 5, and the maximum number of the operation instructions generated by the zapping icon in descending order on the trigger display menu is continuously received is 6. The maximum number 6 of the operation instructions generated by the descending zapping icon on the continuously received trigger display menu can be compared with the total number of the operation instructions for non-sequential channel switching in the first preset time period; the total number of all sequential channel switching operation instructions in the first predetermined time period may also be compared with the total number of all non-sequential channel switching operation instructions; the sum 10 of the maximum number of the operation instructions generated by continuously receiving the channel-changing keys in the descending order and the maximum number of the operation instructions generated by continuously receiving the channel-changing icons in the descending order on the trigger display menu can be compared with the total number of the operation instructions for switching channels in a non-sequence mode within a first preset time period; etc., as the present invention is not limited in this regard.
In the actual application process, each channel switching operation instruction can be recorded, and the receiving time of the operation instruction can be recorded.
The frequency of reception of the zapping channel operation instruction may be monitored and if the frequency is above a certain threshold, the candidate zapping channel is selected according to the zapping channel operation instruction received within a first predetermined time before the current time. To ensure the prediction accuracy, the first predetermined time is not too long, and the first predetermined number of channel-switching operation commands is not too small. The first predetermined time and the first predetermined number are specific values, but the invention is not limited. For example, the first predetermined time is 1 minute, and the first predetermined number of channel change operation instructions is 20. Then, if the number of the channel switching operation instructions received within 1 minute before the current time exceeds 20, channel prediction is performed according to the channel switching operation instructions received before the current time, and if the number of the channel switching operation instructions received within 1 minute before the current time is less than 20, prediction may not be performed. If the frequency is below a certain threshold, without limiting the time, channel prediction is performed based on a second predetermined number (e.g., 5) of recently received channel change operation instructions.
Preferably, the implementation manner of determining the candidate switching channel may be: if the channel switching mode corresponding to the non-sequential channel switching operation instruction is selected, determining at least one candidate switching channel according to the descending order of the time length of the output and display of the channel data in a second preset time period; and if the channel switching mode corresponding to the sequential channel switching operation instruction is selected, determining at least one candidate switching channel based on the current channel according to the ascending order and/or the descending order of the channel numbers.
In the embodiment of the invention, the number of candidate switching channels depends on the multi-path processing capability of the hardware platform.
In the embodiment of the present invention, the first predetermined time period may be the same as or different from the second predetermined time period, which is not limited in the present invention.
In the step 120, the candidate zapping channel can be updated by any of the above-mentioned methods for predicting candidate zapping channels.
In the embodiment of the present invention, determining at least one candidate zapping channel based on the current channel refers to determining at least one candidate zapping channel before (in descending order of channel numbers) or after (in ascending order of channel numbers) the current channel. The current channel refers to a channel currently displayed and output.
Based on the same inventive concept as the method, an embodiment of the present invention further provides an apparatus for switching a television channel, as shown in fig. 2, the apparatus includes:
a demodulation module 201, configured to demodulate a data stream transmitted on a frequency point corresponding to a candidate switching channel when a program of a current channel is played;
a descrambling module 202, configured to descramble the data stream of the candidate channel from the data stream transmitted on the frequency point;
and the display output module 203 is configured to decode the data stream of the candidate switching channel and update the candidate switching channel after receiving the operation instruction of switching to the candidate switching channel.
According to the technical scheme provided by the embodiment of the invention, when the program of the current channel is played, the candidate switching channel is demodulated, descrambled and the like, so that the data stream of the candidate switching channel is identified; after receiving the operation instruction of switching to the candidate switching channel, the data stream of the candidate switching channel is identified through preprocessing, so that the channel can be switched quickly, and the time required for switching the channel is saved.
Preferably, the decoding device further comprises a decoding preparation module for:
after descrambling the data stream of the candidate switching channel and before receiving the operation instruction of switching to the candidate switching channel, determining the audio and video coding format of the data stream of the candidate switching channel;
and selecting idle audio and video decoding resources corresponding to the audio and video coding format, and initializing the idle audio and video decoding resources.
Based on any of the above apparatus embodiments, preferably, the apparatus further comprises a prediction module, configured to:
selecting a channel switching mode according to a channel switching operation instruction received within a first preset time period, wherein the number of the channel switching operation instructions received within the first preset time period reaches a first preset number; or selecting a channel switching mode according to a second preset number of recently received channel switching operation instructions;
determining a candidate switching channel according to the selected channel switching mode;
and determining the frequency point corresponding to the candidate switching channel.
Preferably, when the channel switching mode is selected according to a channel switching operation instruction received within a first predetermined time period, the prediction module is configured to:
comparing the number of channel switching operation instructions corresponding to each channel switching mode in a first preset time period, and selecting the channel switching mode with the largest number of channel switching operation instructions; or,
when the channel switching mode is selected according to the second preset number of recently received channel switching operation instructions, the prediction module is configured to:
and comparing the number of the channel switching operation instructions corresponding to each channel switching mode in the second preset number of the recently received channel switching operation instructions, and selecting the channel switching mode with the largest number of the channel switching operation instructions.
Preferably, when determining a candidate channel for switching according to the selected channel switching mode, the prediction module is configured to:
if the channel switching mode corresponding to the non-sequential channel switching operation instruction is selected, determining at least one candidate switching channel according to the descending order of the time length of the output and display of the channel data in a second preset time period;
and if the channel switching mode corresponding to the sequential channel switching operation instruction is selected, determining at least one candidate switching channel based on the current channel according to the ascending order and/or the descending order of the channel numbers.
Based on the same inventive concept as the method, an embodiment of the present invention further provides an apparatus for switching a television channel, as shown in fig. 3, the apparatus at least includes: the system comprises a processor, N tuners (Tuner), N demodulators (Demod), a demultiplexer (Demux) and a descrambler, wherein N is an integer not less than 2.
When the program of the current channel is played, the processor selects an idle tuner and triggers the selected tuner to tune the data stream transmitted on the frequency point corresponding to the candidate switching channel; triggering the demodulator corresponding to the selected tuner to demodulate the tuned data stream; selecting an idle channel of the demultiplexer, and triggering the demultiplexer to acquire a control word of a candidate switching channel from the demodulated data stream through the selected idle channel; triggering a descrambler to descramble the data stream of the candidate switching channel from the demodulated data stream according to the control word; and after receiving the operation instruction of switching to the candidate switching channel, decoding the data stream of the candidate switching channel and updating the candidate switching channel.
According to the technical scheme provided by the embodiment of the invention, when the program of the current channel is played, the candidate switching channel is demodulated, descrambled and the like, so that the data stream of the candidate switching channel is identified; after receiving the operation instruction of switching to the candidate switching channel, the data stream of the candidate switching channel is identified through preprocessing, so that the channel can be switched quickly, and the time required for switching the channel is saved.
Preferably, a multi-channel Decoder (Decoder) is also included; the processor determines the audio and video coding format of the data stream of the candidate switching channel; and selecting idle audio and video decoding resources corresponding to the audio and video coding format in the multi-channel decoder, and initializing the idle audio and video decoding resources.
In the embodiment of the invention, the demultiplexer, the descrambler and the multi-channel decoder are manufactured on the same chip. Optionally, the tuner and/or demodulator are also fabricated on the chip.
Based on any of the above device embodiments, preferably, the processor selects the channel switching mode according to a channel switching operation instruction received within a first predetermined time period or a second predetermined number of recently received channel switching operation instructions; determining a candidate switching channel according to the selected channel switching mode; and determining frequency points corresponding to the candidate switching channels, wherein the number of the received switching channel operation instructions in the first preset time period reaches a first preset number.
The device provided by the embodiment of the invention can be a set top box, a digital television all-in-one machine, a device arranged in the set top box or a device arranged in the digital television all-in-one machine.
The working principle of the device is explained in detail below on the basis of the device shown in fig. 4:
the technical scheme provided by the embodiment of the invention can be divided into two processing processes.
One is the prediction process of the candidate zapping channel.
Specifically, channel switching operation instructions in a first preset time period are collected, a channel switching mode is selected accordingly, and a prediction strategy corresponding to the selected channel switching mode is adopted to select a candidate switching channel.
In this embodiment, the channel switching mode includes the following four modes according to the user usage mode:
mode 1: the channel number mode is input.
Mode 2: [ CH + ] [ CH- ].
Mode 3: and (4) displaying an icon triggering mode under a channel list of the menu, wherein the icon triggering mode is up and down.
Mode 4: [ ALTERNATION ] KEY MODE.
The mode 1 and the mode 4 are both channel switching modes corresponding to the non-sequential channel switching operation instruction, and the mode 2 and the mode 3 are channel switching modes corresponding to the sequential channel switching operation instruction.
In the embodiment of the invention, the instruction can be generated by periodically switching the channel of the mobile phone, and then the first preset time is one period of the instruction.
Assuming that the duration of the first predetermined time period is one minute, 100 channel switching operation instructions are received within the first predetermined time period. Wherein, the operation instruction generated by pressing the channel number key is 30 times, the operation instruction generated by pressing [ CH + ] [ CH- ] is 5 times, the operation instruction generated by triggering [ upper ] and [ lower ] icons is 15 times, and the mode can be judged as the mode 1.
And determining at least one candidate switching channel according to the descending order of the time length of the channel data output and displayed in a second preset time period (such as the latest 24 hours).
If the determined channel switching mode is mode 2 or mode 3, a channel before or after the current channel is determined as a candidate switching channel. Specifically, if the ascending switching is more than the descending switching, at least one channel following the current channel is selected as a candidate switching channel, and if the descending switching is more than the ascending switching, at least one channel preceding the current channel is selected as a candidate switching channel.
The second is a pretreatment process.
And the processor extracts corresponding frequency point parameters from the program database according to the channel numbers of the candidate switching channels, determines the frequency points corresponding to the candidate switching channels and performs preprocessing. Wherein, a frequency point can correspond to different channels, for example, 1-5 stations of the central station share one frequency point. One frequency point may correspond to only one channel.
The preprocessing comprises 6 steps of pre-tuning, pre-demodulation, table pre-extraction, pre-descrambling, code stream analysis and preparation of a decoder.
Pre-tuning: the processor selects a currently idle tuner and tunes it to the frequency point corresponding to the predicted channel number, i.e. the process of corresponding the frequency point corresponding to the candidate switched channel to the tuner. After the process is completed, the selected tuner coordinates the data stream transmitted on the frequency point corresponding to the candidate switching channel, specifically, converts the data stream into a fixed intermediate frequency IF signal.
Pre-demodulation: the processor selects the demodulator connected to the tuner and triggers demodulation to demodulate the data stream output by the tuner.
Pre-extracting table: the processor associates the demodulator's data channel with an idle channel of the demux and sets a data filtering condition for the demux, triggering the demux to extract CAT and PMT tables from the data stream through the channel associated with the demodulator. One of the frequency points corresponds to a CAT, and when the frequency point corresponding to the candidate switching channel has been extracted from the CAT table, repeated extraction is not needed.
The Program Map Table (PMT) includes elementary stream information of each program, i.e., video information, audio information, and ECM authorization control information of the same-secret multiple CAs.
Wherein the filter conditions include at least the PID and table ID of CAT and PMT.
Pre-descrambling: the processor sends CA (conditional access) description fields in the PMT table to the CA kernel, the CA kernel extracts ECM and EMM data, the smart card provides control words CW (control word) required for descrambling through the ECM data and the EMM data, the CW is set in the descrambler, and the descrambler descrambles data streams of the candidate switching channels according to the CW.
Code stream analysis: and the processor analyzes the format of the packet header of the data stream of the candidate switching channel to obtain the audio and video coding format.
The decoder prepares: and the processor applies for idle audio and video decoder resources according to the audio and video coding format and initializes the idle audio and video decoder resources.
The technical scheme provided by the embodiment of the invention is suitable for the set-top box and is also suitable for the digital television all-in-one machine.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (4)

1. A method for television channel switching, comprising:
when the program of the current channel is played, demodulating the data stream transmitted on the frequency point corresponding to the candidate switching channel;
descrambling the data stream of the candidate switching channel from the data stream transmitted on the frequency point;
after receiving an operation instruction of switching to the candidate switching channel, decoding the data stream of the candidate switching channel and updating the candidate switching channel;
after descrambling the data stream of the candidate switching channel and before receiving an operation instruction for switching to the candidate switching channel, the method further comprises the following steps:
determining an audio and video coding format of the data stream of the candidate switching channel;
selecting idle audio and video decoding resources corresponding to the audio and video coding format, and initializing the idle audio and video decoding resources;
before demodulating the data stream transmitted on the frequency point corresponding to the candidate switching channel, the method further includes:
selecting a channel switching mode according to a channel switching operation instruction received within a first preset time period, wherein the number of the channel switching operation instructions received within the first preset time period reaches a first preset number; or selecting a channel switching mode according to a second preset number of recently received channel switching operation instructions;
determining a candidate switching channel according to the selected channel switching mode;
determining a frequency point corresponding to the candidate switching channel;
wherein the channel switching mode comprises: the channel switching mode corresponding to the sequential channel switching operation instruction and the channel switching mode corresponding to the non-sequential channel switching operation instruction.
2. The method of claim 1, wherein determining candidate zapping channels based on the selected zapping mode comprises:
if the channel switching mode corresponding to the non-sequential channel switching operation instruction is selected, determining at least one candidate switching channel according to the descending order of the time length of the output and display of the channel data in a second preset time period;
and if the channel switching mode corresponding to the sequential channel switching operation instruction is selected, determining at least one candidate switching channel based on the current channel according to the ascending order and/or the descending order of the channel numbers.
3. An apparatus for television channel switching, comprising:
the demodulation module is used for demodulating data streams transmitted on frequency points corresponding to the candidate switching channels when the programs of the current channel are played;
a descrambling module, configured to descramble the data stream of the candidate channel from the data stream transmitted on the frequency point;
the display output module is used for decoding the data stream of the candidate switching channel after receiving the operation instruction of switching to the candidate switching channel;
the prediction module is used for updating the candidate switching channel after receiving the operation instruction of switching to the candidate switching channel;
the decoding preparation module is used for determining the audio and video coding format of the data stream of the candidate switching channel after acquiring the data stream of the candidate switching channel and before receiving the operation instruction of switching to the candidate switching channel;
selecting idle audio and video decoding resources corresponding to the audio and video coding format, and initializing the idle audio and video decoding resources;
the prediction module is specifically configured to:
selecting a channel switching mode according to a channel switching operation instruction received within a first preset time period, wherein the number of the channel switching operation instructions received within the first preset time period reaches a first preset number; or selecting a channel switching mode according to a second preset number of recently received channel switching operation instructions;
determining a candidate switching channel according to the selected channel switching mode;
determining a frequency point corresponding to the candidate switching channel;
wherein the channel switching mode comprises: the channel switching mode corresponding to the sequential channel switching operation instruction and the channel switching mode corresponding to the non-sequential channel switching operation instruction.
4. An apparatus for television channel switching, comprising:
the system comprises a processor, N tuners, N demodulators, N decoders, a demultiplexer and a descrambler, wherein N is an integer not less than 2;
when the program of the current channel is played, the processor selects an idle tuner and triggers the selected tuner to tune the data stream transmitted on the frequency point corresponding to the candidate switching channel;
the processor triggers the demodulator corresponding to the selected tuner to demodulate the tuned data stream;
the processor selects an idle channel of the demultiplexer, and triggers the demultiplexer to acquire the control word of the candidate switching channel from the demodulated data stream through the selected idle channel;
the processor triggers a descrambler to descramble the data stream of the candidate switching channel from the demodulated data stream according to the control word;
the processor determines the audio and video coding format of the data stream of the candidate switching channel;
the processor selects idle audio and video decoding resources corresponding to the audio and video coding format in the decoder and initializes the idle audio and video decoding resources;
after receiving the operation instruction of switching to the candidate switching channel, the processor decodes the data stream of the candidate switching channel and updates the candidate switching channel;
the processor selects a channel switching mode according to a channel switching operation instruction received within a first preset time period or a second preset number of recently received channel switching operation instructions; determining a candidate switching channel according to the selected channel switching mode; determining a frequency point corresponding to the candidate switching channel, wherein the number of the received switching channel operation instructions in the first preset time period reaches a first preset number;
the channel switching mode comprises: the channel switching mode corresponding to the sequential channel switching operation instruction and the channel switching mode corresponding to the non-sequential channel switching operation instruction.
CN201410479928.2A 2014-09-18 2014-09-18 A kind of switching method of television channel, device and equipment Active CN105430489B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410479928.2A CN105430489B (en) 2014-09-18 2014-09-18 A kind of switching method of television channel, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410479928.2A CN105430489B (en) 2014-09-18 2014-09-18 A kind of switching method of television channel, device and equipment

Publications (2)

Publication Number Publication Date
CN105430489A CN105430489A (en) 2016-03-23
CN105430489B true CN105430489B (en) 2019-01-25

Family

ID=55508372

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410479928.2A Active CN105430489B (en) 2014-09-18 2014-09-18 A kind of switching method of television channel, device and equipment

Country Status (1)

Country Link
CN (1) CN105430489B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105898552A (en) * 2016-06-20 2016-08-24 深圳创维数字技术有限公司 Method and device for playing video data
CN107645671A (en) * 2016-07-22 2018-01-30 南京中兴新软件有限责任公司 Program switching method and device
CN106341727A (en) * 2016-10-08 2017-01-18 北京邦天信息技术有限公司 Channel switching method and apparatus, and video terminal
CN107295392A (en) * 2017-08-04 2017-10-24 青岛海信电器股份有限公司 The processing method and processing device of HBBTV applications
CN108881989A (en) * 2018-06-12 2018-11-23 深圳国微视安科技有限公司 A kind of quick plug-flow control method of live streaming TS program and system
CN110166824B (en) * 2019-06-24 2021-07-06 湖南国科微电子股份有限公司 Live television channel switching method and system based on set top box
CN111050207A (en) * 2019-12-05 2020-04-21 海信电子科技(深圳)有限公司 Television channel switching method and television
CN113992969B (en) * 2020-07-27 2024-07-26 青岛海信宽带多媒体技术有限公司 Digital television channel rapid switching method, device and terminal
CN118118740A (en) * 2022-11-29 2024-05-31 腾讯科技(深圳)有限公司 Playback method, device, equipment and storage medium based on data stream

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102595236A (en) * 2012-01-31 2012-07-18 深圳创维数字技术股份有限公司 Set top box and method thereof for changing channels of digital television
CN103139633A (en) * 2013-02-05 2013-06-05 深圳创维数字技术股份有限公司 Digital television receiving terminal and method for switching channel thereof
CN103297852A (en) * 2013-06-07 2013-09-11 华为终端有限公司 Channel change speed improving method, device and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010093576A (en) * 2008-10-08 2010-04-22 Sony Corp Reception apparatus, reception method, and computer program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102595236A (en) * 2012-01-31 2012-07-18 深圳创维数字技术股份有限公司 Set top box and method thereof for changing channels of digital television
CN103139633A (en) * 2013-02-05 2013-06-05 深圳创维数字技术股份有限公司 Digital television receiving terminal and method for switching channel thereof
CN103297852A (en) * 2013-06-07 2013-09-11 华为终端有限公司 Channel change speed improving method, device and system

Also Published As

Publication number Publication date
CN105430489A (en) 2016-03-23

Similar Documents

Publication Publication Date Title
CN105430489B (en) A kind of switching method of television channel, device and equipment
CN101667208B (en) Digital television receiver and methods for searching and switching programs thereof
CN102572587A (en) Set-top box and method for quickly switching channel
CN103139633A (en) Digital television receiving terminal and method for switching channel thereof
EP1819153A2 (en) Method for processing data in a terminal with digital broadcasting receiver
CN106412698B (en) Method and device for realizing quick descrambling of digital television
CN107995532B (en) information processing method and electronic equipment
CN106341727A (en) Channel switching method and apparatus, and video terminal
JP2007288603A (en) Broadcasting receiving apparatus
KR20140132507A (en) Methods and apparatuses of channel switching uing pre-acquisitied psi table
KR102226790B1 (en) Display apparatus for content list and method therefor
CN101047811A (en) Broadcast receiver
CN104768060B (en) A kind of channel switching method and device
US8826323B2 (en) Method for switching between minor channels for digital televisions
KR20090051993A (en) Channel Switching Method of Digital Broadcast Receiver and Digital Broadcast Receiver
JP2011035629A (en) Broadcast receiver and broadcast receiving method
KR100621413B1 (en) Channel navigation method of digital broadcasting and digital broadcast receiving apparatus to which the method is applied
JP2008022542A (en) Digital broadcast receiver
CN101119453A (en) Digital broadcast receiving apparatus and digital broadcast receiving method
CN204559812U (en) The digital television receiving apparatus of automatically switching channels during signal quality difference
KR101482790B1 (en) How to switch hidden channels of digital television
CN105099590A (en) Viewing switching method for wireless broadcast signal and wireless network signal
KR100502242B1 (en) Automatic channel change method and apparatus
KR100791249B1 (en) How to use guardband in digital multimedia broadcasting channel
TWI511563B (en) TV changer control method and TV host

Legal Events

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