WO2018103644A1 - Live stream sharing method and device, home media apparatus, and data storage medium - Google Patents

Live stream sharing method and device, home media apparatus, and data storage medium Download PDF

Info

Publication number
WO2018103644A1
WO2018103644A1 PCT/CN2017/114658 CN2017114658W WO2018103644A1 WO 2018103644 A1 WO2018103644 A1 WO 2018103644A1 CN 2017114658 W CN2017114658 W CN 2017114658W WO 2018103644 A1 WO2018103644 A1 WO 2018103644A1
Authority
WO
WIPO (PCT)
Prior art keywords
live
external device
request message
home media
top box
Prior art date
Application number
PCT/CN2017/114658
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 WO2018103644A1 publication Critical patent/WO2018103644A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/612Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • H04N21/64322IP

Definitions

  • the present invention relates to the field of communications, and in particular to a live broadcast sharing method and apparatus, a home media device, and a storage medium.
  • the on-demand service includes pre-recording the service data already stored in the database, and when the request is received, the service data is extracted from the database and distributed to the requesting device.
  • the user has a large delay in viewing.
  • the live broadcast service includes: collecting data collected by the collection device and distributing it to the request device for synchronization.
  • the collection equipment is collected on-site, and transmitted to the live broadcast device for output.
  • the user can see the live broadcast data in the first time. Under normal circumstances, while collecting the user's collection, the user is simultaneously watching, collecting and watching. Synchronization. And the on-demand service is well collected, Watching occurs after the acquisition.
  • the digital video broadcast (Digital Video Broadcasting, DVB for short) live channel data in the related art is transmitted to the user's set top box through the network of Cable, Satellite and Terrestrial of the broadcasting and television, and the live video can only be played on a TV connected to the set top box.
  • DVB Digital Video Broadcasting
  • the embodiment of the invention provides a live broadcast sharing method and device, and a home media device, to at least solve the technical problem that the live broadcast resource of the DVB set top box can only be played on the connected TV.
  • a live broadcast sharing method including: establishing a communication link with an external device; receiving a request message sent by the external device for requesting a live broadcast service; and receiving a digital video according to the request message
  • the broadcast DVB set top box acquires a corresponding live broadcast resource, and pushes the live broadcast resource to the external device.
  • a live broadcast sharing device which is applied to a home media center device, and includes: a communication module configured to establish a communication link with an external device; and a receiving module configured to receive the external device to send a request message for requesting a live broadcast service; the processing module, configured to acquire a corresponding live broadcast resource from the digital video broadcast DVB set-top box according to the request message, and push the live broadcast resource to the external device.
  • a home media device including: a live broadcast management module configured to parse audio and video decoding parameters and a program list of a digital video broadcast DVB set top box; and a network management module configured to transmit to an external device The link request information, the program list, the audio and video data, and the request message for requesting the live broadcast service sent by the external device; the shared service module configured to broadcast and transmit the identification information of the home media center device by using the network management module, and One or more of the external devices establish a communication link; the media management module is configured to send a live resource corresponding to the request message to an external device by using a hypertext transfer protocol HTTP.
  • a live broadcast management module configured to parse audio and video decoding parameters and a program list of a digital video broadcast DVB set top box
  • a network management module configured to transmit to an external device The link request information, the program list, the audio and video data, and the request message for requesting the live broadcast service sent by the external device
  • the shared service module configured to broadcast and transmit the identification information of the home
  • a computer storage medium stores computer executable code; after the computer executable code is executed, The live sharing method provided by one or more of the foregoing technical solutions can be implemented.
  • a live sharing device including:
  • connection unit configured to establish a communication link with the home media center device
  • a communication unit configured to send a request message to the home media center device by using the communication link, wherein the request message is used to request a live broadcast service; and the home media center device is received from a digital video broadcast DVB set top box Live data;
  • An output unit configured to output the live broadcast data.
  • Still another embodiment in accordance with an embodiment of the present invention provides a computer storage medium storing computer executable code, the computer executable code being executable, capable of providing the live broadcast sharing method described above.
  • a communication link is established with an external device, and a request message for requesting a live broadcast service sent by the external device is received, and a corresponding live broadcast resource is obtained from the digital video broadcast DVB set-top box according to the request message, and the live broadcast is obtained.
  • the resource is pushed to the external device. It can share the live broadcast resources obtained from the DVB set-top box, and solve the technical problem that the live broadcast resources of the DVB set-top box can only be played on the connected TV on the related technology, improve the user experience, and realize the transmission on multiple devices.
  • the technical effect of playing live video is
  • FIG. 1 is a flowchart of a live broadcast sharing method according to an embodiment of the present invention.
  • FIG. 2 is a structural block diagram of a live broadcast sharing apparatus according to an embodiment of the present invention.
  • FIG. 3 is a structural block diagram of a home media device according to an embodiment of the present invention.
  • FIG. 4 is a schematic overall structural diagram of a home media center according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of networking of a live sharing service application scenario according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of interaction of modules of a live broadcast sharing service according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of interaction between a mobile phone and a home media center according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a live broadcast program sharing between a plurality of devices of a mobile phone, a tablet, a PC, and a network set-top box according to an embodiment of the present invention
  • FIG. 9 is a schematic diagram of a requesting device (mobile phone, tablet, PC, network set-top box, etc.) viewing a time-shifted program through a home media center according to an embodiment of the present invention
  • FIG. 10 is a schematic diagram of a home media center supporting multiple network play protocols according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a live broadcast sharing method according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
  • Step S102 establishing a communication link with an external device
  • Step S104 Receive a request message for requesting a live broadcast service sent by the external device.
  • the step S104 may include: receiving, by using the communication link established in step S102, a request message sent by the external device for requesting the live broadcast service.
  • the external device may be an output device that directly outputs live data corresponding to the live broadcast service, for example, a user's computer or a network television, and the external device may also be a relay device connected to the output device.
  • Step S106 Acquire a corresponding live resource from the digital video broadcast DVB set-top box according to the request message, and push the live broadcast resource to the external device.
  • the execution body of the foregoing steps may be a home media center device, a television set top box, or the like, but is not limited thereto.
  • the live broadcast resource includes: live broadcast data that can be used by the output device to output multimedia information, where the multimedia information includes: video data and/or audio data.
  • the home media center device may be: a device that can provide a live broadcast service, and can request live broadcast data from a live broadcast network or a live broadcast server, for example, a set top box provided by a specific provider, or a live broadcast service can be provided.
  • the content provider establishes a connection, and can directly request a live broadcast of the television from the content provider's server.
  • establishing a communication link with the external device may be a wired or wireless manner, including: broadcasting and transmitting the identification information to the external device, establishing a wireless communication link with the external device by using the identification information, and establishing a wired communication with the external device through the wired interface.
  • the link sends identification information to the external device.
  • the identification information may be a setup identity of the aforementioned communication link, or a link identity of a communication link to be established, or a resource identifier of a link resource used to establish a communication link.
  • a link identity of a communication link to be established or a resource identifier of a link resource used to establish a communication link.
  • the resource identifier may be a bandwidth identifier. In this way, when a communication connection is established based on the identifier request, a pre-configured bandwidth resource may be used for communication of the communication link.
  • the request message needs to carry the key information, and the key information can be used to identify the external device that currently requests to establish the communication link. It is a legal device. For example, the key information is matched with the locally stored authentication key. If the matching is consistent, it is determined that the external device is a legitimate device, and a communication link may be established, otherwise the communication link is refused to be established.
  • the authentication key can be a pre-configured key based on user input.
  • the key information may be a key input by a user received by an external device through a human-machine interaction interface. If the external device establishes a communication link for the first time, the local device stores the previously input key, and the external device may also use the locally stored key information to perform the communication link establishment request when the communication link is not requested for the first time. .
  • receiving the request message sent by the external device for requesting the live broadcast service includes:
  • S12 Receive a request message sent by the external device after selecting the corresponding live service according to the live channel information and/or the live program information.
  • the method in this embodiment further includes:
  • the DVB set-top box includes one of the following: a DVB-S set-top box based on satellite transmission, a DVB-T set-top box based on terrestrial transmission, and a DVB-C set-top box based on coaxial cable transmission.
  • the external device can be various devices with communication functions, such as: smart TV, PC, network set-top box, mobile phone, platform computer, and the like.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • a live broadcast sharing device is also provided, which is used to implement the foregoing embodiments and optional implementation manners, and has not been described again.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 2 is a structural block diagram of a live broadcast sharing apparatus according to an embodiment of the present invention, which is applied to a home medium.
  • Body center as shown in Figure 2, the device includes:
  • the communication module 20 is configured to establish a communication link with an external device
  • the receiving module 22 is configured to receive a request message sent by the external device for requesting a live broadcast service.
  • the processing module 24 is configured to obtain a corresponding live resource from the digital video broadcast DVB set-top box according to the request message, and push the live broadcast resource to the external device.
  • the receiving module includes: a sharing unit, configured to share the live channel information and/or the live program information in the form of a hypertext markup language HTML webpage to the external device; and the receiving unit is configured to receive the external device according to the live channel information and/or Or the live broadcast program information selects the request message sent after the corresponding live broadcast service.
  • a sharing unit configured to share the live channel information and/or the live program information in the form of a hypertext markup language HTML webpage to the external device
  • the receiving unit is configured to receive the external device according to the live channel information and/or Or the live broadcast program information selects the request message sent after the corresponding live broadcast service.
  • the device further includes: a decoding module, configured to: after the processing module acquires the corresponding live resource from the DVB set-top box according to the request message, decode the live resource;
  • the packaging module is configured to encode and encapsulate the decoded live resource according to a streaming media format supported by the external device.
  • FIG. 3 is a structural block diagram of a home media device according to an embodiment of the present invention. As shown in FIG. 3, the method includes:
  • the live management module 30 is configured to parse the audio and video decoding parameters and the program list of the digital video broadcast DVB set top box;
  • the network management module 32 is configured to transmit link request information, a program list, audio and video data to the external device, and receive a request message sent by the external device for requesting the live broadcast service;
  • the shared service module 34 is configured to broadcast and transmit the identification information of the home media center device through the network management module, and establish a communication link with one or more external devices;
  • the media management module 36 is configured to send a live resource corresponding to the request message to the external device by using a hypertext transfer protocol HTTP.
  • the device further includes: a decoding module configured to receive a live resource of the DVB set-top box, and decode the live resource according to the decoding parameter; and an encoding module, configured to encode and encapsulate the live resource after decoding the decoding module.
  • a decoding module configured to receive a live resource of the DVB set-top box, and decode the live resource according to the decoding parameter
  • an encoding module configured to encode and encapsulate the live resource after decoding the decoding module.
  • the home media device of this embodiment may be a DVB set-top box terminal as a home media center.
  • the device shares live broadcasts so that other devices can watch live DVB programs.
  • the set-top box (home media center equipment, home media equipment) includes three parts of data: audio and video, live program list data, and request control interaction data.
  • the main modules involved are as follows:
  • the live management module is configured to parse and manage DVB service data such as audio and video decoding parameters and electronic program guide (EPG) data of the DVB live broadcast system and other program listings.
  • DVB service data such as audio and video decoding parameters and electronic program guide (EPG) data of the DVB live broadcast system and other program listings.
  • EPG electronic program guide
  • the home media center device is simply referred to as a home media center.
  • the shared service module is configured to broadcast the identity of the home media center through the network management module, and the device such as a mobile phone, a tablet, a network set-top box, a smart TV, etc. can establish a related link with the home media center by using the identifier; and the module maintains a request for managing multiple devices. .
  • the media management module is configured to use the Hypertext Transfer Protocol (HTTP) to send relevant service data to the requesting device such as a mobile phone, a tablet, a network set top box, a smart TV, etc., including a DVB channel list and an electronic program list data; and simultaneously support the live audio and video data through real time.
  • HTTP Hypertext Transfer Protocol
  • Protocols such as Streaming Protocol (RTSP), Http, Dynamic Rate Adaptation Technology (HLS) (requesting devices can adapt their own supported protocols, and selecting the corresponding streaming media format) are pushed to the relevant devices for watching live broadcasts.
  • RTSP Streaming Protocol
  • Http Dynamic Rate Adaptation Technology
  • HLS Dynamic Rate Adaptation Technology
  • the decoding module is configured to receive DVB live data such as cable (Satellite), satellite (Satellite) and Terrestrial, receive parameters of the live management module, filter audio and video data, and decode and play, and other business data is filtered and submitted to the live management module. Corresponding analysis.
  • DVB live data such as cable (Satellite), satellite (Satellite) and Terrestrial
  • the encoding module is configured to receive related parameters of the media management module, and encode and encapsulate the audio and video data output by the decoding module, and send the device to the device requesting live broadcast sharing through the network module.
  • the network management module is configured to manage the network device of the home media center, and is responsible for transmitting link request information, program list information, audio and video data, and the like. All live sharing data is exchanged through the network management module and devices such as mobile phones, tablets, PCs, and network set-top boxes.
  • Step A The live management module parses the audio and video decoding parameters, the channel data, and the electronic program list data in the DVB stream after the search is performed after booting to the local database.
  • Step B The network management module starts, and the shared server starts and broadcasts the identification information of the home media center through the network management module, so that other devices accessing the network management module establish a link.
  • Step C Mobile phones, tablets, PCs, network set-top boxes, etc. through the network management module and home
  • the media center establishes a network connection (wireless or wired), searches for the identification information of the home media center, and requests to establish a connection by identifying the information.
  • Step D After receiving the connection request, the shared server module assigns a unique identifier to the requested device and creates a link between the media resource management module and the requesting device (mobile phone, tablet, PC, network set-top box, etc.), and responds to the requesting device to connect successfully.
  • the user of the request device (mobile phone, tablet, PC, network set-top box, etc.) is displayed on the home media center terminal to prompt the user.
  • Step E After the connection is successful, the requesting device (mobile phone, tablet, PC, network set-top box, etc.) requests to obtain the live program list and the service data such as the EPG. After receiving the request, the media resource manager obtains the original program list through the live broadcast management module. The original data such as EPG is then packaged into an html web page and sent to the requesting device, and the service data of the DVB channel, such as the program list, is presented to the user.
  • the requesting device mobile phone, tablet, PC, network set-top box, etc.
  • the media resource manager After receiving the request, the media resource manager obtains the original program list through the live broadcast management module.
  • the original data such as EPG is then packaged into an html web page and sent to the requesting device, and the service data of the DVB channel, such as the program list, is presented to the user.
  • Step F The user can select a live program to be watched through the interface of the requesting device (mobile phone, tablet, PC, network set-top box, etc.), and the request for the live program passes the protocols of RTS, RTSP, HLS, HTTP, etc. (including the audio and video formats of the media stream and The protocol requesting device will be adaptively acquired according to its own capabilities and sent to the media resource management component.
  • the requesting device mobile phone, tablet, PC, network set-top box, etc.
  • the request for the live program passes the protocols of RTS, RTSP, HLS, HTTP, etc. (including the audio and video formats of the media stream and
  • the protocol requesting device will be adaptively acquired according to its own capabilities and sent to the media resource management component.
  • Step G The media resource management component parses the relevant request after receiving the play request, and notifies the live broadcast management module to prepare the resource for playing the related live broadcast program. After the resource is ready, the control decoding module decodes the received DVB live audio and video such as Cable, Satellite or Terrestrial.
  • the data resource management module transmits the corresponding streaming media encapsulation format and the corresponding audio and video format parameters to the encoding module, and the encoding module receives the data decoded by the decoding module for encoding and encapsulation, and then pushes the data to the requesting device for playing through the network management module; If the live management module fails to prepare the corresponding resource, the same media resource management module returns the corresponding failure information to the requesting device terminal (mobile phone, tablet, PC, network set-top box, etc.); and the user can perform the live program at the requesting device terminal. Switching, the switching process is as described above.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
  • the forms are located in different processors.
  • This embodiment is an optional embodiment according to the present invention, which is used in conjunction with a specific example.
  • FIG. 4 is a schematic diagram of an overall architecture of a home media center according to an embodiment of the present invention, and the main modules involved are:
  • the operating system (module, other blocks in FIG. 4 represent corresponding modules) 101 provides support for upper layer services, shields hardware details, manages hardware, tasks scheduling, etc.; decoding module 102 is mainly used for different signals of DVB system, and may include The three systems DVB-S, DVB-T and DVB-C are based on satellite transmission, ground-based transmission and coaxial cable transmission. For different transmission modes, the set top box uses the processing chip of the corresponding system to receive and process the DVB system signal, performs corresponding filtering, and performs audio and video decoding output; the encoding module 103 is responsible for encoding and encapsulating the audio and video data decoded by the decoding module 102.
  • the live management module 109 is configured to parse various service information data in the DVB system filtered from the operating system module 101, including audio and video program parameters of each channel, electronic program data, and others. Business data and save management.
  • the media resource management module 104 is configured to mainly provide the delivery of the live program list and the control of the live share streaming media: the electronic program data and other service data obtained from the live management module 109 are encapsulated into an HTML form for external display, and external sharing is received.
  • the request, the live broadcast management module 109 is controlled to perform program play, and is transmitted to the encoding parameter corresponding to the encoding module 103 and the streaming media transmission protocol.
  • the network management module 105 is configured to mainly manage the network devices of the home media center, provide network access servers for other devices, and is responsible for data communication between the devices.
  • the human-computer interaction module 106 is a home media center's own interface, and provides an interactive function when the home media center directly views the program; the display system module 108 is also a way for the home media center to output video and pictures as a normal STB.
  • the shared service module 107 is mainly responsible for providing the live broadcast shared identity broadcast, requesting the shared access and management functions of the device, for the media resource management module 104 and the requesting device (mobile phone, tablet, PC, network set-top box, etc., equivalent to the external device) Establish an interactive link for subsequent services.
  • FIG. 5 is a schematic diagram of networking of a live broadcast service application scenario according to an embodiment of the present invention, where:
  • the Home Media Center comes with a wireless, wired access port, PC or other network set-top box to access the Home Media Center (STB), tablet (pad), mobile phone (phone) via a wired network.
  • the network set-top box wirelessly accesses the home media center, and after the live broadcast signal enters the home media center (STB), the live program is shared to a personal computer (pc), pad, phone, network set-top box and other devices in the local area network through a wired or wireless network.
  • FIG. 6 is a schematic structural diagram of interaction of modules of a live sharing service according to an embodiment of the present invention, which mainly relates to:
  • the network module 201 and the phone device 207 directly perform audio and video data, interactive control data, program list and epg data, and data of all live sharing services of the media center are communicated by the network module 201.
  • the sharing server module 202 and the network module 201 directly perform control data reception and transmission of access broadcast data, and send control data related to establishing a live share sharing link to the media resource module 203 file.
  • the decoding module 204 mainly receives live signals such as DVB-C, DVB-S, and DVB-T from the outside, and receives the control information of the live management module 206, and submits the filtered service data to the live management module 206 for analysis.
  • the encoding module 205 receives the encoding format of the media resource module 203, and performs the corresponding encoding and encapsulation of the data decoded by the decoding module 204, and sends the data to the phone device 207 through the network module 201.
  • the live broadcast management module 206 mainly receives the live broadcast request of the media resource module 203, and provides a live program list, EPG data, and the like.
  • FIG. 7 is a schematic diagram of interaction between a mobile phone and a home media center according to an embodiment of the present invention, which relates to:
  • the phone 401 accesses the network of the home media center 402 by wireless or wired, and may be Dynamic Host Configuration Protocol (dhcp) acquisition or other means from the network management module 402 or network protocol (ip) address.
  • the sharing server 404 performs identification broadcast (using udp message) in the local area network, and provides it to the mobile phone (phone) 401.
  • the connection request is initiated to the shared server 404, and the shared server 404 receives the request for the phone.
  • 401 provides an identification number device0:**, and creates a link information of the media resource management module 405 to be sent to the phone 401 in the form of a url to complete the process of device discovery access.
  • the phone 401 After the connection is successful, the phone 401 initiates a subscription process, and requests the media server to pass the unified resource address (url) (http protocol) to the phone 401. After receiving the request, the media resource management module in the phone 401 sends a corresponding program list, epg The information is transmitted to the phone 401 in the form of html to complete the subscription process. After the phone 401 subscription is completed, the corresponding program list will be presented for the user to select.
  • url unified resource address
  • the request data carries the information of the playing channel, and the streaming media format and protocol supported by the phone 401, then the phone 401 code
  • the module 406 packages the decoded data according to the format of the phone 401 and transmits it to the phone 401 through a protocol supported by the phone 401 (such as hls, rtp, rtsp, etc.). Then the process of playing the phone 401 presents the user's viewing demand.
  • FIG. 8 is a schematic diagram of a live broadcast program sharing between a plurality of devices of a mobile phone, a tablet, a PC, and a network set-top box according to an embodiment of the present invention
  • the sharing server 506 performs identification broadcast (using udp message) in the local area network, and provides module identification corresponding to 501, 502, 503, 504, and the module corresponding to 501, 502, 503, 504 finds the backward shared server 506.
  • 506 After the connection request is initiated, 506 provides an identification number d0:** for the 501 after receiving the request, and creates a link information of the media resource management 507 to be sent to the phone 501 in the form of a url to complete the process of device discovery access, and according to the above situation.
  • d1:** is allocated
  • the set top box 503 allocates d2:***
  • the PC 504 allocates d3:*****.
  • All the distribution servers 506 are allocated for management, and the media resources and the corresponding labels are d*.
  • the media resource management 507 allocates corresponding resources for each device in the multiplexed transcoding module 508, and provides a pair of 1 transcoding services. Thereby, the function of simultaneously watching live broadcasts of multiple devices is realized.
  • FIG. 9 is a schematic diagram of a requesting device (mobile phone, tablet, PC, network set-top box, etc.) viewing a time-shifted program through a home media center according to an embodiment of the present invention
  • the phone 601 initiates a program play request to the media resource management module 603 of the home media center, and the media resource management module 603 initiates a play request to the live broadcast management module 604.
  • the live broadcast management module 604 controls the decoding module 606 to decode the DVB data, and at the same time, media resource management.
  • the module 603 controls the encoding module 605 to encode the data of the decoding module 606 and simultaneously to the buffer device 602 for storage.
  • the data of the buffer area device 602 is uniformly managed by the media resource management module 603.
  • the media resource management module 603 assigns the corresponding audio and video data from the buffer device 602 to the phone 601, and if it is a real-time program, Then, the latest data is obtained from the buffer device 602. If the phone 601 needs to watch the previous live program or performs a seek operation, the media resource management module 603 receives the control command and caches it. The data of the zone device 602 performs corresponding push positioning according to the timestamp.
  • a mobile phone 701 initiates a program play request to a media resource management module 703 of a home media center, and the pad 702 enters a media of the home media center.
  • the resource management module 703 initiates a program play request, wherein the live player request carries a corresponding streaming media playing protocol, the phone 701 requests the hls protocol, the pad 702 carries the rtsp protocol, and the media resource management module 703 parses the protocol data.
  • the protocol parameters are passed to the encoding module 705, and the encoding module 705 internally carries the media protocol stacks such as hls, rtsp, http, and the decoded data is obtained from the decoding module 706 according to the protocol and the encoding format parameters transmitted by the media resource management module 703.
  • the streaming protocol is encapsulated, for example, the phone 701 is packaged as the streaming media of the hls protocol, and the pad 702 is packaged with the tsp streaming media. The same is true for other agreements
  • This embodiment introduces a shared service management module, which receives and manages the live sharing service request of other devices, and provides a good access mode in the home LAN.
  • the media resource management module generates a unified format channel list data, and controls to generate an audio streaming media format suitable for the requested device to be used by the requesting device, thereby realizing the smooth sharing of the DVB live broadcast service in the home LAN, and having a good user experience.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • the processor performs a communication link with the external device according to the stored program code in the storage medium
  • the processor performs, according to the stored program code in the storage medium, receiving a request message for requesting a live broadcast service sent by the external device;
  • the processor performs acquiring, according to the request message, a corresponding live resource from the digital video broadcast DVB set-top box, and pushing the live resource to the external device.
  • This embodiment provides a live broadcast sharing method, including:
  • the live data is output.
  • the live broadcast sharing method provided by the embodiment of the present invention may be applied to an output device that requests live broadcast sharing, or a transit device that is connected to the output device, for example, a control device of the output device, and the like, and may correspond to the foregoing external device.
  • the output device may be a television, a computer or a wearable device, etc., and may output a device for playing live data.
  • the live media server when the live broadcast device requests the live broadcast data, the live media server does not directly request the live broadcast server, and does not request the set top box, but requests the home media center device, and the home media center device may be the foregoing home media center device.
  • the live data acquired from the DVB based on the request message is received through the established communication link request message.
  • the output live data is: playing live data, for example, playing live video and/or playing live audio.
  • the output live data is: sending the live data to the output device, and the output device plays the live data.
  • the method further includes:
  • Sending the request message to the home media center device by using the communication link including:
  • a request message carrying a data identifier is sent to the home media center device.
  • the home media center device sends a data identifier of the live broadcast data, for example, the home media center device broadcasts the data identifier of the live broadcast data, so that the output device knows which live broadcast data or which live broadcast services are currently available for viewing.
  • the current device is an output device, when the data identifier is received, the data identifier is displayed by the reminder message for the user to view. If the user wants to view the live data, the current device detects the role of the data identifier. Operation, based on the operation, the current device transmits a request message to the home media center device using the communication link.
  • the data identifier may include: a channel identifier of a live channel, a program identifier of a live program, and a service identifier of a live broadcast service.
  • the data identification herein can be any identifying information that points to a particular live broadcast service or specific live broadcast data, such as a name and/or a number.
  • the method further includes:
  • Receiving the live broadcast data obtained by the home media center device from the digital video broadcast DVB set top box including:
  • the streaming media format supported by the output device is also reported to the home media center device.
  • the home media center device encapsulates the live data into a streaming media format supported by the output device, so that the output device does not receive the After the live data is released, the output fails due to the failure to support the corresponding streaming media format.
  • the streaming media format is carried in the request message.
  • the streaming media format supported by the output device can also be communicated to the home media center device in an interactive message when the communication link is established with the home media center device, and the home media center device is then stored locally.
  • the embodiment further provides a live broadcast sharing device, which can be applied to an external device relative to the home media center device, including:
  • connection unit corresponding to the communication interface, configured to establish a communication link with the home media center device
  • a communication unit corresponding to the communication interface, configured to send a request message to the home media center device by using the communication link, wherein the request message is used to request a live broadcast service; and the home media center device is received from a number Live broadcast data obtained by video broadcast DVB set-top box;
  • the output unit corresponding to the component or communication interface of the multimedia information output, is configured to output the live broadcast data.
  • the multimedia output component can be a display or an audio outputter or the like, and can output multimedia information.
  • the communication interface can be a wired interface or a wireless interface, and can be used for communication link establishment and/or data transmission.
  • the communication unit is further configured to receive a data identifier of the live broadcast data sent by the home media center device, and configured to send, by using the communication link, a request message carrying the data identifier to the home media center device.
  • the communication unit is further configured to report, to the home media center device, a streaming media format supported by the output device, and receive live data encapsulated by the home media center device in the streaming media format.
  • the communication unit is further configured to carry, in the request message, a format identifier of a streaming media format supported by the output device.
  • the embodiment of the present invention provides a computer storage medium, where the computer storage medium is stored, and after the computer executable code is executed, the live sharing method provided by the one or more technical solutions may be, for example, Perform the following steps:
  • establishing a communication link with the external device includes at least one of the following:
  • receiving the request message sent by the external device for requesting a live broadcast service includes:
  • the method further includes:
  • the decoded live resource is encoded and encapsulated according to a streaming media format supported by the external device.
  • the DVB set top box comprises one of the following: a DVB-S set top box based on satellite transmission, a DVB-T set top box based on terrestrial wave transmission, and a DVB-C set top box based on coaxial cable transmission.
  • the computer executable code in the computer storage medium is further configured to perform the following steps: establishing a communication link with the home media center device;
  • the live data is output.
  • the method further includes:
  • Sending the request message to the home media center device by using the communication link including:
  • a request message carrying a data identifier is sent to the home media center device.
  • the method further includes:
  • Receiving the live broadcast data obtained by the home media center device from the digital video broadcast DVB set top box including:
  • reporting the streaming media format supported by the output device to the home media center device includes:
  • the format identifier of the streaming media format supported by the output device is carried in the request message.
  • the home media center device and the external device and the output device may be devices located in the same local area network, and the sharing of live data in the local area network is implemented. It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices.
  • the steps shown or described may be performed in an order different than that herein, or they may be separately fabricated into individual integrated circuit modules, or a plurality of the modules or steps may be implemented as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the computer device can include various types of processors or processing circuits, and the processor can Including: central processing unit, microprocessor, digital signal processor, application processor, programmable array, etc.
  • the processing circuit can include an application specific integrated circuit.
  • the external device can obtain the live broadcast data from the home media center device by establishing a communication link with the home media center device, and does not necessarily obtain the live broadcast data by using the set-top box of the dedicated provider, thereby realizing a live broadcast data.
  • the set-top box is used for the output of live data of multiple output devices, realizes sharing of the set-top box and sharing of live data, and has positive beneficial effects, and at the same time, has the characteristics of being simple and convenient.

Landscapes

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

Abstract

The embodiments of the invention provide a live stream sharing method and device, and a home media apparatus. The method comprises: establishing a communication link with an external apparatus; receiving a request message transmitted by the external apparatus and used to request a live streaming service; and acquiring, according to the request message, and from a digital video broadcast (DVB) set-top box, a corresponding live streaming resource, and pushing to the external apparatus the live streaming resource. The embodiment of the invention also discloses a computer storage medium.

Description

直播分享方法及装置、家庭媒体设备和存储介质Live sharing method and device, home media device and storage medium
相关申请的交叉引用Cross-reference to related applications
本申请基于申请号为201611105321.3申请日为2016年12月05日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。The present application is filed on the basis of the Chinese Patent Application No. PCT Application No.
技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种直播分享方法及装置、家庭媒体设备和存储介质。The present invention relates to the field of communications, and in particular to a live broadcast sharing method and apparatus, a home media device, and a storage medium.
背景技术Background technique
随着互联网技术的发展,智能电视、PC、网络机顶盒,手机,平台电脑等设备走进了千家万户。更多精彩的点播视频、有趣应用和好玩的体感游戏开始占据用户的屏幕,用户有了使用电视看直播频道以外更多的选择。但现在还不允许有直播频道,导致了直播频道只能通过广电的机顶盒进行观看,对于喜欢观看直播的用户带来了不便;同时如果家里需要多个电视情况下,而网络机顶盒只能观看点播业务,所以需要购买多个广电机顶盒才能满足需求;同样的场景也可以发生在酒店,每个房间都有直播节目观看的需求。With the development of Internet technology, smart TV, PC, network set-top boxes, mobile phones, platform computers and other equipment have entered thousands of households. More exciting on-demand videos, fun apps, and fun somatosensory games start to take over the user's screen, and users have more choices to watch live channels on TV. However, there is still no live channel allowed, which results in the live channel can only be viewed through the set-top box of the radio and television. It is inconvenient for users who like to watch the live broadcast. At the same time, if the home needs multiple TVs, the network set-top box can only watch on-demand. Business, so you need to buy multiple wide motor set-top boxes to meet the demand; the same scene can also happen in the hotel, each room has the need to watch live programs.
点播业务包括:预先录制好已经存储在数据库中的业务数据,在接收到请求时,从数据库中提取出业务数据分发到请求设备,通常情况下,用户观看是存在很大的时延的。The on-demand service includes pre-recording the service data already stored in the database, and when the request is received, the service data is extracted from the database and distributed to the requesting device. Generally, the user has a large delay in viewing.
直播业务包括:采集设备现场采集数据,同步分发给请求设备输出。例如,体育比赛的直播,采集设备现场采集,采集之后传输给直播设备输出,用户可以在第一时间内看到直播数据,一般情况下,采集用户采集的同时,观看用户同时观看,采集和观看同步进行。而点播业务是采集好, 观看发生在采集之后。The live broadcast service includes: collecting data collected by the collection device and distributing it to the request device for synchronization. For example, the live broadcast of a sports game, the collection equipment is collected on-site, and transmitted to the live broadcast device for output. The user can see the live broadcast data in the first time. Under normal circumstances, while collecting the user's collection, the user is simultaneously watching, collecting and watching. Synchronization. And the on-demand service is well collected, Watching occurs after the acquisition.
相关技术中的数字视频广播(Digital Video Broadcasting,简称为DVB)直播频道数据通过广电的Cable、Satellite和Terrestrial等网络传输到用户的机顶盒上,只能在一个与机顶盒连接的电视上播放直播视频。The digital video broadcast (Digital Video Broadcasting, DVB for short) live channel data in the related art is transmitted to the user's set top box through the network of Cable, Satellite and Terrestrial of the broadcasting and television, and the live video can only be played on a TV connected to the set top box.
发明内容Summary of the invention
本发明实施例提供了一种直播分享方法及装置、家庭媒体设备,以至少解决相关技术中DVB机顶盒的直播资源只能在与其连接的电视上进行播放的技术问题。The embodiment of the invention provides a live broadcast sharing method and device, and a home media device, to at least solve the technical problem that the live broadcast resource of the DVB set top box can only be played on the connected TV.
根据本发明的一个实施例,提供了一种直播分享方法,包括:与外部设备建立通信链路;接收所述外部设备发送的用于请求直播业务的请求消息;根据所述请求消息从数字视频广播DVB机顶盒获取对应的直播资源,并将所述直播资源推送给所述外部设备。According to an embodiment of the present invention, a live broadcast sharing method is provided, including: establishing a communication link with an external device; receiving a request message sent by the external device for requesting a live broadcast service; and receiving a digital video according to the request message The broadcast DVB set top box acquires a corresponding live broadcast resource, and pushes the live broadcast resource to the external device.
根据本发明的另一个实施例,提供了一种直播分享装置,应用在家庭媒体中心设备,包括:通信模块,配置为与外部设备建立通信链路;接收模块,配置为接收所述外部设备发送的用于请求直播业务的请求消息;处理模块,配置为根据所述请求消息从数字视频广播DVB机顶盒获取对应的直播资源,并将所述直播资源推送给所述外部设备。According to another embodiment of the present invention, a live broadcast sharing device is provided, which is applied to a home media center device, and includes: a communication module configured to establish a communication link with an external device; and a receiving module configured to receive the external device to send a request message for requesting a live broadcast service; the processing module, configured to acquire a corresponding live broadcast resource from the digital video broadcast DVB set-top box according to the request message, and push the live broadcast resource to the external device.
根据本发明的又一个实施例,提供了一种家庭媒体设备,包括:直播管理模块,配置为解析数字视频广播DVB机顶盒的音视频解码参数和节目列表;网络管理模块,配置为向外部设备传输链接请求信息、节目列表、音视频数据,接收所述外部设备发送的用于请求直播业务的请求消息;共享服务模块,配置为通过所述网络管理模块广播发送家庭媒体中心设备的标识信息,与一个或多个所述外部设备建立通信链路;媒体管理模块,配置为使用超文本传输协议HTTP向外部设备发送与所述请求消息对应的直播资源。According to still another embodiment of the present invention, a home media device is provided, including: a live broadcast management module configured to parse audio and video decoding parameters and a program list of a digital video broadcast DVB set top box; and a network management module configured to transmit to an external device The link request information, the program list, the audio and video data, and the request message for requesting the live broadcast service sent by the external device; the shared service module configured to broadcast and transmit the identification information of the home media center device by using the network management module, and One or more of the external devices establish a communication link; the media management module is configured to send a live resource corresponding to the request message to an external device by using a hypertext transfer protocol HTTP.
根据本发明的又一个实施例,还提供了一种计算机存储介质。该计算机存储介质存储有计算机可执行代码;所述计算机可执行代码被执行后, 能够实现前述一个或多个技术方案提供的直播分享方法。According to yet another embodiment of the present invention, a computer storage medium is also provided. The computer storage medium stores computer executable code; after the computer executable code is executed, The live sharing method provided by one or more of the foregoing technical solutions can be implemented.
根据本发明的一个实施例提供一种直播分享装置,包括:According to an embodiment of the invention, a live sharing device is provided, including:
连接单元,配置为与家庭媒体中心设备建立通信链路;a connection unit configured to establish a communication link with the home media center device;
通信单元,配置为利用所述通信链路,向所述家庭媒体中心设备发送请求消息,其中,所述请求消息,用于请求直播业务;接收所述家庭媒体中心设备从数字视频广播DVB机顶盒获取的直播数据;a communication unit configured to send a request message to the home media center device by using the communication link, wherein the request message is used to request a live broadcast service; and the home media center device is received from a digital video broadcast DVB set top box Live data;
输出单元,配置为输出所述直播数据。An output unit configured to output the live broadcast data.
根据本发明实施例的再一个实施例提供一种计算机存储介质,所述计算机存储介质存储有计算机可执行代码,所述计算机可执行代码被执行后,能够前述提供的直播分享方法。通过本发明,与外部设备建立通信链路,接收所述外部设备发送的用于请求直播业务的请求消息,根据所述请求消息从数字视频广播DVB机顶盒获取对应的直播资源,并将所述直播资源推送给所述外部设备。可以分享从DVB机顶盒获得的直播资源,解决了相关技术中DVB机顶盒的直播资源只能在与其连接的电视上进行播放的技术问题,提高了用户体验,实现了在多个设备上也能传输和播放直播视频的技术效果。Still another embodiment in accordance with an embodiment of the present invention provides a computer storage medium storing computer executable code, the computer executable code being executable, capable of providing the live broadcast sharing method described above. According to the present invention, a communication link is established with an external device, and a request message for requesting a live broadcast service sent by the external device is received, and a corresponding live broadcast resource is obtained from the digital video broadcast DVB set-top box according to the request message, and the live broadcast is obtained. The resource is pushed to the external device. It can share the live broadcast resources obtained from the DVB set-top box, and solve the technical problem that the live broadcast resources of the DVB set-top box can only be played on the connected TV on the related technology, improve the user experience, and realize the transmission on multiple devices. The technical effect of playing live video.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的直播分享方法的流程图;1 is a flowchart of a live broadcast sharing method according to an embodiment of the present invention;
图2是根据本发明实施例的直播分享装置的结构框图;2 is a structural block diagram of a live broadcast sharing apparatus according to an embodiment of the present invention;
图3是根据本发明实施例的家庭媒体设备的结构框图;3 is a structural block diagram of a home media device according to an embodiment of the present invention;
图4是本发明实施例的家庭媒体中心的整体架构示意图;4 is a schematic overall structural diagram of a home media center according to an embodiment of the present invention;
图5是本发明实施例的直播共享业务应用场景组网示意图;FIG. 5 is a schematic diagram of networking of a live sharing service application scenario according to an embodiment of the present invention; FIG.
图6是本发明实施例的直播分享业务各模块交互的结构示意图;6 is a schematic structural diagram of interaction of modules of a live broadcast sharing service according to an embodiment of the present invention;
图7是本发明实施例的手机与家庭媒体中心交互示意图; 7 is a schematic diagram of interaction between a mobile phone and a home media center according to an embodiment of the present invention;
图8是本发明实施例的手机,平板,PC,网络机顶盒多个请设备与家庭媒体中心同时直播节目分享示意图;8 is a schematic diagram of a live broadcast program sharing between a plurality of devices of a mobile phone, a tablet, a PC, and a network set-top box according to an embodiment of the present invention;
图9是本发明实施例的请求设备(手机,平板,PC,网络机顶盒等)通过家庭媒体中心观看时移节目的示意图;9 is a schematic diagram of a requesting device (mobile phone, tablet, PC, network set-top box, etc.) viewing a time-shifted program through a home media center according to an embodiment of the present invention;
图10是本发明实施例的家庭媒体中心支持多种网络播放协议的示意图。FIG. 10 is a schematic diagram of a home media center supporting multiple network play protocols according to an embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
实施例1Example 1
在本实施例中提供了一种直播分享方法,图1是根据本发明实施例的直播分享方法的流程图,如图1所示,该流程包括如下步骤:In this embodiment, a live broadcast sharing method is provided. FIG. 1 is a flowchart of a live broadcast sharing method according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
步骤S102,与外部设备建立通信链路;Step S102, establishing a communication link with an external device;
步骤S104,接收外部设备发送的用于请求直播业务的请求消息;所述步骤S104可包括:利用步骤S102中建立的通信链路,接收外部设备发送的用于请求直播业务的请求消息。该外部设备可为直接输出直播业务对应的直播数据的输出设备,例如,用户的电脑或网络电视等,该外部设备也可以是与输出设备连接的中转设备等。Step S104: Receive a request message for requesting a live broadcast service sent by the external device. The step S104 may include: receiving, by using the communication link established in step S102, a request message sent by the external device for requesting the live broadcast service. The external device may be an output device that directly outputs live data corresponding to the live broadcast service, for example, a user's computer or a network television, and the external device may also be a relay device connected to the output device.
步骤S106,根据请求消息从数字视频广播DVB机顶盒获取对应的直播资源,并将直播资源推送给外部设备。Step S106: Acquire a corresponding live resource from the digital video broadcast DVB set-top box according to the request message, and push the live broadcast resource to the external device.
通过上述步骤,与外部设备建立通信链路,接收所述外部设备发送的用于请求直播业务的请求消息,根据所述请求消息从数字视频广播DVB机顶盒获取对应的直播资源,并将所述直播资源推送给所述外部设备。可以分享从DVB机顶盒获得的直播资源,解决了相关技术中DVB机顶盒的直播 资源只能在与其连接的电视上进行播放的技术问题,提高了用户体验,实现了在多个设备上也能传输和播放直播视频的技术效果。Through the above steps, establishing a communication link with the external device, receiving a request message sent by the external device for requesting a live broadcast service, acquiring a corresponding live broadcast resource from the digital video broadcast DVB set-top box according to the request message, and The resource is pushed to the external device. Can share the live broadcast resources obtained from the DVB set-top box, and solve the live broadcast of the DVB set-top box in the related technology. The technical problem that resources can only be played on the TV connected to it improves the user experience and realizes the technical effect of transmitting and playing live video on multiple devices.
可选地,上述步骤的执行主体可以为家庭媒体中心设备,电视机顶盒等,但不限于此。Optionally, the execution body of the foregoing steps may be a home media center device, a television set top box, or the like, but is not limited thereto.
在本实施例中,所述直播资源包括:可用于输出设备输出多媒体信息的直播数据,所述多媒体信息包括:视频数据和/或音频数据等。In this embodiment, the live broadcast resource includes: live broadcast data that can be used by the output device to output multimedia information, where the multimedia information includes: video data and/or audio data.
在本实施例中,所述家庭媒体中心设备可为:可以提供直播业务,可以从直播网络或直播服务器请求直播数据的设备,例如,特定供应商提供的机顶盒,或者,与可以提供直播业务的内容供应商建立有连接,可以直接从内容供应商的服务器请求直播数据的电视等。In this embodiment, the home media center device may be: a device that can provide a live broadcast service, and can request live broadcast data from a live broadcast network or a live broadcast server, for example, a set top box provided by a specific provider, or a live broadcast service can be provided. The content provider establishes a connection, and can directly request a live broadcast of the television from the content provider's server.
可选的,与外部设备建立通信链路可以是有线或无线的方式,包括:向外部设备广播发送标识信息,与外部设备通过标识信息建立无线通信链路;通过有线接口与外部设备建立有线通信链路,向外部设备发送标识信息。Optionally, establishing a communication link with the external device may be a wired or wireless manner, including: broadcasting and transmitting the identification information to the external device, establishing a wireless communication link with the external device by using the identification information, and establishing a wired communication with the external device through the wired interface. The link sends identification information to the external device.
该标识信息可为前述通信链路的建立标识、或即将建立的通信链路的链路标识,或用于建立通信链路的链路资源的资源标识。例如,建立有线连接,该资源标识可为带宽标识,这样的话,基于该标识请求建立通信连接时,可以将预先配置好的带宽资源,用于该通信链接的通信。The identification information may be a setup identity of the aforementioned communication link, or a link identity of a communication link to be established, or a resource identifier of a link resource used to establish a communication link. For example, a wired connection is established, and the resource identifier may be a bandwidth identifier. In this way, when a communication connection is established based on the identifier request, a pre-configured bandwidth resource may be used for communication of the communication link.
为了避免非法用户窃用所述DVB的直播数据,导致合法用户的使用效果差,所述请求消息中需要携带有密钥信息,该密钥信息,可用于鉴定当前请求建立通信链接的外部设备,是否为合法设备。例如,将该密钥信息与本地存储的鉴定密钥进行匹配,若匹配一致,则确定该外部设备为合法设备,可建立通信链接,否则拒绝建立通信链接。鉴定密钥可为基于用户输入预先配置的密钥。所述密钥信息可为外部设备通过人机交互接口接收的用户输入的密钥。若该外部设备为非首次请求建立通信链接,则其本地存储有之前输入的密钥,外部设备也可以在非首次请求建立通信链接时,利用本地存储的密钥信息进行通信链路建立的请求。In order to prevent the illegal user from stealing the live data of the DVB, the use effect of the legitimate user is poor. The request message needs to carry the key information, and the key information can be used to identify the external device that currently requests to establish the communication link. It is a legal device. For example, the key information is matched with the locally stored authentication key. If the matching is consistent, it is determined that the external device is a legitimate device, and a communication link may be established, otherwise the communication link is refused to be established. The authentication key can be a pre-configured key based on user input. The key information may be a key input by a user received by an external device through a human-machine interaction interface. If the external device establishes a communication link for the first time, the local device stores the previously input key, and the external device may also use the locally stored key information to perform the communication link establishment request when the communication link is not requested for the first time. .
可选的,接收外部设备发送的用于请求直播业务的请求消息包括: Optionally, receiving the request message sent by the external device for requesting the live broadcast service includes:
S11,通过超文本标记语言(html)网页的形式向外部设备分享直播频道信息和/或直播节目信息;S11. Share live channel information and/or live program information to an external device by using a hypertext markup language (html) webpage;
S12,接收外部设备根据直播频道信息和/或直播节目信息选择对应的直播业务后发送的请求消息。S12. Receive a request message sent by the external device after selecting the corresponding live service according to the live channel information and/or the live program information.
可选的,在根据请求消息从DVB机顶盒获取对应的直播资源之后,本实施例的方法还包括:Optionally, after obtaining the corresponding live resource from the DVB set-top box according to the request message, the method in this embodiment further includes:
S21,将直播资源进行解码;S21, decoding live resources;
S22,对解码后的直播资源按照外部设备所支持的流媒体格式进行编码和封装。S22. Encode and encapsulate the decoded live resource according to a streaming media format supported by the external device.
可选的,DVB机顶盒包括以下之一:基于卫星传输的DVB-S机顶盒、基于地面波传输的DVB-T机顶盒、基于同轴电缆传输的DVB-C机顶盒。外部设备可以是各种具备通信功能的设备,如:智能电视、PC、网络机顶盒,手机,平台电脑等。Alternatively, the DVB set-top box includes one of the following: a DVB-S set-top box based on satellite transmission, a DVB-T set-top box based on terrestrial transmission, and a DVB-C set-top box based on coaxial cable transmission. The external device can be various devices with communication functions, such as: smart TV, PC, network set-top box, mobile phone, platform computer, and the like.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
实施例2Example 2
在本实施例中还提供了一种直播分享装置,该装置用于实现上述实施例及可选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, a live broadcast sharing device is also provided, which is used to implement the foregoing embodiments and optional implementation manners, and has not been described again. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图2是根据本发明实施例的直播分享装置的结构框图,应用在家庭媒 体中心,如图2所示,该装置包括:2 is a structural block diagram of a live broadcast sharing apparatus according to an embodiment of the present invention, which is applied to a home medium. Body center, as shown in Figure 2, the device includes:
通信模块20,配置为与外部设备建立通信链路;The communication module 20 is configured to establish a communication link with an external device;
接收模块22,配置为接收外部设备发送的用于请求直播业务的请求消息;The receiving module 22 is configured to receive a request message sent by the external device for requesting a live broadcast service.
处理模块24,配置为根据请求消息从数字视频广播DVB机顶盒获取对应的直播资源,并将直播资源推送给外部设备。The processing module 24 is configured to obtain a corresponding live resource from the digital video broadcast DVB set-top box according to the request message, and push the live broadcast resource to the external device.
可选的,接收模块包括:分享单元,配置为通过超文本标记语言HTML网页的形式向外部设备分享直播频道信息和/或直播节目信息;接收单元,用于接收外部设备根据直播频道信息和/或直播节目信息选择对应的直播业务后发送的请求消息。Optionally, the receiving module includes: a sharing unit, configured to share the live channel information and/or the live program information in the form of a hypertext markup language HTML webpage to the external device; and the receiving unit is configured to receive the external device according to the live channel information and/or Or the live broadcast program information selects the request message sent after the corresponding live broadcast service.
可选的,装置还包括:解码模块,配置为在处理模块根据请求消息从DVB机顶盒获取对应的直播资源之后,将直播资源进行解码;Optionally, the device further includes: a decoding module, configured to: after the processing module acquires the corresponding live resource from the DVB set-top box according to the request message, decode the live resource;
包装模块,配置为对解码后的直播资源按照外部设备所支持的流媒体格式进行编码和封装。The packaging module is configured to encode and encapsulate the decoded live resource according to a streaming media format supported by the external device.
图3是根据本发明实施例的家庭媒体设备的结构框图,如图3所示,包括:FIG. 3 is a structural block diagram of a home media device according to an embodiment of the present invention. As shown in FIG. 3, the method includes:
直播管理模块30,配置为解析数字视频广播DVB机顶盒的音视频解码参数和节目列表;The live management module 30 is configured to parse the audio and video decoding parameters and the program list of the digital video broadcast DVB set top box;
网络管理模块32,配置为向外部设备传输链接请求信息、节目列表、音视频数据,接收外部设备发送的用于请求直播业务的请求消息;The network management module 32 is configured to transmit link request information, a program list, audio and video data to the external device, and receive a request message sent by the external device for requesting the live broadcast service;
共享服务模块34,配置为通过网络管理模块广播发送家庭媒体中心设备的标识信息,与一个或多个外部设备建立通信链路;The shared service module 34 is configured to broadcast and transmit the identification information of the home media center device through the network management module, and establish a communication link with one or more external devices;
媒体管理模块36,配置为使用超文本传输协议HTTP向外部设备发送与请求消息对应的直播资源。The media management module 36 is configured to send a live resource corresponding to the request message to the external device by using a hypertext transfer protocol HTTP.
可选的,设备还包括:解码模块,配置为接收DVB机顶盒的直播资源,根据解码参数对直播资源进行解码;编码模块,用于对解码模块解码后直播资源进行编码封装。Optionally, the device further includes: a decoding module configured to receive a live resource of the DVB set-top box, and decode the live resource according to the decoding parameter; and an encoding module, configured to encode and encapsulate the live resource after decoding the decoding module.
本实施例的家庭媒体设备可以是DVB机顶盒终端,作为家庭媒体中心 设备进行直播分享,使其他设备可以观看DVB的直播节目。The home media device of this embodiment may be a DVB set-top box terminal as a home media center. The device shares live broadcasts so that other devices can watch live DVB programs.
机顶盒(家庭媒体中心设备,家庭媒体设备)包括三部分数据:音视频,直播节目列表数据和请求控制交互数据。其中涉及到的主要模块如下:The set-top box (home media center equipment, home media equipment) includes three parts of data: audio and video, live program list data, and request control interaction data. The main modules involved are as follows:
直播管理模块,配置为解析管理DVB直播系统的音视频解码参数和电子节目单(EPG)数据以及其他节目列表等DVB业务数据。The live management module is configured to parse and manage DVB service data such as audio and video decoding parameters and electronic program guide (EPG) data of the DVB live broadcast system and other program listings.
在一些实施例中,所述家庭媒体中心设备简称为家庭媒体中心。In some embodiments, the home media center device is simply referred to as a home media center.
共享服务模块,配置为通过网络管理模块广播家庭媒体中心的标识,手机,平板,网络机顶盒,智能电视等设备通过标识可以与家庭媒体中心建立相关链接;同时该模块会维护管理多个设备的请求。The shared service module is configured to broadcast the identity of the home media center through the network management module, and the device such as a mobile phone, a tablet, a network set-top box, a smart TV, etc. can establish a related link with the home media center by using the identifier; and the module maintains a request for managing multiple devices. .
媒体管理模块,配置为使用超文本传输协议(HTTP)向手机,平板,网络机顶盒,智能电视等请求设备发送相关业务数据,包括DVB频道列表和电子节目单数据;同时支持直播音视频数据通过实时流传输协议(RTSP),Http,动态码率自适应技术(hls)等协议(请求设备可以自适应自身支持的协议,以及选择对应的流媒体格式)推送到观看直播的相关设备。The media management module is configured to use the Hypertext Transfer Protocol (HTTP) to send relevant service data to the requesting device such as a mobile phone, a tablet, a network set top box, a smart TV, etc., including a DVB channel list and an electronic program list data; and simultaneously support the live audio and video data through real time. Protocols such as Streaming Protocol (RTSP), Http, Dynamic Rate Adaptation Technology (HLS) (requesting devices can adapt their own supported protocols, and selecting the corresponding streaming media format) are pushed to the relevant devices for watching live broadcasts.
解码模块,配置为接收广电的电缆(Cable)、卫星(Satellite)和Terrestrial等DVB直播数据,接收直播管理模块的参数,过滤音视频数据并且解码和播放,其他业务数据过滤后提交直播管理模块进行对应的解析。The decoding module is configured to receive DVB live data such as cable (Satellite), satellite (Satellite) and Terrestrial, receive parameters of the live management module, filter audio and video data, and decode and play, and other business data is filtered and submitted to the live management module. Corresponding analysis.
编码模块,配置为接收媒体管理模块的相关参数,并且对解码模块输出的音视频数据进行编码封装,通过网络模块发送到请求直播分享的设备。The encoding module is configured to receive related parameters of the media management module, and encode and encapsulate the audio and video data output by the decoding module, and send the device to the device requesting live broadcast sharing through the network module.
网络管理模块,配置为管理家庭媒体中心的网络设备,负责传输链接请求信息,节目表信息,音视频数据等。所有直播分享的数据都通过网络管理模块和手机,平板,PC,网络机顶盒等设备进行交换。The network management module is configured to manage the network device of the home media center, and is responsible for transmitting link request information, program list information, audio and video data, and the like. All live sharing data is exchanged through the network management module and devices such as mobile phones, tablets, PCs, and network set-top boxes.
使用本实施例的各个模块,执行直播分享的具体步骤包括以下几部分:The specific steps for performing live broadcast sharing using the various modules of this embodiment include the following parts:
步骤A:开机后执行搜索时直播管理模块解析DVB码流中的音视频解码参数、频道数据和电子节目单数据保存至本地数据库。Step A: The live management module parses the audio and video decoding parameters, the channel data, and the electronic program list data in the DVB stream after the search is performed after booting to the local database.
步骤B:网络管理模块启动,共享服务器启动并且通过网管模块广播家庭媒体中心的识别信息,供接入网络管理模块的其他设备建立链接。Step B: The network management module starts, and the shared server starts and broadcasts the identification information of the home media center through the network management module, so that other devices accessing the network management module establish a link.
步骤C:手机,平板,PC,网络机顶盒等设备通过网络管理模块与家 庭媒体中心建立网络连接(无线或者有线),搜索到家庭媒体中心的识别信息,通过识别信息请求建立连接。Step C: Mobile phones, tablets, PCs, network set-top boxes, etc. through the network management module and home The media center establishes a network connection (wireless or wired), searches for the identification information of the home media center, and requests to establish a connection by identifying the information.
步骤D:共享服务器模块接收到连接请求后,为请求的设备分配一个唯一的标识并且创建媒体资源管理模块和请求设备(手机,平板,PC,网络机顶盒等)链接,同时回复请求设备连接成功,在家庭媒体中心终端上显示请求设备(手机,平板,PC,网络机顶盒等)的标识提示用户。Step D: After receiving the connection request, the shared server module assigns a unique identifier to the requested device and creates a link between the media resource management module and the requesting device (mobile phone, tablet, PC, network set-top box, etc.), and responds to the requesting device to connect successfully. The user of the request device (mobile phone, tablet, PC, network set-top box, etc.) is displayed on the home media center terminal to prompt the user.
步骤E:连接成功后,请求设备(手机,平板,PC,网络机顶盒等)请求获取直播节目列表以及EPG等业务数据,媒体资源管理器收到请求后,通过直播管理模块获取原始的节目列表以及EPG等原始数据,然后封装成html网页的形式发送给请求设备,DVB频道的业务数据如节目单也就呈现给了用户。Step E: After the connection is successful, the requesting device (mobile phone, tablet, PC, network set-top box, etc.) requests to obtain the live program list and the service data such as the EPG. After receiving the request, the media resource manager obtains the original program list through the live broadcast management module. The original data such as EPG is then packaged into an html web page and sent to the requesting device, and the service data of the DVB channel, such as the program list, is presented to the user.
步骤F:用户通过请求设备(手机,平板,PC,网络机顶盒等)界面可以选择需要观看的直播节目,直播节目的请求通过RTS,RTSP,HLS,HTTP等协议(包括媒体流的音视频格式以及协议请求设备会根据自身能力自适应获取)发送到媒体资源管理组件,。Step F: The user can select a live program to be watched through the interface of the requesting device (mobile phone, tablet, PC, network set-top box, etc.), and the request for the live program passes the protocols of RTS, RTSP, HLS, HTTP, etc. (including the audio and video formats of the media stream and The protocol requesting device will be adaptively acquired according to its own capabilities and sent to the media resource management component.
步骤G:媒体资源管理组件接收到播放请求后解析相关请求,通知直播管理模块进行相关直播节目播放的资源准备,资源准备就绪后控制解码模块解码接收到的Cable、Satellite或者Terrestrial等DVB直播音视频数据;同时媒体资源管理模块将对应的流媒体封装格式以及对应的音视频格式参数传递给编码模块,编码模块接收解码模块解码的数据进行编码封装,然后通过网络管理模块推送到请求设备进行播放;若直播管理模块准备对应的资源失败,则同过媒体资源管理模块将对应失败的信息回馈给请求设备终端(手机,平板,PC,网络机顶盒等);同时用户可以在请求设备终端进行直播节目的切换,切换流程如上述过程。Step G: The media resource management component parses the relevant request after receiving the play request, and notifies the live broadcast management module to prepare the resource for playing the related live broadcast program. After the resource is ready, the control decoding module decodes the received DVB live audio and video such as Cable, Satellite or Terrestrial. The data resource management module transmits the corresponding streaming media encapsulation format and the corresponding audio and video format parameters to the encoding module, and the encoding module receives the data decoded by the decoding module for encoding and encapsulation, and then pushes the data to the requesting device for playing through the network management module; If the live management module fails to prepare the corresponding resource, the same media resource management module returns the corresponding failure information to the requesting device terminal (mobile phone, tablet, PC, network set-top box, etc.); and the user can perform the live program at the requesting device terminal. Switching, the switching process is as described above.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination. The forms are located in different processors.
实施例3Example 3
本实施例是根据本发明的可选实施例,用于结合具体的实例对本申请 进行详细说明:This embodiment is an optional embodiment according to the present invention, which is used in conjunction with a specific example. Detailed instructions:
图4是本发明实施例的家庭媒体中心的整体架构示意图,主要涉及的模块包括:4 is a schematic diagram of an overall architecture of a home media center according to an embodiment of the present invention, and the main modules involved are:
操作系统(模块,图4中其他方框均表示对应模块)101为上层业务提供支撑作用,屏蔽硬件细节,管理硬件,任务调度等;解码模块102主要是DVB系统不同的信号传入,可以包括DVB-S、DVB-T和DVB-C三种系统,分别是基于卫星传输、基于地面波传输和基于同轴电缆传输。针对不同的传输方式,机顶盒使用对应系统的处理芯片来接收处理DVB系统信号,进行相应的过滤,并且进行音视频的解码输出;编码模块103负责对解码模块102解码后的音视频数据进行编码封装成适合请求设备播放的格式和协议;直播管理模块109,配置为解析从操作系统模块101过滤来的DVB系统中的各种业务信息数据,包括各个频道音视频节目参数、电子节目单数据和其他业务数据并且保存管理。The operating system (module, other blocks in FIG. 4 represent corresponding modules) 101 provides support for upper layer services, shields hardware details, manages hardware, tasks scheduling, etc.; decoding module 102 is mainly used for different signals of DVB system, and may include The three systems DVB-S, DVB-T and DVB-C are based on satellite transmission, ground-based transmission and coaxial cable transmission. For different transmission modes, the set top box uses the processing chip of the corresponding system to receive and process the DVB system signal, performs corresponding filtering, and performs audio and video decoding output; the encoding module 103 is responsible for encoding and encapsulating the audio and video data decoded by the decoding module 102. The format and protocol suitable for requesting device playback; the live management module 109 is configured to parse various service information data in the DVB system filtered from the operating system module 101, including audio and video program parameters of each channel, electronic program data, and others. Business data and save management.
媒体资源管理模块104配置为主要提供直播节目列表的传递和直播共享流媒体的控制:从直播管理模块109获取电子节目单数据和其他业务数据封装成HTML的形式对外进行展示,同时接收外部的共享请求,控制直播管理模块109进行节目播放,传递给编码模块103对应的编码参数以及流媒体传输协议。The media resource management module 104 is configured to mainly provide the delivery of the live program list and the control of the live share streaming media: the electronic program data and other service data obtained from the live management module 109 are encapsulated into an HTML form for external display, and external sharing is received. The request, the live broadcast management module 109 is controlled to perform program play, and is transmitted to the encoding parameter corresponding to the encoding module 103 and the streaming media transmission protocol.
网络管理模块105配置为主要是管理家庭媒体中心的网络设备,为其他设备的提供网络接入服务器,负责设备间的数据通讯。The network management module 105 is configured to mainly manage the network devices of the home media center, provide network access servers for other devices, and is responsible for data communication between the devices.
人机交互模块106为家庭媒体中心自己的界面,在家庭媒体中心直接观看节目的时候提供交互功能;显示系统模块108同样是家庭媒体中心作为普通STB时输出视频和图片的方式。The human-computer interaction module 106 is a home media center's own interface, and provides an interactive function when the home media center directly views the program; the display system module 108 is also a way for the home media center to output video and pictures as a normal STB.
共享服务模块107主要负责对外提供直播分享的身份识别广播,请求设备的共享接入和管理功能,为媒体资源管理模块104和请求设备(手机,平板,PC,网络机顶盒等,与外部设备等同)建立后续业务的交互链路。The shared service module 107 is mainly responsible for providing the live broadcast shared identity broadcast, requesting the shared access and management functions of the device, for the media resource management module 104 and the requesting device (mobile phone, tablet, PC, network set-top box, etc., equivalent to the external device) Establish an interactive link for subsequent services.
图5是本发明实施例的直播共享业务应用场景组网示意图,主要为:FIG. 5 is a schematic diagram of networking of a live broadcast service application scenario according to an embodiment of the present invention, where:
家庭媒体中心(STB)自带无线,有线接入端口,PC或者其他网络机顶盒通过有线网络接入家庭媒体中心(STB),平板电脑(pad),手机(phone), 网络机顶盒通过无线接入家庭媒体中心,直播信号进入家庭媒体中心(STB)后,通过有线或者无线网络将直播节目分享给个人电脑(pc),pad,phone,网络机顶盒等局域网内的设备。The Home Media Center (STB) comes with a wireless, wired access port, PC or other network set-top box to access the Home Media Center (STB), tablet (pad), mobile phone (phone) via a wired network. The network set-top box wirelessly accesses the home media center, and after the live broadcast signal enters the home media center (STB), the live program is shared to a personal computer (pc), pad, phone, network set-top box and other devices in the local area network through a wired or wireless network.
图6是本发明实施例的直播分享业务各模块交互的结构示意图,主要涉及:FIG. 6 is a schematic structural diagram of interaction of modules of a live sharing service according to an embodiment of the present invention, which mainly relates to:
网络模块201与phone设备207直接进行音视频数据,交互控制数据,节目列表与epg数据,媒体中心所有的直播分享业务的数据均有网络模块201进行通讯。共享服务器模块202与网络模块201直接进行控制数据的接收以及接入广播数据的发送,并且给媒体资源模块203文件发送相关建立直播分享链接的控制数据。解码模块204主要的接收来自外部的DVB-C,DVB-S,DVB-T等直播信号,同时接收直播管理模块206的控制信息,将过滤后的业务数据提交给直播管理模块206进行解析。编码模块205接收媒体资源模块203的编码格式将解码模块204解码后的数据进行对应的编码封装,通过网络模块201发送到phone设备207。直播管理模块206主要接收媒体资源模块203的直播请求,并且给提供直播节目列表和EPG数据等。The network module 201 and the phone device 207 directly perform audio and video data, interactive control data, program list and epg data, and data of all live sharing services of the media center are communicated by the network module 201. The sharing server module 202 and the network module 201 directly perform control data reception and transmission of access broadcast data, and send control data related to establishing a live share sharing link to the media resource module 203 file. The decoding module 204 mainly receives live signals such as DVB-C, DVB-S, and DVB-T from the outside, and receives the control information of the live management module 206, and submits the filtered service data to the live management module 206 for analysis. The encoding module 205 receives the encoding format of the media resource module 203, and performs the corresponding encoding and encapsulation of the data decoded by the decoding module 204, and sends the data to the phone device 207 through the network module 201. The live broadcast management module 206 mainly receives the live broadcast request of the media resource module 203, and provides a live program list, EPG data, and the like.
图7是本发明实施例的手机与家庭媒体中心交互示意图,涉及:FIG. 7 is a schematic diagram of interaction between a mobile phone and a home media center according to an embodiment of the present invention, which relates to:
phone401通过无线或者有线接入家庭媒体中心402的网络,并且从网络管理模块402或者网络协议(ip)地址,可以是动态主机配置协议(dhcp)获取或者其他方式。同时共享服务器404会在局域网内进行识别身份的广播(使用udp报文),提供给手机(phone)401发现,phone 401发现后向共享服务器404发起连接请求,共享服务器404收到请求后为phone 401提供一个识别标号device0:**,创建一个媒体资源管理模块405的链接信息以url的形式发送给phone 401,完成设备发现接入的过程。连接成功后phone 401会发起订阅的过程,向phone 401请求媒体服务器通过统一资源地址(url)(http协议)的形式,phone 401中的媒体资源管理模块收到请求后,发送对应节目列表,epg信息等以html的形式传给phone 401完成订阅的过程。phone 401订阅完成后会呈现对应的节目列表供用户选择,用户选择后就发起了选择频道播放的流程,请求数据中携带了播放频道的信息,以及phone 401支持的流媒体格式以及协议,然phone 401的编码 模块406把解码后的数据按照phone 401的格式打包通过phone 401支持的协议(比如hls,rtp,rtsp等)传输给phone 401.然后phone 401进行播放的流程呈现用户的观看需求。The phone 401 accesses the network of the home media center 402 by wireless or wired, and may be Dynamic Host Configuration Protocol (dhcp) acquisition or other means from the network management module 402 or network protocol (ip) address. At the same time, the sharing server 404 performs identification broadcast (using udp message) in the local area network, and provides it to the mobile phone (phone) 401. After the phone 401 is found, the connection request is initiated to the shared server 404, and the shared server 404 receives the request for the phone. 401 provides an identification number device0:**, and creates a link information of the media resource management module 405 to be sent to the phone 401 in the form of a url to complete the process of device discovery access. After the connection is successful, the phone 401 initiates a subscription process, and requests the media server to pass the unified resource address (url) (http protocol) to the phone 401. After receiving the request, the media resource management module in the phone 401 sends a corresponding program list, epg The information is transmitted to the phone 401 in the form of html to complete the subscription process. After the phone 401 subscription is completed, the corresponding program list will be presented for the user to select. After the user selects, the process of selecting the channel playing is initiated, the request data carries the information of the playing channel, and the streaming media format and protocol supported by the phone 401, then the phone 401 code The module 406 packages the decoded data according to the format of the phone 401 and transmits it to the phone 401 through a protocol supported by the phone 401 (such as hls, rtp, rtsp, etc.). Then the process of playing the phone 401 presents the user's viewing demand.
图8是本发明实施例的手机,平板,PC,网络机顶盒多个请设备与家庭媒体中心同时直播节目分享示意图;8 is a schematic diagram of a live broadcast program sharing between a plurality of devices of a mobile phone, a tablet, a PC, and a network set-top box according to an embodiment of the present invention;
phone501,pad502通过无线,机顶盒503,PC504通过有线,接入家庭媒体中心的网络,并且从网络管理模块505或者ip地址,可以是dhcp获取或者其他方式。同时共享服务器506会在局域网内进行识别身份的广播(使用udp报文),提供给501,502,503,504对应的模块发现,501,502,503,504对应的模块发现后向共享服务器506发起连接请求,506收到请求后为501提供一个识别标号d0:**,创建一个媒体资源管理507的链接信息以url的形式发送给phone 501,完成设备发现接入的过程,同时依照上述情况,为Pad 502分配d1:**,机顶盒503分配d2:***,PC 504分配d3:*****.所有的分配有共享服务器506进行分配管理,媒体资源与对应标号的d*进行逻辑上的连接路由,进行多个设备的直播分享命令交互。同时媒体资源管理507为每个设备在多路转码模块508多路转码中分配对应的资源,提供1对的1的转码服务。从而实现多个设备同时进行直播观看的功能。Phone501, pad502 through the wireless, set-top box 503, PC504 through the wire, access the network of the home media center, and from the network management module 505 or ip address, can be dhcp acquisition or other means. At the same time, the sharing server 506 performs identification broadcast (using udp message) in the local area network, and provides module identification corresponding to 501, 502, 503, 504, and the module corresponding to 501, 502, 503, 504 finds the backward shared server 506. After the connection request is initiated, 506 provides an identification number d0:** for the 501 after receiving the request, and creates a link information of the media resource management 507 to be sent to the phone 501 in the form of a url to complete the process of device discovery access, and according to the above situation. For the Pad 502, d1:** is allocated, the set top box 503 allocates d2:***, and the PC 504 allocates d3:*****. All the distribution servers 506 are allocated for management, and the media resources and the corresponding labels are d*. A logical connection route that performs live sharing command interactions of multiple devices. At the same time, the media resource management 507 allocates corresponding resources for each device in the multiplexed transcoding module 508, and provides a pair of 1 transcoding services. Thereby, the function of simultaneously watching live broadcasts of multiple devices is realized.
图9是本发明实施例的请求设备(手机,平板,PC,网络机顶盒等)通过家庭媒体中心观看时移节目的示意图;9 is a schematic diagram of a requesting device (mobile phone, tablet, PC, network set-top box, etc.) viewing a time-shifted program through a home media center according to an embodiment of the present invention;
phone 601向入家庭媒体中心的媒体资源管理模块603发起节目播放请求,媒体资源管理模块603向直播管理模块604发起播放请求,直播管理模块604控制解码模块606进行DVB数据的解码,同时媒体资源管理模块603控制编码模块605对解码模块606的数据进行编码同时交给缓存区设备602进行储存。缓存区设备602的数据统一由媒体资源管理模块603进行管理,当phone 601进行直播请求的时候媒体资源管理模块603赋值从缓存区设备602分配对应的音视频数据给phone 601,若为实时节目,则从缓存区设备602获取最新的数据,若phone601需要观看之前的直播节目,或者进行seek操作,则媒体资源管理模块603接收到控制命令后,在缓存 区设备602的数据中根据时间戳进行相应的推送定位。The phone 601 initiates a program play request to the media resource management module 603 of the home media center, and the media resource management module 603 initiates a play request to the live broadcast management module 604. The live broadcast management module 604 controls the decoding module 606 to decode the DVB data, and at the same time, media resource management. The module 603 controls the encoding module 605 to encode the data of the decoding module 606 and simultaneously to the buffer device 602 for storage. The data of the buffer area device 602 is uniformly managed by the media resource management module 603. When the phone 601 performs the live broadcast request, the media resource management module 603 assigns the corresponding audio and video data from the buffer device 602 to the phone 601, and if it is a real-time program, Then, the latest data is obtained from the buffer device 602. If the phone 601 needs to watch the previous live program or performs a seek operation, the media resource management module 603 receives the control command and caches it. The data of the zone device 602 performs corresponding push positioning according to the timestamp.
图10是本发明实施例的家庭媒体中心支持多种网络播放协议的示意图,手机(phone)701向入家庭媒体中心的媒体资源管理模块703发起节目播放请求,pad 702向入家庭媒体中心的媒体资源管理模块703发起节目播放请求,其中直播播放器请求中携带了对应的流媒体播放协议,phone 701请求为hls协议,pad 702携带的是rtsp的协议;媒体资源管理模块703解析到协议数据后将协议参数传递给编码模块705,编码模块705内部自带hls,rtsp,http等媒体协议栈,根据媒体资源管理模块703传递的协议和编码格式参数,从解码模块706获取解码后的数据,根据对应协议参数进行流媒体协议的封装,如给phone 701封装为hls协议的流媒体,给pad 702封装tsp的流媒体。其他协议也是一样10 is a schematic diagram of a home media center supporting multiple network play protocols according to an embodiment of the present invention. A mobile phone 701 initiates a program play request to a media resource management module 703 of a home media center, and the pad 702 enters a media of the home media center. The resource management module 703 initiates a program play request, wherein the live player request carries a corresponding streaming media playing protocol, the phone 701 requests the hls protocol, the pad 702 carries the rtsp protocol, and the media resource management module 703 parses the protocol data. The protocol parameters are passed to the encoding module 705, and the encoding module 705 internally carries the media protocol stacks such as hls, rtsp, http, and the decoded data is obtained from the decoding module 706 according to the protocol and the encoding format parameters transmitted by the media resource management module 703. Corresponding to the protocol parameters, the streaming protocol is encapsulated, for example, the phone 701 is packaged as the streaming media of the hls protocol, and the pad 702 is packaged with the tsp streaming media. The same is true for other agreements
本实施例通过引入了共享服务管理模块,该模块接收并且管理其他设备的直播分享业务请求,对外在家庭局域网内提供良好的接入方式。媒体资源管理模块生成统一的格式频道列表数据,以及控制生成适合请求设备播放的音频流媒体格式,供请求设备使用,从而实现DVB直播业务在家庭局域网内畅通的分享,具备良好的用户体验。This embodiment introduces a shared service management module, which receives and manages the live sharing service request of other devices, and provides a good access mode in the home LAN. The media resource management module generates a unified format channel list data, and controls to generate an audio streaming media format suitable for the requested device to be used by the requesting device, thereby realizing the smooth sharing of the DVB live broadcast service in the home LAN, and having a good user experience.
实施例4Example 4
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
S1,与外部设备建立通信链路;S1, establishing a communication link with an external device;
S2,接收所述外部设备发送的用于请求直播业务的请求消息;S2. Receive a request message sent by the external device for requesting a live broadcast service.
S3,根据所述请求消息从数字视频广播DVB机顶盒获取对应的直播资源,并将所述直播资源推送给所述外部设备。S3. Acquire a corresponding live resource from the digital video broadcast DVB set-top box according to the request message, and push the live broadcast resource to the external device.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. A variety of media that can store program code, such as a disc or a disc.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行与外部设备建立通信链路; Optionally, in this embodiment, the processor performs a communication link with the external device according to the stored program code in the storage medium;
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行接收所述外部设备发送的用于请求直播业务的请求消息;Optionally, in this embodiment, the processor performs, according to the stored program code in the storage medium, receiving a request message for requesting a live broadcast service sent by the external device;
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行根据所述请求消息从数字视频广播DVB机顶盒获取对应的直播资源,并将所述直播资源推送给所述外部设备。Optionally, in this embodiment, the processor, according to the stored program code in the storage medium, performs acquiring, according to the request message, a corresponding live resource from the digital video broadcast DVB set-top box, and pushing the live resource to the external device.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
实施例5:Example 5:
本实施例提供一种直播分享方法,包括:This embodiment provides a live broadcast sharing method, including:
与家庭媒体中心设备建立通信链路;Establish a communication link with the home media center device;
利用所述通信链路,向所述家庭媒体中心设备发送请求消息,其中,所述请求消息,用于请求直播业务;Sending, by the communication link, a request message to the home media center device, where the request message is used to request a live broadcast service;
接收所述家庭媒体中心设备从数字视频广播DVB机顶盒获取的直播数据;Receiving live data acquired by the home media center device from a digital video broadcast DVB set top box;
输出所述直播数据。The live data is output.
本发明实施例提供的直播分享方法,可为应用于请求直播分享的输出设备,或与输出设备连接的中转设备,例如,输出设备的控制设备等,可对应于前述的外部设备。The live broadcast sharing method provided by the embodiment of the present invention may be applied to an output device that requests live broadcast sharing, or a transit device that is connected to the output device, for example, a control device of the output device, and the like, and may correspond to the foregoing external device.
所述输出设备可为电视机、电脑或可穿戴设备等,可以输出直播数据的设备。The output device may be a television, a computer or a wearable device, etc., and may output a device for playing live data.
在本实施例中,直播设备请求直播数据时,不直接向直播服务器请求,也不向机顶盒请求,而向家庭媒体中心设备请求,该家庭媒体中心设备可为前述家庭媒体中心设备。In this embodiment, when the live broadcast device requests the live broadcast data, the live media server does not directly request the live broadcast server, and does not request the set top box, but requests the home media center device, and the home media center device may be the foregoing home media center device.
通过通信链路的建立,通过建立的通信链路请求消息,接收基于请求消息从DVB获取的直播数据。Through the establishment of the communication link, the live data acquired from the DVB based on the request message is received through the established communication link request message.
若当前设备为输出设备,则所述输出直播数据为:播放直播数据,例如,播放直播视频和/或播放直播音频。 If the current device is an output device, the output live data is: playing live data, for example, playing live video and/or playing live audio.
若当前设备为输出设备的中转设备,则所述输出直播数据为:将所述直播数据发送给输出设备,供输出设备播放直播数据。If the current device is a transit device of the output device, the output live data is: sending the live data to the output device, and the output device plays the live data.
可选地,所述方法还包括:Optionally, the method further includes:
接收所述家庭媒体中心设备发送的直播数据的数据标识;Receiving a data identifier of the live broadcast data sent by the home media center device;
所述利用所述通信链路,向所述家庭媒体中心设备发送请求消息,包括:Sending the request message to the home media center device by using the communication link, including:
利用所述通信链路,向所述家庭媒体中心设备发送携带有数据标识的请求消息。Using the communication link, a request message carrying a data identifier is sent to the home media center device.
所述家庭媒体中心设备会发送直播数据的数据标识,例如,家庭媒体中心设备广播直播数据的数据标识,这样的话,输出设备就知道当前有哪些直播数据或哪些直播业务可以观看。The home media center device sends a data identifier of the live broadcast data, for example, the home media center device broadcasts the data identifier of the live broadcast data, so that the output device knows which live broadcast data or which live broadcast services are currently available for viewing.
若当前设备为输出设备,在接收到所述数据标识时,通过提醒消息展示所述数据标识,供用户查看,若用户想要观看该直播数据,则当前设备会检测到作用于该数据标识的操作,基于该操作,当前设备利用所述通信链接向家庭媒体中心设备发送请求消息。If the current device is an output device, when the data identifier is received, the data identifier is displayed by the reminder message for the user to view. If the user wants to view the live data, the current device detects the role of the data identifier. Operation, based on the operation, the current device transmits a request message to the home media center device using the communication link.
所述数据标识,可包括:直播频道的频道标识、直播节目的节目标识、直播业务的业务标识。总之,这里的数据标识可为指向特定直播业务或特定直播数据的任意标识信息,例如,名称和/或编号。The data identifier may include: a channel identifier of a live channel, a program identifier of a live program, and a service identifier of a live broadcast service. In summary, the data identification herein can be any identifying information that points to a particular live broadcast service or specific live broadcast data, such as a name and/or a number.
可选地,所述方法还包括:Optionally, the method further includes:
向所述家庭媒体中心设备上报输出设备支持的流媒体格式;Reporting, to the home media center device, a streaming media format supported by the output device;
所述接收所述家庭媒体中心设备从数字视频广播DVB机顶盒获取的直播数据,包括:Receiving the live broadcast data obtained by the home media center device from the digital video broadcast DVB set top box, including:
接收所述家庭媒体中心设备采用所述流媒体格式封装的直播数据。Receiving live data encapsulated by the home media center device in the streaming media format.
当前还会将输出设备支持的流媒体格式上报给家庭媒体中心设备,例如,家庭媒体中心设备,家庭媒体中心设备会将直播数据封装为输出设备所支持的流媒体格式,避免输出设备接收到该直播数据之后,由于不支持对应的流媒体格式导致的输出失败的问题。Currently, the streaming media format supported by the output device is also reported to the home media center device. For example, the home media center device encapsulates the live data into a streaming media format supported by the output device, so that the output device does not receive the After the live data is released, the output fails due to the failure to support the corresponding streaming media format.
在本实施例中,为了减少当前设备与家庭媒体中心设备之间的数据交 互,会在请求消息中携带所述流媒体格式。In this embodiment, in order to reduce data exchange between the current device and the home media center device The streaming media format is carried in the request message.
在还有些实施例中,还可以将输出设备支持的流媒体格式,在与家庭媒体中心设备建立通信链接时的交互消息中告诉家庭媒体中心设备,家庭媒体中心设备然后存储在本地。In still other embodiments, the streaming media format supported by the output device can also be communicated to the home media center device in an interactive message when the communication link is established with the home media center device, and the home media center device is then stored locally.
对应的,本实施例还提供一种直播分享装置,可应用于相对于家庭媒体中心设备而言的外部设备中,包括:Correspondingly, the embodiment further provides a live broadcast sharing device, which can be applied to an external device relative to the home media center device, including:
连接单元,对应于通信接口,可配置为与家庭媒体中心设备建立通信链路;a connection unit, corresponding to the communication interface, configured to establish a communication link with the home media center device;
通信单元,对应于通信接口,配置为利用所述通信链路,向所述家庭媒体中心设备发送请求消息,其中,所述请求消息,用于请求直播业务;接收所述家庭媒体中心设备从数字视频广播DVB机顶盒获取的直播数据;a communication unit, corresponding to the communication interface, configured to send a request message to the home media center device by using the communication link, wherein the request message is used to request a live broadcast service; and the home media center device is received from a number Live broadcast data obtained by video broadcast DVB set-top box;
输出单元,对应于多媒体信息输出的组件或通信接口,配置为输出所述直播数据。The output unit, corresponding to the component or communication interface of the multimedia information output, is configured to output the live broadcast data.
所述多媒体输出组件可为显示器或音频输出器等,可以输出多媒体信息的器件。所述通信接口,可为有线接口或无线接口,可用于通信链接建立和/或数据传输。The multimedia output component can be a display or an audio outputter or the like, and can output multimedia information. The communication interface can be a wired interface or a wireless interface, and can be used for communication link establishment and/or data transmission.
所述通信单元,还配置为接收所述家庭媒体中心设备发送的直播数据的数据标识;并配置为利用所述通信链路,向所述家庭媒体中心设备发送携带有数据标识的请求消息。The communication unit is further configured to receive a data identifier of the live broadcast data sent by the home media center device, and configured to send, by using the communication link, a request message carrying the data identifier to the home media center device.
所述通信单元,还配置为向所述家庭媒体中心设备上报输出设备支持的流媒体格式;接收所述家庭媒体中心设备采用所述流媒体格式封装的直播数据。The communication unit is further configured to report, to the home media center device, a streaming media format supported by the output device, and receive live data encapsulated by the home media center device in the streaming media format.
可选地,所述通信单元,还配置为将所述输出设备支持的流媒体格式的格式标识携带在所述请求消息中。Optionally, the communication unit is further configured to carry, in the request message, a format identifier of a streaming media format supported by the output device.
实施例6:Example 6
本发明实施例提供一种计算机存储介质,所述计算机存储介质存储有计算机可执行代码,所述计算机可执行代码被执行后,能够前述一个或多个技术方案提供的直播分享方法,例如,可以执行以下步骤: The embodiment of the present invention provides a computer storage medium, where the computer storage medium is stored, and after the computer executable code is executed, the live sharing method provided by the one or more technical solutions may be, for example, Perform the following steps:
与外部设备建立通信链路;Establish a communication link with an external device;
接收所述外部设备发送的用于请求直播业务的请求消息;Receiving a request message sent by the external device for requesting a live broadcast service;
根据所述请求消息从数字视频广播DVB机顶盒获取对应的直播资源,并将所述直播资源推送给所述外部设备。Obtaining a corresponding live resource from the digital video broadcast DVB set-top box according to the request message, and pushing the live broadcast resource to the external device.
可选地,与外部设备建立通信链路包括以下至少之一:Optionally, establishing a communication link with the external device includes at least one of the following:
向所述外部设备广播发送标识信息,与所述外部设备通过所述标识信息建立无线通信链路;Transmitting, by the external device, the identifier information, and establishing, by the external device, the wireless communication link by using the identifier information;
通过有线接口与所述外部设备建立有线通信链路,向所述外部设备发送标识信息。Establishing a wired communication link with the external device through a wired interface, and transmitting identification information to the external device.
可选地,接收所述外部设备发送的用于请求直播业务的请求消息包括:Optionally, receiving the request message sent by the external device for requesting a live broadcast service includes:
通过超文本标记语言html网页的形式向所述外部设备分享直播频道信息和/或直播节目信息;Sharing live channel information and/or live program information to the external device in the form of a hypertext markup language html web page;
接收所述外部设备根据所述直播频道信息和/或直播节目信息选择对应的直播业务后发送的请求消息。Receiving a request message sent by the external device after selecting a corresponding live broadcast service according to the live channel information and/or live program information.
可选地,在根据所述请求消息从DVB机顶盒获取对应的直播资源之后,所述方法还包括:Optionally, after acquiring the corresponding live resource from the DVB set-top box according to the request message, the method further includes:
将所述直播资源进行解码;Decoding the live resource;
对解码后的直播资源按照所述外部设备所支持的流媒体格式进行编码和封装。The decoded live resource is encoded and encapsulated according to a streaming media format supported by the external device.
可选地,所述DVB机顶盒包括以下之一:基于卫星传输的DVB-S机顶盒、基于地面波传输的DVB-T机顶盒、基于同轴电缆传输的DVB-C机顶盒。Optionally, the DVB set top box comprises one of the following: a DVB-S set top box based on satellite transmission, a DVB-T set top box based on terrestrial wave transmission, and a DVB-C set top box based on coaxial cable transmission.
所述计算机存储介质中的计算机可执行代码,还可用于执行以下步骤:与家庭媒体中心设备建立通信链路;The computer executable code in the computer storage medium is further configured to perform the following steps: establishing a communication link with the home media center device;
利用所述通信链路,向所述家庭媒体中心设备发送请求消息,其中,所述请求消息,用于请求直播业务;Sending, by the communication link, a request message to the home media center device, where the request message is used to request a live broadcast service;
接收所述家庭媒体中心设备从数字视频广播DVB机顶盒获取的直播数据; Receiving live data acquired by the home media center device from a digital video broadcast DVB set top box;
输出所述直播数据。The live data is output.
可选地,所述方法还包括:Optionally, the method further includes:
接收所述家庭媒体中心设备发送的直播数据的数据标识;Receiving a data identifier of the live broadcast data sent by the home media center device;
所述利用所述通信链路,向所述家庭媒体中心设备发送请求消息,包括:Sending the request message to the home media center device by using the communication link, including:
利用所述通信链路,向所述家庭媒体中心设备发送携带有数据标识的请求消息。Using the communication link, a request message carrying a data identifier is sent to the home media center device.
可选地,所述方法还包括:Optionally, the method further includes:
向所述家庭媒体中心设备上报输出设备支持的流媒体格式;Reporting, to the home media center device, a streaming media format supported by the output device;
所述接收所述家庭媒体中心设备从数字视频广播DVB机顶盒获取的直播数据,包括:Receiving the live broadcast data obtained by the home media center device from the digital video broadcast DVB set top box, including:
接收所述家庭媒体中心设备采用所述流媒体格式封装的直播数据。Receiving live data encapsulated by the home media center device in the streaming media format.
可选地,所述向所述家庭媒体中心设备上报所述输出设备支持的流媒体格式,包括:Optionally, the reporting the streaming media format supported by the output device to the home media center device includes:
将所述输出设备支持的流媒体格式的格式标识携带在所述请求消息中。在本发明实施例中,家庭媒体中心设备和外部设备及输出设备可为位于同一个局域网内的设备,实现的是局域网内的直播数据的共享。显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码或软件应用等计算机可执行代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。The format identifier of the streaming media format supported by the output device is carried in the request message. In the embodiment of the present invention, the home media center device and the external device and the output device may be devices located in the same local area network, and the sharing of live data in the local area network is implemented. It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by computer executable code such as program code or software application executable by the computing device, such that they may be stored in the storage device for execution by the computing device, and in some cases, The steps shown or described may be performed in an order different than that herein, or they may be separately fabricated into individual integrated circuit modules, or a plurality of the modules or steps may be implemented as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
所述计算机装置可包括各种类型的处理器或处理电路,所述处理器可 包括:中央处理器、微处理器、数字信号处理器、应用处理器、可编程阵列等。所述处理电路可包括:专用集成电路。The computer device can include various types of processors or processing circuits, and the processor can Including: central processing unit, microprocessor, digital signal processor, application processor, programmable array, etc. The processing circuit can include an application specific integrated circuit.
以上所述仅为本发明的可选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only an alternative embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
本发明实施例中外部设备可以通过与家庭媒体中心设备建立通信链接,从家庭媒体中心设备获取直播数据,而并不一定利用专用供应商的机顶盒获取直播数据,从而实现了一个可获取直播数据的机顶盒,用于多个输出设备的直播数据的输出,实现了机顶盒的共享及直播数据的共享,具有积极的有益效果,与此同时,具有实现简便的特点。 In the embodiment of the present invention, the external device can obtain the live broadcast data from the home media center device by establishing a communication link with the home media center device, and does not necessarily obtain the live broadcast data by using the set-top box of the dedicated provider, thereby realizing a live broadcast data. The set-top box is used for the output of live data of multiple output devices, realizes sharing of the set-top box and sharing of live data, and has positive beneficial effects, and at the same time, has the characteristics of being simple and convenient.

Claims (16)

  1. 一种直播分享方法,包括:A live sharing method includes:
    与外部设备建立通信链路;Establish a communication link with an external device;
    接收所述外部设备发送的用于请求直播业务的请求消息;Receiving a request message sent by the external device for requesting a live broadcast service;
    根据所述请求消息从数字视频广播DVB机顶盒获取对应的直播资源,并将所述直播资源推送给所述外部设备。Obtaining a corresponding live resource from the digital video broadcast DVB set-top box according to the request message, and pushing the live broadcast resource to the external device.
  2. 根据权利要求1所述的方法,其中,与外部设备建立通信链路包括以下至少之一:The method of claim 1 wherein establishing a communication link with the external device comprises at least one of:
    向所述外部设备广播发送标识信息,与所述外部设备通过所述标识信息建立无线通信链路;Transmitting, by the external device, the identifier information, and establishing, by the external device, the wireless communication link by using the identifier information;
    通过有线接口与所述外部设备建立有线通信链路,向所述外部设备发送标识信息。Establishing a wired communication link with the external device through a wired interface, and transmitting identification information to the external device.
  3. 根据权利要求1所述的方法,其中,接收所述外部设备发送的用于请求直播业务的请求消息包括:The method of claim 1, wherein receiving the request message sent by the external device for requesting a live broadcast service comprises:
    通过超文本标记语言html网页的形式向所述外部设备分享直播频道信息和/或直播节目信息;Sharing live channel information and/or live program information to the external device in the form of a hypertext markup language html web page;
    接收所述外部设备根据所述直播频道信息和/或直播节目信息选择对应的直播业务后发送的请求消息。Receiving a request message sent by the external device after selecting a corresponding live broadcast service according to the live channel information and/or live program information.
  4. 根据权利要求1所述的方法,其中,在根据所述请求消息从DVB机顶盒获取对应的直播资源之后,所述方法还包括:The method of claim 1, wherein after obtaining the corresponding live resource from the DVB set-top box according to the request message, the method further comprises:
    将所述直播资源进行解码;Decoding the live resource;
    对解码后的直播资源按照所述外部设备所支持的流媒体格式进行编码和封装。The decoded live resource is encoded and encapsulated according to a streaming media format supported by the external device.
  5. 根据权利要求1所述的方法,其中,所述DVB机顶盒包括以下之一:基于卫星传输的DVB-S机顶盒、基于地面波传输的DVB-T机 顶盒、基于同轴电缆传输的DVB-C机顶盒。The method of claim 1 wherein said DVB set top box comprises one of: a DVB-S set top box based on satellite transmission, a DVB-T based ground wave transmission Top box, DVB-C set-top box based on coaxial cable transmission.
  6. 一种直播分享方法,包括:A live sharing method includes:
    与家庭媒体中心设备建立通信链路;Establish a communication link with the home media center device;
    利用所述通信链路,向所述家庭媒体中心设备发送请求消息,其中,所述请求消息,用于请求直播业务;Sending, by the communication link, a request message to the home media center device, where the request message is used to request a live broadcast service;
    接收所述家庭媒体中心设备从数字视频广播DVB机顶盒获取的直播数据;Receiving live data acquired by the home media center device from a digital video broadcast DVB set top box;
    输出所述直播数据。The live data is output.
  7. 根据权利要求6所述的方法,其中,The method of claim 6 wherein
    所述方法还包括:The method further includes:
    接收所述家庭媒体中心设备发送的直播数据的数据标识;Receiving a data identifier of the live broadcast data sent by the home media center device;
    所述利用所述通信链路,向所述家庭媒体中心设备发送请求消息,包括:Sending the request message to the home media center device by using the communication link, including:
    利用所述通信链路,向所述家庭媒体中心设备发送携带有数据标识的请求消息。Using the communication link, a request message carrying a data identifier is sent to the home media center device.
  8. 根据权利要求6或7所述的方法,其中,The method according to claim 6 or 7, wherein
    所述方法还包括:The method further includes:
    向所述家庭媒体中心设备上报输出设备支持的流媒体格式;Reporting, to the home media center device, a streaming media format supported by the output device;
    所述接收所述家庭媒体中心设备从数字视频广播DVB机顶盒获取的直播数据,包括:Receiving the live broadcast data obtained by the home media center device from the digital video broadcast DVB set top box, including:
    接收所述家庭媒体中心设备采用所述流媒体格式封装的直播数据。Receiving live data encapsulated by the home media center device in the streaming media format.
  9. 根据权利要求8所述的方法,其特征在于,The method of claim 8 wherein:
    所述向所述家庭媒体中心设备上报所述输出设备支持的流媒体格式,包括: And reporting, to the home media center device, a streaming media format supported by the output device, including:
    将所述输出设备支持的流媒体格式的格式标识携带在所述请求消息中。The format identifier of the streaming media format supported by the output device is carried in the request message.
  10. 一种直播分享装置,应用在家庭媒体中心设备,其中,包括:A live broadcast sharing device is applied to a home media center device, including:
    通信模块,配置为与外部设备建立通信链路;a communication module configured to establish a communication link with an external device;
    接收模块,配置为接收所述外部设备发送的用于请求直播业务的请求消息;a receiving module, configured to receive a request message sent by the external device for requesting a live broadcast service;
    处理模块,配置为根据所述请求消息从数字视频广播DVB机顶盒获取对应的直播资源,并将所述直播资源推送给所述外部设备。The processing module is configured to acquire a corresponding live resource from the digital video broadcast DVB set-top box according to the request message, and push the live resource to the external device.
  11. 根据权利要求10所述的装置,其中,所述接收模块包括:The apparatus of claim 10, wherein the receiving module comprises:
    分享单元,配置为通过超文本标记语言HTML网页的形式向所述外部设备分享直播频道信息和/或直播节目信息;a sharing unit configured to share live channel information and/or live program information to the external device in the form of a hypertext markup language HTML webpage;
    接收单元,配置为接收所述外部设备根据所述直播频道信息和/或直播节目信息选择对应的直播业务后发送的请求消息。The receiving unit is configured to receive a request message that is sent by the external device after selecting the corresponding live service according to the live channel information and/or the live program information.
  12. 根据权利要求10所述的装置,其中,所述装置还包括:The device of claim 10, wherein the device further comprises:
    解码模块,配置为在所述处理模块根据所述请求消息从DVB机顶盒获取对应的直播资源之后,将所述直播资源进行解码;a decoding module, configured to: after the processing module acquires a corresponding live resource from the DVB set-top box according to the request message, decode the live resource;
    包装模块,配置为对解码后的直播资源按照所述外部设备所支持的流媒体格式进行编码和封装。The packaging module is configured to encode and encapsulate the decoded live resource according to a streaming media format supported by the external device.
  13. 一种家庭媒体设备,包括:A home media device that includes:
    直播管理模块,配置为解析数字视频广播DVB机顶盒的音视频解码参数和节目列表;a live management module configured to parse audio and video decoding parameters and a program list of the digital video broadcast DVB set top box;
    网络管理模块,配置为向外部设备传输链接请求信息、节目列表、音视频数据,接收所述外部设备发送的用于请求直播业务的请求消息;a network management module, configured to transmit link request information, a program list, audio and video data to an external device, and receive a request message sent by the external device for requesting a live broadcast service;
    共享服务模块,配置为通过所述网络管理模块广播发送家庭媒体中心设备的标识信息,与一个或多个所述外部设备建立通信链路; a shared service module, configured to broadcast, by using the network management module, identification information of the home media center device, and establish a communication link with one or more of the external devices;
    媒体管理模块,配置为使用超文本传输协议HTTP向外部设备发送与所述请求消息对应的直播资源。The media management module is configured to send a live resource corresponding to the request message to an external device by using a hypertext transfer protocol HTTP.
  14. 根据权利要求13所述的设备,其中,所述设备还包括:The device of claim 13, wherein the device further comprises:
    解码模块,配置为接收DVB机顶盒的直播资源,根据所述解码参数对所述直播资源进行解码;编码模块,配置为对所述解码模块解码后直播资源进行编码封装。The decoding module is configured to receive the live resource of the DVB set-top box, and decode the live resource according to the decoding parameter; the encoding module is configured to encode and encapsulate the live resource after decoding the decoding module.
  15. 一种直播分享装置,包括:A live sharing device includes:
    连接单元,配置为与家庭媒体中心设备建立通信链路;a connection unit configured to establish a communication link with the home media center device;
    通信单元,配置为利用所述通信链路,向所述家庭媒体中心设备发送请求消息,其中,所述请求消息,用于请求直播业务;接收所述家庭媒体中心设备从数字视频广播DVB机顶盒获取的直播数据;a communication unit configured to send a request message to the home media center device by using the communication link, wherein the request message is used to request a live broadcast service; and the home media center device is received from a digital video broadcast DVB set top box Live data;
    输出单元,配置为输出所述直播数据。An output unit configured to output the live broadcast data.
  16. 一种计算机存储介质,所述计算机存储介质存储有计算机可执行代码,所述计算机可执行代码被执行后,能够实现权利要求1至9任一项提供的直播分享方法。 A computer storage medium storing computer executable code, the computer executable code being executable to implement the live broadcast sharing method provided in any one of claims 1 to 9.
PCT/CN2017/114658 2016-12-05 2017-12-05 Live stream sharing method and device, home media apparatus, and data storage medium WO2018103644A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611105321.3 2016-12-05
CN201611105321.3A CN108156486A (en) 2016-12-05 2016-12-05 Sharing method and device, home media equipment is broadcast live

Publications (1)

Publication Number Publication Date
WO2018103644A1 true WO2018103644A1 (en) 2018-06-14

Family

ID=62470031

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/114658 WO2018103644A1 (en) 2016-12-05 2017-12-05 Live stream sharing method and device, home media apparatus, and data storage medium

Country Status (2)

Country Link
CN (1) CN108156486A (en)
WO (1) WO2018103644A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210047933A (en) * 2018-08-30 2021-04-30 후아웨이 테크놀러지 컴퍼니 리미티드 Video screen projection method and apparatus, computer equipment, and storage media
CN113992756A (en) * 2021-10-27 2022-01-28 北京八分量信息科技有限公司 Method and device for acquiring shared data in heterogeneous network and related products

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109089155A (en) * 2018-10-30 2018-12-25 深圳市中京电子有限公司 A kind of audio and video resources sharing means and its sharing method
CN109889871B (en) * 2019-03-18 2021-04-30 山东云缦智能科技有限公司 Digital television live broadcasting method, device and system based on network playing equipment
CN110602558A (en) * 2019-08-01 2019-12-20 贵州省广播电视信息网络股份有限公司 High-performance DVB program sharing method for terminal
TWI764777B (en) * 2019-09-25 2022-05-11 來享享網路科技股份有限公司 Method, system and non-transitory computer readable storage medium for data sharing
TWI741374B (en) * 2019-09-25 2021-10-01 來享享網路科技股份有限公司 Method, system and non-transitory computer readable storage medium for data sharing

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1736056A (en) * 2002-11-05 2006-02-15 索尼电子有限公司 Mechanism for protecting the transfer of digital content
CN101945252A (en) * 2010-07-01 2011-01-12 中兴通讯股份有限公司 Cross-platform media system and implementation method thereof
CN103338186A (en) * 2013-06-05 2013-10-02 华为技术有限公司 A content sharing method and an apparatus
CN103491394A (en) * 2013-09-30 2014-01-01 深圳市九洲电器有限公司 Method and device for recording television programs
US20150074552A1 (en) * 2013-09-10 2015-03-12 Opentv, Inc System and method of displaying content and related social media data

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101521732B (en) * 2009-03-11 2011-07-20 深圳市融创天下科技发展有限公司 System and method for remotely controlling set-top box
CN101800883B (en) * 2010-01-21 2013-08-07 中兴通讯股份有限公司 Internet protocol television system and realizing method thereof based on wireless data card
CN104918122B (en) * 2014-03-14 2018-09-07 北京四达时代软件技术股份有限公司 In the method and device of family's network sharing and control plurality of devices
CN103905838B (en) * 2014-03-28 2017-02-22 深圳创维-Rgb电子有限公司 Method and system for enabling terminal to play DVB services
CN104780424A (en) * 2015-03-18 2015-07-15 福建新大陆通信科技股份有限公司 Local area network live video distribution method based on set-top box
CN105959784A (en) * 2016-05-30 2016-09-21 浪潮软件集团有限公司 Video sharing implementation method based on set top box

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1736056A (en) * 2002-11-05 2006-02-15 索尼电子有限公司 Mechanism for protecting the transfer of digital content
CN101945252A (en) * 2010-07-01 2011-01-12 中兴通讯股份有限公司 Cross-platform media system and implementation method thereof
CN103338186A (en) * 2013-06-05 2013-10-02 华为技术有限公司 A content sharing method and an apparatus
US20150074552A1 (en) * 2013-09-10 2015-03-12 Opentv, Inc System and method of displaying content and related social media data
CN103491394A (en) * 2013-09-30 2014-01-01 深圳市九洲电器有限公司 Method and device for recording television programs

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210047933A (en) * 2018-08-30 2021-04-30 후아웨이 테크놀러지 컴퍼니 리미티드 Video screen projection method and apparatus, computer equipment, and storage media
KR102387161B1 (en) 2018-08-30 2022-04-14 후아웨이 테크놀러지 컴퍼니 리미티드 Video screen projection method and apparatus, computer equipment, and storage medium
CN113992756A (en) * 2021-10-27 2022-01-28 北京八分量信息科技有限公司 Method and device for acquiring shared data in heterogeneous network and related products
CN113992756B (en) * 2021-10-27 2024-04-26 北京八分量信息科技有限公司 Shared data acquisition method and device in heterogeneous network and related products

Also Published As

Publication number Publication date
CN108156486A (en) 2018-06-12

Similar Documents

Publication Publication Date Title
WO2018103644A1 (en) Live stream sharing method and device, home media apparatus, and data storage medium
CN101159577B (en) Apparatus for receiving adaptive broadcast signal and method thereof
US20120297423A1 (en) Method and system for program and stream control of video to target device
JP5678367B2 (en) System and method for authorizing access to network services by using information obtained from subscriber equipment
CN105307019B (en) The method of digital television receiver funcall
CN103533460A (en) Method, device, terminal and system for sharing television service
WO2013127346A1 (en) Set top box interaction method and associated set top box and system
KR102496890B1 (en) Information processing device, client device, and data processing method
WO2018079295A1 (en) Information processing device and information processing method
CN104363509B (en) A kind of video conversion method, device, play system and terminal
US20110145852A1 (en) Apparatus for controlling internet protocol television services and method for providing internet protocol television services using the same
WO2014026590A1 (en) Method, terminal and cdn server in iptv system for realizing playing while downloading
CN107547517B (en) Audio and video program recording method, network equipment and computer device
CN104935957B (en) For playing the terminal system, 4k cloud platform and play system of 4k video
US10805028B2 (en) Receiving device, transmitting device, and data processing method
CN104427363A (en) Remote on-demand broadcasting system, a network set-top box and remote on-demand broadcasting method
CN104780424A (en) Local area network live video distribution method based on set-top box
WO2021178559A1 (en) Smart notification for over-the-top (ott) streaming among multiple devices
CN114401428B (en) Method for implementing remote multi-screen interaction under public network based on short link signaling channel
US9137501B2 (en) Method and system for communicating between a host device and user device through an intermediate device using syntax translation
CN106535005B (en) Method and device for realizing broadcast control service
KR102620220B1 (en) System and method for terrestrial uhd broadcaster application re-transmission
JP2022183813A (en) Receiving device, client terminal device, and program
Landrove et al. Remote Management Controller for a DTT ATSC 3.0 Station
CN115883889A (en) Live video sharing method and device based on IPTV terminal

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: 17879036

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: 17879036

Country of ref document: EP

Kind code of ref document: A1