Summary of the invention
Embodiment of the present invention technical problem to be solved is, provide a kind of audio frequency and video of Digital Television to share method, terminal and system, can configure http server at receiving terminal for digital television, effectively realize the audio frequency and video of the shared Digital Television of mobile terminal, and with low cost, simple to operate.
In order to solve the problems of the technologies described above, the embodiment of the present invention provides a kind of audio frequency and video of Digital Television to share method, comprising:
By digital television signal changing into stream medium file;
Generate the rendition list according to described files in stream media, wherein said the rendition list comprises the files in stream media sign of at least one files in stream media;
Send described the rendition list to mobile terminal;
Obtain the described mobile terminal object flow media file sign selected according to described the rendition list;
The object flow media file sign selected according to described mobile terminal sends corresponding object flow media file.
Further, described digital television signal changing into stream medium file is comprised:
Described digital television signal is carried out to scramble process;
By the described digital television signal changing into stream medium file through scramble process.
Further, the described the rendition list of described transmission also comprised to mobile terminal:
The configuration http server;
The described the rendition list of described transmission to mobile terminal comprises:
Obtain the web access request of described mobile terminal to the rendition list page according to described http server, by described http server, to described mobile terminal, send the rendition list in described the rendition list page.
Further, the described described mobile terminal object flow media file sign selected according to described the rendition list of obtaining comprises:
Obtain by described http server the download stream media file instruction that described mobile terminal sends according to described the rendition list, the instruction of described download stream media file comprises described object flow media file sign.
Correspondingly, the embodiment of the present invention also provides a kind of receiving terminal for digital television, comprising:
The files in stream media modular converter, for by digital television signal changing into stream medium file;
The rendition list generation module, generate the rendition list for files in stream media digital television signal converted to according to described files in stream media modular converter, and wherein said the rendition list comprises the files in stream media sign of at least one files in stream media;
The rendition list sending module, for sending the rendition list that described the rendition list generation module generates to mobile terminal;
Object flow media file identifier acquisition module, the selected object flow media file sign of the rendition list sent according to described the rendition list sending module for obtaining described mobile terminal;
Object flow media file sending module, send corresponding object flow media file for the object flow media file sign of obtaining according to described object flow media file identifier acquisition module.
Further, described files in stream media modular converter comprises:
Digital television signal descrambling unit, for carrying out scramble process by described digital television signal;
The files in stream media converting unit, for the digital television signal changing into stream medium file by described process digital television signal descrambling unit scramble process.
Further, described receiving terminal for digital television also comprises:
The server configuration module, for configuring http server;
Described the rendition list sending module comprises:
The access request acquiring unit, obtain the web access request of described mobile terminal to the rendition list page for the http server according to described server configuration module configuration;
The rendition list transmitting element, the web access request for the described mobile terminal that obtains according to described access request acquiring unit to the rendition list page, send the rendition list in described the rendition list page by described http server to described mobile terminal.
Further, described object flow media file identifier acquisition module is used for:
By described http server, obtain the download stream media file instruction of described mobile terminal according to the rendition list transmission of described the rendition list sending module transmission, the instruction of wherein said download stream media file comprises described object flow media file sign.
Correspondingly, the embodiment of the present invention also provides a kind of audio-video sharing system of Digital Television, it is characterized in that, described system at least comprises receiving terminal for digital television and mobile terminal, wherein:
Described receiving terminal for digital television, for by digital television signal changing into stream medium file; Generate the rendition list according to described files in stream media; Send described the rendition list to mobile terminal; Obtain the described mobile terminal object flow media file sign selected according to described the rendition list; The object flow media file sign selected according to described mobile terminal sends corresponding object flow media file;
Described mobile terminal, the rendition list sent for the receiving digital television receiving terminal; According to described the rendition list selected target files in stream media sign; Send described selected object flow media file sign, so that described receiving terminal for digital television sends the corresponding object flow media file of determining according to described object flow media file sign; Receive the corresponding object flow media file of determining according to described object flow media file sign that described receiving terminal for digital television sends.
Implement the embodiment of the present invention, there is following beneficial effect: in the embodiment of the present invention, by digital television signal changing into stream medium file, and generate the rendition list according to this files in stream media.By the http server configured in receiving terminal for digital television, obtain the web access request of mobile terminal to the rendition list page, further by this http server, to mobile terminal, send the rendition list in described the rendition list page.Then obtain by this http server the download stream media file instruction that mobile terminal sends according to described the rendition list, this download stream media file instruction comprises object flow media file sign, thereby sends corresponding object flow media file.Therefore, the embodiment of the present invention can configure http server at receiving terminal for digital television, effectively realizes the audio frequency and video of the shared Digital Television of mobile terminal, and with low cost, simple to operate.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making under the creative work prerequisite the every other embodiment obtained, belong to the scope of protection of the invention.
The audio frequency and video that the invention provides a kind of Digital Television are shared method, terminal and system, can configure http server at receiving terminal for digital television, effectively realize the audio frequency and video of the shared Digital Television of mobile terminal, and with low cost, simple to operate, wherein this mobile terminal need be installed intelligent operating system, and installs for watching browser or the player of digital television program.Below be elaborated respectively.
Fig. 1 is the flow chart that the audio frequency and video of a kind of Digital Television in the embodiment of the present invention are shared method, and the embodiment of the present invention has realized the audio frequency and video secret sharing of Digital Television by the HLS stream media technology.
Described method of the present invention at least comprises as shown in the figure:
Step S101, by digital television signal changing into stream medium file.
In specific implementation, the digital television signal received due to receiving terminal for digital television can not be directly used in the HLS Streaming Media, and receiving terminal for digital television can be first by digital television signal changing into stream medium file.And then described digital television signal passes through scrambling often, receiving terminal for digital television can first carry out scramble process to the digital television signal received, then will convert through the digital television signal of scramble process the data format that the HLS Streaming Media needs to, i.e. files in stream media.
Step S102, generate the rendition list according to described files in stream media.
After digital television signal changing into stream medium file, generate the rendition list according to this files in stream media, wherein said the rendition list comprises the files in stream media sign of at least one files in stream media.And Streaming Media refers to after a series of media data compression, transmit data through network segmentation, audio-visual a kind of technology and the process for viewing and admiring of real-time Transmission on network, receiving terminal for digital television can by the files in stream media that is converted to respectively segmentation save as a plurality of Streaming Media subfiles that HLS needs.And the corresponding subfile sign of distributing of a plurality of Streaming Media subfiles that this segmentation is preserved, thereby obtain the m3u8 index file of corresponding same flow media file, so that, after mobile terminal receives the object flow media file, realize that according to corresponding m3u8 index file the audio frequency and video of Digital Television are shared.And then the Streaming Media subfile that follow-up receiving terminal for digital television can be preserved by the files in stream media that is converted to and segmentation thereof, upgrade described m3u8 index file and the rendition list.
As a kind of optional execution mode, receiving terminal for digital television can be stored to the files in stream media be converted to the internal memory of receiving terminal for digital television, and the Streaming Media subfile that segmentation is preserved adds respectively time marking.When the data volume of the Streaming Media subfile of storage arrives the predetermined threshold value of memory size of receiving terminal for digital television, can be according to time marking, delete in time the Streaming Media subfile the longest with current time interval, and the Streaming Media subfile of preserving according to the files in stream media in current internal memory and segmentation, upgrade corresponding m3u8 index file and the rendition list.Under this mode, files in stream media is stored in the internal memory of receiving terminal for digital television, without extra memory device, and read or write speed is fast.
As a kind of optional execution mode, receiving terminal for digital television can be stored to the files in stream media be converted to external mobile memory device or built-in hard disk.Be stored to the internal memory of receiving terminal for digital television compared to the stream medium data by after conversion, the mode memory consumption that is stored to external mobile memory device or built-in hard disk is few, lower to the memory configurations requirement of receiving terminal for digital television; The memory capacity of external mobile memory device or built-in hard disk is large, can preserve a fairly large number of files in stream media, supports long-time recorded broadcast and live simultaneously.
Step S103, send described the rendition list to mobile terminal.
Current the rendition list is sent to mobile terminal, so that mobile terminal is according to this rendition list selected target files in stream media sign.
Sending the rendition list to before mobile terminal, can configure http server, at receiving terminal for digital television, build http server.Then obtain the web access request of mobile terminal to the rendition list page according to this http server, send the rendition list in the rendition list page by this http server to mobile terminal, wherein this rendition list page refers to receiving terminal for digital television presents current the rendition list by the default http server page with the form of web page.
Wherein, before http server provides the HTTP service, receiving terminal for digital television can be accessed in the middle of family wireless network or receiving terminal for digital television itself provides wireless Wi-Fi(Wireless Fidelity, Wireless Fidelity, a kind of wireless local area network technology based on the IEEE802.11 standard) signal, then mobile terminal is accessed receiving terminal for digital television by Wi-Fi.Receiving terminal for digital television is accessed in the middle of family wireless network, receiving terminal for digital television can access the family wireless routing device by Ethernet interface, make mobile terminal access receiving terminal for digital television by Wi-Fi, do not require that receiving terminal for digital television itself provides wireless network, has reduced the lower deployment cost of receiving terminal for digital television; Receiving terminal for digital television itself provides wireless Wi-Fi signal, and mobile terminal is directly accessed receiving terminal for digital television, and the wireless Wi-Fi signal provided by receiving terminal for digital television itself, can not be subject to the impact of home network environment.
The HTTP service that http server provides can comprise web services and the download service of HLS Streaming Media of being browsed to mobile terminal.If the HTTP service that receiving terminal for digital television provides is to provide the web services of being browsed to mobile terminal, the rendition list, the form by web page offers mobile terminal to receiving terminal for digital television; If the HTTP service that receiving terminal for digital television provides is the download service of HLS Streaming Media, by the HTTP file transfer protocol (FTP), send the HLS Streaming Media.Wherein the HLS Streaming Media comprises object flow media file and corresponding m3u8 index file.
The embodiment of the present invention can be by configure http server in receiving terminal for digital television, rather than dispose special server at digital TV front-end, and implementation cost is lower.
Wherein, the rendition list can comprise live list and recorded broadcast list.The digital television program of the soon current broadcasting of storage of live list offers mobile terminal with the form of list; The recorded broadcast list is about to storage is not that the digital television program of current broadcasting offers mobile terminal with the form of list.And the files in stream media after conversion is stored in the mode of internal memory of receiving terminal for digital television, current the rendition list can only include live list.
Step S104, obtain the described mobile terminal object flow media file sign selected according to described the rendition list.
Send the rendition list to mobile terminal, can obtain the download stream media file instruction that mobile terminal sends according to the rendition list by this http server, wherein the instruction of download stream media file comprises object flow media file sign.
Step S105, the object flow media file sign selected according to described mobile terminal sends corresponding object flow media file.
The object flow media file sign sent according to mobile terminal, send corresponding object flow media file to mobile terminal, so that mobile terminal while wherein sending described object flow media file, carries corresponding m3u8 index file by player or browser direct viewing digital television program.
In the audio frequency and video of the described Digital Television of Fig. 1 are shared method, by digital television signal changing into stream medium file, and generate the rendition list according to this files in stream media.By the http server configured in receiving terminal for digital television, obtain the web access request of mobile terminal to the rendition list page, further by this http server, to mobile terminal, send the rendition list in described the rendition list page.Then obtain by this http server the download stream media file instruction that mobile terminal sends according to described the rendition list, this download stream media file instruction comprises object flow media file sign, thereby sends corresponding object flow media file.Therefore, the embodiment of the present invention can configure http server at receiving terminal for digital television, effectively realizes the audio frequency and video of the shared Digital Television of mobile terminal, and with low cost, simple to operate.
Fig. 2 is the flow chart that the audio frequency and video of another kind of Digital Television in the embodiment of the present invention are shared method, and wherein the sensor data transmission method emphasis shown in Fig. 2 is to describe from the angle of mobile terminal.As shown in Figure 2, the shared method of the audio frequency and video of this Digital Television can comprise the following steps:
Step S201, the rendition list that the receiving digital television receiving terminal sends.
The rendition list that the receiving digital television receiving terminal sends, wherein the rendition list comprises the files in stream media sign of at least one files in stream media.Receiving terminal for digital television can be stored to the files in stream media be converted to internal memory, external mobile memory device or the built-in hard disk of receiving terminal for digital television.If receiving terminal for digital television is stored to the files in stream media be converted to the internal memory of receiving terminal for digital television, this rendition list can only include live list; If receiving terminal for digital television is stored to external mobile memory device or built-in hard disk by the files in stream media be converted to, this rendition list can comprise live list and recorded broadcast list.
In specific implementation, mobile terminal sends the web access request to the rendition list page to http server default in receiving terminal for digital television, and this rendition list page refers to receiving terminal for digital television presents described the rendition list by the default http server page with the form of web page.
The web access request wherein sent the rendition list page has two kinds of modes:
One, the web page that the access receiving terminal for digital television carries.The web page provided by the browser access receiving terminal for digital television that uses self, wherein by the rendition list, the form by web page offers mobile terminal to receiving terminal for digital television, the rendition list therefore can the receiving digital television receiving terminal sent.Adopt this kind of mode, without extra intelligent application is installed, get final product access list.
Two, use corresponding application program.Can be by using the corresponding application program of mobile terminal, directly obtain the rendition list that receiving terminal for digital television provides, can in each access, not input the web page address of receiving terminal for digital television, and then can the object flow media file be presented to the user with more friendly user interface.
After in receiving terminal for digital television, default http server sends the web access request to the rendition list page, the rendition list in the rendition list page that in the receiving digital television receiving terminal, default http server sends.
Step S202, according to described the rendition list selected target files in stream media sign.
After receiving the rendition list of receiving terminal for digital television transmission, according to described the rendition list selected target files in stream media sign, wherein object flow media file sign comprises at least one files in stream media sign.
Step S203, send described selected object flow media file sign to described receiving terminal for digital television.
Send the instruction of download stream media file to default http server in receiving terminal for digital television, wherein the instruction of download stream media file comprises object flow media file sign.
Step S204, receive the corresponding object flow media file of determining according to described object flow media file sign that described receiving terminal for digital television sends.
The corresponding object flow media file of determining according to described object flow media file sign that the receiving digital television receiving terminal sends, wherein also comprise and receive m3u8 index file corresponding to described object flow media file, and watched digital television program by player or browser.
In the audio frequency and video of the described Digital Television of Fig. 2 are shared method, mobile terminal, without other softwares are installed, as long as there is standard browser software just can realize the user in the situation that leave television set, can be watched digital television program in time.And can take a receiving terminal for digital television as the media interaction center, support a plurality of mobile terminals to watch digital television program simultaneously.
Fig. 3 is the flow chart that the audio frequency and video of another kind of Digital Television in the embodiment of the present invention are shared method, and wherein the configuration about server can the arbitrary step before sending the rendition list complete.As shown in Figure 3, the shared method of the audio frequency and video of this Digital Television can comprise the following steps:
Step S301, configuration server.
Receiving terminal for digital television, sending the rendition list to before mobile terminal, can configure http server, at receiving terminal for digital television, builds http server.
Wherein, before http server provides the HTTP service, receiving terminal for digital television can be accessed in the middle of family wireless network or receiving terminal for digital television itself provides wireless Wi-Fi(Wireless Fidelity, Wireless Fidelity, a kind of wireless local area network technology based on the IEEE802.11 standard) signal, then mobile terminal is accessed receiving terminal for digital television by Wi-Fi.Receiving terminal for digital television is accessed in the middle of family wireless network, receiving terminal for digital television can access the family wireless routing device by Ethernet interface, make mobile terminal access receiving terminal for digital television by Wi-Fi, do not require that receiving terminal for digital television itself provides wireless network, has reduced the lower deployment cost of receiving terminal for digital television; Receiving terminal for digital television itself provides wireless Wi-Fi signal, and mobile terminal is directly accessed receiving terminal for digital television, and the wireless Wi-Fi signal provided by receiving terminal for digital television itself, can not be subject to the impact of home network environment.
The HTTP service that http server provides can comprise web services and the download service of HLS Streaming Media of being browsed to mobile terminal.If the HTTP service that receiving terminal for digital television provides is to provide the web services of being browsed to mobile terminal, the rendition list, the form by web page offers mobile terminal to receiving terminal for digital television; If the HTTP service that receiving terminal for digital television provides is the download service of HLS Streaming Media, by the HTTP file transfer protocol (FTP), send the HLS Streaming Media.Wherein the HLS Streaming Media comprises object flow media file and corresponding m3u8 index file.
The embodiment of the present invention can be by configure http server in receiving terminal for digital television, rather than dispose special server at digital TV front-end, and implementation cost is lower.
Step S302, by digital television signal changing into stream medium file.
In specific implementation, the digital television signal received due to receiving terminal for digital television can not be directly used in the HLS Streaming Media, and receiving terminal for digital television can be first by digital television signal changing into stream medium file.And then described digital television signal passes through scrambling often, receiving terminal for digital television can first carry out scramble process to the digital television signal received, then will convert through the digital television signal of scramble process the data format that the HLS Streaming Media needs to, i.e. files in stream media.
Step S303, generate the rendition list according to described files in stream media.
Receiving terminal for digital television, by after digital television signal changing into stream medium file, generates the rendition list according to this files in stream media, and wherein said the rendition list comprises the files in stream media sign of at least one files in stream media.And Streaming Media refers to after a series of media data compression, transmit data through network segmentation, audio-visual a kind of technology and the process for viewing and admiring of real-time Transmission on network, receiving terminal for digital television can save as the files in stream media segmentation be converted to a plurality of Streaming Media subfiles that HLS needs.And the corresponding subfile sign of distributing of a plurality of Streaming Media subfiles that this segmentation is preserved, thereby obtain the m3u8 index file of corresponding same flow media file, so that, after mobile terminal receives the object flow media file, realize that according to corresponding m3u8 index file the audio frequency and video of Digital Television are shared.And then the Streaming Media subfile that follow-up receiving terminal for digital television can be preserved by the files in stream media that is converted to and segmentation thereof, upgrade described m3u8 index file and the rendition list.
As a kind of optional execution mode, receiving terminal for digital television can be stored to the files in stream media be converted to the internal memory of receiving terminal for digital television, and the Streaming Media subfile that segmentation is preserved adds respectively time marking.When the data volume of the Streaming Media subfile of storage arrives the predetermined threshold value of memory size of receiving terminal for digital television, can, according to time marking, delete in time the Streaming Media subfile the longest with current time interval.And the Streaming Media subfile of preserving according to the files in stream media in current internal memory and segmentation, upgrade corresponding m3u8 index file and the rendition list.Under this mode, files in stream media is stored in the internal memory of receiving terminal for digital television, without extra memory device, and read or write speed is fast.
As a kind of optional execution mode, receiving terminal for digital television can be stored to the files in stream media be converted to external mobile memory device or built-in hard disk.And, according to the files in stream media of current preservation, upgrade m3u8 index file and the rendition list.Be stored to the internal memory of receiving terminal for digital television compared to the stream medium data by after conversion, the mode memory consumption that is stored to external mobile memory device or built-in hard disk is few, lower to the memory configurations requirement of receiving terminal for digital television; The memory capacity of external mobile memory device or built-in hard disk is large, can preserve a fairly large number of files in stream media, supports long-time recorded broadcast and live simultaneously.
Step S304, send described the rendition list.
Receiving terminal for digital television is sent to mobile terminal by current the rendition list, so that mobile terminal is according to this rendition list selected target files in stream media sign.
Wherein, the rendition list can comprise live list and recorded broadcast list.The digital television program of the soon current broadcasting of storage of live list offers mobile terminal with the form of list; The recorded broadcast list is about to storage is not that the digital television program of current broadcasting offers mobile terminal with the form of list.And the files in stream media after conversion is stored in the mode of internal memory of receiving terminal for digital television, current the rendition list can only include live list.
Step S305, according to described the rendition list selected target files in stream media sign.
After mobile terminal receives the rendition list of receiving terminal for digital television transmission, according to described the rendition list selected target files in stream media sign, wherein object flow media file sign comprises at least one files in stream media sign.
Step S306, send described selected object flow media file sign.
Mobile terminal sends the instruction of download stream media file to default http server in receiving terminal for digital television, and wherein the instruction of download stream media file comprises object flow media file sign.
Step S307, send corresponding object flow media file according to described object flow media file sign.
After Digital TV Receiving default http server in terminal receives the instruction of download stream media file, according to the object flow media file, identify, send corresponding object flow media file to mobile terminal, wherein also comprise and send m3u8 index file that described object flow media file is corresponding to mobile terminal, so that mobile terminal is by player or browser direct viewing digital television program.
In the audio frequency and video of the described Digital Television of Fig. 3, share in method, receiving terminal for digital television is digital television signal changing into stream medium file, and generates the rendition list according to this files in stream media.By the http server configured in receiving terminal for digital television, obtain the web access request of mobile terminal to the rendition list page, further by this http server, to mobile terminal, send the rendition list in described the rendition list page.Then obtain by this http server the download stream media file instruction that mobile terminal sends according to described the rendition list, this download stream media file instruction comprises object flow media file sign, thereby sends corresponding object flow media file.Therefore, the embodiment of the present invention can configure http server at receiving terminal for digital television, effectively realizes the audio frequency and video of the shared Digital Television of mobile terminal, and with low cost, simple to operate.
Fig. 4 is the structure chart of a kind of receiving terminal for digital television in the embodiment of the present invention.As shown in Figure 4, this receiving terminal for digital television at least can compriseserver configuration module 10, files in stream mediamodular converter 20, the renditionlist generation module 30, the renditionlist sending module 40, object flow media fileidentifier acquisition module 50 and object flow mediafile sending module 60.
Server configuration module 10, for configuring http server.
Send the rendition lists to before mobile terminal at the renditionlist sending module 40, can configure http server, at receiving terminal for digital television, build http server.
Wherein, before http server provides HTTP service, receiving terminal for digital television can be accessed in the middle of family wireless network or receiving terminal for digital television itself provides wireless Wi-Fi signal, then mobile terminal is accessed receiving terminal for digital television by Wi-Fi.Receiving terminal for digital television is accessed in the middle of family wireless network, receiving terminal for digital television can access the family wireless routing device by Ethernet interface, make mobile terminal access receiving terminal for digital television by Wi-Fi, do not require that receiving terminal for digital television itself provides wireless network, has reduced the lower deployment cost of receiving terminal for digital television; Receiving terminal for digital television itself provides wireless Wi-Fi signal, and mobile terminal is directly accessed receiving terminal for digital television, and the wireless Wi-Fi signal provided by receiving terminal for digital television itself, can not be subject to the impact of home network environment.
The HTTP service that http server provides can comprise web services and the download service of HLS Streaming Media of being browsed to mobile terminal.If the HTTP service that receiving terminal for digital television provides is to provide the web services of being browsed to mobile terminal, the rendition list, the form by web page offers mobile terminal to receiving terminal for digital television; If the HTTP service that receiving terminal for digital television provides is the download service of HLS Streaming Media, by the HTTP file transfer protocol (FTP), send the HLS Streaming Media.Wherein the HLS Streaming Media comprises object flow media file and corresponding m3u8 index file.
The embodiment of the present invention can be by configure http server in receiving terminal for digital television, rather than dispose special server at digital TV front-end, and implementation cost is lower.
Files in stream mediamodular converter 20, for by digital television signal changing into stream medium file.
In specific implementation, the digital television signal received due to receiving terminal for digital television can not be directly used in the HLS Streaming Media, and receiving terminal for digital television can be first by digital television signal changing into stream medium file.
As a kind of optional execution mode, the files in stream mediamodular converter 20 in the embodiment of the present invention can as shown in Figure 5, further comprise:
Digital televisionsignal descrambling unit 501, for carrying out scramble process by digital television signal.
It is by changing the characteristic of TV signal, preventing that unauthorized user from receiving television image and sound accompaniment clearly that digital television signal carries out scrambling, therefore will, by before digital signal changing into stream medium file, can carry out scramble process to digital signal.
Files in streammedia converting unit 502, for the digital television signal changing into stream medium file by described process digital televisionsignal descrambling unit 501 scramble process.
To, through the digital television signal of digital televisionsignal descrambling unit 501 scramble process, convert the data format that the HLS Streaming Media needs to, i.e. files in stream media.
The renditionlist generation module 30, generate the rendition list for files in stream media digital television signal converted to according to files in stream mediamodular converter 20, and wherein said the rendition list comprises the files in stream media sign of at least one files in stream media.
And Streaming Media refers to after a series of media data compression, transmit data through network segmentation, audio-visual a kind of technology and the process for viewing and admiring of real-time Transmission on network, receiving terminal for digital television can save as the files in stream media segmentation be converted to a plurality of Streaming Media subfiles that HLS needs.And the corresponding subfile sign of distributing of a plurality of Streaming Media subfiles that this segmentation is preserved, thereby obtain the m3u8 index file of corresponding same flow media file, so that, after mobile terminal receives the object flow media file, realize that according to corresponding m3u8 index file the audio frequency and video of Digital Television are shared.
The renditionlist sending module 40, for sending the rendition list that the renditionlist generation module 30 generates to mobile terminal.
The rendition list after the renditionlist generation module 30 is upgraded is sent to mobile terminal, so that mobile terminal is according to this rendition list selected target files in stream media sign.
Wherein, the rendition list can comprise live list and recorded broadcast list.The digital television program of the soon current broadcasting of storage of live list offers mobile terminal with the form of list; The recorded broadcast list is about to storage is not that the digital television program of current broadcasting offers mobile terminal with the form of list.
As a kind of optional execution mode, the renditionlist sending module 40 in the embodiment of the present invention can as shown in Figure 6, further comprise:
Accessrequest acquiring unit 601, obtain the web access request of mobile terminal to the rendition list page for the http server according to 10 configurations of server configuration module.
The renditionlist transmitting element 602, web access request for the mobile terminal that obtains according to accessrequest acquiring unit 601 to the rendition list page, the http server by 10 configurations of server configuration module sends the rendition list in the rendition list page to mobile terminal.
Object flow media fileidentifier acquisition module 50, the selected object flow media file sign of the rendition list sent according to the renditionlist sending module 40 for obtaining mobile terminal.
Further, object flow media fileidentifier acquisition module 50, for the http server by 10 configurations of server configuration module, obtain the download stream media file instruction of mobile terminal according to the rendition list transmission of the renditionlist sending module 40 transmissions, wherein this download stream media file instruction comprises object flow media file sign.
Object flow mediafile sending module 60, send corresponding object flow media file for the object flow media file sign of obtaining according to object flow media fileidentifier acquisition module 50.
The object flow media file sign of obtaining according to object flow media fileidentifier acquisition module 50, send corresponding object flow media file to mobile terminal, and carry corresponding m3u8 index file, so that mobile terminal is by player or browser direct viewing digital television program.
In Fig. 4, Fig. 5, the described receiving terminal for digital television of Fig. 6, files in stream mediamodular converter 20 is by digital television signal changing into stream medium file, and the renditionlist generation module 30 generates the rendition list according to this files in stream media.Http server by 10 configurations of server configuration module, accessrequest acquiring unit 601 obtains the web access request of mobile terminal to the rendition list page, further by this http server, to mobile terminal, sends the rendition list in described the rendition list page.Then object flow media fileidentifier acquisition module 50 obtains by the http server ofserver configuration module 10 configurations the download stream media file instruction that mobile terminal sends according to described the rendition list, this download stream media file instruction comprises object flow media file sign, thereby object flow mediafile sending module 60 sends corresponding object flow media file.Therefore, the embodiment of the present invention can configure http server at receiving terminal for digital television, effectively realizes the audio frequency and video of the shared Digital Television of mobile terminal, and with low cost, simple to operate.
Fig. 7 is the structure chart of a kind of mobile terminal in the embodiment of the present invention, and the mobile terminal in the embodiment of the present invention at least can comprise the renditionlist receiver module 701, object flow media file sign chosenmodule 702, object flow media filesign sending module 703 and object flow mediafile receiver module 704 as shown in the figure.
The renditionlist receiver module 701, the rendition list sent for the receiving digital television receiving terminal, wherein this rendition list comprises the files in stream media sign of at least one files in stream media.
Receiving terminal for digital television can be stored to the files in stream media be converted to internal memory, external mobile memory device or the built-in hard disk of receiving terminal for digital television.If receiving terminal for digital television is stored to the files in stream media be converted to the internal memory of receiving terminal for digital television, this rendition list can only include live list; If receiving terminal for digital television is stored to external mobile memory device or built-in hard disk by the files in stream media be converted to, this rendition list can comprise live list and recorded broadcast list.
As a kind of optional execution mode, the renditionlist receiver module 701 in the embodiment of the present invention can as shown in Figure 8, further comprise:
Accessrequest transmitting element 801, send the web access request to the rendition list page for the http server default to receiving terminal for digital television.The web access request wherein sent the rendition list page has two kinds of modes:
One, the web page that the access receiving terminal for digital television carries.The web page provided by the browser access receiving terminal for digital television that uses self, wherein by the rendition list, the form by web page offers mobile terminal to receiving terminal for digital television, the rendition list therefore can the receiving digital television receiving terminal sent.Adopt this kind of mode, without extra intelligent application is installed, get final product access list.
Two, use corresponding application program.Can be by using the corresponding application program of mobile terminal, directly obtain the rendition list that receiving terminal for digital television provides, can in each access, not input the web page address of receiving terminal for digital television, and then can the object flow media file be presented to the user with more friendly user interface.
The renditionlist receiving element 802, the web access request of the rendition list page sent for the http server default to receiving terminal for digital television according to accessrequest transmitting element 801, the rendition list in the rendition list page that in the receiving digital television receiving terminal, default http server sends.
Object flow media file sign chosenmodule 702, for the rendition list selected target files in stream media sign received according to the renditionlist receiver module 701.
After the renditionlist receiver module 701 receives the rendition list of receiving terminal for digital television transmission, object flow media file sign chosenmodule 702 identifies according to described the rendition list selected target files in stream media, and wherein object flow media file sign comprises at least one files in stream media sign.
Object flow media filesign sending module 703, for sending the selected object flow media file sign of object flow media file sign chosenmodule 702, so that receiving terminal for digital television sends the corresponding object flow media file of determining according to this object flow media file sign.
In specific implementation, object flow media filesign sending module 703 sends the instructions of download stream media file to default http server in receiving terminal for digital television, and wherein the instruction of download stream media file comprises object flow media file sign.
Object flow mediafile receiver module 704, the corresponding object flow media file that the object flow media file sign sent according to object flow media filesign sending module 703 sent for the receiving digital television receiving terminal is determined, wherein also comprise and receive m3u8 index file corresponding to described object flow media file.
It should be noted that, in the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, there is no the part of describing in detail in certain embodiment, can be referring to the associated description of other embodiment.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
Method, the Apparatus and system of the above sensing data transmission that the embodiment of the present invention is provided are 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; , 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 simultaneously.