WO2015035742A1 - Method, terminal and system for audio and video sharing of digital television - Google Patents

Method, terminal and system for audio and video sharing of digital television Download PDF

Info

Publication number
WO2015035742A1
WO2015035742A1 PCT/CN2014/070511 CN2014070511W WO2015035742A1 WO 2015035742 A1 WO2015035742 A1 WO 2015035742A1 CN 2014070511 W CN2014070511 W CN 2014070511W WO 2015035742 A1 WO2015035742 A1 WO 2015035742A1
Authority
WO
WIPO (PCT)
Prior art keywords
streaming media
media file
program list
digital television
mobile terminal
Prior art date
Application number
PCT/CN2014/070511
Other languages
French (fr)
Chinese (zh)
Inventor
梁敏
王晓晖
Original Assignee
深圳市创维软件有限公司
深圳创维数字技术股份有限公司
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 深圳市创维软件有限公司, 深圳创维数字技术股份有限公司 filed Critical 深圳市创维软件有限公司
Publication of WO2015035742A1 publication Critical patent/WO2015035742A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • H04L12/2812Exchanging configuration information on appliance services in a home automation network describing content present in a home automation network, e.g. audio video content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/283Processing of data at an internetworking point of a home automation network
    • H04L12/2836Protocol conversion between an external network and a home network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L2012/2847Home automation networks characterised by the type of home appliance used
    • H04L2012/2849Audio/video appliances

