CN105657534A - Android based internet protocol television play switch system and method - Google Patents

Android based internet protocol television play switch system and method Download PDF

Info

Publication number
CN105657534A
CN105657534A CN201610007760.4A CN201610007760A CN105657534A CN 105657534 A CN105657534 A CN 105657534A CN 201610007760 A CN201610007760 A CN 201610007760A CN 105657534 A CN105657534 A CN 105657534A
Authority
CN
China
Prior art keywords
url
live
value
type
flag
Prior art date
Application number
CN201610007760.4A
Other languages
Chinese (zh)
Inventor
石艳
周琴
Original Assignee
烽火通信科技股份有限公司
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 烽火通信科技股份有限公司 filed Critical 烽火通信科技股份有限公司
Priority to CN201610007760.4A priority Critical patent/CN105657534A/en
Publication of CN105657534A publication Critical patent/CN105657534A/en

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, synchronizing 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, e.g. channel tuning
    • 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/643Communication protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Abstract

The present invention provides an Android based internet protocol television play switch system. The system is used for playing the internet protocol television on a smart set top box. The switch system comprises a channel information acquisition module, a live broadcast uniform resource location (URL) determination module and a live broadcast creation module. The channel information acquisition module is used for acquiring channel node information from information delivered by a server when the set top box starts. The live broadcast URL determination module is used for determining a live broadcast URL according to a value of a flag bit in the channel node information. The live broadcast creation module is used for creating corresponding live broadcast according to the type of a determined live broadcast URL value. In the system, the live broadcast URL determination module is used for determining the URL of current live broadcast, and the live broadcast creation module is used for creating the corresponding URL for live broadcast, so that the live broadcast function is realized in an IPTV player on the Android smart set top box. The present invention also provides an Android based internet protocol television play switch method.

Description

基于Andro id的网络电视播放切换系统及方法 Television network switching system and method based Andro id

技术领域 FIELD

[0001 ]本发明涉及网络电视播放技术,尤其涉及一种基于Android的网络电视播放切换系统及方法。 [0001] The present invention relates to a network television broadcast technology, particularly to a television network switching system and method based on Android.

背景技术 Background technique

[0002]目前,随着电信宽带战略的实施,以及电视互联网化的趋势和技术的不断革新,网络协定电视(Internet Protocol Televis1n,IPTV)也正开始从传统的高、标清开始朝着智能化方向演进,电信IPTV业务也从现有业态开始逐步向下一代家庭智能化方向发展。 [0002] Now, with the implementation of broadband telecommunications strategy, as well as trends and technology innovation of Internet television, Internet protocol television (Internet Protocol Televis1n, IPTV) is also beginning from the traditional high and standard definition began to move in the direction of intelligent evolution, Telecom IPTV business has gradually developed from the existing format to start the next generation family of intelligent direction.

[0003]智能机顶盒是基于Android系统的机顶盒,IPTV属于智能机顶盒的一个重要应用,直播是属于IPTV的一个最基本的业务,但是,在Android系统上仍无法实现IPTV播放器的直播功能。 [0003] intelligent set-top box is the Android-based set-top boxes, IPTV belong to an important application of intelligent set-top box, live is a fundamental part of the business of IPTV, however, on the Android system function is still not achieve a live IPTV player.

发明内容 SUMMARY

[0004]有鉴于此,本发明提供一种能在Android系统实现IPTV播放器直播的基于Android的网络电视播放切换系统及方法。 [0004] Accordingly, the present invention provides a network-based Android television system and method for switching the live IPTV player can be implemented in Android.

[0005] —种基于Andro id的网络电视播放切换系统,其用于在智能机顶盒上播放网络电视,所述切换系统包括一个频道信息获取模块、一个直播URL(Uniform Resource Locator,统一资源定位符)确定模块及一个直播创建模块。 [0005] - species Andro id based television network switching system for playing a network set-top box on the smart television, the switching system comprises a channel information obtaining module, a broadcast URL (Uniform Resource Locator, uniform resource locator) determination module and create a broadcast module. 所述频道信息获取模块用于在机顶盒开机时从服务器下发的信息中获取频道节点信息,所述直播URL确定模块用于根据频道节点信息中的标志位的值确定直播URL的值,所述直播创建模块用于根据所确定的直播URL值的类型创建相应的直播。 The channel information acquiring module configured to acquire channel information from the node information issued at the time of the set top box boot server, the URL broadcast determination means for determining a value according to the value of the URL broadcast channel flag bit node information, the Air creation module for creating a respective live broadcast according to the type of URL value determined.

