WO2015103774A1 - Program playback method and device - Google Patents

Program playback method and device Download PDF

Info

Publication number
WO2015103774A1
WO2015103774A1 PCT/CN2014/070473 CN2014070473W WO2015103774A1 WO 2015103774 A1 WO2015103774 A1 WO 2015103774A1 CN 2014070473 W CN2014070473 W CN 2014070473W WO 2015103774 A1 WO2015103774 A1 WO 2015103774A1
Authority
WO
WIPO (PCT)
Prior art keywords
program
home media
audio
information
media server
Prior art date
Application number
PCT/CN2014/070473
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 华为终端有限公司
Priority to PCT/CN2014/070473 priority Critical patent/WO2015103774A1/en
Publication of WO2015103774A1 publication Critical patent/WO2015103774A1/en

Links

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/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

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and device for playing a program. Background technique
  • IP Internet Protocol IP
  • IPIP Internet Protocol IP
  • the all-IPIP solution of the cable TV network can make the content of the set-top box of the cable TV more abundant.
  • an IPIP address can be set to the set-top box, and the set-top box can play video on demand (VOD, Video On Demand) video, and can also upload the video on the Internet. Video.
  • VOD Video On Demand
  • Such set-top boxes are very different from traditional set-top boxes. They are more interactive with the front-end, and have the characteristics of controllable, support for home network and multi-screen applications, easy maintenance, and long service life.
  • the Home Media Server serves as the center of home media playback through hybrid fiber-optic coaxial cable (HFC, Hybrid Fiber).
  • HFC Hybrid Fiber
  • - Coaxial Streams audio and video data with the head-end TV live broadcast system.
  • the set-top box (STB, Set Top Box) in Media Server has multiple Tuner modules for demodulating the TV program signals obtained from the head-end TV live broadcast system.
  • the Media Server can be obtained through the frequency-lock processing of the Tuner module. A list of operators' programs.
  • the cable modem (CM, Cable Modem) in Media Server acts as a gateway to the home TV network, and other devices in the home TV network, such as personal computers (PCs, Personal Computers), mobile phones (Phones), tablets (PADs). Wait for the set-top box of the home media client (IP Client) to communicate. There is no Tuner module in the IP Client's set-top box. Therefore, the IP Client's set-top box needs to obtain the program list from the Media Server's set-top box through the Hypertext Transfer Protocol (http), and then to the Media Server's set-top box according to the program list. Send program play requests for live broadcast, digital video recorder (DVR, Digital Video Recorder), audio playback and more.
  • FIG. 2 specifically includes the following steps:
  • the head end television live broadcast system starts live broadcast of all programs
  • the user accesses a webpage of a program list sent from the Media Server in the IP client.
  • the user selects a program in the IP client, and the IP client sends a program play request generated by the user to the Media Server.
  • the Media Server After receiving the program play request, the Media Server starts the frequency lock by using the Tuner module, parses the program map (PMT) sent by the head end television live broadcast system, and obtains the program in the program play request sent by the IP client by using the PMT table.
  • PMT program map
  • Key information of the audio and video stream wherein, the key information of the audio and video stream specifically includes: Video Type, Video PID, Audio Type, Audio Stream Address PID) and program clock reference stream address (PCR PID);
  • the Media Server sends a standard Http 200 response to the IP client.
  • the IP client downloads part of the audio and video stream of the user selected program from the head end television live broadcast system through the Media Server;
  • the IP client attempts to parse the downloaded audio and video stream by using a xx type media format parser to obtain an exact media format of the downloaded audio and video stream; repeating S207 after the attempt fails until the attempt is successful;
  • the IP client parses the audio and video stream by using the media format to obtain key information of the audio and video stream, and inputs the key information to the decoder to play all the audio and video streams of the downloaded program.
  • the user views the selected program from the IP client.
  • Step S202 ⁇ S203 The IP client and the Media Server establish a time for the http connection to send a program play request, for a total of 0.5 seconds;
  • Steps S204 to S205 The Media Server locks the frequency after receiving the request, and parses the PMT table to obtain The key information of the audio and video stream, to the time of sending the standard http 200 response message to the IP Client, a total of 1.5 seconds;
  • Step S206 S208 The time when the IP client detects the program after the media is detected.
  • the IP Client first downloads an audio and video stream with sufficient data, and then uses an exhaustive algorithm to use a certain audio and video type, such as MPEG (Moving Pictures Experts Group, Motion Picture Experts Group MPEG2).
  • MPEG Motion Picture Experts Group
  • MP4 also known as MPEG4
  • MPEG4 is a kind of MPEG format
  • other types of media format parser attempts to parse the media format, if the type of format attempt is successful, then you can use this media format to parse this audio and video stream, get Key information of audio and video streams. If you try many times during the media detection process, the media detection time will be longer, and when the network conditions are worse, severe packet loss and jitter will repeat the above two. The process that causes media detection becomes slower.
  • Embodiments of the present invention provide a method and apparatus for playing a program to improve response time of program play in a home television network system.
  • a method for playing a program including:
  • the home media server After receiving the program play request that is sent by the home media client and carrying the program information, the home media server parses the latest program map sent by the head end television live broadcast system according to the program information, and acquires the program corresponding to the program information. Key information of audio and video streams;
  • the home media server generates a response message carrying key information of the audio and video stream of the program corresponding to the program information, and sends the response message to the home media client, the response message And causing the home media client to play audio and video stream data of the program corresponding to the program information according to the media format determined by the key information of the audio and video stream.
  • the key information of the audio and video stream includes: a video data type, a video data stream address, an audio data type, and an audio data stream address.
  • the method further includes:
  • the home media server After receiving the access program list request sent by the home media client, the home media server feeds back to the home media client a predetermined program list for the user to select program information.
  • the list of programs is determined by:
  • the home media server receives a program signal sent by the head end television live broadcast system; the home media server performs a program channel search according to the program signal, and generates a program list including all programs played by the head end television live broadcast system. And saving the program listing in a form accessible by the home media client.
  • the home media server communicates with the home media client by using a hypertext transmission http protocol;
  • the home media server generates a response message that carries the key information of the audio and video stream of the program corresponding to the program information, and specifically includes:
  • the home media server puts key information of the audio and video stream of the program corresponding to the program information into an Http200 response header to generate the response message.
  • a method for playing a program including:
  • the home media client sends a program play request carrying the program information to the home media server;
  • the home media server Receiving, by the home media client, the home media server according to the program play request a response message, wherein the response information carries key information of the audio and video stream of the program corresponding to the program information;
  • the home media client After downloading the audio and video stream data of the program corresponding to the program information, the home media client plays according to the media format determined by the key information of the audio and video stream.
  • the key information of the audio and video stream includes: a video data type, a video data stream address, an audio data type, and an audio data stream address.
  • the method before the home media client sends the program play request carrying the program information to the home media server, the method further includes:
  • the home media client sends an access program list request to the home media server, and receives a program list for the user to select program information fed back by the home media server.
  • the home media client and the family communicates via the hypertext transfer http protocol;
  • the response message is a response message carrying key information of the audiovisual stream of the program corresponding to the program information in the Http200 response header.
  • a home media server including:
  • a first processing module configured to: after receiving a program play request that carries the program information sent by the home media client, parse the latest program map sent by the head end television live broadcast system according to the program information, and acquire the program Key information of the audio and video stream of the program corresponding to the information;
  • a second processing module configured to generate a response message carrying key information of the audio and video stream of the program corresponding to the program information, and send the response message to the home media client, where the response message is used to enable the home media
  • the client plays the audio and video stream data of the program corresponding to the program information according to the media format determined by the key information of the audio and video stream.
  • the key information that is used by the first processing module to determine the audio and video stream corresponding to the program information includes: a video data type, a video data stream address, and audio data. Type and audio stream address.
  • the method further includes: And a third processing module, configured to: after receiving the access program list request sent by the home media client, feed back, to the home media client, a predetermined program mapping table for the user to select program information.
  • the method further includes: a third processing module, configured to receive a program signal sent by the head end television live broadcast system, perform a program channel search according to the program signal, and generate the inclusion a program listing of all programs played by the head end television live broadcast system, and saving the program list in a form accessible by the home media client.
  • a third processing module configured to receive a program signal sent by the head end television live broadcast system, perform a program channel search according to the program signal, and generate the inclusion a program listing of all programs played by the head end television live broadcast system, and saving the program list in a form accessible by the home media client.
  • the first possible implementation manner of the third aspect, the second possible implementation manner of the third aspect, or the third possible implementation manner of the third aspect, in the fourth possible implementation manner The home media server communicates with the home media client by using a hypertext transmission http protocol;
  • the second processing module is specifically configured to put key information of the audio and video stream of the program corresponding to the program information into an Http200 response header to generate the response message.
  • an audio/video decoder module configured to: after downloading the audio and video stream data of the program corresponding to the program information, play according to the media format determined by the key information of the audio and video stream.
  • the home media server and the home media client communicate by using a hypertext transmission http protocol;
  • a home television network system including: a home media server and a home media client;
  • FIG. 2 is a schematic flow chart of watching a program by using a home media client in a home television network system in the background art
  • the key information of the audio and video stream includes at least: a video data type (Video Type), a video data stream address (Video PID), an audio data type (Audio Type), and an audio data stream address (Audio PID), and of course Other information may be included and is not limited herein;
  • the home media client sends a program play request carrying program information to the home media server.
  • the home media client cannot directly obtain the program map from the head end television live broadcast system, and therefore needs to be locked by the tuner module in the set top box of the home media server. deal with.
  • S504 The user selects a program in the home media client, and the home media client sends the program play request generated by the user to the home media server through the http protocol;
  • the user media server sends the key information of the audio and video stream of the program corresponding to the program information to the home media client by sending the key information of the audio and video stream of the program corresponding to the program information.
  • the response header information may be in the following format:
  • the second processing module 62 is configured to generate a key of the audio and video stream of the program corresponding to the program information The response message of the information, and sending a response message to the home media client, the response message causing the home media client to play the audio and video stream data of the program corresponding to the program information according to the media format determined by the key information of the audio and video stream.
  • the first processing module 61 in the foregoing home media server provided by the embodiment of the present invention may be specifically divided into multiple execution modules, for example, may be classified into:
  • a response generation module for generating a response message carrying key information of the audio and video stream of the program corresponding to the program information
  • the key information of the audio and video stream of the program corresponding to the determined program information by the first processing module 61 may include: a video data type, a video data stream address, an audio data type, and an audio data stream.
  • the address may of course include other information, which is not limited herein.
  • the method may further include: a third processing module 63, configured to: after receiving the access program list request sent by the home media client, feed back a predetermined determination to the home media client. A program list for the user to select the program information to be played.
  • the fourth processing module 64 in the foregoing home media server provided by the embodiment of the present invention may be further divided into multiple execution modules, for example, may be classified into:
  • a program list generation module for performing a program channel search based on a program signal to generate a program list including all programs played by the head end television live broadcast system
  • the second processing module 62 is specifically configured to put key information of the audio and video stream of the program corresponding to the program information into the Http200 response header to generate a response message.
  • the receiving module 72 is configured to receive a response message generated by the home media server according to the program play request, where the response information carries key information of the audio and video stream of the program corresponding to the program information; the audio and video decoder module 73 is configured to Downloading audio and video streams of the program corresponding to the program information After the data, the media format is played according to the key information of the audio and video stream.
  • processing module 74 in the foregoing home media client provided by the embodiment of the present invention may be further divided into multiple execution modules, for example, may be classified into:
  • the transmitting module in the processing module 74 can be multiplexed with the transmitting module 71, that is, the same transmitting module performs the functions of both.
  • the receiving module in processing module 74 can be multiplexed with receiving module 72, i.e., using the same receiving module to perform both functions.
  • the home media server and the home media client communicate by using a hypertext transmission http protocol
  • the response message received by the receiving module 72 is a response message of the key information of the audio and video stream of the program corresponding to the program information carried in the Http200 response header.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions can also be stored in a bootable computer or other programmable data processing device.
  • a computer readable memory that operates in a particular manner, causing instructions stored in the computer readable memory to produce an article of manufacture comprising instruction means implemented in one or more flows and/or block diagrams of the flowchart The function specified in the box or in multiple boxes.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

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

