Movatterモバイル変換


[0]ホーム

URL:


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
CN105657534ACN201610007760.4ACN201610007760ACN105657534ACN 105657534 ACN105657534 ACN 105657534ACN 201610007760 ACN201610007760 ACN 201610007760ACN 105657534 ACN105657534 ACN 105657534A
Authority
CN
China
Prior art keywords
live
url
value
type
android
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
Application number
CN201610007760.4A
Other languages
Chinese (zh)
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 LtdfiledCriticalFiberhome Telecommunication Technologies Co Ltd
Priority to CN201610007760.4ApriorityCriticalpatent/CN105657534A/en
Publication of CN105657534ApublicationCriticalpatent/CN105657534A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

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

Web TV based on Android is play switched system and method
Technical field
The present invention relates to Web TV play-back technology, relate in particular to a kind of net based on AndroidNetwork televise switched system and method.
Background technology
At present, along with telecommunications broadband implementation, and the trend of the interconnected networking of TV and skillThe continuous innovation of art, network convention TV (InternetProtocolTelevision, IPTV) also justStart to start towards intelligent direction evolution from traditional height, SD, telecommunications IPTV business alsoStart progressively to home intelligence future development of future generation from existing industry situation.
Intelligent set top box is the Set Top Box based on Android system, and IPTV belongs to intelligent machine topAn important application of box, live is a business the most basic that belongs to IPTV, still,In Android system, still cannot realize the direct broadcast function of IPTV player.
Summary of the invention
In view of this, the invention provides one and can realize IPTV player in Android systemThe live Web TV based on Android is play switched system and method.
Web TV based on Android is play a switched system, and it is for pushing up at intelligent machinePlaying network television on box, described switched system comprises a channel information acquisition module, oneLive URL (UniformResourceLocator, URL) determination module andA live creation module. Described channel information acquisition module is used in the time of set-top-box opening from clothesIn the information that business device issues, obtain channel nodal information, described live URL determination module is used forDetermine the value of live URL according to the value of the flag bit in channel nodal information, described live woundModeling piece is for creating live accordingly according to the type of determined live URL value.
A Web TV play switching method based on Android, it is at Set Top BoxPlaying network television, described changing method comprises the following steps:
The information issuing from server, obtain channel nodal information in the time of set-top-box opening;
Determine the value of live URL according to the value of the flag bit in channel nodal information;
Create live accordingly according to the type of determined live URL value.
Compared with prior art, the Web TV based on Android provided by the invention is play and is cutChange in system and method, utilize live URL determination module to determine current live URL, andUtilize live creation module create corresponding URL carry out live, thereby in Android intelligenceIPTV player on Set Top Box is realized direct broadcast function.
Brief description of the drawings
Fig. 1 is the mould that the Web TV based on Android provided by the invention is play switched systemPiece schematic diagram.
Fig. 2 is the stream of the Web TV play switching method based on Android provided by the inventionCheng Tu.
Fig. 3 is the flow chart of determining URL in Fig. 2.
Fig. 4 creates the flow chart that IGMP connects in Fig. 3.
Fig. 5 is the flow chart that in Fig. 4, timer is realized.
Main element symbol description
Web TV based on Android is play switched system 100
Channel information acquisition module 110
Live URL determination module 120
Live creation module 140
Following detailed description of the invention further illustrates the present invention in connection with above-mentioned accompanying drawing.
Detailed description of the invention
Refer to Fig. 1, a kind of net based on Android that it provides for embodiment of the present inventionThe network switched system 100 of televising, it is for playing network television on Intelligent set top box, instituteState switched system 100 and comprise a channel information acquisition module 110, a live URL(UniformResourceLocator, URL) determination module 120 and oneLive creation module 140.
Wherein, in IP network, Intelligent set top box generally adopts multicast form to receive packet,Also sending to certain definite node set by packet with the form transmitting as possible (is multicastGroup), Set Top Box will receive packet will add multicast group, and multicast is source host and multiple orderMain frame between communication, clean culture is source host (platform flow media server) and object masterPoint-to-point communication between machine (Intelligent set top box).
Described channel information acquisition module 110 for taking from platform in the time that Intelligent set top box is started shootingIn the page info that business device issues, obtain channel nodal information, also according to channel ID(Identification) obtain channel nodal information, if channel nodal information corresponding to channel IDFor sky cannot add this channel, directly exit live flow process. If channel list information is not empty,Channel information acquisition module 110 obtains channel nodal information, and described channel nodal information should wrapContaining ChannelURL and the ChannelSDP (ChannelSessionDescription of this channelProtocol, channel session announcement protocol) and the value of flag bit, wherein, flag bit is to representMulticast turns the flag bit (bLiveRTSPflag) of clean culture. In present embodiment, server issuesThe ChannelURL of channel be IGMP (InternetGroupManagementProtocol,Igmpinternet) type, also, with the URL of IGMP beginning, the ChannelSDP issuing isRTSP (RealTimeStreamingProtocol, real time streaming transport protocol) type, also withThe URL of RTSP beginning.
Described live URL determination module 120 is for according to channel nodal information flag bitValue is determined the value of live URL, and in the time of the value representation multicast of flag bit, channelURL is trueBe decided to be live URL, channelSDP be defined as live in the time of the value representation clean culture of flag bitURL. In present embodiment, the value of flag bit represents that multicast is live while being " 0 ", markThe value of position represents that clean culture is live while being " 1 ". If multicast turns the value of the flag bit of unicast featureBe 0 o'clock, live URL determination module 120 using the ChannelURL of channel node asCurrent live URL, if the value of flag bit is 1, live URL determination module 120 willChannelSDP, as current live URL, is also that multicast protocol is IGMP, clean culture associationView is RTSP. Be understandable that, the value of flag bit bLiveRTSPflag is defaulted as 0.
Described live creation module 140 judges the type of live URL and according to live URL'sType create corresponding live connection, the type of described live URL comprise RTSP type andIGMP type, live creation module 140 in the time that the type of described live URL is RTSP typeCreate RTSP and connect, live establishment mould in the time that the type of described live URL is IGMP typePiece 140 creates IGMP and connects.
Create IGMP connection procedure and comprise that sending IGMPJoin order adds multicast group, opensMoving IGMP data receiver thread receives and processes IGMP data, live creation module 140In the time creating IGMP connection, if do not create successfully in first Preset Time, be alsoIGMP multicast data flow does not issue or does not receive, group broadcasting video frequency cannot be play, and mustSend IGMPleave order and leave current multicast group, flag bit is set to represent single simultaneouslyThe value of broadcasting, rejoins direct broadcast band corresponding to current live ID, in present embodiment, and willThe value of flag bit bLiveRTSPflag is set to 1. The first Preset Time can need to establish voluntarilyFixed, in present embodiment, Preset Time is 3 seconds. After second Preset Time, liveThe value of creation module 140 flag bits is set to represent the value of multicast, in present embodiment, theTwo preset the value of flag bit after 10 minutes is set to 0.
Refer to Fig. 2, a kind of net based on Android that it provides for embodiment of the present inventionThe network changing method of televising, it is for playing network television on Set Top Box, described switching sideMethod comprises the following steps:
S110: obtain channel node letter in the time of set-top-box opening the information issuing from serverBreath;
S120: the value of determining live URL according to the value of flag bit in channel nodal information;
S130: create live accordingly according to the type of determined live URL value.
In step S110, utilize channel information acquisition module 110 to start shooting at Intelligent set top boxTime obtain channel nodal information, channel nodal information the page info that issues from Platform ServerComprise channelURL, channelSDP and flag bit.
As shown in Figure 3, in step S120, the step of described definite URL comprises followingStep:
S121: the value of obtaining flag bit;
S122: whether the value of judgement symbol position is multicast, if so, enters step S123,If not, enter step S124;
S123: channelURL is defined as to live URL;
S124: channelSDP is defined as to live URL.
In step S121, utilize live URL determination module 120 to obtain mould from channel informationIn the nodal information that piece 110 obtains, obtain the value of flag bit.
In step S122, in present embodiment, utilize live URL determination module 120 to sentenceThe value of disconnected flag bit is 0 or 1.
In step S123, if flag bit is 0, utilize live URL determination module 120Using the ChannelURL of channel node as current live URL.
In step S124, if flag bit is 1, utilize live URL determination module 120Using ChannelSDP as current live URL, the ChannelURL that server issues isIGMP type represents that the value of URL is the URL with IGMP beginning, the ChannelSDP issuingThat RTSP type represents that the value of URL is the URL with RTSP beginning.
In step S130, in present embodiment, if the type of described live URL is RTSPWhen type, create RTSP and connect, if live creation module in the type of described live URL isWhen IGMP type, creating IGMP connects.
Create RTSP connect time, this process comprise send Describe, Setup,, PlayThe process of order is based on TCP by the RTSP data that send while generally receiving RTSP dataOr UDP is divided into tcp data reception & disposal and UDP message reception & disposal.
As shown in Figure 4, in establishment IGMP Connection Step, comprise the following steps:
S131: send the bind command that IGMP adds multicast;
S132: receive IGMP bind command;
S133: while not creating successfully in the first Preset Time, flag bit is set to represent clean cultureValue;
S134: flag bit is set to represent the value of multicast after the second Preset Time.
In step S131, utilize URL that live creation module 140 analyzes IGMP type withObtain IP address and the port numbers of multicast, and send out according to the multicast ip address of obtaining and port numbersSend IGMP bind command to add multicast group.
In step S132, utilize live creation module 140 to receive IGMP data, first separateCode data writes data to hardware, comprise resolve pat table (ProgramAssociationTable,Program Association Table) and pmt table (ProgramMapTable, Program Map Table), sound obtainedVideo PID (PacketIdentifier, packet identifier) and audio frequency and video type, arrange hardware solutionCode device, puts into by the data of receiving the process that hardware is decoded.
In step S133, in present embodiment, first scheduled time be set to one 3 secondsTimer, carries out the operation that timer is corresponding for 3 seconds afterwards. As shown in Figure 5, at 3 seconds timersConcrete operations flow process comprise the following steps:
S1331: judge whether to get pat table and pmt table, if so, enter step S1332,If not, enter step S1333;
S1332: add multicast;
S1333: preserve current channel ID;
S1334: multicast is turned to unicast feature mark position 1;
S1335: transmission IGMP exits (leave) message and leaves current multicast group;
S1336: rejoin the channel that current channel ID is corresponding.
In step S1336, repeating step S120, due to mark position 1, so liveURL can make clean culture ChannelSDP into, becomes clean culture live.
In step S134, in present embodiment, add 10 minutes timers, this timerEffect be after 10 minutes by mark position 0, allow multicast turn unicast feature reset.
Web TV based on Android provided by the invention is play and is switched systemIn system and method, utilize live URL determination module to determine current live URL, and utilizeLive creation module create corresponding URL carry out live, thereby push up at Android intelligent machineIPTV player on box is realized direct broadcast function, and Set Top Box is first attempted adding by IGMP agreementMulticast group receives data, if when adding multicast group failure or can not receive multicast packet, just logicalCrossing live creation module 140 adopts RTSP agreement to come to consult to receive number with streaming media serverAccording to, live with clean culture is live directly switches at multicast, thus avoid Intelligent set top box connecingWhen can not receive multicast data flow data or adding multicast group failure, there is blank screen phenomenon.
Be understandable that, for the person of ordinary skill of the art, can be according to thisBright technical conceive is made other various corresponding changes and distortion, and all these change and changeShape all should belong to the protection domain of the claims in the present invention.

