CN103561337A - Live web casting method and device based on intelligent television - Google Patents

Live web casting method and device based on intelligent television Download PDF

Info

Publication number
CN103561337A
CN103561337A CN201310530414.0A CN201310530414A CN103561337A CN 103561337 A CN103561337 A CN 103561337A CN 201310530414 A CN201310530414 A CN 201310530414A CN 103561337 A CN103561337 A CN 103561337A
Authority
CN
China
Prior art keywords
video
objective network
address
network video
broadcast address
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
CN201310530414.0A
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.)
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Original Assignee
Leshi Zhixin Electronic Technology Tianjin 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 Leshi Zhixin Electronic Technology Tianjin Co Ltd filed Critical Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority to CN201310530414.0A priority Critical patent/CN103561337A/en
Publication of CN103561337A publication Critical patent/CN103561337A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a live web casting method and device based on an intelligent television. According to the method, after target network video is selected, the video tag of the webpage where the target video is located is obtained, the play address of the target network video is obtained according to the video tag, when the target network video is live broadcasting video, the play address is the storage address of a play list document, the real address of the target network video is obtained according to the play list document, the play list comprises the real address of the target network video, a displayer is called, and the displayer is made to obtain and play the target network video according to the real address. By the adoption of the method, the displayer in the intelligent television can be called directly to display live broadcasting video, dedicated installation of a video displayer with the function of supporting live broadcasting is not needed, the operation process by a user is simple, and user experience is improved.

Description

