CN109982098A - A kind of IPTV channel switching method and system - Google Patents

A kind of IPTV channel switching method and system Download PDF

Info

Publication number
CN109982098A
CN109982098A CN201910181498.9A CN201910181498A CN109982098A CN 109982098 A CN109982098 A CN 109982098A CN 201910181498 A CN201910181498 A CN 201910181498A CN 109982098 A CN109982098 A CN 109982098A
Authority
CN
China
Prior art keywords
channel list
address
stream
customized
audio
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
CN201910181498.9A
Other languages
Chinese (zh)
Other versions
CN109982098B (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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies 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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201910181498.9A priority Critical patent/CN109982098B/en
Publication of CN109982098A publication Critical patent/CN109982098A/en
Application granted granted Critical
Publication of CN109982098B publication Critical patent/CN109982098B/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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving MPEG packets from an IP network
    • H04N21/4383Accessing a communication channel
    • 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/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/64Addressing
    • H04N21/6405Multicasting
    • 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/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/64Addressing
    • H04N21/6408Unicasting

Abstract

The invention discloses a kind of IPTV channel switching method and systems, are related to IPTV field of video broadcasting technology and are preloaded when the present invention receives the original channel list information that IPTV server issues and construct customized channel list;By by the TS stream bit rate in customized channel list and whether supporting the quick TS streambuf sent out stream and apply for suitable size, rationally utilizing terminal memory source before initiating TS stream request.When initiating TS stream request, is made requests using the live streaming address in customized channel list, cut the slack-off problem of platform caused by avoiding multicast that from can not accessing without stream or unicast original address.After initiating TS stream request, use the audio-video PID and audio/video coding format starting decoder in customized channel list, and stream to decode into decoder by the TS received and play, the time-consuming for parsing PSI information after receiving TS stream is eliminated, channel switching speed is improved.

Description

A kind of IPTV channel switching method and system
Technical field
The present invention relates to IPTV field of video broadcasting technology, and in particular to a kind of IPTV channel switching method and system.
Background technique
In IPTV service, after terminal accessing IP TV platform, platform can issue channel list information, and terminal saves the rendition list Information, then carries out channel switching by specified channel number, and terminal finds the corresponding live streaming address information of channel number and plays out Completing channel switching.
A usual channel can simultaneously containing multicast live streaming address (IGMP agreement) and unicast be broadcast live address (RTSP agreement, HLS protocol etc.).Because the load of multicast Play Server is small, terminal needs preferential progress multicast broadcasting, can not get multicast Unicast broadcasting is carried out when stream.Unicast broadcasting, which can also have original address, can not access the case where needing to switch disaster tolerance address.
In the prior art, most of to realize IPTV channel switching using following methods.
(1) specified channel number carries out channel switching, and channel switching starts.
(2) terminal according to preset value application fixed size TS streambuf.
(3) terminal initiates multicast request and obtains multicast data flow, if multicast data flow, which has not been obtained, executes (4), gets multicast data flow It executes (6).
(4) terminal initiates unitcast request, can not access if unicast address and in unicast address containing if disaster tolerance field It executes (5), if the accessible execution (6) of unicast address.
(5) terminal splices disaster tolerance address, and carries out unitcast request by disaster tolerance address.
(6) the TS stream write-in TS streambuf that will acquire, and parse the PSI acquisition of information audio-video PID and sound of TS stream Video code model.
(7) decoder parameters are set, comprising the information such as audio-video PID and coded format and start decoder.
(8) data of TS streambuf are sent into decoder decoding to play, channel switching is completed.
The above channel switching method has the following problems.
The best size of TS streambuf is influenced by whether TS stream bit rate size and streaming media server quickly send out stream. If TS stream bit rate is larger or server has carried out quick hair stream, needs to apply biggish buffer area otherwise and will appear buffering The problem of area is overflowed only needs smaller if TS stream bit rate is smaller and streaming media server does not carry out quickly sending out stream Buffer area, buffer area applied for that conference wasted the memory source of terminal.Step (2) needs to store TS flow data Initiate Streaming Media request before apply TS streambuf, at this time since terminal does not receive TS flow data also, also not with streaming media service Device carry out link setup negotiation (unicast), TS stream bit rate is unknown, streaming media server whether carry out quickly send out stream it is unknown, can only apply pre- The buffer area for the fixed size set, the suitable size of difference application that can not be flowed according to TS.
If multicast data flow (this usually requires that 3s or so is waited to be judged) has not been obtained in step (3), turn unicast broadcasting Time of switching channels can greatly be extended.
If original unicast address can not access in step (4), confirmation server can not access this process and need time-out Waiting leads to time-consuming, then splices disaster tolerance address and make requests and can extend time of switching channels.
PSI information in step (6) parsing TS stream needs time-consuming, cannot immediately stream the TS received and decode into decoder It plays.
Summary of the invention
In view of the deficiencies in the prior art, the purpose of the present invention is to provide a kind of IPTV channel switching method and it is System improves channel switching speed, and buffer overflow and memory source is avoided to waste.
To achieve the above objectives, the technical solution adopted by the present invention is that: a kind of IPTV channel switching method is provided, including with Lower step:
When receiving the original channel list information that IPTV server issues, original channel list information is preloaded, Obtain can with live streaming address, TS stream bit rate, whether support quickly send out flow and construct customized channel list;
When carrying out channel switching, played out using the information in customized channel list.
On the basis of above scheme, when carrying out channel switching, played out using the information in customized channel list, Specifically includes the following steps:
According to the TS stream bit rate in customized channel list and whether support quickly send out stream, request the TS of suitable size to flow Buffer area, and TS stream request is initiated using the live streaming address in customized channel list.
On the basis of above scheme, the method also includes following steps: receiving the original frequency that IPTV server issues When road list information, original channel list information is preloaded, obtain audio-video PID, audio/video coding format and is charged to Customized channel list;
After initiating TS stream request using the live streaming address in customized channel list, the sound in customized channel list is used Video PID and audio/video coding format start decoder, and the TS received is streamed to decode into decoder and is played.
On the basis of above scheme, when receiving the original channel list information that IPTV server issues, to original channel List information is preloaded, acquisition can with live streaming address, TS stream bit rate, audio-video PID, audio/video coding format, whether prop up Quickly hair is held to flow and construct customized channel list, specifically includes the following steps:
When receiving the original channel list information that IPTV server issues, original channel list information is preloaded;
Multicast address in the original channel list information issued using IPTV server initiates multicast request, and multicast data flow is asked Hope for success function, then the live streaming address field in customized channel list is written into multicast address, will be in customized channel list Quickly hair stream is set as no for no support;
Multicast data flow request failure, the then unicast address in original channel list information issued using IPTV server are initiated Request, unicast address are requested successfully, then the live streaming address field in customized channel list are written in unicast address, and according to list Broadcast whether the setting of link setup interaction results is supported quickly to send out stream;
There are disaster tolerance fields in unicast address request failure and unicast address, then splice disaster tolerance field, obtain disaster tolerance address Request is initiated, disaster tolerance address is then saved in customized channel list as live streaming address by the success of disaster tolerance Address requests, and according to Whether the setting of unicast link setup interaction results is supported quickly to send out stream.
On the basis of above scheme, the information of the customized channel list include live streaming address, TS stream bit rate, whether Quickly hair stream, Audio PID, audio coding formats, video PID, video code model.
The present invention also provides a kind of IPTV channel switchover systems, comprising:
Customized channel list constructs module, is used for: when receiving the original channel list information that IPTV server issues, Original channel list information is preloaded, acquisition can with live streaming address, TS stream bit rate, whether support quickly send out flow and construct Customized channel list;
Channel switching module, is used for: when carrying out channel switching, being broadcast using the information in customized channel list It puts.
On the basis of above scheme, when the channel switching module carries out channel switching, customized channel list is used In information play out, specifically includes the following steps:
According to the TS stream bit rate in customized channel list and whether support quickly send out stream, request the TS of suitable size to flow Buffer area, and TS stream request is initiated using the live streaming address in customized channel list.
On the basis of above scheme, the customized channel list building module is also used to: being received under IPTV server When the original channel list information of hair, original channel list information is preloaded, obtains audio-video PID, audio/video coding Format simultaneously charges to customized channel list;
The channel switching module is also used to: after initiating TS stream request using the live streaming address in customized channel list, Using in customized channel list audio-video PID and audio/video coding format start decoder, and by the TS received stream into Decoder decoding plays.
On the basis of above scheme, the customized channel list building module receive IPTV server issue it is original When channel list information, original channel list information is preloaded, acquisition can use live streaming address, TS stream bit rate, audio-video Whether PID, audio/video coding format are supported quickly to send out and flow and construct customized channel list, specifically includes the following steps:
When receiving the original channel list information that IPTV server issues, original channel list information is preloaded;
Multicast address in the original channel list information issued using IPTV server initiates multicast request, and multicast data flow is asked Hope for success function, then the live streaming address field in customized channel list is written into multicast address, will be in customized channel list Quickly hair stream is set as no for no support;
Multicast data flow request failure, the then unicast address in original channel list information issued using IPTV server are initiated Request, unicast address are requested successfully, then the live streaming address field in customized channel list are written in unicast address, and according to list Broadcast whether the setting of link setup interaction results is supported quickly to send out stream;
There are disaster tolerance fields in unicast address request failure and unicast address, then splice disaster tolerance field, obtain disaster tolerance address Request is initiated, disaster tolerance address is then saved in customized channel list as live streaming address by the success of disaster tolerance Address requests, and according to Whether the setting of unicast link setup interaction results is supported quickly to send out stream.
On the basis of above scheme, the information of the customized channel list include live streaming address, TS stream bit rate, whether Quickly hair stream, Audio PID, audio coding formats, video PID, video code model.
Compared with the prior art, the advantages of the present invention are as follows:
When the present invention is by receiving original channel list information that IPTV server issues, is preloaded and constructed and made by oneself Adopted channel list;By by the TS stream bit rate in customized channel list and whether supporting quickly before initiating TS stream request Hair stream applies for the TS streambuf of suitable size, rationally utilizes terminal memory source.When initiating TS stream request, use is customized Live streaming address in channel list makes requests, and it is slack-off to cut platform caused by avoiding multicast that from can not accessing without stream or unicast original address Problem.Initiate TS stream request after, using in customized channel list audio-video PID and audio/video coding format starting decoding Device, and the TS received is streamed to decode into decoder and is played, the time-consuming for parsing PSI information after receiving TS stream is eliminated, is improved Channel switching speed.
Detailed description of the invention
Fig. 1 is the flow diagram of the IPTV channel switching method of the embodiment of the present invention;
Fig. 2 is the flow diagram of the customized channel list of building of the IPTV channel switching method of the embodiment of the present invention;
Fig. 3 is the flow diagram of the channel switching of the IPTV channel switching method of the embodiment of the present invention.
Fig. 4 is in original channel list information and customized channel list that the IPTV server of the embodiment of the present invention issues Information comparison schematic diagram.
Specific embodiment
Term explanation:
PSI (Program Specific Information, Program Specific Information) information is by PAT (Program Association Table, Program Association Table), CAT (Conditional Access Table, CAT Conditional Access Table), PMT (Program Map Table, Program Map Table) and NIT (Network Information Table, network information table) group At.These tables can be inserted into TS (Transport Stream, transport stream) stream.PSI information is the description to single TS stream, It is the guidance information of TS stream;PSI information specifies how to find specified section in the transport stream for carrying multiple programs from one Mesh.
The embodiment of the present invention is described in further detail below in conjunction with attached drawing.
Shown in Figure 1, the embodiment of the present invention provides a kind of IPTV channel switching method, comprising the following steps:
S1 when receiving the original channel list information that IPTV server issues, carries out pre-add to original channel list information Carry, acquisition can with live streaming address, TS stream bit rate, whether support quickly send out flow and construct customized channel list;
S2 is played out when carrying out channel switching using the information in customized channel list.
Preferably, it when carrying out channel switching, is played out, is specifically included following using the information in customized channel list Step:
According to the TS stream bit rate in customized channel list and whether support quickly send out stream, request the TS of suitable size to flow Buffer area, and TS stream request is initiated using the live streaming address in customized channel list.
Preferably, the method also includes following steps: when receiving the original channel list information that IPTV server issues, Original channel list information is preloaded, audio-video PID, audio/video coding format are obtained and charges to customized channel column Table;
After initiating TS stream request using the live streaming address in customized channel list, the sound in customized channel list is used Video PID and audio/video coding format start decoder, and the TS received is streamed to decode into decoder and is played.
Preferably, described when receiving the original channel list information that IPTV server issues, to original channel list information Preloaded, acquisition can with live streaming address, TS stream bit rate, obtain audio-video PID, audio/video coding format, whether support it is fast Speed hair flows and constructs customized channel list, specifically includes the following steps:
When receiving the original channel list information that IPTV server issues, original channel list information is preloaded;
Multicast address in the original channel list information issued using IPTV server initiates multicast request, and multicast data flow is asked Hope for success function, then the live streaming address field in customized channel list is written into multicast address, will be in customized channel list Quickly hair stream is set as no for no support;
Multicast data flow request failure, the then unicast address in original channel list information issued using IPTV server are initiated Request, unicast address are requested successfully, then the live streaming address field in customized channel list are written in unicast address, and according to list Broadcast whether the setting of link setup interaction results is supported quickly to send out stream.Stream is quickly sent out in unicast, and there are many implementation, one of realization sides In formula, terminal is initiated to carry field " x-Burst:yes " when rtsp describe is requested to RTSP streaming media server, if It indicates that server supports quickly hair stream containing field " x-Burst:yes " in streaming media server response signaling, otherwise indicates clothes Business device is not supported quickly to send out stream.
There are disaster tolerance fields in unicast address request failure and unicast address, then splice disaster tolerance field, obtain disaster tolerance address Request is initiated, disaster tolerance address is then saved in customized channel list as live streaming address by the success of disaster tolerance Address requests, and according to Whether the setting of unicast link setup interaction results is supported quickly to send out stream.
Shown in Figure 2 as preferred embodiment, the building of the IPTV channel switching method of the embodiment of the present invention is certainly Define channel list process the following steps are included:
S101: terminal starts and is authenticated by IPTV;
S102:IPTV server issues original channel list information, terminal storage original channel list information;
S103: terminal traversal original channel list information is preloaded;
S104: multicast request is initiated using multicast address, customized frequency is written into multicast address if getting multicast data flow Live streaming address field in road list, by customized channel list whether stream is quickly sent out in support is set as no;
S105: having not been obtained multicast data flow, initiates to request using unicast address, if getting unicast stream, by unicast address The live streaming address field in customized channel list is written, and whether supports quickly to send out according to the setting of unicast link setup interaction results Stream;
S106: unicast address can not access, and there are disaster tolerance fields in unicast address, splice disaster tolerance field and obtain disaster tolerance Request is initiated in address, if getting unicast stream, spliced disaster tolerance address is written to the live streaming in customized channel list Location field, and whether support quickly to send out stream according to the setting of unicast link setup interaction results;
S107: parsing PSI information from the TS stream got, obtains the code rate information in PSI information, audio-video PID believes Breath and audio/video coding format information.Customized channel list is written into these information.
Shown in Figure 3 as preferred embodiment, the channel of the IPTV channel switching method of the embodiment of the present invention is cut The process changed the following steps are included:
S201: user carries out cutting platform, and channel switching starts;Enter step S202;
S202: channel information is found from customized channel list;S203 and S205 are entered step simultaneously;The present invention is from certainly It defines and concurrently carries out obtaining TS stream process (S203, S204) and starting decoder process after obtaining channel information in channel list (S205), solve the problems, such as that needing sequence to execute in the prior art obtains TS stream process and start the time-consuming of decoder process;
S203: using TS stream bit rate information and whether support time shift to calculate buffer size and apply for buffer area;Into Step S204;
S204: TS is obtained using live streaming address and is flowed;Enter step S206;
S205: using the audio-video PID and audio/video coding format starting decoder in customized channel list, into step Rapid S206;
S206: after decoder starts successfully, the TS that will acquire is streamed to decode in the decoder after start completion and be played;
S207: channel switching terminates.
Preferably, shown in Figure 4, the original channel list information that the IPTV server issues includes multicast live streaming ground Address is broadcast live in location, unicast.Quickly whether the information of customized channel list include live streaming address, TS stream bit rate, hair stream, audio PID, audio coding formats, video PID, video code model.
The embodiment of the present invention also provides a kind of IPTV channel switchover system, comprising:
Customized channel list constructs module, is used for: when receiving the original channel list information that IPTV server issues, Original channel list information is preloaded, acquisition can with live streaming address, TS stream bit rate, whether support quickly send out flow and construct Customized channel list;
Channel switching module, is used for: when carrying out channel switching, being broadcast using the information in customized channel list It puts.
Preferably, it when the channel switching module carries out channel switching, is carried out using the information in customized channel list It plays, specifically includes the following steps:
According to the TS stream bit rate in customized channel list and whether support quickly send out stream, request the TS of suitable size to flow Buffer area, and TS stream request is initiated using the live streaming address in customized channel list.
Preferably, the customized channel list building module is also used to: receiving the original channel that IPTV server issues When list information, original channel list information is preloaded, obtain audio-video PID, audio/video coding format and is charged to certainly Define channel list;
The channel switching module is also used to: after initiating TS stream request using the live streaming address in customized channel list, Using in customized channel list audio-video PID and audio/video coding format start decoder, and by the TS received stream into Decoder decoding plays.
Preferably, the customized channel list building module receives the original channel list information that IPTV server issues When, original channel list information is preloaded, acquisition can use live streaming address, TS stream bit rate, acquisition audio-video PID, sound view Whether frequency coded format is supported quickly to send out and flows and construct customized channel list, specifically includes the following steps:
When receiving the original channel list information that IPTV server issues, original channel list information is preloaded;
Multicast address in the original channel list information issued using IPTV server initiates multicast request, and multicast data flow is asked Hope for success function, then the live streaming address field in customized channel list is written into multicast address, will be in customized channel list Quickly hair stream is set as no for no support;
Multicast data flow request failure, the then unicast address in original channel list information issued using IPTV server are initiated Request, unicast address are requested successfully, then the live streaming address field in customized channel list are written in unicast address, and according to list Broadcast whether the setting of link setup interaction results is supported quickly to send out stream;
There are disaster tolerance fields in unicast address request failure and unicast address, then splice disaster tolerance field, obtain disaster tolerance address Request is initiated, disaster tolerance address is then saved in customized channel list as live streaming address by the success of disaster tolerance Address requests, and according to Whether the setting of unicast link setup interaction results is supported quickly to send out stream.
Preferably, the original channel list information that the IPTV server issues includes multicast live streaming address, unicast live streaming Address.The information of customized channel list includes live streaming address, TS stream bit rate, whether quickly sends out stream, Audio PID, audio coding Format, video PID, video code model.
Based on the same inventive concept, it the embodiment of the invention provides a kind of computer readable storage medium, is stored thereon with Computer program realizes all method and steps or the part side of IPTV channel switching method when computer program is executed by processor Method step.
The present invention realizes all or part of the process in above-mentioned IPTV channel switching method, can also pass through computer program It is completed to instruct relevant hardware, computer program can be stored in a computer readable storage medium, the computer program When being executed by processor, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, computer program includes computer program Code, computer program code can be source code form, object identification code form, executable file or certain intermediate forms etc.. Computer-readable medium may include: any entity or device, recording medium, USB flash disk, the shifting that can carry computer program code Dynamic hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It needs to illustrate It is that the content that computer-readable medium includes can carry out appropriate according to the requirement made laws in jurisdiction with patent practice Increase and decrease, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include electric carrier signal and Telecommunication signal.
Based on the same inventive concept, the embodiment of the present invention also provides a kind of electronic equipment, including memory and processor, deposits The computer program run on a processor is stored on reservoir, processor realizes IPTV channel switching when executing computer program All method and steps or Part Methods step in method.
Alleged processor can be central processing unit (Central Processing Unit, CP U), can also be it His general processor, digital signal processor (Digital Signal Pr ocessor, DSP), specific integrated circuit (Application Specific Integrated Circ uit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, F PGA) either other programmable logic device, discrete gate or transistor logic device Part, discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processing Device etc., processor are the control centres of computer installation, utilize each of various interfaces and the entire computer installation of connection Part.
Memory can be used for storing computer program and/or module, and processor is stored in memory by operation or execution Interior computer program and/or module, and the data being stored in memory are called, realize the various function of computer installation Energy.Memory can mainly include storing program area and storage data area, wherein storing program area can storage program area, at least Application program needed for one function (such as sound-playing function, image player function etc.) etc.;Storage data area can store root Created data (such as audio data, video data etc.) etc. are used according to mobile phone.In addition, memory may include high speed with Machine accesses memory, can also include nonvolatile memory, such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (F lash Card), at least One disk memory, flush memory device or other volatile solid-state parts.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system, server or calculating Machine program product.Therefore, the present invention can be used complete hardware embodiment, complete software embodiment or combine software and hardware side The form of the embodiment in face.Moreover, it wherein includes computer usable program code that the present invention, which can be used in one or more, The computer program implemented in computer-usable storage medium (including but not limited to magnetic disk storage and optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, equipment (system), server and computer program product Flowchart and/or the block diagram describe.It should be understood that can be realized by computer program instructions in flowchart and/or the block diagram The combination of process and/or box in each flow and/or block and flowchart and/or the block diagram.It can provide these calculating Processing of the machine program instruction to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices Device is to generate a machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute For realizing the function of being specified in one or more flows of the flowchart and/or one or more blocks of the block diagram Device.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of IPTV channel switching method, which comprises the following steps:
When receiving the original channel list information that IPTV server issues, original channel list information is preloaded, is obtained Can with live streaming address, TS stream bit rate, whether support quickly send out flow and construct customized channel list;
When carrying out channel switching, played out using the information in customized channel list.
2. the method as described in claim 1, it is characterised in that: when carrying out channel switching, using in customized channel list Information plays out, specifically includes the following steps:
According to the TS stream bit rate in customized channel list and whether support quickly send out stream, request suitable size TS flow buffering Area, and TS stream request is initiated using the live streaming address in customized channel list.
3. method according to claim 2, which is characterized in that the method also includes following steps: receiving IPTV server When the original channel list information issued, original channel list information is preloaded, obtains audio-video PID, audio-video is compiled Code format simultaneously charges to customized channel list;
After initiating TS stream request using the live streaming address in customized channel list, the audio-video in customized channel list is used PID and audio/video coding format start decoder, and the TS received is streamed to decode into decoder and is played.
4. method as claimed in claim 3, it is characterised in that: receive the original channel list information that IPTV server issues When, original channel list information is preloaded, acquisition can be compiled with live streaming address, TS stream bit rate, audio-video PID, audio-video Whether code format is supported quickly to send out and flows and construct customized channel list, specifically includes the following steps:
When receiving the original channel list information that IPTV server issues, original channel list information is preloaded;
Multicast address in the original channel list information issued using IPTV server initiates multicast request, multicast data flow request at Then the live streaming address field in customized channel list is written in multicast address by function, by customized channel list whether branch It holds quickly hair stream and is set as no;
Multicast data flow request fails, then the unicast address initiation in the original channel list information issued using IPTV server is asked It asks, unicast address is requested successfully, then the live streaming address field in customized channel list is written in unicast address, and according to unicast Whether the setting of link setup interaction results is supported quickly to send out stream;
There are disaster tolerance fields in unicast address request failure and unicast address, then splice disaster tolerance field, obtain the initiation of disaster tolerance address Disaster tolerance address is then saved in customized channel list as live streaming address by request, the success of disaster tolerance Address requests, and according to unicast Whether the setting of link setup interaction results is supported quickly to send out stream.
5. method as claimed in claim 3, it is characterised in that: the information of the customized channel list include live streaming address, Whether TS stream bit rate quickly sends out stream, Audio PID, audio coding formats, video PID, video code model.
6. a kind of IPTV channel switchover system characterized by comprising
Customized channel list constructs module, is used for: when receiving the original channel list information that IPTV server issues, to original Beginning channel list information is preloaded, acquisition can with live streaming address, TS stream bit rate, whether support quickly to send out and flow and construct and make by oneself Adopted channel list;
Channel switching module, is used for: when carrying out channel switching, being played out using the information in customized channel list.
7. system as claimed in claim 6, it is characterised in that: when the channel switching module carries out channel switching, using certainly The information defined in channel list plays out, specifically includes the following steps:
According to the TS stream bit rate in customized channel list and whether support quickly send out stream, request suitable size TS flow buffering Area, and TS stream request is initiated using the live streaming address in customized channel list.
8. system as claimed in claim 7, which is characterized in that the customized channel list building module is also used to: being received When the original channel list information that IPTV server issues, original channel list information is preloaded, obtains audio-video PID, audio/video coding format simultaneously charge to customized channel list;
The channel switching module is also used to: after initiating TS stream request using the live streaming address in customized channel list, being used Audio-video PID and audio/video coding format in customized channel list start decoder, and the TS received is streamed into decoding Device decoding plays.
9. system as claimed in claim 8, it is characterised in that: the customized channel list building module receives IPTV service When the original channel list information that device issues, original channel list information is preloaded, acquisition can use live streaming address, TS stream Code rate, audio-video PID, audio/video coding format, whether support quickly send out flow and construct customized channel list, specifically include with Lower step:
When receiving the original channel list information that IPTV server issues, original channel list information is preloaded;
Multicast address in the original channel list information issued using IPTV server initiates multicast request, multicast data flow request at Then the live streaming address field in customized channel list is written in multicast address by function, by customized channel list whether branch It holds quickly hair stream and is set as no;
Multicast data flow request fails, then the unicast address initiation in the original channel list information issued using IPTV server is asked It asks, unicast address is requested successfully, then the live streaming address field in customized channel list is written in unicast address, and according to unicast Whether the setting of link setup interaction results is supported quickly to send out stream;
There are disaster tolerance fields in unicast address request failure and unicast address, then splice disaster tolerance field, obtain the initiation of disaster tolerance address Disaster tolerance address is then saved in customized channel list as live streaming address by request, the success of disaster tolerance Address requests, and according to unicast Whether the setting of link setup interaction results is supported quickly to send out stream.
10. system as claimed in claim 8, it is characterised in that: the information of the customized channel list include live streaming address, Whether TS stream bit rate quickly sends out stream, Audio PID, audio coding formats, video PID, video code model.
CN201910181498.9A 2019-03-11 2019-03-11 IPTV channel switching method and system Active CN109982098B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910181498.9A CN109982098B (en) 2019-03-11 2019-03-11 IPTV channel switching method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910181498.9A CN109982098B (en) 2019-03-11 2019-03-11 IPTV channel switching method and system

Publications (2)

Publication Number Publication Date
CN109982098A true CN109982098A (en) 2019-07-05
CN109982098B CN109982098B (en) 2020-12-01

Family

ID=67078527

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910181498.9A Active CN109982098B (en) 2019-03-11 2019-03-11 IPTV channel switching method and system

Country Status (1)

Country Link
CN (1) CN109982098B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116471312A (en) * 2023-06-20 2023-07-21 南京维赛客网络科技有限公司 Method, system and storage medium for distributing users through offline channels

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316357A (en) * 2008-06-30 2008-12-03 华为技术有限公司 Channel switching method, terminal and medium service apparatus
CN102340701A (en) * 2011-10-28 2012-02-01 深圳Tcl新技术有限公司 Program playing method for digital televisions and digital television
US20160044174A1 (en) * 2012-01-03 2016-02-11 Kenneth D. Tuchman Method for connecting users with agents using user selected agents and agent ratings
US20160173938A1 (en) * 2009-03-03 2016-06-16 Mobilitie, Llc System and method for wireless distribution of television channels in a venue
CN105721949A (en) * 2016-01-20 2016-06-29 深圳市彩易生活科技有限公司 Key channel program configuration method, TV control method, TV control system, and related device
CN106686394A (en) * 2016-12-29 2017-05-17 北京奇艺世纪科技有限公司 Video switching method and apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316357A (en) * 2008-06-30 2008-12-03 华为技术有限公司 Channel switching method, terminal and medium service apparatus
US20160173938A1 (en) * 2009-03-03 2016-06-16 Mobilitie, Llc System and method for wireless distribution of television channels in a venue
CN102340701A (en) * 2011-10-28 2012-02-01 深圳Tcl新技术有限公司 Program playing method for digital televisions and digital television
US20160044174A1 (en) * 2012-01-03 2016-02-11 Kenneth D. Tuchman Method for connecting users with agents using user selected agents and agent ratings
CN105721949A (en) * 2016-01-20 2016-06-29 深圳市彩易生活科技有限公司 Key channel program configuration method, TV control method, TV control system, and related device
CN106686394A (en) * 2016-12-29 2017-05-17 北京奇艺世纪科技有限公司 Video switching method and apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116471312A (en) * 2023-06-20 2023-07-21 南京维赛客网络科技有限公司 Method, system and storage medium for distributing users through offline channels
CN116471312B (en) * 2023-06-20 2023-08-15 南京维赛客网络科技有限公司 Method, system and storage medium for distributing users through offline channels

Also Published As

Publication number Publication date
CN109982098B (en) 2020-12-01

Similar Documents

Publication Publication Date Title
CN110557670B (en) Method, device, terminal and storage medium for playing video in webpage
US20200275148A1 (en) Event-Based Content Replacement In Live Media Services
WO2017097149A1 (en) Live comment implementation method for broadcast television terminal and broadcast television system server
JP6243541B2 (en) Delivery services in multimedia broadcast / multicast service networks using various delivery methods
CN103348322A (en) Information processing device, information processing method, and program
CN103517131A (en) Method for playing segmental videos in gapless mode in television set and television set
US10924810B2 (en) Reception device, reception method, transmission device, and transmission method
EP3061220B1 (en) Method, multimedia streaming service node, computer program and computer program product for combining content
CN105933732A (en) Video playing duration counting method and system
CN108933764B (en) Method and device for realizing quick broadcast starting
CN102036058A (en) Method, server, terminal and system for switching videos in video monitoring system
CN102075795A (en) Method and system for releasing focus television programs
RU2502208C2 (en) Method and device for recording and reproducing programmes, as well as set-top box
CN101436915B (en) Method and apparatus for receiving and playing multimedia program by mobile terminal
CN111510756A (en) Audio and video switching method and device, computer equipment and readable storage medium
JP2013243637A (en) Distribution device, reproduction device, data structure, distribution method, control program, and recording medium
WO2017041663A1 (en) Video control method and device
CN101202877B (en) Set-top box and method and apparatus for program switch
CN100518331C (en) Method for inserting and relaying IP service data based on cable television network
CN109982098A (en) A kind of IPTV channel switching method and system
CN103402137A (en) Application push method, mobile terminal and digital television (TV) receiving end
CN101459976B (en) Method, equipment and system for stream media playing control
EP3982642A1 (en) Video transcoding method and apparatus
WO2017071642A1 (en) Media playback method, device and computer storage medium
WO2010081415A1 (en) Embedded browser-based playback method and system for a background sound and key tone

Legal Events

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