[0006] 一种基于Android的网络电视播放切换方法,其用于在机顶盒上播放网络电视,所述切换方法包括以下步骤: [0006] A television network based handover method Android for play on television set-top box network, the handover method comprising the steps of:

[0007]在机顶盒开机时从服务器下发的信息中获取频道节点信息; [0007] node acquires channel information from the information delivered by the server in the set top box is turned on;

[0008]根据频道节点信息中的标志位的值确定直播URL的值; [0008] Live URL determination value according to the value of the flag in the node information channel;

[0009]根据所确定的直播URL值的类型创建相应的直播。 [0009] create the corresponding live broadcast according to the type of URL value determined.

[0010]与现有技术相比,本发明提供的基于Android的网络电视播放切换系统及方法中,利用直播URL确定模块确定当前直播的URL,并利用直播创建模块创建相应的URL进行直播,从而在Android智能机顶盒上的IPTV播放器实现直播功能。 [0010] Compared with the prior art, the present invention provides a television network switching system and method based Android, URL using live broadcast determining module determines the current URL, and the use of live URL creation module for creating a respective broadcast to IPTV player on Android smart set-top box to achieve Air.

附图说明 BRIEF DESCRIPTION

[0011]图1是本发明提供的基于Andr O id的网络电视播放切换系统的模块示意图。 [0011] FIG. 1 is based on the present invention to provide a module Andr O id television network switching system of FIG.

[0012]图2是本发明提供的基于Android的网络电视播放切换方法的流程图。 [0012] FIG 2 is a flowchart illustrating a network switching method of a television broadcast of the present invention Android provided.

[0013]图3是图2中确定URL的流程图。 [0013] FIG. 3 is a flowchart of FIG. 2 determines a URL.

[0014]图4是图3中创建IGMP连接的流程图。 [0014] FIG. 4 is a flowchart of FIG. 3 connected IGMP created.

[0015]图5是图4中定时器实现的流程图。 [0015] FIG 5 is a flowchart implemented timer.

[0016]主要元件符号说明 [0016] Main reference numerals DESCRIPTION

[0017] 基于Android的网络电视播放切换系统 100 [0017] The television-based network switching system 100 Android

[0018]频道信息获取模块 110 [0018] The channel information acquiring module 110

[0019] 直播URL确定模块 120 [0019] Live URL determination module 120

[0020] 直播创建模块 140[0021 ]如下具体实施方式将结合上述附图进一步说明本发明。 [0020] Live creation module 140 [0021] The following specific embodiments in conjunction with the accompanying drawings, the present invention is described.

具体实施方式 Detailed ways

[0022]请参阅图1,其为本发明实施方式提供的一种基于Android的网络电视播放切换系统100,其用于在智能机顶盒上播放网络电视,所述切换系统100包括一个频道信息获取模块110、一个直播URL (Uni form Resource Locator,统一资源定位符)确定模块120及一个直播创建模块140。 [0022] Please refer to FIG. 1, one embodiment of the present invention is based on providing Android television network switching system 100 for playback on a smart television network set top box, the switching system 100 comprises a channel information obtaining module 110, a broadcast URL (Uni form resource locator, uniform resource locator) determination module 120 and a module 140 creates broadcast.

[0023]其中,在IP网络中智能机顶盒一般采用组播形式接收数据包,也即将数据包以尽力传送的形式发送到某个确定的节点集合(即组播组),机顶盒要接收数据包就要加入组播组,组播是源主机与多个目的主机之间的通信,单播是在源主机(平台流媒体服务器)与目的主机(智能机顶盒)之间点对点的通信。 [0023] wherein, in an IP network multicast mode generally smart STB receives the packet, it transmits the data packets to a node set to the determined (i.e., a multicast group) as a best-effort, set top boxes to receive the data packet to to join a multicast group, multicast communication between a source host and the destination host, unicast is between the source host (internet streaming media server) and the destination host (smart STB) point to point communication.