A kind of network direct broadcasting method and apparatus based on intelligent television
Technical field
The application belongs to intelligent television field, relates in particular to a kind of network direct broadcasting method and apparatus based on intelligent television.
Background technology
TV is modal household electrical appliance in modern society, along with scientific and technical development, has full open model platform, and the intelligent television that has carried operating system also arises at the historic moment.User, when appreciating common TV content based on this intelligent television, can install and unload types of applications software voluntarily, and the sustainable function to intelligent television expands and upgrades, and can bring abundant individualized experience to user.
What intelligent television adopted at present is Android (android) operating system, browser in this Android system is supported HTML5 technology, only realize the some multicast function to network Online Video, yet relate to live part, need to support the video player of direct broadcast function to realize.
Therefore, when user is during at browsing page, while wanting to watch certain live video, and the player of the current use of this user can not be supported when live, can provide this video cannot play, and prompting user need to first install the video player that can support direct broadcast function, then just can watch this live video, process is loaded down with trivial details, poor user experience.
Summary of the invention
In view of this, the application's object is to provide a kind of network direct broadcasting method and apparatus based on intelligent television, adopt common video player also can play live video, without special installation, can support the video player of direct broadcast function, user's operating process is simple, improves user and experiences.
A network direct broadcasting method for intelligent television, comprising:
According to the solicited message of the request target Internet video receiving, open described objective network video place webpage;
Obtain the video tab of described webpage, and resolve the broadcast address that described video tab obtains objective network video;
Judge whether described broadcast address meets pre-conditioned;
If do not met, call the player in described intelligent television, so that described player obtains and play described objective network video according to described broadcast address;
If met, judge the memory address that described objective network video is play list file as live video and described broadcast address, the true address that obtains described objective network video according to described play list file, described play list file comprises the true address of objective network video;
Call the player in described intelligent television, so that described player obtains and play described objective network video according to described true address.
Above-mentioned method, preferred, obtain the video tab of described webpage, and resolve the broadcast address that described video tab obtains objective network video, comprising:
Obtain a label at described objective network video place, and according to described a label, get the web page address URL of described objective network video;
According to described URL, load corresponding HTML HTML5 video page, described video page comprises HTML5 video tab;
Call preset function and resolve described HTML5 video tab, obtain the broadcast address of objective network video.
Above-mentioned method, preferably, obtains the true address of described objective network video according to play list file, comprising:
According to described broadcast address, obtain described play list file;
Call the true address that play list file described in the Streaming Media HLS protocal analysis based on HTML (Hypertext Markup Language) obtains described objective network video.
Above-mentioned method, preferred, be describedly pre-conditionedly: the suffix of described broadcast address is .m3u8.
Above-mentioned method, preferred, described playlist is for pointing to the video file index of true broadcast address.
A network direct broadcasting device for intelligent television, comprising: mixed-media network modules mixed-media, parsing module, judge module, the first calling module, acquisition module and the second calling module;
Wherein,
Described mixed-media network modules mixed-media, for the solicited message of the request target Internet video according to receiving, opens described objective network video place webpage;
Described parsing module, for obtaining the video tab of described webpage, and resolves the broadcast address that described video tab obtains objective network video;
Described judge module, pre-conditioned for judging whether described broadcast address meets; If do not meet, trigger the first calling module; If met, judge the memory address that described objective network video is play list file as live video and described broadcast address, trigger acquisition module;
Described the first calling module, for calling the player of described intelligent television, so that described player obtains and play described objective network video according to described broadcast address;
Described acquisition module, for obtain the true address of described objective network video according to described play list file, described play list file comprises the true address of objective network video;
Described the second calling module, for calling the player of described intelligent television, so that described player obtains and play described objective network video according to described true address.
Above-mentioned device, preferred, described parsing module comprises:
The first acquiring unit, for obtaining a label at described objective network video place, and the described a label of foundation gets the URL of described objective network video;
Loading unit, for loading corresponding HTML5 video page according to described URL, described video page comprises HTML5 video tab;
Call function unit, resolves described HTML5 video tab for calling preset function, obtains the broadcast address of objective network video.
Above-mentioned device, preferred, described acquisition module comprises:
Second acquisition unit, for obtaining described play list file according to described broadcast address;
Resolution unit, obtains the true address of described objective network video for calling play list file described in HLS protocal analysis.
The application provides a kind of network direct broadcasting method based on intelligent television, after selected target Internet video, obtain the video tab of this objective network video place webpage, according to this video tab, obtain the broadcast address of this objective network video, when this objective network video is live video, the memory address that described broadcast address is play list file, according to described play list file, obtain the true address of described objective network video, described playlist comprises the true address of objective network video, call player, so that described player obtains described objective network video and plays according to described true address.And when this objective network video is order video, described broadcast address is the memory address of objective network video, call player, so that described player obtains and play described objective network video according to described broadcast address.Adopt the method, when objective network video is live video, the player that can directly call in intelligent television is play, and can support the video player of direct broadcast function without special installation, and user's operating process is simple, improves user and experiences.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is some embodiment of the application, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the flow chart of a kind of network direct broadcasting embodiment of the method 1 based on intelligent television of providing of the application;
Fig. 2 is a particular flow sheet of a kind of network direct broadcasting embodiment of the method 1 based on intelligent television of providing of the application;
Fig. 3 is the flow chart of a kind of network direct broadcasting embodiment of the method 2 based on intelligent television of providing of the application;
Fig. 4 is the structural representation of a kind of network direct broadcasting device embodiment 1 based on intelligent television of providing of the application;
Fig. 5 is a concrete structure schematic diagram of a kind of network direct broadcasting device embodiment 1 based on intelligent television of providing of the application;
Fig. 6 is the structural representation of a kind of network direct broadcasting device embodiment 2 based on intelligent television of providing of the application;
Fig. 7 is the flow chart of the application scenarios one of a kind of network direct broadcasting method based on intelligent television of providing of the application;
Fig. 8 is the flow chart of the application scenarios two of a kind of network direct broadcasting method based on intelligent television of providing of the application.
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present application clearer, below in conjunction with the accompanying drawing in the embodiment of the present application, technical scheme in the embodiment of the present application is clearly and completely described, obviously, described embodiment is the application's part embodiment, rather than whole embodiment.Embodiment based in the application, those of ordinary skills are not making the every other embodiment obtaining under creative work prerequisite, all belong to the scope of the application's protection.
A kind of network direct broadcasting method and apparatus based on intelligent television relating in the embodiment of the present application is all applied in intelligent television by browser Network Search video, and this Internet video is play, and Internet video comprises live video and order video.
What the intelligent television relating in the embodiment of the present application adopted is Android Android system.
The browser that the application relates to, the client browser of World Wide Web (WWW) (web) service, can send various requests to Web server, and the hypertext information of sending from server and various multimedia data format make an explanation, show, play.This hypertext information adopts HTML (HTML, Hyper Text Markup Language), and HTML is a kind of markup language relating to for " Web page create and other information that can see in web browser ".
HLS agreement refers to Streaming Media (the HTTP Live Streaming) network transmission protocol based on HTTP, and operation principle is whole stream to be divided into the one by one little file based on HTTP download, and only downloads at every turn.When Media Stream is play, client can be selected with different speed, to download same resource from many different Back Up Sources, allows flow media session to adapt to different data rates.When starting a flow media session, client can be downloaded an extended M3U playlist file that comprises metadata, for finding available Media Stream.
The player that the application relates to refers to can be play with the video of digital signal form storage or the software of audio file, and this software is arranged in intelligent television, can be the various forms of players such as media player, RealPlayer.
Embodiment 1
As shown in Figure 1, the flow chart of a kind of network direct broadcasting method based on intelligent television that the embodiment of the present application 1 provides, comprising:
Step S101: according to the solicited message of the request target Internet video receiving, open described objective network video place webpage;
When user watches the video in network in intelligent television, if while wanting to watch a certain objective network video, click the signs such as the icon of this objective network video in current web page or information, generate the solicited message of request target Internet video, receive this solicited message, and according to this solicited message, open the webpage at this objective network video place.
Step S102: obtain the video tab of described webpage, and resolve the broadcast address that described video tab obtains objective network video;
Get the video tab in this objective network video place webpage, this video tab is the special tags of objective network video, resolves the broadcast address that this video tab can obtain objective network video.
Step S103: judge whether described broadcast address meets pre-conditioned; If do not met, execution step S104; If met, execution step S105;
Judge whether this broadcast address meets pre-conditioned, if do not met, this objective network video is order video, and this broadcast address is the memory address of this objective network video, according to this broadcast address, can obtain objective network video, execution step S104; If met, this objective network video is live video, and this broadcast address is not the memory address of this objective network video, but the memory address of play list file, execution step S105.
Step S104: call the player in described intelligent television, so that described player obtains and play described objective network video according to described broadcast address;
This broadcast address does not meet when pre-conditioned, and this objective network video is order video, and this broadcast address is the memory address of this objective network video, according to this broadcast address, can obtain objective network video.
Call the player in intelligent television, make this player can obtain this objective network video according to this broadcast address, and this video is directly play.
Step S105: described objective network video is the memory address that live video and described broadcast address are play list file, the true address that obtains described objective network video according to described play list file, described play list file comprises the true address of objective network video;
This broadcast address meets when pre-conditioned, this objective network video is live video, this broadcast address is not the memory address of this objective network video, but the memory address of play list file, this playlist comprises the true address of objective network video, therefore, need to analyze this play list file, obtain the true address of this objective network video.
During actual enforcement, because video file may be divided into a plurality of fragments, be stored in respectively a plurality of different addresses, this playlist is for pointing to the video file index of true broadcast address.
Step S106: call the player in described intelligent television, so that described player obtains and play described objective network video according to described true address.
Call the player in intelligent television, this player can obtain this objective network video according to this true address, and this video is play, and has realized the broadcasting to live video.
As shown in Figure 2, a particular flow sheet of a kind of network direct broadcasting method based on intelligent television that the embodiment of the present application 1 provides, shown in Fig. 1, in flow chart, step S102 comprises:
Step S1021: obtain a label of described webpage, and get the web page address URL of described objective network video according to described a label;
A label definable anchor (anchor) in HTML, and anchor has two kinds of usages: a kind of is by using href attribute, create the link (or hyperlink) of pointing to another one document, another kind is by using name or id attribute, create the bookmark (that is to say, can create the link of pointing to document fragment) of a document inside.And the most important attribute of a element is href attribute, it points to the target of link.
Browser obtains a label of this webpage, can get the target that it points to link, i.e. the web page address URL of objective network video according to this label.
Step S1022: load corresponding HTML HTML5 video page according to described URL;
Described video page comprises HTML5 video tab;
HTML5 video tab comprises Video label.
This HTML5 is the next main revision version of HTML.
Browser loads corresponding HTML5 video page according to this URL, and this video page comprises HTML5 video tab.
Such as, this video label is: <video src=" http://www.letv.com/movie.mp4 " > or <video src=" http://www.letv.com/movie.m3u8 " > etc.
Step S1023: call preset function and resolve described HTML5 video tab, obtain the broadcast address of objective network video.
Preset function is JS(JavaScript) function.
The address of containing objective network video in Video label due to HTML5 video tab, resolves this video tab so call JS function, can resolve the broadcast address that obtains this objective network video.
If the broadcast address in video label <video src=" http://www.letv.com/movie.mp4 " > is http://www.letv.com/movie.mp4.
And broadcast address in video label <video src=" http://www.letv.com/movie.m3u8 " > is http://www.letv.com/movie.m3u8.
Adopt the parameter in the Video label of objective network video described in JS Functional Analysis, obtain the broadcast address of this objective network video.
The embodiment of the present application 1 provides a kind of network direct broadcasting method based on intelligent television, after selected target Internet video, obtain the video tab of this objective network video place webpage, according to this video tab, obtain the broadcast address of this objective network video, when this objective network video is live video, the memory address that described broadcast address is play list file, according to described play list file, obtain the true address of described objective network video, described playlist comprises the true address of objective network video, call player, so that described player obtains described objective network video and plays according to described true address.And when this objective network video is order video, described broadcast address is the memory address of objective network video, call player, so that described player obtains and play described objective network video according to described broadcast address.Adopt the method, when objective network video is live video, the player that can directly call in intelligent television is play, and can support the video player of direct broadcast function without special installation, and user's operating process is simple, improves user and experiences.
Embodiment 2
As shown in Figure 3, the flow chart of a kind of network direct broadcasting method based on intelligent television that the embodiment of the present application 2 provides, shown in Fig. 1, in flow chart, step S105 comprises:
Step S1051: obtain described play list file according to described broadcast address;
Describedly pre-conditionedly be: the suffix of described broadcast address is .m3u8.
Such as, when the broadcast address obtaining when parsing is http://www.letv.com/movie.m3u8, the suffix of this broadcast address is .m3u8, meets pre-conditioned, this objective network video is live video, and this broadcast address is the address of storage play list file.
When broadcast address meets when pre-conditioned, judge the memory address that described objective network video is play list file as live video and described broadcast address, according to this broadcast address, obtain this play list file, play list file comprises the true address of objective network video, and the true address that obtains objective network video for follow-up analysis play list file provides foundation.
Step S1052: call the true address that play list file described in HLS protocal analysis obtains described objective network video.
Call this play list file of HLS protocal analysis, this play list file form is m3u8.
For example, m3u8 file format is:
#EXTM3U
#EXT-X-TARGETDURATION:30#EXTINF:30,
http://192.169.1.176/sample_100k-1.ts#EXTINF:30,
http://192.169.1.176/sample_100k-2.ts#EXTINF:30,
http://192.169.1.176/sample_100k-3.ts#EXT-X-ENDLIST
According to this form, can obtain the true address of objective network video:
http://192.169.1.176/sample_100k-1.ts#EXTINF:30,
http://192.169.1.176/sample_100k-2.ts#EXTINF:30,
http://192.169.1.176/sample_100k-3.ts#EXT-X-ENDLIST
According to this true address, player can obtain objective network video, realizes the broadcasting to objective network video.
The embodiment of the present application 2 provides a kind of network direct broadcasting method based on intelligent television, adopt HLS agreement to analyze the play list file of obtaining from broadcast address, obtain the true address of objective network video, make player to obtain video according to this true address, therefore, even if this objective network video is live video, the player that also can directly call in intelligent television is play, without special installation, can support the video player of direct broadcast function, user's operating process is simple, improves user and experiences.
A kind of network direct broadcasting embodiment of the method based on intelligent television providing with above-mentioned the application is corresponding, and a kind of network direct broadcasting device embodiment based on intelligent television is also provided in present specification.
As shown in Figure 4, the structural representation of a kind of network direct broadcasting device embodiment 1 based on intelligent television that the application provides, described device comprises: mixed-media network modules mixed-media 101, parsing module 102, judge module 103, the first calling module 104, acquisition module 105 and the second calling module 106;
Wherein, described mixed-media network modules mixed-media 101, for the solicited message of the request target Internet video according to receiving, opens described objective network video place webpage;
When user watches the video in network in intelligent television, if while wanting to watch a certain objective network video, click the signs such as the icon of this objective network video in current web page or information, generate the solicited message of request target Internet video, mixed-media network modules mixed-media 101 receives this solicited message, and according to this solicited message, opens the webpage at this objective network video place.
Described parsing module 102, for obtaining the video tab of described webpage, and resolves the broadcast address that described video tab obtains objective network video;
Parsing module 102 gets the video tab in this objective network video place webpage, and this video tab is the special tags of objective network video, resolves the broadcast address that this video tab can obtain objective network video.
Described judge module 103, pre-conditioned for judging whether described broadcast address meets; If do not meet, trigger the first calling module 104; If met, judge the memory address that described objective network video is play list file as live video and described broadcast address, trigger acquisition module 105;
It is pre-conditioned that judge module 103 judges whether this broadcast address meets, if do not met, this objective network video is order video, and this broadcast address is the memory address of this objective network video, according to this broadcast address, can obtain objective network video, trigger the first calling module 104; If met, this objective network video is live video, and this broadcast address is not the memory address of this objective network video, but the memory address of play list file triggers acquisition module 105.
Described the first calling module 104, for calling the player of described intelligent television, so that described player obtains and play described objective network video according to described broadcast address;
Judge module 103 judges that these broadcast address do not meet when pre-conditioned, this objective network video is order video, this broadcast address is the memory address of this objective network video, according to this broadcast address, can obtain objective network video, this broadcast address can be sent to the first calling module 104, while making this first calling module 104 call player, synchronized transmission is to this broadcast address of player.
The first calling module 104 calls the player in intelligent television, makes this player can obtain this objective network video according to this broadcast address, and this video is directly play.
Described acquisition module 105, for obtain the true address of described objective network video according to described play list file, described play list file comprises the true address of objective network video;
Judge module 103 judges that broadcast address meet when pre-conditioned, this objective network video is live video, this broadcast address is not the memory address of this objective network video, but the memory address of play list file, this playlist comprises the true address of objective network video, therefore, need 105 pairs of these play list file of acquisition module to analyze, obtain the true address of this objective network video, this true address can be sent to the second calling module 106, while making this second calling module 106 call player, synchronized transmission is to this true address of player.
During actual enforcement, because video file may be divided into a plurality of fragments, be stored in respectively a plurality of different addresses, this playlist is for pointing to the video file index of true broadcast address.
Described the second calling module 106, for calling the player of described intelligent television, so that described player obtains and play described objective network video according to described true address.
The second calling module 106 calls the player in intelligent television, makes this player can obtain this objective network video according to this true address, and this video is play, and has realized the broadcasting to live video.
As shown in Figure 5, a concrete structure schematic diagram of a kind of network direct broadcasting device based on intelligent television that the embodiment of the present application 1 provides, shown in Fig. 4, in structure, parsing module 102 comprises: the first acquiring unit 1021, loading unit 1022 and call function unit 1023;
Wherein, described the first acquiring unit 1021, for obtaining a label at described objective network video place, and the described a label of foundation gets the URL of described objective network video;
A label definable anchor (anchor) in HTML, and anchor has two kinds of usages: a kind of is by using href attribute, create the link (or hyperlink) of pointing to another one document, another kind is by using name or id attribute, create the bookmark (that is to say, can create the link of pointing to document fragment) of a document inside.And the most important attribute of a element is href attribute, it points to the target of link.
The first acquiring unit 1021 obtains a label of this webpage, can get the target that it points to link, i.e. the web page address URL of objective network video according to this label.
Wherein, described loading unit 1022, for loading corresponding HTML5 video page according to described URL, described video page comprises HTML5 video tab;
HTML5 video tab comprises Video label.
This HTML5 is the next main revision version of HTML.
Loading unit 1022 loads corresponding HTML5 video page according to this URL, and this video page comprises HTML5 video tab.
Such as, this video label is: <video src=" http://www.letv.com/movie.mp4 " > or <video src=" http://www.letv.com/movie.m3u8 " > etc.
Wherein, described call function unit 1023, resolves described HTML5 video tab for calling preset function, obtains the broadcast address of objective network video.
Preset function is JS(JavaScript) function.
The address of containing objective network video in Video label due to HTML5 video tab, resolves this video tab so call function unit 1023 calls JS function, can resolve the broadcast address that obtains this objective network video.
If the broadcast address in video label <video src=" http://www.letv.com/movie.mp4 " > is http://www.letv.com/movie.mp4.
And broadcast address in video label <video src=" http://www.letv.com/movie.m3u8 " > is http://www.letv.com/movie.m3u8.
Adopt the parameter in the Video label of objective network video described in JS Functional Analysis, obtain the broadcast address of this objective network video.
The embodiment of the present application 1 provides a kind of network direct broadcasting device based on intelligent television, after selected target Internet video, obtain the video tab of this objective network video place webpage, according to this video tab, obtain the broadcast address of this objective network video, when this objective network video is live video, the memory address that described broadcast address is play list file, according to described play list file, obtain the true address of described objective network video, described playlist comprises the true address of objective network video, call player, so that described player obtains described objective network video and plays according to described true address.And when this objective network video is order video, described broadcast address is the memory address of objective network video, call player, so that described player obtains and play described objective network video according to described broadcast address.Adopt this device, no matter objective network video is order video or live video, and the player that all can directly call in intelligent television is play, and can support the video player of direct broadcast function without special installation, user's operating process is simple, improves user and experiences.
Embodiment 2
As shown in Figure 6, the structural representation of a kind of network direct broadcasting device embodiment 2 based on intelligent television that the application provides, shown in Fig. 1, in structure, acquisition module 105 comprises: second acquisition unit 1051 and resolution unit 1052;
Wherein, described second acquisition unit 1051, for obtaining described play list file according to described broadcast address;
Describedly pre-conditionedly be: the suffix of described broadcast address is .m3u8.
Such as, when the broadcast address of resolving the objective network video obtaining when parsing module 102 is http://www.letv.com/movie.m3u8, the suffix of this broadcast address is .m3u8, meet pre-conditioned, this objective network video is live video, and this broadcast address is the address of storage play list file.
When broadcast address meets when pre-conditioned, judge the memory address that described objective network video is play list file as live video and described broadcast address, second acquisition unit 1051 obtains this play list file according to this broadcast address, play list file comprises the true address of objective network video, and the true address that obtains objective network video for follow-up analysis play list file provides foundation.
Wherein, described resolution unit 1052, obtains the true address of described objective network video for calling play list file described in HLS protocal analysis.
Resolution unit 1052 is called this play list file of HLS protocal analysis, and this play list file form is m3u8.
For example, m3u8 file format is:
#EXTM3U
#EXT-X-TARGETDURATION:30#EXTINF:30,
http://192.169.1.176/sample_100k-1.ts#EXTINF:30,
http://192.169.1.176/sample_100k-2.ts#EXTINF:30,
http://192.169.1.176/sample_100k-3.ts#EXT-X-ENDLIST
According to this form, can obtain the true address of objective network video:
http://192.169.1.176/sample_100k-1.ts#EXTINF:30,
http://192.169.1.176/sample_100k-2.ts#EXTINF:30,
http://192.169.1.176/sample_100k-3.ts#EXT-X-ENDLIST
According to this true address, player can obtain objective network video, realizes the broadcasting to objective network video.
The embodiment of the present application 2 provides a kind of network direct broadcasting device based on intelligent television, adopt HLS agreement to analyze the play list file of obtaining from broadcast address, obtain the true address of objective network video, make player to obtain video according to this true address, therefore, even if this objective network video is live video, the player that also can directly call in intelligent television is play, without special installation, can support the video player of direct broadcast function, user's operating process is simple, improves user and experiences.
The application also provides a kind of network direct broadcasting method based on intelligent television concrete application scenarios in actual applications.
Application scenarios one
The particular flow sheet of application scenarios one, as shown in Figure 7.
It in this application scene, is the process that live video is play.
Step S201: user, in the browsing device net page of intelligent television, selects an objective network video, generates solicited message;
User is by remote controller equal controller, in the webpage of the demonstration of intelligent television, selects one to want the objective network video of watching.
Step S202: receive described request information, and open described objective network video place webpage;
Step S203: obtain the video tab of described webpage, and resolve the broadcast address that described video tab obtains objective network video;
Obtain the video tab of described webpage:
<video?src="http://www.letv.com/movie.m3u8">
Resolve described video tab and obtain the broadcast address of objective network video:
http://www.letv.com/movie.m3u8
This broadcast address meets default condition: the suffix of described broadcast address is .m3u8, and this objective network video is live video, and this broadcast address is the address of storage play list file.
Step S204: obtain play list file according to described broadcast address, and call the true address that HLS protocal analysis play list file obtains objective network video;
The play list file form obtaining is:
#EXTM3U
#EXT-X-TARGETDURATION:30#EXTINF:30,
http://192.169.1.176/sample_100k-1.ts#EXTINF:30,
http://192.169.1.176/sample_100k-2.ts#EXTINF:30,
http://192.169.1.176/sample_100k-3.ts#EXT-X-ENDLIST
According to this form, can obtain the true address of objective network video:
http://192.169.1.176/sample_100k-1.ts#EXTINF:30,
http://192.169.1.176/sample_100k-2.ts#EXTINF:30,
http://192.169.1.176/sample_100k-3.ts#EXT-X-ENDLIST
Step S205: call the player in described intelligent television, so that described player obtains and play described objective network video according to described true address.
Call the player in intelligent television, player starts, and can obtain this objective network video, and this video is play according to this true address, has realized the broadcasting to live video.
Application scenarios two
The particular flow sheet of application scenarios two, as shown in Figure 8.
It in this application scene, is the process that order video is play.
Step S301: user, in the browsing device net page of intelligent television, selects an objective network video, generates solicited message;
User is by remote controller equal controller, in the webpage of the demonstration of intelligent television, selects one to want the objective network video of watching.
Step S302: receive described request information, and open described objective network video place webpage;
Step S303: obtain the video tab of described webpage, and resolve the broadcast address that described video tab obtains objective network video;
Obtain the video tab of described webpage:
<video?src="http://www.letv.com/movie.mp4">
Resolve described video tab and obtain the broadcast address of objective network video:
http://www.letv.com/movie.mp4
This broadcast address does not meet default condition: the suffix of described broadcast address is .mp4, and this objective network video is order video, and this broadcast address is the address of storage objective network video.
Step S304: call the player in described intelligent television, so that described player obtains and play described objective network video according to described broadcast address.
Call the player in intelligent television, player starts, and can obtain this objective network video, and this video is play according to this broadcast address, has realized the broadcasting to order video.
Above to a kind of network direct broadcasting method and apparatus based on intelligent television provided by the present invention, be described in detail, applied specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications.In sum, this description should not be construed as limitation of the present invention.

