Summary of the invention
In view of this, the invention provides a kind of method and device thereof that utilizes intelligent television to carry out audio frequency and video broadcasting, its audio-video frequency content that can realize in the webpage that computer is browsed without computer installation webpage parsing software is play.
The invention provides a kind of method of utilizing intelligent television to carry out audio frequency and video broadcasting, be applied to intelligent television, described method comprises:
Access one comprises the local area network (LAN) of computer, and described computer is preserved the URL(uniform resource locator) of its browsing page;
By described local area network communication mechanism, receive the URL(uniform resource locator) of the webpage of described computer transmission;
Preserve and resolve the URL(uniform resource locator) of the webpage receiving, play audio-video frequency content corresponding to described URL(uniform resource locator).
Further, access one of the present invention comprises the local area network (LAN) of computer, and the URL(uniform resource locator) that described computer is preserved its browsing page also comprises:
As described in local area network (LAN) adopt Transmission Control Protocol, set up TCP between described intelligent television and described computer and connect.
Further, local area network communication mechanism of the present invention is the URL(uniform resource locator) that receives the webpage of described computer transmission using described intelligent television as hypertext transfer protocol server.
Further, URL(uniform resource locator) of the present invention comprises: the specific address of storing audio-video frequency content on host-host protocol, server ip address, server network port numbers and server.
Further, the URL(uniform resource locator) of the webpage that preservation of the present invention parsing receive, play audio-video frequency content corresponding to described URL(uniform resource locator) and comprise:
Preserve the URL(uniform resource locator) of the webpage of described computer transmission;
According to described URL(uniform resource locator), obtain the server of audio-video frequency content storage and the specific address on server;
Start playout software, according to the server of audio-video frequency content storage and the specific address playing audio-video content on server.
The present invention also provides a kind of device that utilizes intelligent television to carry out audio frequency and video broadcasting, is applied to intelligent television, it is characterized in that, described device comprises:
Access module, for accessing a local area network (LAN) that comprises computer, described computer is preserved the URL(uniform resource locator) of its browsing page;
Receiver module, for receiving the URL(uniform resource locator) of the webpage of described computer transmission by described local area network communication mechanism;
Playing module, for preserving and resolve the URL(uniform resource locator) of the webpage receiving, plays audio-video frequency content corresponding to described URL(uniform resource locator).
Further, access module of the present invention is also for when described local area network (LAN) adopts Transmission Control Protocol, and the TCP setting up between described intelligent television and described computer connects.
Further, local area network communication mechanism of the present invention is the URL(uniform resource locator) that receives the webpage of described computer transmission using described intelligent television as hypertext transfer protocol server.
Further, URL(uniform resource locator) of the present invention comprises: the specific address of storing audio-video frequency content on host-host protocol, server ip address, server network port numbers and server.
Further, playing module of the present invention comprises:
Storage unit, for preserving the URL(uniform resource locator) of the webpage that described computer sends;
Acquiring unit, for obtaining the server of audio-video frequency content storage and the specific address on server according to described URL(uniform resource locator);
Output unit, for starting playout software, according to the server of audio-video frequency content storage and the specific address output sound video content on server.
From above technical scheme, with passing through computer analyzing webpage in prior art, compare in the address that obtains audio-video frequency content, and the present invention directly sends to intelligent television by the URL(uniform resource locator) of computer browsing page by local area network communication mechanism.Like this, the present invention is resolved the address of audio-video frequency content in the webpage receiving, playing audio-video content by intelligent television.Therefore, computer of the present invention only needs the URL(uniform resource locator) that sends browsing page to intelligent television, and computer, without the tool software that webpage parsing is installed, takies the resource of computer.
Embodiment
The present invention directly sends to intelligent television by the URL(uniform resource locator) of computer browsing page by local area network communication mechanism.Like this, the present invention is resolved the address of audio-video frequency content in the webpage receiving, playing audio-video content by intelligent television.Therefore, computer of the present invention only needs the URL(uniform resource locator) that sends browsing page to intelligent television, and computer, without the tool software that webpage parsing is installed, takies the resource of computer.
By following examples, further illustrate realization of the present invention.
Embodiment mono-
The invention provides a kind of method of utilizing intelligent television to carry out audio frequency and video broadcasting, be applied to intelligent television.
Particularly, intelligent television of the present invention generally includes main control chip, internal memory, backlit display and sound equipment.Intelligent television output sound video content of the present invention is to call by main control chip the playout software being stored in internal memory, controls backlit display output sound video content and sound equipment outputting audio data, and the audio-video frequency content that completes this intelligent television is play.
Referring to Fig. 1, method comprises:
S1, access one comprise the local area network (LAN) of computer, and computer is preserved the URL(uniform resource locator) of its browsing page.
Local area network (LAN) (Local Area Network, LAN) be in a local geographic range (in a school, factory and office), generally that in several kms of circumference,, by various computers, external equipment and database link up mutually the computer communication network of composition.It can pass through data communication network or exclusive data circuit, is connected with local area network (LAN), database or the processing center in a distant place, forms an information processing system in a big way.The functions such as local area network (LAN) can realize that file management, application software are shared, sharing printer, scanner are shared, schedule, Email and facsimile service in working group.
In the concrete application scenarios of the present invention, this local area network (LAN) is a family lan.This local area network (LAN) is by router connecting Internet, the data that send by the Internet reception server.Computer of the present invention, by router game server, carries out browsing of webpage, and preserves the URL(uniform resource locator) of institute's browsing page.
Further, step S1 of the present invention also comprises:
If this local area network (LAN) adopts TCP(Transmission Control Protocol, transmission control protocol), the TCP setting up between intelligent television and computer connects.
Conventionally the process of setting up TCP connection between intelligent television and computer is as follows:
Computer sends request packet to intelligent television, and whether inquiry can send data to intelligent television.
Intelligent television sends the response data bag that comprises its IP address and port to computer, the data that expression can receiving computer sends.
Computer sends the request data package that is about to send data to intelligent television, notice intelligent television prepares to receive data.
Whether be specially computer Ping order carrys out between test computer and intelligent television TCP and connects normal.Application form: Ping+IP address.This order can also add many parameters to be used, such as tcp port etc.According to the testing result of carrying out Ping order, determine whether normal the TCP between computer and intelligent television connects.
In addition, if this local area network (LAN) adopts UDP(User Data Protocol, User Datagram Protoco (UDP)), computer without setting up the connection between computer and intelligent television as Transmission Control Protocol, and computer directly sends data to intelligent television.Because UDP not be used in before datagram, set up a connection between computer and intelligent television, and there is no the mechanism such as overtime repeating transmission, so transmission speed very soon still, computer sends data by udp protocol to intelligent television and easily causes data packet loss.Therefore, local area network (LAN) of the present invention preferably adopts Transmission Control Protocol.
The URL(uniform resource locator) of S2, the webpage that sends by local area network communication mechanism receiving computer.
Further, local area network communication mechanism of the present invention is the URL(uniform resource locator) of the webpage of transmission using intelligent television as hypertext transfer protocol server receiving computer.
Hypertext transfer protocol server (http server) is exactly web page server, Website server, and client can send to mail http server.The present invention receives the URL(uniform resource locator) of webpage using intelligent television as http server, computer is as the client of communicating by letter with intelligent television.Thereby, realize computer the URL(uniform resource locator) of webpage sent to intelligent television.The URL(uniform resource locator) of the webpage sending intelligent television as hypertext transfer protocol server receiving computer is a kind of network communication mechanism easy and that communication efficiency is high that arranges as local area network communication mechanism.
In addition, local area network communication mechanism of the present invention can also adopt Bonjour(zero configuration networking) etc. other agreements, communication mechanism that local area network (LAN) adopts is not as the present invention's restriction.
Further, URL(uniform resource locator) can comprise: the specific address of storing audio-video frequency content on host-host protocol, server ip address, server network port numbers and server.For example: http://zh.wikipedia.org:80/w/index.php title=Special:%E9%9A%8F%E6%9C%BA%E9%A1%B5%E9%9D%A2 & printable=yes; Wherein http is agreement; Zh.wikipedia.org is server ip address; 80, be the network terminal slogan on server; / w/index.php is the specific address of storing audio-video frequency content on server.
URL(uniform resource locator) (URL, Uniform Resource Locator) is the position of the resource to obtaining from the Internet and a kind of succinct expression of access method, is the address of standard resource on the Internet.Each file on the Internet has a unique URL, and the information that it comprises points out how the position of file and browser should process it.
S3, webpage corresponding to parsing URL(uniform resource locator), the address of audio-video frequency content in acquisition webpage.
Particularly, the present invention resolves the HTML (HTML) of webpage corresponding to URL(uniform resource locator), and for example URL(uniform resource locator) is:
http://video.sina.com.cn/vlist/news/zt/changesanhao/#121776402;
The HTML of its corresponding webpage is:
Because above-mentioned webpage is except audio-video frequency content, also comprise a lot of ad contents, the present invention resolves the address of above-mentioned HTML acquisition audio-video frequency content.This parsing can be used existing software to realize, as ViDown, large mouse etc.Particularly, the address of the audio-video frequency content in above-mentioned webpage is:
http://119.188.72.54/4/edge.v.iask.com/121795818.hlv?KID=sina,viask&Expires=1387296000&ssig=AU4ufv%2FXN2&sid=121795818_1387196290642_1932_44493&skiprd=2&0.597951375413686&corp=1。
S4, startup playout software, playing audio-video content.
Particularly, step S4 of the present invention comprises:
Start playout software, according to the address of audio-video frequency content, online playing audio-video content.
The present invention can start the existing audio frequency and video playout software of its installation as PPS, a sudden peal of thunder, QQ player etc., according to the address of audio-video frequency content, and direct-on-line playing audio-video content.
Or step S4 of the present invention comprises:
According to the address of audio-video frequency content, download audio-video frequency content.
Start playout software, play the audio-video frequency content of downloading.
Intelligent television of the present invention can, according to the address of audio-video frequency content, download to audio-video frequency content in intelligent television internal memory.Intelligent television of the present invention starts the existing audio frequency and video playout software of its installation as the audio-video frequency content of the broadcasting downloads such as PPS, a sudden peal of thunder, QQ player.
Therefore, intelligent television of the present invention obtains behind the address of audio-video frequency content, can start the online playing audio-video content of playout software, also audio-video frequency content can be downloaded to after intelligent television, starts playout software and plays the audio-video frequency content after downloading.
Computer of the present invention only sends the URL(uniform resource locator) of institute's browsing page to intelligent television, carries out webpage resolve the address that obtains audio-video frequency content in webpage by intelligent television, is carried out the broadcasting of audio-video frequency content by intelligent television.Therefore, computer of the present invention does not carry out the broadcasting of audio-video frequency content,, without webpage analytical tool is installed, only needs to install the softwares such as simple browser plug-in yet.
Embodiment bis-
Corresponding to said method, the present invention also provides a kind of device of intelligent television web displaying, is applied to intelligent television.Particularly, intelligent television of the present invention generally includes main control chip, internal memory, backlit display and sound equipment.Intelligent television output sound video content of the present invention is to call by main control chip the playout software being stored in internal memory, controls backlit display output sound video content and sound equipment outputting audio data, and the audio-video frequency content that completes this intelligent television is play.
Referring to Fig. 2, device is stored in internal memory with form of software, and it logically comprises:;
Access module 21, for accessing a local area network (LAN) that comprises computer, computer is preserved the URL(uniform resource locator) of its browsing page.
In the concrete application scenarios of the present invention, this local area network (LAN) is a family lan.This local area network (LAN) is by router connecting Internet, the data that send by the Internet reception server.The URL(uniform resource locator) of intelligent television browsing page is downloaded and preserved to computer of the present invention, by router access the Internet.
Further, access module 21 of the present invention is also for when local area network (LAN) adopts Transmission Control Protocol, and the TCP setting up between intelligent television and computer connects.
Conventionally between intelligent television and computer, set up TCP and connect, thus accuracy and the integrality of assurance transfer of data.
Whether be specially computer Ping order carrys out between test computer and intelligent television TCP and connects normal.According to the testing result of carrying out Ping order, determine whether normal the TCP between computer and intelligent television connects.
In addition, if this local area network (LAN) adopts UDP(User Data Protocol, User Datagram Protoco (UDP)), computer without setting up the connection between computer and intelligent television as Transmission Control Protocol, and computer directly sends data to intelligent television.Because UDP not be used in before datagram, set up a connection between computer and intelligent television, and there is no the mechanism such as overtime repeating transmission, so transmission speed very soon still, computer sends data by udp protocol to intelligent television and easily causes data packet loss.Therefore, local area network (LAN) of the present invention preferably adopts Transmission Control Protocol.
Receiver module 22, for the URL(uniform resource locator) of the webpage by the transmission of local area network communication mechanism receiving computer.
Further, local area network communication mechanism of the present invention is the URL(uniform resource locator) of the webpage of transmission using intelligent television as hypertext transfer protocol server receiving computer.
The present invention receives the URL(uniform resource locator) of webpage using intelligent television as http server, computer is as the client of communicating by letter with intelligent television.Thereby, realize computer web displaying bag sent to intelligent television.
Parsing module 23, for resolving webpage corresponding to URL(uniform resource locator), obtains the address of audio-video frequency content in webpage.
Playing module 24, for starting playout software, playing audio-video content.
Further, playing module 24 of the present invention comprises:
Online broadcast unit, for starting playout software, according to the address of audio-video frequency content, online playing audio-video content.
The present invention can start the existing audio frequency and video playout software of its installation as PPS, a sudden peal of thunder, QQ player etc., according to the address of audio-video frequency content, and direct-on-line playing audio-video content.
Further, playing module 24 of the present invention comprises:
Downloading data unit, for according to the address of audio-video frequency content, downloads audio-video frequency content;
Downloading and playing unit, for starting playout software, plays the audio-video frequency content of downloading.
Intelligent television of the present invention can, according to the address of audio-video frequency content, download to audio-video frequency content in intelligent television internal memory.Intelligent television of the present invention starts the existing audio frequency and video playout software of its installation as the audio-video frequency content of the broadcasting downloads such as PPS, a sudden peal of thunder, QQ player.
Therefore, intelligent television of the present invention obtains behind the address of audio-video frequency content, can start the online playing audio-video content of playout software, also audio-video frequency content can be downloaded to after intelligent television, starts playout software and plays the audio-video frequency content after downloading.
Computer of the present invention only sends the URL(uniform resource locator) of institute's browsing page to intelligent television, carries out webpage resolve the address that obtains audio-video frequency content in webpage by intelligent television, is carried out the broadcasting of audio-video frequency content by intelligent television.Therefore, computer of the present invention does not carry out the broadcasting of audio-video frequency content,, without webpage analytical tool is installed, only needs to install the softwares such as simple browser plug-in yet.
These are only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, be equal to replacement, improvement etc., within all should being included in the scope of protection of the invention.