[0024]所述频道信息获取模块110用于在智能机顶盒开机时从平台服务器下发的页面信息中获取频道节点信息,也即根据频道ID(Identificat1n)获取频道节点信息,若频道ID对应的频道节点信息为空则无法加入该频道,直接退出直播流程。 [0024] The channel information obtaining module 110 is configured to acquire channel information from the node in the internet page information delivered by the server when the smart STB power, i.e., the channel acquires the node information according to the channel ID (Identificat1n), if a channel corresponding to the channel ID node information is empty you can not join the channel, broadcast exit process. 若频道列表信息不为空,则频道信息获取模块110获取频道节点信息,所述频道节点信息应包含该频道的ChannelURL和ChannelSDP(Channel Sess1n Descript1n Protocol,频道会话通知协议)及标志位的值,其中,标志位是表示组播转单播的标志位(bLiveRTSPf lag)。 If the channel information list is not empty, the channel information acquiring module 110 acquires node information channel, the channel node contains the value of the channel and ChannelURL ChannelSDP (Channel Sess1n Descript1n Protocol, Session Announcement Protocol Channel) and the flag, wherein the flag is a multicast forwarding unicast flag (bLiveRTSPf lag). 本实施方式中,服务器下发的频道的ChannelURL是IGMP(Internet Group Management Protocol,组管理协议)型,也即以IGMP 开头的URL,下发的ChannelSDP 是RTSP(Real Time StreamingProtocol,实时流传输协议)型,也即以RTSP开头的URL。 In this embodiment, delivered by the server ChannelURL channel is IGMP (Internet Group Management Protocol, Group Management Protocol) type, that is a URL beginning with IGMP, issued ChannelSDP is RTSP (Real Time StreamingProtocol, Real Time Streaming Protocol) type, that begins with the RTSP URL.

[0025]所述直播URL确定模块120用于根据频道节点信息中标志位的值确定直播URL的值,并在标志位的值表示组播时将channelURL确定为直播URL,在标志位的值表示单播时将channelSDP确定为直播URL。 [0025] The URL Live value determination module 120 for determining the live nodes URL information channel according to the value of the flag bits, and indicates the multicast broadcast URL in channelURL determined value of the flag bit indicates the value of the flag bits unicast will channelSDP determined to live URL. 本实施方式中,标志位的值为“O”时表示组播为直播,标志位的值为“I”时表示单播为直播。 The present embodiment, the flag is "O" indicates a multicast is a live broadcast, the flag is "I" is broadcast when unicast. 若组播转单播功能的标志位的值为O时,则直播URL确定模块120将频道节点的ChannelURL作为当前的直播URL,若标志位的值为I,则直播URL确定模块120将Channe ISDP作为当前的直播URL,也即组播协议是IGMP,单播协议是RTSP。 If the multicast forwarding unicast function flag is O, the URL broadcast ChannelURL 120 determines the channel as the current node module live URL, if the flag bit is I, the URL broadcast determining module 120 Channe ISDP as the current live URL, ie multicast protocol is IGMP, unicast protocol is RTSP. 可以理解的是,标志位bLiveRTSPf lag的值默认为O。 It is understood that the value of the flag bLiveRTSPf lag of default is O.

[0026]所述直播创建模块140判断直播URL的类型并根据直播URL的类型创建相应的直播连接,所述直播URL的类型包括RTSP型和IGMP型,在所述直播URL的类型为RTSP型时直播创建模块140创建RTSP连接,在所述直播URL的类型为IGMP型时直播创建模块140创建IGMP连接。 [0026] The creation module 140 determines the type of broadcast URL of the live broadcast and create the corresponding live URL according to the type of connection, including the type of the URL of the live type RTSP and IGMP type, when the type of the broadcast type RTSP URL is Air creation module 140 creates RTSP connection, direct creation module 140 creates the connection type of the IGMP live IGMP type is a URL.