Claims (8)

1. the network direct broadcasting method based on intelligent television, is characterized in that, comprising:
According to the solicited message of the request target Internet video receiving, open described objective network video place webpage;
Obtain the video tab of described webpage, and resolve the broadcast address that described video tab obtains objective network video;
Judge whether described broadcast address meets pre-conditioned;
If do not met, call the player in described intelligent television, so that described player obtains and play described objective network video according to described broadcast address;
If met, judge the memory address that described objective network video is play list file as live video and described broadcast address, the true address that obtains described objective network video according to described play list file, described play list file comprises the true address of objective network video;
Call the player in described intelligent television, so that described player obtains and play described objective network video according to described true address.
2. method according to claim 1, is characterized in that, obtains the video tab of described webpage, and resolves the broadcast address that described video tab obtains objective network video, comprising:
Obtain a label at described objective network video place, and according to described a label, get the web page address URL of described objective network video;
According to described URL, load corresponding HTML HTML5 video page, described video page comprises HTML5 video tab;
Call preset function and resolve described HTML5 video tab, obtain the broadcast address of objective network video.
3. method according to claim 1, is characterized in that, obtains the true address of described objective network video according to play list file, comprising:
According to described broadcast address, obtain described play list file;
Call the true address that play list file described in the Streaming Media HLS protocal analysis based on HTML (Hypertext Markup Language) obtains described objective network video.
4. method according to claim 1, is characterized in that, is describedly pre-conditionedly: the suffix of described broadcast address is .m3u8.
5. method according to claim 1, is characterized in that, described playlist is for pointing to the video file index of true broadcast address.
6. the network direct broadcasting device based on intelligent television, is characterized in that, comprising: mixed-media network modules mixed-media, parsing module, judge module, the first calling module, acquisition module and the second calling module;
Wherein,
Described mixed-media network modules mixed-media, for the solicited message of the request target Internet video according to receiving, opens described objective network video place webpage;
Described parsing module, for obtaining the video tab of described webpage, and resolves the broadcast address that described video tab obtains objective network video;
Described judge module, pre-conditioned for judging whether described broadcast address meets; If do not meet, trigger described the first calling module; If met, judge the memory address that described objective network video is play list file as live video and described broadcast address, trigger described acquisition module;
Described the first calling module, for calling the player of described intelligent television, so that described player obtains and play described objective network video according to described broadcast address;
Described acquisition module, for obtain the true address of described objective network video according to described play list file, described play list file comprises the true address of objective network video;
Described the second calling module, for calling the player of described intelligent television, so that described player obtains and play described objective network video according to described true address.
7. device according to claim 6, is characterized in that, described parsing module comprises:
The first acquiring unit, for obtaining a label at described objective network video place, and the described a label of foundation gets the URL of described objective network video;
Loading unit, for loading corresponding HTML5 video page according to described URL, described video page comprises HTML5 video tab;
Call function unit, resolves described HTML5 video tab for calling preset function, obtains the broadcast address of objective network video.
8. device according to claim 6, is characterized in that, described acquisition module comprises:
Second acquisition unit, for obtaining described play list file according to described broadcast address;
Resolution unit, obtains the true address of described objective network video for calling play list file described in HLS protocal analysis.
CN201310530414.0A 2013-10-30 2013-10-30 Live web casting method and device based on intelligent television Pending CN103561337A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310530414.0A CN103561337A (en) 2013-10-30 2013-10-30 Live web casting method and device based on intelligent television

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310530414.0A CN103561337A (en) 2013-10-30 2013-10-30 Live web casting method and device based on intelligent television