Definitions

  • Audio and video sharing method terminal and system for digital television
  • the present invention relates to the field of digital televisions, and in particular, to an audio and video sharing method, terminal and system for digital television. Background technique
  • Multi-screen interaction refers to multimedia (audio, video, picture) content on different multimedia terminals via Wi-Fi (Wireless Fidelity, a wireless LAN technology based on IEEE802.il standard)
  • Wi-Fi Wireless Fidelity, a wireless LAN technology based on IEEE802.il standard
  • a series of operations such as transmission, parsing, display, and control can share presentation content on different platform devices simultaneously.
  • HLS HTTP real-time streaming, an HTTP-based streaming media network transport protocol
  • HTTP-based HTTP-based (Hyper Text Transfer). Protocol, Hypertext Transfer Protocol) files to download, only download some at a time.
  • the client can choose to download the same resources at different rates from many different alternate sources, allowing the streaming session to adapt to different data rates.
  • the client downloads an extended M3U (m3u8) playlist (Extended M3U (m3u8) Playlist) file containing the source data for finding available media streams.
  • M3U extended M3U
  • playlist Extended M3U (m3u8) Playlist
  • the technical problem to be solved by the embodiments of the present invention is to provide an audio and video sharing method, a terminal and a system for a digital television, and an HTTP server can be configured in the digital television receiving terminal, thereby effectively realizing the audio and video sharing of the digital television by the mobile terminal, and the cost Low cost and easy to operate.
  • an embodiment of the present invention provides a method for sharing audio and video of a digital television, including:
  • Converting a digital television signal into a streaming media file Generating a program list according to the streaming media file, wherein the program list includes a streaming media file identifier of at least one streaming media file;
  • converting the digital television signal into a streaming media file includes:
  • the method further includes:
  • the sending the program list to the mobile terminal includes:
  • the obtaining, by the mobile terminal, the target streaming media file identifier selected according to the program list comprises:
  • the embodiment of the present invention further provides a digital television receiving terminal, including: a streaming media file conversion module, configured to convert a digital television signal into a streaming media file; and a program list generating module, configured to use the streaming media file according to the streaming media file
  • the conversion module generates a program list by converting the digital television signal into a streaming media file, where the program list includes a streaming media file identifier of the at least one streaming media file;
  • a program list sending module configured to send the program list generated by the program list generating module to the mobile terminal
  • a target streaming media file identifier obtaining module configured to acquire a target streaming media file identifier selected by the mobile terminal according to the program list sent by the program list sending module;
  • a target streaming media file sending module configured to obtain, according to the target streaming media file identifier acquiring module
  • the target streaming media file identifier is sent to send the corresponding target streaming media file.
  • the streaming media file conversion module includes:
  • a digital television signal descrambling unit configured to perform descrambling processing on the digital television signal
  • a streaming media file converting unit configured to convert the digital television signal descrambled by the digital television signal descrambling unit into a streaming media file .
  • the digital television receiving terminal further includes:
  • the program list sending module includes:
  • An access request obtaining unit configured to obtain, according to the HTTP server configured by the server configuration module, a web access request of the mobile terminal to a program list page;
  • a program list sending unit configured to send, according to the web access request of the mobile terminal to the program list page acquired by the access request acquiring unit, the program list in the program list page to be sent to the mobile terminal by using the HTTP server.
  • target streaming media file identifier obtaining module is configured to:
  • an embodiment of the present invention further provides an audio and video sharing system for a digital television, wherein the system includes at least a digital television receiving terminal and a mobile terminal, where:
  • the digital television receiving terminal is configured to convert the digital television signal into a streaming media file; generate a program list according to the streaming media file; send the program list to the mobile terminal; and obtain, according to the program list, the mobile terminal a target streaming media file identifier; sending a corresponding target streaming media file according to the target streaming media file identifier selected by the mobile terminal;
  • the mobile terminal is configured to receive a program list sent by the digital television receiving terminal; select a target streaming media file identifier according to the program list; and send the selected target streaming media file identifier to enable the digital television receiving terminal And sending a corresponding target streaming media file determined according to the target streaming media file identifier; and receiving a corresponding target streaming media file determined by the digital television receiving terminal according to the target streaming media file identifier.
  • the embodiments of the present invention have the following beneficial effects:
  • the digital television signal is used in the embodiment of the present invention. Converted to a streaming media file and a list of programs generated from the streaming media file.
  • the web server configured in the digital television receiving terminal obtains a web access request of the mobile terminal to the program list page, and further sends the program list in the program list page to the mobile terminal through the HTTP server.
  • the downloading streaming media file instruction sent by the mobile terminal according to the program list is obtained by the HTTP server, and the downloaded streaming media file instruction includes the target streaming media file identifier, thereby transmitting the corresponding target streaming media file. Therefore, the embodiment of the present invention can configure an HTTP server in the digital television receiving terminal, effectively implementing the audio and video sharing of the digital television by the mobile terminal, and the cost is low and the operation is simple.
  • FIG. 1 is a flowchart of a method for sharing audio and video of a digital television according to an embodiment of the present invention
  • FIG. 2 is a flowchart of another method for sharing audio and video of a digital television according to an embodiment of the present invention
  • FIG. 4 is a structural diagram of a digital television receiving terminal according to an embodiment of the present invention
  • FIG. 5 is a structural diagram of a streaming media file conversion module of FIG. 4 according to an embodiment of the present invention.
  • FIG. 6 is a structural diagram of a program list sending module of FIG. 4 according to an embodiment of the present invention.
  • FIG. 7 is a structural diagram of a mobile terminal in an embodiment of the present invention.
  • FIG 8 is a structural diagram of the program list receiving module of Figure 7 in the embodiment of the present invention. detailed description
  • the invention provides an audio and video sharing method, terminal and system for digital television, which can be digitally
  • the HTTP server is configured to effectively share the audio and video of the digital TV, and the operation is simple.
  • the mobile terminal needs to install a smart operating system and install a browser or player for watching digital television programs. . The details are described below separately.
  • FIG. 1 is a flowchart of a method for sharing audio and video of a digital television according to an embodiment of the present invention.
  • the embodiment of the present invention implements an audio and video sharing scheme for digital television through HLS streaming media technology.
  • the method of the present invention as illustrated includes at least:
  • Step S101 Convert the digital television signal into a streaming media file.
  • the digital television receiving terminal may first convert the digital television signal into a streaming media file. Further, the digital television signal is often scrambled, and the digital television receiving terminal may first perform descrambling processing on the received digital television signal, and then convert the descrambled digital television signal into a data format required by the HLS streaming media. , that is, streaming media files.
  • Step S102 Generate a program list according to the streaming media file.
  • a program listing is generated based on the streaming media file, wherein the program listing includes a streaming media file identification of the at least one streaming media file.
  • Streaming media refers to a technology and process of compressing a series of media data and transmitting data through a network segment to transmit audio and video in real time on the network for viewing.
  • the digital television receiving terminal can separately divide the converted streaming media files. The segment is saved as multiple streaming subfiles required by HLS.
  • the plurality of streaming media subfiles saved in the segment are corresponding to the subfile identifiers, so that the m3u8 index file corresponding to the same streaming media file is obtained, so that after the mobile terminal receives the target streaming media file, the mobile terminal implements the corresponding m3u8 index file. Audio and video sharing of digital television. Further, the subsequent digital television receiving terminal can update the m3u8 index file and the program list by converting the obtained streaming media file and the segmented saved streaming media subfile.
  • the digital television receiving terminal may store the converted streaming media file in a memory of the digital television receiving terminal, and add a time identifier to the segmented saved streaming media subfile.
  • the streaming media subfile with the longest interval between the current time interval may be deleted according to the time identifier, and according to the current in-memory stream.
  • the media file and the segmented saved streaming subfile update the corresponding m3u8 index file and program list. In this mode, the streaming media file is stored to the end of the digital television reception. In the memory of the end, no additional storage devices are required, and the reading and writing speed is fast.
  • the digital television receiving terminal can store the converted streaming media file to an external mobile storage device or an internal hard disk.
  • the method of storing to the external mobile storage device or the internal hard disk has less memory consumption, and the memory configuration requirement of the digital television receiving terminal is lower; the external mobile storage device Or the built-in hard disk has a large storage capacity, and can store a large number of streaming media files, and supports long-time recording and live broadcast.
  • Step S103 Send the program list to the mobile terminal.
  • the current program listing is transmitted to the mobile terminal to cause the mobile terminal to select the target streaming media file identification based on the program listing.
  • the HTTP server Before sending the program list to the mobile terminal, the HTTP server can be configured, that is, the HTTP server is set up at the digital television receiving terminal. Then, according to the HTTP server, the web access request of the mobile terminal to the program list page is obtained, and the program list in the program list page is sent to the mobile terminal by the HTTP server, where the program list page refers to the digital TV receiving terminal through the preset HTTP server. A page that presents the current program listing in the form of a web page.
  • the digital television receiving terminal Before the HTTP server provides the HTTP service, the digital television receiving terminal can be connected to the home wireless network or the digital television receiving terminal itself can provide wireless Wi-Fi (Wireless Fidelity, a wireless LAN based on the IEEE802.il standard). The technology) signal, and then the mobile terminal accesses the digital television receiving terminal via Wi-Fi.
  • the digital television receiving terminal is connected to the home wireless network, and the digital television receiving terminal can access the home wireless routing device through the Ethernet interface, so that the mobile terminal accesses the digital television receiving terminal through the Wi-Fi, and does not require the digital television receiving terminal to provide the wireless itself.
  • the network reduces the deployment cost of the digital television receiving terminal; the digital television receiving terminal itself provides a wireless Wi-Fi signal, and the mobile terminal directly accesses the digital television receiving terminal, and the wireless Wi-Fi signal provided by the terminal itself through the digital television can be The impact of the home network environment.
  • the HTTP service provided by the HTTP server may include a web service for browsing the mobile terminal and an HLS streaming download service. If the HTTP service provided by the digital television receiving terminal is a web service provided to the mobile terminal for browsing, that is, the digital television receiving terminal provides the program list to the mobile terminal in the form of a web page; if the HTTP service provided by the digital television receiving terminal is an HLS stream
  • the media download service, that is, the HLS streaming media is sent through the HTTP file transfer protocol.
  • HLS streaming media Includes target streaming media files and corresponding m3u8 index files.
  • the embodiment of the present invention can implement an HTTP server in a digital television receiving terminal instead of deploying a dedicated server in the front end of the digital television, and the implementation cost is low.
  • the program list may include a live list and a recorded list.
  • the currently played digital television program to be stored in the live broadcast list is provided to the mobile terminal in the form of a list; the digital television program not to be currently stored in the recording list is provided to the mobile terminal in the form of a list.
  • the current program list may only include the live broadcast list.
  • Step S104 Obtain a target streaming media file identifier selected by the mobile terminal according to the program list.
  • the downloading streaming media file instruction sent by the mobile terminal according to the program list may be obtained by the HTTP server, where the download streaming media file instruction includes the target streaming media file identifier.
  • Step S105 Send a corresponding target streaming media file according to the target streaming media file identifier selected by the mobile terminal.
  • the mobile terminal Sending, according to the target streaming media file identifier sent by the mobile terminal, the corresponding target streaming media file to the mobile terminal, so that the mobile terminal directly views the digital television program through the player or the browser, and when the target streaming media file is sent, carrying the corresponding M3u8 index file.
  • the digital television signal is converted into a streaming media file, and a program list is generated based on the streaming media file.
  • the web server configured in the digital television receiving terminal obtains a web access request of the mobile terminal to the program list page, and further sends the program list in the program list page to the mobile terminal through the HTTP server.
  • the downloading streaming media file command sent by the mobile terminal according to the program list is obtained through the HTTP server, and the downloaded streaming media file instruction includes the target streaming media file identifier, thereby transmitting the corresponding target streaming media file. Therefore, the embodiment of the present invention can configure an HTTP server in the digital television receiving terminal to effectively realize the audio and video sharing of the digital television by the mobile terminal, and the cost is low and the operation is simple.
  • Step S201 Receive a program list sent by the digital television receiving terminal.
  • the digital television receiving terminal can store the converted streaming media file to the memory of the digital television receiving terminal, an external mobile storage device or an internal hard disk. If the digital television receiving terminal stores the converted streaming media file in the memory of the digital television receiving terminal, the program list may only include the live broadcast list; if the digital television receiving terminal stores the converted streaming media file to the external mobile storage device or With a built-in hard disk, the program list can include a live list and a recorded list.
  • the mobile terminal sends a web access request to the program list page to the HTTP server preset in the digital television receiving terminal, where the program list page refers to the digital television receiving terminal using the preset HTTP server to list the program as a web.
  • the page rendered in the form of a page.
  • the web page provided by the digital television receiving terminal is accessed by using its own browser, wherein the digital television receiving terminal provides the program list to the mobile terminal in the form of a web page, and thus can receive the program list transmitted by the digital television receiving terminal. In this way, you can access the list without installing additional smart applications.
  • the program list provided by the digital television receiving terminal can be directly obtained by using the corresponding application of the mobile terminal, and the web page address of the digital television receiving terminal can be not input at each access, and the target can be set with a more friendly user interface.
  • the streaming media file is presented to the user.
  • the program list in the program list page transmitted by the preset HTTP server in the digital television receiving terminal is received.
  • Step S202 Select a target streaming media file identifier according to the program list.
  • the target streaming media file identifier After receiving the program list sent by the digital television receiving terminal, the target streaming media file identifier is selected according to the program list, wherein the target streaming media file identifier includes at least one streaming media file identifier.
  • Step S203 Send the selected target streaming media file identifier to the digital television receiving terminal.
  • Step S204 Receive a corresponding target streaming media file determined by the digital television receiving terminal according to the target streaming media file identifier.
  • the mobile terminal does not need to install other software, and as long as the standard browser software is available, the user can watch the digital television program in time while leaving the television.
  • a digital television receiving terminal can be used as a media interaction center, and multiple mobile terminals can be simultaneously watched to watch digital television programs.
  • FIG. 3 is a flow chart of another method for sharing audio and video of a digital television in an embodiment of the present invention, wherein the configuration regarding the server can be completed at any step before the program list is transmitted.
  • the audio and video sharing method of the digital television may include the following steps:
  • Step S301 configuring the server.
  • the digital television receiving terminal can configure the HTTP server before sending the program list to the mobile terminal, that is, constructing an HTTP server at the digital television receiving terminal.
  • the digital television receiving terminal Before the HTTP server provides the HTTP service, the digital television receiving terminal can be connected to the home wireless network or the digital television receiving terminal itself can provide wireless Wi-Fi (Wireless Fidelity, a wireless LAN based on the IEEE802.il standard). The technology) signal, and then the mobile terminal accesses the digital television receiving terminal via Wi-Fi.
  • the digital television receiving terminal is connected to the home wireless network, and the digital television receiving terminal can access the home wireless routing device through the Ethernet interface, so that the mobile terminal accesses the digital television receiving terminal through the Wi-Fi, and does not require the digital television receiving terminal to provide the wireless itself.
  • the network reduces the deployment cost of the digital television receiving terminal; the digital television receiving terminal itself provides a wireless Wi-Fi signal, and the mobile terminal directly accesses the digital television receiving terminal, and the wireless Wi-Fi signal provided by the terminal itself through the digital television can be The impact of the home network environment.
  • the HTTP service provided by the HTTP server may include a web service for browsing the mobile terminal and an HLS streaming download service. If the HTTP service provided by the digital television receiving terminal is a web service provided to the mobile terminal for browsing, that is, the digital television receiving terminal provides the program list to the mobile terminal in the form of a web page; if the HTTP service provided by the digital television receiving terminal is an HLS stream
  • the media download service, that is, the HLS streaming media is sent through the HTTP file transfer protocol.
  • HLS streaming media Includes target streaming media files and corresponding m3u8 index files.
  • the embodiment of the present invention can implement an HTTP server in a digital television receiving terminal instead of deploying a dedicated server in the front end of the digital television, and the implementation cost is low.
  • Step S302 converting the digital television signal into a streaming media file.
  • the digital television signal received by the digital television receiving terminal cannot be directly used.
  • digital TV receiving terminals can first convert digital TV signals into streaming media files. Further, the digital television signal is often scrambled, and the digital television receiving terminal may first perform descrambling processing on the received digital television signal, and then convert the descrambled digital television signal into a data format required by the HLS streaming media. , that is, streaming media files.
  • Step S303 Generate a program list according to the streaming media file.
  • a program list is generated based on the streaming media file, wherein the program listing includes a streaming media file identifier of the at least one streaming media file.
  • Streaming media refers to a technique and process of compressing a series of media data, transmitting data through a network segment, and transmitting audio and video in real time on the network for viewing.
  • the digital television receiving terminal can segment the converted streaming media file. Save as multiple streaming subfiles required by HLS.
  • the plurality of streaming media subfiles saved in the segment are corresponding to the subfile identifiers, so that the m3u8 index file corresponding to the same streaming media file is obtained, so that the mobile terminal receives the target streaming media file, and implements according to the corresponding m3u8 index file. Audio and video sharing of digital television. Further, the subsequent digital television receiving terminal may update the m3u8 index file and the program list by converting the obtained streaming media file and the segmented saved streaming media subfile.
  • the digital television receiving terminal may store the converted streaming media file into the memory of the digital television receiving terminal, and add time identification to the segmented saved streaming media subfile.
  • the streaming media sub-file with the longest interval from the current time interval may be deleted in time according to the time identifier. And updating the corresponding m3u8 index file and program list according to the current streaming media file in the memory and the streamed sub-file saved in the segment.
  • the streaming media file is stored in the memory of the digital television receiving terminal, no additional storage device is required, and the reading and writing speed is fast.
  • the digital television receiving terminal may store the converted streaming media file to an external mobile storage device or an internal hard disk. And update according to the currently saved streaming media file. M3u8 index file and program list.
  • the method of storing to the external mobile storage device or the internal hard disk has less memory consumption, and the memory configuration requirement of the digital television receiving terminal is lower; the external mobile storage device Or the built-in hard disk has a large storage capacity, and can store a large number of streaming media files, and supports long-time recording and live broadcast.
  • Step S304 sending the program list.
  • the digital television receiving terminal transmits the current program list to the mobile terminal to cause the mobile terminal to select the target streaming media file identifier based on the program list.
  • the program list may include a live list and a recorded list.
  • the currently played digital television program to be stored in the live broadcast list is provided to the mobile terminal in the form of a list; the digital television program not to be currently stored in the recording list is provided to the mobile terminal in the form of a list.
  • the current program list may only include the live broadcast list.
  • Step S305 Select a target streaming media file identifier according to the program list.
  • the mobile terminal After receiving the program list sent by the digital television receiving terminal, the mobile terminal selects the target streaming media file identifier according to the program list, wherein the target streaming media file identifier includes at least one streaming media file identifier.
  • Step S306 Send the selected target streaming media file identifier.
  • the mobile terminal sends a download streaming file command to a preset HTTP server in the digital television receiving terminal, wherein the download streaming media file instruction includes a target streaming media file identifier.
  • Step S307 Send a corresponding target streaming media file according to the target streaming media file identifier.
  • the preset HTTP server received by the digital television receives the corresponding target streaming media file to the mobile terminal according to the target streaming media file identifier, and further includes sending the corresponding target streaming media file.
  • the m3u8 indexes the file to the mobile terminal, so that the mobile terminal directly views the digital television program through the player or the browser.
  • the digital television receiving terminal converts the digital television signal into a streaming media file, and generates a program list based on the streaming media file.
  • the web server configured in the digital television receiving terminal obtains a web access request of the mobile terminal to the program list page, and further sends the program list in the program list page to the mobile terminal through the HTTP server. And then obtaining, by the HTTP server, the mobile terminal to send according to the program list.
  • the streaming media file instruction, the download streaming media file instruction includes a target streaming media file identifier, thereby transmitting a corresponding target streaming media file. Therefore, embodiments of the present invention can be configured in a digital television receiving terminal
  • the HTTP server effectively realizes the sharing of audio and video of the digital TV by the mobile terminal, and the cost is low and the operation is simple.
  • the digital television receiving terminal may at least include a server configuration module 10, a streaming media file conversion module 20, a program list generation module 30, a program list sending module 40, a target streaming media file identifier obtaining module 50, and a target streaming media.
  • File sending module 60 may be included in the digital television receiving terminal.
  • the server configuration module 10 is configured to configure an HTTP server.
  • the HTTP server can be configured, that is, the HTTP server is set up at the digital television receiving terminal.
  • the digital television receiving terminal can access the home wireless network or the digital television receiving terminal itself provides the wireless Wi-Fi signal, and then the mobile terminal accesses the digital television receiving terminal through the Wi-Fi.
  • the digital television receiving terminal is connected to the home wireless network, and the digital television receiving terminal can access the home wireless routing device through the Ethernet interface, so that the mobile terminal accesses the digital television receiving terminal through Wi-Fi, and does not require the digital television receiving terminal itself to provide wireless
  • the network reduces the deployment cost of the digital television receiving terminal; the digital television receiving terminal itself provides a wireless Wi-Fi signal, and the mobile terminal directly accesses the digital television receiving terminal, and the wireless Wi-Fi signal provided by the terminal itself through the digital television can be The impact of the home network environment.
  • the HTTP service provided by the HTTP server may include a web service for browsing the mobile terminal and an HLS streaming download service. If the HTTP service provided by the digital television receiving terminal is a web service provided to the mobile terminal for browsing, that is, the digital television receiving terminal provides the program list to the mobile terminal in the form of a web page; if the HTTP service provided by the digital television receiving terminal is an HLS stream
  • the media download service, that is, the HLS streaming media is sent through the HTTP file transfer protocol.
  • the HLS streaming media includes the target streaming media file and the corresponding m3u8 cable I file.
  • the embodiment of the present invention can implement an HTTP server in a digital television receiving terminal instead of deploying a dedicated server in the front end of the digital television, and the implementation cost is low.
  • the streaming media file conversion module 20 is configured to convert the digital television signal into a streaming media file.
  • the digital television signal received by the digital television receiving terminal cannot be directly used.
  • HLS streaming media, digital TV receiving terminals can first convert digital television signals into streaming media files.
  • the streaming media file conversion module 20 in the embodiment of the present invention may further include:
  • the digital television signal descrambling unit 501 is configured to perform descrambling processing on the digital television signal.
  • Digital TV signals are scrambled by changing the characteristics of the TV signal to prevent unauthorized users from receiving clear TV images and accompanying sounds. Therefore, digital signals can be descrambled before being converted into streaming media files.
  • the streaming media file conversion unit 502 is configured to convert the digital television signal descrambled by the digital television signal descrambling unit 501 into a streaming media file.
  • the digital television signal descrambled by the digital television signal descrambling unit 501 is converted into a data format required for the HLS streaming media, that is, a streaming media file.
  • the program list generating module 30 is configured to generate a program list according to the streaming media file into which the streaming media file conversion module 20 converts the digital television signal, wherein the program list includes a streaming media file identifier of the at least one streaming media file.
  • Streaming media refers to a technology and process of compressing a series of media data, transmitting data through a network segment, and transmitting audio and video in real time on the network for viewing.
  • the digital television receiving terminal can segment the converted streaming media file. Save as multiple streaming subfiles required by HLS. And the plurality of streaming media subfiles saved in the segment are corresponding to the subfile identifiers, so that the m3u8 index file corresponding to the same streaming media file is obtained, so that after the mobile terminal receives the target streaming media file, the mobile terminal implements the corresponding m3u8 index file. Audio and video sharing of digital television.
  • the program list sending module 40 is configured to send the program list generated by the program list generating module 30 to the mobile terminal.
  • the updated program list is transmitted to the mobile terminal by the program list generating module 30 to cause the mobile terminal to select the target streaming media file identifier based on the program list.
  • the program list may include a live list and a recorded list.
  • the currently played digital television program to be stored in the live broadcast list is provided to the mobile terminal in the form of a list; the digital television program not to be currently stored in the recording list is provided to the mobile terminal in the form of a list.
  • the program list sending module 40 in the embodiment of the present invention may further include:
  • the access request obtaining unit 601 is configured to obtain, according to the HTTP server configured by the server configuration module 10, the web access request of the mobile terminal to the program list page.
  • the program list sending unit 602 is configured to send the program list in the program list page to the mobile terminal by using the HTTP server configured by the server configuration module 10 according to the web access request of the mobile terminal to the program list page acquired by the access request acquiring unit 601.
  • the target streaming media file identifier obtaining module 50 is configured to obtain a target streaming media file identifier selected by the mobile terminal according to the program list sent by the program list sending module 40.
  • the target streaming media file identifier obtaining module 50 is configured to obtain, by using an HTTP server configured by the server configuration module 10, a download streaming media file command sent by the mobile terminal according to the program list sent by the program list sending module 40, where the download streaming media
  • the file instructions include the target streaming media file identifier.
  • the target streaming media file sending module 60 is configured to send a corresponding target streaming media file according to the target streaming media file identifier obtained by the target streaming media file identifier obtaining module 50.
  • the streaming media file converting module 20 converts the digital television signal into a streaming media file
  • the program list generating module 30 generates a program list based on the streaming media file.
  • the access request obtaining unit 601 obtains a web access request of the mobile terminal to the program list page, and further transmits the program list in the program list page to the mobile terminal through the HTTP server.
  • the target streaming media file identifier obtaining module 50 obtains the download streaming media file command sent by the mobile terminal according to the program list by using the HTTP server configured by the server configuration module 10, where the downloaded streaming media file instruction includes the target streaming media file identifier, thereby the target stream.
  • the media file sending module 60 sends the corresponding target streaming media file. Therefore, the embodiment of the present invention can configure an HTTP server in the digital television receiving terminal to effectively realize the audio and video sharing of the digital television by the mobile terminal, and the cost is low and the operation is simple.
  • FIG. 7 is a structural diagram of a mobile terminal according to an embodiment of the present invention.
  • the mobile terminal in the embodiment of the present invention may include at least a program list receiving module 701, a target streaming media file identifier selecting module 702, and a target streaming media.
  • the program list receiving module 701 is configured to receive a program list sent by the digital television receiving terminal, where the program list includes a streaming media file identifier of the at least one streaming media file.
  • the digital television receiving terminal can store the converted streaming media file to the memory of the digital television receiving terminal, an external mobile storage device or an internal hard disk. If the digital television receiving terminal stores the converted streaming media file in the memory of the digital television receiving terminal, the program list may only include the live broadcast list; if the digital television receiving terminal stores the converted streaming media file to the external mobile storage device or With a built-in hard disk, the program list can include a live list and a recorded list.
  • the program list receiving module 701 in the embodiment of the present invention may further include:
  • the access request sending unit 801 is configured to send a web access request to the program list page to the HTTP server preset in the digital television receiving terminal. There are two ways to send a web access request to a program listing page:
  • the web page provided by the digital television receiving terminal is accessed by using its own browser, wherein the digital television receiving terminal provides the program list to the mobile terminal in the form of a web page, and thus can receive the program list transmitted by the digital television receiving terminal. In this way, you can access the list without installing additional smart applications.
  • the program list provided by the digital television receiving terminal can be directly obtained by using the corresponding application of the mobile terminal, and the web page address of the digital television receiving terminal can be not input at each access, and the target can be set with a more friendly user interface.
  • the streaming media file is presented to the user.
  • the program list receiving unit 802 is configured to receive, according to the web access request of the program list page sent by the access request sending unit 801 to the HTTP server preset in the digital television receiving terminal, the program list sent by the HTTP server preset in the digital television receiving terminal. A list of programs on the page.
  • the target streaming media file identifier selection module 702 is configured to select a target streaming media file identifier according to the program list received by the program list receiving module 701.
  • the target streaming media file identifier selecting module 702 selects the target streaming media file identifier according to the program list, wherein the target streaming media file identifier includes at least one streaming media. File identification.
  • Block 702 selects a target streaming media file identifier to cause the digital television receiving terminal to transmit a corresponding target streaming media file determined according to the target streaming media file identifier.
  • the target streaming media file identifier sending module 703 sends a download streaming media file command to a preset HTTP server in the digital television receiving terminal, wherein the download streaming media file command includes a target streaming media file identifier.
  • the target streaming media file receiving module 704 is configured to receive, by the digital television receiving terminal, a corresponding target streaming media file determined according to the target streaming media file identifier sent by the target streaming media file identifier sending module 703, where the method further includes receiving the target stream.

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