[0027]创建IGMP连接过程包括发送IGMP Join命令来加入组播组,启动IGMP数据接收线程来接收和处理IGMP数据,直播创建模块140在创建IGMP连接时,若在一个第一预设时间内未创建成功,也即IGMP组播流没有下发或者没有收到,组播视频无法播放,则必须要发送IGMP leave命令离开当前组播组,同时将标志位设置为表示单播的值,重新加入当前直播ID对应的直播频道,本实施方式中,将标志位bLiveRTSPf lag的值设置为I。 [0027] Creating the connection process includes sending IGMP IGMP Join command to join a multicast group, an IGMP data receiving thread receives and processes the IGMP data broadcast creation module 140 creates when connected IGMP, if not within a first predetermined time create success, that IGMP multicast stream is not delivered or not received, multicast video will not play, you have to send a command to leave the current multicast IGMP leave group, while the flag set to a value unicast rejoin ID corresponding to the current live broadcast channels, according to the present embodiment, the value of the flag bit is bLiveRTSPf lag I. 第一预设时间可以需要自行设定,本实施方式中,预设时间为3秒。 The first predetermined time may be required to set their own, according to the present embodiment, the preset time is 3 seconds. 在一个第二预设时间后,直播创建模块140将标志位的值设置为表示组播的值,本实施方式中,第二预设10分钟后将标志位的值设置为O。 After a second predetermined time, the broadcast flag creation module 140 bit value set to a value multicast, in this embodiment, the second predetermined value is set to 10 minutes after the flag bit is O.

[0028]请参阅图2,其为本发明实施方式提供的一种基于Android的网络电视播放切换方法,其用于在机顶盒上播放网络电视,所述切换方法包括以下步骤: [0028] Referring to FIG. 2, one of its embodiments the present invention provides a television network based handover method Android for play on television set-top box network, the handover method comprising the steps of:

[0029] S110:在机顶盒开机时从服务器下发的信息中获取频道节点信息; [0029] S110: acquiring channel information from the node information issued at server boot set-top box;

[0030] S120:根据频道节点信息中标志位的值确定直播URL的值; [0030] S120: determining a value based on the value of the URL broadcast channel in the node information flag bits;

[0031 ] S130:根据所确定的直播URL值的类型创建相应的直播。 [0031] S130: create the corresponding live broadcast according to the type of URL value determined.

[0032]在步骤SllO中,利用频道信息获取模块110在智能机顶盒开机时从平台服务器下发的页面信息中获取频道节点信息,频道节点信息包括channe IURL、channe ISDP及标志位。 [0032] In step SllO, the channel using the channel information acquiring node information acquiring page information sent from the server in the internet module 110 is powered on when the smart set-top box, the node information includes a channel channe IURL, channe ISDP and flag.

[0033] 如图3所示,在步骤S120中,所述确定URL的步骤中包括以下步骤: [0033] As shown in FIG. 3, in step S120, the determining step of the URL comprises the steps of:

[0034] S121:获取标志位的值; [0034] S121: Get value of the flag bit;

[0035] S122:判断标志位的值是否为组播,若是,则进入步骤S123,若否,则进入步骤S124; [0035] S122: judging whether the value of the flag bit multicast, if yes, the process proceeds to step S123, the if not, the process proceeds to step S124;

[0036] SI 23:将channe IURL 确定为直播URL; [0036] SI 23: The channe IURL determined to live URL;

[0037] S124:将channelSDP 确定为直播URL。 [0037] S124: The channelSDP determined to live URL.

[0038]在步骤S121中,利用直播URL确定模块120从频道信息获取模块110获取的节点信息中获取标志位的值。 [0038] In step S121, the determination module 120 using the URL broadcast node information acquisition module 110 acquires the value of the acquired channel information from the flag.

[0039]在步骤S122中,本实施方式中,利用直播URL确定模块120判断标志位的值是O还是 [0039] In step S122, according to the present embodiment, using the broadcast module 120 determines the value of URL determination flag is O or

1 1

[0040 ]在步骤SI 2 3中,若标志位为O,则利用直播URL确定模块I 2 O将频道节点的Channe IURL作为当前的直播URL。 [0040] In step SI 2 and 3, if the flag is O, then use live URL determination module I 2 O Channe IURL the node as the current channel broadcast URL.

[0041 ] 在步骤S124中,若标志位为I,则利用直播URL确定模块120将ChannelSDP作为当前的直播URL,服务器下发的Channe IURL是IGMP型表示URL的值是以IGMP开头的URL,下发的ChannelSDP是RTSP型表示URL的值是以RTSP开头的URL。 [0041] In step S124, if the flag bit is I, the use of live URL ChannelSDP determining module 120 as the current live URL, Channe IURL delivered by the server is an IGMP type value is represented by a URL URL beginning IGMP, the RTSP is issued ChannelSDP type the URL representing the value of the URL is the beginning of RTSP.