Abstract

Disclosed are a program playback method and a device. A home media server, based on a program playback request that carries program information and sent by a home media client, directly carries key information of audio and video streams corresponding to program information obtained from a program mapping table in a response message and sends the response message to the home media client. The home media client, based on the key information of the audio and video streams, can directly obtain a media format of a program corresponding to the program information, omitting a process in which the home media client downloads some audio and video streams for media detection, reducing a computation amount of a CPU of the home media client, greatly reducing response time of the program played by a user in a home television network system, increasing program playback speed and enhancing a user experience effect.

Description

一种节目播放的方法和设备  Method and device for playing program
技术领域 Technical field
本发明涉及通信技术领域, 特别涉及一种节目播放的方法和设备。 背景技术  The present invention relates to the field of communications technologies, and in particular, to a method and device for playing a program. Background technique
随着有线电视网络的发展, 有线电视网络的网络协议 (IP, Internet ProtocolIP )化已经开始。 有线电视网络全 IPIP的方案, 可以让有线电视的机 顶盒的播放内容更加丰富, 例如给机顶盒一个 IPIP地址,机顶盒就可以播放视 频点播(VOD, Video On Demand )视频, 还可以播放互联网上拍客上传的视 频。 这样的机顶盒和传统的机顶盒有了很大的区别, 它跟前端的交互性更强 了, 具有可管可控、 支持家庭网络和多屏应用、 易于维护、 使用周期长等特 点。  With the development of cable television networks, the network protocol (IP, Internet ProtocolIP) of cable television networks has begun. The all-IPIP solution of the cable TV network can make the content of the set-top box of the cable TV more abundant. For example, an IPIP address can be set to the set-top box, and the set-top box can play video on demand (VOD, Video On Demand) video, and can also upload the video on the Internet. Video. Such set-top boxes are very different from traditional set-top boxes. They are more interactive with the front-end, and have the characteristics of controllable, support for home network and multi-screen applications, easy maintenance, and long service life.
目前, 利用 IPIP化技术部署的家庭电视网络系统, 其组网方式如图 1所示, 其中, 家庭媒体服务器 ( Media Server )作为家庭媒体播放的中心, 通过混合 光纤同轴电缆 ( HFC , Hybrid Fiber - Coaxial ) 与头端电视直播系统进行音视 频数据流传输。 Media Server中的机顶盒( STB, Set Top Box ) 具有多个用于 解调从头端电视直播系统获取到的电视节目信号的调谐器 (Tuner )模块, Media Server通过 Tuner模块的锁频处理可以获取到运营商的节目列表。 Media Server中的有线电视电缆调制解调器( CM, Cable Modem )作为家庭电视网络 的网关, 与家庭电视网络中的其他设备, 诸如个人计算机 (PC , Personal Computer ), 手机(Phone ), 平板电脑 (PAD ) 等家庭媒体客户端 (IP Client ) 的机顶盒进行通信。其中, IP Client的机顶盒中没有 Tuner模块, 因此, IP Client 的机顶盒需要通过超文本传输( http, Hyper Text Transfer Protocol )协议从 Media Server的机顶盒中获取节目列表, 然后根据节目列表向 Media Server的机顶盒 发送节目播放请求以进行直播、 数字视频录像机 (DVR , Digital Video Recorder )、 音频播放等功能。 目前, 用户利用家庭电视网络系统中的 IP Client观看节目的流程如图 2所 示, 具体包括以下几个步骤: At present, the home TV network system deployed by IPIP technology is shown in Figure 1. The Home Media Server (Media Server) serves as the center of home media playback through hybrid fiber-optic coaxial cable (HFC, Hybrid Fiber). - Coaxial ) Streams audio and video data with the head-end TV live broadcast system. The set-top box (STB, Set Top Box) in Media Server has multiple Tuner modules for demodulating the TV program signals obtained from the head-end TV live broadcast system. The Media Server can be obtained through the frequency-lock processing of the Tuner module. A list of operators' programs. The cable modem (CM, Cable Modem) in Media Server acts as a gateway to the home TV network, and other devices in the home TV network, such as personal computers (PCs, Personal Computers), mobile phones (Phones), tablets (PADs). Wait for the set-top box of the home media client (IP Client) to communicate. There is no Tuner module in the IP Client's set-top box. Therefore, the IP Client's set-top box needs to obtain the program list from the Media Server's set-top box through the Hypertext Transfer Protocol (http), and then to the Media Server's set-top box according to the program list. Send program play requests for live broadcast, digital video recorder (DVR, Digital Video Recorder), audio playback and more. At present, the process of the user viewing the program by using the IP Client in the home television network system is as shown in FIG. 2, which specifically includes the following steps:
5201、 头端电视直播系统启动所有节目的直播;  5201, the head end television live broadcast system starts live broadcast of all programs;
5202、 用户在 IP Client中访问从 Media Server下发的节目列表的网页; 5202. The user accesses a webpage of a program list sent from the Media Server in the IP client.
5203、 用户在 IP Client中选择一个节目, IP Client将用户选择的节目生成 节目播放请求发送到 Media Server; 5203. The user selects a program in the IP client, and the IP client sends a program play request generated by the user to the Media Server.
5204、 Media Server接收到节目播放请求之后利用 Tuner模块开始锁频,解 析头端电视直播系统下发的节目映射 (PMT, Program Map Table )表, 利用 PMT表获取 IP Client发送的节目播放请求中节目的音视频流的关键信息; 其 中, 音视频流的关键信息具体包括: 视频数据类型 (Video Type)、 视频数据流 地址 (Video PID)、 音频数据类型 (Audio Type), 音频数据流地址 (Audio PID) 和节目时钟参考流地址 (PCR PID);  5204. After receiving the program play request, the Media Server starts the frequency lock by using the Tuner module, parses the program map (PMT) sent by the head end television live broadcast system, and obtains the program in the program play request sent by the IP client by using the PMT table. Key information of the audio and video stream; wherein, the key information of the audio and video stream specifically includes: Video Type, Video PID, Audio Type, Audio Stream Address PID) and program clock reference stream address (PCR PID);
S205、 Media Server向 IP Client发送标准的 Http 200响应;  S205. The Media Server sends a standard Http 200 response to the IP client.
S206、 IP Client在接收到标准的 Http 200响应后, 通过 Media Server从头端 电视直播系统中下载用户选择节目的部分音视频流;  After receiving the standard Http 200 response, the IP client downloads part of the audio and video stream of the user selected program from the head end television live broadcast system through the Media Server;
5207、 IP Client采用 xx类型的媒体格式解析器尝试解析下载的音视频流 , 以得到下载的音视频流确切的媒体格式; 在尝试失败后重复 S207直至尝试成 功;  5207. The IP client attempts to parse the downloaded audio and video stream by using a xx type media format parser to obtain an exact media format of the downloaded audio and video stream; repeating S207 after the attempt fails until the attempt is successful;
5208、 IP Client利用这种媒体格式解析这段音视频流, 得到音视频流的关 键信息, 并将关键信息输入到解码器对下载的该节目的全部音视频流进行播 放;  5208. The IP client parses the audio and video stream by using the media format to obtain key information of the audio and video stream, and inputs the key information to the decoder to play all the audio and video streams of the downloaded program.
5209、 用户从 IP Client观看到选取的节目。  5209. The user views the selected program from the IP client.
从上述过程可以看出, 用户利用 IP Client进行播放节目需要经过步骤 S202-S208, 其时间构成如下:  It can be seen from the above process that the user needs to go through steps S202-S208 to play the program by using the IP client, and the time is as follows:
1、 步骤 S202~S203: IP Client和 Media Server建立 http连接到发送节目播放 请求的时间, 共 0.5秒;  1. Step S202~S203: The IP client and the Media Server establish a time for the http connection to send a program play request, for a total of 0.5 seconds;
2、 步骤 S204〜S205: Media Server从接受该请求后锁频, 解析 PMT表获取 音视频流的关键信息, 到发送标准 http 200响应消息给 IP Client的时间, 共 1.5 秒; 2. Steps S204 to S205: The Media Server locks the frequency after receiving the request, and parses the PMT table to obtain The key information of the audio and video stream, to the time of sending the standard http 200 response message to the IP Client, a total of 1.5 seconds;
3、 步骤 S206 S208: IP Client从媒体探测到之后进行节目播放的时间, 共 3. Step S206 S208: The time when the IP client detects the program after the media is detected.
6秒。 6 seconds.
从上述节目播放的时间构成来看, 播放节目至少需要 8秒的响应时间, 其 中, 媒体探测是一个耗时比较长的过程。 媒体探测是指上述步骤 S206-S207 , IP Client先下载一段足够数据的音视频流, 然后利用穷举的算法, 用某一种音 视频类型,比如 MPEG ( Moving Pictures Experts Group, 动态图像专家组 MPEG2, MP4 (也叫 MPEG4 , 是 MPEG格式的一种)等类型的媒体格式解析 器尝试解析媒体格式, 如果该类型的格式尝试成功, 这时可以利用这种媒体 格式解析这段音视频流, 得到音视频流的关键信息。 如果在媒体探测的过程 中, 尝试很多次的话, 媒体探测的时间将会更长, 并且在网络条件变差的时 候, 严重的丟包和抖动会重复上面的两个过程, 导致媒体探测的过程变得更 加緩慢。  From the time composition of the above program playing, it takes at least 8 seconds of response time to play the program, and media detection is a relatively time consuming process. The media detection refers to the above steps S206-S207. The IP Client first downloads an audio and video stream with sufficient data, and then uses an exhaustive algorithm to use a certain audio and video type, such as MPEG (Moving Pictures Experts Group, Motion Picture Experts Group MPEG2). , MP4 (also known as MPEG4, is a kind of MPEG format) and other types of media format parser attempts to parse the media format, if the type of format attempt is successful, then you can use this media format to parse this audio and video stream, get Key information of audio and video streams. If you try many times during the media detection process, the media detection time will be longer, and when the network conditions are worse, severe packet loss and jitter will repeat the above two. The process that causes media detection becomes slower.
耗时较长的媒体探测过程, 制约了家庭电视网络系统中节目播放速度, 因此, 如何提高家庭电视网络系统中节目播放响应时间是一个亟需解决的问 题。 发明内容  The long-time media detection process restricts the program playback speed in the home TV network system. Therefore, how to improve the program playback response time in the home TV network system is an urgent problem to be solved. Summary of the invention
本发明实施例提供了一种节目播放的方法和设备, 用以提高家庭电视网 络系统中节目播放的响应时间。  Embodiments of the present invention provide a method and apparatus for playing a program to improve response time of program play in a home television network system.
第一方面, 提供了一种节目播放的方法, 包括:  In a first aspect, a method for playing a program is provided, including:
家庭媒体服务器接收家庭媒体客户端发送的携带有节目信息的节目播放 请求后, 根据所述节目信息, 对头端电视直播系统最新下发的节目映射表进 行解析, 获取所述节目信息对应的节目的音视频流的关键信息;  After receiving the program play request that is sent by the home media client and carrying the program information, the home media server parses the latest program map sent by the head end television live broadcast system according to the program information, and acquires the program corresponding to the program information. Key information of audio and video streams;
家庭媒体服务器生成携带所述节目信息对应的节目的音视频流的关键信 息的响应消息, 并向所述家庭媒体客户端发送所述响应消息, 所述响应消息 使所述家庭媒体客户端按照所述音视频流的关键信息确定的媒体格式播放节 目信息对应的节目的音视频流数据。 The home media server generates a response message carrying key information of the audio and video stream of the program corresponding to the program information, and sends the response message to the home media client, the response message And causing the home media client to play audio and video stream data of the program corresponding to the program information according to the media format determined by the key information of the audio and video stream.
结合第一方面, 在第一种可能的实施方式中, 所述音视频流的关键信息 包括: 视频数据类型、 视频数据流地址、 音频数据类型和音频数据流地址。  In conjunction with the first aspect, in a first possible implementation, the key information of the audio and video stream includes: a video data type, a video data stream address, an audio data type, and an audio data stream address.
结合第一方面, 在第二种可能的实施方式中, 所述家庭媒体服务器接收 家庭媒体客户端发送的携带有节目信息的节目播放 _清求之前, 还包括:  With reference to the first aspect, in a second possible implementation manner, before the home media server receives the program play_request sent by the home media client and carries the program information, the method further includes:
所述家庭媒体服务器接收所述家庭媒体客户端发送的访问节目列表请求 后, 向所述家庭媒体客户端反馈预先确定的用于用户选取节目信息的节目列 表。  After receiving the access program list request sent by the home media client, the home media server feeds back to the home media client a predetermined program list for the user to select program information.
结合第一方面的第二种可能的实施方式, 在第三种可能的实施方式中, 在通过下述方式确定所述节目列表:  In conjunction with the second possible implementation of the first aspect, in a third possible implementation, the list of programs is determined by:
所述家庭媒体服务器接收所述头端电视直播系统发送的节目信号; 所述家庭媒体服务器根据所述节目信号进行节目频道搜索, 生成包含所 述头端电视直播系统所播放的所有节目的节目列表, 并以所述家庭媒体客户 端可访问的形式保存所述节目列表。  The home media server receives a program signal sent by the head end television live broadcast system; the home media server performs a program channel search according to the program signal, and generates a program list including all programs played by the head end television live broadcast system. And saving the program listing in a form accessible by the home media client.
结合第一方面、 第一方面的第一种可能的实施方式、 第一方面的第二种 可能的实施方式、 或者第一方面的第三种可能的实施方式, 在第四种可能的 实施方式中,所述家庭媒体服务器与所述家庭媒体客户端通过超文本传输 http 协议进行通信;  With reference to the first aspect, the first possible implementation of the first aspect, the second possible implementation of the first aspect, or the third possible implementation of the first aspect, in a fourth possible implementation The home media server communicates with the home media client by using a hypertext transmission http protocol;
所述家庭媒体服务器生成携带所述节目信息对应的节目的音视频流的关 键信息的响应消息, 具体包括:  The home media server generates a response message that carries the key information of the audio and video stream of the program corresponding to the program information, and specifically includes:
家庭媒体服务器将所述节目信息对应的节目的音视频流的关键信息放入 Http200响应头, 生成所述响应消息。  The home media server puts key information of the audio and video stream of the program corresponding to the program information into an Http200 response header to generate the response message.
第二方面, 提供了一种节目播放的方法, 包括:  In a second aspect, a method for playing a program is provided, including:
家庭媒体客户端向家庭媒体服务器发送携带有节目信息的节目播放请 求;  The home media client sends a program play request carrying the program information to the home media server;
所述家庭媒体客户端接收所述家庭媒体服务器根据所述节目播放请求生 成的响应消息, 所述响应信息中携带有所述节目信息对应的节目的音视频流 的关键信息; Receiving, by the home media client, the home media server according to the program play request a response message, wherein the response information carries key information of the audio and video stream of the program corresponding to the program information;
所述家庭媒体客户端在下载所述节目信息对应的节目的音视频流数据 后, 按照所述音视频流的关键信息确定的媒体格式进行播放。  After downloading the audio and video stream data of the program corresponding to the program information, the home media client plays according to the media format determined by the key information of the audio and video stream.
结合第二方面, 在第一种可能的实施方式中, 所述音视频流的关键信息 包括: 视频数据类型、 视频数据流地址、 音频数据类型和音频数据流地址。  With reference to the second aspect, in a first possible implementation manner, the key information of the audio and video stream includes: a video data type, a video data stream address, an audio data type, and an audio data stream address.
结合第二方面, 在第二种可能的实施方式中, 所述家庭媒体客户端向家 庭媒体服务器发送携带有节目信息的节目播放请求之前, 还包括:  With reference to the second aspect, in a second possible implementation manner, before the home media client sends the program play request carrying the program information to the home media server, the method further includes:
所述家庭媒体客户端向所述家庭媒体服务器发送访问节目列表请求, 并 接收所述家庭媒体服务器反馈的用于用户选取节目信息的节目列表。  The home media client sends an access program list request to the home media server, and receives a program list for the user to select program information fed back by the home media server.
结合第二方面、 第二方面的第一种可能的实施方式、 或第二方面的第二 种可能的实施方式, 在第三种可能的实施方式中, 所述家庭媒体客户端与所 述家庭媒体服务器通过超文本传输 http协议进行通信;  With reference to the second aspect, the first possible implementation manner of the second aspect, or the second possible implementation manner of the second aspect, in a third possible implementation manner, the home media client and the family The media server communicates via the hypertext transfer http protocol;
所述响应消息为在 Http200 响应头携带所述节目信息对应的节目的音视 频流的关键信息的响应消息。  The response message is a response message carrying key information of the audiovisual stream of the program corresponding to the program information in the Http200 response header.
第三方面, 提供了一种家庭媒体服务器, 包括:  In a third aspect, a home media server is provided, including:
第一处理模块, 用于在接收家庭媒体客户端发送的携带有节目信息的节 目播放请求后, 根据所述节目信息, 对头端电视直播系统最新下发的节目映 射表进行解析, 获取所述节目信息对应的节目的音视频流的关键信息;  a first processing module, configured to: after receiving a program play request that carries the program information sent by the home media client, parse the latest program map sent by the head end television live broadcast system according to the program information, and acquire the program Key information of the audio and video stream of the program corresponding to the information;
第二处理模块, 用于生成携带所述节目信息对应的节目的音视频流的关 键信息的响应消息, 并向所述家庭媒体客户端发送所述响应消息, 所述响应 消息使所述家庭媒体客户端按照所述音视频流的关键信息确定的媒体格式播 放节目信息对应的节目的音视频流数据。  a second processing module, configured to generate a response message carrying key information of the audio and video stream of the program corresponding to the program information, and send the response message to the home media client, where the response message is used to enable the home media The client plays the audio and video stream data of the program corresponding to the program information according to the media format determined by the key information of the audio and video stream.
结合第三方面, 在第一种可能的实施方式中, 所述第一处理模块用于确 定的所述节目信息对应的音视频流的关键信息包括: 视频数据类型、 视频数 据流地址、 音频数据类型和音频数据流地址。  With reference to the third aspect, in a first possible implementation manner, the key information that is used by the first processing module to determine the audio and video stream corresponding to the program information includes: a video data type, a video data stream address, and audio data. Type and audio stream address.
结合第三方面, 在第二种可能的实施方式中, 还包括: 第三处理模块, 用于在接收所述家庭媒体客户端发送的访问节目列表请 求后, 向所述家庭媒体客户端反馈预先确定的用于用户选取节目信息的节目 映射表。 In combination with the third aspect, in a second possible implementation manner, the method further includes: And a third processing module, configured to: after receiving the access program list request sent by the home media client, feed back, to the home media client, a predetermined program mapping table for the user to select program information.
结合第三方面, 在第三种可能的实施方式中, 还包括: 第三处理模块, 用于接收所述头端电视直播系统发送的节目信号, 根据所述节目信号进行节 目频道搜索, 生成包含所述头端电视直播系统所播放的所有节目的节目列表, 并以所述家庭媒体客户端可访问的形式保存所述节目列表。  With reference to the third aspect, in a third possible implementation, the method further includes: a third processing module, configured to receive a program signal sent by the head end television live broadcast system, perform a program channel search according to the program signal, and generate the inclusion a program listing of all programs played by the head end television live broadcast system, and saving the program list in a form accessible by the home media client.
结合第三方面、 第三方面的第一种可能的实施方式、 第三方面的第二种 可能的实施方式、 或第三方面的第三种可能的实施方式, 在第四种可能的实 施方式中, 所述家庭媒体服务器与所述家庭媒体客户端通过超文本传输 http 协议进行通信;  With reference to the third aspect, the first possible implementation manner of the third aspect, the second possible implementation manner of the third aspect, or the third possible implementation manner of the third aspect, in the fourth possible implementation manner The home media server communicates with the home media client by using a hypertext transmission http protocol;
所述第二处理模块, 具体用于将所述节目信息对应的节目的音视频流的 关键信息放入 Http200响应头, 生成所述响应消息。  The second processing module is specifically configured to put key information of the audio and video stream of the program corresponding to the program information into an Http200 response header to generate the response message.
第四方面, 提供了一种家庭媒体客户端, 包括:  In a fourth aspect, a home media client is provided, including:
发送模块, 用于向家庭媒体服务器发送携带有节目信息的节目播放请求; 接收模块, 用于接收所述家庭媒体服务器根据所述节目播放请求生成的 响应消息, 所述响应信息中携带有所述节目信息对应的节目的音视频流的关 键信息;  a sending module, configured to send a program play request carrying the program information to the home media server, and a receiving module, configured to receive a response message generated by the home media server according to the program play request, where the response information carries the Key information of the audio and video stream of the program corresponding to the program information;
音视频解码器模块, 用于在下载所述节目信息对应的节目的音视频流数 据后, 按照所述音视频流的关键信息确定的媒体格式进行播放。  And an audio/video decoder module, configured to: after downloading the audio and video stream data of the program corresponding to the program information, play according to the media format determined by the key information of the audio and video stream.
结合第四方面, 在第一种可能的实施方式中, 所述接收模块用于接收的 所述音视频流的关键信息包括: 视频数据类型、 视频数据流地址、 音频数据 类型和音频数据流地址。  With reference to the fourth aspect, in a first possible implementation manner, the key information of the audio and video stream that is received by the receiving module is: a video data type, a video data stream address, an audio data type, and an audio data stream address. .
结合第四方面, 在第二种可能的实施方式中, 还包括: 处理模块, 用于 向所述家庭媒体服务器发送访问节目列表请求, 并接收所述家庭媒体服务器 反馈的用于用户选取节目信息的节目列表。  With reference to the fourth aspect, in a second possible implementation, the method further includes: a processing module, configured to send, by the home media server, an access program list request, and receive, by the home media server, a user-selected program information List of programs.
结合第四方面、 第四方面的第一种可能的实施方式或第四方面的第二种 可能的实施方式, 在第三种可能的实施方式中, 所述家庭媒体服务器与所述 家庭媒体客户端通过超文本传输 http协议进行通信; Combining the fourth aspect, the first possible implementation of the fourth aspect, or the second aspect of the fourth aspect In a third possible implementation manner, the home media server and the home media client communicate by using a hypertext transmission http protocol;
所述接收模块用于接收的所述响应消息为在 Http200 响应头携带所述节 目信息对应的节目的音视频流的关键信息的响应消息。  The response message that is received by the receiving module is a response message that carries key information of the audio and video stream of the program corresponding to the program information in the Http200 response header.
第五方面, 提供了一种家庭电视网络系统, 包括: 家庭媒体服务器和家 庭媒体客户端;  In a fifth aspect, a home television network system is provided, including: a home media server and a home media client;
所述家庭媒体服务器, 用于接收所述家庭媒体客户端发送的携带有节目 信息的节目播放请求后, 根据所述节目信息, 对头端电视直播系统最新下发 的节目映射表进行解析, 获取所述节目信息对应的节目的音视频流的关键信 息; 生成携带所述节目信息对应的节目的音视频流的关键信息的响应消息, 并向所述家庭媒体客户端发送所述响应消息;  The home media server is configured to: after receiving the program play request that is sent by the home media client and carrying the program information, parse the latest program map sent by the head end television live broadcast system according to the program information, and obtain the Generating key information of the audio and video stream of the program corresponding to the program information; generating a response message carrying key information of the audio and video stream of the program corresponding to the program information, and transmitting the response message to the home media client;
所述家庭媒体客户端, 用于向家庭媒体服务器发送携带有节目信息的节 目播放请求; 接收所述家庭媒体服务器根据所述节目播放请求生成的响应消 息, 所述响应信息中携带有所述节目信息对应的节目的音视频流的关键信息; 在下载所述节目信息对应的节目的音视频流数据后, 按照所述音视频流的关 键信息确定的媒体格式进行播放。  The home media client is configured to send a program play request carrying the program information to the home media server, and receive a response message generated by the home media server according to the program play request, where the response information carries the program The key information of the audio and video stream of the program corresponding to the information; after downloading the audio and video stream data of the program corresponding to the program information, playing according to the media format determined by the key information of the audio and video stream.
根据第一方面或第二方面提供的节目播放的方法、 第三方面提供的家庭 媒体服务器、 第四方面提供的家庭媒体客户端或第五方面提供的家庭电视网 络系统, 由于家庭媒体服务器根据家庭媒体客户端发送的携带有节目信息的 节目播放请求, 将从节目映射表中获取的节目信息对应的节目的音视频流的 关键信息直接携带在响应消息中, 发送给家庭媒体客户端, 家庭媒体客户端 可以根据该音视频流的关键信息直接获知节目信息的媒体格式, 省去了家庭 媒体客户端下载部分音视频流进行媒体探测的过程, 减少了家庭媒体客户端 的 CPU的计算量, 大大减少了家庭电视网络系统中用户播放节目的响应时间, 提高了播放节目的速度, 增强了用户体验效果。 附图说明 图 1为背景技术中家庭电视网络系统的组网示意图; The method for playing a program according to the first aspect or the second aspect, the home media server provided by the third aspect, the home media client provided by the fourth aspect, or the home television network system provided by the fifth aspect, since the home media server is based on the home The program playing request sent by the media client carrying the program information, the key information of the audio and video stream of the program corresponding to the program information acquired from the program mapping table is directly carried in the response message, and sent to the home media client, the home media The client can directly learn the media format of the program information according to the key information of the audio and video stream, and save the process of downloading part of the audio and video stream for the media detection by the home media client, which reduces the calculation amount of the CPU of the home media client, and greatly reduces the amount of calculation. The response time of the user playing the program in the home television network system improves the speed of the program and enhances the user experience. BRIEF DESCRIPTION OF DRAWINGS FIG. 1 is a schematic diagram of networking of a home television network system in the background art;
图 2为背景技术中家庭电视网絡系统中利用家庭媒体客户端观看节目的 流程示意图;  2 is a schematic flow chart of watching a program by using a home media client in a home television network system in the background art;
图 3为本发明实施例提供的家庭媒体服务器侧的节目播放的方法的流程 示意图;  3 is a schematic flowchart of a method for playing a program on a home media server side according to an embodiment of the present invention;
图 4为本发明实例提供的家庭媒体客户端侧的节目播放的方法的流程示 意图;  4 is a schematic flow chart of a method for playing a program on a home media client side according to an example of the present invention;
图 5为本发明实施例提供的实施例的流程示意图;  FIG. 5 is a schematic flowchart diagram of an embodiment according to an embodiment of the present disclosure;
图 6为本发明实施例提供的家庭媒体服务器的结构示意图;  FIG. 6 is a schematic structural diagram of a home media server according to an embodiment of the present invention;
图 7为本发明实施例提供的家庭媒体客户端的结构示意图;  FIG. 7 is a schematic structural diagram of a home media client according to an embodiment of the present disclosure;
图 8为本发明实施例提供的家庭电视网络系统的结构示意图。 具体实施方式  FIG. 8 is a schematic structural diagram of a home television network system according to an embodiment of the present invention. detailed description
为了解决在家庭电视网络系统中用户播放节目的响应时间较长的问题, 本发明实施例提供了一种节目播放的方法和设备, 下面结合附图对本发明实 施例进行详细说明。  In order to solve the problem that the response time of the user playing the program in the home television network system is long, the embodiment of the present invention provides a method and a device for playing a program. The embodiments of the present invention are described in detail below with reference to the accompanying drawings.
本发明实施例提供的节目播放方法应用于家庭电视网络系统, 该系统中 与本发明实施例相关的设备主要包括: 家庭媒体服务器和家庭媒体客户端; 其中, 家庭媒体服务器具有用于接收头端电视直播系统将直播节目、 业务数 据和设备管理数据等数据经过复用产生的混合信号的机顶盒; 在家庭媒体服 务器的机顶盒中设置有多个调谐器模块, 调谐器模块可以进行锁频处理, 搜 索到头端电视直播系统下发的所有节目并生成节目列表供家庭媒体客户端访 问; 并且, 在家庭媒体服务器中还具有一个用于与家庭电视网络中的各家庭 媒体客户端网络通信的 CM 网关; 由于在家庭媒体客户端的机顶盒中没有调 谐器模块, 因此家庭媒体客户端需要通过网络将锁频的任务发给家庭媒体服 务器的调谐器模块进行处理。 The program playing method provided by the embodiment of the present invention is applied to a home television network system, and the device related to the embodiment of the present invention mainly includes: a home media server and a home media client; wherein the home media server has a receiving end The live television system transmits a live broadcast program, service data, and device management data to a set-top box of a mixed signal generated by multiplexing; a plurality of tuner modules are disposed in a set top box of the home media server, and the tuner module can perform frequency lock processing, searching All programs sent to the head-end TV live broadcast system and generate a program list for the home media client to access; and, in the home media server, a CM gateway for communicating with each home media client network in the home television network; Since there is no tuner module in the set-top box of the home media client, the home media client needs to send the task of frequency-locking to the home media service through the network. The tuner module of the server performs processing.
基于上述系统架构, 参见图 3 所示, 本发明实施例提供了一种在家庭媒 体服务器侧的节目播放的方法, 该方法包括以下步骤:  Based on the above system architecture, as shown in FIG. 3, an embodiment of the present invention provides a method for playing a program on a home media server side, the method comprising the following steps:
5301、 家庭媒体服务器接收家庭媒体客户端发送的携带有节目信息的节 目播放请求;  5301. The home media server receives a program play request that is sent by the home media client and carries the program information.
具体地, 节目播放请求中携带的节目信息可以是指诸如用户选中节目的 节目频道标识或者是用户选中节目的节目号等能够表示节目信息的标识; 在具体实施时, 家庭媒体客户端发送的请求可以根据家庭媒体客户端和 家庭媒体服务器之间进行通信的类型而定。 一般地, 在家庭媒体服务器与家 庭媒体客户端之间可以通过 htt 协议进行通信 , 因此, 家庭媒体客户端可以 采用 http协议的方式发送该节目播放请求;  Specifically, the program information carried in the program play request may refer to a program channel identifier such as a program selected by the user or a program number of the selected program of the user, and the like, which can indicate the program information; in a specific implementation, the request sent by the home media client It can be based on the type of communication between the home media client and the home media server. Generally, the home media server and the home media client can communicate through the htt protocol. Therefore, the home media client can send the program play request by using the http protocol.
并且, 在具体实施时, 一般通过家庭媒体服务器中的网关接收家庭媒体 客户端发送的请求;  Moreover, in a specific implementation, the request sent by the home media client is generally received by a gateway in the home media server;
5302、 家庭媒体服务器根据节目信息, 对头端电视直播系统最新下发的 节目映射表进行解析, 获取节目信息对应的节目的音视频流的关键信息; 在具体实施时, 头端电视直播系统会周期性的下发节目映射表到家庭电 视网络系统, 家庭媒体服务器中的调谐器会对头端电视直播系统最新下发的 节目映射表进行解析;  5302. The home media server parses the latest program mapping table sent by the head end television live broadcast system according to the program information, and obtains key information of the audio and video stream of the program corresponding to the program information. In specific implementation, the head end television live broadcast system cycle The program map is sent to the home TV network system, and the tuner in the home media server parses the latest program map issued by the head end television live broadcast system;
在具体实施时, 音视频流的关键信息至少包括: 视频数据类型(Video Type), 视频数据流地址 (Video PID), 音频数据类型 (Audio Type)和音频数据流 地址 (Audio PID), 当然还可以包括其他信息, 在此不做限定;  In specific implementation, the key information of the audio and video stream includes at least: a video data type (Video Type), a video data stream address (Video PID), an audio data type (Audio Type), and an audio data stream address (Audio PID), and of course Other information may be included and is not limited herein;
5303、 家庭媒体服务器生成携带节目信息对应的节目的音视频流的关键 信息的响应消息;  5303. The home media server generates a response message that carries key information of the audio and video stream of the program corresponding to the program information.
在具体实施时, 生成的响应消息可以根据家庭媒体客户端和家庭媒体服 务器之间进行通信的类型而定。 一般地, 在家庭媒体服务器与家庭媒体客户 端之间可以通过 http协议进行通信, 因此, 可以将节目信息对应的节目的音 视频流的关键信息放入 Http200响应头, 以生成响应消息; S304、 家庭媒体服务器向家庭媒体客户端发送响应消息, 该响应消息使 家庭媒体客户端按照音视频流的关键信息确定的媒体格式播放节目信息对应 的节目的音视频流数据。 In a specific implementation, the generated response message may be based on the type of communication between the home media client and the home media server. Generally, the home media server and the home media client can communicate through the http protocol. Therefore, the key information of the audio and video stream of the program corresponding to the program information can be put into the Http200 response header to generate a response message. S304. The home media server sends a response message to the home media client, where the response message causes the home media client to play the audio and video stream data of the program corresponding to the program information according to the media format determined by the key information of the audio and video stream.
基于上述系统架构, 参见图 4 所示, 本发明实施例还提供了一种在家庭 媒体服务器侧的节目播放的方法, 该方法包括以下步骤:  Based on the above system architecture, as shown in FIG. 4, an embodiment of the present invention further provides a method for playing a program on a home media server side, the method comprising the following steps:
5401、 家庭媒体客户端向家庭媒体服务器发送携带有节目信息的节目播 放请求;  5401. The home media client sends a program play request carrying program information to the home media server.
具体地, 家庭媒体客户端发送的节目播放请求中携带的节目信息可以是 指诸如用户选中节目的节目频道标识或者是用户选中节目的节目号等能够表 示节目信息的标识;  Specifically, the program information carried in the program play request sent by the home media client may refer to a program channel identifier such as a program selected by the user or a program number of the selected program of the user, and the like, which can indicate the program information;
在具体实施时, 家庭媒体客户端发送的请求可以根据家庭媒体客户端和 家庭媒体服务器之间进行通信的类型而定。 一般地, 在家庭媒体服务器与家 庭媒体客户端之间可以通过 htt 协议进行通信, 因此, 家庭媒体客户端可以 采用 http协议的方式发送该节目播放请求;  In a specific implementation, the request sent by the home media client may be based on the type of communication between the home media client and the home media server. Generally, the home media server and the home media client can communicate through the htt protocol. Therefore, the home media client can send the program play request by using the http protocol.
5402、 家庭媒体客户端接收家庭媒体服务器根据节目播放请求生成的响 应消息, 该响应信息中携带有节目信息对应的节目的音视频流的关键信息; 在具体实施时, 音视频流的关键信息至少包括: 视频数据类型 (Video Type )、 视频数据流地址 (Video PID)、 音频数据类型 (Audio Type)和音频数据流地址 (Audio PID) , 当然还可以包括其他信息, 在此不做限定;  5402. The home media client receives a response message generated by the home media server according to the program play request, where the response information carries key information of the audio and video stream of the program corresponding to the program information. In specific implementation, the key information of the audio and video stream is at least Including: video data type (Video Type), video data stream address (Video PID), audio data type (Audio Type), and audio data stream address (Audio PID), of course, may also include other information, which is not limited herein;
在具体实施时, 家庭媒体客户端发送的请求会被家庭媒体服务器接收后, 家庭媒体服务器会根据节目信息, 对头端电视直播系统最新下发的节目映射 表进行解析, 获取节目信息对应的节目的音视频流的关键信息, 并生成携带 节目信息对应的节目的音视频流的关键信息的响应消息后, 向家庭媒体客户 端发送该响应消息;  In a specific implementation, after the request sent by the home media client is received by the home media server, the home media server parses the latest program mapping table sent by the head end television live broadcast system according to the program information, and obtains the program corresponding to the program information. After the key information of the audio and video stream is generated, and the response message of the key information of the audio and video stream of the program corresponding to the program information is generated, the response message is sent to the home media client;
在具体实施时, 家庭媒体客户端接收的响应消息可以根据家庭媒体客户 端和家庭媒体服务器之间进行通信的类型而定。 一般地, 在家庭媒体服务器 与家庭媒体客户端之间可以通过 http协议进行通信, 因此, 可以将节目信息 对应的节目的音视频流的关键信息放入 Http200响应头, 以生成响应消息; 即 该响应消息为在 Http200 响应头携带节目信息对应的节目的音视频流的关键 信息的响应消息; In a specific implementation, the response message received by the home media client may be based on the type of communication between the home media client and the home media server. Generally, communication between the home media server and the home media client can be performed through the http protocol, so program information can be The key information of the audio and video stream of the corresponding program is put into the Http200 response header to generate a response message; that is, the response message is a response message of the key information of the audio and video stream of the program corresponding to the program information carried in the Http200 response header;
S403、 家庭媒体客户端在下载节目信息对应的节目的音视频流数据后, 按照音视频流的关键信息确定的媒体格式进行播放;  S403. After downloading the audio and video stream data of the program corresponding to the program information, the home media client plays the media format determined according to the key information of the audio and video stream;
在具体实施时, 可以在从响应消息中获取到音视频流的关键信息之后, 先下载足够的需要播放的音视频流数据, 然后音视频解码器按照关键信息指 定的媒体格式进行播放; 其中, 足够是指可以使音视频解码器解码出一帧完 整图像的音视频流数据。  In a specific implementation, after the key information of the audio and video stream is obtained from the response message, sufficient audio and video stream data to be played may be downloaded, and then the audio and video decoder plays according to the media format specified by the key information; Sufficient refers to audio and video stream data that allows the audio and video decoder to decode a complete image of a frame.
本发明实施例提供的上述节目播放的方法中, 由于家庭媒体服务器根据 家庭媒体客户端发送的携带有节目信息的节目播放请求, 将从节目映射表中 获取的节目信息对应的节目的音视频流的关键信息直接携带在响应消息中, 发送给家庭媒体客户端, 家庭媒体客户端可以根据该音视频流的关键信息直 接获知节目信息对应的媒体格式, 省去了家庭媒体客户端下载部分音视频流 进行媒体探测的过程, 减少了家庭媒体客户端的 CPU的计算量, 大大减少了 家庭电视网络系统中用户播放节目的响应时间, 提高了播放节目的速度, 增 强了用户体验效果。  In the above method for playing a program provided by the embodiment of the present invention, the audio and video stream of the program corresponding to the program information acquired from the program map table is generated by the home media server according to the program play request that carries the program information sent by the home media client. The key information is directly carried in the response message and sent to the home media client. The home media client can directly learn the media format corresponding to the program information according to the key information of the audio and video stream, and save the home media client to download part of the audio and video. The process of media detection reduces the calculation amount of the CPU of the home media client, greatly reduces the response time of the user's broadcast program in the home television network system, improves the speed of playing the program, and enhances the user experience.
进一步地, 由于家庭媒体客户端的机顶盒中没有调谐器模块, 因此, 家 庭媒体客户端不能直接从头端电视直播系统中获取节目映射表, 因此需要通 过家庭媒体服务器的机顶盒中的调谐器模块进行锁频处理。  Further, since there is no tuner module in the set top box of the home media client, the home media client cannot directly obtain the program map from the head end television live broadcast system, and therefore needs to be locked by the tuner module in the set top box of the home media server. deal with.
因此, 在家庭媒体客户端侧, 在步骤 S401家庭媒体客户端向家庭服务器 发送携带有节目信息的节目播放请求之前, 一般家庭媒体客户端需要向家庭 媒体服务器发送访问节目列表请求, 并会接收到家庭媒体服务器反馈的用于 用户选取所播放的节目信息的节目列表, 之后, 用户可以通过家庭媒体客户 端在节目列表中进行节目选择。  Therefore, on the home media client side, before the home media client sends the program play request carrying the program information to the home server in step S401, the general home media client needs to send the access program list request to the home media server, and receives the request. The program list for the user to select the displayed program information fed back by the home media server, after which the user can select the program in the program list through the home media client.
对应地, 在家庭媒体服务器侧, 在步骤 S301家庭媒体服务器接收家庭媒 体客户端发送的携带有节目信息的节目播放请求之前, 家庭媒体服务器一般 还会接收家庭媒体客户端发送的访问节目列表请求, 并在接收家庭媒体客户 端发送的访问节目列表请求后, 向家庭媒体客户端反馈预先确定的用于用户 选取所播放的节目信息的节目列表。 Correspondingly, on the home media server side, before the home media server receives the program play request sent by the home media client and carries the program information in step S301, the home media server generally And receiving the access program list request sent by the home media client, and after receiving the access program list request sent by the home media client, feeding back the predetermined program list for the user to select the played program information to the home media client. .
在具体实施时, 用户可以利用家庭媒体客户端的浏览器访问家庭媒体服 务器的节目映射表的网页, 并在用户选取一个所要观看的节目后, 家庭媒体 客户端会生成节目播放请求发送到家庭媒体服务器。  In a specific implementation, the user can access the webpage of the program map of the home media server by using the browser of the home media client, and after the user selects a program to be viewed, the home media client generates a program play request and sends the program to the home media server. .
在具体实施时, 在家庭媒体服务器中可以通过如下方式确定节目列表, 一般在头端电视直播系统启动后, 家庭媒体服务器会接收头端电视直播系统 发送的节目信号;  In a specific implementation, the program list may be determined in the home media server by the following manner. Generally, after the head end television live broadcast system is started, the home media server receives the program signal sent by the head end television live broadcast system;
家庭媒体服务器根据节目信号进行节目频道搜索, 家庭媒体服务器就可 以生成包含头端电视直播系统所播放的所有节目的节目列表, 并可以以家庭 媒体客户端可访问的形式保存节目列表。 即若家庭媒体客户端与家庭媒体服 务器之间通过 http协议传输数据, 则可以采用网页的形式保存节目列表。  The home media server performs a program channel search based on the program signal, and the home media server can generate a program list including all programs played by the headend television live broadcast system, and can save the program list in a form accessible to the home media client. That is, if the home media client and the home media server transmit data through the http protocol, the program list can be saved in the form of a web page.
下面结合具体实施例对本发明实施例提供的播放节目的流程进行详细说 明, 具体参见图 5所示, 包括:  The flow of the program to be broadcasted by the embodiment of the present invention is described in detail below with reference to the specific embodiments. For details, refer to FIG. 5, which includes:
5501、 头端电视直播系统启动所有节目的直播, 将直播节目、 业务数据 和设备管理数据等数据经过复用后形成混合信号, 通过有线电视电缆 ( Cable ) 网络向家庭电视网络系统中的家庭媒体服务器发送;  5501. The head-end television live broadcast system starts the live broadcast of all the programs, and the data such as the live program, the service data, and the device management data are multiplexed to form a mixed signal, and the home network in the home television network system is transmitted through a cable television network. Server sends
5502、 家庭媒体服务器中的机顶盒接收到该混合信号后, 利用调谐器进 行节目频道搜索, 生成包含头端电视直播系统所播放的所有节目的节目列表, 并采用 html网页的形式保存下来;  After receiving the mixed signal, the set-top box in the home media server uses the tuner to perform a program channel search, and generates a program list including all the programs played by the head-end television live broadcast system, and saves the file in the form of an html webpage;
S503、 家庭媒体客户端与家庭媒体服务器的网关釆用 http协议进行通信, 用户在家庭媒体客户端中访问家庭媒体服务器的节目列表的网页;  S503: The home media client communicates with the gateway of the home media server by using the http protocol, and the user accesses the webpage of the program list of the home media server in the home media client;
5504、 用户在家庭媒体客户端中选择一个节目, 家庭媒体客户端将用户 选择的节目信息生成节目播放请求通过 http协议发送到家庭媒体服务器;  S504: The user selects a program in the home media client, and the home media client sends the program play request generated by the user to the home media server through the http protocol;
5505、 家庭媒体服务器接收到节目播放请求之后利用调谐器模块开始锁 频, 解析头端电视直播系统最新下发的节目映射表, 获取节目播放请求中的 节目信息对应的节目的音视频流的关键信息; 其中, 音视频流的关键信息具 体包括: 视频数据类型 (Video Type), 视频数据流地址 (Video PID)、 音频数据 类型 (Audio Type)和音频数据流地址 (Audio PID); 5505. After receiving the program play request, the home media server starts to use the tuner module to start the frequency lock, and parses the latest program map sent by the head end television live broadcast system to obtain the program play request. The key information of the audio and video stream of the program corresponding to the program information; wherein, the key information of the audio and video stream specifically includes: a video data type (Video Type), a video data stream address (Video PID), an audio data type (Audio Type), and audio Data stream address (Audio PID);
5506、 家庭媒体服务器将节目信息对应的节目的音视频流的关键信息放 入 http200响应头生成响应消息发送给家庭媒体客户端; 其中, 响应头信息可 以采用以下格式:  The user media server sends the key information of the audio and video stream of the program corresponding to the program information to the home media client by sending the key information of the audio and video stream of the program corresponding to the program information. The response header information may be in the following format:
HTTP/1.1 200 OK  HTTP/1.1 200 OK
Accept-Ranges: none  Accept-Ranges: none
Video-Pid: 34  Video-Pid: 34
Video-Type: 27  Video-Type: 27
Audio-Pid: 33  Audio-Pid: 33
Audio-Type: 15  Audio-Type: 15
Connection: close  Connection: close
Content- Type: video MP2T  Content- Type: video MP2T
Date: Wed, 11 Sep 2013 16:43:14 GMT  Date: Wed, 11 Sep 2013 16:43:14 GMT
5507、 家庭媒体客户端在接收到响应消息后, 从响应消息中解析出音视 频流的关键信息, 在下载节目信息对应的节目的音视频流数据后, 按照音视 频流的关键信息确定的媒体格式播放该音视频流数据;  After receiving the response message, the home media client parses the key information of the audio and video stream from the response message, and after determining the audio and video stream data of the program corresponding to the program information, the media determined according to the key information of the audio and video stream Playing the audio and video stream data in format;
5508、 用户从家庭媒体客户端观看到选取的节目。  5508. The user views the selected program from the home media client.
从上述实施例可以看出 , 在家庭电视直播系统中 , 家庭媒体客户端播放 节目省去了媒体探测的时间 , 可以将播放节目的过程缩短到 2秒的响应时间 , 大大提高了播放节目的速度。  It can be seen from the above embodiment that in the home TV live broadcast system, the home media client plays the program to save the time of the media detection, and the process of playing the program can be shortened to a response time of 2 seconds, which greatly improves the speed of playing the program. .
基于同一发明构思, 本发明还提供了一种家庭媒体服务器, 参见图 6 所 示, 包括:  Based on the same inventive concept, the present invention also provides a home media server, as shown in FIG. 6, comprising:
第一处理模块 61, 用于在接收家庭媒体客户端发送的携带有节目信息的 节目播放请求后, 根据节目信息, 对头端电视直播系统最新下发的节目映射 表进行解析, 获取节目信息对应的节目的音视频流的关键信息;  The first processing module 61 is configured to parse the latest program mapping table sent by the head end television live broadcast system according to the program information after receiving the program play request carrying the program information sent by the home media client, and obtain the program information corresponding to the program information. Key information of the audio and video stream of the program;
第二处理模块 62, 用于生成携带节目信息对应的节目的音视频流的关键 信息的响应消息, 并向家庭媒体客户端发送响应消息, 该响应消息使家庭媒 体客户端按照音视频流的关键信息确定的媒体格式播放节目信息对应的节目 的音视频流数据。 The second processing module 62 is configured to generate a key of the audio and video stream of the program corresponding to the program information The response message of the information, and sending a response message to the home media client, the response message causing the home media client to play the audio and video stream data of the program corresponding to the program information according to the media format determined by the key information of the audio and video stream.
在具体实施时, 本发明实施例提供的上述家庭媒体服务器中的第一处理 模块 61具体可以分为多个执行模块, 例如可以分为:  In a specific implementation, the first processing module 61 in the foregoing home media server provided by the embodiment of the present invention may be specifically divided into multiple execution modules, for example, may be classified into:
用于接收家庭媒体客户端发送的携带有节目信息的节目播放请求的节目 请求接收模块;  a program request receiving module for receiving a program play request for carrying program information sent by the home media client;
用于接收头端电视直播系统下发的节目映射表的调谐器模块; 以及, 用于根据用户选中的节目, 对头端电视直播系统最新下发的节目映射表 进行解析, 获取节目信息对应的节目的音视频流的关键信息的解复用模块。  a tuner module for receiving a program mapping table sent by the head end television live broadcast system; and, configured to parse the latest program map sent by the head end television live broadcast system according to the program selected by the user, and obtain a program corresponding to the program information Demultiplexing module for key information of audio and video streams.
在具体实施时, 本发明实施例提供的上述家庭媒体服务器中的第二处理 模块 62同样具体可以分为多个执行模块, 例如可以分为:  In a specific implementation, the second processing module 62 in the foregoing home media server provided by the embodiment of the present invention may be further divided into multiple execution modules, for example, may be classified into:
用于生成携带节目信息对应的节目的音视频流的关键信息的响应消息的 响应生成模块; 以及  a response generation module for generating a response message carrying key information of the audio and video stream of the program corresponding to the program information;
用于向家庭媒体客户端发送响应消息的发送模块。  A sending module for sending a response message to a home media client.
进一步地, 在上述家庭媒体服务器中, 第一处理模块 61用于确定的节目 信息对应的节目的音视频流的关键信息可以包括: 视频数据类型、 视频数据 流地址、 音频数据类型和音频数据流地址, 当然还可以包括其他信息, 在此 不做限定。  Further, in the above-mentioned home media server, the key information of the audio and video stream of the program corresponding to the determined program information by the first processing module 61 may include: a video data type, a video data stream address, an audio data type, and an audio data stream. The address may of course include other information, which is not limited herein.
进一步地, 在上述家庭媒体服务器中, 如图 6 所示, 还可以包括: 第三 处理模块 63 , 用于在接收家庭媒体客户端发送的访问节目列表请求后, 向家 庭媒体客户端反馈预先确定的用于用户选取所播放的节目信息的节目列表。  Further, in the foregoing home media server, as shown in FIG. 6, the method may further include: a third processing module 63, configured to: after receiving the access program list request sent by the home media client, feed back a predetermined determination to the home media client. A program list for the user to select the program information to be played.
在具体实施时, 本发明实施例提供的上述家庭媒体服务器中的第三处理 模块 63同样具体可以分为多个执行模块, 例如可以分为:  In a specific implementation, the third processing module 63 in the foregoing home media server provided by the embodiment of the present invention may be further divided into multiple execution modules, for example, may be divided into:
用于接收家庭媒体客户端发送的访问节目列表情求的接收模块; 以及, 用于向家庭媒体客户端反馈预先确定的用于用户选取所播放的节目信息 的节目映射表的发送模块。 进一步地, 在第三处理模块 63 中的接收模块可以与第一处理模块 61 中 的节目请求接收模块复用, 即釆用同一个接收模块执行两者的功能。 同样, 在第三处理模块 63 中的发送模块也可以与第二处理模块 62中的发送模块复 用, 即采用同一个发送模块执行两者的功能。 a receiving module for receiving a program listing request sent by the home media client; and a sending module for feeding back to the home media client a predetermined program mapping table for the user to select the played program information. Further, the receiving module in the third processing module 63 can be multiplexed with the program request receiving module in the first processing module 61, that is, the same receiving module performs the functions of both. Similarly, the transmitting module in the third processing module 63 can also be multiplexed with the transmitting module in the second processing module 62, that is, the same transmitting module is used to perform the functions of both.
进一步地, 上述家庭媒体服务器中, 如图 6 所示, 还可以包括: 第四处 理模块 64, 用于接收头端电视直播系统发送的节目信号, 根据节目信号进行 节目频道搜索, 生成包含头端电视直播系统所播放的所有节目的节目列表, 并以家庭媒体客户端可访问的形式保存节目列表。  Further, the home media server, as shown in FIG. 6, may further include: a fourth processing module 64, configured to receive a program signal sent by the head end television live broadcast system, perform a program channel search according to the program signal, and generate a header A list of programs for all programs played by the live TV system, and a list of programs saved in a form accessible to the home media client.
在具体实施时, 本发明实施例提供的上述家庭媒体服务器中的第四处理 模块 64同样具体可以分为多个执行模块, 例如可以分为:  In a specific implementation, the fourth processing module 64 in the foregoing home media server provided by the embodiment of the present invention may be further divided into multiple execution modules, for example, may be classified into:
用于接收头端电视直播系统发送的节目信号的接收模块;  a receiving module for receiving a program signal sent by the head end television live broadcast system;
用于根据节目信号进行节目频道搜索, 生成包含头端电视直播系统所播 放的所有节目的节目列表的节目列表生成模块; 以及,  a program list generation module for performing a program channel search based on a program signal to generate a program list including all programs played by the head end television live broadcast system;
用于以家庭媒体客户端可访问的形式保存节目列表的存储模块。  A storage module for saving a list of programs in a form accessible to a home media client.
进一步地, 在第四处理模块 64 中的接收模块可以与第一处理模块 61 中 的调谐器模块复用, 即采用同一个调谐器模块执行两者的功能。  Further, the receiving module in the fourth processing module 64 can be multiplexed with the tuner module in the first processing module 61, that is, the same tuner module is used to perform the functions of both.
进一步地, 上述家庭媒体服务器中, 家庭媒体服务器与家庭媒体客户端 通过超文本传输 http协议进行通信;  Further, in the above home media server, the home media server and the home media client communicate by using a hypertext transmission http protocol;
第二处理模块 62, 具体用于将节目信息对应的节目的音视频流的关键信 息放入 Http200响应头, 生成响应消息。  The second processing module 62 is specifically configured to put key information of the audio and video stream of the program corresponding to the program information into the Http200 response header to generate a response message.
基于同一发明构思, 本发明还提供了一种家庭媒体客户端, 参见图 Ί 所 示, 包括:  Based on the same inventive concept, the present invention also provides a home media client, as shown in FIG.
发送模块 71 , 用于向家庭媒体服务器发送携带有节目信息的节目播放请 求;  The sending module 71 is configured to send, to the home media server, a program play request that carries the program information;
接收模块 72 , 用于接收家庭媒体服务器根据所述节目播放请求生成的响 应消息, 该响应信息中携带有节目信息对应的节目的音视频流的关键信息; 音视频解码器模块 73 , 用于在下载所述节目信息对应的节目的音视频流 数据后, 按照音视频流的关键信息确定的媒体格式进行播放。 The receiving module 72 is configured to receive a response message generated by the home media server according to the program play request, where the response information carries key information of the audio and video stream of the program corresponding to the program information; the audio and video decoder module 73 is configured to Downloading audio and video streams of the program corresponding to the program information After the data, the media format is played according to the key information of the audio and video stream.
进一步地, 上述家庭媒体客户端中, 接收模块 72用于接收的音视频流的 关键信息包括: 视频数据类型、 视频数据流地址、 音频数据类型和音频数据 流地址, 当然还可以包括其他信息, 在此不做限定。  Further, in the foregoing home media client, the key information used by the receiving module 72 to receive the audio and video stream includes: a video data type, a video data stream address, an audio data type, and an audio data stream address, and may further include other information. There is no limit here.
进一步地, 上述家庭媒体客户端中, 如图 7所示, 还包括: 处理模块 74, 用于向家庭媒体服务器发送访问节目列表请求, 并接收家庭媒体服务器反馈 的用于用户选取所播放的节目信息的节目列表。  Further, the home media client, as shown in FIG. 7, further includes: a processing module 74, configured to send a program list request to the home media server, and receive, by the home media server, the user to select the played program A list of programs for information.
在具体实施时, 本发明实施例提供的上述家庭媒体客户端中的处理模块 74同样具体可以分为多个执行模块, 例如可以分为:  In a specific implementation, the processing module 74 in the foregoing home media client provided by the embodiment of the present invention may be further divided into multiple execution modules, for example, may be classified into:
用于向家庭媒体服务器发送访问节目列表请求的发送模块; 以及, 用于接收家庭媒体服务器反馈的用于用户选取所播放的节目信息的节目 列表的接收模块。  a transmitting module for transmitting a program listing request to the home media server; and a receiving module for receiving a program list for the user to select the played program information fed back by the home media server.
进一步地, 在处理模块 74中的发送模块可以与发送模块 71 复用, 即采 用同一个发送模块执行两者的功能。 同样, 在处理模块 74中的接收模块可以 与接收模块 72复用, 即釆用同一个接收模块执行两者的功能。  Further, the transmitting module in the processing module 74 can be multiplexed with the transmitting module 71, that is, the same transmitting module performs the functions of both. Similarly, the receiving module in processing module 74 can be multiplexed with receiving module 72, i.e., using the same receiving module to perform both functions.
进一步地, 上述家庭媒体客户端中, 家庭媒体服务器与家庭媒体客户端 通过超文本传输 http协议进行通信;  Further, in the above home media client, the home media server and the home media client communicate by using a hypertext transmission http protocol;
接收模块 72用于接收的响应消息为在 Http200响应头携带节目信息对应 的节目的音视频流的关键信息的响应消息。  The response message received by the receiving module 72 is a response message of the key information of the audio and video stream of the program corresponding to the program information carried in the Http200 response header.
基于同一发明构思, 本发明还提供了一种家庭电视网络系统, 参见图 8 所示, 包括: 家庭媒体服务器 81和家庭媒体客户端 82;  Based on the same inventive concept, the present invention also provides a home television network system, as shown in FIG. 8, comprising: a home media server 81 and a home media client 82;
家庭媒体服务器 81,用于接收家庭媒体客户端 82发送的携带有节目信息 的节目播放请求后, 根据所述节目信息, 对头端电视直播系统最新下发的节 目映射表进行解析, 获取所述节目信息对应的节目的音视频流的关键信息; 生成携带所述节目信息对应的节目的音视频流的关键信息的响应消息, 并向 所述家庭媒体客户端发送所述响应消息;  The home media server 81 is configured to: after receiving the program play request that carries the program information sent by the home media client 82, parse the latest program map sent by the head end television live broadcast system according to the program information, and acquire the program. Key information of the audio and video stream of the program corresponding to the information; generating a response message carrying key information of the audio and video stream of the program corresponding to the program information, and transmitting the response message to the home media client;
家庭媒体客户端 82 ,用于向家庭媒体服务器 81发送携带有节目信息的节 目播放请求; 接收所述家庭媒体服务器根据所述节目播放请求生成的响应消 息, 所述响应信息中携带有所述节目信息对应的节目的音视频流的关键信息; 在下载所述用户选中中节目信息对应的节目的音视频流数据后, 按照所述音 视频流的关键信息确定的媒体格式进行播放。 a home media client 82 for transmitting a section carrying program information to the home media server 81 Receiving a request message generated by the home media server according to the program play request, the response information carrying key information of the audio and video stream of the program corresponding to the program information; After the audio and video stream data of the program corresponding to the program information is played, the media format is determined according to the key information of the audio and video stream.
在本发明实施例提供的上述家庭电视网络系统中, 由于家庭媒体服务器 根据家庭媒体客户端发送的携带有节目信息的节目播放请求, 将从节目映射 表中获取的节目信息对应的节目的音视频流的关键信息直接携带在响应消息 中, 发送给家庭媒体客户端, 家庭媒体客户端可以根据该音视频流的关键信 息直接获知节目信息的媒体格式, 在下载节目信息对应的节目的音视频流后 按照解码出的媒体格式播放用户选中的节目, 省去了家庭媒体客户端下载部 分音视频流进行媒体探测的过程, 减少了家庭媒体客户端的 CPU的计算量, 大大减少了家庭电视网络系统中用户播放节目的响应时间, 提高了播放节目 的速度, 增强了用户体验效果。  In the above-mentioned home television network system provided by the embodiment of the present invention, the audio and video of the program corresponding to the program information acquired from the program map table is received by the home media server according to the program play request of the program information carried by the home media client. The key information of the stream is directly carried in the response message and sent to the home media client, and the home media client can directly learn the media format of the program information according to the key information of the audio and video stream, and download the audio and video stream of the program corresponding to the program information. After the program selected by the user is played according to the decoded media format, the process of downloading part of the audio and video stream for media detection by the home media client is eliminated, the calculation amount of the CPU of the home media client is reduced, and the home television network system is greatly reduced. The response time of the user to play the program improves the speed of the program and enhances the user experience.
本领域内的技术人员应明白, 本发明的实施例可提供为方法、 系统、 或 计算机程序产品。 因此, 本发明可釆用完全硬件实施例、 完全软件实施例、 或结合软件和硬件方面的实施例的形式。 而且, 本发明可采用在一个或多个 其中包含有计算机可用程序代码的计算机可用存储介质 (包括但不限于磁盘 存储器、 CD-ROM、 光学存储器等) 上实施的计算机程序产品的形式。  Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、 设备(系统)、 和计算机程序产 品的流程图和 /或方框图来描述的。 应理解可由计算机程序指令实现流程图 和 /或方框图中的每一流程和 /或方框、 以及流程图和 /或方框图中的流程 和 /或方框的结合。 可提供这些计算机程序指令到通用计算机、 专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器, 使得通 过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流 程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的 装置。  The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowcharts and/or block diagrams, and combinations of flow and/or blocks in the flowcharts and/or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设 备以特定方式工作的计算机可读存储器中, 使得存储在该计算机可读存储器 中的指令产生包括指令装置的制造品, 该指令装置实现在流程图一个流程或 多个流程和 /或方框图一个方框或多个方框中指定的功能。 These computer program instructions can also be stored in a bootable computer or other programmable data processing device. In a computer readable memory that operates in a particular manner, causing instructions stored in the computer readable memory to produce an article of manufacture comprising instruction means implemented in one or more flows and/or block diagrams of the flowchart The function specified in the box or in multiple boxes.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上, 使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的 处理, 从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图 一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的步 骤。  These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
尽管已描述了本发明的优选实施例, 但本领域内的技术人员一旦得知了 基本创造性概念, 则可对这些实施例作出另外的变更和修改。 所以, 所附权 利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。 脱离本发明实施例的精神和范围。 这样, 倘若本发明实施例的这些修改和变 型属于本发明权利要求及其等同技术的范围之内, 则本发明也意图包含这些 改动和变型在内。  Although the preferred embodiment of the invention has been described, it will be apparent to those skilled in the < Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and the modifications and modifications The spirit and scope of the embodiments of the present invention are departed. Thus, it is intended that the present invention cover the modifications and modifications of the embodiments of the invention.

Claims

权 利 要 求 Rights request
1、 一种节目播放的方法, 其特征在于, 该方法包括: 1. A method of program playback, characterized in that the method includes:
家庭媒体服务器接收家庭媒体客户端发送的携带有节目信息的节目播放 请求后, 根据所述节目信息, 对头端电视直播系统最新下发的节目映射表进 行解析, 获取所述节目信息对应的节目的音视频流的关键信息; After receiving the program play request carrying program information sent by the home media client, the home media server parses the latest program mapping table issued by the head-end TV live broadcast system according to the program information, and obtains the program mapping table corresponding to the program information. Key information of audio and video streams;
家庭媒体服务器生成携带所述节目信息对应的节目的音视频流的关键信 息的响应消息, 并向所述家庭媒体客户端发送所述响应消息, 所述响应消息 使所述家庭媒体客户端按照所述音视频流的关键信息确定的媒体格式播放节 目信息对应的节目的音视频流数据。 The home media server generates a response message carrying key information of the audio and video stream of the program corresponding to the program information, and sends the response message to the home media client, where the response message causes the home media client to The audio and video stream data of the program corresponding to the program information is played in a media format determined by the key information of the audio and video stream.
2、 如权利要求 1所述的方法, 其特征在于, 所述音视频流的关键信息包 括: 视频数据类型、 视频数据流地址、 音频数据类型和音频数据流地址。 2. The method of claim 1, wherein the key information of the audio and video streams includes: video data type, video data stream address, audio data type and audio data stream address.
3、 如权利要求 1所述的方法, 其特征在于, 所述家庭媒体服务器接收家 庭媒体客户端发送的携带有节目信息的节目播放请求之前, 还包括: 3. The method of claim 1, wherein before the home media server receives the program play request carrying program information sent by the home media client, it further includes:
所述家庭媒体服务器接收所述家庭媒体客户端发送的访问节目列表请求 后, 向所述家庭媒体客户端反馈预先确定的用于用户选取节目信息的节目列 表。 After receiving the request to access the program list sent by the home media client, the home media server feeds back to the home media client a predetermined program list for the user to select program information.
4、 如权利要求 3所述的方法, 其特征在于, 通过下述方式确定所述节目 列表: 4. The method of claim 3, wherein the program list is determined in the following manner:
所述家庭媒体服务器接收所述头端电视直播系统发送的节目信号; 所述家庭媒体服务器根据所述节目信号进行节目频道搜索, 生成包含所 述头端电视直播系统所播放的所有节目的节目列表, 并以所述家庭媒体客户 端可访问的形式保存所述节目列表。 The home media server receives the program signal sent by the head-end TV live broadcast system; the home media server performs a program channel search according to the program signal, and generates a program list including all programs played by the head-end TV live broadcast system , and save the program list in a form accessible to the home media client.
5、 如权利要求 1-4任一项所述的方法, 其特征在于, 所述家庭媒体服务 器与所述家庭媒体客户端通过超文本传输 http协议进行通信; 5. The method according to any one of claims 1 to 4, characterized in that the home media server communicates with the home media client through the hypertext transmission http protocol;
所述家庭媒体服务器生成携带所述节目信息对应的节目的音视频流的关 键信息的响应消息, 具体包括: 家庭媒体服务器将所述节目信息对应的节目的音视频流的关键信息放入 The home media server generates a response message carrying key information of the audio and video stream of the program corresponding to the program information, specifically including: The home media server puts the key information of the audio and video streams of the program corresponding to the program information into
Http200响应头, 生成所述响应消息。 Http200 response header to generate the response message.
6、 一种节目播放的方法, 其特征在于, 该方法包括: 6. A method of program playback, characterized in that the method includes:
家庭媒体客户端向家庭媒体服务器发送携带有节目信息的节目播放请 求; The home media client sends a program play request carrying program information to the home media server;
所述家庭媒体客户端接收所述家庭媒体服务器根据所述节目播放请求生 成的响应消息, 所述响应信息中携带有所述节目信息对应的节目的音视频流 的关键信息; The home media client receives a response message generated by the home media server according to the program play request, and the response message carries key information about the audio and video stream of the program corresponding to the program information;
所述家庭媒体客户端在下载所述节目信息对应的节目的音视频流数据 后, 按照所述音视频流的关键信息确定的媒体格式进行播放。 After downloading the audio and video stream data of the program corresponding to the program information, the home media client plays it according to the media format determined by the key information of the audio and video stream.
7、 如权利要求 6所述的方法, 其特征在于, 所述音视频流的关键信息包 括: 视频数据类型、 视频数据流地址、 音频数据类型和音频数据流地址。 7. The method of claim 6, wherein the key information of the audio and video streams includes: video data type, video data stream address, audio data type and audio data stream address.
8、 如权利要求 6所述的方法, 其特征在于, 所述家庭媒体客户端向家庭 媒体服务器发送携带有节目信息的节目播放请求之前, 还包括: 8. The method of claim 6, wherein before the home media client sends a program play request carrying program information to the home media server, it further includes:
所述家庭媒体客户端向所述家庭媒体服务器发送访问节目列表请求, 并 接收所述家庭媒体服务器反馈的用于用户选取节目信息的节目列表。 The home media client sends a program list access request to the home media server, and receives a program list fed back by the home media server for the user to select program information.
9、 如权利要求 6-8任一项所述的方法, 其特征在于, 所述家庭媒体客户 端与所述家庭媒体服务器通过超文本传输 http协议进行通信; 9. The method according to any one of claims 6 to 8, characterized in that the home media client and the home media server communicate through the hypertext transmission http protocol;
所述响应消息为在 Http200 响应头携带所述节目信息对应的节目的音视 频流的关键信息的响应消息。 The response message is a response message that carries in the Http200 response header the key information of the audio and video stream of the program corresponding to the program information.
10、 一种家庭媒体服务器, 其特征在于, 包括: 10. A home media server, characterized by including:
第一处理模块, 用于在接收家庭媒体客户端发送的携带有节目信息的节 目播放请求后, 根据所述节目信息, 对头端电视直播系统最新下发的节目映 射表进行解析, 获取所述节目信息对应的节目的音视频流的关键信息; The first processing module is configured to, after receiving a program play request carrying program information sent by the home media client, parse the latest program mapping table issued by the head-end TV live broadcast system according to the program information, and obtain the program The key information of the audio and video stream of the program corresponding to the information;
第二处理模块, 用于生成携带所述节目信息对应的节目的音视频流的关 键信息的响应消息, 并向所述家庭媒体客户端发送所述响应消息, 所述响应 消息使所述家庭媒体客户端按照所述音视频流的关键信息确定的媒体格式播 放节目信息对应的节目的音视频流数据。 The second processing module is configured to generate a response message carrying key information of the audio and video stream of the program corresponding to the program information, and send the response message to the home media client, where the response message enables the home media The client plays the media format determined by the key information of the audio and video stream. Play the audio and video stream data of the program corresponding to the program information.
11、 如权利要求 10所述的家庭媒体服务器, 其特征在于, 所述第一处理 模块用于确定的所述节目信息对应的音视频流的关键信息包括: 视频数据类 型、 视频数据流地址、 音频数据类型和音频数据流地址。 11. The home media server of claim 10, wherein the key information of the audio and video stream corresponding to the program information determined by the first processing module includes: video data type, video data stream address, Audio data type and audio data stream address.
12、 如权利要求 10所述家庭媒体服务器, 其特征在于, 还包括: 第三处理模块, 用于在接收所述家庭媒体客户端发送的访问节目列表请 求后, 向所述家庭媒体客户端反馈预先确定的用于用户选取节目信息的节目 映射表。 12. The home media server according to claim 10, further comprising: a third processing module, configured to provide feedback to the home media client after receiving the request to access the program list sent by the home media client. A predetermined program mapping table for users to select program information.
13、 如权利要求 10所述的家庭媒体服务器, 其特征在于, 还包括: 第三 处理模块, 用于接收所述头端电视直播系统发送的节目信号, 根据所述节目 信号进行节目频道搜索, 生成包含所述头端电视直播系统所播放的所有节目 的节目列表, 并以所述家庭媒体客户端可访问的形式保存所述节目列表。 13. The home media server according to claim 10, further comprising: a third processing module, configured to receive the program signal sent by the head-end TV live broadcast system, and perform program channel search according to the program signal, Generate a program list including all programs played by the head-end live television system, and save the program list in a form accessible to the home media client.
14、 如权利要求 10-13任一项所述的家庭媒体服务器, 其特征在于, 所述 家庭媒体服务器与所述家庭媒体客户端通过超文本传输 http协议进行通信; 所述第二处理模块, 具体用于将所述节目信息对应的节目的音视频流的 关键信息放入 Http200响应头, 生成所述响应消息。 14. The home media server according to any one of claims 10 to 13, wherein the home media server communicates with the home media client through hypertext transmission http protocol; the second processing module, Specifically, it is used to put the key information of the audio and video stream of the program corresponding to the program information into the Http200 response header, and generate the response message.
15、 一种家庭媒体客户端, 其特征在于, 包括: 15. A home media client, characterized by including:
发送模块, 用于向家庭媒体服务器发送携带有节目信息的节目播放清求; 接收模块, 用于接收所述家庭媒体服务器根据所述节目播放请求生成的 响应消息, 所述响应信息中携带有所述节目信息对应的节目的音视频流的关 键信息; The sending module is used to send a program playback request carrying program information to the home media server; the receiving module is used to receive a response message generated by the home media server according to the program playback request, and the response message carries the program playback request. Describe the key information of the audio and video streams of the program corresponding to the program information;
音视频解码器模块, 用于在下载所述节目信息对应的节目的音视频流数 据后, 按照所述音视频流的关键信息确定的媒体格式进行播放。 The audio and video decoder module is used to play the audio and video stream data according to the media format determined by the key information of the audio and video stream after downloading the audio and video stream data of the program corresponding to the program information.
16、 如权利要求 15所述的家庭媒体客户端, 其特征在于, 所述接收模块 用于接收的所述音视频流的关键信息包括: 视频数据类型、 视频数据流地址、 音频数据类型和音频数据流地址。 16. The home media client of claim 15, wherein the key information of the audio and video stream used by the receiving module to receive includes: video data type, video data stream address, audio data type and audio Data flow address.
17、 如权利要求 15所述的家庭媒体客户端, 其特征在于, 还包括: 处理 模块, 用于向所述家庭媒体服务器发送访问节目列表请求, 并接收所述家庭 媒体服务器反馈的用于用户选取节目信息的节目列表。 17. The home media client of claim 15, further comprising: processing A module configured to send a program list access request to the home media server, and receive a program list fed back by the home media server for the user to select program information.
18、 如权利要求 15-17任一项所述的家庭媒体客户端, 其特征在于, 所述 家庭媒体服务器与所述家庭媒体客户端通过超文本传输 http协议进行通信; 所述接收模块用于接收的所述响应消息为在 Http200 响应头携带所述节 目信息对应的节目的音视频流的关键信息的响应消息。 18. The home media client according to any one of claims 15 to 17, characterized in that, the home media server and the home media client communicate through hypertext transmission http protocol; the receiving module is used for The received response message is a response message in which the Http200 response header carries key information of the audio and video stream of the program corresponding to the program information.
19、 一种家庭电视网络系统, 其特征在于, 包括: 家庭媒体服务器和家 庭媒体客户端; 19. A home television network system, characterized by including: a home media server and a home media client;
所述家庭媒体服务器, 用于接收所述家庭媒体客户端发送的携带有节目 信息的节目播放请求后, 根据所述节目信息, 对头端电视直播系统最新下发 的节目映射表进行解析, 获取所述节目信息对应的节目的音视频流的关键信 息; 生成携带所述节目信息对应的节目的音视频流的关键信息的响应消息, 并向所述家庭媒体客户端发送所述响应消息; The home media server is configured to, after receiving a program play request carrying program information sent by the home media client, parse the latest program mapping table issued by the head-end TV live broadcast system according to the program information, and obtain the program mapping table. Key information of the audio and video stream of the program corresponding to the program information; Generate a response message carrying key information of the audio and video stream of the program corresponding to the program information, and send the response message to the home media client;
所述家庭媒体客户端, 用于向家庭媒体服务器发送携带有节目信息的节 目播放请求; 接收所述家庭媒体服务器根据所述节目播放请求生成的响应消 息 , 所述响应信息中携带有所述节目信息对应的节目的音视频流的关键信息; 在下载所述节目信息对应的节目的音视频流数据后, 按照所述音视频流的关 键信息确定的媒体格式进行播放。 The home media client is configured to send a program play request carrying program information to a home media server; receive a response message generated by the home media server according to the program play request, and the response information carries the program The key information of the audio and video stream of the program corresponding to the information; after downloading the audio and video stream data of the program corresponding to the program information, play it according to the media format determined by the key information of the audio and video stream.
PCT/CN2014/070473 2014-01-10 2014-01-10 Program playback method and device WO2015103774A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/070473 WO2015103774A1 (en) 2014-01-10 2014-01-10 Program playback method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/070473 WO2015103774A1 (en) 2014-01-10 2014-01-10 Program playback method and device

Publications (1)

Publication Number Publication Date
WO2015103774A1 true WO2015103774A1 (en) 2015-07-16

Family

ID=53523466

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/070473 WO2015103774A1 (en) 2014-01-10 2014-01-10 Program playback method and device

Country Status (1)

Country Link
WO (1) WO2015103774A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111698261A (en) * 2020-06-23 2020-09-22 杭州翔毅科技有限公司 Video playing method, device, equipment and storage medium based on streaming media

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101115185A (en) * 2007-07-25 2008-01-30 中兴通讯股份有限公司 Device for the third party to implement audio-video play in IPTV and method therefor
CN101389002A (en) * 2008-10-23 2009-03-18 华为技术有限公司 Method, apparatus and system for IPTV system live program addressing, address analysis
CN103338186A (en) * 2013-06-05 2013-10-02 华为技术有限公司 A content sharing method and an apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101115185A (en) * 2007-07-25 2008-01-30 中兴通讯股份有限公司 Device for the third party to implement audio-video play in IPTV and method therefor
CN101389002A (en) * 2008-10-23 2009-03-18 华为技术有限公司 Method, apparatus and system for IPTV system live program addressing, address analysis
CN103338186A (en) * 2013-06-05 2013-10-02 华为技术有限公司 A content sharing method and an apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111698261A (en) * 2020-06-23 2020-09-22 杭州翔毅科技有限公司 Video playing method, device, equipment and storage medium based on streaming media

Similar Documents

Publication Publication Date Title
US10764623B2 (en) Method and system for media adaption
US9113186B2 (en) Providing syndication feed content on a television set-top box with limited decoder capability
US8745662B2 (en) Method of transmitting preview content and method and apparatus for receiving preview content
US20080172712A1 (en) Multimedia data transmitting apparatus, multimedia data receiving apparatus, multimedia data transmitting method, and multimedia data receiving method
US20150281800A1 (en) Broadcast content to http client conversion
US8627350B2 (en) Systems and method for determining visual media information
WO2010051059A1 (en) System and method for distributing media content
KR20110023497A (en) Method for providing content list and digital broadcasting receiver enabling of the method
CN106464933B (en) Apparatus and method for remotely controlling rendering of multimedia content
KR20120114016A (en) Method and apparatus for network adaptive streaming user data in a outer terminal
JP6359539B2 (en) Control during rendering
WO2014026590A1 (en) Method, terminal and cdn server in iptv system for realizing playing while downloading
KR102586630B1 (en) Receiving devices, transmitting devices, and data processing methods
KR20170141677A (en) Receiving device, transmitting device and data processing method
EP2479984A1 (en) Device and method for synchronizing content received from different sources
EP2837153A1 (en) An improved method and apparatus for providing extended tv data
WO2015103774A1 (en) Program playback method and device
KR101660736B1 (en) Method for displaying user interface and internet protocol television enabling of the method
KR101666895B1 (en) Digital broadcast receiver and method for managing a content
KR101637352B1 (en) Digital broadcast receiver and method for managing a content
KR101662076B1 (en) Method for providing payment and digital broadcasting receiver enabling of the method
KR101641967B1 (en) Method for connecting wireless network and a wireless network system thereof
EP3759906A1 (en) Apparatus, method and system for multiple audio-video streams reception
KR20110071773A (en) System for upnp personal broadcasting service and method thereof

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

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

Country of ref document: EP

Kind code of ref document: A1