An embodiment of the present invention discloses a method for audio and video sharing of a digital television. The method comprises: converting a digital television signal into a stream media file; converting a digital television signal into a stream media file; generating a program list according to the stream media file, the program list comprising an stream media file identification of at least one stream media file; sending the program list to a mobile terminal; obtaining a target stream media file identification selected by the mobile terminal according to the program list; and sending a corresponding target stream media file according to the target stream media file identification selected by the mobile terminal. Embodiments of the present invention also disclose a digital television receiving terminal and a system for audio and video sharing of a digital television. In the present invention, an HTTP server can be configured at a digital television receiving terminal, it can be effectively achieved that a mobile terminal shares the audio and the video of the digital television, and the cost is low, and operations are simple.

Description

一种数字电视的音视频共享方法、 终端及系统 技术领域  Audio and video sharing method, terminal and system for digital television
本发明涉及数字电视机领域, 尤其涉及一种数字电视的音视频共享方法、 终端及系统。 背景技术  The present invention relates to the field of digital televisions, and in particular, to an audio and video sharing method, terminal and system for digital television. Background technique
多屏互动指的是, 通过 Wi-Fi ( Wireless Fidelity, 无线保真, 一种基于 IEEE802.i l 标准的无线局域网技术) 网络连接, 在不同多媒体终端上可进行 多媒体(音频, 视频, 图片 )内容的传输、 解析、展示以及控制等一系列操作, 可以在不同平台设备上同时共享展示内容。  Multi-screen interaction refers to multimedia (audio, video, picture) content on different multimedia terminals via Wi-Fi (Wireless Fidelity, a wireless LAN technology based on IEEE802.il standard) A series of operations such as transmission, parsing, display, and control can share presentation content on different platform devices simultaneously.
多屏互动的实现需要流媒体技术, 而 HLS ( Http Live Streaming, HTTP 实时流,一种基于 HTTP的流媒体网络传输协议 )的工作原理是把整个流分成 一个个小的基于 HTTP ( Hyper Text Transfer Protocol, 超文本传送协议 ) 的文 件来下载, 每次只下载一些。 当媒体流正在播放时, 客户端可以选择从许多不 同的备用源中以不同的速率下载同样的资源,允许流媒体会话适应不同的数据 速率。 在开始一个流媒体会话时, 客户端会下载一个包含源数据的扩展 M3U(m3u8 )播放列表( Extended M3U (m3u8) Playlist )文件, 用于寻找可用 的媒体流。 现有技术中, 一般都是实现智能移动设备之间的多媒体内容共享, 不能够实现智能移动设备共享数字电视的音视频。 发明内容  The implementation of multi-screen interaction requires streaming media technology, and HLS (Http Live Streaming, HTTP real-time streaming, an HTTP-based streaming media network transport protocol) works by dividing the entire stream into small HTTP-based (Hyper Text Transfer). Protocol, Hypertext Transfer Protocol) files to download, only download some at a time. While the media stream is playing, the client can choose to download the same resources at different rates from many different alternate sources, allowing the streaming session to adapt to different data rates. When starting a streaming session, the client downloads an extended M3U (m3u8) playlist (Extended M3U (m3u8) Playlist) file containing the source data for finding available media streams. In the prior art, multimedia content sharing between smart mobile devices is generally implemented, and audio and video sharing of digital television by smart mobile devices cannot be realized. Summary of the invention
本发明实施例所要解决的技术问题在于,提供一种数字电视的音视频共享 方法、 终端及系统, 可在数字电视接收终端配置 HTTP服务器, 有效地实现移 动终端共享数字电视的音视频, 并且成本低廉, 操作简单。  The technical problem to be solved by the embodiments of the present invention is to provide an audio and video sharing method, a terminal and a system for a digital television, and an HTTP server can be configured in the digital television receiving terminal, thereby effectively realizing the audio and video sharing of the digital television by the mobile terminal, and the cost Low cost and easy to operate.
为了解决上述技术问题,本发明实施例提供了一种数字电视的音视频共享 方法, 包括:  In order to solve the above technical problem, an embodiment of the present invention provides a method for sharing audio and video of a digital television, including:
将数字电视信号转换成流媒体文件; 根据所述流媒体文件生成节目列表,其中所述节目列表包括至少一个流媒 体文件的流媒体文件标识; Converting a digital television signal into a streaming media file; Generating a program list according to the streaming media file, wherein the program list includes a streaming media file identifier of at least one streaming media file;
发送所述节目列表至移动终端;  Sending the program list to the mobile terminal;
获取所述移动终端根据所述节目列表选定的目标流媒体文件标识; 根据所述移动终端选定的目标流媒体文件标识发送相应的目标流媒体文 件。  Obtaining a target streaming media file identifier selected by the mobile terminal according to the program list; and transmitting a corresponding target streaming media file according to the target streaming media file identifier selected by the mobile terminal.
进一步的, 所述将数字电视信号转换成流媒体文件包括:  Further, converting the digital television signal into a streaming media file includes:
将所述数字电视信号进行解扰处理;  Performing descrambling processing on the digital television signal;
将所述经过解扰处理的数字电视信号转换成流媒体文件。  Converting the descrambled digital television signal into a streaming media file.
进一步的, 所述发送所述节目列表至移动终端之前还包括:  Further, before the sending the program list to the mobile terminal, the method further includes:
配置 HTTP服务器;  Configure the HTTP server;
所述发送所述节目列表至移动终端包括:  The sending the program list to the mobile terminal includes:
根据所述 HTTP服务器获取所述移动终端对节目列表页面的 web访问请 求,通过所述 HTTP服务器向所述移动终端发送所述节目列表页面中的节目列 表。  And obtaining, by the HTTP server, a web access request of the mobile terminal to the program list page, and sending, by the HTTP server, the program list in the program list page to the mobile terminal.
进一步的,所述获取所述移动终端根据所述节目列表选定的目标流媒体文 件标识包括:  Further, the obtaining, by the mobile terminal, the target streaming media file identifier selected according to the program list comprises:
通过所述 HTTP服务器获取所述移动终端根据所述节目列表发送的下载 流媒体文件指令, 所述下载流媒体文件指令包括所述目标流媒体文件标识。  Obtaining, by the HTTP server, a download streaming media file instruction sent by the mobile terminal according to the program list, where the download streaming media file instruction includes the target streaming media file identifier.
相应地, 本发明实施例还提供了一种数字电视接收终端, 包括: 流媒体文件转换模块, 用于将数字电视信号转换成流媒体文件; 节目列表生成模块,用于根据所述流媒体文件转换模块将数字电视信号转 换成的流媒体文件生成节目列表,其中所述节目列表包括至少一个流媒体文件 的流媒体文件标识;  Correspondingly, the embodiment of the present invention further provides a digital television receiving terminal, including: a streaming media file conversion module, configured to convert a digital television signal into a streaming media file; and a program list generating module, configured to use the streaming media file according to the streaming media file The conversion module generates a program list by converting the digital television signal into a streaming media file, where the program list includes a streaming media file identifier of the at least one streaming media file;
节目列表发送模块,用于发送所述节目列表生成模块生成的节目列表至移 动终端;  a program list sending module, configured to send the program list generated by the program list generating module to the mobile terminal;
目标流媒体文件标识获取模块,用于获取所述移动终端根据所述节目列表 发送模块发送的节目列表选定的目标流媒体文件标识;  a target streaming media file identifier obtaining module, configured to acquire a target streaming media file identifier selected by the mobile terminal according to the program list sent by the program list sending module;
目标流媒体文件发送模块,用于根据所述目标流媒体文件标识获取模块获 取的目标流媒体文件标识发送相应的目标流媒体文件。 a target streaming media file sending module, configured to obtain, according to the target streaming media file identifier acquiring module The target streaming media file identifier is sent to send the corresponding target streaming media file.
进一步的, 所述流媒体文件转换模块包括:  Further, the streaming media file conversion module includes:
数字电视信号解扰单元, 用于将所述数字电视信号进行解扰处理; 流媒体文件转换单元,用于将所述经过数字电视信号解扰单元解扰处理的 数字电视信号转换成流媒体文件。  a digital television signal descrambling unit, configured to perform descrambling processing on the digital television signal; and a streaming media file converting unit, configured to convert the digital television signal descrambled by the digital television signal descrambling unit into a streaming media file .
进一步的, 所述数字电视接收终端还包括:  Further, the digital television receiving terminal further includes:
服务器配置模块, 用于配置 HTTP服务器;  a server configuration module for configuring an HTTP server;
所述节目列表发送模块包括:  The program list sending module includes:
访问请求获取单元,用于根据所述服务器配置模块配置的 HTTP服务器获 取所述移动终端对节目列表页面的 web访问请求;  An access request obtaining unit, configured to obtain, according to the HTTP server configured by the server configuration module, a web access request of the mobile terminal to a program list page;
节目列表发送单元,用于根据所述访问请求获取单元获取的所述移动终端 对节目列表页面的 web访问请求, 通过所述 HTTP服务器向所述移动终端发 送所述节目列表页面中的节目列表。  And a program list sending unit, configured to send, according to the web access request of the mobile terminal to the program list page acquired by the access request acquiring unit, the program list in the program list page to be sent to the mobile terminal by using the HTTP server.
进一步的, 所述目标流媒体文件标识获取模块用于:  Further, the target streaming media file identifier obtaining module is configured to:
通过所述 HTTP服务器,获取所述移动终端根据所述节目列表发送模块发 送的节目列表发送的下载流媒体文件指令,其中所述下载流媒体文件指令包括 所述目标流媒体文件标识。  Obtaining, by the HTTP server, a download streaming media file instruction sent by the mobile terminal according to the program list sent by the program list sending module, wherein the download streaming media file instruction includes the target streaming media file identifier.
相应地, 本发明实施例还提供了一种数字电视的音视频共享系统, 其特征 在于, 所述系统至少包括数字电视接收终端和移动终端, 其中:  Correspondingly, an embodiment of the present invention further provides an audio and video sharing system for a digital television, wherein the system includes at least a digital television receiving terminal and a mobile terminal, where:
所述数字电视接收终端, 用于将数字电视信号转换成流媒体文件;根据所 述流媒体文件生成节目列表; 发送所述节目列表至移动终端; 获取所述移动终 端根据所述节目列表选定的目标流媒体文件标识;根据所述移动终端选定的目 标流媒体文件标识发送相应的目标流媒体文件;  The digital television receiving terminal is configured to convert the digital television signal into a streaming media file; generate a program list according to the streaming media file; send the program list to the mobile terminal; and obtain, according to the program list, the mobile terminal a target streaming media file identifier; sending a corresponding target streaming media file according to the target streaming media file identifier selected by the mobile terminal;
所述移动终端, 用于接收数字电视接收终端发送的节目列表; 根据所述节 目列表选定目标流媒体文件标识; 发送所述选定的目标流媒体文件标识, 以使 所述数字电视接收终端发送根据所述目标流媒体文件标识确定的相应的目标 流媒体文件;接收所述数字电视接收终端发送的根据所述目标流媒体文件标识 确定的相应的目标流媒体文件。  The mobile terminal is configured to receive a program list sent by the digital television receiving terminal; select a target streaming media file identifier according to the program list; and send the selected target streaming media file identifier to enable the digital television receiving terminal And sending a corresponding target streaming media file determined according to the target streaming media file identifier; and receiving a corresponding target streaming media file determined by the digital television receiving terminal according to the target streaming media file identifier.
实施本发明实施例, 具有如下有益效果: 本发明实施例中将数字电视信号 转换成流媒体文件, 并根据该流媒体文件生成节目列表。通过数字电视接收终 端中配置的 HTTP服务器, 获取移动终端对节目列表页面的 web访问请求, 进一步的通过该 HTTP服务器向移动终端发送所述节目列表页面中的节目列 表。然后通过该 HTTP服务器获取移动终端根据所述节目列表发送的下载流媒 体文件指令, 该下载流媒体文件指令包括目标流媒体文件标识,从而发送相应 的目标流媒体文件。 因此, 本发明实施例可在数字电视接收终端配置 HTTP服 务器,有效地实现移动终端共享数字电视的音视频,并且成本低廉,操作简单。 附图说明 The embodiments of the present invention have the following beneficial effects: The digital television signal is used in the embodiment of the present invention. Converted to a streaming media file and a list of programs generated from the streaming media file. The web server configured in the digital television receiving terminal obtains a web access request of the mobile terminal to the program list page, and further sends the program list in the program list page to the mobile terminal through the HTTP server. Then, the downloading streaming media file instruction sent by the mobile terminal according to the program list is obtained by the HTTP server, and the downloaded streaming media file instruction includes the target streaming media file identifier, thereby transmitting the corresponding target streaming media file. Therefore, the embodiment of the present invention can configure an HTTP server in the digital television receiving terminal, effectively implementing the audio and video sharing of the digital television by the mobile terminal, and the cost is low and the operation is simple. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地, 下面描述 中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付 出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图 1是本发明实施例中一种数字电视的音视频共享方法的流程图; 图 2是本发明实施例中另一种数字电视的音视频共享方法的流程图; 图 3是本发明实施例中另一种数字电视的音视频共享方法的流程图; 图 4是本发明实施例中一种数字电视接收终端的结构图;  1 is a flowchart of a method for sharing audio and video of a digital television according to an embodiment of the present invention; FIG. 2 is a flowchart of another method for sharing audio and video of a digital television according to an embodiment of the present invention; A flowchart of an audio and video sharing method of another digital television; FIG. 4 is a structural diagram of a digital television receiving terminal according to an embodiment of the present invention;
图 5是本发明实施例中图 4的流媒体文件转换模块的结构图;  FIG. 5 is a structural diagram of a streaming media file conversion module of FIG. 4 according to an embodiment of the present invention; FIG.
图 6是本发明实施例中图 4的节目列表发送模块的结构图;  6 is a structural diagram of a program list sending module of FIG. 4 according to an embodiment of the present invention;
图 7是本发明实施例中一种移动终端的结构图;  7 is a structural diagram of a mobile terminal in an embodiment of the present invention;
图 8是本发明实施例中图 7的节目列表接收模块的结构图。 具体实施方式  Figure 8 is a structural diagram of the program list receiving module of Figure 7 in the embodiment of the present invention. detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域普通技术人员在没有做出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。  BRIEF DESCRIPTION OF THE DRAWINGS The technical solutions in the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without the creative work are all within the scope of the present invention.
本发明提供了一种数字电视的音视频共享方法、终端及系统, 可在数字电 视接收终端配置 HTTP服务器, 有效地实现移动终端共享数字电视的音视频, 并且成本低廉, 操作简单, 其中该移动终端需安装智能操作系统, 并且安装用 于观看数字电视节目的浏览器或播放器。 以下分别进行详细说明。 The invention provides an audio and video sharing method, terminal and system for digital television, which can be digitally Depending on the receiving terminal, the HTTP server is configured to effectively share the audio and video of the digital TV, and the operation is simple. The mobile terminal needs to install a smart operating system and install a browser or player for watching digital television programs. . The details are described below separately.
图 1是本发明实施例中一种数字电视的音视频共享方法的流程图,本发明 实施例通过 HLS流媒体技术实现了数字电视的音视频共享方案。  FIG. 1 is a flowchart of a method for sharing audio and video of a digital television according to an embodiment of the present invention. The embodiment of the present invention implements an audio and video sharing scheme for digital television through HLS streaming media technology.
如图所示本发明的所述方法至少包括:  The method of the present invention as illustrated includes at least:
步骤 S101 , 将数字电视信号转换成流媒体文件。  Step S101: Convert the digital television signal into a streaming media file.
具体实现中,由于数字电视接收终端接收到的数字电视信号不能直接用于 HLS 流媒体, 数字电视接收终端可以先将数字电视信号转换成流媒体文件。 进而所述数字电视信号往往是经过加扰的,数字电视接收终端可以先对接收到 的数字电视信号进行解扰处理, 然后将经过解扰处理的数字电视信号转换成 HLS流媒体需要的数据格式, 即流媒体文件。  In a specific implementation, since the digital television signal received by the digital television receiving terminal cannot be directly used for the HLS streaming media, the digital television receiving terminal may first convert the digital television signal into a streaming media file. Further, the digital television signal is often scrambled, and the digital television receiving terminal may first perform descrambling processing on the received digital television signal, and then convert the descrambled digital television signal into a data format required by the HLS streaming media. , that is, streaming media files.
步骤 S102, 根据所述流媒体文件生成节目列表。  Step S102: Generate a program list according to the streaming media file.
将数字电视信号转换成流媒体文件之后, 根据该流媒体文件生成节目列 表, 其中所述节目列表包括至少一个流媒体文件的流媒体文件标识。 而流媒体 是指将一连串的媒体数据压缩后, 经过网络分段传送数据,在网络上实时传输 影音以供观赏的一种技术与过程,数字电视接收终端可以将转换得到的流媒体 文件分别分段保存为 HLS需要的多个流媒体子文件。 并且将这分段保存的多 个流媒体子文件对应分配子文件标识, 从而得到对应同一流媒体文件的 m3u8 索引文件, 以使移动终端接收到目标流媒体文件后, 根据相应的 m3u8索引文 件实现数字电视的音视频共享。进而,后续数字电视接收终端可以通过转换得 到的流媒体文件及其分段保存的流媒体子文件, 更新所述 m3u8索引文件和节 目列表。  After converting the digital television signal to a streaming media file, a program listing is generated based on the streaming media file, wherein the program listing includes a streaming media file identification of the at least one streaming media file. Streaming media refers to a technology and process of compressing a series of media data and transmitting data through a network segment to transmit audio and video in real time on the network for viewing. The digital television receiving terminal can separately divide the converted streaming media files. The segment is saved as multiple streaming subfiles required by HLS. And the plurality of streaming media subfiles saved in the segment are corresponding to the subfile identifiers, so that the m3u8 index file corresponding to the same streaming media file is obtained, so that after the mobile terminal receives the target streaming media file, the mobile terminal implements the corresponding m3u8 index file. Audio and video sharing of digital television. Further, the subsequent digital television receiving terminal can update the m3u8 index file and the program list by converting the obtained streaming media file and the segmented saved streaming media subfile.
作为一种可选的实施方式,数字电视接收终端可以将转换得到的流媒体文 件存储至数字电视接收终端的内存,并对分段保存的流媒体子文件分别加上时 间标识。在存储的流媒体子文件的数据量到达数字电视接收终端的内存容量的 预设阈值时, 可以根据时间标识,及时删除与当前时间间隔最长的流媒体子文 件, 并根据当前内存中的流媒体文件和分段保存的流媒体子文件, 更新相应的 m3u8索引文件和节目列表。 该方式下, 将流媒体文件存储至数字电视接收终 端的内存中, 无需额外的存储设备, 并且读写速度快。 As an optional implementation manner, the digital television receiving terminal may store the converted streaming media file in a memory of the digital television receiving terminal, and add a time identifier to the segmented saved streaming media subfile. When the data volume of the stored streaming media subfile reaches a preset threshold of the memory capacity of the digital television receiving terminal, the streaming media subfile with the longest interval between the current time interval may be deleted according to the time identifier, and according to the current in-memory stream. The media file and the segmented saved streaming subfile update the corresponding m3u8 index file and program list. In this mode, the streaming media file is stored to the end of the digital television reception. In the memory of the end, no additional storage devices are required, and the reading and writing speed is fast.
作为一种可选的实施方式,数字电视接收终端可以将转换得到的流媒体文 件存储至外接移动存储设备或内置硬盘。相较于将转换后的流媒体数据存储至 数字电视接收终端的内存,存储至外接移动存储设备或内置硬盘的方式内存消 耗少,对数字电视接收终端的内存配置要求较低; 外接移动存储设备或内置硬 盘的存储容量大,可以保存数量较多的流媒体文件, 同时支持长时间录播和直 播。  As an optional implementation manner, the digital television receiving terminal can store the converted streaming media file to an external mobile storage device or an internal hard disk. Compared with storing the converted streaming media data into the memory of the digital television receiving terminal, the method of storing to the external mobile storage device or the internal hard disk has less memory consumption, and the memory configuration requirement of the digital television receiving terminal is lower; the external mobile storage device Or the built-in hard disk has a large storage capacity, and can store a large number of streaming media files, and supports long-time recording and live broadcast.
步骤 S103 , 发送所述节目列表至移动终端。  Step S103: Send the program list to the mobile terminal.
将当前节目列表发送至移动终端,以使移动终端根据该节目列表选定目标 流媒体文件标识。  The current program listing is transmitted to the mobile terminal to cause the mobile terminal to select the target streaming media file identification based on the program listing.
在发送节目列表至移动终端之前, 可以配置 HTTP服务器, 即在数字电视 接收终端搭建 HTTP服务器。然后根据该 HTTP服务器获取移动终端对节目列 表页面的 web访问请求, 通过该 HTTP服务器向移动终端发送节目列表页面 中的节目列表, 其中该节目列表页面是指数字电视接收终端通过预设的 HTTP 服务器将当前节目列表以 web页面的形式呈现的页面。  Before sending the program list to the mobile terminal, the HTTP server can be configured, that is, the HTTP server is set up at the digital television receiving terminal. Then, according to the HTTP server, the web access request of the mobile terminal to the program list page is obtained, and the program list in the program list page is sent to the mobile terminal by the HTTP server, where the program list page refers to the digital TV receiving terminal through the preset HTTP server. A page that presents the current program listing in the form of a web page.
其中, HTTP服务器提供 HTTP服务之前, 可以将数字电视接收终端接入 家庭无线网络当中或者数字电视接收终端本身提供无线 Wi-Fi ( Wireless Fidelity, 无线保真, 一种基于 IEEE802.il标准的无线局域网技术)信号, 然 后移动终端通过 Wi-Fi访问数字电视接收终端。将数字电视接收终端接入家庭 无线网络当中, 数字电视接收终端可以通过以太网接口接入家庭无线路由设 备, 使得移动终端通过 Wi-Fi访问数字电视接收终端, 不要求数字电视接收终 端本身提供无线网络, 降低了数字电视接收终端的部署成本; 数字电视接收终 端本身提供无线 Wi-Fi信号, 移动终端直接访问数字电视接收终端, 通过数字 电视接收终端本身提供的无线 Wi-Fi信号, 能够不受家庭网络环境的影响。  Before the HTTP server provides the HTTP service, the digital television receiving terminal can be connected to the home wireless network or the digital television receiving terminal itself can provide wireless Wi-Fi (Wireless Fidelity, a wireless LAN based on the IEEE802.il standard). The technology) signal, and then the mobile terminal accesses the digital television receiving terminal via Wi-Fi. The digital television receiving terminal is connected to the home wireless network, and the digital television receiving terminal can access the home wireless routing device through the Ethernet interface, so that the mobile terminal accesses the digital television receiving terminal through the Wi-Fi, and does not require the digital television receiving terminal to provide the wireless itself. The network reduces the deployment cost of the digital television receiving terminal; the digital television receiving terminal itself provides a wireless Wi-Fi signal, and the mobile terminal directly accesses the digital television receiving terminal, and the wireless Wi-Fi signal provided by the terminal itself through the digital television can be The impact of the home network environment.
HTTP服务器提供的 HTTP服务可以包括给移动终端进行浏览的 web服务 和 HLS流媒体下载服务。 若数字电视接收终端提供的 HTTP服务是提供给移 动终端进行浏览的 web服务, 即数字电视接收终端把节目列表通过 web页面 的形式提供给移动终端; 若数字电视接收终端提供的 HTTP服务是 HLS流媒 体下载服务, 即通过 HTTP文件传输协议发送 HLS流媒体。 其中 HLS流媒体 包括目标流媒体文件和对应的 m3u8索引文件。 The HTTP service provided by the HTTP server may include a web service for browsing the mobile terminal and an HLS streaming download service. If the HTTP service provided by the digital television receiving terminal is a web service provided to the mobile terminal for browsing, that is, the digital television receiving terminal provides the program list to the mobile terminal in the form of a web page; if the HTTP service provided by the digital television receiving terminal is an HLS stream The media download service, that is, the HLS streaming media is sent through the HTTP file transfer protocol. Among them HLS streaming media Includes target streaming media files and corresponding m3u8 index files.
本发明实施例可以通过在数字电视接收终端中配置 HTTP服务器,而不是 在数字电视前端部署专门的服务器, 实施成本较低。  The embodiment of the present invention can implement an HTTP server in a digital television receiving terminal instead of deploying a dedicated server in the front end of the digital television, and the implementation cost is low.
其中, 节目列表可以包括直播列表和录播列表。 直播列表即将存储的当前 播放的数字电视节目以列表的形式提供给移动终端;录播列表即将存储的不是 当前播放的数字电视节目以列表的形式提供给移动终端。而将转换后的流媒体 文件存储至数字电视接收终端的内存的方式中,当前节目列表可以只包括直播 列表。  The program list may include a live list and a recorded list. The currently played digital television program to be stored in the live broadcast list is provided to the mobile terminal in the form of a list; the digital television program not to be currently stored in the recording list is provided to the mobile terminal in the form of a list. In the manner of storing the converted streaming media file in the memory of the digital television receiving terminal, the current program list may only include the live broadcast list.
步骤 S104, 获取所述移动终端根据所述节目列表选定的目标流媒体文件 标识。  Step S104: Obtain a target streaming media file identifier selected by the mobile terminal according to the program list.
发送节目列表至移动终端之后,可以通过该 HTTP服务器获取移动终端根 据节目列表发送的下载流媒体文件指令,其中下载流媒体文件指令包括目标流 媒体文件标识。  After the program list is sent to the mobile terminal, the downloading streaming media file instruction sent by the mobile terminal according to the program list may be obtained by the HTTP server, where the download streaming media file instruction includes the target streaming media file identifier.
步骤 S105, 根据所述移动终端选定的目标流媒体文件标识发送相应的目 标流媒体文件。  Step S105: Send a corresponding target streaming media file according to the target streaming media file identifier selected by the mobile terminal.
根据移动终端发送的目标流媒体文件标识,发送相应的目标流媒体文件至 移动终端, 以使移动终端通过播放器或浏览器直接观看数字电视节目, 其中发 送所述目标流媒体文件时, 携带对应的 m3u8索引文件。  Sending, according to the target streaming media file identifier sent by the mobile terminal, the corresponding target streaming media file to the mobile terminal, so that the mobile terminal directly views the digital television program through the player or the browser, and when the target streaming media file is sent, carrying the corresponding M3u8 index file.
在图 1所描述的数字电视的音视频共享方法中,将数字电视信号转换成流 媒体文件, 并根据该流媒体文件生成节目列表。通过数字电视接收终端中配置 的 HTTP服务器, 获取移动终端对节目列表页面的 web访问请求, 进一步的 通过该 HTTP服务器向移动终端发送所述节目列表页面中的节目列表。然后通 过该 HTTP服务器获取移动终端根据所述节目列表发送的下载流媒体文件指 令, 该下载流媒体文件指令包括目标流媒体文件标识,从而发送相应的目标流 媒体文件。 因此, 本发明实施例可在数字电视接收终端配置 HTTP服务器, 有 效地实现移动终端共享数字电视的音视频, 并且成本低廉, 操作简单。  In the audio-video sharing method of the digital television described in Fig. 1, the digital television signal is converted into a streaming media file, and a program list is generated based on the streaming media file. The web server configured in the digital television receiving terminal obtains a web access request of the mobile terminal to the program list page, and further sends the program list in the program list page to the mobile terminal through the HTTP server. Then, the downloading streaming media file command sent by the mobile terminal according to the program list is obtained through the HTTP server, and the downloaded streaming media file instruction includes the target streaming media file identifier, thereby transmitting the corresponding target streaming media file. Therefore, the embodiment of the present invention can configure an HTTP server in the digital television receiving terminal to effectively realize the audio and video sharing of the digital television by the mobile terminal, and the cost is low and the operation is simple.
图 2是本发明实施例中另一种数字电视的音视频共享方法的流程图,其中 图 2所示的传感器数据传输方法重点是从移动终端的角度描述的。如图 2所示, 该数字电视的音视频共享方法可以包括以下步骤: 步骤 S201 , 接收数字电视接收终端发送的节目列表。 2 is a flow chart of another method for sharing audio and video of a digital television according to an embodiment of the present invention, wherein the sensor data transmission method shown in FIG. 2 is mainly described from the perspective of a mobile terminal. As shown in FIG. 2, the audio and video sharing method of the digital television may include the following steps: Step S201: Receive a program list sent by the digital television receiving terminal.
接收数字电视接收终端发送的节目列表,其中节目列表包括至少一个流媒 体文件的流媒体文件标识。数字电视接收终端可以将转换得到的流媒体文件存 储至数字电视接收终端的内存、外接移动存储设备或内置硬盘。若数字电视接 收终端将转换得到的流媒体文件存储至数字电视接收终端的内存,则该节目列 表可以只包括直播列表;若数字电视接收终端将转换得到的流媒体文件存储至 外接移动存储设备或内置硬盘, 则该节目列表可以包括直播列表和录播列表。  Receiving a program list transmitted by the digital television receiving terminal, wherein the program list includes at least one streaming media file identifier of the streaming media file. The digital television receiving terminal can store the converted streaming media file to the memory of the digital television receiving terminal, an external mobile storage device or an internal hard disk. If the digital television receiving terminal stores the converted streaming media file in the memory of the digital television receiving terminal, the program list may only include the live broadcast list; if the digital television receiving terminal stores the converted streaming media file to the external mobile storage device or With a built-in hard disk, the program list can include a live list and a recorded list.
具体实现中,移动终端向数字电视接收终端中预设的 HTTP服务器发送对 节目列表页面的 web访问请求, 该节目列表页面是指数字电视接收终端通过 预设的 HTTP服务器将所述节目列表以 web页面的形式呈现的页面。  In a specific implementation, the mobile terminal sends a web access request to the program list page to the HTTP server preset in the digital television receiving terminal, where the program list page refers to the digital television receiving terminal using the preset HTTP server to list the program as a web. The page rendered in the form of a page.
其中发送对节目列表页面的 web访问请求有两种方式:  There are two ways to send a web access request to a program listing page:
一、 访问数字电视接收终端自带的 web 页面。 通过使用自身的浏览器访 问数字电视接收终端提供的 web 页面, 其中数字电视接收终端将节目列表通 过 web 页面的形式提供给移动终端, 因此可以接收数字电视接收终端发送的 节目列表。 采用此种方式, 无需安装额外的智能应用程序即可访问列表。  1. Access the web page that comes with the digital TV receiving terminal. The web page provided by the digital television receiving terminal is accessed by using its own browser, wherein the digital television receiving terminal provides the program list to the mobile terminal in the form of a web page, and thus can receive the program list transmitted by the digital television receiving terminal. In this way, you can access the list without installing additional smart applications.
二、 使用相应的应用程序。 可以通过使用移动终端相应的应用程序, 直接 获得数字电视接收终端提供的节目列表,可以在每次访问的时候不输入数字电 视接收终端的 web 页面地址, 进而可以以更为友好的用户界面将目标流媒体 文件呈现给用户。  Second, use the appropriate application. The program list provided by the digital television receiving terminal can be directly obtained by using the corresponding application of the mobile terminal, and the web page address of the digital television receiving terminal can be not input at each access, and the target can be set with a more friendly user interface. The streaming media file is presented to the user.
向数字电视接收终端中预设的 HTTP服务器发送对节目列表页面的 web 访问请求之后,接收数字电视接收终端中预设的 HTTP服务器发送的节目列表 页面中的节目列表。  After transmitting a web access request to the program list page to the HTTP server preset in the digital television receiving terminal, the program list in the program list page transmitted by the preset HTTP server in the digital television receiving terminal is received.
步骤 S202, 根据所述节目列表选定目标流媒体文件标识。  Step S202: Select a target streaming media file identifier according to the program list.
接收到数字电视接收终端发送的节目列表之后,根据所述节目列表选定目 标流媒体文件标识, 其中目标流媒体文件标识包括至少一个流媒体文件标识。  After receiving the program list sent by the digital television receiving terminal, the target streaming media file identifier is selected according to the program list, wherein the target streaming media file identifier includes at least one streaming media file identifier.
步骤 S203 , 发送所述选定的目标流媒体文件标识至所述数字电视接收终 端。  Step S203: Send the selected target streaming media file identifier to the digital television receiving terminal.
发送下载流媒体文件指令至数字电视接收终端中预设的 HTTP服务器,其 中下载流媒体文件指令包括目标流媒体文件标识。 步骤 S204, 接收所述数字电视接收终端发送的根据所述目标流媒体文件 标识确定的相应的目标流媒体文件。 Sending a download streaming file command to a preset HTTP server in the digital television receiving terminal, wherein the downloading the streaming media file instruction includes the target streaming media file identifier. Step S204: Receive a corresponding target streaming media file determined by the digital television receiving terminal according to the target streaming media file identifier.
接收数字电视接收终端发送的根据所述目标流媒体文件标识确定的相应 的目标流媒体文件, 其中还包括接收所述目标流媒体文件对应的 m3u8索引文 件, 并通过播放器或浏览器进行观看数字电视节目。  Receiving, by the digital television receiving terminal, the corresponding target streaming media file determined according to the target streaming media file identifier, further comprising receiving an m3u8 index file corresponding to the target streaming media file, and viewing the number through a player or a browser TV show.
在图 2所描述的数字电视的音视频共享方法中,移动终端无需安装其他软 件, 只要有标准浏览器软件就可以实现用户在离开电视机的情况下, 能够及时 观看数字电视节目。且能够以一个数字电视接收终端为媒体交互中心, 支持多 个移动终端同时观看数字电视节目。  In the audio and video sharing method of the digital television described in Fig. 2, the mobile terminal does not need to install other software, and as long as the standard browser software is available, the user can watch the digital television program in time while leaving the television. Moreover, a digital television receiving terminal can be used as a media interaction center, and multiple mobile terminals can be simultaneously watched to watch digital television programs.
图 3是本发明实施例中另一种数字电视的音视频共享方法的流程图,其中 关于服务器的配置可以在发送节目列表之前的任一步骤完成。如图 3所示, 该 数字电视的音视频共享方法可以包括以下步骤:  3 is a flow chart of another method for sharing audio and video of a digital television in an embodiment of the present invention, wherein the configuration regarding the server can be completed at any step before the program list is transmitted. As shown in FIG. 3, the audio and video sharing method of the digital television may include the following steps:
步骤 S301 , 配置服务器。  Step S301, configuring the server.
数字电视接收终端在发送节目列表至移动终端之前,可以配置 HTTP服务 器, 即在数字电视接收终端搭建 HTTP服务器。  The digital television receiving terminal can configure the HTTP server before sending the program list to the mobile terminal, that is, constructing an HTTP server at the digital television receiving terminal.
其中, HTTP服务器提供 HTTP服务之前, 可以将数字电视接收终端接入 家庭无线网络当中或者数字电视接收终端本身提供无线 Wi-Fi ( Wireless Fidelity, 无线保真, 一种基于 IEEE802.il标准的无线局域网技术)信号, 然 后移动终端通过 Wi-Fi访问数字电视接收终端。将数字电视接收终端接入家庭 无线网络当中, 数字电视接收终端可以通过以太网接口接入家庭无线路由设 备, 使得移动终端通过 Wi-Fi访问数字电视接收终端, 不要求数字电视接收终 端本身提供无线网络, 降低了数字电视接收终端的部署成本; 数字电视接收终 端本身提供无线 Wi-Fi信号, 移动终端直接访问数字电视接收终端, 通过数字 电视接收终端本身提供的无线 Wi-Fi信号, 能够不受家庭网络环境的影响。  Before the HTTP server provides the HTTP service, the digital television receiving terminal can be connected to the home wireless network or the digital television receiving terminal itself can provide wireless Wi-Fi (Wireless Fidelity, a wireless LAN based on the IEEE802.il standard). The technology) signal, and then the mobile terminal accesses the digital television receiving terminal via Wi-Fi. The digital television receiving terminal is connected to the home wireless network, and the digital television receiving terminal can access the home wireless routing device through the Ethernet interface, so that the mobile terminal accesses the digital television receiving terminal through the Wi-Fi, and does not require the digital television receiving terminal to provide the wireless itself. The network reduces the deployment cost of the digital television receiving terminal; the digital television receiving terminal itself provides a wireless Wi-Fi signal, and the mobile terminal directly accesses the digital television receiving terminal, and the wireless Wi-Fi signal provided by the terminal itself through the digital television can be The impact of the home network environment.
HTTP服务器提供的 HTTP服务可以包括给移动终端进行浏览的 web服务 和 HLS流媒体下载服务。 若数字电视接收终端提供的 HTTP服务是提供给移 动终端进行浏览的 web服务, 即数字电视接收终端把节目列表通过 web页面 的形式提供给移动终端; 若数字电视接收终端提供的 HTTP服务是 HLS流媒 体下载服务, 即通过 HTTP文件传输协议发送 HLS流媒体。 其中 HLS流媒体 包括目标流媒体文件和对应的 m3u8索引文件。 The HTTP service provided by the HTTP server may include a web service for browsing the mobile terminal and an HLS streaming download service. If the HTTP service provided by the digital television receiving terminal is a web service provided to the mobile terminal for browsing, that is, the digital television receiving terminal provides the program list to the mobile terminal in the form of a web page; if the HTTP service provided by the digital television receiving terminal is an HLS stream The media download service, that is, the HLS streaming media is sent through the HTTP file transfer protocol. Among them HLS streaming media Includes target streaming media files and corresponding m3u8 index files.
本发明实施例可以通过在数字电视接收终端中配置 HTTP服务器,而不是 在数字电视前端部署专门的服务器, 实施成本较低。  The embodiment of the present invention can implement an HTTP server in a digital television receiving terminal instead of deploying a dedicated server in the front end of the digital television, and the implementation cost is low.
步骤 S302, 将数字电视信号转换成流媒体文件。  Step S302, converting the digital television signal into a streaming media file.
具体实现中,由于数字电视接收终端接收到的数字电视信号不能直接用于 In a specific implementation, the digital television signal received by the digital television receiving terminal cannot be directly used.
HLS 流媒体, 数字电视接收终端可以先将数字电视信号转换成流媒体文件。 进而所述数字电视信号往往是经过加扰的,数字电视接收终端可以先对接收到 的数字电视信号进行解扰处理, 然后将经过解扰处理的数字电视信号转换成 HLS流媒体需要的数据格式, 即流媒体文件。 HLS streaming media, digital TV receiving terminals can first convert digital TV signals into streaming media files. Further, the digital television signal is often scrambled, and the digital television receiving terminal may first perform descrambling processing on the received digital television signal, and then convert the descrambled digital television signal into a data format required by the HLS streaming media. , that is, streaming media files.
步骤 S303, 根据所述流媒体文件生成节目列表。  Step S303: Generate a program list according to the streaming media file.
数字电视接收终端将数字电视信号转换成流媒体文件之后,根据该流媒体 文件生成节目列表,其中所述节目列表包括至少一个流媒体文件的流媒体文件 标识。 而流媒体是指将一连串的媒体数据压缩后, 经过网络分段传送数据, 在 网络上实时传输影音以供观赏的一种技术与过程,数字电视接收终端可以将转 换得到的流媒体文件分段保存为 HLS需要的多个流媒体子文件。 并且将这分 段保存的多个流媒体子文件对应分配子文件标识,从而得到对应同一流媒体文 件的 m3u8 索引文件, 以使移动终端接收到目标流媒体文件后, 根据相应的 m3u8索引文件实现数字电视的音视频共享。 进而, 后续数字电视接收终端可 以通过转换得到的流媒体文件及其分段保存的流媒体子文件, 更新所述 m3u8 索引文件和节目列表。  After the digital television receiving terminal converts the digital television signal into a streaming media file, a program list is generated based on the streaming media file, wherein the program listing includes a streaming media file identifier of the at least one streaming media file. Streaming media refers to a technique and process of compressing a series of media data, transmitting data through a network segment, and transmitting audio and video in real time on the network for viewing. The digital television receiving terminal can segment the converted streaming media file. Save as multiple streaming subfiles required by HLS. And the plurality of streaming media subfiles saved in the segment are corresponding to the subfile identifiers, so that the m3u8 index file corresponding to the same streaming media file is obtained, so that the mobile terminal receives the target streaming media file, and implements according to the corresponding m3u8 index file. Audio and video sharing of digital television. Further, the subsequent digital television receiving terminal may update the m3u8 index file and the program list by converting the obtained streaming media file and the segmented saved streaming media subfile.
作为一种可选的实施方式,数字电视接收终端可以将转换得到的流媒体文 件存储至数字电视接收终端的内存,并对分段保存的流媒体子文件分别加上时 间标识。在存储的流媒体子文件的数据量到达数字电视接收终端的内存容量的 预设阈值时, 可以根据时间标识,及时删除与当前时间间隔最长的流媒体子文 件。 并根据当前内存中的流媒体文件和分段保存的流媒体子文件, 更新相应的 m3u8索引文件和节目列表。 该方式下, 将流媒体文件存储至数字电视接收终 端的内存中, 无需额外的存储设备, 并且读写速度快。  As an optional implementation manner, the digital television receiving terminal may store the converted streaming media file into the memory of the digital television receiving terminal, and add time identification to the segmented saved streaming media subfile. When the data volume of the stored streaming media subfile reaches a preset threshold of the memory capacity of the digital television receiving terminal, the streaming media sub-file with the longest interval from the current time interval may be deleted in time according to the time identifier. And updating the corresponding m3u8 index file and program list according to the current streaming media file in the memory and the streamed sub-file saved in the segment. In this mode, the streaming media file is stored in the memory of the digital television receiving terminal, no additional storage device is required, and the reading and writing speed is fast.
作为一种可选的实施方式,数字电视接收终端可以将转换得到的流媒体文 件存储至外接移动存储设备或内置硬盘。 并根据当前保存的流媒体文件, 更新 m3u8索引文件和节目列表。 相较于将转换后的流媒体数据存储至数字电视接 收终端的内存,存储至外接移动存储设备或内置硬盘的方式内存消耗少,对数 字电视接收终端的内存配置要求较低;外接移动存储设备或内置硬盘的存储容 量大, 可以保存数量较多的流媒体文件, 同时支持长时间录播和直播。 As an optional implementation manner, the digital television receiving terminal may store the converted streaming media file to an external mobile storage device or an internal hard disk. And update according to the currently saved streaming media file. M3u8 index file and program list. Compared with storing the converted streaming media data into the memory of the digital television receiving terminal, the method of storing to the external mobile storage device or the internal hard disk has less memory consumption, and the memory configuration requirement of the digital television receiving terminal is lower; the external mobile storage device Or the built-in hard disk has a large storage capacity, and can store a large number of streaming media files, and supports long-time recording and live broadcast.
步骤 S304, 发送所述节目列表。  Step S304, sending the program list.
数字电视接收终端将当前节目列表发送至移动终端,以使移动终端根据该 节目列表选定目标流媒体文件标识。  The digital television receiving terminal transmits the current program list to the mobile terminal to cause the mobile terminal to select the target streaming media file identifier based on the program list.
其中, 节目列表可以包括直播列表和录播列表。 直播列表即将存储的当前 播放的数字电视节目以列表的形式提供给移动终端;录播列表即将存储的不是 当前播放的数字电视节目以列表的形式提供给移动终端。而将转换后的流媒体 文件存储至数字电视接收终端的内存的方式中,当前节目列表可以只包括直播 列表。  The program list may include a live list and a recorded list. The currently played digital television program to be stored in the live broadcast list is provided to the mobile terminal in the form of a list; the digital television program not to be currently stored in the recording list is provided to the mobile terminal in the form of a list. In the manner of storing the converted streaming media file in the memory of the digital television receiving terminal, the current program list may only include the live broadcast list.
步骤 S305 , 根据所述节目列表选定目标流媒体文件标识。  Step S305: Select a target streaming media file identifier according to the program list.
移动终端接收到数字电视接收终端发送的节目列表之后,根据所述节目列 表选定目标流媒体文件标识,其中目标流媒体文件标识包括至少一个流媒体文 件标识。  After receiving the program list sent by the digital television receiving terminal, the mobile terminal selects the target streaming media file identifier according to the program list, wherein the target streaming media file identifier includes at least one streaming media file identifier.
步骤 S306, 发送所述选定的目标流媒体文件标识。  Step S306: Send the selected target streaming media file identifier.
移动终端发送下载流媒体文件指令至数字电视接收终端中预设的 HTTP 服务器, 其中下载流媒体文件指令包括目标流媒体文件标识。  The mobile terminal sends a download streaming file command to a preset HTTP server in the digital television receiving terminal, wherein the download streaming media file instruction includes a target streaming media file identifier.
步骤 S307, 根据所述目标流媒体文件标识发送相应的目标流媒体文件。 数字电视接收到终端中预设的 HTTP服务器接收到下载流媒体文件指令 之后, 根据目标流媒体文件标识, 发送相应的目标流媒体文件至移动终端, 其 中还包括发送所述目标流媒体文件对应的 m3u8索引文件至移动终端, 以使移 动终端通过播放器或浏览器直接观看数字电视节目。  Step S307: Send a corresponding target streaming media file according to the target streaming media file identifier. After receiving the instruction to download the streaming media file, the preset HTTP server received by the digital television receives the corresponding target streaming media file to the mobile terminal according to the target streaming media file identifier, and further includes sending the corresponding target streaming media file. The m3u8 indexes the file to the mobile terminal, so that the mobile terminal directly views the digital television program through the player or the browser.
在图 3所描述的数字电视的音视频共享方法中,数字电视接收终端将数字 电视信号转换成流媒体文件, 并根据该流媒体文件生成节目列表。通过数字电 视接收终端中配置的 HTTP服务器, 获取移动终端对节目列表页面的 web访 问请求,进一步的通过该 HTTP服务器向移动终端发送所述节目列表页面中的 节目列表。然后通过该 HTTP服务器获取移动终端根据所述节目列表发送的下 载流媒体文件指令, 该下载流媒体文件指令包括目标流媒体文件标识,从而发 送相应的目标流媒体文件。 因此, 本发明实施例可在数字电视接收终端配置In the audio-video sharing method of the digital television described in FIG. 3, the digital television receiving terminal converts the digital television signal into a streaming media file, and generates a program list based on the streaming media file. The web server configured in the digital television receiving terminal obtains a web access request of the mobile terminal to the program list page, and further sends the program list in the program list page to the mobile terminal through the HTTP server. And then obtaining, by the HTTP server, the mobile terminal to send according to the program list. The streaming media file instruction, the download streaming media file instruction includes a target streaming media file identifier, thereby transmitting a corresponding target streaming media file. Therefore, embodiments of the present invention can be configured in a digital television receiving terminal
HTTP服务器, 有效地实现移动终端共享数字电视的音视频, 并且成本低廉, 操作简单。 The HTTP server effectively realizes the sharing of audio and video of the digital TV by the mobile terminal, and the cost is low and the operation is simple.
图 4是本发明实施例中一种数字电视接收终端的结构图。如图 4所示, 该 数字电视接收终端至少可以包括服务器配置模块 10、流媒体文件转换模块 20、 节目列表生成模块 30、 节目列表发送模块 40、 目标流媒体文件标识获取模块 50以及目标流媒体文件发送模块 60。  4 is a structural diagram of a digital television receiving terminal in an embodiment of the present invention. As shown in FIG. 4, the digital television receiving terminal may at least include a server configuration module 10, a streaming media file conversion module 20, a program list generation module 30, a program list sending module 40, a target streaming media file identifier obtaining module 50, and a target streaming media. File sending module 60.
服务器配置模块 10, 用于配置 HTTP服务器。  The server configuration module 10 is configured to configure an HTTP server.
在节目列表发送模块 40发送节目列表至移动终端之前, 可以配置 HTTP 服务器, 即在数字电视接收终端搭建 HTTP服务器。  Before the program list sending module 40 sends the program list to the mobile terminal, the HTTP server can be configured, that is, the HTTP server is set up at the digital television receiving terminal.
其中, HTTP服务器提供 HTTP服务之前, 可以将数字电视接收终端接入 家庭无线网络当中或者数字电视接收终端本身提供无线 Wi-Fi信号, 然后移动 终端通过 Wi-Fi访问数字电视接收终端。将数字电视接收终端接入家庭无线网 络当中,数字电视接收终端可以通过以太网接口接入家庭无线路由设备,使得 移动终端通过 Wi-Fi访问数字电视接收终端, 不要求数字电视接收终端本身提 供无线网络, 降低了数字电视接收终端的部署成本; 数字电视接收终端本身提 供无线 Wi-Fi信号, 移动终端直接访问数字电视接收终端, 通过数字电视接收 终端本身提供的无线 Wi-Fi信号, 能够不受家庭网络环境的影响。  Wherein, before the HTTP server provides the HTTP service, the digital television receiving terminal can access the home wireless network or the digital television receiving terminal itself provides the wireless Wi-Fi signal, and then the mobile terminal accesses the digital television receiving terminal through the Wi-Fi. The digital television receiving terminal is connected to the home wireless network, and the digital television receiving terminal can access the home wireless routing device through the Ethernet interface, so that the mobile terminal accesses the digital television receiving terminal through Wi-Fi, and does not require the digital television receiving terminal itself to provide wireless The network reduces the deployment cost of the digital television receiving terminal; the digital television receiving terminal itself provides a wireless Wi-Fi signal, and the mobile terminal directly accesses the digital television receiving terminal, and the wireless Wi-Fi signal provided by the terminal itself through the digital television can be The impact of the home network environment.
HTTP服务器提供的 HTTP服务可以包括给移动终端进行浏览的 web服务 和 HLS流媒体下载服务。 若数字电视接收终端提供的 HTTP服务是提供给移 动终端进行浏览的 web服务, 即数字电视接收终端把节目列表通过 web页面 的形式提供给移动终端; 若数字电视接收终端提供的 HTTP服务是 HLS流媒 体下载服务, 即通过 HTTP文件传输协议发送 HLS流媒体。 其中 HLS流媒体 包括目标流媒体文件和对应的 m3u8索弓 I文件。  The HTTP service provided by the HTTP server may include a web service for browsing the mobile terminal and an HLS streaming download service. If the HTTP service provided by the digital television receiving terminal is a web service provided to the mobile terminal for browsing, that is, the digital television receiving terminal provides the program list to the mobile terminal in the form of a web page; if the HTTP service provided by the digital television receiving terminal is an HLS stream The media download service, that is, the HLS streaming media is sent through the HTTP file transfer protocol. The HLS streaming media includes the target streaming media file and the corresponding m3u8 cable I file.
本发明实施例可以通过在数字电视接收终端中配置 HTTP服务器,而不是 在数字电视前端部署专门的服务器, 实施成本较低。  The embodiment of the present invention can implement an HTTP server in a digital television receiving terminal instead of deploying a dedicated server in the front end of the digital television, and the implementation cost is low.
流媒体文件转换模块 20, 用于将数字电视信号转换成流媒体文件。  The streaming media file conversion module 20 is configured to convert the digital television signal into a streaming media file.
具体实现中,由于数字电视接收终端接收到的数字电视信号不能直接用于 HLS流媒体, 数字电视接收终端可以先将数字电视信号转换成流媒体文件。 作为一种可选的实施方式, 本发明实施例中的流媒体文件转换模块 20可 以如图 5所示, 进一步包括: In a specific implementation, the digital television signal received by the digital television receiving terminal cannot be directly used. HLS streaming media, digital TV receiving terminals can first convert digital television signals into streaming media files. As an optional implementation manner, the streaming media file conversion module 20 in the embodiment of the present invention may further include:
数字电视信号解扰单元 501 , 用于将数字电视信号进行解扰处理。  The digital television signal descrambling unit 501 is configured to perform descrambling processing on the digital television signal.
数字电视信号进行加扰是通过改变电视信号的特性,防止非授权用户接收 到清晰的电视图像和伴音, 因此要将数字信号转换成流媒体文件之前, 可以对 数字信号进行解扰处理。  Digital TV signals are scrambled by changing the characteristics of the TV signal to prevent unauthorized users from receiving clear TV images and accompanying sounds. Therefore, digital signals can be descrambled before being converted into streaming media files.
流媒体文件转换单元 502, 用于将所述经过数字电视信号解扰单元 501解 扰处理的数字电视信号转换成流媒体文件。  The streaming media file conversion unit 502 is configured to convert the digital television signal descrambled by the digital television signal descrambling unit 501 into a streaming media file.
将经过数字电视信号解扰单元 501解扰处理的数字电视信号,转换成 HLS 流媒体需要的数据格式, 即流媒体文件。  The digital television signal descrambled by the digital television signal descrambling unit 501 is converted into a data format required for the HLS streaming media, that is, a streaming media file.
节目列表生成模块 30, 用于根据流媒体文件转换模块 20将数字电视信号 转换成的流媒体文件生成节目列表,其中所述节目列表包括至少一个流媒体文 件的流媒体文件标识。  The program list generating module 30 is configured to generate a program list according to the streaming media file into which the streaming media file conversion module 20 converts the digital television signal, wherein the program list includes a streaming media file identifier of the at least one streaming media file.
而流媒体是指将一连串的媒体数据压缩后, 经过网络分段传送数据,在网 络上实时传输影音以供观赏的一种技术与过程,数字电视接收终端可以将转换 得到的流媒体文件分段保存为 HLS需要的多个流媒体子文件。 并且将这分段 保存的多个流媒体子文件对应分配子文件标识,从而得到对应同一流媒体文件 的 m3u8索引文件,以使移动终端接收到目标流媒体文件后,根据相应的 m3u8 索引文件实现数字电视的音视频共享。  Streaming media refers to a technology and process of compressing a series of media data, transmitting data through a network segment, and transmitting audio and video in real time on the network for viewing. The digital television receiving terminal can segment the converted streaming media file. Save as multiple streaming subfiles required by HLS. And the plurality of streaming media subfiles saved in the segment are corresponding to the subfile identifiers, so that the m3u8 index file corresponding to the same streaming media file is obtained, so that after the mobile terminal receives the target streaming media file, the mobile terminal implements the corresponding m3u8 index file. Audio and video sharing of digital television.
节目列表发送模块 40, 用于发送节目列表生成模块 30生成的节目列表至 移动终端。  The program list sending module 40 is configured to send the program list generated by the program list generating module 30 to the mobile terminal.
将节目列表生成模块 30更新后的节目列表发送至移动终端, 以使移动终 端根据该节目列表选定目标流媒体文件标识。  The updated program list is transmitted to the mobile terminal by the program list generating module 30 to cause the mobile terminal to select the target streaming media file identifier based on the program list.
其中, 节目列表可以包括直播列表和录播列表。 直播列表即将存储的当前 播放的数字电视节目以列表的形式提供给移动终端;录播列表即将存储的不是 当前播放的数字电视节目以列表的形式提供给移动终端。  The program list may include a live list and a recorded list. The currently played digital television program to be stored in the live broadcast list is provided to the mobile terminal in the form of a list; the digital television program not to be currently stored in the recording list is provided to the mobile terminal in the form of a list.
作为一种可选的实施方式, 本发明实施例中的节目列表发送模块 40可以 如图 6所示, 进一步包括: 访问请求获取单元 601 , 用于根据服务器配置模块 10配置的 HTTP服务 器获取移动终端对节目列表页面的 web访问请求。 As an optional implementation manner, the program list sending module 40 in the embodiment of the present invention may further include: The access request obtaining unit 601 is configured to obtain, according to the HTTP server configured by the server configuration module 10, the web access request of the mobile terminal to the program list page.
节目列表发送单元 602, 用于根据访问请求获取单元 601获取的移动终端 对节目列表页面的 web访问请求, 通过服务器配置模块 10配置的 HTTP服务 器向移动终端发送节目列表页面中的节目列表。  The program list sending unit 602 is configured to send the program list in the program list page to the mobile terminal by using the HTTP server configured by the server configuration module 10 according to the web access request of the mobile terminal to the program list page acquired by the access request acquiring unit 601.
目标流媒体文件标识获取模块 50, 用于获取移动终端根据节目列表发送 模块 40发送的节目列表选定的目标流媒体文件标识。  The target streaming media file identifier obtaining module 50 is configured to obtain a target streaming media file identifier selected by the mobile terminal according to the program list sent by the program list sending module 40.
进一步的, 目标流媒体文件标识获取模块 50, 用于通过服务器配置模块 10配置的 HTTP服务器, 获取移动终端根据节目列表发送模块 40发送的节目 列表发送的下载流媒体文件指令,其中该下载流媒体文件指令包括目标流媒体 文件标识。  Further, the target streaming media file identifier obtaining module 50 is configured to obtain, by using an HTTP server configured by the server configuration module 10, a download streaming media file command sent by the mobile terminal according to the program list sent by the program list sending module 40, where the download streaming media The file instructions include the target streaming media file identifier.
目标流媒体文件发送模块 60, 用于根据目标流媒体文件标识获取模块 50 获取的目标流媒体文件标识发送相应的目标流媒体文件。  The target streaming media file sending module 60 is configured to send a corresponding target streaming media file according to the target streaming media file identifier obtained by the target streaming media file identifier obtaining module 50.
根据目标流媒体文件标识获取模块 50获取的目标流媒体文件标识, 发送 相应的目标流媒体文件至移动终端, 并携带对应的 m3u8索引文件, 以使移动 终端通过播放器或浏览器直接观看数字电视节目。  And sending the corresponding target streaming media file to the mobile terminal according to the target streaming media file identifier acquired by the target streaming media file identifier obtaining module 50, and carrying the corresponding m3u8 index file, so that the mobile terminal directly views the digital television through the player or the browser. program.
在图 4、 图 5、 图 6所描述的数字电视接收终端中, 流媒体文件转换模块 20将数字电视信号转换成流媒体文件, 节目列表生成模块 30根据该流媒体文 件生成节目列表。 通过服务器配置模块 10配置的 HTTP服务器, 访问请求获 取单元 601获取移动终端对节目列表页面的 web访问请求, 进一步的通过该 HTTP服务器向移动终端发送所述节目列表页面中的节目列表。 然后目标流媒 体文件标识获取模块 50通过服务器配置模块 10配置的 HTTP服务器获取移动 终端根据所述节目列表发送的下载流媒体文件指令,该下载流媒体文件指令包 括目标流媒体文件标识, 从而目标流媒体文件发送模块 60发送相应的目标流 媒体文件。 因此, 本发明实施例可在数字电视接收终端配置 HTTP服务器, 有 效地实现移动终端共享数字电视的音视频, 并且成本低廉, 操作简单。  In the digital television receiving terminal described in Figs. 4, 5, and 6, the streaming media file converting module 20 converts the digital television signal into a streaming media file, and the program list generating module 30 generates a program list based on the streaming media file. Through the HTTP server configured by the server configuration module 10, the access request obtaining unit 601 obtains a web access request of the mobile terminal to the program list page, and further transmits the program list in the program list page to the mobile terminal through the HTTP server. The target streaming media file identifier obtaining module 50 obtains the download streaming media file command sent by the mobile terminal according to the program list by using the HTTP server configured by the server configuration module 10, where the downloaded streaming media file instruction includes the target streaming media file identifier, thereby the target stream. The media file sending module 60 sends the corresponding target streaming media file. Therefore, the embodiment of the present invention can configure an HTTP server in the digital television receiving terminal to effectively realize the audio and video sharing of the digital television by the mobile terminal, and the cost is low and the operation is simple.
图 7是本发明实施例中一种移动终端的结构图,如图所示本发明实施例中 的移动终端至少可以包括节目列表接收模块 701、 目标流媒体文件标识选定模 块 702、目标流媒体文件标识发送模块 703以及目标流媒体文件接收模块 704。 节目列表接收模块 701 , 用于接收数字电视接收终端发送的节目列表, 其 中该节目列表包括至少一个流媒体文件的流媒体文件标识。 FIG. 7 is a structural diagram of a mobile terminal according to an embodiment of the present invention. The mobile terminal in the embodiment of the present invention may include at least a program list receiving module 701, a target streaming media file identifier selecting module 702, and a target streaming media. The file identification sending module 703 and the target streaming media file receiving module 704. The program list receiving module 701 is configured to receive a program list sent by the digital television receiving terminal, where the program list includes a streaming media file identifier of the at least one streaming media file.
数字电视接收终端可以将转换得到的流媒体文件存储至数字电视接收终 端的内存、外接移动存储设备或内置硬盘。若数字电视接收终端将转换得到的 流媒体文件存储至数字电视接收终端的内存,则该节目列表可以只包括直播列 表;若数字电视接收终端将转换得到的流媒体文件存储至外接移动存储设备或 内置硬盘, 则该节目列表可以包括直播列表和录播列表。  The digital television receiving terminal can store the converted streaming media file to the memory of the digital television receiving terminal, an external mobile storage device or an internal hard disk. If the digital television receiving terminal stores the converted streaming media file in the memory of the digital television receiving terminal, the program list may only include the live broadcast list; if the digital television receiving terminal stores the converted streaming media file to the external mobile storage device or With a built-in hard disk, the program list can include a live list and a recorded list.
作为一种可选的实施方式,本发明实施例中的节目列表接收模块 701可以 如图 8所示, 进一步包括:  As an optional implementation manner, the program list receiving module 701 in the embodiment of the present invention may further include:
访问请求发送单元 801 , 用于向数字电视接收终端中预设的 HTTP服务器 发送对节目列表页面的 web访问请求。 其中发送对节目列表页面的 web访问 请求有两种方式:  The access request sending unit 801 is configured to send a web access request to the program list page to the HTTP server preset in the digital television receiving terminal. There are two ways to send a web access request to a program listing page:
一、 访问数字电视接收终端自带的 web 页面。 通过使用自身的浏览器访 问数字电视接收终端提供的 web 页面, 其中数字电视接收终端将节目列表通 过 web 页面的形式提供给移动终端, 因此可以接收数字电视接收终端发送的 节目列表。 采用此种方式, 无需安装额外的智能应用程序即可访问列表。  1. Access the web page that comes with the digital TV receiving terminal. The web page provided by the digital television receiving terminal is accessed by using its own browser, wherein the digital television receiving terminal provides the program list to the mobile terminal in the form of a web page, and thus can receive the program list transmitted by the digital television receiving terminal. In this way, you can access the list without installing additional smart applications.
二、 使用相应的应用程序。 可以通过使用移动终端相应的应用程序, 直接 获得数字电视接收终端提供的节目列表,可以在每次访问的时候不输入数字电 视接收终端的 web 页面地址, 进而可以以更为友好的用户界面将目标流媒体 文件呈现给用户。  Second, use the appropriate application. The program list provided by the digital television receiving terminal can be directly obtained by using the corresponding application of the mobile terminal, and the web page address of the digital television receiving terminal can be not input at each access, and the target can be set with a more friendly user interface. The streaming media file is presented to the user.
节目列表接收单元 802, 用于根据访问请求发送单元 801向数字电视接收 终端中预设的 HTTP服务器发送的节目列表页面的 web访问请求, 接收数字 电视接收终端中预设的 HTTP服务器发送的节目列表页面中的节目列表。  The program list receiving unit 802 is configured to receive, according to the web access request of the program list page sent by the access request sending unit 801 to the HTTP server preset in the digital television receiving terminal, the program list sent by the HTTP server preset in the digital television receiving terminal. A list of programs on the page.
目标流媒体文件标识选定模块 702, 用于根据节目列表接收模块 701接收 的节目列表选定目标流媒体文件标识。  The target streaming media file identifier selection module 702 is configured to select a target streaming media file identifier according to the program list received by the program list receiving module 701.
节目列表接收模块 701接收到数字电视接收终端发送的节目列表之后, 目 标流媒体文件标识选定模块 702根据所述节目列表选定目标流媒体文件标识, 其中目标流媒体文件标识包括至少一个流媒体文件标识。  After the program list receiving module 701 receives the program list sent by the digital television receiving terminal, the target streaming media file identifier selecting module 702 selects the target streaming media file identifier according to the program list, wherein the target streaming media file identifier includes at least one streaming media. File identification.
目标流媒体文件标识发送模块 703 , 用于发送目标流媒体文件标识选定模 块 702选定的目标流媒体文件标识,以使数字电视接收终端发送根据该目标流 媒体文件标识确定的相应的目标流媒体文件。 a target streaming media file identifier sending module 703, configured to send a target streaming media file identifier selected mode Block 702 selects a target streaming media file identifier to cause the digital television receiving terminal to transmit a corresponding target streaming media file determined according to the target streaming media file identifier.
具体实现中, 目标流媒体文件标识发送模块 703发送下载流媒体文件指令 至数字电视接收终端中预设的 HTTP服务器,其中下载流媒体文件指令包括目 标流媒体文件标识。  In a specific implementation, the target streaming media file identifier sending module 703 sends a download streaming media file command to a preset HTTP server in the digital television receiving terminal, wherein the download streaming media file command includes a target streaming media file identifier.
目标流媒体文件接收模块 704, 用于接收数字电视接收终端发送的根据目 标流媒体文件标识发送模块 703 发送的目标流媒体文件标识确定的相应的目 标流媒体文件, 其中还包括接收所述目标流媒体文件对应的 m3u8索引文件。  The target streaming media file receiving module 704 is configured to receive, by the digital television receiving terminal, a corresponding target streaming media file determined according to the target streaming media file identifier sent by the target streaming media file identifier sending module 703, where the method further includes receiving the target stream. The m3u8 index file corresponding to the media file.
需要说明的是, 在上述实施例中, 对各个实施例的描述都各有侧重, 某个 实施例中没有详细描述的部分, 可以参见其他实施例的相关描述。 其次, 本领 域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例, 所涉及 的动作和模块并不一定是本发明所必须的。  It should be noted that, in the foregoing embodiments, the descriptions of the various embodiments are different, and the parts that are not described in detail in an embodiment may refer to related descriptions of other embodiments. In the following, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
以上对本发明实施例所提供的数字电视的音视频共享方法、终端及系统进 述, 以上实施例的说明只是用于帮助理解本发明的方法及其核心思想; 同时, 对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围 上均会有改变之处, 综上所述, 本说明书内容不应理解为对本发明的限制。  The above description of the audio and video sharing method, terminal and system of the digital television provided by the embodiment of the present invention is only for helping to understand the method and core idea of the present invention; meanwhile, it is for those skilled in the art. The present invention is not limited by the scope of the present invention.