[0042] 在步骤S130中,本实施方式中,若所述直播URL的类型为RTSP型时则创建RTSP连接,若直播创建模块在所述直播URL的类型为IGMP型时则创建IGMP连接。 [0042] In step S130, according to the present embodiment, if the URL is created live type is a RTSP RTSP connection type, is created when creating live connection module in the IGMP type is a broadcast URL IGMP type.

[0043] 在创建RTSP连接时,该过程包括发送Describe、Setup,、Play命令的过程,一般接收RTSP数据时按发过来的RTSP数据是基于TCP还是UDP的分为TCP数据接收处理和UDP数据接收处理。 [0043] When creating RTSP connection, the process includes sending Describe, Setup process ,, Play command, when sent, according to the general data receiving RTSP RTSP data is based on TCP or UDP data reception processing is divided into TCP and UDP data received deal with.

[0044] 如图4所示,在创建IGMP连接步骤中包括以下步骤: [0044] As shown in FIG 4 comprising the steps of creating IGMP coupling step:

[0045] S131:发送IGMP加入组播的连接命令; [0045] S131: sending an IGMP multicast join a connection command;

[0046] S132:接收IGMP连接命令; [0046] S132: receiving IGMP connection command;

[0047] S133:在第一预设时间内未创建成功时将标志位设置为表示单播的值; [0047] S133: within a first predetermined time does not create the flag is set to indicate the value of unicast success;

[0048] S134:在第二预设时间后将标志位设置为表示组播的值。 [0048] S134: the second preset time after the flag set to a value multicast.

[0049] 在步骤S131中,利用直播创建模块140分析IGMP型的URL以获取组播的IP地址和端口号,并根据获取的组播IP地址和端口号发送IGMP连接命令加入组播组。 [0049] In step S131, the use of live creation module 140 analyzes the type of the URL to obtain IGMP multicast IP address and port number, and the connection according to the acquired command to join the multicast group sends an IGMP multicast IP address and port number.

[0050]在步骤S132中,利用直播创建模块140接收IGMP数据,先解码数据写数据到硬件,包括解析pat表(Program Associat1n Table,节目关联表)和pmt表(Program Map Table,节目映射表),获取音视频PID(Packet Identifier,包识别码)和音视频类型,设置硬件解码器,将收到的数据投入到硬件解码的过程。 [0050] In step S132, the use of live creation module 140 receives the IGMP data, the first decoded data to write data to the hardware, including parsing pat table (Program Associat1n Table, program association table) and pmt tables (Program Map Table, a Program Map Table) obtaining audio and video PID (packet identifier, package identification code) and the audio and video type, provided the hardware decoder, the received data into the hardware decoding process.

[0051]在步骤S133中,本实施方式中,第一预定时间设置为一个3秒定时器,3秒后执行定时器对应的操作。 [0051] In step S133, according to the present embodiment, the first predetermined time is set to 3-second timer, the timer corresponding to the operation performed for 3 seconds. 如图5所示,在3秒定时器的具体操作流程包括以下步骤: 5, the specific operation of the second timer Scheme 3 comprising the steps of:

[0052] S1331:判断是否获取到pat表和pmt表,若是,则进入步骤S1332,若否,则进入步骤S1333; [0052] S1331: determining whether the acquired sheet and pat pmt table, if yes, the process proceeds to step S1332, and if not, the process proceeds to step S1333;

[0053] S1332:加入组播; [0053] S1332: join the multicast;

[0054] S1333:保存当前的频道ID; [0054] S1333: save the current channel ID;

[0055] SI334:将组播转单播功能标志位置I ; [0055] SI334: multicast forwarding unicast function flag I;

[0056] S1335:发送IGMP退出(leave)消息离开当前组播组; [0056] S1335: send IGMP exit (Leave) message to leave the current multicast group;

[0057] S1336:重新加入当前频道ID对应的频道。 [0057] S1336: rejoin the current channel corresponding to the channel ID.

[0058] 步骤S1336中,重复步骤S120,由于标志位置I 了,所以直播URL会改成单播Channe ISDP,变成单播直播。 [0058] In step S1336, repeat step S120, since the flag position I, so live URL will be changed to a unicast Channe ISDP, become unicast live.