Claims (9)

CN201610007760.4A2016-01-072016-01-07Android based internet protocol television play switch system and methodPendingCN105657534A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201610007760.4ACN105657534A (en)2016-01-072016-01-07Android based internet protocol television play switch system and method

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201610007760.4ACN105657534A (en)2016-01-072016-01-07Android based internet protocol television play switch system and method

Publications (1)

Publication NumberPublication Date
CN105657534Atrue CN105657534A (en)2016-06-08

Family

ID=56491697

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201610007760.4APendingCN105657534A (en)2016-01-072016-01-07Android based internet protocol television play switch system and method

Country Status (1)

CountryLink
CN (1)CN105657534A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2018068727A1 (en)*2016-10-132018-04-19华为技术有限公司Method, apparatus and system for transmitting live video

Citations (8)

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

Patent Citations (8)

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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2018068727A1 (en)*2016-10-132018-04-19华为技术有限公司Method, apparatus and system for transmitting live video
US11019367B2 (en)2016-10-132021-05-25Huawei Technologies Co., Ltd.Live video transmission method and system, and apparatus

Similar Documents

PublicationPublication DateTitle
CN104904230B (en)Apparatus and method for processing interactive service
CN104871552B (en) Apparatus and method for processing interactive services
CN100429901C (en)Method and structure for realizing live channel switching in Internet protocol audio-video broadcast network
DE112013004029B4 (en) Apparatus and method for processing an interactive service
CN103391277B (en)media playing method, device and system
CN102685561B (en)Program carousel method and system, terminal equipment and program on-demand device
Boronat et al.HbbTV-compliant platform for hybrid media delivery and synchronization on single-and multi-device scenarios
CN103856787A (en)Commentary video passing-back live system based on public network and live method of commentary video passing-back live system based on public network
Marfil et al.Synchronization mechanisms for multi-user and multi-device hybrid broadcast and broadband distributed scenarios
CN106658151A (en)Method and device for rapidly changing station of digital television
CN103957451A (en)Multi-screen interaction achievement method based on multicast technology
CN105430490A (en)Flexible control and switching method for live channels
CN105657534A (en)Android based internet protocol television play switch system and method
CN102006507B (en)Internet protocol television channel playing method and system
CN105611427B (en)The control method for playing back and device of audio-video
CN110290415A (en)A method of realizing more seamless collaborations of equipment room media play
JP2015126471A (en) Digital broadcast receiver and external terminal
US20160173268A1 (en)Method of synchronization during the processing, by a multimedia player, of an item of multimedia content transmitted by an mbms service
Zorrilla et al.Reaching devices around an HbbTV television
CN104410895B (en)Realize the method and device of DVB data multimode distribution
JP2020102695A (en)Control device and control method for controlling broadcasting system
WO2014169634A1 (en)Media playing processing method, apparatus and system, and media server
CN102469348A (en)Method for controlling IPTV program and home gateway
CN103441993B (en)A kind of intelligent TV set Dual-channel control method and system based on IGRS protocol
CN101788878A (en)Method for outputting content information and display system enabling the method

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20160608


[8]ページ先頭

©2009-2025 Movatter.jp