CN106534961A - Method for channel switching of network television and terminal - Google Patents

Method for channel switching of network television and terminal Download PDF

Info

Publication number
CN106534961A
CN106534961A CN201611053275.7A CN201611053275A CN106534961A CN 106534961 A CN106534961 A CN 106534961A CN 201611053275 A CN201611053275 A CN 201611053275A CN 106534961 A CN106534961 A CN 106534961A
Authority
CN
China
Prior art keywords
channel
audio
video information
target channel
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611053275.7A
Other languages
Chinese (zh)
Other versions
CN106534961B (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 CN201611053275.7A priority Critical patent/CN106534961B/en
Publication of CN106534961A publication Critical patent/CN106534961A/en
Application granted granted Critical
Publication of CN106534961B publication Critical patent/CN106534961B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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 encoded video stream packets from an IP network
    • H04N21/4383Accessing a communication channel
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/4221Dedicated function buttons, e.g. for the control of an EPG, subtitles, aspect ratio, picture-in-picture or teletext
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44204Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
    • 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/47End-user applications
    • H04N21/482End-user interface for program selection
    • H04N21/4823End-user interface for program selection using a channel name
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/61Network physical structure; Signal processing
    • H04N21/6106Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
    • H04N21/6125Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via Internet

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention discloses a method for channel switching of a network television and a terminal. The method comprises the steps of determining a to-be-switched target channel based on a received channel switching instruction; judging whether video-audio information of the target channel exists in a preset channel information statistical table; when the video-audio information of the target channel exists in the video information statistical table, extracting the video-audio information of the target channel form the video information statistical table; and setting a decoding parameter of a decoder based on the video-audio information of the target channel. By adoption of the technical scheme provided by the invention, as the channel information statistical table is preset, and the decoding parameter of the decoder is set directly based on the video-audio information of the target channel stored in the channel information statistical table when the video-audio information of the target channel exists in the channel information statistical table, time taken for searching and analyzing a PAT table and a PMT table of the target channel is left out, and time delay of channel switching of the network television is accordingly reduced.

Description

The channel switching method and terminal of Web TV
Technical field
The present invention relates to IPTV (Internet Protocol Television, Web TV) technical field, particularly It is related to the channel switching method and terminal of a kind of Web TV.
Background technology
With the popularization of broadband services, IPTV has obtained rapid development as a kind of new broadband interactive video traffic And popularization.IPTV allows traditional telecom operators to be no longer limited to provide voice service and network broadband, and traditional wide Its a large amount of idle program resource can also be sold using IPTV by electric operator, therefore the development for radio and television is provided by IPTV New opportunity.While IPTV service high speed development, how to improve Consumer's Experience becomes Ge great operators focus of attention.
Required time when channel change delay refers to that IPTV is switched between different channel, if channel change delay It is long, stand-by period of the user in switching channels will be increased, and then affect Consumer's Experience.In prior art, IPTV channels are cut The method of changing is mainly included the following steps that:Downloaded according to the broadcast address of target channel and cache code stream;The root in the code stream of caching PID (Packet ID, package identification) according to pat table (Program Association Table, Program Association Table) is real-time Detect whether to get pat table;After pat table is got, pat table is parsed, obtain the pmt table of target channel The PID of (Program Map Table, Program Map Table);Whether pmt table is got according to the PID real-time detections of pmt table; After getting pmt table, pmt table is parsed, obtain the audio/video information of target channel, the audio/video information includes video class Type, video PID, PCR (program clock reference, reference clock) data PID, audio types and Audio PID etc. are believed Breath, plays out so as to arrange decoder according to audio/video information.
In summary it can be seen, pat table and PMT when carrying out channel switch in prior art every time, will be searched in code stream Table, and the pat table and pmt table to finding parse, wherein, the lookup and resolving to pat table and pmt table is required to The regular hour is taken, causes channel change delay long, affect Consumer's Experience.
The content of the invention
The channel switching method and terminal of a kind of Web TV are provided in the embodiment of the present invention, to solve in prior art Channel change delay is long, affects the problem of Consumer's Experience.
In a first aspect, embodiments providing a kind of channel switching method of Web TV, methods described includes:Root According to the channel switching instruction for receiving, it is determined that the target channel that will switch;Judge in default channel information statistical form be The no audio/video information that there is the target channel;When the audio frequency and video that there is the target channel in the channel information statistical form During information, the audio/video information of the target channel is extracted in the channel information statistical form;According to the target channel Audio/video information the decoding parametric of decoder is set, play the audio-video code stream of the target channel.
Second aspect, embodiments provides a kind of terminal, and the terminal includes:Processor;Process for storage The memory of device executable instruction, wherein, the processor is configured to perform the method described in above-mentioned first aspect.
In technical scheme provided in an embodiment of the present invention, channel predetermined Information Statistics table refers to channel switch is received After order, in first looking for channel information statistical form, whether there is the audio/video information of target channel, if it is present directly basis The audio/video information of the target channel stored in channel information statistical form arranges the decoding parametric of decoder, and completing channel switches, The time that the pat table to target channel and pmt table make a look up and parse is eliminated, and then when reducing channels of network TV switching Prolong, improve Consumer's Experience.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, for those of ordinary skill in the art Speech, on the premise of not paying creative work, can be with according to these other accompanying drawings of accompanying drawings acquisition.
Fig. 1 is a kind of schematic diagram of a scenario provided in an embodiment of the present invention;
Channel switching method schematic flow sheets of the Fig. 2 for one Web TV of the embodiment of the present invention;
Channel switching method schematic flow sheets of the Fig. 3 for two Web TV of the embodiment of the present invention;
Channel switching method schematic flow sheets of the Fig. 4 for three Web TV of the embodiment of the present invention;
Channel switching method schematic flow sheets of the Fig. 5 for four Web TV of the embodiment of the present invention;
Fig. 6 is a kind of structural representation of terminal provided in an embodiment of the present invention.
Specific embodiment
In order that those skilled in the art more fully understand the technical scheme in the present invention, below in conjunction with of the invention real The accompanying drawing in example is applied, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described enforcement Example is only a part of embodiment of the invention, rather than the embodiment of whole.Based on the embodiment in the present invention, this area is common The every other embodiment obtained under the premise of creative work is not made by technical staff, should all belong to protection of the present invention Scope.
Fig. 1 is a kind of schematic diagram of a scenario provided in an embodiment of the present invention, and Fig. 1 includes television set 101 and network machine top box 102, television set 101 and network machine top box 102 can be connected by wired or wireless mode, and network machine top box 102 is used for will Network resource transmission allows user to browse webpage by television set 101 or watch Web TV etc. to television set 101.Wherein, Be only a kind of schematic diagram of a scenario of the present invention shown in Fig. 1, in figure the particular type of network machine top box 102 and television set 101 and Corresponding relation is not limited to the concrete form disclosed in Fig. 1.For example, network machine top box 102 and television set 101 can be arranged on one Rise, formation is provided with the television set 101 of Web TV module, the present invention is not specifically limited to this.
User is when Web TV is watched, it will usually according to the hobby switching TV channel of oneself.In correlation technique, in order to Ensure the accuracy played, after channel switching instruction is received every time, channel information will be carried out according to the code stream of caching Parsing, but the actually channel information change of Web TV infrequently, therefore this processing mode uneconomical.And by It is longer in the time that the process parsed to channel information takes, cause channel change delay longer, affect Consumer's Experience.
For the problems referred to above, a kind of frequency of the Web TV that can reduce channel change delay is embodiments provided Channel switching method.Channel switching method schematic flow sheets of the Fig. 2 for one Web TV of the embodiment of the present invention, as shown in Fig. 2 its master Comprise the following steps.
Step S201:According to the channel switching instruction for receiving, it is determined that the target channel that will switch.
User can trigger channel switching instruction by the remote control of network machine top box, it is also possible to by network machine top box Button triggering channel switching instruction.For example, the currently playing channel of television set is CCTV1, in the channel column of television set storage In table, the succeeding channel of CCTV1 is CCTV2, then, when user clicks on " channel+" button of remote control, determine that user will cut The target channel changed is CCTV2.
Step S202:Judge that the audio frequency and video with the presence or absence of the target channel in default channel information statistical form are believed Breath.
In embodiments of the present invention, it is provided with for storing the channel information statistical form of channel information, the channel information is counted Channel Basic Information Table and channel audio information table can be included in table.Wherein, channel can be included in channel Basic Information Table Mark and the channel designation being associated with channel identication, video type, video PID, PCR (program clock Reference, reference clock) information such as data PID;In channel audio information table can include channel identication and with channel mark The information such as the channel designation of sensible association, audio types, Audio PID.
Wherein, channel identication is channel unique identity in systems, then " it is determined that the target channel that will switch " Can be understood as determining the channel identication of the target channel that will switch.United in channel information according to the channel identication of target channel The audio/video information that there is target channel is searched whether in meter table.
In a kind of alternative embodiment of the invention, channel Basic Information Table and channel audio information table are respectively such as table one and table Shown in two.
Table one:
Channel identication Channel designation Video type Video PID PCRPID
001 CCTV1 Ox1b Ox200 Ox200
002 CCTV2 Ox1b Ox201 Ox201
Table two:
Channel identication Channel designation Audio types Audio PID
001 CCTV1 Ox03 Ox28a
002 CCTV2 Ox03 Ox28b
As shown in table one and table two, there is the audio/video information of CCTV1 and CCTV2 in channel information statistical form.When true Set the goal after channel, whether can determine that in channel information statistical form according to the channel identication look-up table one and table two of target channel There is the audio frequency and video pid information of target channel.
For example, when user switches to CCTV2 by CCTV1, then search and the channel identication of CCTV2 in table one and table two 002 associated audio/video information, after it is determined that there is the audio/video information of CCTV2 in channel information statistical form, into step S203。
Step S203:The audio/video information of the target channel is extracted in the channel information statistical form.
When target channel is CCTV2, due to the audio/video information that there is CCTV2 in table one and table two, therefore can be with In table one and table two, the audio/video information of extracting directly CCTV2, eliminates the time parsed by the code stream to CCTV2.With As a example by 4M high definitions code stream inserts a pat table and pmt table per 100ms, the 200-300ms times can be saved, for 1S-1.5S's 20% efficiency can be improved for average zapping speed.
Step S204:The decoding parametric of decoder is arranged according to the audio/video information of the target channel, the mesh is played The audio-video code stream of mark channel.
The channel predetermined Information Statistics table in above-mentioned technical proposal, after channel switching instruction is received, first looks for frequency Whether there is the audio/video information of target channel in road Information Statistics table, if it is present directly according to channel information statistical form The audio/video information of the target channel of middle storage arranges the decoding parametric of decoder, and completing channel switching is eliminated to target frequency The time that the pat table and pmt table in road makes a look up and parse, and then time delay of switching channels of network TV is reduced, improve user's body Test.
Channel switching method schematic flow sheets of the Fig. 3 for two Web TV of the embodiment of the present invention, as shown in figure 3, the method Mainly include the following steps that.
Step S301:According to the channel switching instruction for receiving, it is determined that the target channel that will switch.
Step S302:Judge that the audio frequency and video with the presence or absence of the target channel in default channel information statistical form are believed Breath.
When there is the audio/video information of the target channel in default channel information statistical form, into step S303;Step S304 is entered otherwise.
Step S303:The audio/video information of the target channel is extracted in the channel information statistical form, is extracted The audio/video information of the target channel, afterwards into step S306.
Step S304:The code stream of the target channel is parsed, institute is extracted in the code stream of the target channel State the audio/video information of target channel.
For example, the target channel that user will switch is CCTV3, due to the sound that there is no CCTV3 in table one and table two Video information, it is therefore desirable to which the code stream of CCTV3 is cached and parsed, extracts its audio frequency and video in the code stream of CCTV3 and believes Breath.
Step S305:The audio/video information of the target channel for extracting is added to into the channel information statistical form In.
After the audio/video information for extracting CCTV3, the audio/video information of CCTV3 is added to into channel information statistical form In, complete the renewal to channel information statistical form, then when user is switched to CCTV3 next time, can be in channel information statistical form Middle extracting directly goes out the audio/video information of CCTV3, it is to avoid the code stream of CCTV3 is parsed again.
Step S306:The decoding parametric of decoder is arranged according to the audio/video information of the target channel, the mesh is played The audio-video code stream of mark channel.
In embodiments of the present invention, when there is the audio/video information of target channel in channel information statistical form, preferably exist The audio/video information of target channel is extracted in channel information statistical form, to reduce this channel change delay;Work as channel information When there is no the audio/video information of target channel in statistical form, the code stream of target channel is parsed, in the code of target channel The audio/video information of target channel is extracted in stream, and the audio/video information of target channel is added to into channel information statistical form In, to reduce next channel change delay.
It is easily understood that for the channel of first switching, its audio frequency and video being there is usually no in channel information statistical form and being believed Breath, needs to parse the code stream of the channel, and the audio/video information of the channel is added in channel information statistical form.With The use of user, the channel of Web TV is added gradually in channel information statistical form, will be channel information statistical form perfect.When So, system gradually can also be parsed to the code stream of each channel on backstage in network idle, by each frequency after parsing The audio/video information in road is added gradually in channel information statistical form, is realized perfect to the active of channel information statistical form.
Channel switching method schematic flow sheets of the Fig. 4 for three Web TV of the embodiment of the present invention, as shown in figure 4, the method Mainly include the following steps that.
Step S401:According to the channel switching instruction for receiving, it is determined that the target channel that will switch.
Step S402:Judge that the audio frequency and video with the presence or absence of the target channel in default channel information statistical form are believed Breath.
When there is the audio/video information of the target channel in default channel information statistical form, into step S403;Otherwise, into step S408.
Step S403:When there is the audio/video information of the target channel in default channel information statistical form, sentence When described in the disconnected channel information statistical form, whether the storage time of the audio/video information of target channel is less than default aging Between threshold value.
The audio/video information of channel is not unalterable, and operator may be according to the business development demand of oneself to frequency The audio/video information in road is changed.If after the audio/video information of target channel changes, still using channel information The audio/video information of the target channel stored in statistical form arranges decoder, it is clear that can cause decoding error.Therefore, in the present invention The concept of ageing time is introduced in embodiment, wherein, ageing time refers to what the audio/video information of channel may change Whether time interval, its audio/video information for being used for predictive channel change.
In embodiments of the present invention, the storage time of the audio/video information of channel is also recorded in channel information statistical form, Storage time is compared with ageing time threshold value, it is whether aging with the audio/video information for determining stored.For example, preset The ageing time threshold value of CCTV1 is 720h, if the storage time of the audio/video information of CCTV1 is less than in channel information statistical form 720h, illustrates that the audio/video information of CCTV1 is likely to unaged;If the audio/video information of CCTV1 in channel information statistical form Storage time more than or equal to 720h illustrate CCTV1 audio/video information be likely to weathered.
When the storage time of the audio/video information of target channel is less than default ageing time threshold value, target channel is predicted Audio/video information do not occur change, then into step S404;When the storage time of the audio/video information of target channel is more than Or when being equal to default ageing time threshold value, predict that the audio/video information of target channel there occurs change, then into step S405.
Step S404:When the storage time of the audio/video information of target channel is less than default ageing time threshold value, The audio/video information of the target channel is extracted in the channel information statistical form, afterwards into step S410.
Step S405:When the storage time of the audio/video information of target channel is more than or equal to default ageing time threshold value When, the code stream of the target channel is parsed, the sound of the target channel is extracted in the code stream of the target channel Video information.
When the storage time of the audio/video information of target channel is more than or equal to default ageing time threshold value, mesh is illustrated The audio/video information of mark channel may have occurred and that change, then again the code stream of target channel is parsed, in target channel Code stream in extract the audio/video information of the target channel.
Step S406:By the audio/video information of the target channel extracted in the code stream of the target channel and institute The audio/video information of the target channel stored in stating channel information statistical form is contrasted, and judges the sound of the target channel Video information is with the presence or absence of renewal.
The storage time of the audio/video information of target channel and ageing time are compared in step S403, simply in advance There is the possibility of change in the audio/video information for estimating target channel, even if the storage time of the audio/video information of target channel is more than Or be equal to default ageing time threshold value, the audio/video information of target channel is likely to not change, now need by It is right that the audio/video information stored in the audio/video information extracted in the code stream of target channel and channel information statistical form is carried out Than to determine the audio/video information of target channel with the presence or absence of renewal.
It is easily understood that the audio/video information extracted in the code stream of target channel is the newest sound of target channel regarding Frequency information, on this basis, when depositing in the audio/video information extracted in the code stream of target channel with channel information statistical form When the audio/video information of the target channel of storage is identical, illustrate that the audio/video information of target channel does not have renewal;Otherwise, say The audio/video information storage of bright target channel updates.Wherein, when the audio/video information of target channel is present to be updated, into step S407;When the audio/video information of target channel does not have renewal, into step S410.
Step S407:When the audio/video information of target channel is present to be updated, to target in the channel information statistical form The audio/video information of channel is updated, subsequently into step S410.
The audio/video information of target channel in channel information statistical form is updated to be switched next time for the ease of user During to the target channel, directly decoded using the audio/video information in channel information statistical form.Wherein, the channel is believed In breath statistical form, the audio/video information of target channel is updated and can be understood as:The mesh that will be stored in channel information statistical form The audio/video information of mark channel is updated to the audio/video information extracted in the code stream of target channel.
Step S408:When there is no the audio/video information of the target channel in default channel information statistical form, The code stream of the target channel is parsed, the audio frequency and video of the target channel are extracted in the code stream of the target channel Information.
Step S409:The audio/video information of the target channel for extracting is added to into the channel information statistical form In.
Step S410:The decoding parametric of decoder is arranged according to the audio/video information of the target channel, the mesh is played The audio-video code stream of mark channel.
Wherein, when following conditions are met for the moment, the audio/video information for arranging decoder is channel information statistical form The audio/video information of middle storage:There is the audio/video information of the target channel, and the target in a, channel information statistical form The audio/video information of channel is not aging;There is the audio/video information of the target channel in b, channel information statistical form, it is described The audio/video information of target channel is weathered, but the audio/video information of the target channel does not have renewal.
When following conditions are met for the moment, the audio/video information for arranging decoder is to carry in the code stream of target channel The audio/video information of taking-up:There is no the audio/video information of the target channel in a, channel information statistical form;B, channel information There is the audio/video information of the target channel in statistical form, the audio/video information of the target channel is weathered and described There is renewal in the audio/video information of target channel.
In embodiments of the present invention, the aging mechanism of audio/video information is introduced, to what is stored in channel information statistical form The degree of accuracy of audio/video information is predicted, and while channel change delay is reduced, reduces the probability that decoder misreads code.
If it is pointed out that by the long of the ageing time threshold value setting of channel, decoder can be caused to misread code Probability is improved;If by the too short of the ageing time threshold value setting of channel, the parsing to code stream can be caused excessively frequent, frequency is increased Road handover delay.Therefore, it is that channel arranges Consumer's Experience when rational ageing time threshold value can improve channel switch.
Due to the change frequency difference of the audio/video information of different channel, therefore phase can be respectively provided with for different channels The ageing time threshold value answered.In addition, the change frequency of the audio/video information of channel is likely to change, in order to reach more preferably Prediction effect, need to carry out data correction to the ageing time threshold value of channel.
In a kind of alternative embodiment of the invention, when the audio/video information of certain channel is present to be updated, the channel is recorded Update date and renewal time, according to the update date and renewal time of the channel, adjust its ageing time threshold value.Therefore, frequency Also include in road Information Statistics table that channel information changes table, referring to table three.
Table three:
Channel identication Channel designation Update date The renewal time
001 CCTV1 10/05/2016 10:30:00
002 CCTV2 20/05/2016 5:25:20
001 CCTV1 12/06/2016 20:30:00
002 CCTV2 25/06/2016 8:15:12
The audio/video information of CCTV1 and CCTV2 twice nearest update date and renewal time are shown in table three, with As a example by CCTV1, difference operation is carried out according to its update date and renewal time twice recently, calculate which and update time interval For 33*24h+10h=802h, therefore it is 802h by the ageing time adjusting thresholds of CCTV1.It is pointed out that above-mentioned enforcement Example is succinct in order to describe, and is illustrated as a example by once updating time interval, those skilled in the art in order to improve to it is aging when Between the accuracy that updates of threshold value, it is also possible to take and update recently repeatedly the average of time interval ageing time threshold value is updated, Which should fall under the scope of the present invention.
Another kind of alternative embodiment of the present invention, the audio/video information for counting channel at a certain time interval occur more New number of times, and the viewing number of times of channel, according to the update times and viewing number of times of channel, adjust the ageing time threshold of channel Value.
For example, in one month, channel CCTV1 have viewed 20 times, and its audio/video information there occurs 2 changes, CCTV1 Standard ageing time be 720h, then the ageing time threshold value for calculating CCTV1 according to formula Ag=AT* (1-CT/WT) is 648h, will CCTV1 ageing time adjusting thresholds be 648h, AT be standard ageing time, CT for audio/video information change Number of times, viewing number of times of the WT for channel.Wherein, when the viewing number of times WT of channel is 0, then ageing time threshold value is not adjusted It is whole.
Channel switching method schematic flow sheets of the Fig. 5 for four Web TV of the embodiment of the present invention, as shown in figure 5, the method Mainly include the following steps that.
Step S501:According to the channel switching instruction for receiving, it is determined that the target channel that will switch.
Step S502:Judge that the audio frequency and video with the presence or absence of the target channel in default channel information statistical form are believed Breath.
When there is the audio/video information of the target channel in default channel information statistical form, into step S503;Step S504 is entered otherwise
Step S503:The audio/video information of the target channel is extracted in the channel information statistical form, is extracted The audio/video information of the target channel, afterwards into step S506
Step S504:The code stream of the target channel is parsed, institute is extracted in the code stream of the target channel State the audio/video information of target channel.
Step S505:The audio/video information of the target channel for extracting is added to into the channel information statistical form In.
Step S506:The decoding parametric of decoder is arranged according to the audio/video information of the target channel, the mesh is played The audio-video code stream of mark channel.
Due in the playing process of channel, the audio/video information of channel it can also happen that change, therefore, using existing Audio/video information when playing out, need to start information monitoring flow process simultaneously on backstage, the audio/video information of monitor channel is No to change, its monitoring process is as shown in step S507-S509.
Step S507:According to the default first monitoring time interval, the code stream of the target channel is parsed, in institute The audio/video information of the target channel is extracted in the code stream for stating target channel.
Step S508:By the audio/video information of the target channel extracted in the code stream of the target channel and institute The audio/video information for stating the target channel of decoder current application is contrasted, and judges the audio frequency and video letter of the target channel Breath whether there is renewal, when the audio/video information of target channel is present to be updated, into step S509;Otherwise, return to step S507, when next first detection time interval is reached, is parsed to the code stream of target channel again.
Step S509:When the audio/video information of the target channel is present to be updated, according to the code in the target channel The audio/video information of the target channel extracted in stream resets the decoding parametric of the decoder.
In embodiments of the present invention, when there is playback action, the audio/video information of current play channel is monitored, When finding that audio/video information occurs change, decoder is reset according to new audio/video information, the time lost is The time of decoder of restarting, it is unaware for user, will not Consumer's Experience is caused to significantly affect.
In addition, when there is no playback action, system does not have the pressure of flow and data processing, monitoring stream can be started Journey, detects to the audio/video information of all channels.Specially:According to default second time interval respectively to each channel Code stream parsed, the audio/video information of each channel is extracted in the code stream of each channel, wherein, it is described The part or all of channel that each channel is stored in including the channel information statistical form;Respectively by the code in each channel Each channel described in storing in the audio/video information of each channel extracted in stream and the channel information statistical form Audio/video information contrasted, judge described in each channel audio/video information with the presence or absence of update;When the sound of the first channel When video information has renewal, according to the audio/video information of first channel extracted in the code stream of first channel The audio/video information of first channel stored in updating the channel information statistical form, first channel for it is described each Any one in channel.
Certainly, if the data-handling capacity of system is stronger, when there is playback action, it is also possible to according to the regular hour It is spaced the audio/video information to each channel to be monitored, which should fall under the scope of the present invention.
The channel switching method provided using the embodiment of the present invention, after channel switching instruction is received, is first looked for Whether there is the audio/video information of target channel in channel information statistical form, if it is present directly counting according to channel information The audio/video information of the target channel stored in table arranges the decoding parametric of decoder, and completing channel switching is eliminated to target The time that the pat table and pmt table of channel makes a look up and parse, and then time delay of switching channels of network TV is reduced, improve user Experience.
On the basis of said method embodiment, present invention also offers a kind of terminal embodiment, the concrete shape of the terminal Formula can be network machine top box or the television set with Web TV module.
Fig. 6 is a kind of structural representation of terminal provided in an embodiment of the present invention, as shown in fig. 6, the terminal 600 can be with Including:Processor 601, memory 602 and communication unit 603.These components are communicated by one or more bus, ability The structure of the server that field technique personnel are illustrated in being appreciated that figure does not constitute the restriction to the application, and it can both be total Linear structure, or hub-and-spoke configuration, can also include than illustrating more or less of part, or combine some parts, Or different part arrangements.
Wherein, the communication unit 603, for setting up communication channel, so that the storage device can be set with other It is standby to be communicated.User data or send user data to other equipment that reception other equipment is.
The processor 601, is the control centre of storage device, using various interfaces and the whole electronic equipment of connection Various pieces, be stored in software program and/or module in memory 602 by running or performing, and call and be stored in Data in memory, to perform the various functions and/or processing data of electronic equipment.The processor can be by integrated circuit (Integrated Circuit, abbreviation IC) is constituted, for example, can be made up of the IC of single encapsulation, it is also possible to by many of connection The encapsulation IC of identical function or difference in functionality and constitute.For example, processor 601 can only include central processing unit (Central Processing Unit, abbreviation CPU).In the application embodiment, CPU can be single arithmetic core, also may be used With including multioperation core.
The memory 602, for storing the execute instruction of processor 601, memory 602 can be by any kind of easy The property lost or non-volatile memory device or combinations thereof realization, such as static RAM (SRAM), electric erasable Programmable read only memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory, disk or CD.
When the execute instruction in memory 602 is performed by processor 601 so that terminal 600 is able to carry out following above-mentioned Part or all of step in embodiment of the method.
In implementing, the application also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium can be stored There is program, during the program performing, may include the part or all of step in each embodiment of the method for calling that the application is provided.Institute The storage medium stated can be magnetic disc, CD, read-only memory (English:Read-only memory, referred to as:ROM) or with Machine storage memory (English:Random access memory, referred to as:RAM) etc..
It is required that those skilled in the art can be understood that the technology in the embodiment of the present application can add by software General hardware platform mode realizing.Based on such understanding, the technical scheme in the embodiment of the present application substantially or Say that the part contributed to prior art can be embodied in the form of software product, the computer software product can be deposited In storage medium, such as ROM/RAM, magnetic disc, CD etc. (can be with so that computer equipment including some instructions use for storage It is personal computer, server, or network equipment etc.) perform some part institutes of each embodiment of the application or embodiment The method stated.
In this specification between each embodiment identical similar part mutually referring to.Implement especially for terminal For example, as which is substantially similar to embodiment of the method, so description is fairly simple, related part is referring in embodiment of the method Explanation.
Above-described the application embodiment does not constitute the restriction to the application protection domain.

Claims (10)

1. a kind of channel switching method of Web TV, it is characterised in that include:
According to the channel switching instruction for receiving, it is determined that the target channel that will switch;
Judge the audio/video information with the presence or absence of the target channel in default channel information statistical form;
When there is the audio/video information of the target channel in the channel information statistical form, in the channel information statistical form In extract the audio/video information of the target channel;
The decoding parametric of decoder is arranged according to the audio/video information of the target channel, the audio frequency and video of the target channel are played Code stream.
2. method according to claim 1, it is characterised in that in default channel information statistical form be in the judgement After the no audio/video information that there is the target channel, also include:
When there is no the audio/video information of the target channel in the channel information statistical form, the code to the target channel Stream is parsed, and the audio/video information of the target channel is extracted in the code stream of the target channel;
The audio/video information of the target channel for extracting is added in the channel information statistical form.
3. method according to claim 1, it is characterised in that extract the target in the channel information statistical form The audio/video information of channel, including:
Judge the storage time of the audio/video information of target channel described in the channel information statistical form whether less than default Ageing time threshold value;
The storage time of the audio/video information of the target channel described in the channel information statistical form less than it is default aging when Between threshold value when, the audio/video information of the target channel is extracted in the channel information statistical form.
4. method according to claim 3, it is characterised in that judging the frequency of target described in the channel information statistical form Whether the storage time of the audio/video information in road also includes less than after default ageing time threshold value:
When the storage time of the audio/video information of the target channel is more than or equal to default ageing time threshold value, to described The code stream of target channel is parsed, and the audio/video information of the target channel is extracted in the code stream of the target channel;
The audio/video information of the target channel extracted in the code stream of the target channel and the channel information are united The audio/video information of the target channel stored in meter table is contrasted, and whether judges the audio/video information of the target channel Exist and update;
When the audio/video information of the target channel is present to be updated, is arranged according to the audio/video information of the target channel and decoded The decoding parametric of device, including:According to the audio/video information of the target channel extracted in the code stream of the target channel The decoding parametric of decoder is set.
5. method according to claim 1, it is characterised in that solve being arranged according to the audio/video information of the target channel After the decoding parametric of code device, also include:
According to the default first monitoring time interval, the code stream of the target channel is parsed, in the target channel The audio/video information of the target channel is extracted in code stream;
Will be the audio/video information of the target channel extracted in the code stream of the target channel current with the decoder Using the audio/video information of the target channel contrasted, judge the audio/video information of the target channel with the presence or absence of more Newly;
When the audio/video information of the target channel is present to be updated, according to the institute extracted in the code stream of the target channel The audio/video information for stating target channel resets the decoding parametric of the decoder.
6. the method according to claim 4 or 5, it is characterised in that also include:
When the audio/video information of the target channel is present to be updated, according to the institute extracted in the code stream of the target channel The audio/video information of the target channel stored in the audio/video information renewal channel information statistical form for stating target channel.
7. method according to claim 1, it is characterised in that also include:
According to default second time interval, respectively the code stream of each channel is parsed, in the code stream of each channel In extract the audio/video information of each channel, wherein, described each channel is deposited in including the channel information statistical form The part or all of channel of storage;
Described in extracting in the code stream of each channel respectively, the audio/video information of each channel is believed with the channel The audio/video information of each channel stored in breath statistical form is contrasted, and judges the audio/video information of each channel With the presence or absence of renewal;
When the audio/video information of the first channel is present to be updated, according to described the extracted in the code stream of first channel The audio/video information of first channel that the audio/video information of one channel is stored in updating the channel information statistical form, it is described First channel is any one in described each channel.
8. the method according to 4,5 or 7 any one of claim, it is characterised in that also include:
When the audio/video information of the target channel or the first channel is present to be updated, the target channel or the first channel are recorded Update date and update the time;
According to the update date and renewal time of the target channel or the first channel, the target channel or the first channel are adjusted Ageing time threshold value.
9. the method according to 4,5 or 7 any one of claim, it is characterised in that also include:
In default 3rd time interval, there is the secondary of renewal in the audio/video information for counting the target channel or the first channel Number, and the target channel or the first channel viewing number of times;
According to the update times and viewing number of times of the target channel or the first channel, the target channel or the first channel are adjusted Ageing time threshold value.
10. a kind of terminal, it is characterised in that include:
Processor and the memory for storing processor executable;
Wherein, the processor is configured to perform claim and requires the method described in any one of 1-9.
CN201611053275.7A 2016-11-24 2016-11-24 The channel switching method and terminal of Web TV Active CN106534961B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611053275.7A CN106534961B (en) 2016-11-24 2016-11-24 The channel switching method and terminal of Web TV

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611053275.7A CN106534961B (en) 2016-11-24 2016-11-24 The channel switching method and terminal of Web TV

Publications (2)

Publication Number Publication Date
CN106534961A true CN106534961A (en) 2017-03-22
CN106534961B CN106534961B (en) 2019-09-17

Family

ID=58357421

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611053275.7A Active CN106534961B (en) 2016-11-24 2016-11-24 The channel switching method and terminal of Web TV

Country Status (1)

Country Link
CN (1) CN106534961B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108521601A (en) * 2018-02-28 2018-09-11 青岛海信电器股份有限公司 A kind of fast playing method and device of non-standard code stream
CN114449357A (en) * 2020-11-02 2022-05-06 青岛海信宽带多媒体技术有限公司 Method, device and terminal for optimizing IPTV multicast channel switching
US11381871B2 (en) 2018-12-11 2022-07-05 Samsung Electronics Co., Ltd. Electronic apparatus and controlling method thereof

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267538A (en) * 2007-03-15 2008-09-17 华为技术有限公司 A method and system for switching network TV channel and buffer entity
CN102123323A (en) * 2010-12-27 2011-07-13 四川长虹电器股份有限公司 Method for rapidly updating television program of single-tuner set top box
CN102595236A (en) * 2012-01-31 2012-07-18 深圳创维数字技术股份有限公司 Set top box and method thereof for changing channels of digital television
CN104602115A (en) * 2015-01-13 2015-05-06 青岛海信宽带多媒体技术有限公司 Method and system for switching of network television channels
CN104768033A (en) * 2015-04-15 2015-07-08 广州市汉融软件有限公司 Network television channel quick switching method and system based on preloading
CN105187943A (en) * 2015-09-21 2015-12-23 三星电子(中国)研发中心 Television channel supplement method and device
US20160173936A1 (en) * 2014-12-12 2016-06-16 Samsung Electronics Co., Ltd. Method and apparatus for changing channel of set-top box

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267538A (en) * 2007-03-15 2008-09-17 华为技术有限公司 A method and system for switching network TV channel and buffer entity
CN102123323A (en) * 2010-12-27 2011-07-13 四川长虹电器股份有限公司 Method for rapidly updating television program of single-tuner set top box
CN102595236A (en) * 2012-01-31 2012-07-18 深圳创维数字技术股份有限公司 Set top box and method thereof for changing channels of digital television
US20160173936A1 (en) * 2014-12-12 2016-06-16 Samsung Electronics Co., Ltd. Method and apparatus for changing channel of set-top box
CN104602115A (en) * 2015-01-13 2015-05-06 青岛海信宽带多媒体技术有限公司 Method and system for switching of network television channels
CN104768033A (en) * 2015-04-15 2015-07-08 广州市汉融软件有限公司 Network television channel quick switching method and system based on preloading
CN105187943A (en) * 2015-09-21 2015-12-23 三星电子(中国)研发中心 Television channel supplement method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
胡云鹏: "面向IPTV的分布式文件系统仿真软件的设计与实现", 《中国优秀硕士学位论文全文数据库》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108521601A (en) * 2018-02-28 2018-09-11 青岛海信电器股份有限公司 A kind of fast playing method and device of non-standard code stream
CN108521601B (en) * 2018-02-28 2022-04-29 海信视像科技股份有限公司 Method and device for rapidly playing non-standard code stream
US11381871B2 (en) 2018-12-11 2022-07-05 Samsung Electronics Co., Ltd. Electronic apparatus and controlling method thereof
CN114449357A (en) * 2020-11-02 2022-05-06 青岛海信宽带多媒体技术有限公司 Method, device and terminal for optimizing IPTV multicast channel switching

Also Published As

Publication number Publication date
CN106534961B (en) 2019-09-17

Similar Documents

Publication Publication Date Title
CN109168078B (en) Video definition switching method and device
CN108174280B (en) Audio and video online playing method and system
CN106534961A (en) Method for channel switching of network television and terminal
US11563992B2 (en) Video playback quality detection method and apparatus
CN108462896B (en) Live data stream processing method and device and electronic equipment
US9231916B1 (en) Protection against rule map update attacks
CN102006605A (en) Methods and apparatus to identify wireless carrier performance effects
CN109561300B (en) Service quality detection method and device
US20190238607A1 (en) Failure detection manager
CN108540819A (en) Live data processing method, device, computer equipment and storage medium
CA2931525A1 (en) Data stream identifying method and device
EP3310093A1 (en) Traffic control method and apparatus
US10284889B1 (en) Determining an actual start of program content relative to a scheduled start of the program content
CN105791987B (en) media data playing method and terminal
CN106303563B (en) Streaming media online playing method and device, execution terminal and storage medium
US8634310B2 (en) Methods and apparatus for improved program acquisition for use with MPEG-2 based systems
CN108933697B (en) Broadband quality detection method
US20210368213A1 (en) Method and device for quick start of live video streaming
CN108632681A (en) Play method, server and the terminal of Media Stream
CN103747341B (en) Television program attribute updating method and television program attribute updating device
CN110198481A (en) A kind of program updating method, device, electronic equipment and storage medium
CN109218809B (en) Streaming media playing method and device
CN105657525A (en) Channel switching method and device
CN115037654A (en) Flow statistical method and device, electronic equipment and readable storage medium
CN114025184A (en) Video live broadcast method and electronic equipment

Legal Events

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