Claims

权 利 要 求 Rights request
1、 一种数字电视的音视频共享方法, 其特征在于, 所述方法包括: 将数字电视信号转换成流媒体文件; 1. An audio and video sharing method for digital television, characterized in that the method includes: converting digital television signals into streaming media files;
根据所述流媒体文件生成节目列表,其中所述节目列表包括至少一个流媒 体文件的流媒体文件标识; Generate a program list according to the streaming media file, wherein the program list includes a streaming media file identifier of at least one streaming media file;
发送所述节目列表至移动终端; Send the program list to the mobile terminal;
获取所述移动终端根据所述节目列表选定的目标流媒体文件标识; 根据所述移动终端选定的目标流媒体文件标识发送相应的目标流媒体文 件。 Obtain the target streaming media file identification selected by the mobile terminal according to the program list; and send the corresponding target streaming media file according to the target streaming media file identification selected by the mobile terminal.
2、 如权利要求 1所述的方法, 其特征在于, 所述将数字电视信号转换成 流媒体文件包括: 2. The method of claim 1, wherein converting digital television signals into streaming media files includes:
将所述数字电视信号进行解扰处理; Descrambling the digital television signal;
将所述经过解扰处理的数字电视信号转换成流媒体文件。 Convert the descrambled digital television signal into a streaming media file.
3、 如权利要求 1所述的方法, 其特征在于, 所述发送所述节目列表至移 动终端之前还包括: 3. The method of claim 1, wherein before sending the program list to the mobile terminal, the method further includes:
配置 HTTP服务器; Configure HTTP server;
所述发送所述节目列表至移动终端包括: The sending of the program list to the mobile terminal includes:
根据所述 HTTP服务器获取所述移动终端对节目列表页面的 web访问请 求,通过所述 HTTP服务器向所述移动终端发送所述节目列表页面中的节目列 表。 Obtain the web access request of the mobile terminal to the program list page according to the HTTP server, and send the program list in the program list page to the mobile terminal through the HTTP server.
4、 如权利要求 3所述的方法, 其特征在于, 所述获取所述移动终端根据 所述节目列表选定的目标流媒体文件标识包括: 4. The method of claim 3, wherein the obtaining the target streaming media file identification selected by the mobile terminal according to the program list includes:
通过所述 HTTP服务器获取所述移动终端根据所述节目列表发送的下载 流媒体文件指令, 所述下载流媒体文件指令包括所述目标流媒体文件标识。 The download streaming media file instruction sent by the mobile terminal according to the program list is obtained through the HTTP server, and the download streaming media file instruction includes the target streaming media file identifier.
5、 一种数字电视的音视频共享方法, 其特征在于, 所述方法包括: 接收数字电视接收终端发送的节目列表,其中所述节目列表包括至少一个 流媒体文件的流媒体文件标识; 5. An audio and video sharing method for digital television, characterized in that the method includes: receiving a program list sent by a digital television receiving terminal, wherein the program list includes at least one streaming media file identifier of a streaming media file;
根据所述节目列表选定目标流媒体文件标识; Select a target streaming media file identifier according to the program list;
发送所述选定的目标流媒体文件标识至所述数字电视接收终端,以使所述 数字电视接收终端发送根据所述目标流媒体文件标识确定的相应的目标流媒 体文件; Send the selected target streaming media file identification to the digital television receiving terminal, so that the digital television receiving terminal sends the corresponding target streaming media file determined according to the target streaming media file identification;
接收所述数字电视接收终端发送的根据所述目标流媒体文件标识确定的 相应的目标流媒体文件。 Receive the corresponding target streaming media file sent by the digital television receiving terminal and determined based on the target streaming media file identification.
6、 如权利要求 5所述的方法, 其特征在于, 所述接收数字电视接收终端 发送的节目列表包括: 6. The method of claim 5, wherein the receiving the program list sent by the digital television receiving terminal includes:
向所述数字电视接收终端中预设的 HTTP服务器发送对节目列表页面的 web访问请求; Send a web access request to the program list page to the preset HTTP server in the digital television receiving terminal;
接收所述数字电视接收终端中预设的 HTTP服务器发送的所述节目列表 页面中的节目列表。 Receive the program list in the program list page sent by the preset HTTP server in the digital television receiving terminal.
7、 如权利要求 5所述的方法, 其特征在于, 所述发送所述选定的目标流 媒体文件标识至所述数字电视接收终端包括: 7. The method of claim 5, wherein said sending the selected target streaming media file identification to the digital television receiving terminal includes:
根据所述节目列表发送下载流媒体文件指令至所述数字电视接收终端中 预设的 HTTP服务器, 所述下载流媒体文件指令包括所述目标流媒体文件标 识。 A download streaming media file instruction is sent to the preset HTTP server in the digital television receiving terminal according to the program list, and the download streaming media file instruction includes the target streaming media file identifier.
8、 一种数字电视接收终端, 其特征在于, 所述终端包括: 8. A digital television receiving terminal, characterized in that the terminal includes:
流媒体文件转换模块, 用于将数字电视信号转换成流媒体文件; 节目列表生成模块,用于根据所述流媒体文件转换模块将数字电视信号转 换成的流媒体文件生成节目列表,其中所述节目列表包括至少一个流媒体文件 的流媒体文件标识; 节目列表发送模块,用于发送所述节目列表生成模块生成的节目列表至移 动终端; A streaming media file conversion module, used to convert digital television signals into streaming media files; a program list generation module, used to generate a program list according to the streaming media files converted from digital television signals by the streaming media file conversion module, wherein the The program list includes a streaming media file identifier of at least one streaming media file; A program list sending module, configured to send the program list generated by the program list generating module to the mobile terminal;
目标流媒体文件标识获取模块,用于获取所述移动终端根据所述节目列表 发送模块发送的节目列表选定的目标流媒体文件标识; The target streaming media file identification acquisition module is used to obtain the target streaming media file identification selected by the mobile terminal according to the program list sent by the program list sending module;
目标流媒体文件发送模块,用于根据所述目标流媒体文件标识获取模块获 取的目标流媒体文件标识发送相应的目标流媒体文件。 The target streaming media file sending module is configured to send the corresponding target streaming media file according to the target streaming media file identification obtained by the target streaming media file identification acquisition module.
9、 如权利要求 8所述的终端, 其特征在于, 所述流媒体文件转换模块包 括: 9. The terminal according to claim 8, characterized in that the streaming media file conversion module includes:
数字电视信号解扰单元, 用于将所述数字电视信号进行解扰处理; 流媒体文件转换单元,用于将所述经过数字电视信号解扰单元解扰处理的 数字电视信号转换成流媒体文件。 A digital TV signal descrambling unit, used to descramble the digital TV signal; a streaming media file conversion unit, used to convert the digital TV signal descrambled by the digital TV signal descrambling unit into a streaming media file .
10、 如权利要求 8所述的终端, 其特征在于, 所述终端还包括: 服务器配置模块, 用于配置 HTTP服务器; 10. The terminal according to claim 8, characterized in that, the terminal further includes: a server configuration module, used to configure an HTTP server;
所述节目列表发送模块包括: The program list sending module includes:
访问请求获取单元,用于根据所述服务器配置模块配置的 HTTP服务器获 取所述移动终端对节目列表页面的 web访问请求; An access request acquisition unit, configured to acquire the web access request of the mobile terminal to the program list page according to the HTTP server configured by the server configuration module;
节目列表发送单元,用于根据所述访问请求获取单元获取的所述移动终端 对节目列表页面的 web访问请求, 通过所述 HTTP服务器向所述移动终端发 送所述节目列表页面中的节目列表。 The program list sending unit is configured to send the program list in the program list page to the mobile terminal through the HTTP server according to the web access request of the mobile terminal to the program list page obtained by the access request acquisition unit.
11、 如权利要求 10所述的终端, 其特征在于, 所述目标流媒体文件标识 获取模块用于: 11. The terminal according to claim 10, characterized in that the target streaming media file identification acquisition module is used to:
通过所述 HTTP服务器,获取所述移动终端根据所述节目列表发送模块发 送的节目列表发送的下载流媒体文件指令,其中所述下载流媒体文件指令包括 所述目标流媒体文件标识。 Through the HTTP server, obtain the download streaming media file instruction sent by the mobile terminal according to the program list sent by the program list sending module, wherein the download streaming media file instruction includes the target streaming media file identification.
12、 一种移动终端, 其特征在于, 所述终端包括: 节目列表接收模块, 用于接收数字电视接收终端发送的节目列表, 其中所 述节目列表包括至少一个流媒体文件的流媒体文件标识; 12. A mobile terminal, characterized in that the terminal includes: A program list receiving module, configured to receive a program list sent by a digital television receiving terminal, where the program list includes a streaming media file identifier of at least one streaming media file;
目标流媒体文件标识选定模块,用于根据所述节目列表接收模块接收的节 目列表选定目标流媒体文件标识; The target streaming media file identification selection module is used to select the target streaming media file identification according to the program list received by the program list receiving module;
目标流媒体文件标识发送模块,用于发送所述目标流媒体文件标识选定模 块选定的目标流媒体文件标识,以使所述数字电视接收终端发送根据所述目标 流媒体文件标识确定的相应的目标流媒体文件; The target streaming media file identification sending module is used to send the target streaming media file identification selected by the target streaming media file identification selecting module, so that the digital television receiving terminal sends the corresponding corresponding information determined according to the target streaming media file identification. The target streaming media file;
目标流媒体文件接收模块,用于接收所述数字电视接收终端发送的根据所 述目标流媒体文件标识发送模块发送的目标流媒体文件标识确定的相应的目 标流媒体文件。 The target streaming media file receiving module is configured to receive the corresponding target streaming media file sent by the digital television receiving terminal and determined based on the target streaming media file identification sent by the target streaming media file identification sending module.
13、 如权利要求 12所述的终端, 其特征在于, 所述节目列表接收模块包 括: 13. The terminal according to claim 12, characterized in that the program list receiving module includes:
访问请求发送单元,用于向所述数字电视接收终端中预设的 HTTP服务器 发送对节目列表页面的 web访问请求; An access request sending unit is used to send a web access request to the program list page to the preset HTTP server in the digital television receiving terminal;
节目列表接收单元,用于根据所述访问请求发送单元向所述数字电视接收 终端中预设的 HTTP服务器发送的节目列表页面的 web访问请求, 接收所述 数字电视接收终端中预设的 HTTP服务器发送的所述节目列表页面中的节目 列表。 The program list receiving unit is configured to receive the web access request for the program list page sent by the access request sending unit to the preset HTTP server in the digital television receiving terminal, and receive the preset HTTP server in the digital television receiving terminal. Send the program list in the program list page.
14、 如权利要求 12所述的终端, 其特征在于, 所述目标流媒体文件标识 发送模块用于: 14. The terminal according to claim 12, characterized in that the target streaming media file identification sending module is used to:
发送下载流媒体文件指令至所述数字电视接收终端中预设的 HTTP服务 器,所述下载流媒体文件指令包括所述目标流媒体文件标识选定模块选定的目 标流媒体文件标识。 Send a download streaming media file instruction to the HTTP server preset in the digital television receiving terminal. The download streaming media file instruction includes the target streaming media file identifier selected by the target streaming media file identifier selection module.
15、 一种数字电视的音视频共享系统, 其特征在于, 所述系统至少包括数 字电视接收终端和移动终端, 其中: 15. A digital television audio and video sharing system, characterized in that the system at least includes a digital television receiving terminal and a mobile terminal, wherein:
所述数字电视接收终端, 用于将数字电视信号转换成流媒体文件;根据所 述流媒体文件生成节目列表; 发送所述节目列表至移动终端; 获取所述移动终 端根据所述节目列表选定的目标流媒体文件标识;根据所述移动终端选定的目 标流媒体文件标识发送相应的目标流媒体文件; The digital TV receiving terminal is used to convert digital TV signals into streaming media files; according to the Generate a program list from the streaming media file; send the program list to the mobile terminal; obtain the target streaming media file identifier selected by the mobile terminal according to the program list; send according to the target streaming media file identifier selected by the mobile terminal The corresponding target streaming media file;
所述移动终端, 用于接收数字电视接收终端发送的节目列表; 根据所述节 目列表选定目标流媒体文件标识; 发送所述选定的目标流媒体文件标识, 以使 所述数字电视接收终端发送根据所述目标流媒体文件标识确定的相应的目标 流媒体文件;接收所述数字电视接收终端发送的根据所述目标流媒体文件标识 确定的相应的目标流媒体文件。 The mobile terminal is configured to receive a program list sent by a digital television receiving terminal; select a target streaming media file identifier according to the program list; and send the selected target streaming media file identifier so that the digital television receiving terminal Send the corresponding target streaming media file determined based on the target streaming media file identification; receive the corresponding target streaming media file determined based on the target streaming media file identification sent by the digital television receiving terminal.
PCT/CN2014/070511 2013-09-11 2014-01-13 Method, terminal and system for audio and video sharing of digital television WO2015035742A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310412328.XA CN103491431A (en) 2013-09-11 2013-09-11 Method, terminal and system for audio and video sharing of digital television
CN201310412328.X 2013-09-11