[0059]在步骤S134中,本实施方式中,加入10分钟定时器,该定时器的作用是10分钟后将标志位置O,让组播转单播功能复位。 [0059] In step S134, the embodiment according to the present embodiment, 10-minute timer, the role of the timer is 10 minutes after the flag position O, so that the multicast forwarding unicast reset function.

[0060 ]本发明提供的本发明提供的基于Andr ο id的网络电视播放切换系统及方法中,利用直播URL确定模块确定当前直播的URL,并利用直播创建模块创建相应的URL进行直播,从而在Android智能机顶盒上的IPTV播放器实现直播功能,机顶盒先用IGMP协议尝试加入组播组来接收数据,如果加入组播组失败或收不到组播数据时,就通过直播创建模块140采用RTSP协议来和流媒体服务器协商来接收数据,在组播直播与单播直播直接进行切换,从而避免智能机顶盒在接收不到组播流数据或加入组播组失败时出现黑屏现象。 [0060] Based Andr ο present invention, the present invention provides provides id network television switching system and method using a broadcast URL determination module determines that the current broadcast URL, and the use of live creation module creates the appropriate URL for broadcast, so IPTV players in the TV set-top box Android smart functionality, set-top box to attempt to join the multicast group by IGMP protocol to receive data, if failure or join a multicast group receive the multicast data, broadcast module 140 is created by using the RTSP protocol to negotiate and streaming media server to receive data, switch directly multicast the live broadcast and unicast, thus avoiding the smart set-top box blank screen when not receiving the multicast data stream or join a multicast group failed.

[0061]可以理解的是,对于本领域的普通技术人员来说,可以根据本发明的技术构思做出其他各种相应的改变与变形,而所有这些改变与变形都应属于本发明权利要求的保护范围。 [0061] It will be appreciated that those of ordinary skill in the art, can make various changes and modification of other appropriate according to the technical concept of the present invention, and all such modifications and variations should belong to the claims of the invention protected range.

Claims (9)