Publications (1)

Publication Number Publication Date
CN103561337A true CN103561337A (en) 2014-02-05

Family

ID=50015468

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310530414.0A Pending CN103561337A (en) 2013-10-30 2013-10-30 Live web casting method and device based on intelligent television

Country Status (1)

Country Link
CN (1) CN103561337A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105262856A (en) * 2015-10-30 2016-01-20 南京秦杜明视信息技术有限公司 Network data access encryption system and method
CN105447197A (en) * 2015-12-29 2016-03-30 腾讯科技(深圳)有限公司 Video downloading processing method and device, and intelligent terminal
CN105681912A (en) * 2015-10-16 2016-06-15 乐视致新电子科技(天津)有限公司 Video playing method and device
CN105791971A (en) * 2014-12-26 2016-07-20 深圳Tcl数字技术有限公司 Method and device for switching stream media audios
CN105847877A (en) * 2016-04-20 2016-08-10 乐视控股(北京)有限公司 Processing method and system for live broadcasting request
CN105979407A (en) * 2016-06-01 2016-09-28 无锡天脉聚源传媒科技有限公司 Live streaming playing method and live streaming playing device
CN106162380A (en) * 2015-04-28 2016-11-23 天脉聚源(北京)科技有限公司 A kind of Online Video call method and system
CN107423312A (en) * 2017-03-14 2017-12-01 北京潘达互娱科技有限公司 Live data player method and device
CN108462902A (en) * 2018-03-29 2018-08-28 上海七牛信息技术有限公司 A kind of media file read method and device, multimedia play system
CN111064973A (en) * 2019-11-28 2020-04-24 湖北工业大学 Live broadcast system based on IPV9
CN112714334A (en) * 2020-12-30 2021-04-27 广州方硅信息技术有限公司 Music gift presenting method and device, equipment and medium thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060036610A1 (en) * 2004-08-13 2006-02-16 Reallusion Inc. File conversion and sharing system and the method of the same
CN102118428A (en) * 2010-12-29 2011-07-06 天脉聚源(北京)传媒科技有限公司 Method and system for playing streaming media
CN102523248A (en) * 2011-11-24 2012-06-27 深圳市万兴软件有限公司 Method, client and server for playing webpage flash video
CN102843614A (en) * 2012-07-27 2012-12-26 优视科技有限公司 Streaming media display method and equipment and system
CN102857797A (en) * 2012-04-12 2013-01-02 天脉聚源(北京)传媒科技有限公司 Background control method and system for video playing
CN103079089A (en) * 2012-12-27 2013-05-01 合一网络技术(北京)有限公司 Device and method for dynamically generating ts file by utilizing video file

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060036610A1 (en) * 2004-08-13 2006-02-16 Reallusion Inc. File conversion and sharing system and the method of the same
CN102118428A (en) * 2010-12-29 2011-07-06 天脉聚源(北京)传媒科技有限公司 Method and system for playing streaming media
CN102523248A (en) * 2011-11-24 2012-06-27 深圳市万兴软件有限公司 Method, client and server for playing webpage flash video
CN102857797A (en) * 2012-04-12 2013-01-02 天脉聚源(北京)传媒科技有限公司 Background control method and system for video playing
CN102843614A (en) * 2012-07-27 2012-12-26 优视科技有限公司 Streaming media display method and equipment and system
CN103079089A (en) * 2012-12-27 2013-05-01 合一网络技术(北京)有限公司 Device and method for dynamically generating ts file by utilizing video file

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105791971A (en) * 2014-12-26 2016-07-20 深圳Tcl数字技术有限公司 Method and device for switching stream media audios
CN106162380A (en) * 2015-04-28 2016-11-23 天脉聚源(北京)科技有限公司 A kind of Online Video call method and system
CN105681912A (en) * 2015-10-16 2016-06-15 乐视致新电子科技(天津)有限公司 Video playing method and device
CN105262856A (en) * 2015-10-30 2016-01-20 南京秦杜明视信息技术有限公司 Network data access encryption system and method
CN105447197A (en) * 2015-12-29 2016-03-30 腾讯科技(深圳)有限公司 Video downloading processing method and device, and intelligent terminal
CN105447197B (en) * 2015-12-29 2021-09-28 腾讯科技(深圳)有限公司 Video downloading processing method and device and intelligent terminal
CN105847877A (en) * 2016-04-20 2016-08-10 乐视控股(北京)有限公司 Processing method and system for live broadcasting request
CN105979407A (en) * 2016-06-01 2016-09-28 无锡天脉聚源传媒科技有限公司 Live streaming playing method and live streaming playing device
CN107423312A (en) * 2017-03-14 2017-12-01 北京潘达互娱科技有限公司 Live data player method and device
CN107423312B (en) * 2017-03-14 2021-04-23 北京龙之心科技有限公司 Live broadcast data playing method and device
CN108462902A (en) * 2018-03-29 2018-08-28 上海七牛信息技术有限公司 A kind of media file read method and device, multimedia play system
CN111064973A (en) * 2019-11-28 2020-04-24 湖北工业大学 Live broadcast system based on IPV9
CN112714334A (en) * 2020-12-30 2021-04-27 广州方硅信息技术有限公司 Music gift presenting method and device, equipment and medium thereof
CN112714334B (en) * 2020-12-30 2022-12-02 广州方硅信息技术有限公司 Music gift giving method and device, equipment and medium thereof