Publications (1)

Publication Number Publication Date
WO2015035742A1 true WO2015035742A1 (en) 2015-03-19

Family

ID=49831343

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/070511 WO2015035742A1 (en) 2013-09-11 2014-01-13 Method, terminal and system for audio and video sharing of digital television

Country Status (2)

Country Link
CN (1) CN103491431A (en)
WO (1) WO2015035742A1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103491431A (en) * 2013-09-11 2014-01-01 深圳市创维软件有限公司 Method, terminal and system for audio and video sharing of digital television
CN103916679B (en) * 2014-03-10 2018-04-10 百度在线网络技术(北京)有限公司 A kind of method, equipment and system for being used to provide video information
CN103986975B (en) * 2014-05-20 2018-04-20 华为技术有限公司 A kind of gateway device and program transmission method
CN104219565A (en) * 2014-08-18 2014-12-17 四川长虹电器股份有限公司 Smart television based local area network surfing system and method
CN104301790A (en) * 2014-09-28 2015-01-21 四川长虹电器股份有限公司 Method for ranking fluency of television programs
CN105791960A (en) * 2014-12-22 2016-07-20 深圳Tcl数字技术有限公司 Local area network device communication method and system
CN104486636A (en) * 2014-12-30 2015-04-01 中科创达软件股份有限公司 Video clip cache method and system based on HLS protocol
CN105142003B (en) * 2015-08-07 2019-04-02 深圳Tcl数字技术有限公司 Television program playing method and device
CN105592352B (en) * 2015-12-22 2019-08-06 Tcl集团股份有限公司 A kind of file sharing method and system based on smart television
CN106210872B (en) * 2016-07-27 2019-07-09 深圳创维数字技术有限公司 A kind of live streaming sharing method and system based on set-top box
CN106331895A (en) * 2016-08-30 2017-01-11 上海寰创网络科技有限公司 Television proxy live broadcast method
CN110557672B (en) * 2018-06-01 2021-11-23 深圳Tcl新技术有限公司 Television program sharing method, television and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101383841A (en) * 2007-09-05 2009-03-11 中兴通讯股份有限公司 Quasi-real-time stream implementing method for mobile stream media service
CN103051948A (en) * 2012-12-10 2013-04-17 中兴通讯股份有限公司 Method for sharing mobile television program and customer premises equipment
CN103491431A (en) * 2013-09-11 2014-01-01 深圳市创维软件有限公司 Method, terminal and system for audio and video sharing of digital television

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238434B (en) * 2011-07-22 2017-12-19 中兴通讯股份有限公司 A kind of IPTV files in stream media virtual segmentation and the method and system used
CN103237230A (en) * 2013-04-27 2013-08-07 深圳创维数字技术股份有限公司 Video sharing method and digital television terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101383841A (en) * 2007-09-05 2009-03-11 中兴通讯股份有限公司 Quasi-real-time stream implementing method for mobile stream media service
CN103051948A (en) * 2012-12-10 2013-04-17 中兴通讯股份有限公司 Method for sharing mobile television program and customer premises equipment
CN103491431A (en) * 2013-09-11 2014-01-01 深圳市创维软件有限公司 Method, terminal and system for audio and video sharing of digital television