1.一种基于Andro id的网络电视播放切换系统,其用于在智能机顶盒上播放网络电视,所述切换系统包括: 一个频道信息获取模块,其用于在机顶盒开机时从服务器下发的信息中获取频道节点信息; 一个直播URL (Uni form Resource Locator,统一资源定位符)确定模块,其用于根据频道节点信息中的标志位的值确定直播URL的值; 一个直播创建模块,其用于根据所确定的直播URL值的类型创建相应的直播。 A Andro id television network based switching system, which is used for playing a network on the smart TV set-top box, said switching system comprising: a channel information obtaining module, which is used when information is sent from the set top box is powered on the server channel acquired node information; a live URL (Uni form resource locator, uniform resource locator) to determine the module for determining the value of the live URL based on the value of the flag of the channel node information; create a live module for create the appropriate broadcast live according to the type of URL values ​​determined.
2.如权利要求1所述的基于Android的网络电视播放切换系统,其特征在于,所述频道节点信息包括channelURL、channelSDP(Channel Sess1n Descript1n Protocol,步页道会话通知协议)及标志位,所述直播URL确定模块获取所述标志位的值并在所述标志位的值表示组播时将所述channelURL确定为直播URL,在所述标志位表示单播时将所述channel SDP确定为直播URL。 2. Android based television network switching system according to claim 1, wherein the channel information comprises node channelURL, channelSDP (Channel Sess1n Descript1n Protocol, step p channel Session Announcement Protocol) and the flag, the live URL determining module acquires the value of the flag and of the flag bit indicates the value of the determined broadcast multicast channelURL URL, and the flag indicates the unicast channel SDP URL determined to live .
3.如权利要求1所述的基于Android的网络电视播放切换系统,其特征在于,所述直播URL的类型包括RTSP(Real Time Streaming Protocol,实时流传输协议)型和IGMP(Internet Group Management Protocol,组管理协议)型,所述直播创建模块在所述直播URL的类型为RTSP型时创建RTSP连接,所述直播创建模块在所述直播URL的类型为IGMP型时创建IGMP连接。 3. The television-based network switching system according to claim 1 Android, wherein the type comprises broadcast URL RTSP (Real Time Streaming Protocol, Real Time Streaming Protocol) type and IGMP (Internet Group Management Protocol, group management protocol) type, the live Create Create RTSP connection modules when RTSP URL of the live type, the type of the live broadcast in creation module creates a URL IGMP IGMP type is a connection.
4.如权利要求3所述的基于Android的网络电视播放切换系统,其特征在于,所述直播创建模块在创建所述IGMP连接时在一个第一预设时间内未创建成功则将所述标志位设置为表示单播的值。 4. The television-based network switching system according to claim 3 Android, wherein the creation module is not created broadcast within a first predetermined time when creating the connection is successful then the flag IGMP bit is set to a value representing unicast.
5.如权利要求4所述的基于Android的网络电视播放切换系统,其特征在于,所述直播创建模块在一个第二预设时间内将所述标志位的值设置为表示组播的值。 5. The television-based network switching system according to claim Android, wherein the creation module live within a second predetermined time the flag value is set to a value indicating the multicast.
6.一种基于Andro id的网络电视播放切换方法,其用于在机顶盒上播放网络电视,所述切换方法包括以下步骤: 在机顶盒开机时从服务器下发的信息中获取频道节点信息; 根据频道节点信息中的标志位的值确定直播URL的值; 根据所确定的直播URL值的类型创建相应的直播。 A television network based handover method Andro id, which is used for playing a network television set-top box, the handover method comprising the steps of: acquiring channel information from the node information delivered by the server in the set top box is turned on; The channel value of the flag bits in the node information to determine the value of the broadcast URL; create the corresponding live broadcast according to the type of URL value determined.
7.如权利要求6所述的基于Android的网络电视播放切换方法,其特征在于,所述频道节点信息包括channeURL、channe ISDP及标志位,所述确定URL值的步骤中包括以下步骤: 获取所述标志位的值; 若所述标志位的值表示组播时则将所述channelURL确定为直播URL,若所述标志位表示单播时则将所述channelSDP确定为直播URL。 As claimed in claim 6 Android network television based handover method, wherein the channel information comprises node channeURL, channe ISDP flag and the step of determining the value of the URL comprises the steps of: obtaining the the value of said flag; if the value of the flag bit indicates the multicast channelURL then determined broadcast URL, if the flag indicates the unicast channelSDP then determined broadcast URL.
8.如权利要求6所述的基于Android的网络电视播放切换方法,其特征在于,所述直播URL的类型包括RTSP型和IGMP型,在所述创建直播的步骤中:若所述直播URL的类型为RTSP型时则创建RTSP连接,若所述直播创建模块在所述直播URL的类型为IGMP型时则创建IGMP连接。 8. Android television network based handover method, wherein said 6, the URL of the live type, including the claims and RTSP type IGMP type, in the step of creating live in: if the URL of the live RTSP is created RTSP connection type to type, if the type of module to create the live broadcast of the URL is created IGMP IGMP type is a connection.
9.如权利要求8所述的基于Android的网络电视播放切换方法,其特征在于,在创建IGMP连接步骤中包括以下步骤: 发送IGMP加入组播的连接命令;接收IGMP连接命令;若在一个第一预设时间内未创建成功,则将所述标志位设置为表示单播的值并退出;在一个第二预设时间内将所述标志位表示单播的值设置为表示组播的值。 As claimed in claim 8 Android network television based handover method, characterized in comprising the steps of creating IGMP joining step: sending an IGMP join a multicast connect command; receiving IGMP connection command; if a first success is not created within a preset time, then the flag is set to a value unicast and exit; within a second predetermined time represents the value of the flag is set to a value indicating unicast multicast .
CN201610007760.4A 2016-01-07 2016-01-07 Android based internet protocol television play switch system and method CN105657534A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610007760.4A CN105657534A (en) 2016-01-07 2016-01-07 Android based internet protocol television play switch system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610007760.4A CN105657534A (en) 2016-01-07 2016-01-07 Android based internet protocol television play switch system and method

Publications (1)

Publication Number Publication Date
CN105657534A true CN105657534A (en) 2016-06-08

Family

ID=56491697

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610007760.4A CN105657534A (en) 2016-01-07 2016-01-07 Android based internet protocol television play switch system and method

Country Status (1)