Similar Documents

Publication Publication Date Title
CN103561337A (en) Live web casting method and device based on intelligent television
US11076178B2 (en) Media content redirection
CN103546821A (en) Method and device for regulating video playing interface
AU2010294783B2 (en) Method and device for providing complementary information
CN102594915B (en) Browser-based media play system and method
CN104539977A (en) Live broadcast previewing method and device
KR20110010052A (en) Method and apparatus of client capable of accessing broadcasting network and internet network for receiving application
CN103533428A (en) Method for releasing intelligent terminal webpage video to television for broadcasting and intelligent terminal
CN103826159A (en) M3U8 format video local offline play method and terminal
CN101505409B (en) Method for playing mobile multimedia broadcast program through browser and terminal thereof
US20160294903A1 (en) Method and device for pushing resources to mobile communication terminal by smart television
CN112468839B (en) Playback method, system, device and readable storage medium of live content
CN103747345A (en) Method and equipment for video playing of intelligent televisions
US20130254806A1 (en) System and Method for Displaying a Media Program Stream on Mobile Devices
CN112449250B (en) Method, device, equipment and medium for downloading video resources
CN104951504A (en) Webpage processing method and system
CN114679621A (en) Video display method and device and terminal equipment
US20140208352A1 (en) Flash video enabler for ios devices
CN112565877B (en) Screen projection method and system, electronic equipment and storage medium
CN103747280A (en) Method for creating a program and device thereof
US10708336B2 (en) System and method for announcing media changes
CN101808218A (en) Method, device and system for acquiring and updating content of electronic program guide
CN104079990A (en) Video playing method, browser and downloading tool
CN104077117A (en) Information processing method and control point equipment
CN101800884A (en) Information issuing method, television terminal and information issuing system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140205