Also Published As

Publication number Publication date
CN103491431A (en) 2014-01-01

Similar Documents

Publication Publication Date Title
WO2015035742A1 (en) Method, terminal and system for audio and video sharing of digital television
US10250949B2 (en) Broadcast content to HTTP client conversion
JP5580302B2 (en) Broadcast seeding for peer-to-peer networks
US9148756B2 (en) Output of content from the internet on a media rendering device
US9860603B2 (en) Method and apparatus for managing applications based on application information included in a broadcasting signal
US11716497B2 (en) Control system for playing a data stream on a receiving device
WO2012065550A1 (en) Method and system for interaction between a multimedia terminal and an ip set top box
US20110296460A1 (en) Method and apparatus for providing remote user interface (ui) service
KR20120114016A (en) Method and apparatus for network adaptive streaming user data in a outer terminal
CN106464933B (en) Apparatus and method for remotely controlling rendering of multimedia content
WO2016174960A1 (en) Reception device, transmission device, and data processing method
CN104363509B (en) A kind of video conversion method, device, play system and terminal
CN104754370A (en) Cross-terminal multimedia data transmission method, device, client and system
JP2009177528A (en) Transmission apparatus, receiving apparatus, instruction apparatus, communication system, transmission method, receiving method, instruction method, program, and, recording medium
EP2661877B1 (en) System and method for video distribution over internet protocol networks
WO2015077983A1 (en) Device and method for playing media in home network
JP2015501018A (en) Method for saving content to a file on a server and corresponding device
CN202206510U (en) Embedded set top box with built-in P2P management system
KR20090123236A (en) Broadcast receiver to provide a list of recorded files to external devices, method for providing recorded files, and system using the same
KR101486786B1 (en) Video downloading system for mobile terminal and method thereof
US20130060910A1 (en) Content reproducing apparatus, content reproducing system, and control method thereof
KR20130024788A (en) Apparatas and method for contents transfer to dlna connected device of cloud system in an electronic device
CN101902624A (en) Set top box and user terminal
CN115604496A (en) Display device, live broadcast channel switching method and storage medium
KR20120128798A (en) Multiplex broadcasting apparatus and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14844502

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14844502

Country of ref document: EP

Kind code of ref document: A1