Country Link
CN (1) CN105657534A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018068727A1 (en) * 2016-10-13 2018-04-19 华为技术有限公司 Method, apparatus and system for transmitting live video

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1881925A (en) * 2006-05-10 2006-12-20 上海市电信有限公司 Method and structure for realizing live channel switching in Internet protocol audio-video broadcast network
CN101009825A (en) * 2006-01-27 2007-08-01 中国科学院声学研究所 The method for IPTV STB/unicast seamless switching based on RTP protocol
US20080060002A1 (en) * 2006-08-31 2008-03-06 Sbc Knowledge Ventures L.P. System and method for delivering targeted advertising data in an internet protocol television system
CN101431653A (en) * 2008-12-03 2009-05-13 中兴通讯股份有限公司 Method, system and apparatus for creating and demanding channel
CN101583020A (en) * 2009-06-11 2009-11-18 中兴通讯股份有限公司 Program broadcasting system and method
US20100043022A1 (en) * 2007-10-05 2010-02-18 Ilan Kaftan Personalized Ad Insertion During Start Over Service
CN103763614A (en) * 2014-01-28 2014-04-30 苏州橡山网络科技有限公司 Intelligent cloud IPTV terminal system and implementation method thereof
CN104333808A (en) * 2014-11-14 2015-02-04 复旦大学 General player applied to Android and Linux smart televisiosn

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009825A (en) * 2006-01-27 2007-08-01 中国科学院声学研究所 The method for IPTV STB/unicast seamless switching based on RTP protocol
CN1881925A (en) * 2006-05-10 2006-12-20 上海市电信有限公司 Method and structure for realizing live channel switching in Internet protocol audio-video broadcast network
US20080060002A1 (en) * 2006-08-31 2008-03-06 Sbc Knowledge Ventures L.P. System and method for delivering targeted advertising data in an internet protocol television system
US20100043022A1 (en) * 2007-10-05 2010-02-18 Ilan Kaftan Personalized Ad Insertion During Start Over Service
CN101431653A (en) * 2008-12-03 2009-05-13 中兴通讯股份有限公司 Method, system and apparatus for creating and demanding channel
CN101583020A (en) * 2009-06-11 2009-11-18 中兴通讯股份有限公司 Program broadcasting system and method
CN103763614A (en) * 2014-01-28 2014-04-30 苏州橡山网络科技有限公司 Intelligent cloud IPTV terminal system and implementation method thereof
CN104333808A (en) * 2014-11-14 2015-02-04 复旦大学 General player applied to Android and Linux smart televisiosn

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018068727A1 (en) * 2016-10-13 2018-04-19 华为技术有限公司 Method, apparatus and system for transmitting live video

Similar Documents

Publication Publication Date Title
US7668914B2 (en) Milestone synchronization in broadcast multimedia streams
CA2498283C (en) Backup communication modes
CN101159577B (en) Apparatus for receiving adaptive broadcast signal and method thereof
US7530086B2 (en) Media program timing and identity delivery method and system
US9071418B2 (en) Synchronous media rendering of demuxed media components across multiple devices
EP1694030A1 (en) Multimedia content delivery system
US20130294747A1 (en) Content playing device, content playing method, distribution system, content playing program, recording medium, and data structure
US20120239779A1 (en) Media channel management
JP6382317B2 (en) Session management and control procedures to support multiple groups of the sink device in a peer-to-peer wireless display system
US20120304236A1 (en) Channel changing method, apparatus, and system
US20090022154A1 (en) Reception device, reception method, and computer-readable medium
CN101207501B (en) IP broadcasting system and a multicast group management apparatus for the same
KR20150076163A (en) Apparatus and method for processing an interactive service
JP2003304511A (en) Communication terminal, server apparatus, relay apparatus, broadcast communication system, broadcast communication method, and program
CN102356619A (en) Modified stream synchronization
CN103430559A (en) Apparatus and method for configuring control message in broadcast system
KR101377952B1 (en) Broadcasting signal transmission method, the broadcast signal receiving method and a broadcast receiver
CN104012102A (en) Reception Device, Reception Method, Transmission Device, Transmission Method
US9538237B2 (en) Multi-screen interaction method and system
CN106851334A (en) Method for transmitting media content and device for transreceiving media content
US7423982B2 (en) Adaptive communication modes
CN104412603B (en) Apparatus and method for processing an interactive service received interactive service
CN103491424A (en) Server system for IPTV multi-screen interaction and multi-screen interaction achieving method
KR101356502B1 (en) Method for transmitting a broadcasting signal, method for receiveing a broadcasting signal and apparatus for the same
KR101626686B1 (en) Apparatus and method for configuring control message in broadcasting system

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
RJ01 Rejection of invention patent application after publication