CN103974092B - A kind of method, apparatus and Web TV that Web broadcast is realized based on Web TV - Google Patents
A kind of method, apparatus and Web TV that Web broadcast is realized based on Web TV Download PDFInfo
- Publication number
- CN103974092B CN103974092B CN201310038902.XA CN201310038902A CN103974092B CN 103974092 B CN103974092 B CN 103974092B CN 201310038902 A CN201310038902 A CN 201310038902A CN 103974092 B CN103974092 B CN 103974092B
- Authority
- CN
- China
- Prior art keywords
- broadcast
- web
- top box
- broadcasting server
- channel
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/61—Network physical structure; Signal processing
- H04N21/6106—Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
- H04N21/6125—Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via Internet
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/238—Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
- H04N21/2381—Adapting the multiplex stream to a specific network, e.g. an Internet Protocol [IP] network
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The present invention relates to a kind of method, apparatus and Web TV that Web broadcast is realized based on Web TV, wherein, the method that Web broadcast is realized based on Web TV, for Web TV, is comprised the following steps:Playing request message is sent to Internet broadcasting server;The multiple broadcast channel information request responses of carrying that Internet broadcasting server returns are received, the broadcast channel information includes the corresponding code stream address of the multiple broadcasting channel;The Web broadcast play instruction for carrying the code stream address corresponding to a broadcasting channel is sent to set-top box, so that set-top box is interacted with the Internet broadcasting server, obtained by the Internet broadcasting server and play corresponding first broadcast program in the code stream address.Present invention has the advantages that:Realization plays Web broadcast on IPTV, then can facilitate vast Web broadcast user listen to and IPTV user brings new value-added service experience.
Description
Technical field
The present invention relates to Web TV technology and netcasting, more particularly to one kind to realize network based on Web TV
The method, apparatus and Web TV of broadcast.
Background technology
Interactive Internet TV(Interactive Personality Television, referred to as:IPTV)Technology is one
Kind integrates the multiple technologies such as broadband cable net, internet, multimedia, communication, and being provided to domestic consumer includes numeral
The brand-new technology of a variety of interactive services including TV.In recent years, IPTV system was increasingly popularized, and user group is constantly strong
Greatly, occupation rate of market is also rising year by year, and the value-added service based on IPTV is also gradually enriched.
Web broadcast is the important embodiment of Internet communication multimedia modality, and one kind that broadcasters develop on the net
Principal mode.For traditional network broadcast, user can only could generally be received by accessing its portal website or installation client
Listen, so for extensive user group, this mode is simultaneously inconvenient.
The content of the invention
In order to solve the above technical problem, the present invention provides a kind of method, dress that Web broadcast is realized based on Web TV
Put and Web TV, Web broadcast is occurred in front of the user, then to facilitate vast in the form of a kind of IPTV value-added services
Web broadcast user's listens to, and new value-added service experience is brought to IPTV user.
In order to achieve the above object, the technical solution adopted by the present invention is:One kind realizes Web broadcast based on Web TV
Method, comprise the following steps:
Playing request message is sent to Internet broadcasting server;
Receive the request response for the multiple broadcast channel informations of carrying that Internet broadcasting server returns, the broadcast frequency
Road information includes the corresponding code stream address of the multiple broadcasting channel;
The Web broadcast broadcasting that the code stream address corresponding to one broadcasting channel of carrying is sent to set-top box refers to
Order so that set-top box is interacted with the Internet broadcasting server, is obtained by the Internet broadcasting server and is played institute
State corresponding first broadcast program in code stream address.
Further, the broadcast channel information saves for reception Internet broadcasting server transmission and broadcast residing for set-top box
The broadcast channel information of the corresponding multiple live broadcasted channels in mesh region or the broadcast channel information of multiple interactive broadcasting channels.
Further, it is reception Internet broadcasting server transmission and broadcast residing for set-top box in the broadcast channel information
It is further comprising the steps of during the broadcast channel information of the corresponding multiple live broadcasted channels in program area:
When user needs to switch broadcasting channel, sent to set-top box another in the multiple live broadcasted channels of carrying
The Web broadcast play instruction of the code stream address corresponding to a broadcasting channel so that set-top box and the Web broadcast
Server interacts, and is obtained by the Internet broadcasting server and plays the corresponding second broadcast section in the code stream address
Mesh.
Further, the broadcast channel information saves for reception Internet broadcasting server transmission and broadcast residing for set-top box
It is further comprising the steps of during the broadcast channel information of the corresponding multiple live broadcasted channels in mesh region:
When user needs to switch broadcasting channel, the multiple live broadcasted channels are sorted according to preset rules, according to
The institute to sort corresponding to the next broadcasting channel for sending and being carried in the multiple live broadcasted channels to set-top box
State the Web broadcast play instruction of code stream address so that set-top box is interacted with the Internet broadcasting server, by described
Internet broadcasting server obtains and plays corresponding second broadcast program in the code stream address.
Further, the broadcast channel information saves for reception Internet broadcasting server transmission and broadcast residing for set-top box
It is further comprising the steps of during the broadcast channel information of the corresponding multiple interactive broadcasting channels in mesh region:
When user listens to program request broadcasting channel, certification request is sent to Internet broadcasting server;
After Internet broadcasting server certification success flag is received, sent to set-top box and carry user from the multiple program request
The Web broadcast play instruction of the code stream address corresponding to a broadcasting channel selected in broadcasting channel so that set-top box and institute
State Internet broadcasting server to interact, obtained by the Internet broadcasting server and play the code stream address corresponding
Three broadcast programs.
Further, further include:
The play operation request for including playing, suspend or stopping is sent to set-top box by pressing one button of remote controler, is made
Obtain set-top box and obtain current key assignments, and perform and the corresponding play operation of current key assignments.
Further, further include:
Search parameter information is sent to Internet broadcasting server so that Internet broadcasting server returns opposite with the parameter
The broadcast channel information answered, the parameter include search keyword information and search-type information.
The present invention also provides a kind of device that Web broadcast is realized based on Web TV, including:
First sending module, playing request message is sent to Internet broadcasting server;
First receiving module, the multiple broadcast channel information request responses of carrying for receiving Internet broadcasting server return
Message, the broadcast channel information include the corresponding code stream address of the multiple broadcasting channel;
Second sending module, for sending the code stream address carried corresponding to a broadcasting channel to set-top box
Web broadcast play instruction so that set-top box is interacted with the Internet broadcasting server, is taken by the Web broadcast
Business device obtains and plays corresponding first broadcast program in the code stream address.
Further, the broadcast channel information saves for reception Internet broadcasting server transmission and broadcast residing for set-top box
The broadcast channel information of the corresponding multiple live broadcasted channels in mesh region or the broadcast channel information of multiple interactive broadcasting channels.
Further, the broadcast channel information saves for reception Internet broadcasting server transmission and broadcast residing for set-top box
Further included during the broadcast channel information of the corresponding multiple live broadcasted channels in mesh region:
Live broadcasted channels handover module, for when user needs to switch broadcasting channel, being sent to set-top box and carrying institute
The Web broadcast broadcasting for stating the code stream address corresponding to another described broadcasting channel in multiple live broadcasted channels refers to
Order so that set-top box is interacted with the Internet broadcasting server, is obtained by the Internet broadcasting server and is played institute
State corresponding second broadcast program in code stream address.
Further, the live broadcasted channels handover module is additionally operable to when user needs to switch broadcasting channel, by institute
Multiple live broadcasted channels are stated to sort according to preset rules, according to it is described sort sent to set-top box carry it is the multiple live wide
Broadcast the Web broadcast play instruction of the code stream address corresponding to next broadcasting channel in channel so that set-top box
Interacted with the Internet broadcasting server, obtained by the Internet broadcasting server and play the code stream address correspondence
The second broadcast program.
Further, the broadcast channel information saves for reception Internet broadcasting server transmission and broadcast residing for set-top box
During the broadcast channel information of the corresponding multiple interactive broadcasting channels in mesh region, interactive broadcasting channel processing module is further included, it is described
Interactive broadcasting channel processing module includes:
Authentication unit, for when user listens to program request broadcasting channel, certification request to be sent to Internet broadcasting server;
First transmitting element, for after Internet broadcasting server certification success flag is received, sending and carrying to set-top box
The Web broadcast for the code stream address corresponding to a broadcasting channel that user selects from the multiple interactive broadcasting channel plays
Instruction so that set-top box is interacted with the Internet broadcasting server, is obtained and is played by the Internet broadcasting server
Corresponding 3rd broadcast program in the code stream address.
Further, further include:
3rd sending module, for including what is played, suspend or stop by pressing remote controller key and being sent to set-top box
Play operation is asked so that set-top box obtains current key assignments, and performs and the corresponding play operation of current key assignments.
Further, further include:
Broadcasting channel search module, for sending search parameter information to Internet broadcasting server so that Web broadcast takes
Business device is returned includes search keyword information and search-type letter with the corresponding broadcast channel information of the parameter, the parameter
Breath.
The present invention also provides a kind of Web TV, including the above-mentioned device that Web broadcast is realized based on Web TV.This
Invention beneficial effect is:Realization Web broadcast is played on IPTV, then can facilitate vast Web broadcast user listen to and
New value-added service experience is brought to IPTV user.
Brief description of the drawings
The flow chart of the method for Web broadcast is realized based on Web TV Fig. 1 shows the present invention;
Fig. 2 represent in one embodiment of the invention based on Web TV realize the device of Web broadcast, Internet broadcasting server,
The structure diagram of set-top box;
Fig. 3 represents to realize the device, Internet broadcasting server, set-top box of Web broadcast in an embodiment based on Web TV
Structure diagram;
Fig. 4 represent the present invention based on IPTV realize the method for Web broadcast by browser mode start to listen to network wide
The functional framework figure that the partial parameters that broadcasting UI interfaces includes are set.
Embodiment
The structure and principle of the present invention are described in detail below in conjunction with attached drawing, illustrated embodiment is only used for explaining this hair
It is bright, protection scope of the present invention is not limited with this.
As shown in Figure 1, the present embodiment provides a kind of method that Web broadcast is realized based on Web TV, for network electricity
Depending on comprising the following steps:
Playing request message is sent to Internet broadcasting server;
Receive the request response for the multiple broadcast channel informations of carrying that Internet broadcasting server returns, the broadcast frequency
Road information includes the corresponding code stream address of the multiple broadcasting channel;
The Web broadcast broadcasting that the code stream address corresponding to one broadcasting channel of carrying is sent to set-top box refers to
Order so that set-top box is interacted with the Internet broadcasting server, is obtained by the Internet broadcasting server and is played institute
State corresponding first broadcast program in code stream address.
In the present embodiment, by sending playing request message to Internet broadcasting server, receive in Internet broadcasting server
After request, the code stream address of corresponding broadcasting channel is sent to set-top box so that set-top box is interacted with Internet broadcasting server,
Obtained by the Internet broadcasting server and play corresponding first broadcast program in the code stream address.Based on IPTV increasingly
The user group of growth, Web broadcast is occurred in front of the user in the form of a kind of IPTV value-added services, then can be conveniently wide
Big network broadcasting user is listened to, and new value-added service experience is brought to IPTV user.
IPTV is upper will to realize Web broadcast playing function, it is necessary first to find a source for being capable of providing broadcast data.
IHeartRadio is the bigger online broadcasting website of north America region, it provides the opening API interface of broadcast data(Using
Routine interface), this realization just for Web broadcast Broadcast Control on IPTV provides possibility.
Internet broadcasting server in the present embodiment is iHeartRadio servers, but is not limited to this, as long as can carry
It may be used to the embodiment of the present invention for the Internet broadcasting server of the opening API interface of broadcast data.
In the present embodiment, the broadcast channel information can include all areas, multiple live broadcasted channels at the same time
The broadcast channel information of the broadcast channel information or other forms of broadcast channel information and multiple interactive broadcasting channels, but in order to save
Save Internet resources, and facilitate listening to for user, the broadcast channel information include with set-top box residing for broadcast program area pair
The broadcast channel information of the broadcast channel information for the multiple live broadcasted channels answered and multiple interactive broadcasting channels.
In the present embodiment, in order to further save Internet resources, the broadcast channel information bag that Internet broadcasting server returns
Include live broadcasted channels information or interactive broadcasting channel information, user can according to oneself need voluntarily select what is listened to
Broadcast type, introduces direct broadcast individually below and two kinds of interactive broadcasting listens to form.
The broadcast channel information is reception Internet broadcasting server transmission and broadcast program area pair residing for set-top box
The broadcast channel information for the multiple live broadcasted channels answered.
User's set-top box IP addresses are carried in the playing request message sent to Internet broadcasting server so that network is wide
Longitude and latitude of the server according to user's set-top box IP addresses is broadcast, the broadcast program area residing for the user is judged, provides to the user
With all live type broadcasts listened to online in the broadcast program area residing for the IP address.
Preferably, realize that the method for Web broadcast is further comprising the steps of based on IPTV:
When user needs to switch broadcasting channel, sent to set-top box another in the multiple live broadcasted channels of carrying
The Web broadcast play instruction of the code stream address corresponding to a broadcasting channel so that set-top box and the Web broadcast
Server interacts, and is obtained by the Internet broadcasting server and plays the corresponding second broadcast section in the code stream address
Mesh.
Preferably, realize that the method for Web broadcast is further comprising the steps of based on IPTV:
When user needs to switch broadcasting channel, the multiple live broadcasted channels are sorted according to preset rules, according to
The institute to sort corresponding to the next broadcasting channel for sending and being carried in the multiple live broadcasted channels to set-top box
State the Web broadcast play instruction of code stream address so that set-top box is interacted with the Internet broadcasting server, by described
Internet broadcasting server obtains and plays corresponding second broadcast program in the code stream address.
When user switches over broadcasting channel operation, the multiple live broadcasted channels are sorted according to preset rules,
Any broadcasting channel that can also be in the multiple broadcasting channel of shuffle in the non-broadcasting channel played, it is described default
Rule can be the multiple live broadcasted channels title or the multiple live broadcasted channels type, herein
It is not limited.
In the present embodiment, the multiple live broadcasted channels are carried out to the switching of title sequence, and cyclic switching.Than if any
10 channels, then currently playing 5, scan(Handover operation)It is once 6 afterwards, then scan is once 7, reaches 10, then scan is once
1 is reached, current channel is rested on if Scan operates appearance exception.
The online broadcasting of live type plays service logic:Each online broadcasting channel has corresponding sessionId,
By calling different sessionId to realize the broadcasting to different broadcast.Specific way:Write the play of live type broadcast
Method, calls iHeartRadio system api interfaces, and handles the parsing of returned data.It is live type broadcast play side below
Method example:
Preferably, realize that the method for Web broadcast is further comprising the steps of based on IPTV:
The broadcast channel information is reception Internet broadcasting server transmission and broadcast program area pair residing for set-top box
The broadcast channel information for the multiple interactive broadcasting channels answered.
Broadcast for program request type, then need user to log in(By Internet broadcasting server certification)Just it can be used afterwards,
Authentication state of the user on Internet broadcasting server is verified, i.e., what whether Internet broadcasting server return user logined successfully disappears
Breath.Logining successfully, Internet broadcasting server returns to the information logined successfully and session id, login failure then return to error message,
Prompt user error reason.
Preferably, the method for realizing Web broadcast based on IPTV comprises the following steps:
When user listens to program request broadcasting channel, certification request is sent to Internet broadcasting server;
After Internet broadcasting server certification success flag is received, sent to set-top box and carry user from the multiple program request
The Web broadcast play instruction of the code stream address corresponding to a broadcasting channel selected in broadcasting channel so that set-top box and institute
State Internet broadcasting server to interact, obtained by the Internet broadcasting server and play the code stream address corresponding
Three broadcast programs.
In the specific implementation, it is to iHeartRadio servers by user email/password authority(Web broadcast takes
Business device)External interface sends request (https://api2.iheart.com/api/v1/account/login), design class name
Com.zte.pcc.app.iheart.rest.QueryStationResource and method loginUser ().
It is user log-in method example below:
After user logs in, program request class online broadcasting function can be used.Each user has corresponding unique after logging in
User sessionId, for broadcasting control of the user to set-top box bottom player, after user publishes, then the sessionId quilts
Nullify, corresponding broadcast interface(UI interfaces)It is closed.
It is that user exits login method example below:
The online broadcasting of program request type is logged in user(By the certification of Internet broadcasting server)On the premise of just may be used
Use, the user can enter directly into the broadcasting page by the recommendation special edition of UI showing interfaces at this time.The broadcast packet of program request type
The functions such as pause, broadcasting and next song are included, and show the progress msg of currently playing song.
When preferably, in order to listen to the Web broadcast of program request type in user, there is phenomena such as mistake for broadcast state
Timely processing is made, in order to avoid influencing listening to for user, the method for realizing Web broadcast based on IPTV further includes:Monitoring set-top box is broadcast
The broadcast state of Web broadcast is put, and corresponding processing is made according to the broadcast state.
Main broadcast state has onReady, onError, onStateChange etc..For program request type broadcast, first
These status monitorings are then added during beginningization player, after onReady condition responsives receive playing request for Internet broadcasting server
Play the broadcast bit stream data of user's assigned indexes;OnError states are when broadcast data code stream loads sound when there is mistake
Answer event;OnStateChange is mainly the broadcast state of listening broadcast, if broadcast is not start state(-1), and progress bar
Initialize and then moved sliding block to the end;When for broadcast state(1), then refresh broadcast message and initialize Broadcast Control bar panel;
When broadcast state is end(0), and broadcast as the group last broadcast, then the code stream address of next group of data is sent to machine
Top box so that set-top box is interacted with Internet broadcasting server, from currently playing broadcast group<link rel=′next'href
=" ... ">Next group of data query connection is obtained in label, and is loaded one group of new data are returned in player, playing should
First broadcast of new array, refresh data are shown.
Player loading code example:
PlayerReadyHandler events come complete set broadcast interface(VideoLoader.content is only us
The object of operation)And add broadcast state monitoring for broadcast interface.What layerErrorHandler events failed to handle loading
Situation, mainly reloads and adds broadcast state monitoring(Action listener).
Preferably, it is more convenient in order to play out operation during user's receiving network broadcast, in the present embodiment, further include:
The play operation request for including playing, suspend or stopping is sent to set-top box by pressing one button of remote controler, is made
Obtain set-top box and obtain current key assignments, and perform and the corresponding play operation of current key assignments.
Broadcasting to broadcast is realized by the different buttons of remote controler, suspends, stop operation, mainly pair
The addition of KeyboardEvent.KEY_DOWN events is monitored and responded.In key press event response, iHeartRadio captures
Current key assignments, different processing is done according to which button trigger event key assignments judgement is currently.
Preferably, in order to which user can search for the broadcasting channel to be listened to, gone back in the present embodiment according to the hobby of oneself
Including:
Search keyword information is sent to Internet broadcasting server so that Internet broadcasting server returns and the keyword
Corresponding broadcast channel information.
The search of broadcasting channel can with set-top box residing for live broadcasted channels all in broadcast program area, program request
In broadcasting channel with the corresponding broadcast program of the keyword;The time is searched in order to save, reduces the quantity of search result,
The search-type residing for the keyword can be limited.
Preferably, it is described to send search keyword information to Internet broadcasting server so that Internet broadcasting server returns
With the corresponding broadcast channel information of the keyword, specifically include:
Search keyword information and search-type information are sent to Internet broadcasting server so that Internet broadcasting server returns
Return and described search type, the corresponding broadcast channel information of the keyword.
Search is realized with rest interface forms, for different search-types, is known by parameter different in rest interfaces
Not.
It is a rest searching request example below:
/rest/app/iheart/search/searchall?keywords=simon&
startIndex=1&maxRows=5&queryArtist=true&queryStation=true&
queryTrack=true
Design class name:Com.zte.pcc.app.iheart.rest.SearchResource, is defined by method:
The input of the keyword can be operated by the control of remote controler.
In the specific implementation, before playing request is sent to Internet broadcasting server, Web broadcast is realized based on IPTV
Method also includes the startup and closing that the function of Web broadcast is realized on IPTV, opens the user interface of receiving network broadcast
(UI interfaces), what Fig. 4 was represented is that the present invention realizes that the method for Web broadcast is started by browser mode based on IPTV and listens to net
Behind network broadcast UI interfaces, the functional framework figure for the partial parameters that user can be configured.It is specific as follows:
Step 1, main window browser is hidden, promoter windows browser calls iHeartRadioAPP, APP to be based on browsing
Device kernel is run, and provides browser component by set-top box, IPTV SDK further encapsulate assembly communication, pass through SDK's
Relevant json orders are issued browser process by UDevice classes.Browser window divides main window and child window, main window conduct
The carrying page of IPTV main business, it is impossible to close, both child window can be can hide.Here we select child window
Mode opens browser page.
It is to be related to the relevant call method of browser below:
Step 2, base class QZteGraphicsBaseUI is provided first for UI layers, forgive basic function function, including:Page is set
Face background, set page logo, set Page Name, set font(Size, color etc.), wherein in background setting function, give
Default value is given, if calling module shows default background without ginseng value is entered.It is pointed out that above-mentioned power function can use
Random order is configured, and is not limited with the order in Fig. 4
As shown in Figures 2 and 3, the present invention also provides a kind of device that Web broadcast is realized based on Web TV, including:
First sending module, playing request message is sent to Internet broadcasting server;
First receiving module, the multiple broadcast channel information request responses of carrying for receiving Internet broadcasting server return
Message, the broadcast channel information include the corresponding code stream address of the multiple broadcasting channel;
Second sending module, for sending the code stream address carried corresponding to a broadcasting channel to set-top box
Web broadcast play instruction so that set-top box is interacted with the Internet broadcasting server, is taken by the Web broadcast
Business device obtains and plays corresponding first broadcast program in the code stream address.
In the present embodiment, the user group that is increasingly grown based on IPTV, by Web broadcast with a kind of IPTV value-added services
Form occur in front of the user, then can facilitate vast Web broadcast user listen to and IPTV user bring it is new
Value-added service is experienced.
IPTV is upper will to realize Web broadcast playing function, it is necessary first to the source of broadcast data.IHeartRadio is North America
The bigger online broadcasting website in area, it provides the opening API interface of broadcast data(Application programming interfaces), this is just net
Network broadcasts realization of the Broadcast Control on IPTV and provides possibility.
Internet broadcasting server in the present embodiment is iHeartRadio servers, but is not limited to this, as long as can carry
For the Internet broadcasting server of the opening API interface of broadcast data.
In the present embodiment, the broadcast channel information that Internet broadcasting server returns includes live broadcasted channels information and program request
Broadcast channel information, user can according to oneself need voluntarily select the broadcast type to be listened to, introduce individually below straight
Broadcast broadcast and two kinds of interactive broadcasting listens to form.
Preferably, the broadcast channel information is reception Internet broadcasting server transmission and broadcast program residing for set-top box
The broadcast channel information of the corresponding multiple live broadcasted channels in region.
Preferably, further include:
Live broadcasted channels handover module, for when user needs to switch broadcasting channel, being sent to set-top box and carrying institute
The Web broadcast broadcasting for stating the code stream address corresponding to another described broadcasting channel in multiple live broadcasted channels refers to
Order so that set-top box is interacted with the Internet broadcasting server, is obtained by the Internet broadcasting server and is played institute
State corresponding second broadcast program in code stream address.
User's set-top box IP addresses are carried in the playing request message sent to Internet broadcasting server so that network is wide
Longitude and latitude of the server according to user's set-top box IP addresses is broadcast, the broadcast program area residing for the user is judged, provides to the user
With all live type broadcasts listened to online in the broadcast program area residing for the IP address.
Preferably, the live broadcasted channels handover module is additionally operable to when user needs to switch broadcasting channel, by described in
Multiple live broadcasted channels sort according to preset rules, and the multiple direct broadcast of carrying is sent to set-top box according to described sort
The Web broadcast play instruction of the code stream address corresponding to next broadcasting channel in channel so that set-top box with
The Internet broadcasting server interacts, and is obtained by the Internet broadcasting server and to play the code stream address corresponding
Second broadcast program.
When user switches over broadcasting channel operation, the multiple live broadcasted channels are sorted according to preset rules,
The preset rules can be the title of the multiple live broadcasted channels or the class of the multiple live broadcasted channels
Type, is not limited herein.
In the present embodiment, the multiple live broadcasted channels are carried out to the switching of title sequence, and cyclic switching.Than if any
10 channels, then currently playing 5, scan(Handover operation)It is once 6 afterwards, then scan is once 7, reaches 10, then scan is once
1 is reached, current channel is rested on if Scan operates appearance exception.
The online broadcasting of live type plays service logic:Each online broadcasting channel has corresponding sessionId,
By calling different sessionId to realize the broadcasting to different broadcast.Specific way:Write the play of live type broadcast
Method, calls iHeartRadio system api interfaces, and handles the parsing of returned data.It is live type broadcast play side below
Method example:
Preferably, further include:
The broadcast channel information is reception Internet broadcasting server transmission and broadcast program area pair residing for set-top box
The broadcast channel information for the multiple interactive broadcasting channels answered.
Broadcast for program request type, then need user just to can be used after logging in, and user is in Internet broadcasting server for verification
On authentication state, that is, return user whether login successfully.Login successfully then Internet broadcasting server and return to personal information and meeting
Id is talked about, login failure then returns to error message, prompts user error reason.
Preferably, interactive broadcasting channel processing module is further included, the interactive broadcasting channel processing module includes:
Authentication unit, for when user listens to program request broadcasting channel, certification request to be sent to Internet broadcasting server;
First transmitting element, for after Internet broadcasting server certification success flag is received, sending and carrying to set-top box
The Web broadcast for the code stream address corresponding to a broadcasting channel that user selects from the multiple interactive broadcasting channel plays
Instruction so that set-top box is interacted with the Internet broadcasting server, is obtained and is played by the Internet broadcasting server
Corresponding 3rd broadcast program in the code stream address.
In the specific implementation, it is to iHeartRadio servers by user email/password authority(Network blazons clothes
Business device)External interface sends request (https://api2.iheart.com/api/v1/account/login), design class name
Com.zte.pcc.app.iheart.rest.QueryStationResource and method loginUser ().
It is user log-in method example below:
After user logs in, program request class online broadcasting function can be used.Each user has corresponding unique after logging in
User sessionId, for broadcasting control of the user to set-top box bottom player, after user publishes, then the sessionId quilts
Nullify, corresponding broadcast interface(UI interfaces)It is closed.
It is that user exits login method example below:
The online broadcasting of program request type is logged in user(By the certification of Internet broadcasting server)On the premise of just may be used
Use, the user can enter directly into the broadcasting page by the recommendation special edition of UI showing interfaces at this time.The broadcast packet of program request type
The functions such as pause, broadcasting and next song are included, and show the progress msg of currently playing song.
When preferably, in order to listen to the Web broadcast of program request type in user, there is phenomena such as mistake for broadcast state
Timely processing is made, in order to avoid influencing listening to for user, the method for realizing Web broadcast based on IPTV further includes:
Broadcast state monitors and processing module, and the broadcast state of Web broadcast is played for monitoring set-top box, and according to institute
State broadcast state and make corresponding processing.
Main broadcast state has onReady, onError, onStateChange etc..For program request type broadcast, first
These status monitorings are then added during beginningization player, after onReady condition responsives receive playing request for Internet broadcasting server
Play the broadcast bit stream data of user's assigned indexes;OnError states are when broadcast data code stream loads sound when there is mistake
Answer event;OnStateChange is mainly the broadcast state of listening broadcast, if broadcast is not start state(-1), and progress bar
Initialize and then moved sliding block to the end;When for broadcast state(1), then refresh broadcast message and initialize Broadcast Control bar panel;
When broadcast state is end(0), and broadcast as the group last broadcast, then the code stream address of next group of data is sent to machine
Top box so that set-top box is interacted with Internet broadcasting server, from currently playing broadcast group<link rel=′next'href
=" ... ">Next group of data query connection is obtained in label, and is loaded one group of new data are returned in player, playing should
First broadcast of new array, refresh data are shown.
Player loading code example:
PlayerReadyHandler events come complete set broadcast interface(VideoLoader.content is only us
The object of operation)And add broadcast state monitoring for broadcast interface.What layerErrorHandler events failed to handle loading
Situation, mainly reloads and adds broadcast state monitoring(Action listener).
Preferably, it is more convenient in order to play out operation during user's receiving network broadcast, in the present embodiment, further include:
3rd sending module, for including what is played, suspend or stop by pressing remote controller key and being sent to set-top box
Play operation is asked so that set-top box obtains current key assignments, and performs and the corresponding play operation of current key assignments.
Broadcasting to broadcast is realized by the different buttons of remote controler, suspends, stop operation, mainly pair
The addition of KeyboardEvent.KEY_DOWN events is monitored and responded.In key press event response, iHeartRadio captures
Current key assignments, different processing is done according to which button trigger event key assignments judgement is currently.
Preferably, in order to which user can search for the broadcasting channel to be listened to, gone back in the present embodiment according to the hobby of oneself
Including:
Broadcasting channel search module, for sending search keyword information to Internet broadcasting server so that Web broadcast
Server returns and the corresponding broadcast channel information of the keyword.
The search of broadcasting channel can with set-top box residing for live broadcasted channels all in broadcast program area, program request
In broadcasting channel with the corresponding broadcast program of the keyword;The time is searched in order to save, reduces the quantity of search result,
The search-type residing for the keyword can be limited.
Preferably, the broadcasting channel search module be additionally operable to Internet broadcasting server send search keyword information and
Search-type information so that Internet broadcasting server returns and described search type, the corresponding broadcasting channel of the keyword
Information.
Search is realized with rest interface forms, for different search-types, is known by parameter different in rest interfaces
Not.
It is a rest searching request example below:
/rest/app/iheart/search/searchall?keywords=simon&
startIndex=1&maxRows=5&queryArtist=true&queryStation=true&
queryTrack=true
Design class name:Com.zte.pcc.app.iheart.rest.SearchResource, is defined by method:
The input of the keyword can be operated by the control of remote controler.
The present invention also provides a kind of Web TV, including the above-mentioned device that Web broadcast is realized based on Web TV.
The above is present pre-ferred embodiments, it is noted that to those skilled in the art, is not departing from this
On the premise of inventing the principle, some improvements and modifications can also be made, these improvements and modifications also should be regarded as guarantor of the present invention
Protect scope.
Claims (15)
- A kind of 1. method that Web broadcast is realized based on Web TV, it is characterised in that comprise the following steps:Playing request message is sent to Internet broadcasting server, user's set-top box IP addresses are carried in the playing request message;Receive the request response for the multiple broadcast channel informations of carrying that Internet broadcasting server returns, the broadcasting channel letter Breath includes the corresponding code stream address of the multiple broadcasting channel;The Web broadcast play instruction for carrying the code stream address corresponding to a broadcasting channel is sent to set-top box, is made Obtain set-top box to interact with the Internet broadcasting server, obtained by the Internet broadcasting server and play the code stream Corresponding first broadcast program in address.
- 2. the method according to claim 1 that Web broadcast is realized based on Web TV, it is characterised in that the broadcast frequency Road information is reception Internet broadcasting server transmission multiple direct broadcasts frequencies corresponding with broadcast program area residing for set-top box The broadcast channel information of the broadcast channel information in road or multiple interactive broadcasting channels.
- 3. the method according to claim 2 that Web broadcast is realized based on Web TV, it is characterised in that in the broadcast Channel information is reception Internet broadcasting server transmission multiple direct broadcasts corresponding with broadcast program area residing for set-top box It is further comprising the steps of during the broadcast channel information of channel:When user needs to switch broadcasting channel, another institute carried in the multiple live broadcasted channels is sent to set-top box State the Web broadcast play instruction of the code stream address corresponding to broadcasting channel so that set-top box and the broadcast service Device interacts, and is obtained by the Internet broadcasting server and plays corresponding second broadcast program in the code stream address.
- 4. the method according to claim 3 that Web broadcast is realized based on Web TV, it is characterised in that the broadcast frequency Road information is reception Internet broadcasting server transmission multiple direct broadcasts frequencies corresponding with broadcast program area residing for set-top box It is further comprising the steps of during the broadcast channel information in road:When user needs to switch broadcasting channel, the multiple live broadcasted channels are sorted according to preset rules, according to described The code to sort corresponding to the next broadcasting channel for sending and being carried in the multiple live broadcasted channels to set-top box Flow the Web broadcast play instruction of address so that set-top box is interacted with the Internet broadcasting server, passes through the network Broadcasting server obtains and plays corresponding second broadcast program in the code stream address.
- 5. the method according to claim 2 that Web broadcast is realized based on Web TV, it is characterised in that the broadcast frequency Road information is reception Internet broadcasting server transmission multiple interactive broadcastings frequencies corresponding with broadcast program area residing for set-top box It is further comprising the steps of during the broadcast channel information in road:When user listens to program request broadcasting channel, certification request is sent to Internet broadcasting server;After Internet broadcasting server certification success flag is received, sent to set-top box and carry user from the multiple interactive broadcasting The Web broadcast play instruction of the code stream address corresponding to a broadcasting channel selected in channel so that set-top box and the net Network broadcasting server interacts, and is obtained by the Internet broadcasting server and to play the code stream address corresponding 3rd wide Broadcast program.
- 6. the method for Web broadcast is realized based on Web TV according to claim 1-5 any one of them, it is characterised in that also Including:The play operation request for including playing, suspend or stopping is sent to set-top box by pressing one button of remote controler so that machine Top box obtains current key assignments, and performs and the corresponding play operation of current key assignments.
- 7. the method for Web broadcast is realized based on Web TV according to claim 1-5 any one of them, it is characterised in that also Including:Search parameter information is sent to Internet broadcasting server so that Internet broadcasting server returns corresponding with the parameter Broadcast channel information, the parameter include search keyword information and search-type information.
- A kind of 8. device that Web broadcast is realized based on Web TV, it is characterised in that including:First sending module, sends playing request message to Internet broadcasting server, user is carried in the playing request message Set-top box IP addresses;First receiving module, the multiple broadcast channel information request responses of carrying for receiving Internet broadcasting server return disappear Breath, the broadcast channel information include the corresponding code stream address of the multiple broadcasting channel;Second sending module, the net of the code stream address corresponding to a broadcasting channel is carried for being sent to set-top box Network broadcast playback instructs so that set-top box is interacted with the Internet broadcasting server, passes through the Internet broadcasting server Obtain and play corresponding first broadcast program in the code stream address.
- 9. the device according to claim 8 that Web broadcast is realized based on Web TV, it is characterised in that the broadcast frequency Road information is reception Internet broadcasting server transmission multiple direct broadcasts frequencies corresponding with broadcast program area residing for set-top box The broadcast channel information of the broadcast channel information in road or multiple interactive broadcasting channels.
- 10. the device according to claim 9 that Web broadcast is realized based on Web TV, it is characterised in that the broadcast Channel information is reception Internet broadcasting server transmission multiple direct broadcasts corresponding with broadcast program area residing for set-top box Further included during the broadcast channel information of channel:Live broadcasted channels handover module, for when user needs to switch broadcasting channel, it is described more to send carrying to set-top box The Web broadcast play instruction of the code stream address corresponding to another described broadcasting channel in a live broadcasted channels, makes Obtain set-top box to interact with the Internet broadcasting server, obtained by the Internet broadcasting server and play the code stream Corresponding second broadcast program in address.
- 11. the device according to claim 10 that Web broadcast is realized based on Web TV, it is characterised in that described live Broadcasting channel handover module is additionally operable to when user needs to switch broadcasting channel, by the multiple live broadcasted channels according to default Rule compositor, according to the next broadcast frequency for sorting and sending and being carried in the multiple live broadcasted channels to set-top box The Web broadcast play instruction of the code stream address corresponding to road so that set-top box is handed over the Internet broadcasting server Mutually, obtained by the Internet broadcasting server and play corresponding second broadcast program in the code stream address.
- 12. the device according to claim 9 that Web broadcast is realized based on Web TV, it is characterised in that the broadcast Channel information is reception Internet broadcasting server transmission multiple interactive broadcastings corresponding with broadcast program area residing for set-top box During the broadcast channel information of channel, interactive broadcasting channel processing module is further included, the interactive broadcasting channel processing module includes:Authentication unit, for when user listens to program request broadcasting channel, certification request to be sent to Internet broadcasting server;First transmitting element, for after Internet broadcasting server certification success flag is received, being sent to set-top box and carrying user The Web broadcast play instruction of the code stream address corresponding to a broadcasting channel selected from the multiple interactive broadcasting channel, So that set-top box is interacted with the Internet broadcasting server, obtained by the Internet broadcasting server and play the code Flow corresponding 3rd broadcast program in address.
- 13. the device of Web broadcast is realized based on Web TV according to claim 8-12 any one of them, it is characterised in that Further include:3rd sending module, for sending the broadcasting for including playing, suspend or stop to set-top box by pressing remote controller key Operation requests so that set-top box obtains current key assignments, and performs and the corresponding play operation of current key assignments.
- 14. the device of Web broadcast is realized based on Web TV according to claim 8-12 any one of them, it is characterised in that Further include:Broadcasting channel search module, for sending search parameter information to Internet broadcasting server so that Internet broadcasting server Return includes search keyword information and search-type with the corresponding broadcast channel information of the parameter, the parameter.
- 15. a kind of Web TV, it is characterised in that net is realized based on Web TV including claim 8-14 any one of them The device of network broadcast.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310038902.XA CN103974092B (en) | 2013-01-31 | 2013-01-31 | A kind of method, apparatus and Web TV that Web broadcast is realized based on Web TV |
PCT/CN2013/082301 WO2013189436A2 (en) | 2013-01-31 | 2013-08-26 | Method and device for realizing network broadcast based on network television and network television |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310038902.XA CN103974092B (en) | 2013-01-31 | 2013-01-31 | A kind of method, apparatus and Web TV that Web broadcast is realized based on Web TV |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103974092A CN103974092A (en) | 2014-08-06 |
CN103974092B true CN103974092B (en) | 2018-05-15 |
Family
ID=49769575
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310038902.XA Active CN103974092B (en) | 2013-01-31 | 2013-01-31 | A kind of method, apparatus and Web TV that Web broadcast is realized based on Web TV |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103974092B (en) |
WO (1) | WO2013189436A2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110445625B (en) * | 2018-05-02 | 2022-07-01 | 鸿合科技股份有限公司 | Large-screen broadcast control method and system |
CN112822509B (en) * | 2021-01-29 | 2023-07-21 | 北京百度网讯科技有限公司 | Data processing method, device, electronic equipment and medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101686381A (en) * | 2009-08-21 | 2010-03-31 | 四川虹微技术有限公司 | Digital TV-based method for playing network broadcast media information |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2394250A1 (en) * | 2000-07-24 | 2002-01-31 | Sungjin C&C, Ltd. | Relaying system for broadcasting multi-channel internet television and networking method thereof |
KR100739734B1 (en) * | 2005-09-16 | 2007-07-13 | 삼성전자주식회사 | Method and apparatus for providing additional information of digital broadcasting program to IPTV in home network |
CN101141607A (en) * | 2006-09-08 | 2008-03-12 | 百视通网络电视技术发展有限责任公司 | Mutual correlation method for IPTV and implementing system thereof |
CN101155293B (en) * | 2006-09-25 | 2011-11-30 | 华为技术有限公司 | Method, system and device for network live television service channel authorization |
CN101014083A (en) * | 2006-11-28 | 2007-08-08 | 俞鹏里 | Network TV terminal and information server system thereof |
CN101039329B (en) * | 2006-12-28 | 2012-03-28 | 中兴通讯股份有限公司 | Media delivery system of network TV system based on media delivery |
CN101132521A (en) * | 2007-09-25 | 2008-02-27 | 华为技术有限公司 | Method and device for switching IPTV channels |
RU2011118345A (en) * | 2008-10-06 | 2012-11-20 | Шарп Кабусики Кайся (Jp) | DIGITAL BROADCAST RECEIVER AND DIGITAL BROADCAST RECEIVING METHOD |
RU2011118468A (en) * | 2008-10-07 | 2012-11-20 | Шарп Кабусики Кайся (Jp) | DIGITAL BROADCAST RECEIVER AND RECEIVING METHOD |
CN201294539Y (en) * | 2008-11-21 | 2009-08-19 | 邱晓健 | Digital network broadcasting system |
CN102547408B (en) * | 2012-01-17 | 2014-09-03 | 深圳市同洲电子股份有限公司 | Method and system for playing request programs and session manager |
-
2013
- 2013-01-31 CN CN201310038902.XA patent/CN103974092B/en active Active
- 2013-08-26 WO PCT/CN2013/082301 patent/WO2013189436A2/en active Application Filing
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101686381A (en) * | 2009-08-21 | 2010-03-31 | 四川虹微技术有限公司 | Digital TV-based method for playing network broadcast media information |
Also Published As
Publication number | Publication date |
---|---|
WO2013189436A3 (en) | 2014-02-20 |
WO2013189436A2 (en) | 2013-12-27 |
CN103974092A (en) | 2014-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106331779B (en) | Method and system based on user preferences push main broadcaster during playing video | |
US9788037B2 (en) | System for managing media content for a personal television channel | |
US8875181B2 (en) | Method and system for presenting media content | |
US9591356B2 (en) | System and method of determining viewership information | |
US20160080816A1 (en) | Managing media content for a personal television channel | |
WO2013185685A1 (en) | Method and system for playing set-top box startup advertisement, and set-top box | |
WO2014183427A1 (en) | Method and apparatus for displaying webcast rooms | |
WO2013139138A1 (en) | Method, device and system for displaying interaction messages | |
US20090164654A1 (en) | IPTV community based internet radio content proxy facility | |
CN102932681A (en) | Method and system for realizing recommendation of television program | |
CN101909200A (en) | Processing method of television program menu and interactive television server | |
CN106162244A (en) | The method for pushing of a kind of program and device | |
WO2018000743A1 (en) | Cross-device group chatting method and electronic device | |
CN104202652A (en) | Television set top box and playback control method thereof | |
CN103974092B (en) | A kind of method, apparatus and Web TV that Web broadcast is realized based on Web TV | |
US10083457B2 (en) | System and method for processing opinion data | |
CN104093081A (en) | On-line instant chat system based on digital television and implementation method | |
CN107666617A (en) | A kind of method and set top box for being used to provide multiple terminals IPTV service | |
CN109660868A (en) | Channel sequencing, switching and display methods, set-top box and IPTV system | |
US20170251078A1 (en) | Method and apparatus for providing configurable event content | |
CN101674459A (en) | Method, system and device for multi-media business treatment | |
CN109168039A (en) | Code stream clarity switching method, device, terminal and the readable medium of android system | |
CN105282592A (en) | Method and device for realizing screensaver for IPTV | |
WO2012146028A1 (en) | Method, device and iptv system for establishing web channel based on iptv system | |
CN101702773A (en) | Method for playing digital television program on line |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |