CN107396175A - A kind of method of optimization IPTV channel switch speed - Google Patents
A kind of method of optimization IPTV channel switch speed Download PDFInfo
- Publication number
- CN107396175A CN107396175A CN201710702321.XA CN201710702321A CN107396175A CN 107396175 A CN107396175 A CN 107396175A CN 201710702321 A CN201710702321 A CN 201710702321A CN 107396175 A CN107396175 A CN 107396175A
- Authority
- CN
- China
- Prior art keywords
- channel
- pmt information
- iptv
- pmt
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 238000005457 optimization Methods 0.000 title claims abstract description 15
- 101000983970 Conus catus Alpha-conotoxin CIB Proteins 0.000 claims description 2
- 101000932768 Conus catus Alpha-conotoxin CIC Proteins 0.000 claims description 2
- 230000003139 buffering effect Effects 0.000 claims description 2
- 230000001419 dependent effect Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000015654 memory Effects 0.000 description 1
- 230000036316 preload Effects 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/438—Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
- H04N21/4383—Accessing a communication channel
- H04N21/4384—Accessing a communication channel involving operations to reduce the access time, e.g. fast-tuning for reducing channel switching latency
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network 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/61—Network physical structure; Signal processing
- H04N21/6106—Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
- H04N21/6125—Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via Internet
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network 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/61—Network physical structure; Signal processing
- H04N21/6156—Network physical structure; Signal processing specially adapted to the upstream path of the transmission network
- H04N21/6175—Network physical structure; Signal processing specially adapted to the upstream path of the transmission network involving transmission via Internet
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a kind of method of optimization IPTV channel switch speed, go to obtain the PMT information of each direct broadcast band in channel list in advance by loading a thread from the background in IPTV set top box, so as to user is actual cut platform when omit PMT parsing process, shorten the time of IPTV television channel programs switching, reach the purpose of lifting user's viewing experience.The method of the optimization IPTV channel switch speed of the present invention, it can go to obtain the PMT information of each direct broadcast band in channel list in advance by loading a thread from the background in IPTV set top box, so as to user is actual cut platform when omit PMT parsing process, the time of IPTV television channel programs switching can be shortened, reach the purpose of lifting user's viewing experience, and this method only needs the software in set top box side to modify and dispose, it is not required to make change to existing server and network, there is the characteristics of easily realizing, cost of implementation is low.
Description
Technical field
The present invention relates to digital TV technology, more particularly to a kind of method of optimization IPTV channel switch speed.
Background technology
At present, IPTV has become the Main Patterns that telecom operators carry out video traffic, and live television channel is IPTV
The important component of business.
By observation it was found that the switch speed of live television channel be influence one of user's viewing experience it is important because
Element, the platform flow of cutting of conventional live television channel mainly include procedure below:The first step:Exit the multicast clothes of previous channel
Business device, second step:Stop the dependent player of previous channel, the 3rd step:Add new multicast channel, the 4th step:Wait obtains
Take TS data, the 5th step:TS data are parsed to obtain PMT information, the 6th step:Buffer a certain amount of TS data and give bottom broadcasting
Device commences play out.
It follows that conventional channel switch can all have a time of switching channels for needing user to wait, and high-definition live broadcasting
Program then needs longer.If the time loss of channel switch can be shortened, for the viewing experience of user, it will have very big
Lifting.
The means of traditional shortening time of switching channels, are mainly to speed up PMT acquisitions, reduce TS stream buffer memories etc..But
Still suffer from the TS data to be obtained such as need user online and wait TS data to be resolved to obtain the process of PMT information, also do not exist
Fundamentally solve the problems, such as that switching time is long.
The content of the invention
The purpose of the present invention is to overcome deficiency in above-mentioned background technology, there is provided a kind of side of optimization IPTV channel switch speed
Method, the PMT for obtaining each direct broadcast band in channel list in advance by loading a thread to go from the background in IPTV set top box believe
Breath, so as to user is actual cut platform when omit the processes of PMT parsings, shorten the time of IPTV television channel programs switching,
Reach the purpose of lifting user's viewing experience.
In order to reach above-mentioned technique effect, the present invention takes following technical scheme:
A kind of method of optimization IPTV channel switch speed, comprises the following steps:
A. the channel live list of IPTV channels is obtained, and generates the PMT information corresponding with the channel live list
List;
B. a background thread is loaded, in the rear in platform thread, according to the channel live list, is obtained one by one each
The PMT information of IPTV channels;
C. the PMT information of each IPTV channels of acquisition is preserved into the PMT information lists;
When D. switching to demand channel, the PMT information of corresponding demand channel in the PMT information lists is sent to broadcasting
Put device broadcasting.
Further, the step C includes:
C1. read the target channel for needing to obtain PMT information in the channel live list and add the multicast of target channel
In server;
C2. obtain and cache TS data;
C3. the TS data are parsed, obtain the PMT information of the target channel, and by the PMT information of acquisition preserve to
In PMT information lists;
C4. stop caching TS data, exit the multicast server of the target channel;
C5. repeat step C1, the PMT information of the IPTV channels included into the channel live list have all obtained
Into;
C6. the background thread is exited.
Further, the step C1 includes:
C1.1, which is read, needs the information for obtaining the target channel of PMT information in the channel live list, judge that its multicast takes
Whether the port of the multicast server for the port of device and the broadcasting channel of current player of being engaged in is consistent;
If C1.2 need to obtain the port of the target channel of PMT information and the multicast server of current player broadcasting channel not
Unanimously, then add in the multicast server of the target channel and enter step C2;
If C1.3 need to obtain the port one of the target channel of PMT information and the multicast server of current player broadcasting channel
Cause, then skip the acquisition of the PMT information of the target channel, and by the channel live list target channel it is next
IPTV channels are as target channel and return to step C1.1.
Further, step C1.4 is also included in the step C1:
C1.4 will be skipped the IPTV channels for obtaining PMT information and be moved to current location in the channel live list from it
Channel live list end position.
Further, needed if the target channel that need to currently obtain PMT information is last in the channel live list
The IPTV channels of acquisition PMT information, and the broadcasting channel of the port of the multicast server of the target channel and current player
The port of multicast server is consistent, then pause obtains the PMT information of the target channel until current player switching broadcasting channel
When step C1.1 described in re-enter.
Further, the step D includes:
D1. information of the demand channel that inquiry need to switch in the PMT information lists;
If the PMT information of demand channel in the PMT information lists D2. be present, the PMT information of demand channel is sent
To the switching of player plays completing channel;
If D3. in the PMT information in the PMT information lists without demand channel or PMT information lists demand channel PMT
When information can not play, then into step E;
E. conventional channel switch flow is entered:
E1. the multicast server of current channel is exited, and is stopped currently playing;
E2. the multicast server of demand channel is added;
E3. obtain and buffer TS data, parse the PMT information of demand channel;
E4. the TS data of buffering are sent to player plays;
E5. by the PMT information updatings of the demand channel of acquisition into the PMT information lists.
The present invention compared with prior art, has following beneficial effect:
First, go to obtain each live frequency in channel list in advance by loading a thread from the background in IPTV set top box
The PMT information in road, so as to user is actual cut platform when omit PMT parsing process, IPTV television channel programs can be shortened
The time of switching, reach the purpose of lifting user's viewing experience;
Second, this programme only needs the software in set top box side to modify and dispose, and is not required to existing server and net
Network makes change, easily realizes and cost of implementation is low.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet of the method for optimization IPTV channel switch speed of the present invention.
Embodiment
With reference to embodiments of the invention, the invention will be further elaborated.
Embodiment:
It is as shown in Figure 1 a kind of method of optimization IPTV channel switch speed, mainly comprises the steps of:
The first step, after IPTV logs in business platform, obtain whole direct broadcast bands and generate a channel list, and it is raw
Into the PMT information list corresponding with channel list.
Second step, create a background thread and be used to preload the PMT information of each IPTV channels with reference to channel list.
Wherein, the process of PMT information is obtained in background thread can not influence the operation and viewing of user on main thread, need
Concurrently to perform.
3rd step, according to channel list, the PMT information of each direct broadcast band in channel list, each live frequency are loaded one by one
The corresponding PMT information in road, while the PMT information of each direct broadcast band got is preserved to PMT information lists.
Wherein, mainly comprised the following steps during the PMT information for obtaining each direct broadcast band:With reference to the order in channel list, first add
First need obtains the multicast of the target channel of PMT information, then caches the PMT that certain TS data are used to parse the target channel
Information, after being resolved to PMT information, the PMT information of the target channel is saved in PMT information lists, then stops TS data
Receive;Referring next to the order in channel list, the multicast of next channel on channel list is sequentially added, is circulated with this,
Until after the PMT information of each channel in channel list is preserved into PMT information lists, complete preloading and exit the backstage line
Journey.
4th step, when user carries out channel switch operation, first determine whether there has been corresponding frequency in PMT information lists
The PMT information in road, if so, just using the PMT information of the corresponding channel stored in PMT information lists, it will correspond to
The PMT information of channel sends to player plays the switching so as to completing channel.
If the PMT letters of the corresponding channel in the PMT information or PMT information lists without the corresponding channel in PMT information lists
When breath can not play, then normal channel switch flow is carried out.
Wherein, normal channel switch flow comprises the following steps:
The first step:The multicast server of previous channel is exited,
Second step:Stop the dependent player of previous channel,
3rd step:New multicast channel is added,
4th step:Etc. TS data to be obtained,
5th step:TS data are parsed to obtain PMT information,
6th step:Buffer a certain amount of TS data and give bottom player and commence play out.
Specifically, each channel of IPTV direct broadcast bands corresponds to different multicast servers, so adding from the background other
Channel when, do not interfere with the normal viewing and operation of foreground user, but because the multicast port of different channel may
Identical, same multicast port can cause data corruption if adding two multicasts, cause user normally to watch TV programme,
Therefore, if the PMT information of corresponding channel is loaded in background thread, if the multicast port that target channel occurs is used with current
When the multicast port of family viewing channel is consistent, then the preloading of this channel is first skipped, is loaded directly into the channel on channel list
Other channels below, preferably carried out next channel of the target channel in channel live list as target channel
The acquisition of PMT information.
Preferably, can will be skipped obtain PMT information IPTV channels from it current location in channel live list
Channel live list end position is moved to, subsequently to continue to load.
Need to obtain preferably, if the target channel that need to currently obtain PMT information is last in channel live list
The IPTV channels of PMT information, and the multicast of the broadcasting channel of the port of the multicast server of the target channel and current player
The port of server is consistent, then pause obtain the target channel PMT information until current player switching broadcasting channel when again
Again detect the multicast server of the broadcasting channel of current player port and target channel it is whether consistent, if inconsistent
PMT information acquiring steps can be entered, continued waiting for if inconsistent, until being finally completed obtaining for the PMT information of the target channel
Take.
It is understood that the principle that embodiment of above is intended to be merely illustrative of the present and the exemplary implementation that uses
Mode, but the invention is not limited in this.For those skilled in the art, the essence of the present invention is not being departed from
In the case of refreshing and essence, various changes and modifications can be made therein, and these variations and modifications are also considered as protection scope of the present invention.
Claims (6)
- A kind of 1. method of optimization IPTV channel switch speed, it is characterised in that comprise the following steps:A. the channel live list of IPTV channels is obtained, and generates the PMT information lists corresponding with the channel live list;B. a background thread is loaded, in the rear in platform thread, according to the channel live list, obtains each IPTV frequencies one by one The PMT information in road;C. the PMT information of each IPTV channels of acquisition is preserved into the PMT information lists;When D. switching to demand channel, the PMT information of corresponding demand channel in the PMT information lists is sent to player Play.
- A kind of 2. method of optimization IPTV channel switch speed according to claim 1, it is characterised in that the step C Including:C1. read the target channel for needing to obtain PMT information in the channel live list and add the multicast services of target channel In device;C2. obtain and cache TS data;C3. the TS data are parsed, obtain the PMT information of the target channel, and the PMT information of acquisition is preserved to PMT and believed Cease in list;C4. stop caching TS data, exit the multicast server of the target channel;C5. repeat step C1, the PMT information of the IPTV channels included into the channel live list, which all obtains, to be completed;C6. the background thread is exited.
- A kind of 3. method of optimization IPTV channel switch speed according to claim 2, it is characterised in that the step C1 Including:C1.1, which is read, needs the information for obtaining the target channel of PMT information in the channel live list, judge its multicast server Port and current player broadcasting channel multicast server port it is whether consistent;If C1.2 need to obtain the target channel of PMT information and the port of the multicast server of current player broadcasting channel is differed Cause, then add in the multicast server of the target channel and enter step C2;If the target channel that C1.3 need to obtain PMT information is consistent with the port of the multicast server of current player broadcasting channel, Then skip the acquisition of the PMT information of the target channel, and by next IPTV of the target channel in the channel live list Channel is as target channel and return to step C1.1.
- A kind of 4. method of optimization IPTV channel switch speed according to claim 3, it is characterised in that the step C1 In also include step C1.4:C1.4 will be skipped the IPTV channels for obtaining PMT information and move to channel in current location in the channel live list from it Live list end position.
- 5. the method for a kind of optimization IPTV channel switch speed according to claim 3, it is characterised in that if need to currently obtain The target channel of PMT information is taken to obtain the IPTV channels of PMT information, and the mesh for last in the channel live list It is consistent with the port of the multicast server of the broadcasting channel of current player to mark the port of the multicast server of channel, then pause obtains Take the target channel PMT information until current player switching broadcasting channel when step C1.1 described in re-enter.
- A kind of 6. method of optimization IPTV channel switch speed according to claim 1, it is characterised in that the step D Including:D1. information of the demand channel that inquiry need to switch in the PMT information lists;If the PMT information of demand channel in the PMT information lists D2. be present, the PMT information of demand channel is sent to broadcasting Device is put to finish playing the switching of channel;If D3. in the PMT information in the PMT information lists without demand channel or PMT information lists demand channel PMT information When can not play, then into step E;E. conventional channel switch flow is entered, including:E1. the multicast server of current channel is exited, and is stopped currently playing;E2. the multicast server of demand channel is added;E3. obtain and buffer TS data, parse the PMT information of demand channel;E4. the TS data of buffering are sent to player plays;E5. by the PMT information updatings of the demand channel of acquisition into the PMT information lists.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710702321.XA CN107396175A (en) | 2017-08-16 | 2017-08-16 | A kind of method of optimization IPTV channel switch speed |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710702321.XA CN107396175A (en) | 2017-08-16 | 2017-08-16 | A kind of method of optimization IPTV channel switch speed |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107396175A true CN107396175A (en) | 2017-11-24 |
Family
ID=60353188
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710702321.XA Pending CN107396175A (en) | 2017-08-16 | 2017-08-16 | A kind of method of optimization IPTV channel switch speed |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107396175A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110300338A (en) * | 2019-07-26 | 2019-10-01 | 杭州当虹科技股份有限公司 | A method of it is switched fast and plays group broadcasting video frequency |
CN114449357A (en) * | 2020-11-02 | 2022-05-06 | 青岛海信宽带多媒体技术有限公司 | Method, device and terminal for optimizing IPTV multicast channel switching |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102231848A (en) * | 2011-06-22 | 2011-11-02 | 中兴通讯股份有限公司 | IPTV channel switching method and apparatus thereof |
CN102595236A (en) * | 2012-01-31 | 2012-07-18 | 深圳创维数字技术股份有限公司 | Set top box and method thereof for changing channels of digital television |
CN103702202A (en) * | 2013-12-13 | 2014-04-02 | 乐视致新电子科技(天津)有限公司 | Method and device for realizing fast playing during channel switching |
-
2017
- 2017-08-16 CN CN201710702321.XA patent/CN107396175A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102231848A (en) * | 2011-06-22 | 2011-11-02 | 中兴通讯股份有限公司 | IPTV channel switching method and apparatus thereof |
CN102595236A (en) * | 2012-01-31 | 2012-07-18 | 深圳创维数字技术股份有限公司 | Set top box and method thereof for changing channels of digital television |
CN103702202A (en) * | 2013-12-13 | 2014-04-02 | 乐视致新电子科技(天津)有限公司 | Method and device for realizing fast playing during channel switching |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110300338A (en) * | 2019-07-26 | 2019-10-01 | 杭州当虹科技股份有限公司 | A method of it is switched fast and plays group broadcasting video frequency |
CN114449357A (en) * | 2020-11-02 | 2022-05-06 | 青岛海信宽带多媒体技术有限公司 | Method, device and terminal for optimizing IPTV multicast channel switching |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10666894B2 (en) | Receiver and method for reporting the usage of advanced television services | |
CN109246462B (en) | Seamless switching method and device for video stream | |
CA2837112C (en) | Method, computer program, reception apparatus, and information providing apparatus for trigger compaction | |
CA2839808C (en) | Extensions to trigger parameters table for interactive television | |
CN102123323B (en) | Method for rapidly updating television program of single-tuner set top box | |
CN106612463A (en) | Barrage processing methods and system, and terminal | |
CN100393068C (en) | Method for buffering data in stream media | |
CN101390393A (en) | Systems and methods for enhanced trick-play functions | |
CN101277450A (en) | Method and apparatus for switching program | |
CN107396175A (en) | A kind of method of optimization IPTV channel switch speed | |
CN105812847A (en) | HLS video live broadcast method, server and system | |
CN106534878A (en) | Replaying method and system of live broadcast program, and server | |
US20170013037A1 (en) | Media fragment rotation method, client and system | |
CN102172035A (en) | Manufacturing method and system of audio special | |
US10958949B2 (en) | Systems and methods for optimizing a set-top box to retrieve missed content | |
CN101998165B (en) | Method and system for switching channels in IPTV system | |
CN104581414B (en) | A kind of electronic program guides display methods and system | |
DE102006015328B4 (en) | Apparatus and method for recording and delayed playback of broadcasts | |
CN104202625B (en) | A kind of media file processing method and equipment | |
US9549208B1 (en) | Systems and methods for causing a stunt switcher to run a multi-video-source DVE | |
US9462314B1 (en) | Systems and methods for enabling functionality of a trigger mechanism based on log entries in a traffic log | |
CN106791938A (en) | Trailer player method and system | |
CN207926818U (en) | A kind of document automatic station-keeping system playing direct playing and playback video | |
CN106961635A (en) | Massaging device | |
CN109120989A (en) | The method of retrospect positioning when TS stream broadcasting |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171124 |